:root { --two-night: #26383a; --two-cream: #f7f0e4; --two-coral: #a75a49; }
html.letter-preunlocked #letterContent[hidden] { display: block !important; }
body.letter-is-open > .return-link { display: none; }
.letter-two { overflow: hidden; background: var(--paper); color: var(--ink); }
.letter-two-shell { width: min(100% - 40px, 1120px); margin-inline: auto; }
.two-meta { margin: 0 0 16px; color: var(--two-coral); font-size: .76rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.letter-two h2, .letter-two h3, .letter-two p { margin-top: 0; }
.letter-two h2, .letter-two h3 { font-family: var(--serif); font-weight: 400; letter-spacing: 0; }
.letter-two-hero { position: relative; min-height: 92vh; min-height: 92svh; overflow: hidden; background: var(--two-night); color: var(--two-cream); }
.letter-two-hero::before, .letter-two-hero::after { position: absolute; content: ""; pointer-events: none; }
.letter-two-hero::before { top: -16%; right: -32%; width: min(112vw, 680px); aspect-ratio: 1; border: 1px solid rgba(247,240,228,.16); border-radius: 50%; box-shadow: 0 0 0 34px rgba(247,240,228,.025), 0 0 0 92px rgba(247,240,228,.018); }
.letter-two-hero::after { right: -18%; bottom: 8%; width: 72%; height: 1px; background: rgba(247,240,228,.22); transform: rotate(-8deg); }
.letter-two-hero-inner { position: relative; z-index: 1; display: flex; min-height: 92vh; min-height: 92svh; flex-direction: column; justify-content: center; padding: max(92px, calc(env(safe-area-inset-top) + 72px)) 0 72px; }
.chapter-return { position: absolute; top: max(22px, env(safe-area-inset-top)); left: 0; display: inline-flex; min-height: 44px; align-items: center; color: rgba(247,240,228,.72); font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.hero-postmark { position: absolute; top: 19%; right: 3%; display: grid; width: 64px; height: 64px; place-content: center; border: 1px solid rgba(247,240,228,.34); border-radius: 50%; color: rgba(247,240,228,.7); text-align: center; transform: rotate(8deg); }
.hero-postmark span { font-family: var(--serif); font-size: 1.2rem; line-height: 1; }
.hero-postmark small { font-size: .55rem; letter-spacing: .12em; }
.letter-two-hero .two-meta { color: #d8aa72; }
.letter-two-hero h1 { max-width: 800px; margin: 0; font-family: var(--serif); font-size: clamp(3.25rem, 15vw, 7.4rem); font-weight: 400; line-height: .96; }
.letter-two-hero h1:focus { outline: none; }
.letter-two-hero h1 span, .letter-two-hero h1 em { display: block; }
.letter-two-hero h1 em { color: #d9c5a6; font-size: .53em; font-weight: 400; line-height: 1.14; }
.hero-thought { max-width: 520px; margin: 34px 0 0; color: rgba(247,240,228,.8); font-family: var(--serif); font-size: clamp(1rem,4.6vw,1.3rem); line-height: 1.65; }
.hero-start { align-self: flex-start; margin-top: 48px; color: var(--two-cream); font-size: .82rem; font-weight: 750; letter-spacing: .07em; text-decoration: underline; text-decoration-color: rgba(247,240,228,.42); text-underline-offset: 7px; text-transform: uppercase; }
.letter-two.is-arriving .letter-two-hero-inner { animation: two-arrives 700ms cubic-bezier(.2,.72,.2,1) both; }
.photo-journal { padding: 110px 0 150px; }
.journal-heading { max-width: 760px; margin-bottom: 86px; }
.journal-heading h2, .songs h2, .postcard-paper h2 { margin: 0; font-size: clamp(2.4rem,10vw,5.5rem); line-height: 1.02; }
.journal-heading > div > p:last-child, .songs header > p:last-child, .october-inner > p:last-child { max-width: 580px; margin: 24px 0 0; color: var(--ink-soft); font-size: 1rem; line-height: 1.75; }
.journal-progress { margin: 34px 0 0; color: var(--moss); font-size: .78rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.memory-list { display: grid; gap: 112px; }
.memory-entry { display: grid; gap: 28px; align-items: start; }
.memory-copy { position: relative; max-width: 520px; padding-left: 52px; }
.memory-number { position: absolute; top: 4px; left: 0; color: var(--two-coral); font-family: var(--serif); font-size: 1.55rem; }
.memory-copy h3 { margin: 0; font-size: clamp(1.75rem,7vw,3rem); line-height: 1.08; }
.memory-copy p { margin: 15px 0 0; color: var(--ink-soft); line-height: 1.7; }
.memory-paper { position: relative; min-height: 390px; padding: 14px 14px 58px; background: var(--paper-light); box-shadow: 0 22px 52px rgba(57,45,32,.16); transform: rotate(var(--paper-rotation,-1deg)); }
.memory-entry:nth-child(even) .memory-paper { --paper-rotation: 1deg; }
.memory-entry:nth-child(3n) .memory-paper { --paper-rotation: -.4deg; }
.memory-empty { display: grid; min-height: 318px; place-content: center; border: 1px dashed rgba(41,40,36,.26); background: rgba(233,223,207,.36); text-align: center; }
.memory-empty > span { color: var(--ink-soft); font-family: var(--serif); font-style: italic; }
.choose-photo { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; margin-top: 22px; border-bottom: 1px solid var(--ink); color: var(--ink); cursor: pointer; font-size: .78rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.memory-photo { margin: 0; }
.memory-preview { display: block; width: 100%; padding: 0; overflow: hidden; border: 0; background: var(--paper-deep); cursor: zoom-in; }
.memory-preview img { display: block; width: 100%; height: auto; max-height: 680px; min-height: 300px; aspect-ratio: 4 / 5; object-fit: contain; }
.memory-photo figcaption { margin: 14px 12px 0; font-family: var(--serif); font-size: .95rem; font-style: italic; text-align: center; }
.memory-actions { position: absolute; right: 16px; bottom: 12px; left: 16px; display: flex; justify-content: space-between; }
.memory-actions label, .memory-actions button { min-height: 40px; border: 0; background: transparent; color: var(--ink-soft); cursor: pointer; font-size: .72rem; font-weight: 700; letter-spacing: .06em; line-height: 40px; text-decoration: underline; text-decoration-color: rgba(41,40,36,.28); text-underline-offset: 4px; text-transform: uppercase; }
.memory-status { position: absolute; bottom: -32px; left: 0; width: 100%; margin: 0; color: var(--moss); font-size: .76rem; text-align: center; }
.memory-entry.is-saving .memory-paper { opacity: .68; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.device-note { max-width: 520px; margin: 104px auto 0; color: var(--ink-soft); font-family: var(--serif); font-size: .92rem; font-style: italic; text-align: center; }
.journal-complete, .journal-noscript { max-width: 660px; margin: 34px auto 0; color: var(--two-coral); font-family: var(--serif); font-size: clamp(1.3rem,5vw,1.8rem); text-align: center; }
.songs { padding: 120px 0; background: var(--two-night); color: var(--two-cream); }
.songs .two-meta { color: #d8aa72; }
.songs header > p:last-child { color: rgba(247,240,228,.68); }
.song-list { margin-top: 58px; border-top: 1px solid rgba(247,240,228,.25); }
.song-link { display: grid; min-height: 92px; grid-template-columns: 38px minmax(0,1fr) auto; gap: 12px; align-items: center; border-bottom: 1px solid rgba(247,240,228,.18); color: inherit; text-decoration: none; }
.song-index, .song-open { color: rgba(247,240,228,.52); font-size: .72rem; font-weight: 700; }
.song-copy strong, .song-copy span { display: block; }
.song-copy strong { font-family: var(--serif); font-size: 1.18rem; font-weight: 400; }
.song-copy span { color: rgba(247,240,228,.62); font-size: .84rem; }
.song-empty { margin: 0; padding: 46px 0; border-bottom: 1px solid rgba(247,240,228,.18); color: rgba(247,240,228,.62); font-family: var(--serif); font-size: 1.05rem; font-style: italic; }
.postcard { padding: 150px 0 180px; }
.postcard-layout { position: relative; }
.postcard-number { margin: 0 0 -38px; color: rgba(149,79,64,.12); font-family: var(--serif); font-size: clamp(7rem,34vw,14rem); line-height: .8; }
.postcard-paper { position: relative; max-width: 760px; margin-left: auto; padding: 50px 30px 44px; background: var(--paper-light); box-shadow: var(--paper-shadow); }
.postcard-paper::before { position: absolute; top: -13px; left: 18%; width: 86px; height: 28px; background: rgba(206,180,134,.45); content: ""; transform: rotate(-3deg); }
.postcard-paper h2 { margin-bottom: 34px; }
.postcard-paper p:not(.two-meta) { max-width: 620px; margin-bottom: 22px; font-family: var(--serif); font-size: 1.05rem; line-height: 1.85; }
.postcard-paper .postcard-signoff { margin-top: 36px; color: var(--two-coral); font-size: 1.24rem; font-style: italic; }
.postcard-photo-spread { columns: 2; column-gap: 14px; margin: 36px -8px 42px; padding: 8px 0; }
.postcard-snapshot { display: inline-block; width: 100%; margin: 0 0 14px; padding: 7px 7px 22px; break-inside: avoid; border: 0; background: #fffaf2; box-shadow: 0 12px 26px rgba(57,45,32,.18); cursor: zoom-in; transform: rotate(-1deg); }
.postcard-snapshot:nth-child(even) { transform: rotate(1.2deg); }
.postcard-snapshot:nth-child(3n) { transform: rotate(-.35deg); }
.postcard-snapshot img { display: block; width: 100%; height: auto; }
.postcard-snapshot:focus-visible { outline: 2px solid var(--canal); outline-offset: 4px; }
.october-note { padding: 130px 0 150px; border-top: 1px solid var(--rule); }
.october-inner { max-width: 1120px; }
.october-inner > .two-meta { text-align: center; }
.october-challenge { margin-top: 46px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.october-challenge-label { display: grid; min-height: 184px; grid-template-columns: 58px minmax(0,1fr); gap: 24px; align-items: center; padding: 30px 0; cursor: pointer; text-align: left; }
.october-check { position: relative; display: grid; width: 58px; aspect-ratio: 1; place-items: center; border: 1px solid var(--ink); background: transparent; color: var(--two-cream); transition: background 240ms ease, border-color 240ms ease, transform 240ms ease; }
.october-check span { opacity: 0; font-family: var(--serif); font-size: 2rem; line-height: 1; transform: scale(.45) rotate(-12deg); transition: opacity 180ms ease, transform 300ms cubic-bezier(.2,.75,.25,1.35); }
.october-challenge-copy { font-family: var(--serif); font-size: clamp(1.72rem,5.5vw,3.2rem); line-height: 1.24; }
.keep-together { white-space: nowrap; }
#octoberChallenge:checked + .october-challenge-label .october-check { border-color: var(--two-night); background: var(--two-night); transform: rotate(-2deg); }
#octoberChallenge:checked + .october-challenge-label .october-check span { opacity: 1; transform: scale(1) rotate(0); }
#octoberChallenge:checked + .october-challenge-label .october-challenge-copy { color: var(--ink-soft); text-decoration: line-through; text-decoration-color: rgba(167,90,73,.5); text-decoration-thickness: 2px; }
#octoberChallenge:focus-visible + .october-challenge-label .october-check { outline: 2px solid var(--canal); outline-offset: 5px; }
.october-challenge-status { margin: -12px 0 30px 82px; color: var(--two-coral); font-size: .76rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.challenge-celebration { position: fixed; z-index: 120; inset: 0; display: grid; overflow: hidden; place-items: center; background: #1f2b2d; color: var(--two-cream); opacity: 0; animation: celebration-in 420ms ease forwards; }
.challenge-celebration[hidden] { display: none; }
.challenge-celebration.is-leaving { animation: celebration-out 320ms ease forwards; }
.celebration-message { position: relative; z-index: 3; width: min(100% - 44px,760px); text-align: center; animation: celebration-message-in 700ms 140ms cubic-bezier(.2,.75,.2,1) both; }
.celebration-seal { display: grid; width: 76px; aspect-ratio: 1; place-items: center; margin: 0 auto 34px; border: 1px solid #d8aa72; border-radius: 50%; color: #d8aa72; font-family: var(--serif); font-size: 2.2rem; }
.celebration-message p { margin: 0 0 18px; color: #d8aa72; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.celebration-message strong { display: block; font-family: var(--serif); font-size: clamp(3.2rem,16vw,8rem); font-weight: 400; line-height: .94; }
.celebration-message > span:last-child { display: block; margin-top: 28px; color: rgba(247,240,228,.76); font-family: var(--serif); font-size: clamp(1rem,4.4vw,1.3rem); }
.celebration-close { position: fixed; z-index: 5; top: max(16px,env(safe-area-inset-top)); right: max(16px,env(safe-area-inset-right)); display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid rgba(247,240,228,.25); border-radius: 50%; background: transparent; color: var(--two-cream); cursor: pointer; font-size: 1.8rem; }
.celebration-particles, .celebration-rings { position: absolute; inset: 0; pointer-events: none; }
.celebration-particle { position: absolute; top: -12vh; left: var(--x); width: var(--size); height: calc(var(--size) * .42); background: var(--colour); opacity: .96; animation: celebration-fall var(--duration) var(--delay) cubic-bezier(.18,.65,.35,1) both; }
.celebration-particle.is-round { height: var(--size); border-radius: 50%; }
.celebration-rings { display: grid; place-items: center; }
.celebration-rings span { position: absolute; width: 120px; aspect-ratio: 1; border: 1px solid rgba(216,170,114,.46); border-radius: 50%; animation: celebration-ring 2.4s ease-out infinite; }
.celebration-rings span:nth-child(2) { animation-delay: .55s; }
.celebration-rings span:nth-child(3) { animation-delay: 1.1s; }
.letter-two-ending { padding: 110px 0 max(88px,calc(env(safe-area-inset-bottom) + 58px)); background: #1f2b2d; color: var(--two-cream); text-align: center; }
.letter-two-ending p { margin: 0; font-family: var(--serif); font-size: clamp(2rem,8vw,4.4rem); line-height: 1.08; }
.letter-two-ending span { display: block; margin-top: 28px; color: #d8aa72; font-size: .78rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.letter-two-ending a { display: inline-flex; min-height: 44px; align-items: center; margin-top: 58px; color: rgba(247,240,228,.72); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-underline-offset: 6px; text-transform: uppercase; }
.two-lightbox { width: 100vw; max-width: none; height: 100vh; max-height: none; margin: 0; padding: 64px 20px 30px; border: 0; background: rgba(22,29,30,.96); color: var(--two-cream); }
.two-lightbox[open] { display: grid; place-items: center; }
.two-lightbox::backdrop { background: rgba(22,29,30,.96); }
.two-lightbox figure { display: grid; max-width: min(100%,1000px); max-height: calc(100vh - 100px); margin: 0; place-items: center; }
.two-lightbox img { display: block; max-width: 100%; max-height: calc(100vh - 148px); object-fit: contain; }
.two-lightbox figcaption { margin-top: 14px; font-family: var(--serif); font-style: italic; }
.two-lightbox-close { position: fixed; top: max(16px,env(safe-area-inset-top)); right: max(16px,env(safe-area-inset-right)); display: grid; width: 44px; height: 44px; place-items: center; border: 0; background: transparent; color: var(--two-cream); cursor: pointer; font-size: 2rem; }
@keyframes two-arrives { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes celebration-in { to { opacity: 1; } }
@keyframes celebration-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes celebration-message-in { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes celebration-fall { from { transform: translate3d(0,-10vh,0) rotate(0); } to { transform: translate3d(var(--drift),116vh,0) rotate(var(--spin)); } }
@keyframes celebration-ring { from { opacity: .75; transform: scale(.35); } to { opacity: 0; transform: scale(8); } }
@media (min-width: 720px) {
  .letter-two-shell { width: min(100% - 80px,1120px); }
  .journal-heading { display: grid; max-width: none; grid-template-columns: minmax(0,1fr) auto; gap: 56px; align-items: end; }
  .journal-progress { margin-bottom: 10px; }
  .memory-entry { grid-template-columns: minmax(240px,.8fr) minmax(360px,1.2fr); gap: clamp(54px,9vw,120px); align-items: center; }
  .memory-entry:nth-child(even) .memory-copy { grid-column: 2; }
  .memory-entry:nth-child(even) .memory-paper { grid-row: 1; grid-column: 1; }
  .memory-paper { min-height: 500px; }
  .memory-empty { min-height: 428px; }
  .songs-layout { display: grid; grid-template-columns: minmax(260px,.8fr) minmax(360px,1.2fr); gap: clamp(60px,10vw,140px); align-items: start; }
  .song-list { margin-top: 20px; }
  .postcard-paper { padding: 74px 72px 62px; }
  .postcard-photo-spread { columns: 3; column-gap: 18px; margin: 44px -42px 48px; }
  .postcard-snapshot { margin-bottom: 18px; }
}
@media (min-width: 1100px) {
  .letter-two-hero-inner { padding-left: 8%; }
  .hero-postmark { right: 9%; }
  .photo-journal { padding-block: 170px 220px; }
  .memory-list { gap: 170px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  .celebration-particle { display: none; }
}
