:root {
  color-scheme: light;
  --paper: #faf7ef;
  --ink: #353c32;
  --muted: #74766a;
  --sage: #61765b;
  --sage-dark: #41583e;
  --rose: #ba7c72;
  --line: #deded0;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 36px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body::before { content: ''; position: fixed; inset: 0; z-index: 8; pointer-events: none; opacity: .15; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%2392947d' opacity='.22' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E"); }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button { touch-action: manipulation; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--sage-dark); outline-offset: 5px; }
button:disabled { cursor: wait; }
::selection { background: #d7dfca; color: #35412e; }
.page-width { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
.illustration-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: fixed; z-index: 30; left: 16px; top: 16px; padding: 12px 20px; background: var(--ink); color: var(--paper); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { height: 110px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: 11px; font-family: var(--serif); font-weight: 600; font-size: 33px; letter-spacing: -.055em; }
.wordmark svg { width: 28px; height: 28px; color: var(--sage); flex-shrink: 0; }
.wordmark-dot { color: var(--rose); }
.site-header nav { display: flex; align-items: center; gap: 35px; font-size: 12px; }
.site-header nav > a { color: #636957; transition: color .2s; }
.site-header nav > a:hover { color: var(--ink); }
.nav-note { border: 1px solid #c9cebd; border-radius: 40px; background: transparent; padding: 12px 19px; font-size: 12px; transition: background .2s; }
.nav-note:hover { background: #eef0e5; }
.nav-note span { margin-left: 15px; }
.hero { display: grid; grid-template-columns: .96fr 1.04fr; gap: 24px; align-items: center; padding-top: 70px; padding-bottom: 60px; min-height: 660px; }
.hero-copy { position: relative; z-index: 2; padding-bottom: 14px; animation: arrive .7s both; }
.eyebrow { font-size: 10px; font-weight: 600; line-height: 1.5; letter-spacing: .17em; text-transform: uppercase; margin: 0 0 22px; color: var(--sage); }
.hero .eyebrow { display: flex; align-items: center; gap: 10px; }
.little-star { font-size: 19px; font-weight: 400; color: var(--rose); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h1 { font-size: clamp(72px, 7.5vw, 108px); line-height: .98; letter-spacing: -.055em; margin-bottom: 25px; }
h1 em, h2 em { color: var(--sage); font-weight: 400; }
.hero-intro { color: #707367; font-size: 14px; line-height: 1.8; margin-bottom: 30px; }
.letter-button { border: 0; border-radius: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 18px 24px; background: var(--sage-dark); color: #fcfaf3; font-size: 12px; font-weight: 500; box-shadow: 0 5px 12px #42583e0b; transition: background .2s, transform .2s; }
.letter-button > svg { width: 19px; height: 19px; stroke: currentColor; stroke-width: 1.3; }
.letter-button:hover { background: #334b30; transform: translateY(-2px); }
.button-arrow { margin-left: 13px; font-size: 18px; font-weight: 400; }
.postscript { display: flex; align-items: center; gap: 7px; margin: 16px 0 0 8px; font-size: 11px; color: #7d7e70; }
.postscript > span { color: var(--rose); font-size: 16px; }
.hero-scene { position: relative; min-height: 500px; display: grid; place-items: center; isolation: isolate; animation: arrive 1s .12s both; }
.scene-arch { position: absolute; z-index: -2; inset: 0 4% 23px 6%; border-radius: 48% 48% 6px 6px; background: #efeee2; overflow: hidden; transform: rotate(3deg); }
.scene-arch::before { content: ''; position: absolute; inset: 14px; border: 1px solid #d6d7c5; border-radius: inherit; }
.scene-arch::after { content: ''; position: absolute; inset: 0; opacity: .18; background: repeating-linear-gradient(90deg, transparent 0 20px, #d8d8c7 20px 21px); }
.scene-arch span { position: absolute; width: 90px; height: 30px; left: calc(50% - 45px); top: -7px; z-index: 2; background: #e5dcc8b3; transform: rotate(-7deg); clip-path: polygon(3% 0, 98% 0, 97% 20%, 100% 42%, 97% 61%, 99% 85%, 96% 100%, 0 100%, 3% 78%, 0 59%, 3% 37%, 0 20%); }
.hero-illustration { width: 118%; max-width: none; height: auto; aspect-ratio: 4 / 3; object-fit: contain; display: block; position: relative; z-index: 1; margin-left: -1%; margin-top: 32px; filter: drop-shadow(0 13px 12px #6c65520a); }
.scene-spark { position: absolute; z-index: 3; color: var(--rose); }
.spark-one { font-size: 36px; left: 2%; top: 56px; transform: rotate(12deg); }
.spark-two { font-size: 24px; right: 4%; bottom: 97px; color: #8b9b74; }
.round-stamp { position: absolute; right: -3%; top: 1%; z-index: 2; width: 108px; height: 108px; border: 1px dashed #a3ad8d; outline: 4px solid var(--paper); background: #e4e9d8; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-direction: column; transform: rotate(12deg); }
.round-stamp span { font-size: 7px; letter-spacing: .12em; text-transform: uppercase; }
.round-stamp strong { font: italic 28px/.86 var(--serif); font-weight: 500; margin: 7px 0; text-align: center; }
.handwritten { font-family: var(--serif); font-style: italic; }
.scene-label { position: absolute; z-index: 3; bottom: 26px; left: 18%; background: #eee2e7; padding: 10px 25px; transform: rotate(-5deg); font-size: 21px; color: #795f65; box-shadow: 0 3px 3px #73646308; }
.scene-label span { margin-left: 8px; }
.scene-caption { position: absolute; bottom: -21px; left: 0; width: 100%; text-align: center; color: #92937f; font-size: 9px; letter-spacing: .09em; }
.chapter-divider { display: flex; align-items: center; gap: 20px; padding: 10px 0; }
.chapter-divider > span { height: 1px; background: var(--line); flex: 1; }
.chapter-divider svg { width: 19px; height: 19px; color: #b4bca0; }
.favourites { padding-block: 68px 90px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 38px; }
.section-heading .eyebrow { margin-bottom: 12px; }
h2 { font-size: clamp(38px, 4vw, 56px); line-height: 1.04; letter-spacing: -.035em; margin-bottom: 0; }
.section-heading > p { margin: 0 1px 4px 0; color: #898a7b; font-size: 11px; line-height: 1.8; text-align: right; }
.favourites-shelf { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.favourite { min-width: 0; position: relative; padding: 24px 16px 23px; text-align: center; border: 1px solid #dedbce; background: #f3eee1; transition: transform .25s; }
.favourite::before { content: ''; pointer-events: none; position: absolute; inset: 7px; border: 1px dashed #c7c8b8; opacity: .65; }
.favourite:nth-child(1) { transform: rotate(-2deg); }
.favourite:nth-child(2) { transform: rotate(1.3deg); }
.favourite:nth-child(3) { transform: rotate(-1.2deg); }
.favourite:nth-child(4) { transform: rotate(1.8deg); }
.favourite:hover { transform: rotate(0) translateY(-5px); }
.favourite-monchhichi { background: #eee4df; }
.favourite-yuki { background: #e7eadf; }
.favourite-sylvanian { background: #ece8ef; }
.item-number { position: absolute; left: 17px; top: 16px; font-size: 8px; color: #858873; }
.favourite-art { display: block; width: 86px; height: 86px; margin: 3px auto 13px; }
.favourite h3 { margin: 0 0 8px; font-size: 28px; letter-spacing: -.035em; line-height: 1; }
.favourite p { margin: 0; color: #74796b; font-size: 9px; line-height: 1.5; }
.item-mark { display: block; margin-top: 19px; color: #9d9c84; font-size: 17px; line-height: 1; }
.letter-section { padding-bottom: 86px; }
.letter-invitation { position: relative; background: #e9eddf; border-radius: 3px; padding: 43px 70px; display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: 50px; }
.letter-invitation::after { content: ''; position: absolute; pointer-events: none; inset: 12px; border: 1px solid #cfd7c1; border-radius: 2px; }
.letter-invitation .eyebrow { font-size: 9px; margin-bottom: 14px; }
.letter-invitation h2 { font-size: clamp(35px, 3.5vw, 48px); }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 36px; padding: 0 0 7px; margin-top: 23px; border: 0; border-bottom: 1px solid #909c7f; background: transparent; font-size: 11px; color: var(--sage-dark); transition: gap .2s; }
.text-link:hover { gap: 43px; }
.text-link span { font-size: 16px; }
.envelope-wrap { position: relative; min-height: 215px; perspective: 700px; display: grid; place-items: center; }
.envelope { position: relative; width: min(250px, 100%); height: 153px; margin-top: 25px; transform: rotate(-8deg); filter: drop-shadow(0 11px 10px #5f644421); }
.envelope-back { position: absolute; inset: 0; border-radius: 3px; background: #d7c8ae; z-index: 0; }
.envelope-letter { position: absolute; z-index: 1; width: 84%; height: 145px; left: 8%; top: -27px; background: #fffaf0; border: 1px solid #ded6c5; padding: 19px; display: flex; align-items: center; flex-direction: column; transition: transform .4s; }
.envelope-letter span { font: italic 28px var(--serif); }
.envelope-letter i { font: 18px var(--serif); margin-top: 12px; color: var(--rose); }
.envelope-front { position: absolute; z-index: 2; inset: 0; background: linear-gradient(35deg, #eee0c9, #f3e9d6); clip-path: polygon(0 0, 50% 48%, 100% 0, 100% 100%, 0 100%); border-radius: 3px; }
.envelope-front::after { content: ''; position: absolute; inset: 0; clip-path: polygon(0 100%, 50% 42%, 100% 100%); background: #f2e6d0; }
.envelope-flap { position: absolute; z-index: 3; inset: 0; height: 80%; background: #ede0c8; clip-path: polygon(0 0, 100% 0, 50% 64%); transform-origin: top; transition: transform .4s, opacity .3s; }
.wax-seal { position: absolute; z-index: 4; left: calc(50% - 19px); top: 58px; height: 38px; width: 38px; border: 2px solid #c79385; outline: 2px solid #b67e70; color: #f3d9cb; background: #bd8879; border-radius: 48% 53% 48% 47%; font: italic 30px/31px var(--serif); text-align: center; transition: opacity .2s; }
.envelope-star { position: absolute; right: 0; bottom: 21px; font-size: 38px; color: #9eae88; }
.is-open .envelope-flap { transform: rotateX(150deg); opacity: .4; }
.is-open .envelope-letter { transform: translateY(-35px); }
.is-open .wax-seal { opacity: 0; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 25px; border-top: 1px solid var(--line); min-height: 100px; padding-block: 24px; }
.site-footer .wordmark { font-size: 26px; }
.site-footer .wordmark svg { width: 22px; height: 22px; }
.site-footer p { margin: 0; font: italic 18px var(--serif); color: #858975; }
.back-top { font-size: 10px; color: #727967; }
.back-top span { margin-left: 15px; font-size: 14px; }
.reading-letter { overflow: hidden; }
.letter-dialog { position: fixed; width: min(600px, calc(100% - 36px)); max-height: calc(100svh - 48px); padding: 0; overflow-y: auto; color: var(--ink); background: #fcf9f0; border: 1px solid #d7d8c7; border-radius: 3px; box-shadow: 0 30px 100px #252d2740; }
.letter-dialog[open] { animation: letter-arrive .4s both; }
.letter-dialog::backdrop { background: #333c3280; backdrop-filter: blur(6px); }
.close-letter { position: absolute; z-index: 2; right: 13px; top: 13px; width: 40px; height: 40px; background: transparent; border: 1px solid #daddcd; border-radius: 50%; font: 26px/1 var(--sans); color: #6f7861; }
.close-letter:hover { background: #eef0e4; }
.letter-content { position: relative; padding: 55px 62px 47px; }
.letter-content::before { content: ''; pointer-events: none; position: absolute; inset: 12px; border: 1px solid #e0e2d3; }
.letter-flower { display: block; width: 30px; height: 30px; color: #8b9c75; margin-bottom: 29px; }
.letter-content .eyebrow { font-size: 8px; margin-bottom: 17px; }
.letter-content h2 { font-size: 76px; margin-bottom: 25px; }
.letter-body p { margin-bottom: 17px; font-size: 14px; line-height: 1.9; color: #707466; }
.letter-signoff { margin: 30px 0 9px; font: italic 25px/1.3 var(--serif); color: var(--sage); }
.letter-signoff span { color: var(--rose); margin-left: 5px; }
.letter-return { position: relative; margin-top: 28px; font-size: 10px; }
@keyframes arrive { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes letter-arrive { from { opacity: 0; transform: translateY(16px) rotate(-1deg); } to { opacity: 1; transform: translateY(0) rotate(0); } }
@media (min-width: 1500px) { .hero { min-height: 730px; } .hero-scene { min-height: 550px; } }
@media (max-width: 1100px) {
  .page-width { width: calc(100% - 72px); }
  .hero { padding-top: 58px; gap: 8px; min-height: 610px; }
  h1 { font-size: clamp(66px, 8.1vw, 88px); }
  .hero-scene { min-height: 440px; }
  .hero-illustration { width: 115%; }
  .round-stamp { width: 90px; height: 90px; right: 0; }
  .round-stamp strong { font-size: 23px; }
  .scene-label { bottom: 25px; left: 15%; padding-inline: 18px; font-size: 19px; }
  .favourites-shelf { gap: 16px; }
  .favourite h3 { font-size: 24px; }
  .favourite p { font-size: 8px; }
  .letter-invitation { gap: 35px; padding-inline: 45px; }
}
@media (max-width: 760px) {
  .page-width { width: calc(100% - 40px); }
  .site-header { height: 84px; }
  .wordmark { font-size: 29px; gap: 8px; }
  .wordmark svg { width: 24px; height: 24px; }
  .site-header nav { gap: 15px; }
  .site-header nav > a { display: none; }
  .nav-note { padding: 11px 14px; font-size: 10px; }
  .nav-note span { margin-left: 8px; }
  .hero { grid-template-columns: 1fr; padding-top: 46px; padding-bottom: 45px; gap: 32px; }
  .hero-copy { text-align: center; padding-bottom: 0; }
  .hero .eyebrow { justify-content: center; font-size: 9px; margin-bottom: 20px; }
  h1 { font-size: clamp(65px, 12vw, 91px); line-height: .97; margin-bottom: 22px; }
  .hero-intro { font-size: 12px; line-height: 1.8; margin-bottom: 23px; }
  .letter-button { font-size: 11px; padding: 16px 22px; }
  .postscript { justify-content: center; margin-top: 13px; }
  .hero-scene { width: min(500px, 100%); min-height: clamp(350px, 85vw, 450px); margin-inline: auto; }
  .scene-arch { inset: 0 6% 23px; }
  .hero-illustration { width: 106%; margin-left: 0; margin-top: 17px; }
  .spark-one { top: 45px; left: 4%; font-size: 29px; }
  .spark-two { right: 5%; bottom: 90px; font-size: 20px; }
  .round-stamp { width: 81px; height: 81px; right: 2%; top: 0; }
  .round-stamp strong { font-size: 21px; margin-block: 5px; }
  .round-stamp span { font-size: 6px; }
  .scene-label { font-size: 20px; bottom: 23px; left: 21%; padding: 8px 17px; }
  .scene-caption { bottom: -16px; font-size: 8px; }
  .favourites { padding-block: 43px 56px; }
  .section-heading { display: block; text-align: center; margin-bottom: 29px; }
  .section-heading .eyebrow { font-size: 9px; }
  .section-heading h2 { font-size: clamp(34px, 7.5vw, 49px); }
  .section-heading > p { margin-top: 14px; text-align: center; font-size: 10px; }
  .section-heading > p br { display: none; }
  .favourites-shelf { grid-template-columns: 1fr 1fr; gap: 19px 16px; max-width: 500px; margin-inline: auto; }
  .favourite { padding: 23px 11px 19px; }
  .favourite h3 { font-size: clamp(22px, 5.3vw, 30px); }
  .favourite p { font-size: 9px; }
  .favourite-art { width: 80px; height: 80px; margin-bottom: 12px; }
  .item-mark { margin-top: 16px; }
  .letter-section { padding-bottom: 45px; }
  .letter-invitation { grid-template-columns: 1fr; gap: 15px; padding: 28px 25px 39px; text-align: center; }
  .envelope-wrap { min-height: 177px; width: 240px; max-width: 100%; margin-inline: auto; }
  .envelope { width: 210px; height: 130px; }
  .envelope-letter { height: 125px; padding-top: 14px; }
  .envelope-letter span { font-size: 24px; }
  .wax-seal { top: 46px; }
  .envelope-star { right: -8px; bottom: 13px; font-size: 32px; }
  .letter-invitation h2 { font-size: clamp(33px, 7.5vw, 47px); }
  .letter-invitation .eyebrow { font-size: 8px; }
  .site-footer { flex-wrap: wrap; justify-content: center; row-gap: 17px; padding-block: 25px; }
  .site-footer .wordmark { width: 100%; justify-content: center; font-size: 26px; }
  .site-footer p { font-size: 16px; }
  .back-top { font-size: 9px; }
  .letter-content { padding: 47px 32px 34px; }
  .letter-flower { margin-bottom: 27px; }
  .letter-content h2 { font-size: 65px; margin-bottom: 22px; }
  .letter-body p { font-size: 13px; line-height: 1.9; }
  .letter-signoff { font-size: 23px; }
}
@media (max-width: 360px) {
  .page-width { width: calc(100% - 32px); }
  .hero-scene { min-height: 310px; }
  h1 { font-size: 61px; }
  .scene-label { left: 15%; }
  .favourite h3 { font-size: 21px; }
  .favourite p { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
