:root {
  --paper: #f6f1e8; --paper-deep: #e9dfd0; --paper-soft: #fbf8f2;
  --ink: #2f2a27; --ink-soft: #6e6259; --line: rgba(47, 42, 39, .18);
  --accent: #a94640; --accent-deep: #7c3532; --yellow: #e4b95c;
  --blue: #8aa4b1; --green: #859c84; --max: 1240px; --header: 72px;
  --radius: 14px; --shadow: 0 18px 42px rgba(65, 49, 36, .14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Be Vietnam Pro", "Segoe UI", sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body::selection { background: var(--accent); color: #fffaf3; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.site-header { position: fixed; inset: 0 0 auto; z-index: 20; height: var(--header); background: rgba(246, 241, 232, .96); border-bottom: 1px solid var(--line); }
.nav-shell { width: min(calc(100% - 48px), var(--max)); height: 100%; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 32px; color: #fffaf3; background: var(--ink); border-radius: 9px 9px 9px 2px; font-size: 11px; font-weight: 700; letter-spacing: .06em; }
.brand-copy { font-weight: 700; letter-spacing: -.02em; }
.brand-copy small { color: var(--accent); font-size: 12px; font-weight: 600; margin-left: 4px; }
.primary-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 600; }
.primary-nav a:not(.nav-cta) { color: var(--ink-soft); transition: color .2s ease; }
.primary-nav a:not(.nav-cta):hover { color: var(--ink); }
.nav-cta { padding: 10px 15px; border: 1px solid var(--ink); border-radius: 9px; transition: background .2s ease, color .2s ease, transform .2s ease; }
.nav-cta:hover { background: var(--ink); color: var(--paper-soft); transform: translateY(-2px); }
.nav-cta span { margin-left: 8px; }
.icon-arrow { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: transparent; cursor: pointer; }
.nav-toggle svg { width: 21px; height: 21px; }
main { overflow: hidden; }
.hero { width: min(calc(100% - 48px), var(--max)); min-height: 850px; margin: 0 auto; padding: calc(var(--header) + 76px) 0 74px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(48px, 6vw, 96px); }
.hero-copy { max-width: 550px; }
.hero-date, .section-kicker { margin: 0 0 18px; color: var(--accent-deep); font-size: 13px; font-weight: 700; }
.section-kicker { letter-spacing: .08em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: "DM Serif Display", Georgia, serif; font-weight: 400; letter-spacing: -.035em; line-height: .98; }
h1 { margin-bottom: 28px; font-size: clamp(56px, 6.4vw, 96px); }
h1 em, h2 em { color: var(--accent); font-style: italic; }
.hero-lede { max-width: 45ch; margin-bottom: 34px; color: var(--ink-soft); font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 18px; border: 1px solid var(--ink); border-radius: 9px; cursor: pointer; font-size: 14px; font-weight: 700; transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(1px); }
.button-primary { color: #fffaf3; background: var(--accent); border-color: var(--accent); box-shadow: 0 8px 16px rgba(201, 87, 79, .18); }
.button-primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.button-secondary { background: transparent; }
.button-secondary:hover { background: var(--ink); color: #fffaf3; }
.hero-board { position: relative; min-height: 565px; padding: 68px 72px 58px; background: var(--paper-deep); border: 1px solid rgba(47,42,39,.12); border-radius: 18px; box-shadow: var(--shadow); }
.hero-board::before { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(47,42,39,.12); border-radius: 12px; pointer-events: none; }
.board-tape { position: absolute; z-index: 2; width: 84px; height: 22px; background: rgba(228, 185, 92, .76); box-shadow: 0 4px 6px rgba(65,49,36,.08); }
.board-tape-a { top: 28px; left: 26%; transform: rotate(-4deg); }
.board-tape-b { right: 16%; bottom: 28px; transform: rotate(3deg); background: rgba(138,164,177,.7); }
.hero-photo { position: relative; z-index: 1; width: 100%; height: 360px; margin: 76px 0 0; overflow: hidden; background: #cbbca9; border: 10px solid #fffdf8; box-shadow: 0 16px 24px rgba(65,49,36,.14); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.hero-photo:hover img { transform: scale(1.03); }
.photo-stamp { position: absolute; right: 18px; bottom: 16px; display: grid; place-items: center; width: 58px; height: 58px; color: var(--accent-deep); background: #f1d98d; border: 1px solid rgba(141,60,57,.35); border-radius: 50%; font-size: 13px; font-weight: 700; line-height: 1.05; text-align: center; transform: rotate(8deg); }
.hero-note { position: absolute; z-index: 3; background: #fffdf8; box-shadow: 0 12px 18px rgba(65,49,36,.12); }
.hero-note-top { top: 54px; left: 42px; width: 150px; padding: 14px 15px 12px; border-top: 4px solid var(--accent); transform: rotate(-3deg); }
.hero-note-top .note-line { display: block; color: var(--ink-soft); font-size: 11px; }
.hero-note-top strong { display: block; margin: 4px 0 8px; font-family: "DM Serif Display", Georgia, serif; font-size: 29px; font-weight: 400; line-height: 1; }
.hero-note-top small, .hero-note-bottom small { color: var(--ink-soft); font-size: 12px; }
.note-rule { display: block; width: 100%; height: 1px; margin-bottom: 7px; background: var(--line); }
.hero-note-bottom { right: 36px; bottom: 40px; width: 220px; padding: 16px 18px 14px; box-shadow: inset 5px 0 0 var(--yellow), 0 12px 18px rgba(65,49,36,.12); transform: rotate(3deg); }
.hero-note-bottom p { margin-bottom: 10px; font-family: Georgia, serif; font-size: 15px; font-style: italic; line-height: 1.45; }
.note-pin { position: absolute; top: -8px; left: 50%; width: 10px; height: 10px; border: 2px solid var(--accent-deep); border-radius: 50%; background: var(--accent); transform: translateX(-50%); }
.board-index { position: absolute; left: 28px; bottom: 34px; color: var(--ink-soft); font-size: 11px; letter-spacing: .08em; }
.section-wrap { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }
.archive-section { padding: 130px 0 150px; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 390px); gap: 48px; align-items: end; margin-bottom: 50px; }
.section-heading h2 { margin-bottom: 0; font-size: clamp(43px, 5vw, 68px); }
.section-intro { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.7; }
.photo-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.memory-card { grid-column: span 4; min-width: 0; padding: 12px; background: var(--paper-soft); border: 1px solid rgba(47,42,39,.1); box-shadow: 0 10px 24px rgba(65,49,36,.08); transition: transform .25s ease, box-shadow .25s ease; }
.memory-card:nth-child(2), .memory-card:nth-child(5) { grid-column: span 5; }
.memory-card:nth-child(3) { grid-column: span 3; }
.memory-card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(65,49,36,.14); }
.memory-image { position: relative; overflow: hidden; aspect-ratio: 1.2; background: var(--paper-deep); }
.memory-card:nth-child(2) .memory-image { aspect-ratio: 1.48; }
.memory-card:nth-child(3) .memory-image { aspect-ratio: .86; }
.memory-image::after { content: ""; position: absolute; inset: 0; border: 8px solid rgba(255,253,248,.32); pointer-events: none; }
.memory-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.memory-card:hover .memory-image img { transform: scale(1.03); }
.memory-note { position: relative; min-height: 102px; padding: 16px 8px 5px; }
.memory-note::before { content: ""; position: absolute; top: -4px; left: 10%; width: 56px; height: 14px; background: rgba(228,185,92,.75); transform: rotate(-2deg); }
.memory-card:nth-child(2) .memory-note::before { background: rgba(138,164,177,.72); }
.memory-card:nth-child(3) .memory-note::before { background: rgba(133,156,132,.72); }
.memory-note h3 { margin-bottom: 5px; font-family: "DM Serif Display", Georgia, serif; font-size: 24px; font-weight: 400; line-height: 1.1; }
.memory-note p { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.55; }
.empty-state { margin: 0; padding: 28px; border: 1px dashed var(--line); color: var(--ink-soft); }
.letter-section { padding: 130px max(24px, calc((100vw - var(--max)) / 2)) 150px; background: #dce7e3; width: 100%; max-width: none; }
.letter-section .section-heading, .letter-section .letter-layout { max-width: var(--max); margin-left: auto; margin-right: auto; }
.letter-layout { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: 54px; align-items: start; justify-content: center; }
.letter-list { display: grid; gap: 10px; }
.letter-list button { position: relative; min-height: 52px; padding: 12px 14px; border: 1px solid rgba(47,42,39,.14); border-radius: 8px; background: rgba(255,253,248,.45); color: var(--ink-soft); cursor: pointer; text-align: left; transition: background .2s ease, color .2s ease, transform .2s ease; }
.letter-list button:hover, .letter-list button[aria-current="true"] { background: var(--paper-soft); color: var(--ink); transform: translateX(3px); }
.letter-list button[aria-current="true"]::after { content: ""; position: absolute; right: 12px; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); transform: translateY(-50%); }
.letter-paper { min-height: 510px; position: relative; padding: 68px 76px 66px; background-color: #fffdf8; background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 31px, rgba(138,164,177,.16) 32px); box-shadow: var(--shadow); transform: rotate(-1deg); }
.letter-paper::before { content: ""; position: absolute; top: 0; bottom: 0; left: 72px; border-left: 1px solid rgba(201,87,79,.24); }
.letter-paper::after { content: ""; position: absolute; top: 28px; left: 50%; width: 92px; height: 18px; background: rgba(228,185,92,.72); transform: translateX(-50%) rotate(-2deg); }
.letter-paper h3 { position: relative; margin-bottom: 28px; font-family: "DM Serif Display", Georgia, serif; font-size: clamp(31px, 4vw, 50px); font-weight: 400; line-height: 1.02; }
.letter-paper .letter-body { position: relative; max-width: 56ch; color: var(--ink); font-family: Georgia, serif; font-size: 18px; line-height: 1.8; }
.letter-paper .letter-body p { margin-bottom: 20px; }
.letter-paper .letter-signature { position: relative; margin: 28px 0 0; color: var(--accent-deep); font-family: "DM Serif Display", Georgia, serif; font-size: 24px; font-style: italic; }
.letter-paper .letter-image { position: relative; width: min(100%, 260px); margin: 10px 0 22px; border: 7px solid #fff; box-shadow: 0 8px 14px rgba(65,49,36,.12); }
.letter-paper .letter-image img { aspect-ratio: 1.45; width: 100%; object-fit: cover; }
.letter-source { position: relative; color: var(--ink-soft); font-size: 11px; }
.contribute-section { display: grid; grid-template-columns: minmax(0, .82fr) minmax(420px, 1fr); gap: clamp(64px, 10vw, 150px); padding-top: 140px; padding-bottom: 150px; }
.contribute-copy { max-width: 470px; }
.contribute-copy h2 { margin-bottom: 26px; font-size: clamp(45px, 5vw, 70px); }
.contribute-copy > p:not(.section-kicker) { color: var(--ink-soft); }
.contribute-list { display: grid; gap: 15px; margin: 34px 0 0; padding: 0; list-style: none; }
.contribute-list li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; color: var(--ink-soft); font-size: 14px; }
.list-mark { color: var(--accent); font-weight: 700; font-size: 12px; }
.upload-form { padding: 30px; background: var(--paper-soft); border: 1px solid rgba(47,42,39,.12); border-radius: var(--radius); box-shadow: 0 12px 26px rgba(65,49,36,.08); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 19px; }
.field label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid rgba(47,42,39,.22); border-radius: 8px; background: #fffdf8; color: var(--ink); padding: 11px 13px; transition: border-color .2s ease, box-shadow .2s ease; }
.field input, .field select { min-height: 46px; }
.field textarea { min-height: 105px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(201,87,79,.12); outline: none; }
.field input[type="file"] { padding: 9px; }
.field-hint, .field-error { margin: 6px 0 0; color: var(--ink-soft); font-size: 12px; line-height: 1.5; }
.field-error:empty { display: none; }
.field-error { color: var(--accent-deep); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--accent-deep); }
.button-submit { width: 100%; margin-top: 3px; }
.form-status { min-height: 24px; margin: 16px 0 0; color: var(--accent-deep); font-size: 13px; }
.form-status.is-success { color: #3e6b4c; }
.site-footer { padding: 100px max(24px, calc((100vw - var(--max)) / 2)) 22px; color: #f8f1e8; background: var(--ink); }
.footer-close { min-height: 340px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.site-footer .section-kicker { color: #e4b95c; }
.footer-close h2 { margin-bottom: 32px; font-size: clamp(48px, 6vw, 84px); }
.footer-close h2 em { color: #e4b95c; }
.site-footer .button-secondary { border-color: #f8f1e8; color: #f8f1e8; }
.site-footer .button-secondary:hover { background: #f8f1e8; color: var(--ink); }
.footer-bottom { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; padding-top: 18px; border-top: 1px solid rgba(248,241,232,.24); color: rgba(248,241,232,.66); font-size: 11px; }
.footer-bottom span:nth-child(2) { text-align: center; }
.footer-bottom span:last-child { text-align: right; }
[data-enter] > * { animation: rise-in .75s cubic-bezier(.2,.7,.2,1) both; }
[data-enter] > *:nth-child(2) { animation-delay: .12s; }
@keyframes rise-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 150px; gap: 64px; } .hero-copy { max-width: 700px; } .hero-board { max-width: 760px; width: 100%; margin: 0 auto; } .contribute-section { grid-template-columns: 1fr; gap: 54px; } .contribute-copy { max-width: 700px; } }
@media (max-width: 700px) {
  :root { --header: 62px; }
  .nav-shell, .section-wrap { width: min(calc(100% - 32px), var(--max)); }
  .primary-nav { position: absolute; top: var(--header); left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 14px 16px 20px; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: 0 18px 26px rgba(65,49,36,.1); }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { min-height: 48px; display: flex; align-items: center; }
  .primary-nav .nav-cta { justify-content: center; margin-top: 8px; }
  .nav-toggle { display: grid; place-items: center; }
  .hero { width: min(calc(100% - 32px), var(--max)); padding-top: 120px; padding-bottom: 64px; gap: 48px; }
  h1 { font-size: clamp(49px, 15vw, 76px); }
  .hero-lede { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .hero-board { min-height: 440px; padding: 48px 28px; }
  .hero-board::before { inset: 12px; }
  .hero-photo { height: 260px; margin-top: 66px; border-width: 7px; }
  .hero-note-top { top: 30px; left: 25px; width: 126px; }
  .hero-note-bottom { right: 18px; bottom: 26px; width: 186px; }
  .board-index { left: 20px; bottom: 19px; }
  .archive-section, .letter-section { padding-top: 88px; padding-bottom: 96px; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; margin-bottom: 34px; }
  .section-heading h2, .contribute-copy h2 { font-size: clamp(43px, 13vw, 62px); }
  .photo-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .memory-card, .memory-card:nth-child(2), .memory-card:nth-child(3), .memory-card:nth-child(5) { grid-column: span 1; padding: 8px; }
  .memory-card:nth-child(2) .memory-image, .memory-card:nth-child(3) .memory-image { aspect-ratio: 1; }
  .memory-note { min-height: 118px; padding: 14px 5px 3px; }
  .memory-note h3 { font-size: 20px; }
  .memory-note p { font-size: 12px; }
  .letter-section { padding-left: 16px; padding-right: 16px; }
  .letter-layout { grid-template-columns: 1fr; gap: 22px; }
  .letter-list { grid-template-columns: repeat(2, 1fr); }
  .letter-list button { min-height: 48px; font-size: 12px; }
  .letter-paper { min-height: 520px; padding: 62px 30px 54px 48px; }
  .letter-paper::before { left: 43px; }
  .letter-paper .letter-body { font-size: 16px; }
  .contribute-section { padding-top: 90px; padding-bottom: 100px; gap: 40px; }
  .upload-form { padding: 22px 18px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-close { min-height: 300px; }
  .footer-bottom { grid-template-columns: 1fr; gap: 9px; }
  .footer-bottom span:nth-child(2), .footer-bottom span:last-child { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
