@font-face {
  font-family: Cormorant; src: url('/fonts/cormorant.woff2') format('woff2');
  font-weight: 500 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: Cormorant; src: url('/fonts/cormorant-italic.woff2') format('woff2');
  font-weight: 500 600; font-style: italic; font-display: swap;
}
@font-face {
  font-family: Hanken; src: url('/fonts/hanken.woff2') format('woff2');
  font-weight: 400 700; font-style: normal; font-display: swap;
}

:root {
  --night: #10241d;
  --fir: #1a392c;
  --cream: #faf0db;
  --paper: #f8f1e3;
  --ink: #202a22;
  --muted: #5d6457;
  --light-muted: #c5cdbb;
  --gold: #e4bd7d;
  --dark-gold: #795728;
  --paper-line: #ded0b8;
  --berry: #98323a;
  --display: Cormorant, Georgia, 'Times New Roman', serif;
  --text: Hanken, system-ui, sans-serif;
  --shell: 79rem;
  --gutter: clamp(1.2rem, 4vw, 3.25rem);
  color-scheme: dark;
  font-family: var(--text);
  color: var(--cream);
  background: var(--night);
  scroll-behavior: smooth;
}
:root:lang(zh) { --display: 'Songti SC', 'Noto Serif CJK SC', SimSun, serif; --text: system-ui, 'PingFang SC', 'Microsoft YaHei', sans-serif; }
:root:lang(ja) { --display: 'Hiragino Mincho ProN', 'Yu Mincho', 'Noto Serif CJK JP', serif; --text: system-ui, 'Hiragino Sans', 'Meiryo', sans-serif; }
:root:lang(pl) { --display: Georgia, serif; --text: system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 18rem; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
a { color: inherit; text-underline-offset: .23em; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 4px;
}
.paper-section :focus-visible, .article-body :focus-visible, .utility-card :focus-visible, .create-card :focus-visible, .sheet :focus-visible { outline-color: #805921; }
img { display: block; width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1; overflow-wrap: anywhere; hyphens: auto; }
p { line-height: 1.6; }
svg { display: block; flex: none; }
[id] { scroll-margin-top: 1.5rem; }
.shell { width: min(100%, var(--shell)); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { z-index: 10; position: fixed; top: .5rem; left: .5rem; padding: .6rem 1rem; color: var(--ink); background: var(--paper); transform: translateY(-200%); }
.skip-link:focus { transform: none; }

.site-header { background: #0e201a; border-bottom: 1px solid #d4b37926; }
.nav-inner { min-height: 4.7rem; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; }
.wordmark { display: inline-flex; align-items: center; gap: .68rem; justify-self: start; font: 600 1.86rem/.9 var(--display); white-space: nowrap; text-decoration: none; }
.wordmark i { font-weight: 600; color: var(--gold); }
.brand-stamp { width: 2.4rem; height: 2.4rem; border: 1px solid #d4af716e; border-radius: .51rem; display: grid; place-items: center; color: var(--gold); position: relative; }
.brand-stamp > span { position: absolute; right: .21rem; top: .1rem; padding-left: .12rem; color: var(--gold); font: .61rem/1 var(--text); background: #10241d; }
.site-nav, .site-footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(1rem, 2.7vw, 2.4rem); }
.site-nav a, .site-footer nav a { text-decoration: none; color: var(--light-muted); font-weight: 600; font-size: .94rem; }
.site-nav a:hover, .site-nav a[aria-current], .site-footer a:hover { color: var(--gold); }
.nav-actions { display: flex; align-items: center; justify-self: end; gap: .48rem; }
.nav-actions .button { white-space: nowrap; }
.language-menu { position: relative; z-index: 5; }
.language-menu summary { cursor: pointer; list-style: none; padding-inline: .66rem; gap: .34rem; }
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu summary::marker { content: ''; }
.language-menu summary span { font-size: .78rem; letter-spacing: .065em; }
.language-menu[open] summary { border-color: var(--gold); }
.language-menu ul { position: absolute; inset: calc(100% + .4rem) 0 auto auto; width: max-content; min-width: 10rem; max-height: 65dvh; overflow-y: auto; list-style: none; margin: 0; padding: .35rem; border: 1px solid #d4af7180; border-radius: .52rem; background: #142e24; box-shadow: 0 .55rem 1.4rem #05150d6e; }
.language-menu a { display: block; padding: .43rem .58rem; border-radius: .28rem; text-decoration: none; font: 600 .96rem/1.45 system-ui, sans-serif; }
.language-menu a:hover, .language-menu a[aria-current] { background: #e4bd7d23; color: var(--gold); }
.article-links { margin-top: 1.15rem; line-height: 1.75; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .57rem; min-height: 2.8rem; padding: .65rem 1.05rem; border: 1px solid transparent; border-radius: .52rem; font-weight: 700; text-decoration: none; line-height: 1.2; text-align: center; transition: background .18s, border-color .18s, transform .18s; }
.button:not(:disabled):active { transform: translateY(1px); }
.button-outline { color: var(--cream); background: #fff5df08; border-color: #e4bd7d58; }
.button-outline svg { color: var(--gold); }
.button-outline:hover { background: #e4bd7d17; border-color: var(--gold); }
.button-gold { color: #231d12; background: linear-gradient(180deg, #f6d69e, #e1ad60); border-color: #f1cc91; box-shadow: inset 0 1px #fff1c6aa, 0 .4rem 1.1rem #070e0860; }
.button-gold:hover { background: linear-gradient(180deg, #ffe3b4, #e9b974); }
.button-berry { color: #fff7ec; background: var(--berry); border-color: #7d232b; box-shadow: 0 2px 4px #56242920, inset 0 1px #f3b7a84a; }
.button-berry:hover { background: #802731; }
.button-paper-outline { background: #fff9ee; border-color: #c9b798; color: var(--ink); }
.button-paper-outline:hover { background: #efe1c8; }
.text-link { font-weight: 700; }
.text-link:hover { text-decoration-thickness: 2px; }
.icon-button { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; background: transparent; border: 1px solid transparent; border-radius: .5rem; color: inherit; }
.icon-button:hover { background: #96672b12; border-color: var(--paper-line); }

.hero { position: relative; isolation: isolate; overflow: hidden; background: #10271f; }
.hero-backdrop, .hero-backdrop img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-backdrop { z-index: -3; }
.hero-backdrop img { object-fit: cover; object-position: 52% 16%; }
.hero::before { content: ''; position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, #0d251ee8 2%, #132d23c9 34%, #10271f24 74%), linear-gradient(0deg, #10271fcc, transparent 60%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(3rem, 5.6vw, 5.3rem) clamp(3.2rem, 5vw, 4.8rem); }
.hero-copy { max-width: 34rem; }
.season { display: flex; align-items: center; gap: .5rem; margin-bottom: 1.2rem; color: var(--gold); font-size: .82rem; font-weight: 700; letter-spacing: .18em; }
.season > span:first-child { font-size: 1.18rem; line-height: 1; margin-right: .15rem; }
.season-dash { width: .63rem; border-top: 1px solid currentColor; }
.hero h1 { font-size: clamp(3.6rem, 6.4vw, 6.25rem); line-height: .84; letter-spacing: -.061em; }
.hero h1 em { display: block; color: #f1c98d; font-weight: 500; margin-top: .11em; }
:root:not(:lang(en)) .hero h1 { font-size: clamp(3rem, 5.4vw, 5.2rem); line-height: .98; hyphens: auto; }
:root:is(:lang(zh), :lang(ja)) .hero h1 { letter-spacing: -.055em; line-height: 1.12; }
.hero-description { margin-top: 1.5rem; max-width: 26rem; color: #e0e4d5; font-size: clamp(1.04rem, 1.44vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.52rem; }
.hero-actions .button { padding: .8rem 1.15rem; min-height: 3.07rem; }
.hero-note { margin-top: .72rem; font-size: .9rem; color: #d1d6c4; }
.hero-flurries { position: absolute; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; }
.hero-flurries::before, .hero-flurries::after { content: ''; position: absolute; inset: -180px 0 0; background-image: radial-gradient(1.5px 1.5px at 28px 19px, #fff5cfaa 55%, transparent 100%), radial-gradient(1px 1px at 100px 72px, #fff5d6c0 55%, transparent 100%), radial-gradient(1.7px 1.7px at 171px 113px, #fff5d690 55%, transparent 100%); background-size: 217px 150px; opacity: .47; animation: flurry 20s linear infinite; }
.hero-flurries::after { background-position: 30px 28px; background-size: 169px 140px; opacity: .22; animation-duration: 32s; animation-delay: -11s; }
.snow-paused .hero-flurries { display: none; }
@keyframes flurry { to { transform: translate3d(14px, 150px, 0); } }
.snow-toggle { display: grid; place-items: center; position: absolute; right: clamp(.65rem, 2vw, 1.5rem); bottom: .7rem; color: var(--gold); background: #142e25af; border-color: #ddbf8151; border-radius: 50%; }
.snow-toggle:hover { background: #223e32; border-color: var(--gold); }
.snow-toggle[aria-pressed='false'] { color: #c9d0bf; }

.create-section { padding-block: clamp(2.6rem, 6.1vw, 5rem); color: var(--ink); background: #f1e7d2; }
.create-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; gap: clamp(1.25rem, 3.35vw, 3.2rem); }
.letter-story { position: relative; min-height: 22rem; margin: 0; overflow: hidden; border-radius: 1.1rem; border: 1px solid #cfb99b; background: #e5d3b6; }
.letter-story img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 54%; }
.letter-story::after { content: ''; position: absolute; inset: .46rem; border: 1px solid #fff5df85; border-radius: .75rem; pointer-events: none; }
.create-card, .paper-card { border: 1px solid #efdbb5; color: var(--ink); background: var(--paper); color-scheme: light; }
.create-card { border-color: #d8c4a4; border-radius: 1.1rem; padding: clamp(1.2rem, 3.5vw, 2.4rem); background: #fffaef; box-shadow: 0 .75rem 2rem #684b2411; }
.create-heading { display: flex; gap: .75rem; align-items: center; }
.create-heading h2 { font-size: clamp(2.7rem, 4.7vw, 4.15rem); letter-spacing: -.045em; }
.create-icon { flex: none; width: 2.6rem; height: 2.6rem; display: grid; place-items: center; color: var(--dark-gold); background: #eddfc1; border: 1px solid #dfcdac; border-radius: .5rem; }
.create-intro { margin: .52rem 0 1.15rem; color: var(--muted); }
.field-label, fieldset legend { display: block; font-size: .9rem; font-weight: 700; margin-bottom: .4rem; }
.field { display: block; width: 100%; min-height: 2.8rem; padding: .57rem .8rem; color: var(--ink); background: #fffaf1; border: 1px solid #cbbda4; border-radius: .43rem; }
.field::placeholder { color: #6b6d60; opacity: 1; }
.theme-fieldset, .sticker-fieldset { margin: .86rem 0 0; padding: 0; border: 0; min-width: 0; }
.theme-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .48rem; }
.theme-option, .sticker-choice { position: relative; cursor: pointer; }
.theme-option input, .sticker-choice input { position: absolute; opacity: 0; inset: 50% auto auto 50%; width: 1px; height: 1px; }
.theme-option > span { min-height: 2.63rem; height: 100%; display: grid; justify-items: center; gap: .36rem; padding: .38rem .38rem .44rem; background: #fff9ef; border: 1px solid #d8ccb5; border-radius: .53rem; font-weight: 700; font-size: .87rem; text-align: center; overflow-wrap: anywhere; }
.theme-option input:checked + span { border-color: #7a5a2e; background: #f2e6ce; box-shadow: inset 0 0 0 1px #92764355, 0 .25rem .48rem #8c6a2618; }
.theme-option input:focus-visible + span, .sticker-choice input:focus-visible + span { outline: 2px solid #805921; outline-offset: 3px; }
.theme-swatch { display: grid; grid-template-columns: repeat(3, 1fr); gap: .2rem; align-items: end; width: 100%; height: 2.35rem; padding: .26rem; border-radius: .32rem; background: var(--board-color); border: 1px solid #32261a7d; box-shadow: inset 0 0 0 1px #ffeed43b; }
.theme-swatch b { height: 84%; background: var(--pocket-light); border: 1px dashed #ffedbca3; border-radius: .14rem .14rem .24rem .24rem; }
.theme-swatch b:first-child { background: var(--pocket-alt); }
.theme-swatch b:last-child { background: var(--pocket); }
.create-card .button { width: 100%; margin-top: 1rem; min-height: 3rem; }
.form-caption { margin-top: .43rem; color: var(--muted); font-size: .85rem; text-align: center; }
.form-error { color: #8a172a; font-size: .93rem; margin-top: .4rem; }

.hero-visual { min-width: 0; position: relative; padding: 1.12rem .65rem 0; }
.sample-hanger { position: absolute; z-index: 2; top: .74rem; inset-inline: 0; height: .5rem; border: 1px solid #774b2b; border-radius: 4rem; background: linear-gradient(#d4a76b, #a67440 48%, #4d2f1a); box-shadow: 0 .2rem .3rem #08120c70; }
.sample-hanger::before, .sample-hanger::after { content: ''; position: absolute; top: -.69rem; height: 1.25rem; width: .31rem; border-radius: .2rem; background: repeating-linear-gradient(135deg, #b88758 0 1px, #e3be81 1px 3px); box-shadow: 1px 1px 2px #19170fb0; }
.sample-hanger::before { left: 12%; transform: rotate(11deg); }
.sample-hanger::after { right: 12%; transform: rotate(-12deg); }
.sample-board, .full-board {
  position: relative;
  border: 1px solid #bf905b96;
  background: radial-gradient(ellipse at 50% -12%, #f5cf852a, transparent 66%), url('/assets/felt-texture.webp') 0 0 / 17rem auto, var(--board-color);
  background-blend-mode: screen, soft-light, normal;
  border-radius: .65rem .65rem 1.45rem 1.45rem;
  box-shadow: 0 1.5rem 3rem #01090491, inset 0 0 1.55rem #03110878;
}
.sample-board::before, .full-board::before { content: ''; position: absolute; inset: .39rem; border: 1px dashed #e4bf8059; border-radius: .36rem .36rem 1.1rem 1.1rem; pointer-events: none; }
.sample-board { padding: .98rem clamp(.85rem, 2vw, 1.55rem) .82rem; }
.sample-heading { position: relative; text-align: center; }
.sample-heading p, .section-label { color: var(--gold); font-size: .75rem; font-weight: 700; letter-spacing: .19em; }
.sample-heading h2 { font-size: clamp(2.25rem, 3.25vw, 3.3rem); margin-top: .2rem; letter-spacing: -.04em; }
.board-ornament { color: var(--gold); font: 600 2rem/.8 var(--display); }
.board-lights { position: relative; display: flex; align-items: center; justify-content: space-between; gap: .15rem; max-width: 94%; height: .92rem; margin: .33rem auto .7rem; padding-inline: .38rem; }
.board-lights::before { content: ''; position: absolute; inset: 50% 0 auto; border-top: 1px solid #edd5a54a; transform: translateY(-50%); }
.board-lights i { flex: none; position: relative; width: .31rem; height: .35rem; border-radius: 50%; background: #f6d99236; box-shadow: 0 0 0 1px #1f22197a; transition: background .35s, box-shadow .35s; }
.board-lights i.is-lit { background: #fff1bf; box-shadow: 0 0 .42rem .16rem #f8b9517d; }
.board-lights i.is-lit:nth-child(3n+2) { background: #f8c988; box-shadow: 0 0 .39rem .14rem #e7a14a6b; }
.sample-board .board-lights { width: 64%; }
.door-grid { display: grid; }
.sample-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .82rem .75rem; }
.door { --felt: var(--pocket); --pocket-ink: #fff0d1; position: relative; isolation: isolate; width: 100%; min-width: 0; aspect-ratio: 1.34; padding: 0; border: 0; border-radius: .52rem; background: #12272028; text-align: left; }
.door:nth-child(3n+1) { --felt: var(--pocket-alt); }
.door:nth-child(3n) { --felt: var(--pocket-light); --pocket-ink: #34291b; }
.door--ready { z-index: 1; background: radial-gradient(ellipse at 50% 55%, #f6c87957, #f6c87920 55%, transparent 78%); }
.door-number { flex: none; font: 700 clamp(1.54rem, 2.7vw, 2.36rem)/.86 var(--display); font-variant-numeric: lining-nums tabular-nums; letter-spacing: -.055em; color: var(--pocket-ink); }
.door-mark { position: absolute; z-index: 4; top: .17rem; right: .16rem; display: grid; place-items: center; width: 1.45rem; height: 1.45rem; color: #f3d6a2; border: 1px solid #f4d39462; border-radius: 50%; background: #18291fba; }
.door--ready .door-mark { color: #3c2b12; background: #f2c981; border-color: #ffdfa6; box-shadow: 0 0 .65rem #f9cb8d8d; }
.door--empty .door-mark { background: transparent; border-color: transparent; color: #f5e9cb; }
.door-empty-mark { color: #f1dca783; position: absolute; inset: 9% 0 auto; text-align: center; font: 600 clamp(1.55rem, 2.8vw, 2.7rem)/1 var(--display); }
.pocket-front { position: absolute; z-index: 2; inset: auto .04rem .06rem; height: 51%; display: flex; justify-content: space-between; align-items: center; gap: .24rem; padding: .23rem .52rem .28rem; border: 1px solid #f0ce9862; border-top-color: #f0ce98a1; border-radius: .34rem .34rem .68rem .68rem; background: linear-gradient(170deg, #fff1ca24, #18131213 70%), url('/assets/felt-texture.webp') center / 15rem auto, var(--felt); background-blend-mode: normal, soft-light, normal; box-shadow: 0 .28rem .36rem #0d1914a0, inset 0 .14rem .15rem #fff4cf25; transition: border-color .22s, box-shadow .22s; }
.pocket-front::after { content: ''; position: absolute; inset: .22rem; border: 1px dashed #f2d6a898; border-radius: .2rem .2rem .47rem .47rem; pointer-events: none; }
.door:nth-child(3n) .pocket-front::after { border-color: #795e3cae; }
.pocket-label { min-width: 0; max-width: 100%; position: relative; z-index: 1; padding: .14rem .24rem; overflow: hidden; border-radius: .18rem .28rem .15rem .22rem; white-space: nowrap; text-overflow: ellipsis; background: #f7e9cb; color: #302617; box-shadow: 0 1px 2px #150d0c6b; font-weight: 700; font-size: .8rem; line-height: 1.33; }
.door--empty .pocket-label { color: var(--pocket-ink); background: transparent; box-shadow: none; padding-inline: .1rem; }
.door--ready .pocket-front { border-color: #ffe0a5; box-shadow: 0 .3rem .45rem #102015b0, 0 0 1.3rem #ffd08358, inset 0 .14rem .15rem #fff4cf25; }
.door--ready .pocket-label { background: #f7cf8a; color: #392612; }
.door:not(:disabled):hover .pocket-front, .door:focus-visible .pocket-front { border-color: #f8d694; box-shadow: 0 .22rem .48rem #0b190ee0, inset 0 .08rem .15rem #fff4cf35; }
.parcel { --tilt: -8deg; position: absolute; width: 68%; aspect-ratio: 250 / 157; left: 16%; top: 2%; transform: rotate(var(--tilt)); background: url('/assets/wax-envelope-pocket.webp') center / contain no-repeat; filter: drop-shadow(0 .27rem .23rem #12120797); transition: transform .32s cubic-bezier(.2,.68,.27,1.3); }
.parcel--honey { --tilt: 7deg; filter: sepia(.48) saturate(1.2) drop-shadow(0 .27rem .23rem #12120797); }
.parcel--rose { --tilt: -5deg; filter: sepia(.2) hue-rotate(329deg) saturate(1.18) drop-shadow(0 .27rem .23rem #12120797); }
.parcel--sage { --tilt: 4deg; filter: sepia(.48) hue-rotate(37deg) saturate(.85) drop-shadow(0 .27rem .23rem #12120797); }
.parcel--opened { --tilt: -5deg; width: 50%; left: 24%; top: 0; border-radius: .13rem; background: repeating-linear-gradient(#f8e9cb 0 8px, #af8b6659 8px 9px, #f8e9cb 9px 14px); }
.door:not(:disabled):hover .parcel, .door:focus-visible .parcel { transform: translateY(-13%) rotate(0deg); }
.is-tucked .parcel { animation: tuck .62s cubic-bezier(.22,.68,.29,1.08) both; }
@keyframes tuck { from { opacity: 0; transform: translateY(-68%) rotate(16deg); } 52% { opacity: 1; } to { opacity: 1; transform: rotate(var(--tilt)); } }
.sample-bottom { min-height: 2.4rem; padding: .68rem .09rem 0; display: flex; align-items: center; justify-content: space-between; gap: .5rem; color: #efe6d0; font-size: .89rem; }
.sample-bottom span { display: inline-flex; align-items: center; gap: .37rem; }
.sample-bottom svg, .sample-bottom a { color: var(--gold); }
.sample-bottom a { font-weight: 700; }

.feature-strip { border-block: 1px solid #e6c07a29; background: #152f25; }
.features { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); margin-block: 0; padding-block: 1.05rem; }
.features li { min-height: 2.15rem; display: flex; align-items: center; justify-content: center; gap: .58rem; padding: 0 .75rem; color: #e9e9da; font-size: .96rem; font-weight: 600; }
.features li + li { border-left: 1px solid #f1cb8a3b; }
.features svg { color: var(--gold); }
.paper-section, .article-body { padding-block: clamp(2.9rem, 6vw, 5.4rem); color: var(--ink); background: #f9f2e6; color-scheme: light; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1.3rem; }
.section-heading h2, .faq-layout h2, .cta-inner h2 { font-size: clamp(2.5rem, 4.7vw, 4rem); letter-spacing: -.045em; }
.paper-section .text-link, .article-body .text-link { color: #77333a; }
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; list-style: none; border-block: 1px solid #d6bd95; }
.how-steps li { min-width: 0; padding: clamp(1.15rem, 2.3vw, 1.75rem); }
.how-steps li + li { border-left: 1px solid #d6bd95; }
.step-top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; color: var(--dark-gold); }
.step-top > span:first-child { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid #dfcfac; background: #f1e4c9; border-radius: .5rem; }
.step-top > span:last-child { font: 600 1.55rem/1 var(--display); }
.how-steps h3, .ideas-callout h3 { margin-top: .9rem; font-size: clamp(1.8rem, 2.7vw, 2.4rem); letter-spacing: -.025em; }
.how-steps p, .ideas-callout p { margin-top: .42rem; color: #51594d; }
.ideas-callout { display: flex; justify-content: space-between; align-items: center; gap: .85rem; margin-top: 1.12rem; padding: 1.05rem clamp(1.15rem, 2.3vw, 1.75rem); border: 1px solid #e3d2b3; border-radius: .65rem; background: #f3e6cc; }
.ideas-callout h3 { margin: 0; }
.ideas-callout a { flex: none; }
.faq-section { padding-block: clamp(3rem, 6vw, 5.4rem); background: #142b22; }
.faq-layout { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(1.5rem, 4vw, 4.5rem); }
.faq-layout > div:first-child p { color: var(--light-muted); margin-top: .75rem; max-width: 19rem; }
.faq-list { border-top: 1px solid #e4bd7d50; }
.faq-list details { border-bottom: 1px solid #e4bd7d50; }
.faq-list summary { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.65rem; padding: .7rem .15rem; list-style: none; font-weight: 700; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { flex: none; width: 1rem; height: 1rem; position: relative; color: var(--gold); }
.faq-list summary span::before, .faq-list summary span::after { content: ''; position: absolute; inset: 50% 0 auto; border-top: 1.5px solid currentColor; }
.faq-list summary span::after { transform: rotate(90deg); }
.faq-list details[open] summary span::after { display: none; }
.faq-list details p { padding: .05rem 1.8rem 1rem .15rem; color: #d2d7c5; }
.page-cta { background: #eec995; color: var(--ink); border-block: 1px solid #c89b63; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.2rem; padding-block: 1.8rem; }
.cta-inner h2 { font-size: clamp(2.2rem, 4.5vw, 3.25rem); }
.cta-inner p { margin-top: .35rem; }
.cta-inner .button { flex: none; }
.site-footer { background: #0e201a; border-top: 1px solid #d4b37926; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.2rem; padding-block: 1.5rem; }

.article-head { padding-block: clamp(2.45rem, 6vw, 5.5rem); background: linear-gradient(105deg, #10241df2, #17352fd6), url('/assets/fir-felt-864.webp') center 23% / cover; }
.reading { max-width: 54rem; }
.article-head h1 { font-size: clamp(3.1rem, 7.5vw, 6rem); letter-spacing: -.055em; line-height: .94; max-width: 13ch; }
.article-head p { color: #dce3d0; font-size: clamp(1.03rem, 2vw, 1.23rem); max-width: 39rem; margin-top: 1rem; }
.breadcrumb { display: flex; gap: .6rem; align-items: center; margin-bottom: 1.25rem; color: #f1d9ae; font-size: .9rem; }
.breadcrumb a { color: #e9d9bc; }
.article-body h2 { font-size: clamp(2rem, 4.3vw, 3rem); letter-spacing: -.035em; }
.article-body p { margin-top: .55rem; color: #414a40; }
.article-body p a { color: #733039; font-weight: 700; }
.guide-steps { list-style: none; counter-reset: guide; padding: 0; margin: 0 0 1.6rem; }
.guide-steps li { position: relative; counter-increment: guide; padding: 1.2rem 0 1.2rem 3.65rem; border-bottom: 1px solid var(--paper-line); }
.guide-steps li:first-child { padding-top: 0; }
.guide-steps li::before { content: counter(guide); position: absolute; left: 0; width: 2.7rem; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid #dac499; border-radius: .55rem; color: #6f4e1e; background: #f1e1c0; font: 600 1.76rem/1 var(--display); }
.article-extra h2:not(:first-child) { margin-top: 1.5rem; }
.article-extra > p:last-child { margin-top: 1rem; }
.idea-index { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.65rem; }
.idea-index a { padding: .35rem .65rem; border: 1px solid var(--paper-line); border-radius: .42rem; color: #694332; background: #fffbf2; font-size: .92rem; font-weight: 700; }
.idea-group { margin-bottom: 2rem; }
.note-list { margin: .7rem 0 0; padding-left: 1.7rem; }
.note-list li { border-bottom: 1px solid var(--paper-line); padding: .28rem 0 .28rem .32rem; }
.note-list li::marker { color: var(--dark-gold); font-family: var(--display); font-weight: 700; }
.note-list li > div { display: flex; justify-content: space-between; align-items: center; gap: .4rem; }
.note-list p { margin: 0; }
.copy-idea { color: #7b4c30; }

.calendar-scene, .utility-scene { background: radial-gradient(ellipse 85% 34rem at 50% 9%, #274d3a 0%, var(--night) 75%); }
.calendar-shell { max-width: 71rem; padding-block: 1.8rem 3rem; }
.calendar-toolbar, .calendar-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .67rem; }
.calendar-toolbar { margin-bottom: 1rem; }
.calendar-actions { justify-content: flex-end; }
.full-board { padding: clamp(1rem, 3vw, 2.1rem); }
.theme-evergreen { --board-color: #234735; --pocket: #3e6550; --pocket-alt: #8c4750; --pocket-light: #d3b887; }
.theme-cocoa { --board-color: #57392a; --pocket: #845f43; --pocket-alt: #785442; --pocket-light: #d5b589; }
.theme-cranberry { --board-color: #682f3b; --pocket: #925462; --pocket-alt: #994653; --pocket-light: #dfb7a3; }
.calendar-heading { margin: 0 auto .85rem; max-width: 42rem; text-align: center; }
.calendar-heading .board-ornament { display: block; margin-bottom: .34rem; }
.calendar-heading h1 { margin: .2rem 0 .52rem; font-size: clamp(2.85rem, 6.8vw, 5.75rem); letter-spacing: -.05em; overflow-wrap: anywhere; }
.calendar-intro { color: #eee5d2; overflow-wrap: anywhere; }
.calendar-progress { display: flex; justify-content: center; align-items: center; gap: .6rem; margin-top: .68rem; font-size: .9rem; font-weight: 700; }
progress { appearance: none; width: clamp(4.6rem, 14vw, 8.6rem); height: .42rem; border: none; border-radius: .5rem; background: #0f1c1675; color: var(--gold); }
progress::-webkit-progress-bar { border-radius: .5rem; background: #0f1c1675; }
progress::-webkit-progress-value { background: var(--gold); border-radius: .5rem; }
progress::-moz-progress-bar { background: var(--gold); border-radius: .5rem; }
.full-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(.52rem, 1.5vw, 1.1rem); }
.full-grid .door { aspect-ratio: 1.12; }
.calendar-status { text-align: center; }
.calendar-status:not(:empty) { padding: 1rem 0; }
.calendar-legend { display: flex; justify-content: center; align-items: center; gap: clamp(.65rem, 3vw, 1.65rem); flex-wrap: wrap; margin-top: 1.1rem; color: var(--light-muted); }
.calendar-legend span { display: inline-flex; align-items: center; gap: .44rem; font-size: .91rem; }
.calendar-legend svg { color: var(--gold); }
.demo-control { display: flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 600; }
.demo-control select { min-height: 2.75rem; padding: .34rem .3rem .34rem .5rem; color: var(--cream); background: #16372a; border: 1px solid #d4b97e7a; border-radius: .42rem; }

.utility-scene { display: grid; place-items: center; padding: clamp(2.75rem, 9vw, 7rem) var(--gutter); min-height: 66vh; }
.utility-card { width: min(100%, 31rem); border-radius: 1rem; box-shadow: 0 1.3rem 3.2rem #06140e87; padding: clamp(1.25rem, 4vw, 2rem); text-align: center; }
.utility-card h1 { margin-top: .6rem; font-size: clamp(2.6rem, 5.4vw, 3.9rem); letter-spacing: -.04em; }
.utility-card p { margin-top: .68rem; color: var(--muted); }
.utility-card > a:last-child { margin-top: 1.15rem; display: inline-flex; }
.utility-icon { margin: 0 auto; width: 3rem; height: 3rem; display: grid; place-items: center; border: 1px solid #d6c39d; border-radius: .63rem; background: #ebdfc2; color: #795528; }
.join-form { margin-top: 1.35rem; text-align: left; }
.join-form .button { width: 100%; margin-top: .8rem; }
.join-form .form-error { color: #8a172a; }
.code-input { text-transform: uppercase; font-weight: 700; letter-spacing: .12em; }
.saved-list ul { list-style: none; padding: 0; margin: 1.2rem 0 .5rem; }
.saved-list a { display: flex; align-items: center; justify-content: space-between; gap: .65rem; text-align: left; overflow-wrap: anywhere; padding: .7rem; border: 1px solid var(--paper-line); border-radius: .4rem; margin-top: .4rem; background: #fff8eb; font-weight: 700; }
.saved-list a span { color: var(--dark-gold); font-weight: 600; }

.sheet { width: min(31rem, calc(100% - 1.25rem)); max-height: min(92dvh, 50rem); padding: clamp(1.2rem, 4vw, 1.7rem); overflow-y: auto; overscroll-behavior: contain; background: var(--paper); color: var(--ink); border: 1px solid #e6cfaa; border-radius: .9rem; color-scheme: light; box-shadow: 0 1.3rem 4rem #030c09a0; }
.sheet::backdrop { background: #050f0cd0; backdrop-filter: blur(3px); }
.sheet-close { position: absolute; top: .55rem; right: .55rem; }
.sheet h2 { padding-right: 2rem; font-size: clamp(2.25rem, 5.8vw, 3.05rem); letter-spacing: -.045em; }
.sheet h2:focus { outline: 0; }
.sheet p:not(.sheet-kicker, .form-error, .letter-from) { margin-top: .6rem; }
.sheet > .button, .sheet > .text-button { margin-top: .7rem; }
.sheet .dialog-status { color: #34543d; font-size: .92rem; }
.sheet-kicker { margin-bottom: .32rem; color: var(--dark-gold); font-size: .84rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; }
.sheet-buttons, .confirm-form { display: flex; align-items: center; flex-wrap: wrap; gap: .58rem; margin-top: .85rem; }
.confirm-form .form-error { width: 100%; }
.invite-code { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin: .9rem 0 .7rem; padding: .3rem .45rem .3rem .7rem; border-radius: .45rem; border: 1px dashed #bba271; color: #4c3b26; background: #f0e4cb; }
.invite-code strong { margin-left: auto; font-size: 1.11rem; letter-spacing: .085em; }
.manual-copy { margin-top: .75rem; resize: vertical; }
.stack-form { margin-top: .9rem; }
.stack-form .button { width: 100%; margin-top: .85rem; }
.settings-tools { padding-top: .25rem; margin-top: .95rem; border-top: 1px solid var(--paper-line); }
.settings-tools button { display: flex; align-items: center; gap: .46rem; min-height: 2.5rem; padding: 0; color: #36503a; background: transparent; border: 0; font-weight: 700; text-align: left; text-decoration: underline; text-underline-offset: .2em; }
.sheet p.settings-help { margin: -.1rem 0 .34rem 1.6rem; font-size: .9rem; color: var(--muted); }
.settings-tools .danger-link, .text-button { color: #8a2736; }
.text-button { display: inline-flex; align-items: center; background: transparent; border: 0; padding: .26rem .4rem; min-height: 2.6rem; font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
.note-input { resize: vertical; min-height: 6.3rem; }
.character-count { display: block; margin: .18rem 0 0; text-align: right; color: var(--muted); font-size: .85rem; }
.sticker-options { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .38rem; }
.sticker-choice > span { display: grid; place-items: center; min-height: 2.75rem; border: 1px solid var(--paper-line); border-radius: .42rem; background: #fffaf2; font-size: 1.18rem; }
.sticker-choice input:checked + span { border: 1px solid #906d37; background: #efdfba; box-shadow: inset 0 0 0 1px #9c744044; }
.check-field { display: flex; align-items: center; gap: .45rem; min-height: 2.65rem; margin: .32rem 0; font-weight: 600; }
.check-field input { accent-color: #386349; width: 1.07rem; height: 1.07rem; }
.letter-sheet, .envelope-sheet { text-align: center; }
.letter-sheet h2, .envelope-sheet h2 { padding-inline: 1.35rem; overflow-wrap: anywhere; }
.envelope-sheet { padding-block: 1.6rem; color: var(--cream); border-color: #b58a58; background: radial-gradient(ellipse at 48% 59%, #39533a, #172e25 65%, #11241e 100%); }
.envelope-sheet .sheet-kicker, .envelope-sheet .dialog-status { color: #f0ca8f; }
.envelope-sheet :focus-visible { outline-color: #f8d38e; }
.envelope-sheet .sheet-close:hover { background: #edc88a26; border-color: #edc88a71; }
.envelope-trigger { display: grid; justify-items: center; width: 100%; margin-top: 1.3rem; padding: .3rem .2rem .16rem; color: inherit; background: transparent; border: 0; border-radius: .6rem; }
.envelope-trigger[aria-disabled='true'] { cursor: wait; }
.envelope-trigger > .button { margin-top: .9rem; }
.envelope-stage { display: block; position: relative; isolation: isolate; width: min(100%, 21rem); aspect-ratio: 740 / 465; perspective: 550px; transition: transform .3s cubic-bezier(.24,.69,.27,1.24); transform: rotate(-4deg); }
.envelope-trigger:hover .envelope-stage, .envelope-trigger:focus-visible .envelope-stage { transform: rotate(0deg) translateY(-.27rem); }
.envelope-photo, .envelope-front, .envelope-back, .envelope-flap { position: absolute; inset: 0; border-radius: .2rem; }
.envelope-photo { z-index: 4; background: url('/assets/wax-envelope.webp') center / contain no-repeat; filter: drop-shadow(0 .7rem .68rem #0c100aa5); }
.envelope-back, .envelope-front, .envelope-flap { opacity: 0; }
.envelope-back { background: #ad8155; box-shadow: 0 .66rem .82rem #0b160bb8; }
.envelope-front { z-index: 3; clip-path: polygon(0 0, 50% 61%, 100% 0, 100% 100%, 0 100%); background: linear-gradient(145deg,#f7e9c8,#cfaa76); }
.envelope-flap { z-index: 1; transform-origin: center top; clip-path: polygon(0 0,100% 0,50% 63%); background: linear-gradient(155deg, #ecd7a7, #bc935b); }
.envelope-insert { position: absolute; z-index: 2; inset: 20% 10% 8%; opacity: 0; border: 1px solid #e0c99d; border-radius: .22rem; background: repeating-linear-gradient(#fff5df 0 15px, #dac6a05e 15px 16px, #fff5df 16px 23px); box-shadow: 0 .18rem .7rem #7b573e55; }
.seal-glint { position: absolute; z-index: 5; top: 51%; left: 45%; width: 10%; color: #ffe4a5; opacity: 0; font: 700 2.4rem/1 var(--display); }
.is-opening .envelope-photo { animation: break-seal .44s ease-out both; }
.is-opening .envelope-back, .is-opening .envelope-front { opacity: 1; }
.is-opening .envelope-flap { animation: raise-flap .53s .13s ease-in-out both; }
.is-opening .envelope-insert { animation: draw-letter .57s .22s cubic-bezier(.22,.64,.28,1) both; }
.is-opening .seal-glint { animation: seal-glint .51s ease-out both; }
@keyframes break-seal { 0%, 10% { opacity: 1; transform: scale(1); } 38% { opacity: 1; transform: scale(1.04); } 100% { opacity: 0; transform: scale(1.015); } }
@keyframes raise-flap { from { opacity: 1; transform: rotateX(0); } to { opacity: 1; transform: rotateX(162deg); } }
@keyframes draw-letter { 0% { opacity: 0; transform: translateY(15%); } 26% { opacity: 1; } 100% { opacity: 1; transform: translateY(-62%) rotate(-4deg); } }
@keyframes seal-glint { 15% { opacity: 0; transform: scale(.3); } 43% { opacity: 1; } 100% { opacity: 0; transform: scale(1.45) translateY(-40%); } }
.letter-paper { position: relative; margin-top: .95rem; border: 1px solid #d4bd94; border-radius: .45rem; padding: 1.25rem 1.15rem; background: repeating-linear-gradient(#fff9ec 0 31px, #eedfc3 32px, #fff9ec 33px); box-shadow: .2rem .35rem .75rem #8e63232a; animation: settle-letter .36s ease-out both; }
.letter-paper::before { content: ''; position: absolute; inset: .37rem; border: 1px solid #c9a87d89; border-radius: .25rem; pointer-events: none; }
.letter-sticker { display: block; margin-bottom: .58rem; font-size: 1.9rem; }
.letter-paper blockquote { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font: italic 600 clamp(1.65rem, 5vw, 2.14rem)/1.08 var(--display); }
.letter-from { margin: .81rem 0 0; overflow-wrap: anywhere; color: #775127; font-weight: 700; }
.letter-from > span { font-weight: 500; }
@keyframes settle-letter { from { opacity: 0; transform: translateY(.45rem) rotate(-2deg); } to { opacity: 1; transform: none; } }
.toast { visibility: hidden; position: fixed; z-index: 5; bottom: 1.1rem; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 2rem); padding: .62rem 1rem; background: #f4dbb0; border: 1px solid #e7c287; border-radius: .6rem; color: #302719; box-shadow: 0 .65rem 1.8rem #03090665; font-weight: 600; }
.toast.visible { visibility: visible; }

@media (max-width: 1040px) {
  .hero-inner { gap: clamp(1.45rem, 3vw, 2.8rem); }
  .sample-board { padding: .85rem .78rem .55rem; }
  .sample-grid { gap: .58rem .43rem; }
  .full-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .nav-inner { grid-template-columns: minmax(0, 1fr) auto; gap: .55rem .85rem; padding-block: .73rem .53rem; }
  .site-nav { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 760px) {
  .nav-inner { min-height: auto; gap: .75rem .85rem; padding-block: .73rem .63rem; }
  .wordmark { font-size: 1.66rem; }
  .site-nav { grid-column: 1 / -1; grid-row: 2; gap: 1.35rem; }
  .site-nav a { padding-block: .35rem; }
  .nav-join { min-height: 2.56rem; padding: .5rem .62rem; }
  .language-menu summary { min-height: 2.56rem; padding: .5rem; }
  .hero-inner { max-width: 37rem; grid-template-columns: 1fr; padding-block: 1.9rem 2rem; gap: 1.45rem; }
  .hero-backdrop img { object-position: 60% 8%; }
  .hero::before { background: linear-gradient(125deg,#112820df,#1128207d 67%,#112820b4); }
  .hero h1 { font-size: clamp(3.35rem, 10.6vw, 4.7rem); }
  :root:not(:lang(en)) .hero h1 { font-size: clamp(2.65rem, 8.8vw, 4.1rem); }
  .season { margin-bottom: .82rem; }
  .hero-description { margin-top: .95rem; }
  .hero-actions { margin-top: 1.05rem; }
  .hero-actions .button { min-height: 2.85rem; padding: .55rem .73rem; }
  .hero-note { margin-top: .48rem; }
  .hero-copy { max-width: none; }
  .hero-visual { padding-inline: .28rem; }
  .snow-toggle { top: .53rem; right: .65rem; bottom: auto; }
  .sample-board { padding-inline: .73rem; }
  .sample-heading h2 { font-size: clamp(2.2rem, 7.5vw, 3.1rem); }
  .create-layout { max-width: 36rem; grid-template-columns: 1fr; }
  .letter-story { min-height: auto; aspect-ratio: 1.6; grid-row: 2; }
  .section-heading, .ideas-callout, .cta-inner, .footer-inner { align-items: flex-start; flex-direction: column; }
  .features { grid-template-columns: 1fr; padding-block: .43rem; }
  .features li { justify-content: flex-start; min-height: 2.6rem; padding: .3rem 0; }
  .features li + li { border-left: 0; border-top: 1px solid #f1cb8a25; }
  .how-steps, .faq-layout { grid-template-columns: 1fr; }
  .how-steps li { padding-inline: 0; }
  .how-steps li + li { border-left: 0; border-top: 1px solid #d6bd95; }
  .faq-layout > div:first-child p { max-width: none; }
  .full-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-inner { gap: .9rem; }
}
@media (max-width: 540px) {
  .door { aspect-ratio: 1.15; }
  .pocket-front { flex-direction: column; justify-content: center; gap: .12rem; height: 54%; padding: .18rem .25rem; }
  .pocket-label { font-size: .75rem; padding: .03rem .22rem; }
  .door--empty .pocket-label { padding: 0; }
  .door-mark { width: 1.17rem; height: 1.17rem; }
  .door-mark svg { width: .75rem; height: .75rem; }
}
@media (max-width: 480px) {
  .nav-join span { display: none; }
  .nav-join { min-width: 2.56rem; }
}
@media (max-width: 405px) {
  .site-nav { gap: 1rem; }
  .site-nav a { font-size: .87rem; }
  .create-card { padding-inline: 1rem; }
  .calendar-shell { padding-inline: .78rem; }
  .calendar-toolbar, .calendar-actions { gap: .43rem; }
  .calendar-toolbar .button { padding-inline: .55rem; font-size: .89rem; }
  .demo-control { gap: .27rem; }
  .demo-control select { font-size: .83rem; }
}
@media (max-width: 360px) {
  .language-menu summary span { display: none; }
  .language-menu summary { min-width: 2.56rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .hero-flurries, .snow-toggle { display: none; }
}
