:root {
  --paper: #fff8ed;
  --paper-deep: #f6ebdc;
  --ink: #332a2a;
  --muted: #756b69;
  --rose: #d98498;
  --rose-dark: #a64f68;
  --coral: #e98272;
  --sage: #71806a;
  --sage-deep: #465544;
  --leaf: #88957a;
  --gold: #efb66b;
  --lavender: #756a83;
  --white: #fffdf8;
  --shadow: 0 30px 80px rgba(57, 39, 42, 0.16);
  --shadow-soft: 0 18px 52px rgba(70, 58, 47, 0.12);
  --radius-xl: 44px;
  --radius-lg: 30px;
  --radius-md: 20px;
  --shell: min(1180px, calc(100vw - 48px));
  --header-h: 82px;
  --font-serif: "Gowun Batang", "Noto Serif KR", "Nanum Myeongjo", Georgia, serif;
  --font-sans: "Noto Sans KR", "Apple SD Gothic Neo", "Pretendard", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-label: "Cormorant Garamond", "Gowun Batang", Georgia, serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html {
  width: 100%;
  max-width: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}
::selection { background: rgba(217,132,152,.32); color: var(--ink); }
body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  word-break: keep-all;
  overflow-wrap: break-word;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@supports (overflow: clip) {
  html, body { overflow-x: clip; }
}
body.motion-reduced *,
body.motion-reduced *::before,
body.motion-reduced *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  scroll-behavior: auto !important;
  transition-duration: 0.01ms !important;
}
img, video { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 16px;
  top: -80px;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: white;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.paper-grain {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: .12;
  mix-blend-mode: multiply;
  background-image:
    repeating-radial-gradient(circle at 0 0, rgba(71,52,40,.11) 0 0.45px, transparent .7px 4px),
    repeating-linear-gradient(13deg, rgba(255,255,255,.25) 0 1px, transparent 1px 7px);
  background-size: 7px 7px, 12px 12px;
}

.shell { width: var(--shell); margin-inline: auto; }
.section { position: relative; padding: 150px 0; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 0 max(26px, calc((100vw - 1400px) / 2));
  color: white;
  transition: color .35s ease, background-color .35s ease, box-shadow .35s ease, height .35s ease;
}
.site-header.is-scrolled {
  height: 70px;
  background: rgba(255, 248, 237, .9);
  color: var(--ink);
  box-shadow: 0 8px 30px rgba(59, 43, 39, .08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.02em;
}
.brand-mark { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.brand-mark .brand-flower { fill: rgba(255,255,255,.17); }
.site-header.is-scrolled .brand-mark .brand-flower { fill: rgba(217,132,152,.16); }
.main-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 700; }
.main-nav a { position: relative; padding: 10px 0; opacity: .86; }
.main-nav a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 4px; height: 1px; background: currentColor; transition: left .25s ease, right .25s ease; }
.main-nav a:hover, .main-nav a:focus-visible { opacity: 1; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { left: 0; right: 0; }
.motion-toggle {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(10px);
}
.site-header.is-scrolled .motion-toggle { border-color: rgba(51,42,42,.15); background: rgba(255,255,255,.55); }
.motion-toggle svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.menu-button { display: none; }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #3d463e;
  color: white;
}
.hero-media, .hero-backdrop, .hero-wash { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-backdrop { background: url("assets/hero-journey-poster-v4.webp") 50% 45% / cover no-repeat; filter: blur(18px) saturate(.82) brightness(.68); transform: scale(1.12); opacity: .76; }
.hero-film-wrap {
  position: absolute;
  top: 0;
  right: clamp(2vw, 8vw, 150px);
  width: min(50vw, 720px);
  height: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 17%, #000 84%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 17%, #000 84%, transparent 100%);
}
.hero-film { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; filter: saturate(.93) contrast(.98); }
.hero-wash {
  background:
    linear-gradient(90deg, rgba(33,38,33,.9) 0%, rgba(35,40,35,.62) 37%, rgba(36,40,35,.05) 68%, rgba(38,31,34,.2) 100%),
    linear-gradient(180deg, rgba(20,25,22,.12) 0%, transparent 55%, rgba(33,28,31,.56) 100%);
}
.hero-rose { position: absolute; width: 310px; height: 360px; opacity: .28; filter: blur(.3px); }
.hero-rose::before, .hero-rose::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.48); border-radius: 45% 55% 46% 54% / 56% 45% 55% 44%; transform: rotate(32deg); }
.hero-rose::before { inset: 48px 70px 118px 82px; box-shadow: 44px -18px 0 -12px transparent, 43px -18px 0 -11px rgba(255,255,255,.35), -41px 17px 0 -12px transparent, -41px 17px 0 -11px rgba(255,255,255,.35); }
.hero-rose::after { width: 1px; height: 260px; left: 153px; top: 130px; border: 0; border-left: 1px solid rgba(255,255,255,.42); border-radius: 50%; transform: rotate(-16deg); }
.hero-rose-left { left: -100px; bottom: -120px; transform: rotate(-25deg); }
.hero-rose-right { right: -100px; top: 40px; transform: rotate(154deg) scale(.8); }
.hero-content { position: relative; z-index: 2; min-height: 100svh; display: flex; align-items: center; justify-content: space-between; gap: 48px; padding-top: var(--header-h); }
.hero-copy { max-width: 690px; margin-top: 28px; }
.hero-copy h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(46px, 5.3vw, 78px);
  line-height: 1.18;
  letter-spacing: -.055em;
  font-weight: 600;
  text-wrap: balance;
  text-shadow: 0 4px 25px rgba(29,27,26,.25);
}
.hero-copy h1 em {
  display: inline-block;
  margin-top: 8px;
  color: #ffe0c0;
  font-style: normal;
  font-weight: 700;
  background: linear-gradient(102deg, #fff3dd 8%, #ffd9ae 46%, #f8b98f 82%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 4px 18px rgba(29,27,26,.38));
}
.no-break { white-space: nowrap; }
.hero-copy > p { margin: 28px 0 0; font-family: var(--font-serif); font-size: clamp(19px, 2vw, 26px); letter-spacing: -.02em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.button {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid rgba(239,182,107,.75); outline-offset: 3px; }
.button-primary { background: var(--coral); color: white; box-shadow: 0 14px 36px rgba(111,45,45,.24); }
.button-primary:hover { box-shadow: 0 18px 42px rgba(111,45,45,.32); background: #ee8f7e; }
.button-quiet { border: 1px solid rgba(255,255,255,.36); background: rgba(255,255,255,.09); color: white; backdrop-filter: blur(10px); }
.button-quiet .sound-wave { opacity: 0; }
.button-quiet[aria-pressed="true"] .sound-wave { opacity: 1; }
.hero-note { align-self: flex-end; margin-bottom: 105px; display: flex; align-items: center; gap: 18px; font-size: 13px; line-height: 1.7; color: rgba(255,255,255,.78); }
.hero-note-line { width: 1px; height: 60px; background: rgba(255,255,255,.48); }
.hero-note p { margin: 0; }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 27px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 9px; font-size: 11px; color: rgba(255,255,255,.72); letter-spacing: .1em; }
.scroll-cue svg { width: 21px; height: 31px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.scroll-cue path { animation: scrollCue 1.8s ease-in-out infinite; }
@keyframes scrollCue { 0%,100% { transform: translateY(0); opacity: .4; } 50% { transform: translateY(6px); opacity: 1; } }

.petal-layer { position: fixed; inset: 0; z-index: 90; overflow: hidden; pointer-events: none; }
.petal {
  position: absolute;
  top: -12vh;
  width: var(--size);
  height: calc(var(--size) * .7);
  border-radius: 78% 22% 74% 26% / 64% 28% 72% 36%;
  background: linear-gradient(135deg, rgba(255,238,234,.92), rgba(226,139,158,.74));
  box-shadow: inset -2px -2px 6px rgba(172,82,104,.16);
  opacity: var(--opacity);
  animation: petalFall var(--duration) linear var(--delay) infinite;
  transform: translate3d(0, -10vh, 0) rotate(var(--rotate));
}
@keyframes petalFall {
  0% { transform: translate3d(0, -12vh, 0) rotate(var(--rotate)); }
  42% { transform: translate3d(var(--drift), 48vh, 0) rotate(calc(var(--rotate) + 260deg)); }
  100% { transform: translate3d(calc(var(--drift) * -.35), 112vh, 0) rotate(calc(var(--rotate) + 620deg)); }
}

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

.story { background: var(--paper); overflow: hidden; }
.story::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 22% 34%, rgba(233,130,114,.12), transparent 28%), radial-gradient(circle at 80% 70%, rgba(113,128,106,.08), transparent 30%); pointer-events: none; }
.story-layout { position: relative; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(60px, 9vw, 130px); align-items: center; }
.story-portrait { position: relative; max-width: 510px; justify-self: end; }
.portrait-halo { position: absolute; inset: -52px -54px -58px -70px; border: 1px solid rgba(217,132,152,.28); border-radius: 48% 52% 44% 56% / 58% 40% 60% 42%; transform: rotate(-6deg); }
.portrait-halo::before, .portrait-halo::after { content: ""; position: absolute; border: 1px solid rgba(113,128,106,.3); border-radius: 50%; }
.portrait-halo::before { width: 150px; height: 320px; left: -20px; bottom: -14px; transform: rotate(-24deg); }
.portrait-halo::after { width: 190px; height: 120px; right: -46px; top: 80px; transform: rotate(22deg); }
.portrait-frame { position: relative; margin: 0; padding: 13px; border-radius: 48% 48% 28px 28px / 20% 20% 28px 28px; background: #fffdf8; box-shadow: var(--shadow); transform: rotate(-1.4deg); }
.portrait-frame::before { content: ""; position: absolute; inset: 8px; z-index: 2; border: 1px solid rgba(255,255,255,.78); border-radius: inherit; pointer-events: none; }
.portrait-frame img { width: 100%; height: auto; aspect-ratio: 0.63; object-fit: cover; object-position: center 30%; border-radius: calc(48% - 8px) calc(48% - 8px) 20px 20px / 20% 20% 20px 20px; }
.portrait-frame figcaption { position: absolute; left: 34px; right: 34px; bottom: 32px; z-index: 3; padding: 20px 22px; border-radius: 18px; background: rgba(255,253,248,.88); backdrop-filter: blur(12px); box-shadow: 0 10px 24px rgba(57,42,40,.12); }
.portrait-frame figcaption span { display: block; margin-bottom: 4px; color: var(--rose-dark); font-size: 12px; font-weight: 800; }
.portrait-frame figcaption strong { font-family: var(--font-serif); font-size: 18px; font-weight: 600; }
.portrait-stamp { position: absolute; right: -54px; top: 48px; z-index: 4; width: 116px; height: 116px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.75); border-radius: 50%; background: var(--coral); color: white; box-shadow: 0 14px 36px rgba(146,72,64,.26); transform: rotate(8deg); }
.portrait-stamp span { font-size: 10px; }
.portrait-stamp strong { margin: 2px 0; font-family: var(--font-serif); font-size: 30px; }
.story-copy { position: relative; max-width: 550px; }
.chapter-number, .section-index { display: inline-block; color: var(--rose-dark); font-family: var(--font-label); font-style: italic; font-size: 17px; font-weight: 600; letter-spacing: .14em; }
.chapter-name { margin: 12px 0 24px; color: var(--sage); font-size: 14px; font-weight: 800; letter-spacing: .06em; }
.story-copy h2, .section-heading h2, .season-content h3, .cinema-copy h2, .letter-content h2 {
  font-family: var(--font-serif);
  letter-spacing: -.045em;
  font-weight: 600;
  text-wrap: balance;
}
.story-copy h2 { margin: 0; font-size: clamp(42px, 4.6vw, 63px); line-height: 1.24; }
.story-lead { margin: 30px 0; color: #645956; font-size: 17px; line-height: 1.94; }
.story-copy blockquote { position: relative; margin: 35px 0 38px; padding: 7px 0 7px 28px; border-left: 2px solid var(--coral); }
.story-copy blockquote::before { content: "\201C"; position: absolute; left: 20px; top: -30px; font-family: var(--font-label); font-style: italic; font-size: 76px; line-height: 1; color: rgba(217,132,152,.38); pointer-events: none; }
.story-copy blockquote p { margin: 0; font-family: var(--font-serif); font-size: 20px; line-height: 1.65; color: #584541; }
.story-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; padding-top: 28px; border-top: 1px solid rgba(51,42,42,.13); }
.story-facts div { min-width: 0; }
.story-facts dt { margin-bottom: 8px; color: var(--muted); font-size: 11px; font-weight: 800; }
.story-facts dd { margin: 0; font-size: 14px; font-weight: 800; line-height: 1.5; }
.story-bloom { position: absolute; border: 1px solid rgba(217,132,152,.17); border-radius: 50%; }
.story-bloom::before, .story-bloom::after { content: ""; position: absolute; inset: 25%; border: inherit; border-radius: 50%; transform: translate(35%, -35%); }
.story-bloom::after { transform: translate(-35%, 35%); }
.story-bloom-a { width: 260px; height: 260px; left: -110px; top: 170px; }
.story-bloom-b { width: 160px; height: 160px; right: -50px; bottom: 130px; }

.section-heading { display: flex; align-items: flex-start; gap: 28px; margin-bottom: 62px; }
.section-heading .section-index { padding-top: 11px; }
.section-heading h2 { margin: 0; font-size: clamp(38px, 4.2vw, 57px); line-height: 1.2; }
.section-heading p { margin: 14px 0 0; color: var(--muted); font-size: 16px; line-height: 1.7; }

.garden-map { background: #eef0e7; overflow: hidden; }
.garden-map::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(255,255,255,.45), transparent 20%), radial-gradient(circle at 85% 18%, rgba(239,182,107,.23), transparent 25%); pointer-events: none; }
.map-layout { position: relative; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(330px, .55fr); gap: 22px; align-items: stretch; }
.map-canvas { position: relative; min-height: 670px; overflow: hidden; border-radius: var(--radius-xl); background: #d9e0d0; box-shadow: var(--shadow-soft); isolation: isolate; transform-style: preserve-3d; }
.map-canvas::after { content: ""; position: absolute; inset: 0; z-index: 10; pointer-events: none; border: 1px solid rgba(255,255,255,.64); border-radius: inherit; box-shadow: inset 0 0 90px rgba(255,255,255,.3); }
.map-sky { position: absolute; inset: 0 0 46%; z-index: -1; background: linear-gradient(#f9d4bd 0%, #f6e3c8 42%, #d7dfc4 100%); }
.map-sun { position: absolute; right: 10%; top: 12%; width: 86px; height: 86px; border-radius: 50%; background: rgba(255,232,170,.88); box-shadow: 0 0 70px rgba(255,220,145,.8); }
.map-paths { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; fill: none; }
.path-main { stroke: #f6eedf; stroke-width: 52; stroke-linecap: round; opacity: .95; }
.path-small { stroke: rgba(248,240,222,.74); stroke-width: 18; stroke-linecap: round; }
.stream { stroke: rgba(142,185,194,.7); stroke-width: 23; stroke-linecap: round; }
.map-hill { position: absolute; z-index: 0; border-radius: 50% 50% 0 0; background: #97aa85; box-shadow: inset 0 18px 30px rgba(255,255,255,.17); }
.hill-a { width: 92%; height: 50%; left: -31%; bottom: 24%; transform: rotate(8deg); }
.hill-b { width: 86%; height: 52%; right: -28%; bottom: 18%; background: #7f9775; transform: rotate(-7deg); }
.map-field { position: absolute; z-index: 1; border-radius: 50%; background-image: radial-gradient(circle, #f7ece8 0 2px, transparent 2.6px), radial-gradient(circle, #e3a1ad 0 2px, transparent 2.6px); background-size: 22px 23px, 27px 28px; opacity: .8; }
.field-a { width: 55%; height: 36%; left: -8%; bottom: -3%; transform: rotate(-8deg); background-color: #819875; }
.field-b { width: 45%; height: 31%; right: -3%; bottom: 0; transform: rotate(8deg); background-color: #6f8b68; }
.map-pond { position: absolute; z-index: 4; left: 39%; top: 26%; width: 180px; height: 98px; border-radius: 52%; background: radial-gradient(ellipse at 50% 35%, #e4f3ef, #8abfc0 66%, #6f9f9e); box-shadow: inset 0 8px 20px rgba(255,255,255,.42), 0 11px 18px rgba(66,93,87,.17); transform: rotate(-5deg); }
.map-pond span { position: absolute; width: 24px; height: 10px; border-radius: 50%; background: #78946f; }
.map-pond span:nth-child(1) { left: 35px; top: 35px; }
.map-pond span:nth-child(2) { right: 38px; top: 47px; }
.map-pond span:nth-child(3) { left: 90px; top: 22px; }
.map-tree { position: absolute; z-index: 5; width: 17px; height: 120px; border-radius: 50% 50% 8px 8px; background: #6f5745; }
.map-tree::before { content: ""; position: absolute; width: 110px; height: 120px; left: -47px; top: -60px; border-radius: 46% 54% 43% 57%; background: radial-gradient(circle at 25% 30%, #f2c4ce 0 5px, transparent 6px), radial-gradient(circle at 70% 42%, #f7d8de 0 5px, transparent 6px), #718b68; background-size: 25px 25px, 30px 30px, auto; box-shadow: inset 0 14px 25px rgba(255,255,255,.14); }
.tree-a { left: 11%; top: 26%; transform: scale(.86); }
.tree-b { right: 9%; top: 38%; transform: scale(.72); }
.garden-spot { position: absolute; z-index: 20; left: var(--x); top: var(--y); display: flex; flex-direction: column; align-items: center; gap: 7px; transform: translate(-50%, -50%); border: 0; background: transparent; cursor: pointer; }
.garden-spot strong { padding: 7px 11px; border-radius: 999px; background: rgba(255,253,248,.88); box-shadow: 0 8px 18px rgba(55,53,42,.13); font-size: 12px; white-space: nowrap; backdrop-filter: blur(8px); }
.spot-ring { position: absolute; top: -5px; width: 54px; height: 54px; border: 1px solid rgba(255,255,255,.85); border-radius: 50%; box-shadow: 0 0 0 7px rgba(255,255,255,.13); opacity: 0; transform: scale(.65); transition: opacity .25s ease, transform .25s ease; }
.spot-flower { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--rose); color: white; box-shadow: 0 10px 20px rgba(116,73,70,.25); font-size: 22px; transition: transform .25s ease, background .25s ease; }
.garden-spot:hover .spot-flower { transform: translateY(-3px) rotate(8deg); }
.garden-spot.is-active .spot-ring { opacity: 1; transform: scale(1); }
.garden-spot.is-active .spot-flower { background: var(--coral); transform: scale(1.08); }
.garden-spot[data-spot="snow"] .spot-flower { background: rgba(239,247,249,.96); color: #54758a; }
.garden-spot[data-spot="snow"].is-active .spot-flower { background: #d8edf3; color: #365f76; }
.garden-spot[data-spot="bridge"] .spot-flower { background: rgba(253,243,247,.96); color: #c4788f; }
.garden-spot[data-spot="bridge"].is-active .spot-flower { background: #f3ccd9; color: #a35672; }
.garden-spot[data-spot="pond"] .spot-flower { background: rgba(238,247,244,.96); color: #4f8a7d; }
.garden-spot[data-spot="pond"].is-active .spot-flower { background: #cbe7de; color: #35695e; }
.garden-spot[data-spot="sunset"] .spot-flower { background: rgba(253,244,232,.96); color: #c7813f; }
.garden-spot[data-spot="sunset"].is-active .spot-flower { background: #f7d8a9; color: #9a6021; }
.map-story { overflow: hidden; display: flex; flex-direction: column; border-radius: var(--radius-xl); background: var(--white); box-shadow: var(--shadow-soft); }
.map-story-media { position: relative; min-height: 320px; overflow: hidden; }
.map-story-media img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; transition: opacity .25s ease, transform .6s ease; }
.map-story-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(39,36,34,.55)); }
.map-story-media > span { position: absolute; z-index: 2; left: 26px; bottom: 22px; padding: 9px 12px; border-radius: 999px; background: rgba(255,255,255,.85); color: var(--ink); font-size: 11px; font-weight: 800; backdrop-filter: blur(8px); }
.map-story-copy { display: flex; flex: 1; flex-direction: column; padding: 34px 32px 31px; }
.map-story-copy > p:first-child { margin: 0 0 10px; color: var(--rose-dark); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.map-story-copy h3 { margin: 0; font-family: var(--font-serif); font-size: 34px; letter-spacing: -.04em; }
.map-story-copy > p:not(:first-child) { margin: 18px 0 28px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.text-link { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; border: 0; border-bottom: 1px solid currentColor; background: none; color: var(--sage-deep); font-size: 13px; font-weight: 800; cursor: pointer; }
.text-link svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; }

@property --season-a { syntax: "<color>"; inherits: true; initial-value: #4d5c46; }
@property --season-b { syntax: "<color>"; inherits: true; initial-value: #74845e; }
@property --season-c { syntax: "<color>"; inherits: true; initial-value: #566249; }
@property --season-accent { syntax: "<color>"; inherits: true; initial-value: #f2c3ad; }
.seasons {
  overflow: hidden; background: #4f5c4d; color: white;
  --season-a: #4d5c46; --season-b: #74845e; --season-c: #566249;
  --season-accent: #f5bfca; --season-panel: rgba(56,70,52,.9); --season-glow: rgba(244,197,197,.16);
  transition: --season-a 1.6s ease, --season-b 1.6s ease, --season-c 1.6s ease, --season-accent 1.6s ease;
}
.seasons[data-season="summer"] { --season-a: #2f4d3d; --season-b: #55755b; --season-c: #31503e; --season-accent: #c9e6a8; --season-panel: rgba(38,62,48,.9); --season-glow: rgba(190,232,190,.14); }
.seasons[data-season="autumn"] { --season-a: #5a4632; --season-b: #8a6743; --season-c: #614a33; --season-accent: #f4bd80; --season-panel: rgba(74,56,38,.9); --season-glow: rgba(240,190,120,.16); }
.seasons[data-season="winter"] { --season-a: #45525e; --season-b: #6c8093; --season-c: #495764; --season-accent: #cfe0ef; --season-panel: rgba(52,64,76,.9); --season-glow: rgba(210,228,244,.15); }
.seasons::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 14% 74%, rgba(239,182,107,.22), transparent 28%), linear-gradient(115deg, rgba(255,255,255,.03), transparent 46%); }
.season-glow { position: absolute; width: 520px; height: 520px; right: -240px; top: 0; border-radius: 50%; background-color: var(--season-glow); filter: blur(2px); transition: background-color 1.6s ease; }
.season-heading { color: white; }
.season-heading .section-index { color: #f7c9b0; }
.season-heading p { color: rgba(255,255,255,.65); }
.season-stage { position: relative; display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr); min-height: 680px; overflow: hidden; border-radius: var(--radius-xl); background: rgba(255,255,255,.06); box-shadow: 0 35px 80px rgba(27,34,27,.28); }
.season-media { position: relative; min-height: 680px; overflow: hidden; }
.season-media img.season-frame { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 680px; object-fit: cover; opacity: 0; transition: opacity 1.1s ease; animation: seasonDrift 28s ease-in-out infinite alternate; }
.season-media img.season-frame.is-active { opacity: 1; }
@keyframes seasonDrift { from { transform: scale(1.06) translate3d(0, -8px, 0); } to { transform: scale(1.13) translate3d(-16px, 10px, 0); } }
@keyframes seasonPortraitDrift { from { transform: scale(1.015) translate3d(0, 0, 0); } to { transform: scale(1.045) translate3d(0, -4px, 0); } }
.season-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.season-media-shade { position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, rgba(39,47,39,.5) 100%), linear-gradient(0deg, rgba(28,34,29,.45), transparent 45%); }
.season-flower-stack { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.season-flower-card {
  --flower-tilt: -3deg;
  position: absolute;
  left: 28px;
  top: 38px;
  width: clamp(126px, 12vw, 154px);
  margin: 0;
  padding: 7px 7px 27px;
  overflow: hidden;
  border: 1px solid rgba(255,253,248,.66);
  border-radius: 16px;
  background: rgba(255,250,242,.58);
  box-shadow: 0 16px 35px rgba(28,36,30,.22), inset 0 0 0 1px rgba(255,255,255,.2);
  opacity: 0;
  filter: blur(4px) saturate(.9);
  backdrop-filter: blur(7px) saturate(.9);
  transform: translate3d(-14px, 14px, 0) scale(.94) rotate(var(--flower-tilt));
  transform-origin: 22% 80%;
}
.season-flower-card:nth-child(1) { --flower-tilt: -2deg; z-index: 1; }
.season-flower-card:nth-child(2) { --flower-tilt: 1.5deg; left: 38px; top: 202px; z-index: 2; }
.season-flower-card:nth-child(3) { --flower-tilt: -1deg; top: 366px; z-index: 3; }
.season-media .season-flower-card img {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  object-fit: cover;
  opacity: .86;
  filter: saturate(.9) contrast(.96) brightness(1.03);
}
.season-flower-card figcaption {
  position: absolute;
  inset: auto 8px 7px;
  overflow: hidden;
  color: rgba(54,59,50,.82);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: -.01em;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.season-flower-stack.is-visible .season-flower-card {
  animation: seasonFlowerIn .82s cubic-bezier(.16, 1, .3, 1) both;
  animation-delay: calc(180ms + var(--flower-index, 0) * 460ms);
}
@keyframes seasonFlowerIn {
  0% { opacity: 0; filter: blur(4px) saturate(.9); transform: translate3d(-14px, 14px, 0) scale(.94) rotate(var(--flower-tilt)); }
  100% { opacity: .82; filter: blur(0) saturate(1); transform: translate3d(0, 0, 0) scale(1) rotate(var(--flower-tilt)); }
}
.season-hangul { position: absolute; left: 42px; bottom: 20px; z-index: 3; font-family: var(--font-serif); font-size: 150px; line-height: 1; font-weight: 700; color: rgba(255,255,255,.68); letter-spacing: -.12em; text-shadow: 0 8px 30px rgba(21,27,22,.2); transition: opacity .45s ease, transform .45s ease; }
.season-hangul.is-swapping { opacity: 0; transform: translateY(14px); }
.season-panel { display: flex; flex-direction: column; padding: 46px 44px; background-color: var(--season-panel, rgba(46,56,46,.86)); backdrop-filter: blur(8px); transition: background-color 1.6s ease; }
.season-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.17); }
.season-tabs button { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; padding: 7px 4px 13px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: rgba(255,255,255,.48); font-size: 15px; font-weight: 800; cursor: pointer; transition: color .2s ease, border-color .2s ease; }
.season-tabs button span { font-family: var(--font-label); font-style: italic; font-size: 12px; font-weight: 600; letter-spacing: .08em; }
.season-tabs button[aria-selected="true"] { border-bottom-color: var(--season-accent, #f2c3ad); color: white; }
.season-tabs button[aria-selected="true"] { border-bottom-color: color-mix(in srgb, var(--season-accent, #f2c3ad) 45%, transparent); }
.season-tabs button.is-cycling::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--season-accent, #f2c3ad); transform-origin: left center; transform: scaleX(0); animation: tabProgress var(--cycle, 9000ms) linear forwards; }
@keyframes tabProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.season-content { display: flex; flex: 1; flex-direction: column; justify-content: center; padding: 44px 0 18px; }
.season-date { margin: 0 0 18px; color: var(--season-accent, #f3c5b0); font-size: 13px; font-weight: 800; transition: color 1.6s ease; }
.season-content h3 { margin: 0; font-size: clamp(38px, 4vw, 54px); line-height: 1.2; }
.season-content > p:not(.season-date) { margin: 28px 0 30px; color: rgba(255,255,255,.72); font-size: 16px; line-height: 1.9; }
.season-content ul { display: grid; gap: 12px; margin: auto 0 0; padding: 24px 0 0; border-top: 1px solid rgba(255,255,255,.14); list-style: none; }
.season-content li { position: relative; padding-left: 20px; color: rgba(255,255,255,.76); font-size: 13px; }
.season-content li::before { content: ""; position: absolute; left: 0; top: 7px; width: 7px; height: 7px; border-radius: 50% 0 50% 50%; background: var(--season-accent, #f2c3ad); transform: rotate(35deg); transition: background-color 1.6s ease; }

@media (min-width: 1051px) {
  .season-media img.season-frame[data-season="spring"],
  .season-media img.season-frame[data-season="winter"] {
    object-position: 50% 12%;
    animation-name: seasonPortraitDrift;
  }
}

@media (max-width: 720px) {
  .season-flower-card { left: 18px; top: 28px; width: 124px; padding: 6px 6px 24px; border-radius: 14px; }
  .season-flower-card:nth-child(2) { left: 24px; top: 166px; }
  .season-flower-card:nth-child(3) { left: 18px; top: 304px; }
  .season-flower-card figcaption { bottom: 6px; font-size: 9px; }
}

@media (max-width: 560px) {
  .season-flower-card { top: 24px; width: 112px; }
  .season-flower-card:nth-child(2) { top: 150px; }
  .season-flower-card:nth-child(3) { display: none; }
}

body.motion-reduced .season-flower-card { opacity: .82; filter: none; transform: rotate(var(--flower-tilt)); }

@media (prefers-reduced-motion: reduce) {
  .season-flower-card { opacity: .82; filter: none; transform: rotate(var(--flower-tilt)); }
}

.memory-studio { background: var(--paper); }
.memory-studio::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 9% 8%, rgba(217,132,152,.1), transparent 24%), radial-gradient(circle at 94% 70%, rgba(113,128,106,.1), transparent 28%); }
.memory-layout { position: relative; display: grid; grid-template-columns: minmax(360px, .74fr) minmax(0, 1.26fr); gap: 34px; align-items: stretch; }
.memory-form { padding: 34px; border: 1px solid rgba(51,42,42,.1); border-radius: var(--radius-lg); background: rgba(255,253,248,.9); box-shadow: var(--shadow-soft); }
.form-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.form-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: rgba(217,132,152,.15); color: var(--rose-dark); font-size: 24px; }
.form-heading h3 { margin: 0 0 4px; font-family: var(--font-serif); font-size: 27px; letter-spacing: -.03em; }
.form-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.drop-zone { position: relative; min-height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; overflow: hidden; padding: 20px; border: 1px dashed rgba(113,128,106,.48); border-radius: 24px; background: #f4f4eb; text-align: center; cursor: pointer; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.drop-zone:hover, .drop-zone.is-dragging { border-color: var(--rose); background: #fbefe8; transform: translateY(-2px); }
.drop-zone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop-illustration { width: 66px; height: 66px; display: grid; place-items: center; border-radius: 50%; background: white; box-shadow: 0 10px 24px rgba(61,66,54,.1); }
.drop-illustration svg { width: 48px; fill: none; stroke: var(--sage); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.drop-copy { display: flex; flex-direction: column; gap: 5px; }
.drop-copy strong { font-size: 15px; }
.drop-copy small { color: var(--muted); font-size: 11px; }
#uploadPreview, #uploadVideoPreview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#uploadVideoPreview { background: #29352e; object-fit: contain; }
.drop-zone.has-media::after { content: "사진 바꾸기"; position: absolute; right: 14px; bottom: 14px; padding: 8px 12px; border-radius: 999px; background: rgba(255,253,248,.88); color: var(--ink); font-size: 11px; font-weight: 800; backdrop-filter: blur(8px); }
.drop-zone.has-media[data-media-kind="video"]::after { content: "동영상 바꾸기"; }
.drop-zone.has-media .drop-copy, .drop-zone.has-media .drop-illustration { opacity: 0; }
.field-row { display: grid; grid-template-columns: 1.4fr .6fr; gap: 12px; }
.field { display: grid; gap: 8px; margin-top: 16px; }
.field > span { color: #574c49; font-size: 12px; font-weight: 800; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid rgba(51,42,42,.13); border-radius: 14px; background: white; color: var(--ink); font-size: 14px; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.field input, .field select { height: 50px; padding: 0 14px; }
.field textarea { resize: vertical; min-height: 110px; padding: 14px; line-height: 1.65; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--rose); box-shadow: 0 0 0 3px rgba(217,132,152,.13); }
.form-submit { width: 100%; margin-top: 20px; }
.demo-status { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 16px 0 0; color: var(--muted); font-size: 11px; }
.demo-status span { width: 7px; height: 7px; border-radius: 50%; background: #dca656; box-shadow: 0 0 0 4px rgba(220,166,86,.13); }
.firebase-access { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(300px, .9fr) minmax(360px, 1.1fr); gap: 28px; align-items: center; overflow: hidden; margin: -18px 0 28px; padding: 24px 28px; border: 1px solid rgba(78,98,79,.2); border-radius: 42px 42px 24px 24px / 62px 62px 24px 24px; background: radial-gradient(circle at 10% 10%, rgba(222,141,152,.13), transparent 27%), linear-gradient(118deg, rgba(255,253,248,.97), rgba(238,241,225,.94)); box-shadow: 0 22px 54px rgba(54,72,59,.12), inset 0 0 0 7px rgba(255,255,255,.28); }
.firebase-access::after { content: ''; position: absolute; right: -30px; bottom: -48px; width: 180px; height: 150px; border: 1px solid rgba(113,133,111,.14); border-radius: 50% 50% 0 0; box-shadow: 0 0 0 14px rgba(255,255,255,.12), 0 0 0 15px rgba(113,133,111,.07); pointer-events: none; }
.secret-garden-intro { position: relative; z-index: 1; display: flex; align-items: center; gap: 17px; min-width: 0; }
.secret-key-mark { flex: 0 0 auto; width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid rgba(168,85,105,.2); border-radius: 50% 50% 42% 42%; background: rgba(255,250,240,.84); color: var(--rose-dark); box-shadow: 0 12px 28px rgba(74,91,74,.12); }
.secret-key-mark svg { width: 31px; height: 31px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.firebase-access-label { margin: 0 0 4px; color: var(--rose-dark); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.firebase-access h3 { margin: 0 0 5px; font-family: var(--font-serif); font-size: 24px; letter-spacing: -.03em; }
.firebase-status { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.firebase-status[data-state="ready"] { color: #3f694d; }
.firebase-status[data-state="forbidden"],
.firebase-status[data-state="error"],
.firebase-status[data-state="unavailable"] { color: #a34e55; }
.family-login { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end; }
.family-login label { display: grid; gap: 6px; color: #574c49; font-size: 11px; font-weight: 800; }
.family-login input { width: 100%; height: 44px; padding: 0 12px; border: 1px solid rgba(51,42,42,.16); border-radius: 12px; background: white; color: var(--ink); outline: none; }
.family-login input:focus { border-color: var(--rose); box-shadow: 0 0 0 3px rgba(217,132,152,.13); }
.family-login .button { min-height: 44px; padding: 0 18px; white-space: nowrap; }
.firebase-session { position: relative; z-index: 1; display: flex; justify-content: flex-end; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; }
.firebase-session span { overflow: hidden; max-width: 260px; text-overflow: ellipsis; white-space: nowrap; }
.firebase-session button { padding: 8px 11px; border: 1px solid rgba(51,42,42,.14); border-radius: 999px; background: white; color: var(--ink); cursor: pointer; }
.memory-form :disabled, .clear-memories:disabled { cursor: not-allowed; opacity: .55; }
.memory-garden { min-width: 0; padding: 34px; border-radius: var(--radius-lg); background: #e8eadf; box-shadow: inset 0 0 0 1px rgba(255,255,255,.58); }
.memory-garden-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.memory-garden-heading p { margin: 0 0 4px; color: var(--rose-dark); font-size: 11px; font-weight: 800; }
.memory-garden-heading h3 { margin: 0; font-family: var(--font-serif); font-size: 28px; letter-spacing: -.03em; }
.clear-memories { padding: 8px 0; border: 0; border-bottom: 1px solid rgba(51,42,42,.24); background: transparent; color: var(--muted); font-size: 11px; cursor: pointer; }
.memory-rail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.memory-card { overflow: hidden; min-width: 0; border-radius: 24px; background: var(--white); box-shadow: 0 13px 28px rgba(62,65,51,.1); }
.memory-card-media { position: relative; aspect-ratio: 1.05; overflow: hidden; }
.memory-card-media img, .memory-card-media video { width: 100%; height: 100%; object-fit: cover; }
.memory-card-media img { transition: transform .55s ease; }
.memory-card-media video { display: block; background: #29352e; object-fit: contain; }
.memory-card:hover .memory-card-media img { transform: scale(1.035); }
.memory-card-media span { position: absolute; left: 14px; top: 14px; padding: 7px 10px; border-radius: 999px; background: rgba(255,253,248,.88); color: var(--rose-dark); font-size: 10px; font-weight: 800; backdrop-filter: blur(8px); }
.memory-card-copy { padding: 20px 20px 22px; }
.memory-card-copy p { margin: 0 0 6px; color: var(--rose-dark); font-size: 10px; font-weight: 800; }
.memory-card-copy h4 { margin: 0 0 10px; font-family: var(--font-serif); font-size: 20px; line-height: 1.4; letter-spacing: -.03em; }
.memory-card-copy small { color: var(--muted); font-size: 11px; line-height: 1.6; }
.seed-card { display: flex; flex-direction: column; justify-content: flex-end; min-height: 100%; background: linear-gradient(145deg, #f8f2e8, #eee5d9); }
.seed-visual { position: relative; flex: 1; min-height: 220px; overflow: hidden; }
.seed-visual::before { content: ""; position: absolute; width: 170px; height: 170px; left: 50%; top: 48%; border: 1px solid rgba(113,128,106,.3); border-radius: 50%; transform: translate(-50%,-50%); box-shadow: 0 0 0 22px rgba(113,128,106,.05), 0 0 0 44px rgba(113,128,106,.035); }
.seed-visual span { position: absolute; left: 50%; top: 60%; width: 2px; height: 74px; background: var(--sage); transform: translate(-50%,-50%); }
.seed-visual span::before, .seed-visual span::after { content: ""; position: absolute; width: 42px; height: 25px; border: 1.5px solid var(--sage); border-radius: 80% 10% 80% 10%; }
.seed-visual span::before { left: -42px; top: 10px; transform: rotate(20deg); }
.seed-visual span::after { left: 0; top: -8px; transform: rotate(200deg); }
.memory-card.is-new { animation: cardBloom .7s cubic-bezier(.16,.88,.34,1.2) both; }
@keyframes cardBloom { from { opacity: 0; transform: translateY(24px) scale(.93); } to { opacity: 1; transform: none; } }
.bloom-toast { position: fixed; z-index: 130; right: 28px; bottom: 28px; max-width: min(390px, calc(100vw - 32px)); display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: rgba(255,253,248,.94); box-shadow: 0 20px 60px rgba(47,35,34,.22); backdrop-filter: blur(16px); opacity: 0; pointer-events: none; transform: translateY(20px); transition: opacity .3s ease, transform .3s ease; }
.bloom-toast.is-visible { opacity: 1; transform: none; }
.toast-flower { width: 46px; height: 46px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: rgba(217,132,152,.16); color: var(--rose-dark); font-size: 24px; animation: toastFlower 1.2s ease both; }
@keyframes toastFlower { 0% { transform: scale(.3) rotate(-80deg); } 70% { transform: scale(1.18) rotate(10deg); } 100% { transform: scale(1); } }
.bloom-toast strong, .bloom-toast small { display: block; }
.bloom-toast strong { margin-bottom: 4px; font-size: 14px; }
.bloom-toast small { color: var(--muted); font-size: 11px; }

.cinema { min-height: 850px; display: flex; align-items: center; overflow: hidden; background: linear-gradient(180deg, #7b7184 0%, #d58c76 46%, #e6a66e 69%, #7a745c 100%); color: white; }
.cinema::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 69% 50%, rgba(255,225,161,.38), transparent 24%), linear-gradient(90deg, rgba(47,42,48,.35), transparent 48%); }
.cinema-sun { position: absolute; left: 61%; top: 18%; width: 250px; height: 250px; border-radius: 50%; background: rgba(255,215,146,.64); box-shadow: 0 0 100px rgba(255,207,131,.55); }
.cinema-flowers { position: absolute; bottom: -60px; width: 47%; height: 42%; opacity: .9; background-image: radial-gradient(ellipse at center, rgba(255,246,223,.96) 0 5px, transparent 6px), linear-gradient(80deg, transparent 49%, rgba(58,75,49,.85) 50% 51%, transparent 52%); background-size: 56px 60px, 51px 128px; filter: drop-shadow(0 -8px 20px rgba(50,49,40,.12)); }
.cinema-flowers-left { left: -4%; transform: rotate(2deg); }
.cinema-flowers-right { right: -4%; transform: scaleX(-1) rotate(1deg); }
.cinema-layout { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, .85fr) minmax(420px, 1.15fr); align-items: center; gap: 95px; }
.section-index.light { color: rgba(255,255,255,.72); }
.cinema-copy h2 { margin: 18px 0 24px; font-size: clamp(44px, 5vw, 69px); line-height: 1.18; }
.cinema-copy > p { max-width: 500px; margin: 0; color: rgba(255,255,255,.74); font-size: 16px; line-height: 1.9; }
.cinema-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 33px; }
.cinema-meta span { padding: 8px 11px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; background: rgba(255,255,255,.07); font-size: 11px; font-weight: 800; backdrop-filter: blur(8px); }
.button-light { background: var(--white); color: #5b4746; box-shadow: 0 16px 36px rgba(68,44,46,.22); }
.button-light svg { fill: currentColor; stroke: none; }
.cinema-poster { position: relative; width: min(100%, 590px); justify-self: end; overflow: hidden; padding: 0; border: 0; border-radius: 46% 46% 28px 28px / 19% 19% 28px 28px; background: #4d4546; box-shadow: 0 36px 90px rgba(51,38,45,.35); cursor: pointer; transform: rotate(1.2deg); }
.cinema-poster img { width: 100%; aspect-ratio: .77; object-fit: cover; transition: transform .8s ease, filter .4s ease; }
.cinema-poster:hover img { transform: scale(1.035); filter: saturate(1.08); }
.poster-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(33,29,33,.68), transparent 55%); }
.poster-frame { position: absolute; inset: 13px; border: 1px solid rgba(255,255,255,.62); border-radius: inherit; pointer-events: none; }
.poster-play { position: absolute; left: 50%; top: 45%; width: 78px; height: 78px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.66); border-radius: 50%; background: rgba(255,255,255,.17); color: white; backdrop-filter: blur(12px); transform: translate(-50%,-50%); transition: transform .25s ease, background .25s ease; }
.cinema-poster:hover .poster-play { transform: translate(-50%,-50%) scale(1.08); background: rgba(255,255,255,.25); }
.poster-play svg { width: 31px; fill: currentColor; }
.poster-title { position: absolute; left: 40px; right: 40px; bottom: 36px; color: white; text-align: left; }
.poster-title small { display: block; margin-bottom: 5px; font-size: 11px; }
.poster-title strong { font-family: var(--font-serif); font-size: 31px; font-weight: 600; letter-spacing: -.04em; }

.final-letter { min-height: 920px; display: flex; align-items: center; overflow: hidden; padding-block: 170px; background: #dd9a78; color: white; text-align: center; }
.letter-sky { position: absolute; inset: 0 0 32%; background: linear-gradient(#776d82, #bb7c78 54%, #efb276); }
.letter-sun { position: absolute; left: 50%; bottom: -110px; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,219,151,.88); box-shadow: 0 0 100px rgba(255,212,139,.5); transform: translateX(-50%); }
.letter-hill { position: absolute; bottom: -120px; width: 70%; height: 250px; border-radius: 50% 50% 0 0; background: rgba(88,91,72,.7); }
.hill-one { left: -17%; transform: rotate(4deg); }
.hill-two { right: -19%; background: rgba(70,78,61,.82); transform: rotate(-5deg); }
.letter-meadow { position: absolute; inset: 62% 0 0; background: #5f6d55; }
.letter-meadow::before, .letter-meadow::after { content: ""; position: absolute; inset: -40px -5% 0; background-image: radial-gradient(ellipse at center, rgba(255,246,224,.95) 0 4px, transparent 5px), linear-gradient(87deg, transparent 49%, rgba(49,76,44,.88) 50% 51%, transparent 52%); background-size: 48px 54px, 42px 112px; transform: rotate(-2deg); }
.letter-meadow::after { transform: scaleX(-1) rotate(-3deg); opacity: .7; }
.letter-content { position: relative; z-index: 2; max-width: 860px; padding: 64px 54px; border: 1px solid rgba(255,255,255,.26); border-radius: 50% 50% 38px 38px / 18% 18% 38px 38px; background: rgba(75,59,62,.22); backdrop-filter: blur(12px); box-shadow: 0 30px 90px rgba(50,37,43,.2); }
.letter-rose { width: 86px; height: 86px; margin-bottom: 18px; fill: none; stroke: rgba(255,255,255,.78); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.letter-rose path:last-child { fill: rgba(255,255,255,.08); }
.letter-small { display: inline-flex; align-items: center; gap: 14px; margin: 0 0 17px; color: #f6d3b6; font-size: 13px; font-weight: 800; letter-spacing: .14em; }
.letter-small::before, .letter-small::after { content: ""; width: 46px; height: 1px; background: linear-gradient(90deg, transparent, rgba(246,211,182,.7)); }
.letter-small::after { transform: scaleX(-1); }
.letter-content h2 { margin: 0; font-size: clamp(40px, 4.5vw, 60px); line-height: 1.3; }
.letter-content > p:not(.letter-small) { margin: 29px auto 35px; color: rgba(255,244,235,.84); font-family: var(--font-serif); font-size: 17px; line-height: 2.05; }
.button-quiet-light { border: 1px solid rgba(255,255,255,.44); background: rgba(255,255,255,.1); color: white; backdrop-filter: blur(10px); }

.site-footer { padding: 26px 0; background: #364137; color: rgba(255,255,255,.7); font-size: 12px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-inner p { margin: 0; }
.footer-inner p span { margin: 0 6px; color: rgba(255,255,255,.35); }
.footer-inner a { border-bottom: 1px solid rgba(255,255,255,.3); }

.memory-dialog, .family-album-dialog, .cinema-dialog { padding: 0; border: 0; color: var(--ink); box-shadow: 0 40px 120px rgba(32,24,26,.46); }
dialog::backdrop { background: rgba(31,27,29,.68); backdrop-filter: blur(8px); }
.memory-dialog { width: min(1020px, calc(100vw - 32px)); max-height: min(780px, calc(100svh - 32px)); overflow: hidden; border-radius: 30px; background: var(--white); }
.memory-dialog[open] { display: block; animation: dialogIn .35s ease both; }
@keyframes dialogIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.dialog-close { position: absolute; z-index: 3; right: 16px; top: 16px; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(51,42,42,.12); border-radius: 50%; background: rgba(255,253,248,.9); color: var(--ink); font-size: 27px; line-height: 1; cursor: pointer; backdrop-filter: blur(10px); }
.memory-book { position: relative; perspective: 1600px; }
.memory-book-sheet { position: relative; display: grid; grid-template-columns: 1fr 1fr; height: min(720px, calc(100svh - 32px)); min-height: 620px; background: #fffdf8; transform-style: preserve-3d; }
.memory-book-sheet::after { content: ''; position: absolute; z-index: 1; inset-block: 0; left: 50%; width: 34px; pointer-events: none; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(77,58,51,.07), rgba(255,255,255,.4), transparent); }
.memory-book-sheet.is-turning-forward { animation: bookTurnForward .46s cubic-bezier(.2,.75,.25,1) both; transform-origin: left center; }
.memory-book-sheet.is-turning-back { animation: bookTurnBack .46s cubic-bezier(.2,.75,.25,1) both; transform-origin: right center; }
@keyframes bookTurnForward { from { opacity: .55; transform: translateX(18px) rotateY(-9deg); } to { opacity: 1; transform: none; } }
@keyframes bookTurnBack { from { opacity: .55; transform: translateX(-18px) rotateY(9deg); } to { opacity: 1; transform: none; } }
.dialog-media { position: relative; min-height: 620px; overflow: hidden; background: #e9eee6; }
.dialog-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .25s ease, transform .6s ease; }
.dialog-media img[hidden] { display: none; }
.memory-book-sheet.is-empty .dialog-media { background: radial-gradient(circle at 50% 43%, rgba(255,255,255,.88), transparent 26%), linear-gradient(145deg, #edf2ea, #f8eee8); }
.memory-book-sheet.is-empty .dialog-media::before { content: '✿'; position: absolute; left: 50%; top: 50%; color: rgba(168,85,105,.34); font-size: clamp(90px, 12vw, 150px); transform: translate(-50%, -50%); }
.memory-book-season { position: absolute; left: 28px; top: 28px; min-width: 50px; min-height: 50px; display: grid; place-items: center; padding: 8px 13px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; background: rgba(255,253,248,.88); color: var(--rose-dark); font-family: var(--font-serif); font-size: 14px; font-weight: 800; box-shadow: 0 10px 35px rgba(53,42,39,.13); backdrop-filter: blur(10px); }
.memory-book-season[hidden] { display: none; }
.dialog-copy { display: flex; flex-direction: column; justify-content: center; padding: 70px 72px; }
.dialog-copy > p:first-child { margin: 0 0 15px; color: var(--rose-dark); font-size: 12px; font-weight: 800; }
.dialog-copy h2 { margin: 0; font-family: var(--font-serif); font-size: 40px; line-height: 1.35; letter-spacing: -.04em; }
.dialog-copy #dialogDescription { margin: 25px 0 0; color: var(--muted); font-size: 15px; line-height: 1.9; }
.flower-upload-tools { display: grid; grid-template-columns: 1fr; gap: 10px; align-items: end; margin-top: 38px; padding-top: 22px; border-top: 1px solid rgba(51,42,42,.1); }
.flower-description-field { display: grid; gap: 7px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .04em; }
.flower-description-field textarea { width: 100%; min-height: 76px; padding: 11px 13px; resize: vertical; border: 1px solid rgba(51,42,42,.13); border-radius: 12px; background: #fffdf8; color: var(--ink); font: inherit; font-size: 13px; line-height: 1.55; }
.flower-description-field textarea:focus { border-color: rgba(168,85,105,.55); outline: 3px solid rgba(222,141,152,.14); }
.flower-upload-button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 14px; border: 1px solid rgba(168,85,105,.22); border-radius: 12px; background: rgba(222,141,152,.12); color: var(--rose-dark); font-family: inherit; font-size: 12px; font-weight: 800; cursor: pointer; transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease; }
.flower-upload-button:hover { transform: translateY(-1px); background: rgba(222,141,152,.2); box-shadow: 0 8px 24px rgba(168,85,105,.12); }
.flower-upload-button:disabled { opacity: .62; cursor: wait; transform: none; box-shadow: none; }
.flower-upload-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.flower-upload-status { min-height: 34px; margin: 0; padding: 8px 10px; border-radius: 10px; background: rgba(113,133,111,.08); color: var(--muted); font-size: 11px; line-height: 1.55; }
.flower-upload-status[data-state="success"] { background: rgba(81,133,95,.11); color: #416f4c; }
.flower-upload-status[data-state="error"] { background: rgba(168,85,105,.1); color: var(--rose-dark); }
.book-turn { position: absolute; z-index: 2; top: 50%; width: 54px; height: 54px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(51,42,42,.12); border-radius: 50%; background: rgba(255,253,248,.92); color: var(--ink); box-shadow: 0 14px 40px rgba(50,38,38,.16); cursor: pointer; transform: translateY(-50%); backdrop-filter: blur(12px); transition: transform .2s ease, opacity .2s ease, background-color .2s ease; }
.book-turn:hover:not(:disabled) { transform: translateY(-50%) scale(1.06); background: white; }
.book-turn:disabled { opacity: .28; cursor: default; box-shadow: none; }
.book-turn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.book-prev { left: 18px; }
.book-next { right: 18px; }
.book-page-status { position: absolute; z-index: 4; left: 50%; bottom: 18px; min-width: 64px; margin: 0; padding: 7px 12px; border: 1px solid rgba(168,85,105,.18); border-radius: 999px; background: rgba(255,244,242,.94); color: var(--rose-dark); font-family: var(--font-label); font-style: italic; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-align: center; box-shadow: 0 8px 22px rgba(74,53,49,.1); transform: translateX(-50%); backdrop-filter: blur(10px); }
.family-album-dialog {
  width: min(1080px, calc(100vw - 32px));
  max-height: min(820px, calc(100svh - 32px));
  overflow: hidden;
  border-radius: 34px;
  background: #f8f4ea;
}
.family-album-dialog[open] { display: block; animation: dialogIn .35s ease both; }
.family-album-shell { min-height: min(760px, calc(100svh - 32px)); max-height: min(820px, calc(100svh - 32px)); overflow: auto; background: radial-gradient(circle at 92% 7%, rgba(223,145,154,.15), transparent 25%), radial-gradient(circle at 7% 88%, rgba(120,143,114,.16), transparent 28%), #f8f4ea; }
.family-album-head { position: sticky; z-index: 5; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px 36px 20px; background: linear-gradient(180deg, rgba(248,244,234,.98) 72%, rgba(248,244,234,0)); }
.family-album-head p { margin: 0 0 5px; color: var(--rose-dark); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.family-album-head h2 { margin: 0; font-family: var(--font-serif); font-size: clamp(25px, 3vw, 36px); letter-spacing: -.04em; }
.family-album-close { position: static; flex: 0 0 auto; }
.family-album-gallery { padding: 14px 36px 42px; }
.family-album-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.family-album-thumb {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(66,82,65,.14);
  border-radius: 20px;
  background: #e5eadf;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(64,73,59,.1);
  transition: transform .28s ease, box-shadow .28s ease;
}
.family-album-thumb:hover,
.family-album-thumb:focus-visible { transform: translateY(-4px) rotate(-.5deg); box-shadow: 0 16px 32px rgba(64,73,59,.16); }
.family-album-thumb img,
.family-album-thumb video { width: 100%; height: 100%; display: block; object-fit: cover; }
.family-album-thumb .album-story-only { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 50% 43%, rgba(255,255,255,.9), transparent 24%), linear-gradient(145deg, #dce8d8, #f4dfdc); color: rgba(168,85,105,.52); font-size: 38px; }
.family-album-thumb .album-video-mark { position: absolute; right: 10px; bottom: 10px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,250,240,.9); color: #405b48; }
.family-album-thumb .album-video-mark svg { width: 15px; height: 15px; fill: currentColor; }
.family-album-empty { min-height: 470px; display: grid; align-content: center; justify-items: center; padding: 38px; text-align: center; }
.family-album-empty[hidden] { display: none; }
.family-album-empty > span { width: 88px; height: 88px; display: grid; place-items: center; margin-bottom: 19px; border: 1px solid rgba(108,133,105,.2); border-radius: 50%; background: rgba(255,255,255,.58); color: rgba(168,85,105,.48); font-size: 34px; box-shadow: 0 14px 35px rgba(65,78,61,.1); }
.family-album-empty strong { font-family: var(--font-serif); font-size: 23px; }
.family-album-empty p { max-width: 430px; margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.family-album-detail { padding: 0 36px 42px; }
.family-album-detail[hidden] { display: none; }
.family-album-back { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 18px; padding: 9px 13px; border: 0; border-radius: 999px; background: rgba(105,130,102,.1); color: #4b6550; font-family: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.family-album-back svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.family-album-detail-layout { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(300px, .82fr); min-height: 580px; overflow: hidden; border: 1px solid rgba(70,84,66,.12); border-radius: 28px; background: rgba(255,253,248,.9); box-shadow: 0 20px 55px rgba(58,70,55,.13); }
.family-album-detail-media { position: relative; min-height: 580px; overflow: hidden; background: #dce4d9; }
.family-album-detail-media img,
.family-album-detail-media video { width: 100%; height: 100%; display: block; object-fit: contain; background: #233029; }
.family-album-detail-media .album-story-only { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 50% 43%, rgba(255,255,255,.92), transparent 23%), linear-gradient(145deg, #dce8d8, #f4dfdc); color: rgba(168,85,105,.48); font-size: 90px; }
.family-album-detail-media .album-video-mark { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,250,240,.92); color: #405b48; box-shadow: 0 14px 36px rgba(44,59,47,.2); transform: translate(-50%, -50%); }
.family-album-detail-media .album-video-mark svg { width: 29px; height: 29px; fill: currentColor; }
.family-album-detail-copy { align-self: center; padding: 46px; }
.family-album-detail-copy > p:first-child { margin: 0 0 11px; color: var(--rose-dark); font-size: 11px; font-weight: 800; }
.family-album-detail-copy h3 { margin: 0 0 23px; font-family: var(--font-serif); font-size: clamp(26px, 3vw, 39px); line-height: 1.35; letter-spacing: -.04em; }
.family-album-detail-copy > p:last-child { margin: 0; color: #615f59; font-size: 14px; line-height: 2; white-space: pre-wrap; }
.cinema-dialog { width: min(1050px, calc(100vw - 30px)); max-height: calc(100svh - 30px); overflow: auto; border-radius: 26px; background: #211e21; color: white; }
.cinema-dialog[open] { animation: dialogIn .35s ease both; }
.cinema-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 28px 18px; }
.cinema-dialog-head p { margin: 0 0 3px; color: rgba(255,255,255,.55); font-size: 11px; }
.cinema-dialog-head h2 { margin: 0; font-family: var(--font-serif); font-size: 26px; }
.cinema-close { position: static; flex: 0 0 auto; border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: white; }
.film-select { display: flex; gap: 10px; padding: 0 28px 16px; }
.film-select button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; background: transparent; color: rgba(255,255,255,.6); font-size: 13px; font-weight: 800; cursor: pointer; transition: color .2s ease, border-color .2s ease, background-color .2s ease; }
.film-select button span { font-family: var(--font-label); font-style: italic; font-size: 12px; font-weight: 600; letter-spacing: .08em; color: rgba(255,255,255,.45); }
.film-select button[aria-selected="true"] { border-color: rgba(242,195,173,.85); background: rgba(242,195,173,.14); color: white; }
.film-select button[aria-selected="true"] span { color: #f2c3ad; }
.cinema-dialog video { width: 100%; max-height: 70svh; background: black; }
.cinema-caption { margin: 0; padding: 16px 28px 24px; color: rgba(255,255,255,.55); font-size: 12px; line-height: 1.6; }

@media (max-width: 1100px) {
  :root { --shell: min(100% - 40px, 980px); }
  .site-header { grid-template-columns: 1fr auto; padding-inline: 22px; }
  .main-nav { display: none; }
  .motion-toggle { grid-column: 2; grid-row: 1; }
  .hero-film-wrap { right: -4vw; width: 63vw; }
  .hero-copy { max-width: 610px; }
  .story-layout { gap: 70px; }
  .map-layout { grid-template-columns: 1fr; }
  .map-canvas { min-height: 600px; }
  .map-story { display: grid; grid-template-columns: .9fr 1.1fr; }
  .map-story-media, .map-story-media img { min-height: 300px; }
  .season-stage { grid-template-columns: 1.05fr .95fr; }
  .memory-layout { grid-template-columns: 1fr; }
  .memory-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
  .form-heading, .drop-zone, .field-row { grid-column: 1; }
  .memory-form > .field:not(.field-row) { grid-column: 2; grid-row: 2 / span 2; margin-top: 0; }
  .form-submit, .demo-status { grid-column: 2; }
  .cinema-layout { gap: 55px; }
}

@media (max-width: 820px) {
  :root { --header-h: 70px; --shell: min(100% - 32px, 720px); }
  .site-header { grid-template-columns: 1fr auto; }
  .motion-toggle { display: none; }
  .menu-button { justify-self: end; width: 44px; height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0; border: 1px solid rgba(255,255,255,.32); border-radius: 50%; background: rgba(255,255,255,.08); color: inherit; cursor: pointer; }
  .site-header.is-scrolled .menu-button { border-color: rgba(51,42,42,.15); background: rgba(255,255,255,.55); }
  .menu-button span { width: 18px; height: 1px; background: currentColor; transition: transform .25s ease, opacity .25s ease; }
  .menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .main-nav { position: fixed; top: 70px; left: 16px; right: 16px; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; border-radius: 20px; background: rgba(255,248,237,.96); color: var(--ink); box-shadow: 0 22px 70px rgba(48,36,35,.2); backdrop-filter: blur(18px); opacity: 0; pointer-events: none; transform: translateY(-12px); transition: opacity .25s ease, transform .25s ease; }
  .main-nav.is-open { opacity: 1; pointer-events: auto; transform: none; }
  .main-nav a { padding: 14px 12px; border-radius: 12px; }
  .main-nav a:hover { background: rgba(217,132,152,.09); }
  .main-nav .motion-toggle { display: inline-flex; width: 100%; justify-content: center; margin-top: 8px; border-color: rgba(51,42,42,.15); background: rgba(255,255,255,.7); color: var(--ink); }
  .hero { min-height: 870px; }
  .hero-content { min-height: 870px; align-items: flex-end; padding-bottom: 145px; }
  .hero-backdrop { filter: blur(12px) saturate(.86) brightness(.65); }
  .hero-film-wrap { inset: 0; width: 100%; -webkit-mask-image: linear-gradient(180deg,#000 0%,#000 60%,transparent 92%); mask-image: linear-gradient(180deg,#000 0%,#000 60%,transparent 92%); }
  .hero-film { object-position: 50% 43%; }
  .hero-wash { background: linear-gradient(180deg, rgba(22,26,23,.15) 0%, rgba(29,31,28,.12) 38%, rgba(34,31,32,.82) 77%, rgba(31,28,30,.96) 100%); }
  .hero-copy h1 { font-size: clamp(40px, 9.7vw, 62px); }
  .hero-note { display: none; }
  .scroll-cue { left: auto; right: 22px; transform: none; }
  .section { padding: 105px 0; }
  .story-layout { grid-template-columns: 1fr; gap: 74px; }
  .story-portrait { justify-self: center; max-width: 480px; }
  .story-copy { max-width: 620px; }
  .story-facts { gap: 10px; }
  .section-heading { margin-bottom: 42px; }
  .map-canvas { min-height: 540px; }
  .map-story { grid-template-columns: 1fr; }
  .map-story-media, .map-story-media img { min-height: 360px; }
  .season-stage { grid-template-columns: 1fr; }
  .season-media, .season-media img { min-height: 560px; }
  .season-panel { padding: 36px 32px; }
  .memory-form { display: block; }
  .memory-form > .field:not(.field-row) { margin-top: 16px; }
  .memory-rail { grid-template-columns: repeat(2, minmax(260px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .memory-card { scroll-snap-align: start; }
  .cinema { min-height: 1180px; }
  .cinema-layout { grid-template-columns: 1fr; gap: 65px; }
  .cinema-poster { justify-self: center; width: min(100%, 500px); }
  .final-letter { min-height: 850px; }
  .letter-content { padding: 55px 34px; }
  .memory-dialog { overflow: auto; }
  .memory-book-sheet { grid-template-columns: 1fr; height: auto; min-height: 0; }
  .memory-book-sheet::after { display: none; }
  .dialog-media { min-height: 410px; max-height: 45svh; }
  .dialog-media img { min-height: 0; max-height: none; }
  .dialog-copy { min-height: 390px; padding: 44px 56px 68px; }
  .book-turn { position: fixed; top: 50%; }
  .book-prev { left: 24px; }
  .book-next { right: 24px; }
  .family-album-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .family-album-detail-layout { grid-template-columns: 1fr; }
  .family-album-detail-media { min-height: 430px; max-height: 55svh; }
}

@media (max-width: 560px) {
  :root { --shell: calc(100% - 28px); }
  .site-header { padding-inline: 14px; }
  .brand { font-size: 15px; }
  .brand-mark { width: 34px; height: 34px; }
  .hero { min-height: 100svh; }
  .hero-content { min-height: 100svh; padding-bottom: 112px; }
  .hero-copy { margin-top: 0; }
  .hero-copy h1 { font-size: clamp(38px, 11vw, 52px); line-height: 1.22; }
  .hero-copy h1 em { margin-top: 4px; }
  .hero-copy > p { margin-top: 18px; font-size: 18px; }
  .hero-actions { margin-top: 28px; }
  .button { min-height: 54px; padding-inline: 19px; }
  .hero-actions .button-primary { width: 100%; }
  .hero-actions .button-quiet { width: 100%; }
  .scroll-cue { display: none; }
  .section { padding: 84px 0; }
  .story-layout { gap: 62px; }
  .portrait-frame { padding: 9px; border-radius: 48% 48% 22px 22px / 17% 17% 22px 22px; }
  .portrait-frame figcaption { left: 18px; right: 18px; bottom: 19px; padding: 15px; }
  .portrait-stamp { right: -3px; top: 26px; width: 92px; height: 92px; }
  .portrait-stamp strong { font-size: 25px; }
  .story-copy h2 { font-size: 39px; }
  .story-lead { font-size: 15px; }
  .story-copy blockquote p { font-size: 18px; }
  .story-facts { grid-template-columns: 1fr; }
  .story-facts div { display: grid; grid-template-columns: 100px 1fr; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(51,42,42,.08); }
  .story-facts dt { margin: 0; }
  .section-heading { gap: 14px; }
  .section-heading h2 { font-size: 36px; }
  .section-heading p { font-size: 14px; }
  .map-canvas { min-height: 490px; border-radius: 28px; }
  .map-pond { left: 35%; width: 135px; height: 74px; }
  .garden-spot strong { font-size: 10px; }
  .spot-flower { width: 39px; height: 39px; }
  .map-story { border-radius: 28px; }
  .map-story-media, .map-story-media img { min-height: 300px; }
  .map-story-copy { padding: 28px 24px; }
  .season-stage { border-radius: 28px; }
  .season-media, .season-media img { min-height: 510px; }
  .season-hangul { left: 24px; font-size: 110px; }
  .season-panel { padding: 30px 22px; }
  .season-tabs button { font-size: 13px; }
  .season-content h3 { font-size: 38px; }
  .memory-form, .memory-garden { padding: 24px 20px; border-radius: 24px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .drop-zone { min-height: 205px; }
  .memory-garden-heading { align-items: flex-start; flex-direction: column; }
  .memory-rail { grid-template-columns: repeat(2, 82vw); margin-right: -20px; }
  .family-album-dialog { width: calc(100vw - 18px); max-height: calc(100svh - 18px); border-radius: 24px; }
  .family-album-shell { min-height: calc(100svh - 18px); max-height: calc(100svh - 18px); }
  .family-album-head { padding: 24px 20px 16px; }
  .family-album-gallery { padding: 10px 20px 28px; }
  .family-album-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
  .family-album-thumb { border-radius: 14px; }
  .family-album-detail { padding: 0 14px 24px; }
  .family-album-detail-layout { border-radius: 20px; }
  .family-album-detail-media { min-height: 330px; }
  .family-album-detail-copy { padding: 30px 24px 38px; }
  .cinema { min-height: 1030px; }
  .cinema-layout { gap: 45px; }
  .cinema-copy h2 { font-size: 42px; }
  .cinema-copy > p { font-size: 14px; }
  .cinema-sun { left: 53%; width: 180px; height: 180px; }
  .cinema-poster { border-radius: 45% 45% 22px 22px / 16% 16% 22px 22px; }
  .poster-title { left: 27px; right: 27px; bottom: 25px; }
  .poster-title strong { font-size: 25px; }
  .final-letter { min-height: 790px; padding-block: 110px; }
  .letter-content { padding: 45px 20px; border-radius: 36% 36% 30px 30px / 11% 11% 30px 30px; }
  .letter-content h2 { font-size: 37px; }
  .letter-content > p:not(.letter-small) { font-size: 14px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .memory-dialog, .cinema-dialog { width: calc(100vw - 18px); max-height: calc(100svh - 18px); }
  .dialog-media { min-height: 310px; }
  .dialog-copy { min-height: 410px; padding: 34px 25px 70px; }
  .dialog-copy h2 { font-size: 33px; }
  .dialog-copy #dialogDescription { margin-top: 18px; font-size: 14px; line-height: 1.75; }
  .flower-upload-tools { grid-template-columns: 1fr; margin-top: 25px; padding-top: 17px; }
  .book-turn { width: 48px; height: 48px; }
  .book-prev { left: 18px; }
  .book-next { right: 18px; }
  .book-page-status { bottom: 13px; }
  .cinema-dialog-head { padding: 19px 18px 14px; }
  .film-select { padding: 0 18px 14px; flex-wrap: wrap; }
  .cinema-caption { padding-inline: 18px; }
  .bloom-toast { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .petal-layer { display: none; }
}

/* Source-film animation art direction (v2). */
:root {
  --paper: #fffaf0;
  --paper-deep: #f3eadc;
  --ink: #30382f;
  --muted: #716d63;
  --rose: #de8d98;
  --rose-dark: #a85569;
  --sage: #71856f;
  --sage-deep: #3f5547;
  --gold: #efb777;
}

body {
  background: var(--paper);
  background-image:
    radial-gradient(circle at 16% 8%, rgba(222,141,152,.08), transparent 24%),
    radial-gradient(circle at 86% 30%, rgba(119,154,142,.08), transparent 30%);
}

.paper-grain {
  opacity: .32;
  mix-blend-mode: multiply;
}

/* Chapter seams: every garden scene belongs to the same illustrated book. */
.chapter-bridge {
  position: relative;
  z-index: 8;
  height: 1px;
  pointer-events: none;
  color: rgba(75,105,78,.7);
}

.chapter-bridge-vine svg {
  position: absolute;
  left: 50%;
  top: 0;
  width: min(1440px, 108vw);
  height: 150px;
  overflow: visible;
  filter: drop-shadow(0 8px 13px rgba(65,82,65,.12));
  transform: translate(-50%, -50%);
}

.chapter-bridge-vine.is-reversed svg { transform: translate(-50%, -50%) scaleX(-1); }
.chapter-bridge-vine-soft { color: rgba(104,126,97,.52); }
.chapter-bridge-vine-soft svg { height: 124px; filter: drop-shadow(0 7px 12px rgba(65,82,65,.09)); }
.chapter-bridge-vine-soft .bridge-stem { stroke-width: 1.8; }
.chapter-bridge-vine-soft .bridge-leaf { fill: rgba(129,149,119,.56); }
.chapter-bridge-vine-soft .bridge-bloom circle { fill: rgba(222,141,152,.62); }
.bridge-stem { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.bridge-leaf { fill: rgba(113,133,111,.7); stroke: rgba(255,250,240,.4); stroke-width: .7; transform-box: fill-box; transform-origin: center; }
.bridge-bloom circle { fill: rgba(222,141,152,.78); stroke: rgba(255,250,240,.76); stroke-width: .8; }
.bridge-bloom .bridge-bloom-heart { fill: #f6d7ad; stroke: none; }
.chapter-bridge-vine.reveal .bridge-stem { stroke-dasharray: 1650; stroke-dashoffset: 1650; transition: stroke-dashoffset 1.7s cubic-bezier(.2,.72,.2,1) .12s; }
.chapter-bridge-vine.reveal .bridge-leaf { opacity: 0; transform: scale(.78); transition: opacity .7s ease .85s, transform .8s cubic-bezier(.2,.72,.2,1) .78s; }
.chapter-bridge-vine.reveal .bridge-bloom { opacity: 0; transition: opacity .7s ease .92s; }
.chapter-bridge-vine.reveal.is-visible .bridge-stem { stroke-dashoffset: 0; }
.chapter-bridge-vine.reveal.is-visible .bridge-leaf { opacity: 1; transform: scale(1); }
.chapter-bridge-vine.reveal.is-visible .bridge-bloom { opacity: 1; }

.chapter-bridge-wash::before,
.chapter-bridge-wash::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
}
.chapter-bridge-wash::before {
  width: min(1320px, 106vw);
  height: 176px;
  opacity: .74;
  background:
    radial-gradient(ellipse at 16% 50%, rgba(222,141,152,.28), transparent 31%),
    radial-gradient(ellipse at 49% 56%, rgba(239,183,119,.22), transparent 34%),
    radial-gradient(ellipse at 82% 45%, rgba(113,133,111,.27), transparent 32%);
  filter: blur(15px) saturate(.92);
}
.chapter-bridge-wash::after {
  width: min(1060px, 90vw);
  height: 74px;
  opacity: .22;
  background-image: radial-gradient(circle, rgba(87,103,86,.55) 0 1px, transparent 1.3px);
  background-size: 9px 9px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}
.chapter-bridge-wash.is-dusk::before { background: radial-gradient(ellipse at 25% 50%, rgba(230,166,110,.33), transparent 34%), radial-gradient(ellipse at 72% 48%, rgba(123,113,132,.34), transparent 38%); }

.chapter-bridge.reveal { opacity: 0; filter: blur(4px); transform: translateY(12px); transition: opacity 1s var(--scene-ease), filter 1s var(--scene-ease), transform 1s var(--scene-ease); }
.chapter-bridge.reveal.is-visible { opacity: 1; filter: none; transform: none; }

.hero-media::after,
.story::after,
.garden-map::after,
.seasons::after,
.memory-studio::after,
.cinema::after,
.final-letter::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image:
    repeating-linear-gradient(0deg, rgba(65,74,61,.06) 0 1px, transparent 1px 4px),
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.7) 0 1px, transparent 1.5px);
  background-size: auto, 7px 7px;
  mix-blend-mode: soft-light;
}

.hero-backdrop {
  filter: blur(16px) saturate(.78) brightness(.72);
}

.hero-film-wrap {
  border: 1px solid rgba(255,250,240,.38);
  box-shadow: 0 34px 100px rgba(39,53,43,.28), inset 0 0 0 10px rgba(255,250,240,.05);
}

.hero-film {
  object-position: 50% 50%;
  animation: filmBreath 13s ease-in-out infinite alternate;
}

.hero-wash {
  background:
    linear-gradient(90deg, rgba(26,35,29,.68) 0%, rgba(31,40,33,.42) 38%, rgba(31,39,33,.08) 70%),
    linear-gradient(0deg, rgba(26,31,27,.36), transparent 48%);
}

.story {
  background:
    linear-gradient(90deg, rgba(255,250,240,.97), rgba(255,250,240,.84)),
    var(--lazy-bg-image, none) center / cover;
}

.portrait-frame {
  background: rgba(255,252,245,.82);
  box-shadow: 0 34px 85px rgba(58,75,62,.2), inset 0 0 0 1px rgba(91,111,94,.13);
}

.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 1;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: inherit;
  pointer-events: none;
}

.portrait-frame > img {
  filter: saturate(.88) contrast(.96) brightness(1.04);
  animation: paintedDrift 11s ease-in-out infinite alternate;
}

.portrait-memory-inset {
  position: absolute;
  z-index: 5;
  left: -34px;
  bottom: 144px;
  width: 128px;
  padding: 7px 7px 10px;
  border: 1px solid rgba(78,95,79,.18);
  background: #fffaf0;
  box-shadow: 0 16px 36px rgba(50,62,52,.2);
  transform: rotate(-5deg);
}

.portrait-memory-inset img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  filter: sepia(.12) saturate(.82);
}

.portrait-memory-inset span {
  display: block;
  padding-top: 7px;
  color: var(--sage-deep);
  font-family: var(--font-serif);
  font-size: 10px;
  line-height: 1.4;
  text-align: center;
}

.garden-map {
  background: #edf0e7;
}

.map-canvas {
  background: var(--lazy-bg-image, none) center / cover no-repeat;
  box-shadow: 0 30px 80px rgba(61,78,64,.2), inset 0 0 0 1px rgba(255,255,255,.7);
}

.map-canvas::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,250,240,.12), rgba(68,88,72,.16));
  box-shadow: inset 0 0 80px rgba(255,250,240,.34);
}

.map-sky,
.map-paths,
.map-hill,
.map-field,
.map-pond,
.map-tree {
  opacity: .16;
}

.garden-spot {
  z-index: 4;
}

.spot-flower {
  background: rgba(255,250,240,.92);
  color: var(--rose-dark);
  box-shadow: 0 9px 25px rgba(47,67,52,.25);
}

.map-story,
.season-stage,
.memory-form,
.memory-garden,
.memory-card {
  border: 1px solid rgba(73,94,77,.13);
  box-shadow: 0 24px 65px rgba(56,72,59,.14);
}

.map-story-media img,
.season-media img,
.cinema-poster img,
.memory-card-media img,
.memory-card-media video {
  filter: saturate(.9) contrast(.97) brightness(1.02);
}

.seasons {
  background:
    radial-gradient(circle at 15% 16%, rgba(221,151,153,.16), transparent 24%),
    linear-gradient(135deg, var(--season-a, #3d5145), var(--season-b, #607462) 52%, var(--season-c, #3e5147));
}

.season-stage {
  border-color: rgba(255,250,240,.22);
}

.season-panel {
  background-color: var(--season-panel, rgba(48,67,55,.9));
}

.season-media::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255,250,240,.48);
  border-radius: 22px;
  pointer-events: none;
}

.memory-studio {
  background:
    linear-gradient(rgba(255,250,240,.94), rgba(255,250,240,.97)),
    var(--lazy-bg-image, none) center / cover fixed;
}

.memory-form {
  background: rgba(255,252,246,.94);
}

.memory-garden {
  background: rgba(225,234,221,.9);
}

.drop-zone {
  background: rgba(237,241,231,.82);
}

.cinema {
  background:
    linear-gradient(90deg, rgba(42,48,42,.86), rgba(60,49,48,.35)),
    var(--lazy-bg-image, none) center 45% / cover no-repeat;
}

.cinema::before {
  background: linear-gradient(90deg, rgba(36,46,39,.84) 0%, rgba(49,48,43,.46) 48%, rgba(62,49,47,.18));
}

.cinema-sun,
.cinema-flowers {
  opacity: .22;
}

.cinema-poster {
  border: 1px solid rgba(255,250,240,.5);
  box-shadow: 0 36px 90px rgba(39,45,39,.38), inset 0 0 0 12px rgba(255,250,240,.05);
}

.final-letter {
  background:
    radial-gradient(ellipse 64% 46% at 50% 44%, rgba(255,224,192,.17), transparent 70%),
    linear-gradient(rgba(66,55,64,.15), rgba(47,39,52,.58)),
    var(--lazy-bg-image, none) center / cover no-repeat;
}

.letter-sky,
.letter-meadow {
  opacity: 0;
}

.letter-content {
  background: linear-gradient(180deg, rgba(86,63,72,.36), rgba(48,40,55,.54));
  border-color: rgba(255,244,230,.42);
}
.letter-content::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(255,246,232,.2);
  border-radius: inherit;
  pointer-events: none;
}

@keyframes filmBreath {
  from { transform: scale(1.005); }
  to { transform: scale(1.035); }
}

@keyframes paintedDrift {
  from { transform: scale(1.01) translate3d(0, 0, 0); }
  to { transform: scale(1.045) translate3d(-.7%, -.5%, 0); }
}

@media (max-width: 820px) {
  .hero-film { object-position: 50% 48%; }
  .hero-wash { background: linear-gradient(180deg, rgba(29,39,32,.08) 0%, rgba(29,36,31,.2) 45%, rgba(30,32,29,.88) 80%, rgba(28,30,27,.97)); }
  .portrait-memory-inset { left: 2px; bottom: 112px; width: 128px; }
  .memory-studio { background-attachment: scroll; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-film,
  .portrait-frame > img { animation: none !important; }
}

/* Memory studio — animated garden journal. */
[hidden] { display: none !important; }

h1,
h2,
h3,
h4,
.poster-title strong,
.story-copy blockquote p {
  word-break: keep-all;
  overflow-wrap: normal;
}

.hero-copy h1 em { word-break: keep-all; }

.memory-studio {
  isolation: isolate;
  overflow: hidden;
  background: #f8f2e7;
}

.memory-studio::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -3%;
  background:
    linear-gradient(90deg, rgba(255,250,240,.97) 0%, rgba(255,250,240,.9) 43%, rgba(239,241,226,.88) 100%),
    var(--lazy-bg-image, none) center 38% / cover no-repeat;
  filter: saturate(.9) contrast(.98);
}

.memory-studio > .shell {
  position: relative;
  z-index: 2;
}

.memory-studio .section-heading {
  max-width: 860px;
  margin-bottom: 50px;
}

.memory-studio .section-heading h2,
.memory-studio .section-heading p,
.form-heading h3,
.form-heading p,
.memory-garden-heading h3,
.memory-card-copy h4,
.memory-card-copy small,
.drop-copy,
.field > span {
  word-break: keep-all;
  overflow-wrap: break-word;
}

.memory-studio .section-heading h2,
.form-heading h3,
.memory-garden-heading h3,
.memory-card-copy h4 {
  text-wrap: balance;
}

.memory-layout {
  grid-template-columns: minmax(360px, .82fr) minmax(0, 1.18fr);
  gap: 28px;
  align-items: stretch;
}

.memory-form {
  position: relative;
  overflow: hidden;
  padding: 38px;
  border: 1px solid rgba(78,98,79,.17);
  border-radius: 42px 42px 30px 30px / 76px 76px 30px 30px;
  background:
    radial-gradient(circle at 100% 0%, rgba(222,141,152,.14), transparent 29%),
    rgba(255,252,245,.95);
  box-shadow: 0 30px 78px rgba(54,72,59,.16), inset 0 0 0 8px rgba(255,255,255,.32);
}

.memory-form::after {
  content: "";
  position: absolute;
  right: -34px;
  top: 18px;
  width: 120px;
  height: 150px;
  border-left: 1px solid rgba(168,85,105,.22);
  border-radius: 50%;
  transform: rotate(24deg);
  pointer-events: none;
}

.form-heading {
  position: relative;
  z-index: 2;
  margin-bottom: 24px;
}

.form-icon {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  border: 1px solid rgba(168,85,105,.18);
  background: rgba(255,246,240,.78);
  color: var(--rose-dark);
  box-shadow: 0 10px 26px rgba(74,82,67,.1);
}

.form-icon svg {
  width: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-heading h3 { font-size: 30px; }
.form-heading p { font-size: 13px; line-height: 1.65; }

.drop-zone {
  min-height: 252px;
  isolation: isolate;
  border: 1px solid rgba(81,111,86,.25);
  border-radius: 28px;
  background: rgba(238,242,228,.86);
  box-shadow: inset 0 0 0 7px rgba(255,255,255,.24);
}

.drop-zone::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(rgba(246,246,232,.64), rgba(246,242,226,.78)),
    var(--lazy-bg-image, none) center 38% / cover no-repeat;
  filter: saturate(.78);
  transition: opacity .35s ease, transform .7s ease;
}

.drop-zone:hover::before,
.drop-zone.is-dragging::before { transform: scale(1.04); opacity: .9; }
.drop-zone:hover,
.drop-zone.is-dragging { background: rgba(251,239,232,.7); }

.drop-illustration {
  width: 72px;
  height: 72px;
  background: rgba(255,252,245,.88);
  border: 1px solid rgba(77,105,82,.14);
  backdrop-filter: blur(9px);
}

.drop-copy { position: relative; z-index: 2; gap: 7px; }
.drop-copy strong { font-family: var(--font-serif); font-size: 18px; }
.drop-copy small { font-size: 12px; line-height: 1.55; }
#uploadPreview, #uploadVideoPreview { z-index: 3; }
.drop-zone.has-media::after { z-index: 4; }

.field { min-width: 0; }
.field > span { color: var(--sage-deep); font-size: 12px; letter-spacing: -.01em; }
.field input,
.field textarea,
.field select {
  border-color: rgba(72,89,72,.16);
  border-radius: 17px;
  background: rgba(255,255,252,.84);
  font-size: 15px;
  line-height: 1.7;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
.field input,
.field select { height: 54px; padding-inline: 17px; }
.field textarea { min-height: 148px; padding: 16px 17px; }
.field input::placeholder,
.field textarea::placeholder { color: #89857c; opacity: 1; }

.form-submit {
  min-height: 56px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e98778, #dc7582);
  box-shadow: 0 15px 32px rgba(191,91,102,.24);
}
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 19px 38px rgba(191,91,102,.29); }
.demo-status { color: #777a6d; font-size: 12px; }
.demo-status span { background: #7f9b79; box-shadow: 0 0 0 4px rgba(127,155,121,.14); }

.memory-garden {
  position: relative;
  overflow: hidden;
  padding: 38px;
  border: 1px solid rgba(255,250,240,.24);
  border-radius: 42px 42px 30px 30px / 76px 76px 30px 30px;
  background:
    linear-gradient(145deg, rgba(48,69,56,.93), rgba(73,91,69,.78)),
    var(--lazy-bg-image, none) center / cover no-repeat;
  color: #fffaf0;
  box-shadow: 0 30px 78px rgba(48,64,52,.24), inset 0 0 0 8px rgba(255,255,255,.035);
}

.memory-garden::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 75% 14%, rgba(250,209,176,.22), transparent 27%);
}

.memory-garden > * { position: relative; z-index: 1; }
.memory-garden-heading { align-items: center; margin-bottom: 27px; }
.memory-garden-heading p { color: #f2b8b5; font-size: 11px; letter-spacing: .04em; }
.memory-garden-heading h3 { color: #fffaf0; font-size: 30px; line-height: 1.35; }
.clear-memories { border-bottom-color: rgba(255,255,255,.35); color: rgba(255,250,240,.72); }
.clear-memories:hover,
.clear-memories:focus-visible { color: white; border-bottom-color: white; }

.memory-rail { gap: 18px; align-items: stretch; }
.memory-card {
  position: relative;
  display: flex;
  min-height: 470px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 140px 140px 26px 26px / 62px 62px 26px 26px;
  background: rgba(255,252,245,.96);
  box-shadow: 0 22px 48px rgba(28,42,32,.24);
  transition: transform .45s ease, box-shadow .45s ease;
}
.memory-card:hover { transform: translateY(-6px) rotate(-.35deg); box-shadow: 0 30px 58px rgba(28,42,32,.3); }
.memory-card-media { flex: 1 1 auto; min-height: 286px; aspect-ratio: auto; }
.memory-card-media::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 120px 120px 18px 18px / 50px 50px 18px 18px;
  pointer-events: none;
}
.memory-card-media span { left: 18px; top: 18px; }
.memory-card-copy { min-height: 154px; padding: 22px 22px 25px; color: var(--ink); }
.memory-card-copy p { margin-bottom: 7px; color: var(--rose-dark); font-size: 11px; }
.memory-card-copy h4 { font-size: 21px; line-height: 1.45; }
.memory-card-copy small { display: block; font-size: 11px; line-height: 1.7; }

.seed-card { background: rgba(255,249,239,.96); }
.seed-visual {
  flex: 1 1 auto;
  min-height: 286px;
  background:
    linear-gradient(rgba(238,232,216,.2), rgba(238,232,216,.38)),
    var(--lazy-bg-image, none) center 35% / cover no-repeat;
}
.seed-visual::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 120px 120px 18px 18px / 50px 50px 18px 18px;
}
.seed-visual::before { background: rgba(255,250,240,.76); backdrop-filter: blur(6px); }
.seed-visual span { z-index: 2; }

.family-album-entry {
  display: grid;
  grid-template-columns: auto minmax(150px, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
  padding: 17px 18px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 24px;
  background: rgba(25,43,33,.42);
  box-shadow: inset 0 1px rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
}
.family-album-peek { display: flex; align-items: center; min-width: 116px; height: 54px; padding-left: 8px; }
.family-album-peek > * {
  position: relative;
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  overflow: hidden;
  margin-left: -9px;
  border: 2px solid rgba(255,250,240,.9);
  border-radius: 50%;
  background: linear-gradient(145deg, #e9d9cc, #a9bba7);
  box-shadow: 0 6px 16px rgba(17,31,23,.24);
}
.family-album-peek img,
.family-album-peek video { width: 100%; height: 100%; display: block; object-fit: cover; }
.family-album-peek .album-story-only { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,250,240,.72); font-size: 15px; }
.family-album-peek .album-video-mark { position: absolute; right: 3px; bottom: 3px; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,250,240,.9); color: #405b48; }
.family-album-peek .album-video-mark svg { width: 10px; height: 10px; fill: currentColor; }
.album-peek-placeholder::after { content: '✿'; position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,250,240,.76); font-size: 15px; }
.family-album-entry-copy p { margin: 0 0 3px; color: #f2b8b5; font-size: 10px; font-weight: 800; letter-spacing: .035em; }
.family-album-entry-copy strong { color: rgba(255,250,240,.9); font-family: var(--font-serif); font-size: 16px; font-weight: 700; }
.family-album-enter {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 18px 0 21px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 999px;
  background: rgba(255,250,240,.96);
  color: #405b48;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(17,31,23,.22);
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.family-album-enter:hover { transform: translateY(-2px); background: white; box-shadow: 0 16px 34px rgba(17,31,23,.28); }
.family-album-enter svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 1050px) {
  .memory-layout { gap: 26px; }
  .memory-form { padding: 34px; }
  .memory-garden { padding: 34px; }
  .memory-form > .field:not(.field-row) { min-width: 0; }
}

@media (max-width: 820px) {
  .firebase-access { grid-template-columns: 1fr; }
  .family-login { grid-template-columns: 1fr 1fr; }
  .family-login .button { grid-column: 1 / -1; }
  .memory-studio .section-heading { margin-bottom: 36px; }
  .memory-layout { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .memory-form,
  .memory-garden { min-width: 0; padding: 27px 23px; border-radius: 32px 32px 24px 24px / 54px 54px 24px 24px; }
  .form-heading h3,
  .memory-garden-heading h3 { font-size: 27px; }
  .drop-zone { min-height: 230px; }
  .memory-rail { grid-template-columns: repeat(2, minmax(270px, 82vw)); margin-right: -23px; }
  .memory-card { min-height: 440px; }
  .family-album-entry { grid-template-columns: auto 1fr; }
  .family-album-enter { grid-column: 1 / -1; width: 100%; }
}

@media (max-width: 560px) {
  .firebase-access { margin-top: -10px; padding: 20px; }
  .family-login { grid-template-columns: 1fr; }
  .family-login .button { grid-column: auto; }
  .family-login input,
  .field input,
  .field textarea,
  .field select,
  .flower-description-field textarea { font-size: 16px; }
  .firebase-session { align-items: flex-start; flex-wrap: wrap; justify-content: flex-start; }
  .memory-studio .section-heading h2 { font-size: 34px; line-height: 1.3; }
  .form-heading { align-items: flex-start; }
  .field-row { grid-template-columns: 1fr; }
  .drop-zone { min-height: 210px; padding-inline: 16px; }
  .drop-copy small { max-width: 220px; }
  .memory-garden-heading { gap: 12px; }
  .memory-rail { grid-template-columns: repeat(2, minmax(255px, 84vw)); }
  .memory-card { min-height: 420px; }
  .family-album-entry { gap: 13px; padding: 15px; }
  .family-album-peek { min-width: 92px; }
  .family-album-peek > * { width: 44px; height: 44px; }
  .family-album-entry-copy strong { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .drop-zone::before,
  .memory-card,
  .family-album-enter,
  .family-album-thumb { transition: none; }
  .memory-card:hover,
  .family-album-enter:hover,
  .family-album-thumb:hover { transform: none; }
}

/* Dreamlike scene transitions. */
:root {
  --scene-tone-rgb: 222, 141, 152;
  --scene-ease: cubic-bezier(.16, 1, .3, 1);
}

html.scene-jump { scroll-behavior: auto !important; }

.site-header { view-transition-name: garden-header; }

.main-nav a[aria-current="location"] { opacity: 1; }
.main-nav a[aria-current="location"]::after { left: 0; right: 0; }

.scene-focus-target:focus { outline: none; }
.scene-focus-target.scene-focus-keyboard:focus {
  outline: 2px solid rgba(var(--scene-tone-rgb),.58);
  outline-offset: 8px;
  border-radius: 8px;
}

.scene-transition {
  position: fixed;
  z-index: 90;
  inset: -8vmax;
  visibility: hidden;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transform: scale(.94);
  background:
    radial-gradient(circle at 50% 46%, rgba(255,255,255,.96) 0 8%, rgba(var(--scene-tone-rgb),.74) 38%, rgba(var(--scene-tone-rgb),.96) 100%);
  transition: opacity 320ms ease-in, transform 320ms ease-in;
  contain: strict;
}

.scene-transition::before,
.scene-transition::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.scene-transition::before {
  background:
    radial-gradient(ellipse at 18% 110%, rgba(255,255,255,.52), transparent 48%),
    radial-gradient(ellipse at 86% -10%, rgba(255,255,255,.42), transparent 43%);
  filter: blur(4px);
  transform: rotate(-3deg) scale(1.08);
}

.scene-transition::after {
  opacity: .34;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.1) 0 1px, transparent 1px 5px),
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.78) 0 1px, transparent 1.5px);
  background-size: auto, 8px 8px;
  mix-blend-mode: soft-light;
}

.scene-turn-page {
  position: absolute;
  z-index: 1;
  inset: 5.5vmax 7vmax;
  opacity: 0;
  border: 1px solid rgba(89,101,84,.13);
  border-radius: 18px 48px 48px 18px;
  background:
    radial-gradient(circle at 84% 16%, rgba(222,141,152,.11), transparent 24%),
    linear-gradient(90deg, rgba(226,220,206,.95), #fffaf0 6%, #fffdf8 84%, rgba(232,224,210,.94));
  box-shadow: -28px 0 55px rgba(55,62,53,.2), inset 18px 0 24px rgba(91,82,68,.07);
  transform: perspective(1500px) rotateY(-78deg) translateX(-8%);
  transform-origin: left center;
  transition: opacity 320ms ease, transform 430ms cubic-bezier(.22,.7,.2,1);
}

.scene-turn-vine {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 108%;
  height: 160px;
  overflow: visible;
  opacity: 0;
  fill: none;
  stroke: rgba(74,105,77,.52);
  stroke-width: 2;
  stroke-linecap: round;
  filter: drop-shadow(0 8px 12px rgba(65,78,64,.12));
  transform: translate(-50%, -50%);
  transition: opacity 260ms ease 100ms;
}
.scene-turn-vine path { stroke-dasharray: 1650; stroke-dashoffset: 1650; transition: stroke-dashoffset 620ms var(--scene-ease); }

body.scene-transitioning .scene-transition {
  visibility: visible;
  will-change: opacity, transform;
  backdrop-filter: blur(4px) saturate(.92);
  -webkit-backdrop-filter: blur(4px) saturate(.92);
}

body.scene-transition-cover .scene-transition {
  opacity: .96;
  transform: scale(1.04);
}
body.scene-transition-cover .scene-turn-page { opacity: .78; transform: perspective(1500px) rotateY(-5deg) translateX(0); }
body.scene-transition-cover .scene-turn-vine { opacity: 1; }
body.scene-transition-cover .scene-turn-vine path { stroke-dashoffset: 0; }

body.scene-transition-reveal .scene-transition {
  opacity: 0;
  transform: scale(1.16);
  transition-duration: 530ms;
  transition-timing-function: var(--scene-ease);
}
body.scene-transition-reveal .scene-turn-page { opacity: 0; transform: perspective(1500px) rotateY(76deg) translateX(8%); transition-duration: 500ms; }
body.scene-transition-reveal .scene-turn-vine { opacity: 0; transition-duration: 340ms; }

.reveal {
  opacity: 0;
  filter: blur(4px);
  transform: translate3d(0, 28px, 0) scale(.985);
  transform-origin: center 58%;
  transition:
    opacity 900ms var(--scene-ease) var(--reveal-delay, 0ms),
    transform 900ms var(--scene-ease) var(--reveal-delay, 0ms),
    filter 900ms var(--scene-ease) var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.reveal.is-visible {
  opacity: 1;
  filter: none;
  transform: none;
  will-change: auto;
}

@keyframes garden-scene-out {
  from { opacity: 1; filter: blur(0) saturate(1); transform: scale(1); }
  to { opacity: 0; filter: blur(4px) saturate(.9) brightness(1.08); transform: scale(1.025); }
}

@keyframes garden-scene-in {
  from { opacity: 0; filter: blur(4px) saturate(.9) brightness(1.12); transform: scale(.985); }
  to { opacity: 1; filter: blur(0) saturate(1) brightness(1); transform: scale(1); }
}

::view-transition-group(root) {
  animation-duration: 850ms;
  animation-timing-function: var(--scene-ease);
}

::view-transition-image-pair(root) {
  isolation: auto;
  background:
    radial-gradient(circle at 50% 46%, rgba(255,255,255,.95), rgba(var(--scene-tone-rgb),.72) 44%, rgb(var(--scene-tone-rgb)) 100%);
}

::view-transition-old(root) {
  animation: garden-scene-out 320ms ease-in both;
  mix-blend-mode: normal;
}

::view-transition-new(root) {
  animation: garden-scene-in 530ms var(--scene-ease) 320ms both;
  mix-blend-mode: normal;
}

::view-transition-group(garden-header),
::view-transition-old(garden-header),
::view-transition-new(garden-header) {
  animation: none;
  mix-blend-mode: normal;
}

@media (max-width: 820px) {
  .chapter-bridge-vine svg { width: 116vw; height: 104px; }
  .chapter-bridge-wash::before { width: 112vw; height: 124px; filter: blur(10px) saturate(.92); }
  .chapter-bridge-wash::after { width: 92vw; height: 52px; }
  .scene-turn-page { inset: 4vmax 5vmax; border-radius: 13px 30px 30px 13px; }
  .scene-transition::before { filter: blur(2px); }
  body.scene-transitioning .scene-transition {
    backdrop-filter: blur(2px) saturate(.94);
    -webkit-backdrop-filter: blur(2px) saturate(.94);
  }
  .reveal {
    filter: blur(2px);
    transform: translate3d(0, 18px, 0) scale(.99);
    transition-duration: 680ms;
  }
  ::view-transition-group(root) { animation-duration: 680ms; }
  ::view-transition-old(root) { animation-duration: 250ms; }
  ::view-transition-new(root) { animation-duration: 430ms; animation-delay: 250ms; }
}

body.motion-reduced .scene-transition {
  visibility: hidden;
  opacity: 0;
  filter: none;
  transform: none;
  transition: none;
  animation: none;
}

body.motion-reduced .chapter-bridge.reveal,
body.motion-reduced .chapter-bridge.reveal.is-visible {
  opacity: 1;
  filter: none;
  transform: none;
  transition: none;
}
body.motion-reduced .chapter-bridge-vine .bridge-stem { stroke-dashoffset: 0; transition: none; }
body.motion-reduced .chapter-bridge-vine .bridge-leaf { opacity: 1; transform: none; transition: none; }
body.motion-reduced .chapter-bridge-vine .bridge-bloom { opacity: 1; transition: none; }
body.motion-reduced .scene-turn-page,
body.motion-reduced .scene-turn-vine { display: none; }

body.motion-reduced .reveal {
  visibility: visible;
  opacity: 1;
  filter: none;
  transform: none;
  transition: none;
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  .scene-transition {
    visibility: hidden;
    opacity: 0;
    filter: none;
    transform: none;
    transition: none;
    animation: none;
  }
  .reveal {
    visibility: visible;
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
    animation: none;
  }
  .chapter-bridge.reveal,
  .chapter-bridge.reveal.is-visible { opacity: 1; filter: none; transform: none; transition: none; }
  .chapter-bridge-vine .bridge-stem { stroke-dashoffset: 0; transition: none; }
  .chapter-bridge-vine .bridge-leaf { opacity: 1; transform: none; transition: none; }
  .chapter-bridge-vine .bridge-bloom { opacity: 1; transition: none; }
  .scene-turn-page,
  .scene-turn-vine { display: none; }
  ::view-transition-group(root),
  ::view-transition-old(root),
  ::view-transition-new(root) { animation: none; }
}

.hero-bokeh { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; mix-blend-mode: screen; }
.hero-bokeh span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,233,201,.5) 0%, rgba(255,213,183,.18) 46%, transparent 72%);
  opacity: 0;
  animation: bokehFloat var(--d) ease-in-out var(--delay) infinite;
}
.hero-bokeh span:nth-child(1) { --x: 12%; --y: 64%; --s: 130px; --d: 21s; --delay: -3s; --drift: 4vw; --o: .5; }
.hero-bokeh span:nth-child(2) { --x: 28%; --y: 78%; --s: 64px; --d: 17s; --delay: -9s; --drift: -3vw; --o: .55; }
.hero-bokeh span:nth-child(3) { --x: 45%; --y: 58%; --s: 180px; --d: 26s; --delay: -14s; --drift: 3vw; --o: .34; }
.hero-bokeh span:nth-child(4) { --x: 60%; --y: 72%; --s: 90px; --d: 19s; --delay: -6s; --drift: -4vw; --o: .5; }
.hero-bokeh span:nth-child(5) { --x: 74%; --y: 60%; --s: 52px; --d: 15s; --delay: -11s; --drift: 2vw; --o: .6; }
.hero-bokeh span:nth-child(6) { --x: 84%; --y: 76%; --s: 150px; --d: 24s; --delay: -1s; --drift: -2vw; --o: .38; }
.hero-bokeh span:nth-child(7) { --x: 36%; --y: 84%; --s: 110px; --d: 22s; --delay: -17s; --drift: 5vw; --o: .45; }
@keyframes bokehFloat {
  0% { transform: translate3d(0, 3vh, 0) scale(.85); opacity: 0; }
  16% { opacity: var(--o); }
  58% { opacity: var(--o); }
  100% { transform: translate3d(var(--drift), -26vh, 0) scale(1.15); opacity: 0; }
}

.map-mist {
  position: absolute;
  z-index: 1;
  left: -6%;
  right: -6%;
  bottom: -30px;
  height: 200px;
  pointer-events: none;
  background:
    radial-gradient(ellipse 42% 90% at 22% 100%, rgba(255,255,255,.4), transparent 70%),
    radial-gradient(ellipse 50% 80% at 62% 100%, rgba(255,255,255,.3), transparent 72%),
    radial-gradient(ellipse 38% 70% at 88% 100%, rgba(255,255,255,.34), transparent 70%);
  animation: mistDrift 30s ease-in-out infinite alternate;
}
@keyframes mistDrift {
  from { transform: translate3d(-2.5%, 0, 0); }
  to { transform: translate3d(2.5%, 0, 0); }
}

.season-glow { animation: glowBreath 12s ease-in-out infinite alternate; }
@keyframes glowBreath {
  from { opacity: .72; transform: scale(.96); }
  to { opacity: 1; transform: scale(1.07); }
}

.cinema-sun::after {
  content: "";
  position: absolute;
  inset: -70%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,215,146,.5), transparent 65%);
  animation: sunHalo 9s ease-in-out infinite alternate;
}
@keyframes sunHalo {
  from { opacity: .55; transform: scale(.92); }
  to { opacity: 1; transform: scale(1.1); }
}

.letter-content h2 { color: #fff6ea; text-shadow: 0 3px 24px rgba(30,24,32,.4); }
.letter-rose { stroke: rgba(255,236,220,.85); }
.letter-rose path:last-child { fill: rgba(255,220,200,.12); }
.button-quiet-light { border-color: rgba(255,232,210,.5); background: rgba(255,236,214,.12); }
.button-quiet-light:hover { background: rgba(255,236,214,.22); box-shadow: 0 12px 34px rgba(38,28,36,.3); }

.letter-snow { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.letter-snow span {
  position: absolute;
  top: -4%;
  left: var(--x);
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,253,248,.9) 0%, rgba(255,253,248,.32) 55%, transparent 76%);
  opacity: 0;
  animation: snowDrift var(--d) linear var(--delay) infinite;
}
.letter-snow span:nth-child(1) { --x: 6%;  --s: 7px;  --d: 15s; --delay: -2s;  --sway: 3vw;  --o: .75; }
.letter-snow span:nth-child(2) { --x: 16%; --s: 12px; --d: 21s; --delay: -12s; --sway: -2vw; --o: .4; }
.letter-snow span:nth-child(3) { --x: 27%; --s: 5px;  --d: 13s; --delay: -7s;  --sway: 2vw;  --o: .8; }
.letter-snow span:nth-child(4) { --x: 38%; --s: 9px;  --d: 18s; --delay: -15s; --sway: -3vw; --o: .55; }
.letter-snow span:nth-child(5) { --x: 52%; --s: 6px;  --d: 14s; --delay: -4s;  --sway: 2.5vw; --o: .7; }
.letter-snow span:nth-child(6) { --x: 64%; --s: 14px; --d: 24s; --delay: -18s; --sway: -2vw; --o: .32; }
.letter-snow span:nth-child(7) { --x: 76%; --s: 7px;  --d: 16s; --delay: -9s;  --sway: 3vw;  --o: .65; }
.letter-snow span:nth-child(8) { --x: 86%; --s: 5px;  --d: 12s; --delay: -1s;  --sway: -2.5vw; --o: .8; }
.letter-snow span:nth-child(9) { --x: 94%; --s: 10px; --d: 20s; --delay: -13s; --sway: 2vw;  --o: .45; }
@keyframes snowDrift {
  0% { transform: translate3d(0, 0, 0); opacity: 0; }
  7% { opacity: var(--o); }
  82% { opacity: var(--o); }
  100% { transform: translate3d(var(--sway), 105vh, 0); opacity: 0; }
}
