:root {
  --sage: #7a8f6a;
  --sage-deep: #5d7250;
  --sage-dark: #3f4f38;
  --sage-soft: #a8b89c;
  --sage-mist: #dfe6d8;
  --beige: #f3eee4;
  --beige-warm: #e8dfd0;
  --cream: #fffcf6;
  --sand: #d9ceb8;
  --gold: #c9a84c;
  --gold-soft: #e2c97a;
  --sun: #f0df9a;
  --ink: #2f3a2c;
  --ink-soft: #5a6754;
  --muted: #7d8776;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(63, 79, 56, 0.12);
  --shadow-soft: 0 10px 30px rgba(63, 79, 56, 0.08);
  --radius: 22px;
  --radius-pill: 999px;
  --font-serif: "Noto Serif KR", "Song Myung", serif;
  --font-sans: "Pretendard", "Noto Sans KR", sans-serif;
  --header-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-y: scroll;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.65;
  background: var(--beige);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: visible;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--sage-deep);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Brand mark */
.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.brand-logo {
  display: block;
  width: auto;
  height: 2.35rem;
  object-fit: contain;
}

.brand-logo--hero {
  height: clamp(4.6rem, 11vw, 7.8rem);
  max-width: min(100%, 32rem);
  filter: drop-shadow(0 2px 10px rgba(255, 252, 246, 0.55)) drop-shadow(0 1px 2px rgba(243, 238, 228, 0.8));
}

.brand-logo--light {
  height: 2.2rem;
}

.site-header .brand-logo {
  height: 2.45rem;
}

.site-footer .brand-logo {
  height: 2.2rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.85rem 1.7rem;
  border-radius: var(--radius-pill);
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), box-shadow 0.35s var(--ease), color 0.35s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--sage);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(93, 114, 80, 0.28);
}

.btn--primary:hover {
  background: var(--sage-deep);
}

.btn--primary:disabled,
.btn--primary:disabled:hover {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn--ghost {
  background: rgba(255, 252, 246, 0.18);
  color: var(--cream);
  border: 1px solid rgba(255, 252, 246, 0.35);
  backdrop-filter: blur(10px);
}

.btn--ghost:hover {
  background: rgba(255, 252, 246, 0.28);
}

.btn--outline {
  background: transparent;
  color: var(--sage-dark);
  border: 1px solid rgba(93, 114, 80, 0.28);
}

.btn--outline:hover {
  background: rgba(122, 143, 106, 0.08);
}

.btn--sm {
  min-height: 2.5rem;
  padding: 0.55rem 1.15rem;
  font-size: 0.9rem;
}

/* Site header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  padding: 0.85rem 0;
  background: rgba(255, 252, 246, 0.92);
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  border-bottom: 1px solid rgba(93, 114, 80, 0.12);
  box-shadow: 0 8px 28px rgba(63, 79, 56, 0.08);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 252, 246, 0.97);
  box-shadow: 0 10px 32px rgba(63, 79, 56, 0.12);
}

.site-header--solid {
  background: rgba(255, 252, 246, 0.95);
}

.site-header__inner {
  width: min(1200px, calc(100% - 2.5rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.8rem;
}

.site-header .brand {
  color: var(--sage-dark);
}

.site-nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

.site-nav a {
  position: relative;
  font-size: 0.95rem;
  color: var(--sage-dark);
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 0.25s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--sage-deep);
}

.site-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.45rem;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.icon-btn {
  width: 2.6rem;
  height: 2.6rem;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: var(--sage-dark);
  background: rgba(122, 143, 106, 0.12);
  transition: background 0.25s ease;
}

.icon-btn:hover {
  background: rgba(122, 143, 106, 0.22);
}

.icon-btn svg {
  width: 1.2rem;
  height: 1.2rem;
}

.icon-btn i {
  font-size: 1.05rem;
  line-height: 1;
}

.nav-toggle {
  display: inline-grid;
}

@media (min-width: 860px) {
  .site-nav {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }
}

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0s linear 0.4s;
}

.mobile-nav.is-open {
  pointer-events: auto;
  visibility: visible;
  transition: visibility 0s linear 0s;
}

.mobile-nav__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(47, 58, 44, 0.35);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.mobile-nav.is-open .mobile-nav__backdrop {
  opacity: 1;
}

.mobile-nav__panel {
  position: absolute;
  inset: 0 0 0 auto;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  border: 0;
  background: var(--cream);
  padding: 1.5rem;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  box-shadow: var(--shadow);
  color: inherit;
}

.mobile-nav__panel[open] {
  display: block;
}

.mobile-nav.is-open .mobile-nav__panel {
  transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
  .mobile-nav,
  .mobile-nav.is-open {
    transition: none;
  }
}

/* Brand story landing page */
.brand-story { overflow: hidden; background: #f6f3eb; color: var(--ink, #27352a); }
.brand-story__hero, .brand-story__promise { position: relative; min-height: min(760px, 86vh); display: grid; align-items: center; overflow: hidden; color: #fff; }
.brand-story__hero-image, .brand-story__promise-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.brand-story__hero-image { animation: brandStoryDrift 14s ease-in-out infinite alternate; }
.brand-story__hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17, 31, 22, .72) 0%, rgba(17, 31, 22, .34) 48%, rgba(17, 31, 22, .06) 100%); }
.brand-story__hero-content { position: relative; z-index: 1; padding-top: 7rem; padding-bottom: 5rem; }
.brand-story__eyebrow { margin: 0 0 1.35rem; color: #a9bd9d; font: 600 .7rem/1.2 var(--font-sans, sans-serif); letter-spacing: .2em; }
.brand-story__hero h1, .brand-story__promise h2 { max-width: 700px; margin: 0; font: 400 clamp(2.6rem, 5vw, 5.2rem)/1.2 var(--font-serif, 'Noto Serif KR', serif); letter-spacing: -.055em; }
.brand-story__hero h1 em, .brand-story__promise h2 em, .brand-story__section-copy h2 em { color: #c0d0b7; font-style: normal; }
.brand-story__hero-content > p:not(.brand-story__eyebrow) { margin: 2rem 0 0; color: rgba(255,255,255,.82); font: 300 1.08rem/1.9 var(--font-sans, sans-serif); }
.brand-story__scroll { display: inline-flex; gap: .8rem; align-items: center; margin-top: 3.8rem; color: #fff; font-size: .85rem; letter-spacing: .08em; }
.brand-story__scroll span { font-size: 1.25rem; transition: transform .25s ease; }
.brand-story__scroll:hover span { transform: translateY(4px); }
.brand-story__intro { padding: 9rem 0; background: #f6f3eb; }
.brand-story__intro-grid, .brand-story__memory-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); gap: clamp(3rem, 10vw, 10rem); align-items: center; }
.brand-story__section-copy h2 { margin: 0 0 2rem; color: #344737; font: 400 clamp(2.2rem, 4vw, 4rem)/1.3 var(--font-serif, 'Noto Serif KR', serif); letter-spacing: -.06em; }
.brand-story__section-copy > p:not(.brand-story__eyebrow) { max-width: 580px; margin: 0 0 1.15rem; color: #697268; font-size: 1rem; line-height: 2; word-break: keep-all; }
.brand-story__quote { padding: 3.5rem 2.5rem; border: 1px solid rgba(114, 137, 105, .25); text-align: center; color: #53674d; }
.brand-story__quote-mark { display: block; height: 2.3rem; font: 4rem/1 var(--font-serif, serif); color: #9eaf94; }
.brand-story__quote blockquote { margin: 1.2rem 0 1.8rem; font: 400 clamp(1.5rem, 2.5vw, 2.2rem)/1.55 var(--font-serif, 'Noto Serif KR', serif); letter-spacing: -.06em; }
.brand-story__quote-rule { display: block; width: 2.5rem; height: 1px; margin: 0 auto 1rem; background: #9eaf94; }
.brand-story__quote p { margin: 0; color: #8a9387; font-size: .78rem; letter-spacing: .12em; }
.brand-story__memory { padding: 8rem 0; background: #40543e; }
.brand-story__memory-media { position: relative; overflow: hidden; }
.brand-story__memory-media img { display: block; width: 100%; aspect-ratio: 1.5; object-fit: cover; }
.brand-story__section-copy--light h2 { color: #f4f0e7; }
.brand-story__section-copy--light > p:not(.brand-story__eyebrow) { color: rgba(244, 240, 231, .72); }
.brand-story__section-copy--light .brand-story__eyebrow { color: #b8cbb0; }
.btn--light { display: inline-flex; gap: .8rem; align-items: center; margin-top: 1.5rem; border: 1px solid rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn--light:hover { border-color: #fff; background: rgba(255,255,255,.13); }
.brand-story__promise { min-height: 670px; }
.brand-story__promise-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(45, 62, 49, .72), rgba(45, 62, 49, .18)); }
.brand-story__promise-content { position: relative; z-index: 1; }
.brand-story__promise-content > p:not(.brand-story__eyebrow) { margin: 1.8rem 0 0; color: rgba(255,255,255,.82); font-size: 1rem; }
@keyframes brandStoryDrift { from { transform: scale(1.02); } to { transform: scale(1.08); } }
@media (max-width: 759px) {
  .brand-story__hero, .brand-story__promise { min-height: 680px; }
  .brand-story__hero-content { padding-top: 5rem; }
  .brand-story__hero-overlay, .brand-story__promise-overlay { background: linear-gradient(90deg, rgba(17, 31, 22, .76), rgba(17, 31, 22, .28)); }
  .brand-story__intro { padding: 5.5rem 0; }
  .brand-story__intro-grid, .brand-story__memory-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .brand-story__quote { padding: 2.5rem 1.5rem; }
  .brand-story__memory { padding: 5.5rem 0; }
  .brand-story__promise { min-height: 600px; }
}

/* Forest stories archive */
.forest-story--archive { background: #f5f1e8; }
.forest-story__archive-hero { position: relative; min-height: min(680px, 82vh); display: grid; align-items: center; overflow: hidden; color: #fff; }
.forest-story__archive-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: forestStoryDrift 15s ease-in-out infinite alternate; }
.forest-story__archive-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(25, 43, 29, .78), rgba(25, 43, 29, .28) 65%, rgba(25, 43, 29, .08)); }
.forest-story__archive-content { position: relative; z-index: 1; padding-top: 6.5rem; padding-bottom: 4.5rem; }
.forest-story__archive-content h1 { max-width: 700px; margin: 0; font: 400 clamp(2.7rem, 5vw, 5rem)/1.2 var(--font-serif, 'Noto Serif KR', serif); letter-spacing: -.06em; }
.forest-story__archive-content h1 em, .forest-story__archive-cta h2 em { color: #c2d3b7; font-style: normal; }
.forest-story__archive-content > p:not(.forest-story__eyebrow) { margin: 1.8rem 0 0; color: rgba(255,255,255,.82); font-size: 1.05rem; line-height: 1.9; }
.forest-story__archive-list { padding: 7.5rem 0 8.5rem; }
.forest-story-detail { padding: 6rem 0; background: #e8ede1; }
.forest-story-detail__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 8vw, 8rem); align-items: center; }
.forest-story-detail__photo { overflow: hidden; background: #d8e1d1; }
.forest-story-detail__photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.forest-story-detail__content { position: relative; }
.forest-story-detail__back { display: inline-block; margin-bottom: 3rem; color: #687866; font-size: .8rem; }
.forest-story-detail__relation { margin: 0 0 .6rem; color: #81927b; font-size: .8rem; }
.forest-story-detail h2 { margin: 0; color: #344737; font: 400 clamp(2.5rem, 4vw, 4.3rem)/1.2 var(--font-serif, 'Noto Serif KR', serif); letter-spacing: -.06em; }
.forest-story-detail__dates { margin: .8rem 0 2rem; color: #9aa698; font-size: .8rem; }
.forest-story-detail blockquote { margin: 0 0 2rem; color: #657362; font: 400 1.1rem/1.9 var(--font-serif, 'Noto Serif KR', serif); word-break: keep-all; }
.forest-story-detail__memories { border-top: 1px solid rgba(82, 105, 78, .25); }
.forest-story-detail__memories div { padding: 1rem 0; border-bottom: 1px solid rgba(82, 105, 78, .25); }
.forest-story-detail__memories strong { display: block; margin-bottom: .35rem; color: #7d9177; font-size: .72rem; font-weight: 500; }
.forest-story-detail__memories p { margin: 0; color: #687568; font-size: .88rem; line-height: 1.8; word-break: keep-all; }
.forest-story__list-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 3rem; }
.forest-story__list-head h2 { margin: 0; color: #344737; font: 400 clamp(2rem, 3.5vw, 3.4rem)/1.25 var(--font-serif, 'Noto Serif KR', serif); letter-spacing: -.06em; }
.forest-story__list-head > p { margin: 0; color: #7b8478; font-size: .9rem; line-height: 1.7; text-align: right; }
.forest-story__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.forest-story-card { overflow: hidden; background: #fbf9f3; box-shadow: 0 14px 35px rgba(56, 70, 54, .08); }
.forest-story-card__photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #dfe5d8; }
.forest-story-card__photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease, ease); }
.forest-story-card:hover .forest-story-card__photo img { transform: scale(1.05); }
.forest-story-card__badge { position: absolute; top: 1rem; left: 1rem; padding: .42rem .65rem; color: #fff; background: rgba(57, 79, 56, .78); font-size: .68rem; letter-spacing: .06em; }
.forest-story-card__body { position: relative; min-height: 17.2rem; padding: 1.55rem 1.55rem 4.2rem; }
.forest-story-card__meta { display: flex; justify-content: space-between; gap: 1rem; color: #8a9585; font-size: .73rem; }
.forest-story-card__meta time { color: #adb4a9; }
.forest-story-card h3 { margin: .75rem 0 1.1rem; color: #3e513d; font: 500 1.65rem/1.2 var(--font-serif, 'Noto Serif KR', serif); letter-spacing: -.05em; }
.forest-story-card__story-label { margin: 0 0 .4rem; color: #9aaa91; font-size: .73rem; }
.forest-story-card__story { display: -webkit-box; min-height: 4.6em; margin: 0; overflow: hidden; color: #697268; font-size: .92rem; line-height: 1.8; word-break: keep-all; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.forest-story-card__story--empty { color: #a6ada1; }
.forest-story-card__link { position: absolute; right: 1.55rem; bottom: 1.7rem; left: 1.55rem; display: inline-flex; gap: .5rem; align-items: center; color: #52694e; font-size: .78rem; }
.forest-story-card__link span { transition: transform .25s ease; }
.forest-story-card__link:hover span { transform: translateX(4px); }
.forest-story__empty { padding: 5rem 1rem; text-align: center; background: rgba(255,255,255,.48); }
.forest-story__empty > span { color: #9bad91; font-size: 1.6rem; }
.forest-story__empty h3 { margin: 1rem 0 .75rem; color: #465a43; font: 500 1.45rem var(--font-serif, 'Noto Serif KR', serif); }
.forest-story__empty p { margin: 0; color: #7b8478; line-height: 1.8; }
.forest-story__empty .btn { margin-top: 1.5rem; }
.forest-story__archive-cta { position: relative; min-height: 430px; display: grid; align-items: center; overflow: hidden; color: #fff; background: #40543e var(--forest-story-cta-image) center 58% / cover no-repeat; }
.forest-story__archive-cta::before { content: ''; position: absolute; inset: 0; background: rgba(30, 51, 33, .65); }
.forest-story__archive-cta-inner { position: relative; z-index: 1; width: 100%; text-align: center; }
.forest-story__archive-cta h2 { margin: 0; font: 400 clamp(2rem, 4vw, 3.8rem)/1.3 var(--font-serif, 'Noto Serif KR', serif); letter-spacing: -.06em; }
.forest-story__archive-cta .btn { margin-top: 1.5rem; }
.garden-stage--public .garden-actions { display: block; }
.garden-stage--public .garden-actions__more,
.garden-stage--public .garden-switcher,
.garden-stage--public [data-garden-action="letter"] { display: none !important; }
.garden-stage--public .garden-actions__menu { display: flex; gap: .55rem; }
.garden-stage--public .garden-ambient [data-ambient="sun"],
.garden-stage--public .garden-ambient [data-ambient="wind"],
.garden-stage--public .garden-ambient [data-garden-bg-open],
.garden-stage--public .garden-audio-credit__list { display: none !important; }
.garden-mobile-story-hint { display: none; }
@media (max-width: 900px) { .forest-story__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 759px) {
  .forest-story__archive-hero { min-height: 620px; }
  .forest-story__archive-content { padding-top: 5rem; }
  .forest-story__archive-list { padding: 5.5rem 0 6rem; }
  .forest-story-detail { padding: 4.5rem 0; }
  .forest-story-detail__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .forest-story-detail__back { margin-bottom: 2rem; }
  .forest-story__list-head { display: block; margin-bottom: 2.2rem; }
  .forest-story__list-head > p { margin-top: 1rem; text-align: left; }
  .forest-story__cards { grid-template-columns: 1fr; }
  .forest-story__archive-cta { min-height: 380px; }
}

@media (max-width: 859px) {
  .garden-stage--public .garden-actions__menu {
    position: static;
    display: flex;
    gap: .55rem;
    width: auto;
    padding: 0;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }
}

@media (max-width: 759px) {
  .page-garden { width: 100%; height: 100svh; overflow: hidden; overscroll-behavior: none; }
  .page-garden .garden-stage { width: 100%; height: 100svh; min-height: 100svh; overflow: hidden; overscroll-behavior: none; touch-action: none; }
  .garden-stage--has-tribute .garden-tribute-message { display: none; }
  .garden-stage--has-tribute .garden-mobile-story-hint {
    position: fixed;
    bottom: 5.2rem;
    left: 50%;
    z-index: 6;
    display: grid;
    place-items: center;
    width: 3.2rem;
    height: 2rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: rgba(255, 252, 246, .9);
    background: transparent;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .65);
    transform: translateX(-50%);
    animation: mobileStoryHint 1.7s ease-in-out infinite;
    pointer-events: auto;
  }
  .garden-stage--has-tribute .garden-mobile-story-hint span {
    position: relative;
    display: block;
    width: 1rem;
    height: 1rem;
    margin-top: -.2rem;
  }
  .garden-stage--has-tribute .garden-mobile-story-hint span::before,
  .garden-stage--has-tribute .garden-mobile-story-hint span::after {
    content: '';
    position: absolute;
    left: 50%;
    width: .58rem;
    height: .58rem;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateX(-50%) rotate(45deg);
  }
  .garden-stage--has-tribute .garden-mobile-story-hint span::before { top: -.05rem; }
  .garden-stage--has-tribute .garden-mobile-story-hint span::after { top: .38rem; }
  .garden-stage--has-tribute.is-mobile-tribute-open .garden-mobile-story-hint { animation: mobileStoryHintUp 1.7s ease-in-out infinite; }
  .garden-stage--has-tribute.is-mobile-tribute-open .garden-mobile-story-hint span { transform: rotate(180deg); }
  .garden-stage--has-tribute .garden-info { transition: transform .8s cubic-bezier(.22, .75, .24, 1), opacity .65s ease; }
  .garden-stage--has-tribute.is-mobile-tribute-open .garden-info { transform: translateY(-105vh); opacity: 0; pointer-events: none; }
  .garden-stage--has-tribute.is-mobile-tribute-open .garden-tribute-message {
    display: block;
    position: absolute;
    top: 7.2rem;
    left: 50%;
    width: min(420px, calc(100% - 2rem));
    margin: 0;
    transform: translateX(-50%);
    animation: mobileTributeIn .8s cubic-bezier(.22, .75, .24, 1) both;
  }
  .garden-stage--has-tribute.is-mobile-tribute-open .garden-panel { top: 0; bottom: 0; transform: none; align-items: flex-start; }
}

@keyframes mobileStoryHint { 0%, 100% { transform: translateX(-50%) translateY(0); opacity: .68; } 50% { transform: translateX(-50%) translateY(5px); opacity: 1; } }
@keyframes mobileStoryHintUp { 0%, 100% { transform: translateX(-50%) translateY(0); opacity: .68; } 50% { transform: translateX(-50%) translateY(-5px); opacity: 1; } }
@keyframes mobileTributeIn { from { opacity: 0; transform: translate(-50%, 1.5rem); } to { opacity: 1; transform: translate(-50%, 0); } }

.mobile-nav__panel a {
  display: block;
  padding: 0.95rem 0.25rem;
  border-bottom: 1px solid rgba(93, 114, 80, 0.1);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--sage-dark);
}

.mobile-nav__panel a.is-active {
  color: var(--sage-deep);
  font-weight: 600;
}

/* Side drawer (notify / account) */
.side-drawer {
  position: fixed;
  inset: 0;
  z-index: 85;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0s linear 0.4s;
}

.side-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
  transition: visibility 0s linear 0s;
}

.side-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(47, 58, 44, 0.35);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.side-drawer.is-open .side-drawer__backdrop {
  opacity: 1;
}

.side-drawer__panel {
  position: absolute;
  inset: 0 0 0 auto;
  top: 0;
  right: 0;
  width: min(360px, 90vw);
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  border: 0;
  padding: 0;
  background: var(--cream);
  color: var(--ink);
  box-shadow: -12px 0 40px rgba(63, 79, 56, 0.14);
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}

.side-drawer__panel[open] {
  display: flex;
}

.side-drawer.is-open .side-drawer__panel {
  transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
  .side-drawer,
  .side-drawer.is-open {
    transition: none;
  }
}

.side-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid rgba(93, 114, 80, 0.12);
}

.side-drawer__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--sage-dark);
  letter-spacing: -0.02em;
}

.side-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 1.15rem 1.25rem 1.6rem;
}

.notify-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.notify-list__item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  background: rgba(122, 143, 106, 0.08);
  border: 1px solid rgba(93, 114, 80, 0.08);
}

.notify-list__item.is-unread {
  background: rgba(226, 201, 122, 0.16);
  border-color: rgba(201, 168, 76, 0.28);
}

.notify-list__icon {
  width: 2.2rem;
  height: 2.2rem;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 252, 246, 0.9);
  color: var(--sage-deep);
  font-size: 0.95rem;
}

.notify-list__text {
  margin: 0 0 0.3rem;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--ink);
}

.notify-list__time {
  font-size: 0.8rem;
  color: var(--muted);
}

.account-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem;
  margin-bottom: 1.2rem;
  border-radius: 1.1rem;
  background: rgba(122, 143, 106, 0.1);
  border: 1px solid rgba(93, 114, 80, 0.1);
}

.account-card__avatar {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 252, 246, 0.95);
  color: var(--sage-deep);
  font-size: 1.15rem;
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.2);
}

.account-card__avatar--image { overflow: hidden; }
.account-card__avatar--image img { width: 100%; height: 100%; object-fit: cover; }

.account-card__name {
  margin: 0 0 0.2rem;
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--sage-dark);
}

.account-card__meta {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
}

.account-menu {
  display: grid;
  gap: 0.35rem;
}

.account-menu a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 0.85rem;
  border-radius: 0.9rem;
  color: var(--sage-dark);
  font-weight: 500;
  transition: background 0.25s ease;
}

.account-menu a:hover {
  background: rgba(122, 143, 106, 0.1);
}

.account-menu i {
  width: 1.25rem;
  text-align: center;
  color: var(--sage);
}

.account-menu__logout {
  margin: 0;
}

.account-menu__logout button {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.95rem 0.85rem;
  border-radius: 0.9rem;
  color: var(--sage-dark);
  font-weight: 500;
  text-align: left;
  transition: background 0.25s ease;
}

.account-menu__logout button:hover {
  background: rgba(122, 143, 106, 0.1);
}

.account-menu__logout i {
  width: 1.25rem;
  text-align: center;
  color: var(--sage);
}

.account-card--guest {
  margin-bottom: 1rem;
}

.account-guest__message {
  margin: 0 0 1.15rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.account-guest__cta {
  width: 100%;
}

/* Login page */
.page-login {
  min-height: 100svh;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(226, 201, 122, 0.22), transparent 42%),
    radial-gradient(ellipse at 85% 0%, rgba(168, 184, 156, 0.35), transparent 45%),
    linear-gradient(180deg, #fbf8f1 0%, var(--cream) 42%, #e8efe3 100%);
}

.login-shell {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: calc(var(--header-h) + 2rem) 1.25rem 3.5rem;
}

.login-panel {
  width: min(26rem, 100%);
  padding: 2rem 1.6rem 1.75rem;
  border-radius: 1.4rem;
  background: rgba(255, 252, 246, 0.88);
  border: 1px solid rgba(93, 114, 80, 0.12);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
}

.login-panel__eyebrow {
  margin: 0 0 0.55rem;
  font-family: var(--font-serif);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--sage);
}

.login-panel__title {
  margin: 0 0 0.55rem;
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3.2vw, 2.1rem);
  font-weight: 600;
  color: var(--sage-dark);
  letter-spacing: -0.02em;
}

.login-panel__desc {
  margin: 0 0 1.35rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}

.login-alert {
  margin: 0 0 1rem;
  padding: 0.8rem 0.95rem;
  border-radius: 0.85rem;
  background: rgba(180, 90, 70, 0.1);
  border: 1px solid rgba(180, 90, 70, 0.22);
  color: #8a4334;
  font-size: 0.9rem;
}

.login-form {
  display: grid;
  gap: 1rem;
}

.register-steps {
  display: flex;
  gap: 0.45rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
  font-size: 0.78rem;
  color: var(--muted);
}

.register-step {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex: 1;
  line-height: 1.35;
}

.register-step span {
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--beige-warm);
}

.register-step.is-active { color: var(--sage-deep); font-weight: 600; }
.register-step.is-active span { color: var(--white); background: var(--sage-deep); }
.login-panel__step-title { margin: 0 0 1.25rem; font-size: 1.15rem; }
.register-terms { padding: 1rem; border: 1px solid var(--beige-warm); border-radius: 0.75rem; color: var(--ink-soft); font-size: 0.9rem; }
.register-consent { display: flex; justify-content: flex-start; gap: 0.45rem; align-items: center; margin: 1rem 0 1.25rem; }
.register-consent input { width: 1rem; height: 1rem; margin: 0; flex: 0 0 auto; accent-color: var(--sage-deep); }
.register-consent span { line-height: 1.4; }
.register-terms-more { margin-left: 0.15rem; padding: 0; color: var(--sage-deep); font-size: 0.82rem; text-decoration: underline; text-underline-offset: 0.18em; }
.register-terms-more:hover { color: var(--sage-dark); }
.register-terms-modal { width: 32rem; max-width: calc(100vw - 2.5rem); height: 38rem; max-height: calc(100vh - 2.5rem); }
.register-terms-modal .app-modal__inner { display: flex; flex-direction: column; height: 100%; min-height: 0; text-align: left; }
.register-terms-modal__body { color: var(--ink-soft); font-size: 0.88rem; }
.register-terms-modal__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding-right: 0.55rem; }
.register-terms-modal__body h3 { margin: 1rem 0 0.2rem; color: var(--sage-dark); font-size: 0.95rem; }
.register-terms-modal__body h3:first-child { margin-top: 0; }
.register-terms-modal__body p { margin: 0; }
.register-terms-modal__note { margin-top: 1rem !important; padding-top: 0.85rem; border-top: 1px solid rgba(93, 114, 80, 0.14); font-size: 0.78rem; color: var(--muted); }
.register-terms-modal .app-modal__action { flex: 0 0 auto; margin-top: 1.5rem; }
.register-step-help { margin: 0.35rem 0 1.25rem; color: var(--muted); font-size: 0.82rem; }
.register-step-panel[data-register-step="3"] { display: grid; gap: 1rem; }
.register-step-panel[hidden] { display: none !important; }
.register-step-panel[data-register-step="3"] .login-panel__step-title { margin-bottom: 0.15rem; }
.register-email-code { display: grid; gap: 0.75rem; margin-top: 0.25rem; }
.register-email-code[hidden] { display: none !important; }
.register-email-code .register-step-help { margin: 0; }

.login-field {
  display: grid;
  gap: 0.4rem;
}

.login-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--sage-dark);
}

.login-input {
  width: 100%;
  min-height: 2.9rem;
  padding: 0.7rem 0.95rem;
  border: 1px solid rgba(93, 114, 80, 0.16);
  border-radius: 0.85rem;
  background: rgba(255, 252, 246, 0.95);
  color: var(--ink);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.login-input::placeholder {
  color: rgba(125, 135, 118, 0.75);
}

.login-input:focus {
  border-color: rgba(122, 143, 106, 0.55);
  background: var(--cream);
  box-shadow: 0 0 0 3px rgba(168, 184, 156, 0.28);
}

.login-remember {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  width: 100%;
  color: var(--ink-soft);
  font-size: 0.9rem;
  cursor: pointer;
  user-select: none;
}

.login-remember.register-consent {
  justify-content: flex-start;
  gap: 0.45rem;
}

.login-remember__label {
  line-height: 1.4;
}

.login-remember__switch {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
}

.login-remember__switch input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}

.login-remember__track {
  display: block;
  width: 2.6rem;
  height: 1.45rem;
  border-radius: var(--radius-pill);
  background: rgba(93, 114, 80, 0.22);
  box-shadow: inset 0 1px 2px rgba(47, 58, 44, 0.08);
  transition: background 0.25s var(--ease);
}

.login-remember__thumb {
  position: absolute;
  top: 0.18rem;
  left: 0.18rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--cream);
  box-shadow: 0 1px 4px rgba(47, 58, 44, 0.18);
  transition: transform 0.25s var(--ease);
  pointer-events: none;
}

.login-remember__switch input:checked + .login-remember__track {
  background: var(--sage);
}

.login-remember__switch input:checked + .login-remember__track .login-remember__thumb {
  transform: translateX(1.15rem);
}

.login-remember__switch input:focus-visible + .login-remember__track {
  box-shadow: 0 0 0 3px rgba(168, 184, 156, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  .login-remember__track,
  .login-remember__thumb {
    transition: none;
  }
}

.login-form__submit {
  width: 100%;
  margin-top: 0.15rem;
}

.login-social-divider { display: flex; align-items: center; gap: 0.8rem; margin: 1.4rem 0 1rem; color: var(--ink-soft); font-size: 0.8rem; }
.login-social-divider::before, .login-social-divider::after { content: ""; flex: 1; height: 1px; background: rgba(93, 114, 80, 0.16); }
.login-social-buttons { display: grid; gap: 0.55rem; }
.login-social-button { justify-content: center; gap: 0.5rem; width: 100%; padding: 0.72rem 1rem; border: 1px solid rgba(93, 114, 80, 0.14); background: #fffdf8; color: var(--sage-dark); text-decoration: none; }
.login-social-icon { display: inline-grid; place-items: center; width: 1.25rem; height: 1.25rem; font-weight: 700; line-height: 1; }
.login-social-icon--google { color: #4285f4; font-size: 1rem; }
.login-social-icon--kakao { color: #191919; font-size: 0.95rem; }
.login-social-icon--naver { border-radius: 0.2rem; background: #fff; color: #03a94d; font-size: 0.85rem; }
.login-social-icon svg { display: block; width: 1.2rem; height: 1.2rem; }
.login-social-icon--kakao svg { fill: #191919; width: 1.15rem; height: 1.15rem; }
.login-social-icon--naver span { color: #03c75a; }
.login-social-button:hover { background: rgba(168, 184, 156, 0.18); }
.login-social-button--kakao { background: #fee500; border-color: #fee500; color: #191919; }
.login-social-button--naver { background: #03c75a; border-color: #03c75a; color: white; }

.login-switch {
  margin: 1.15rem 0 0;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.login-switch a {
  margin-left: 0.35rem;
  color: var(--sage-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.login-switch a:hover {
  color: var(--sage-dark);
}

.login-switch--secondary {
  margin-top: 0.55rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.forgot-sent {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  margin: 1.75rem 0 1.5rem;
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius);
  background: rgba(93, 114, 80, 0.07);
}

.forgot-sent__icon {
  width: 2.8rem;
  height: 2.8rem;
  color: var(--sage-deep);
}

.forgot-sent__note {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.6;
  text-align: center;
}

.login-hint {
  margin: 1.2rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(93, 114, 80, 0.1);
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.55;
  word-break: break-all;
}

.login-hint code {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--sage-deep);
}

/* Account page */
.page-account {
  min-height: 100svh;
  background:
    radial-gradient(ellipse at 18% 8%, rgba(226, 201, 122, 0.18), transparent 42%),
    radial-gradient(ellipse at 88% 0%, rgba(168, 184, 156, 0.28), transparent 46%),
    linear-gradient(180deg, #fbf8f1 0%, var(--cream) 40%, #e8efe3 100%);
}

.account-shell {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: calc(var(--header-h) + 2rem) 0 3.5rem;
}

.account-hero {
  margin-bottom: 1.5rem;
}

.account-hero__eyebrow {
  margin: 0 0 0.45rem;
  font-family: var(--font-serif);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--sage);
}

.account-hero__title {
  margin: 0 0 0.45rem;
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3.2vw, 2.2rem);
  font-weight: 600;
  color: var(--sage-dark);
  letter-spacing: -0.02em;
}

.account-hero__desc {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.account-tabs {
  --account-tab-surface: #fffdf8;
  --account-tab-border: rgba(93, 114, 80, 0.14);
  display: flex;
  flex-direction: column;
}

.account-tabs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.35rem;
  position: relative;
  z-index: 2;
  padding: 0;
}

.account-tabs__tab {
  appearance: none;
  position: relative;
  flex: 0 0 auto;
  margin: 0;
  min-width: 0;
  min-height: 2.7rem;
  padding: 0.65rem 1.2rem;
  border: 1px solid var(--account-tab-border);
  border-bottom: 0;
  border-radius: 0.85rem 0.85rem 0 0;
  background: rgba(168, 184, 156, 0.28);
  color: rgba(63, 79, 56, 0.72);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.account-tabs__tab:hover {
  background: rgba(168, 184, 156, 0.38);
  color: var(--sage-dark);
}

.account-tabs__tab.is-active {
  z-index: 3;
  margin-bottom: -1px;
  padding-bottom: calc(0.65rem + 1px);
  background: var(--account-tab-surface);
  color: var(--sage-dark);
  border-color: var(--account-tab-border);
  border-bottom-color: transparent;
}

.account-tabs__tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 4px;
  background: var(--account-tab-surface);
  pointer-events: none;
}

.account-tabs__tab:focus-visible {
  outline: 2px solid rgba(93, 114, 80, 0.35);
  outline-offset: 2px;
  z-index: 4;
}

.account-tabs__body {
  position: relative;
  z-index: 1;
  padding: 1.25rem 1.15rem 1.85rem;
  border-radius: 0 1.25rem 1.25rem 1.25rem;
  background: var(--account-tab-surface);
  border: 1px solid var(--account-tab-border);
  box-shadow: var(--shadow-soft);
  overflow: visible;
}

.account-tabs__panel[hidden] {
  display: none;
}

.account-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.account-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.2rem 1.1rem 1.25rem;
  border-radius: 1.1rem;
  background: rgba(255, 252, 246, 0.72);
  border: 1px solid rgba(93, 114, 80, 0.1);
  box-shadow: none;
}

.account-panel--wide {
  grid-column: 1 / -1;
}

.account-profile__identity { margin-bottom: 1rem; text-align: center; }
.account-profile__social-badges { position: absolute; top: 1.35rem; right: 1.35rem; display: flex; gap: 0.35rem; }
.account-profile__social-badges .login-social-icon { width: 1.5rem; height: 1.5rem; border-radius: 50%; background: #fffdf8; box-shadow: 0 2px 8px rgba(47, 65, 43, 0.12); }
.account-panel:has(.account-profile__social-badges) { position: relative; }
.account-profile__avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 5.5rem;
  height: 5.5rem;
  overflow: visible;
  border-radius: 50%;
  background: rgba(168, 184, 156, 0.25);
  color: var(--sage-dark);
  font-size: 2rem;
  margin: 0 auto;
  cursor: pointer;
}
.account-profile__avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.account-profile__avatar--fallback img { display: none; }
.account-profile__upload-hint { position: absolute; top: calc(100% + 0.35rem); left: 50%; transform: translateX(-50%); width: max-content; color: var(--sage-dark); font-size: 0.72rem; white-space: nowrap; }
.account-profile__avatar--fallback { border: 1px solid rgba(93, 114, 80, 0.16); }
.account-profile__upload { display: flex; align-items: center; gap: 0.55rem; margin-bottom: 1rem; }
.account-profile__upload .btn { cursor: pointer; }

.account-panel--danger { width: 100%; border-color: rgba(93, 114, 80, 0.14); }
.account-delete-list { margin: 0.35rem 0 1.35rem; padding-left: 1.25rem; color: var(--ink-soft); line-height: 1.8; }
.account-delete-confirm { display: flex; align-items: flex-start; gap: 0.55rem; margin-top: 0.2rem; color: var(--ink-soft); font-size: 0.9rem; }
.account-delete-confirm input { margin-top: 0.25rem; accent-color: var(--sage); }
.btn--danger { background: var(--sage); color: #fffaf6; }
.btn--danger:hover, .btn--danger:focus-visible { background: var(--sage-dark); }

.account-panel--flush {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}

.account-panel__title {
  margin: 0 0 0.35rem;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--sage-dark);
}

.account-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
}

.account-panel__head-copy {
  min-width: 0;
}

.account-panel__head .account-panel__title {
  margin-bottom: 0.35rem;
}

.account-panel__meta--flush {
  margin-bottom: 0;
}

.letters-empty {
  display: grid;
  gap: 0.7rem;
  justify-items: center;
  text-align: center;
  padding: 2.2rem 1rem 1.6rem;
}

.letters-empty__text {
  margin: 0;
  color: var(--sage-dark);
  font-size: 1.05rem;
  font-weight: 600;
}

.letters-empty__hint {
  margin: 0 0 0.35rem;
  max-width: 26rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.letters-search {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 1rem;
}

.letters-search__field {
  position: relative;
  display: block;
  width: min(100%, 18rem);
}

.letters-search__field > i {
  position: absolute;
  top: 50%;
  left: 0.85rem;
  transform: translateY(-50%);
  color: rgba(93, 114, 80, 0.55);
  font-size: 0.82rem;
  pointer-events: none;
}

.letters-search__input {
  width: 100%;
  height: 2.45rem;
  padding: 0 0.85rem 0 2.25rem;
  border: 1px solid rgba(93, 114, 80, 0.16);
  border-radius: 0.8rem;
  background: rgba(255, 252, 246, 0.9);
  color: var(--ink);
  font: inherit;
}

.letters-search__input::placeholder {
  color: rgba(63, 79, 56, 0.48);
}

.letters-search__input:focus {
  outline: 2px solid rgba(93, 114, 80, 0.28);
  outline-offset: 1px;
  border-color: rgba(93, 114, 80, 0.28);
}

.letters-search__empty {
  margin: 1.5rem 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 0.9rem;
}

.letters-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
}
.account-panel__head-actions { display: flex; align-items: center; gap: 0.75rem; margin-left: auto; }
.account-panel__head-actions .letters-trash { order: 2; }
.account-panel__head-actions .btn { order: 1; }
.letters-trash { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2.35rem; padding: 0.45rem 0.7rem; border: 1px dashed rgba(119, 82, 64, 0.3); border-radius: 0.7rem; color: var(--muted); font-size: 0.72rem; transition: 0.2s ease; }
.letters-trash.is-ready { border-color: rgba(166, 91, 64, 0.65); color: #a65b40; background: rgba(255, 238, 225, 0.65); }
.letters-trash.is-over { transform: scale(1.04); background: rgba(236, 196, 177, 0.75); color: #853d28; }
.letters-card.is-dragging { opacity: 0.35; }

.letters-item {
  margin: 0;
}

.letters-card {
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
  font: inherit;
  cursor: pointer;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
  transition: transform 0.2s var(--ease);
}

.letters-card:hover,
.letters-card:focus-visible {
  outline: none;
  transform: translateY(-3px);
}

.letters-card__envelope {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background: transparent;
  flex-shrink: 0;
}

.letters-card__envelope img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.35s var(--ease);
}

.letters-card:hover .letters-card__envelope img,
.letters-card:focus-visible .letters-card__envelope img {
  transform: scale(1.025);
}

.letters-card__summary {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 0.5rem;
  padding: 0;
  cursor: pointer;
  list-style: none;
}

.letters-card__summary::-webkit-details-marker {
  display: none;
}

.letters-card__meta {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
  justify-items: center;
  text-align: center;
}

.letters-card__date {
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  line-height: 1.35;
}

.letters-card__to {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem;
  color: var(--sage-dark);
  font-family: var(--font-serif);
  font-size: 0.92rem;
  font-weight: 600;
  justify-content: center;
}

.letters-card__relation {
  color: var(--ink-soft);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
}

.letters-card__preview {
  display: none;
}

@media (max-width: 900px) {
  .letters-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .letters-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .letters-card__summary {
    padding: 0.75rem;
  }

  .letters-card__envelope {
    width: 100%;
  }
}

.sent-letter-modal__inner {
  position: relative;
  width: 100%;
  max-height: calc(100vh - 1.5rem);
  overflow-y: auto;
  padding: 2.15rem 1.7rem 1.7rem;
  text-align: left;
}

.sent-letter-modal__form {
  gap: 1.3rem;
}

.sent-letter-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.85rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  color: var(--ink-soft);
  font-size: 1.5rem;
  line-height: 1;
}

.sent-letter-modal__textarea {
  width: 100%;
  min-height: 248px;
  margin: 0;
  padding: 0;
  border: 0;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='32'%3E%3Cline x1='0' y1='31.5' x2='100' y2='31.5' stroke='%235d7250' stroke-opacity='0.22' stroke-width='1' stroke-dasharray='2 5'/%3E%3C/svg%3E");
  background-size: 100% 32px;
  background-repeat: repeat-y;
  line-height: 32px;
  color: var(--ink);
  font-family: var(--font-serif);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.account-panel__add {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.85rem;
  color: var(--sage-dark);
  background: rgba(122, 143, 106, 0.12);
  border: 1px solid rgba(93, 114, 80, 0.16);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.account-panel__add:hover,
.account-panel__add:focus-visible {
  background: rgba(122, 143, 106, 0.2);
  border-color: rgba(93, 114, 80, 0.28);
  outline: none;
  transform: translateY(-1px);
}

.account-panel__add i {
  font-size: 0.95rem;
  line-height: 1;
}

.account-panel__meta {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.account-alert {
  margin: 0 0 0.95rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.85rem;
  background: rgba(180, 90, 70, 0.1);
  border: 1px solid rgba(180, 90, 70, 0.22);
  color: #8a4334;
  font-size: 0.9rem;
}

.account-alert--ok {
  background: rgba(122, 143, 106, 0.12);
  border-color: rgba(93, 114, 80, 0.22);
  color: var(--sage-dark);
}

.account-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  flex: 1;
}

.account-form__submit {
  width: 100%;
  margin-top: auto;
}

.sanctuary-empty {
  display: grid;
  gap: 1rem;
  justify-items: center;
  text-align: center;
  padding: 0.85rem 0 0.2rem;
  color: var(--ink-soft);
}

.sanctuary-empty__visual {
  display: grid;
  place-items: center;
  width: 5.75rem;
  height: 5.75rem;
  border-radius: 1.35rem;
  background: rgba(122, 143, 106, 0.08);
  border: 1px solid rgba(93, 114, 80, 0.12);
  overflow: hidden;
}

.sanctuary-empty__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sanctuary-empty__text {
  margin: 0;
  max-width: 28rem;
  line-height: 1.55;
  font-size: 0.95rem;
}

.sanctuary-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.95rem;
}

.sanctuary-search {
  position: relative;
  display: block;
  flex: 0 1 16rem;
  width: 100%;
  max-width: 16rem;
  min-width: 0;
}

.sanctuary-search > i {
  position: absolute;
  top: 50%;
  left: 0.85rem;
  transform: translateY(-50%);
  color: rgba(93, 114, 80, 0.55);
  font-size: 0.85rem;
  pointer-events: none;
}

.sanctuary-search__input {
  width: 100%;
  height: 2.55rem;
  padding: 0 0.9rem 0 2.35rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(93, 114, 80, 0.16);
  background: rgba(255, 252, 246, 0.9);
  color: var(--ink);
  font: inherit;
}

.sanctuary-search__input::placeholder {
  color: rgba(63, 79, 56, 0.45);
}

.sanctuary-search__input:focus {
  outline: 2px solid rgba(93, 114, 80, 0.28);
  outline-offset: 1px;
  border-color: rgba(93, 114, 80, 0.28);
}

.sanctuary-carousel {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.45rem;
}

.sanctuary-carousel__viewport {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 28.5rem;
  overflow: visible;
  padding: 1.25rem 0.75rem 2.1rem;
  perspective: 1400px;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.sanctuary-carousel__viewport.is-dragging {
  cursor: grabbing;
}

.sanctuary-carousel__viewport.is-dragging * {
  pointer-events: none;
}

.sanctuary-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.sanctuary-carousel__nav {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  color: var(--sage-dark);
  background: rgba(255, 252, 246, 0.95);
  border: 1px solid rgba(93, 114, 80, 0.18);
  box-shadow: 0 8px 18px rgba(63, 79, 56, 0.1);
  transition: background 0.18s ease, color 0.18s ease, opacity 0.18s ease, transform 0.18s ease;
}

.sanctuary-carousel__nav:hover:not(:disabled),
.sanctuary-carousel__nav:focus-visible:not(:disabled) {
  background: #fff;
  color: var(--sage-deep);
  outline: none;
  transform: translateY(-1px);
}

.sanctuary-carousel__nav:disabled {
  opacity: 0.35;
  cursor: default;
  box-shadow: none;
}

.sanctuary-carousel__nav i {
  font-size: 0.9rem;
  line-height: 1;
}

.sanctuary-carousel__nav[hidden] {
  display: none;
}

.sanctuary-tile {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  width: min(17.5rem, 72vw);
  max-width: 17.5rem;
  overflow: visible;
  border-radius: 1.15rem;
  background: #fffdf8;
  border: 1px solid rgba(93, 114, 80, 0.12);
  box-shadow: 0 14px 28px rgba(63, 79, 56, 0.12);
  transform-origin: center center;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease,
    filter 0.35s ease,
    box-shadow 0.35s ease;
  will-change: transform, opacity;
}

.sanctuary-tile[hidden],
.sanctuary-tile.is-search-hidden,
.sanctuary-tile.is-stage-away {
  display: none;
}

.sanctuary-carousel.is-empty {
  grid-template-columns: minmax(0, 1fr);
}

.sanctuary-carousel.is-empty .sanctuary-carousel__viewport {
  justify-self: center;
  width: 100%;
  cursor: default;
  perspective: none;
}

.sanctuary-tile--empty {
  display: block;
  position: relative;
  justify-self: center;
  width: var(--sanctuary-tile-w, min(17.5rem, 72vw));
  max-width: none;
  height: var(--sanctuary-tile-h, 29.4rem);
  border: 1px solid rgba(93, 114, 80, 0.12);
  background: #f4efe4;
  box-shadow: 0 10px 24px rgba(63, 79, 56, 0.08);
  will-change: auto;
  transition: opacity 0.25s ease;
}

.sanctuary-tile--empty.is-stage-center {
  z-index: 4;
  opacity: 1;
  filter: none;
  transform: none;
  box-shadow: 0 10px 24px rgba(63, 79, 56, 0.08);
  pointer-events: auto;
  cursor: default;
}

.sanctuary-tile--empty[hidden] {
  display: none;
}

.sanctuary-tile__tarot {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  background: #f4efe4;
  pointer-events: none;
}

.sanctuary-tile.is-stage-center {
  z-index: 4;
  opacity: 1;
  filter: none;
  transform: translate3d(0, 0, 0) scale(1);
  box-shadow: 0 16px 32px rgba(63, 79, 56, 0.14);
  pointer-events: auto;
}

.sanctuary-tile.is-stage-left,
.sanctuary-tile.is-stage-right {
  z-index: 2;
  opacity: 0.78;
  filter: brightness(0.94) saturate(0.92);
  pointer-events: auto;
  cursor: pointer;
}

.sanctuary-tile.is-stage-left a,
.sanctuary-tile.is-stage-left button,
.sanctuary-tile.is-stage-right a,
.sanctuary-tile.is-stage-right button {
  pointer-events: none;
}

.sanctuary-tile.is-stage-left {
  transform: translate3d(-62%, 0.55rem, -80px) scale(0.84);
  box-shadow: 0 10px 22px rgba(63, 79, 56, 0.1);
}

.sanctuary-tile.is-stage-right {
  transform: translate3d(62%, 0.55rem, -80px) scale(0.84);
  box-shadow: 0 10px 22px rgba(63, 79, 56, 0.1);
}

.sanctuary-tile.is-stage-left:hover,
.sanctuary-tile.is-stage-right:hover {
  opacity: 0.9;
  filter: brightness(0.97);
}

.sanctuary-tile__media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border-radius: 1.1rem 1.1rem 0 0;
  background: #d7ddd2;
}

.sanctuary-tile__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) contrast(0.98);
}

.sanctuary-tile__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(24, 32, 22, 0.05) 0%,
    rgba(24, 32, 22, 0.18) 42%,
    rgba(24, 32, 22, 0.72) 100%
  );
  pointer-events: none;
}

.sanctuary-tile__badges {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 1;
  display: grid;
  gap: 0.35rem;
  justify-items: end;
}

.sanctuary-tile__star {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 252, 246, 0.28);
  border-radius: 999px;
  background: rgba(24, 32, 22, 0.42);
  color: rgba(255, 252, 246, 0.88);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.sanctuary-tile__star i {
  font-size: 0.95rem;
  line-height: 1;
}

button.sanctuary-tile__star:hover {
  background: rgba(24, 32, 22, 0.58);
  color: #f3d67a;
  transform: translateY(-1px);
}

.sanctuary-tile__star.is-active {
  cursor: default;
  background: rgba(201, 168, 76, 0.92);
  border-color: rgba(255, 252, 246, 0.35);
  color: #2f2a18;
}

.sanctuary-tile__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: var(--sage-deep);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
}

.sanctuary-tile__caption {
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.85rem;
  z-index: 1;
  color: #fff;
}

.sanctuary-tile__name {
  margin: 0 0 0.15rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.28);
}

.sanctuary-tile__meta,
.sanctuary-tile__years {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.9);
}

.sanctuary-tile__body {
  display: grid;
  gap: 0.75rem;
  padding: 0.85rem;
  border-radius: 0 0 1.1rem 1.1rem;
  background: #fffdf8;
}

.sanctuary-tile__status {
  display: flex;
  flex-direction: column;
  min-height: 6.85rem;
  padding: 0.75rem 0.8rem;
  border-radius: 0.85rem;
  background: rgba(122, 143, 106, 0.08);
  border: 1px solid rgba(93, 114, 80, 0.1);
}

.sanctuary-tile__status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
  flex-shrink: 0;
}

.sanctuary-tile__status-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--sage-dark);
  font-size: 0.8rem;
  font-weight: 600;
}

.sanctuary-tile__status-label i {
  color: var(--sage);
  font-size: 0.78rem;
}

.sanctuary-tile__status-copy {
  margin: 0;
  flex: 1 1 auto;
  min-height: calc(0.82rem * 1.45 * 3);
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.sanctuary-tile__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.sanctuary-tile__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2.35rem;
  padding: 0.45rem 0.7rem;
  border: 0;
  border-radius: 0.75rem;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.sanctuary-edit-modal__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 2rem 1.6rem 1.6rem;
  max-height: calc(100vh - 2.5rem);
  overflow: auto;
  border-radius: 1.6rem;
}

.sanctuary-edit-modal.is-memory-step .sanctuary-edit-modal__inner,
.sanctuary-edit-modal.is-tribute-step .sanctuary-edit-modal__inner {
  overflow: hidden;
}

.sanctuary-edit-modal:not(.is-memory-step):not(.is-tribute-step) .sanctuary-edit-modal__inner {
  overflow: hidden;
}

.sanctuary-edit-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  color: var(--sage-deep);
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.sanctuary-edit-modal__close:hover,
.sanctuary-edit-modal__close:focus-visible {
  background: rgba(122, 143, 106, 0.14);
  color: var(--sage-dark);
  outline: none;
}

.sanctuary-edit-modal__close i {
  font-size: 1.05rem;
  line-height: 1;
}

.sanctuary-edit-modal__title {
  margin: 0 2.4rem 0.4rem 0;
  text-align: left;
}

.sanctuary-edit-modal__hint {
  margin: 0 0 1.15rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.sanctuary-edit-form {
  display: grid;
  gap: 1.15rem;
  min-height: 0;
}

.sanctuary-edit-form__portrait .sanctuary-portrait__ring {
  width: 9.5rem;
  height: 9.5rem;
}

.sanctuary-edit-form__fields {
  padding-top: 0.15rem;
  border-top: 0;
  gap: 1rem;
}

.sanctuary-edit-modal:not(.is-memory-step) .sanctuary-edit-form__fields {
  max-height: min(42vh, 24rem);
  overflow-y: auto;
  padding-right: 0.35rem;
}

.sanctuary-edit-modal.is-memory-step .sanctuary-edit-form__name,
.sanctuary-edit-modal.is-tribute-step .sanctuary-edit-form__name {
  display: none;
}

.sanctuary-edit-form [data-sanctuary-step-field][hidden] {
  display: none !important;
}

.sanctuary-edit-form .is-step-hidden {
  display: none !important;
}

.sanctuary-edit-form__fields .sanctuary-textarea {
  min-height: 5.5rem;
}

.sanctuary-continue {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
  margin-top: -0.2rem;
  padding: 0.85rem 1rem;
  border: 1px dashed rgba(93, 114, 80, 0.3);
  border-radius: 0.9rem;
  background: rgba(122, 143, 106, 0.06);
  color: var(--ink-soft);
  text-align: left;
  font-size: 0.86rem;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.sanctuary-continue:hover,
.sanctuary-continue:focus-visible {
  background: rgba(122, 143, 106, 0.12);
  border-color: rgba(93, 114, 80, 0.48);
  outline: none;
  transform: translateY(-1px);
}

.sanctuary-continue strong {
  color: var(--sage-deep);
  font-size: 0.82rem;
  white-space: nowrap;
}

.sanctuary-continue em {
  color: var(--muted);
  font-style: normal;
  font-weight: 400;
}

.sanctuary-continue i {
  margin-left: 0.25rem;
  font-size: 0.72rem;
}

.sanctuary-memories {
  display: grid;
  gap: 1rem;
}

.sanctuary-tribute {
  display: grid;
  gap: 1rem;
  max-height: min(42vh, 24rem);
  overflow-y: auto;
  padding-right: 0.35rem;
}

.sanctuary-tribute .sanctuary-textarea {
  min-height: 5.4rem !important;
}

.sanctuary-memories__intro {
  padding: 0.95rem 1rem;
  border-radius: 0.95rem;
  background: rgba(226, 201, 122, 0.13);
  border: 1px solid rgba(201, 168, 76, 0.18);
}

.sanctuary-memories__eyebrow {
  margin: 0 0 0.25rem;
  color: #8a7340;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.sanctuary-memories__title {
  margin: 0 0 0.3rem;
  color: var(--sage-dark);
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 600;
}

.sanctuary-memories__desc {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.5;
}

.sanctuary-memories__fields {
  display: grid;
  gap: 0.9rem;
  max-height: min(42vh, 24rem);
  overflow-y: auto;
  padding-right: 0.35rem;
}

/* 입력 중 내부 스크롤을 시작하면 이전 입력칸의 포커스 표시가 화면에 남지 않게 합니다. */
.sanctuary-memories__fields.is-scrolling :focus {
  outline: none;
  box-shadow: none;
  caret-color: transparent;
}

.sanctuary-memory-textarea {
  min-height: 5.4rem !important;
}

.sanctuary-edit-form__back {
  width: 100%;
  min-height: 2.65rem;
  color: var(--sage-dark);
  background: #fff;
  border: 1px solid rgba(93, 114, 80, 0.22);
}

.sanctuary-edit-form__back:hover {
  background: rgba(122, 143, 106, 0.08);
}

.sanctuary-edit-form__next {
  width: 100%;
  min-height: 2.65rem;
  color: var(--sage-dark);
  background: #fff;
  border: 1px solid rgba(93, 114, 80, 0.22);
}

.sanctuary-edit-form__next:hover {
  background: rgba(122, 143, 106, 0.08);
}

.sanctuary-edit-modal.is-detail-step .sanctuary-edit-form__next {
  min-height: 3.05rem;
  padding: 0.75rem 1rem;
  border: 1px dashed rgba(93, 114, 80, 0.3);
  background: rgba(122, 143, 106, 0.06);
}

.sanctuary-edit-modal.is-detail-step .sanctuary-edit-form__tribute-open {
  min-height: 3.05rem;
  padding: 0.75rem 1rem;
}

.sanctuary-edit-modal.is-detail-step .sanctuary-edit-form__next:hover,
.sanctuary-edit-modal.is-detail-step .sanctuary-edit-form__next:focus-visible {
  background: rgba(122, 143, 106, 0.12);
}

.sanctuary-edit-form__actions [hidden],
.sanctuary-edit-form__fields[hidden],
.sanctuary-memories[hidden],
.sanctuary-tribute[hidden],
.sanctuary-continue[hidden] {
  display: none;
}

.sanctuary-edit-form__actions {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin-top: 0.15rem;
  padding-top: 0.35rem;
  background: transparent;
}

.sanctuary-edit-form.is-memory-step .sanctuary-edit-form__actions,
.sanctuary-edit-modal.is-detail-step .sanctuary-edit-form__actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sanctuary-edit-modal.is-detail-step .sanctuary-edit-form__actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sanctuary-edit-modal.is-detail-step .sanctuary-edit-form__next {
  grid-column: 1 / -1;
  grid-row: 1;
}

.sanctuary-edit-modal.is-detail-step .sanctuary-edit-form__tribute-open {
  grid-column: 1 / -1;
  grid-row: 2;
}

.sanctuary-edit-form__cancel,
.sanctuary-edit-form__submit,
.sanctuary-edit-form__back,
.sanctuary-edit-form__next {
  min-height: 2.65rem;
  width: 100%;
}

.sanctuary-edit-form__cancel {
  background: #fff;
  color: var(--sage-dark);
  border: 1px solid rgba(93, 114, 80, 0.22);
}

.sanctuary-edit-form__cancel:hover {
  background: rgba(122, 143, 106, 0.08);
}

.sanctuary-tile__btn i {
  font-size: 0.82rem;
}

.sanctuary-tile__btn--primary {
  background: var(--sage-deep);
  color: #fff;
}

.sanctuary-tile__btn--primary:hover {
  background: var(--sage-dark);
}

.sanctuary-tile__btn--ghost {
  background: #fff;
  color: var(--sage-dark);
  border: 1px solid rgba(93, 114, 80, 0.22);
}

.sanctuary-tile__btn--ghost:hover {
  background: rgba(122, 143, 106, 0.08);
}

.sanctuary-tile__btn--danger {
  grid-column: 1 / -1;
  background: rgba(180, 90, 70, 0.08);
  color: #8a4334;
  border: 1px solid rgba(180, 90, 70, 0.22);
}

.sanctuary-tile__btn--danger:hover {
  background: rgba(180, 90, 70, 0.14);
}

.sanctuary-delete-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.sanctuary-delete-actions .btn {
  width: 100%;
  min-height: 2.65rem;
}

.sanctuary-delete-actions__confirm {
  background: #8a4334;
  color: #fff;
  box-shadow: 0 10px 22px rgba(138, 67, 52, 0.22);
}

.account-banner {
  margin: 0 auto 1rem;
  max-width: 58rem;
  padding: 0.85rem 1.1rem;
  border-radius: 0.9rem;
  background: rgba(180, 90, 70, 0.1);
  border: 1px solid rgba(180, 90, 70, 0.22);
  color: #8a4334;
  font-size: 0.92rem;
}

.sanctuary-tile.is-inactive {
  opacity: 0.88;
}

.sanctuary-tile.is-inactive .sanctuary-tile__image {
  filter: grayscale(0.35) saturate(0.7) contrast(0.95);
}

.sanctuary-tile__badge--permanent {
  background: #8a7340;
}

.sanctuary-tile__badge--inactive {
  background: #7a6a62;
}

.sanctuary-tile__remain {
  color: var(--sage-deep);
  font-size: 0.8rem;
  font-weight: 700;
}

.sanctuary-tile__remain.is-permanent {
  color: #8a7340;
}

.sanctuary-tile__remain.is-expired {
  color: #8a4334;
}

.sanctuary-tile__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.sanctuary-tile__btn--permanent {
  grid-column: 1 / -1;
  background: rgba(201, 168, 76, 0.14);
  color: #6f5a28;
  border: 1px solid rgba(201, 168, 76, 0.35);
}

.sanctuary-tile__btn--permanent:hover {
  background: rgba(201, 168, 76, 0.22);
}

.sanctuary-tile__btn--permanent.is-done,
.sanctuary-tile__btn--permanent.is-pending {
  cursor: default;
  opacity: 0.92;
}

.sanctuary-tile__btn--primary.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.permanent-modal__inner {
  text-align: left;
  max-width: 26rem;
}

.permanent-modal__lead {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.permanent-bank {
  margin: 0 0 1.15rem;
  padding: 0.9rem 1rem;
  border-radius: 0.95rem;
  background: rgba(122, 143, 106, 0.08);
  border: 1px solid rgba(93, 114, 80, 0.12);
}

.permanent-bank__row {
  display: grid;
  grid-template-columns: 5.2rem 1fr;
  gap: 0.4rem;
  padding: 0.28rem 0;
  font-size: 0.9rem;
}

.permanent-bank__row dt {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
}

.permanent-bank__row dd {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  word-break: break-all;
}

.permanent-bank__note {
  margin-left: 0.35rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.permanent-form {
  display: grid;
  gap: 0.9rem;
}

.permanent-form__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.permanent-form__actions .btn {
  width: 100%;
  min-height: 2.65rem;
}

.sanctuary-limit-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.sanctuary-limit-actions .btn {
  width: 100%;
  min-height: 2.65rem;
}

.sanctuary-limit-actions .btn.is-hidden,
.sanctuary-limit-actions a.is-hidden {
  display: none !important;
}

.sanctuary-limit-actions a.btn {
  text-decoration: none;
}

.deposits-empty {
  display: grid;
  gap: 0.75rem;
  justify-items: center;
  align-content: center;
  text-align: center;
  min-height: 16rem;
  padding: 2rem 1rem 1.5rem;
  color: var(--ink-soft);
}

.deposits-empty__visual {
  display: grid;
  place-items: center;
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 1.5rem;
  background: rgba(122, 143, 106, 0.08);
  border: 1px solid rgba(93, 114, 80, 0.12);
  overflow: hidden;
}

.deposits-empty__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.deposits-empty__text {
  margin: 0;
  max-width: 26rem;
  color: var(--sage-dark);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
}

.deposits-empty__hint {
  margin: 0;
  max-width: 26rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.deposits-filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 0.85rem;
  margin: 0 0 1.15rem;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(122, 143, 106, 0.06);
  border: 1px solid rgba(93, 114, 80, 0.12);
}

.page-deposits .account-panel--wide > .deposits-filters:first-child,
.page-members .account-panel--wide > .deposits-filters:first-child,
.page-deposit-history .account-panel--wide > .deposits-table-wrap:first-child,
.page-deposit-history .account-panel--wide > .deposits-empty:first-child {
  margin-top: 0;
}

.deposits-filters__field {
  display: grid;
  gap: 0.35rem;
}

.deposits-filters__field--grow {
  grid-column: 1 / -1;
}

.deposits-filters__label {
  color: var(--sage-dark);
  font-size: 0.82rem;
  font-weight: 600;
}

.deposits-filters__input {
  width: 100%;
  min-height: 2.35rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(93, 114, 80, 0.22);
  border-radius: 0.7rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
}

.deposits-filters__input:focus {
  outline: 2px solid rgba(122, 143, 106, 0.35);
  outline-offset: 1px;
}

.deposits-filters__actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  align-items: end;
}

.deposits-filters__actions .btn {
  width: 100%;
  min-height: 2.35rem;
  padding: 0.4rem 1rem;
  font-size: 0.88rem;
  box-shadow: none;
}

.deposits-filters__actions .btn:hover {
  transform: none;
}

.deposits-filters__reset {
  background: #fff;
  color: var(--sage-dark);
  border: 1px solid rgba(93, 114, 80, 0.22);
}

.deposits-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.deposits-actions .btn {
  min-height: 1.9rem;
  padding: 0.25rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: none;
  border-radius: 0.55rem;
}

.deposits-actions .btn:hover {
  transform: none;
}

.deposits-actions__delete {
  background: rgba(180, 90, 70, 0.08);
  color: #8a4334;
  border: 1px solid rgba(180, 90, 70, 0.22);
}

.deposits-actions__delete:hover {
  background: rgba(180, 90, 70, 0.14);
}

.deposits-table-wrap {
  overflow-x: auto;
}

.deposits-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.deposits-table th,
.deposits-table td {
  padding: 0.65rem 0.55rem;
  text-align: left;
  border-bottom: 1px solid rgba(93, 114, 80, 0.12);
  vertical-align: middle;
}

.deposits-table th {
  color: var(--sage-dark);
  font-weight: 600;
  white-space: nowrap;
}

.deposits-status {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}

.deposits-status--pending {
  background: rgba(201, 168, 76, 0.18);
  color: #6f5a28;
}

.deposits-status--approved {
  background: rgba(122, 143, 106, 0.18);
  color: var(--sage-dark);
}

.deposits-status--rejected {
  background: rgba(180, 90, 70, 0.12);
  color: #8a4334;
}

.deposits-status--admin {
  background: rgba(122, 143, 106, 0.18);
  color: var(--sage-dark);
}

.deposits-status--member {
  background: rgba(120, 130, 140, 0.12);
  color: #5a6570;
}

.members-self-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 0.35rem;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  background: rgba(122, 143, 106, 0.14);
  color: var(--sage-dark);
  font-size: 0.72rem;
  font-weight: 700;
  vertical-align: middle;
}

.deposits-done {
  color: var(--muted);
  font-size: 0.85rem;
}

.page-deposits .dt-container,
.page-members .dt-container {
  margin-top: 0.25rem;
}

.page-deposits .dt-layout-row,
.page-members .dt-layout-row {
  margin: 0.65rem 0;
}

.page-deposits .dt-search,
.page-members .dt-search {
  display: none;
}

.page-deposits .dt-length label,
.page-deposits .dt-info,
.page-members .dt-length label,
.page-members .dt-info {
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.page-deposits .dt-length select,
.page-members .dt-length select {
  min-height: 2.2rem;
  margin: 0 0.35rem;
  padding: 0.2rem 0.5rem;
  border: 1px solid rgba(93, 114, 80, 0.22);
  border-radius: 0.55rem;
  background: #fff;
  font: inherit;
}

.page-deposits .dt-paging,
.page-members .dt-paging {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  align-items: center;
  justify-content: flex-end;
}

.page-deposits div.dt-container .dt-paging .dt-paging-button,
.page-deposits div.dt-container .dt-paging button,
.page-members div.dt-container .dt-paging .dt-paging-button,
.page-members div.dt-container .dt-paging button {
  box-sizing: border-box;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  min-width: 2rem !important;
  min-height: 2rem !important;
  max-width: 2rem;
  max-height: 2rem;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(93, 114, 80, 0.18) !important;
  border-radius: 50% !important;
  background: #fff !important;
  background-image: none !important;
  color: var(--sage-dark) !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  box-shadow: none !important;
}

.page-deposits div.dt-container .dt-paging .dt-paging-button *,
.page-deposits div.dt-container .dt-paging button *,
.page-members div.dt-container .dt-paging .dt-paging-button *,
.page-members div.dt-container .dt-paging button * {
  color: inherit !important;
}

.page-deposits div.dt-container .dt-paging .dt-paging-button.current,
.page-deposits div.dt-container .dt-paging .dt-paging-button.current:hover,
.page-deposits div.dt-container .dt-paging button.current,
.page-deposits div.dt-container .dt-paging button.current:hover,
.page-deposits div.dt-container .dt-paging button[aria-current="page"],
.page-deposits div.dt-container .dt-paging button[aria-current="page"]:hover,
.page-members div.dt-container .dt-paging .dt-paging-button.current,
.page-members div.dt-container .dt-paging .dt-paging-button.current:hover,
.page-members div.dt-container .dt-paging button.current,
.page-members div.dt-container .dt-paging button.current:hover,
.page-members div.dt-container .dt-paging button[aria-current="page"],
.page-members div.dt-container .dt-paging button[aria-current="page"]:hover {
  background: var(--sage-deep) !important;
  background-image: none !important;
  border-color: var(--sage-deep) !important;
  color: #fff !important;
}

.page-deposits div.dt-container .dt-paging .dt-paging-button.current *,
.page-deposits div.dt-container .dt-paging .dt-paging-button.current:hover *,
.page-deposits div.dt-container .dt-paging button.current *,
.page-deposits div.dt-container .dt-paging button[aria-current="page"] *,
.page-members div.dt-container .dt-paging .dt-paging-button.current *,
.page-members div.dt-container .dt-paging .dt-paging-button.current:hover *,
.page-members div.dt-container .dt-paging button.current *,
.page-members div.dt-container .dt-paging button[aria-current="page"] * {
  color: #fff !important;
}

.page-deposits div.dt-container .dt-paging .dt-paging-button:hover:not(.disabled):not(.current),
.page-deposits div.dt-container .dt-paging button:hover:not(.disabled):not(.current):not([aria-current="page"]),
.page-members div.dt-container .dt-paging .dt-paging-button:hover:not(.disabled):not(.current),
.page-members div.dt-container .dt-paging button:hover:not(.disabled):not(.current):not([aria-current="page"]) {
  background: rgba(122, 143, 106, 0.12) !important;
  background-image: none !important;
  border-color: rgba(93, 114, 80, 0.28) !important;
  color: var(--sage-dark) !important;
}

.page-deposits div.dt-container .dt-paging .dt-paging-button.disabled,
.page-deposits div.dt-container .dt-paging .dt-paging-button.disabled:hover,
.page-deposits div.dt-container .dt-paging .dt-paging-button.disabled:active,
.page-deposits div.dt-container .dt-paging button.disabled,
.page-deposits div.dt-container .dt-paging button:disabled,
.page-members div.dt-container .dt-paging .dt-paging-button.disabled,
.page-members div.dt-container .dt-paging .dt-paging-button.disabled:hover,
.page-members div.dt-container .dt-paging .dt-paging-button.disabled:active,
.page-members div.dt-container .dt-paging button.disabled,
.page-members div.dt-container .dt-paging button:disabled {
  opacity: 0.4;
  background: #fff !important;
  background-image: none !important;
  color: var(--muted) !important;
  cursor: default;
}

@media (min-width: 900px) {
  .deposits-filters {
    grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
    align-items: end;
  }

  .deposits-filters__field--grow {
    grid-column: auto;
  }

  .deposits-filters__actions {
    grid-column: auto;
    grid-template-columns: auto auto;
  }

  .deposits-filters__actions .btn {
    width: auto;
    min-width: 4.75rem;
    min-height: 2.35rem;
    padding: 0.4rem 0.95rem;
  }
}

@media (max-width: 720px) {
  .permanent-bank__row {
    grid-template-columns: 1fr;
    gap: 0.1rem;
  }

  .page-deposits .deposits-table th:nth-child(3),
  .page-deposits .deposits-table td:nth-child(3) {
    display: none;
  }

  .page-members .deposits-table th:nth-child(3),
  .page-members .deposits-table td:nth-child(3) {
    display: none;
  }
}

@media (min-width: 900px) {
  .page-members .deposits-filters {
    grid-template-columns: minmax(8rem, 11rem) minmax(0, 1fr) auto;
  }
}


.sanctuary-delete-actions__confirm:hover {
  background: #74382c;
}

@media (max-width: 759px) {
  .account-tabs__list {
    gap: 0.25rem;
  }

  .account-tabs__tab {
    min-height: 2.5rem;
    padding: 0.55rem 0.9rem;
    font-size: 0.86rem;
    border-radius: 0.75rem 0.75rem 0 0;
  }

  .account-tabs__tab.is-active {
    padding-bottom: calc(0.55rem + 1px);
  }

  .account-tabs__body {
    padding: 1.05rem 0.9rem 1.15rem;
  }

  .account-layout {
    grid-template-columns: 1fr;
  }

  .sanctuary-carousel {
    display: block;
    position: relative;
  }

  .sanctuary-carousel__nav {
    position: absolute;
    top: 50%;
    z-index: 6;
    width: 2.1rem;
    height: 2.1rem;
    transform: translateY(-50%);
  }

  .sanctuary-carousel__nav:hover:not(:disabled),
  .sanctuary-carousel__nav:focus-visible:not(:disabled) {
    transform: translateY(calc(-50% - 1px));
  }

  .sanctuary-carousel__nav--prev {
    left: 0.15rem;
  }

  .sanctuary-carousel__nav--next {
    right: 0.15rem;
  }

  .sanctuary-carousel__viewport {
    width: 100%;
    min-height: 27.5rem;
    padding: 1rem 0.35rem 1.85rem;
  }

  .sanctuary-tile {
    width: min(16.4rem, calc(100vw - 5.5rem));
    max-width: 16.4rem;
  }

  .sanctuary-tile.is-stage-left {
    transform: translate3d(-48%, 0.45rem, -70px) scale(0.8);
  }

  .sanctuary-tile.is-stage-right {
    transform: translate3d(48%, 0.45rem, -70px) scale(0.8);
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--sage-dark);
  touch-action: pan-y;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  user-select: none;
}

.hero__media.is-dragging {
  cursor: grabbing;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.1s var(--ease), visibility 1.1s var(--ease);
  will-change: opacity;
}

.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: saturate(1.08) contrast(1.08);
  transform: scale(1.04);
  pointer-events: none;
}

.hero__slide.is-active img {
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse 42% 48% at 28% 48%, rgba(255, 252, 246, 0.8) 0%, rgba(255, 252, 246, 0.5) 48%, rgba(255, 252, 246, 0.08) 78%, transparent 100%),
    linear-gradient(90deg, rgba(243, 238, 228, 0.2) 0%, rgba(243, 238, 228, 0.06) 42%, transparent 70%),
    linear-gradient(180deg, rgba(255, 252, 246, 0.1) 0%, transparent 34%, rgba(63, 79, 56, 0.08) 100%);
  pointer-events: none;
}

.hero__dots {
  position: absolute;
  left: 50%;
  bottom: 4.2rem;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  transform: translateX(-50%);
}

.hero__dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(47, 58, 44, 0.28);
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), width 0.3s var(--ease);
}

.hero__dot:hover,
.hero__dot:focus-visible {
  background: rgba(47, 58, 44, 0.5);
}

.hero__dot.is-active {
  width: 1.35rem;
  background: var(--sage-deep);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: calc(var(--header-h) + 2rem) 0 5rem;
  max-width: 38rem;
  margin-left: max(1.25rem, calc((100% - 1200px) / 2 + 1.25rem));
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.15rem;
  color: var(--sage-deep);
  font-size: clamp(0.92rem, 1.4vw, 1.05rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-shadow: 0 1px 0 rgba(255, 252, 246, 0.9), 0 0 18px rgba(255, 252, 246, 0.75);
}

.hero__title {
  margin: 0 0 1.25rem;
  line-height: 0;
}

.hero__lead {
  margin: 0 0 2.25rem;
  max-width: 26rem;
  font-size: clamp(1.15rem, 2.1vw, 1.4rem);
  color: var(--sage-dark);
  font-weight: 500;
  line-height: 1.7;
  text-shadow: 0 1px 0 rgba(255, 252, 246, 0.95), 0 0 20px rgba(255, 252, 246, 0.7);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero__cta .btn {
  min-height: 3.35rem;
  padding-inline: 1.55rem;
  font-size: 1.05rem;
  font-weight: 600;
  box-shadow: 0 12px 32px rgba(93, 114, 80, 0.32);
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  color: var(--sage-dark);
  opacity: 0.7;
  animation: bounceSoft 2.4s ease-in-out infinite;
}

@media (max-width: 759px) {
  .page-home .quick-actions { display: none; }
  .hero {
    min-height: calc(100svh - var(--header-h));
    margin-top: var(--header-h);
  }

  .hero__slide img {
    object-position: center 35%;
    filter: saturate(1.08) contrast(1.08);
  }

  .hero__dots {
    bottom: 3.4rem;
  }

  .hero__scroll {
    bottom: .45rem;
  }

  .hero__content {
    max-width: none;
    margin: 0 auto;
    padding: 3.5rem 0 6.5rem;
    text-align: center;
  }

  .hero__lead {
    margin-inline: auto;
    max-width: 22rem;
    font-size: clamp(1.12rem, 4.2vw, 1.28rem);
  }

  .hero__cta {
    justify-content: center;
  }

  .hero__title {
    display: flex;
    justify-content: center;
  }

  .hero__overlay {
    background:
      radial-gradient(ellipse 68% 31% at 50% 48%, rgba(255, 252, 246, 0.84) 0%, rgba(255, 252, 246, 0.58) 48%, rgba(255, 252, 246, 0.12) 78%, transparent 100%),
      linear-gradient(180deg, rgba(243, 238, 228, 0.08) 0%, rgba(243, 238, 228, 0.02) 42%, rgba(243, 238, 228, 0.1) 100%);
  }

  .brand-logo--hero {
    height: clamp(4.2rem, 16vw, 5.8rem);
  }
}

/* Quick actions (mobile-inspired strip) */
.quick-actions {
  background: var(--beige);
  padding: 1.5rem 0 0.5rem;
}

.quick-actions__head { margin: 0 0 1rem; padding: 0 .25rem; }
.quick-actions__head p { margin: 0 0 .25rem; color: var(--sage-dark); font: 600 1.2rem/1.3 var(--font-serif); }
.quick-actions__head span { color: var(--ink-soft); font-size: .82rem; }

.quick-actions__list {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.quick-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 1.1rem;
  background: var(--cream);
  border-radius: 1.35rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(93, 114, 80, 0.06);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.quick-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.quick-card__icon {
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 1rem;
  overflow: hidden;
  flex-shrink: 0;
}

.quick-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quick-card__label {
  flex: 1;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--sage-dark);
}

.quick-card__arrow {
  color: var(--muted);
  font-size: 1.2rem;
}

@media (min-width: 860px) {
  .quick-actions {
    display: none;
  }
}

/* Services */
.services {
  position: relative;
  padding: 5.5rem 0 6.5rem;
  background:
    radial-gradient(ellipse at top, rgba(240, 223, 154, 0.16), transparent 55%),
    linear-gradient(180deg, #fbf8f1 0%, var(--cream) 42%, #eef2e8 100%);
  overflow: hidden;
}

.services__deco {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  opacity: 0.92;
}

.services__deco--tl {
  top: -1.5rem;
  left: -2.5rem;
  width: min(280px, 42vw);
  height: auto;
}

.services__deco--tr {
  top: -0.5rem;
  right: -2rem;
  width: min(260px, 38vw);
  height: auto;
}

.services__deco--bl {
  bottom: -1.5rem;
  left: -2rem;
  width: min(270px, 40vw);
  height: auto;
}

.services__deco--br {
  bottom: -2rem;
  right: -2.5rem;
  width: min(300px, 44vw);
  height: auto;
}

.services > .container {
  position: relative;
  z-index: 1;
}

.section-head {
  text-align: center;
  margin-bottom: 3.2rem;
}

.section-head__leaf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.section-head__leaf img {
  width: 2.75rem;
  height: auto;
  display: block;
}

.section-head__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 600;
  color: var(--sage-dark);
  letter-spacing: -0.02em;
}

.section-head__desc {
  margin: 0 auto;
  max-width: 28rem;
  color: var(--ink-soft);
  font-size: 1rem;
}

.services__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 860px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.4rem 2rem;
  }
}

.service-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  transition: transform 0.4s var(--ease);
}

.service-card:hover {
  transform: translateY(-4px);
}

@media (min-width: 700px) {
  .service-card {
    grid-template-columns: 1.05fr 0.95fr;
    grid-template-rows: auto;
    align-items: center;
    gap: 1.25rem;
  }
}

.service-card__media {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border-radius: 1.15rem;
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.service-card:hover .service-card__media img {
  transform: scale(1.035);
}

.service-card__body {
  padding: 1.1rem 0.15rem 0.35rem;
}

@media (min-width: 700px) {
  .service-card__body {
    padding: 0.35rem 0.4rem;
  }
}

.service-card__meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.service-card__leaf {
  width: 1.35rem;
  height: auto;
  flex-shrink: 0;
}

.service-card__no {
  display: inline-block;
  margin: 0;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--gold);
  letter-spacing: 0.06em;
}

.service-card__title {
  margin: 0 0 0.55rem;
  font-family: var(--font-serif);
  font-size: 1.28rem;
  font-weight: 600;
  color: var(--sage-dark);
}

.service-card__text {
  margin: 0 0 0.95rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}

.service-card__rule {
  display: block;
  width: 4.5rem;
  height: 1px;
  background: rgba(93, 114, 80, 0.28);
  position: relative;
}

.service-card__rule::after {
  content: "";
  position: absolute;
  right: -0.15rem;
  top: 50%;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 1px solid rgba(93, 114, 80, 0.35);
  border-top: 1px solid rgba(93, 114, 80, 0.35);
  transform: translateY(-50%) rotate(45deg);
}

/* Purpose */
.purpose {
  padding: 5rem 0;
  background: var(--cream);
}

.purpose__inner {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .purpose__inner {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 3rem;
  }
}

.purpose__quote {
  margin: 0;
  padding: 1.6rem 1.7rem;
  border-left: 3px solid var(--gold-soft);
  background: linear-gradient(90deg, rgba(232, 223, 208, 0.55), transparent);
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.7;
  color: var(--sage-dark);
}

.purpose__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.1rem;
}

.purpose__list li {
  padding: 1.1rem 1.2rem;
  border-radius: 1.2rem;
  background: rgba(223, 230, 216, 0.45);
}

.purpose__list strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--sage-dark);
}

.purpose__list span {
  color: var(--ink-soft);
  font-size: 0.94rem;
}

/* Footer */
.site-footer {
  padding: 3.2rem 0 2.4rem;
  background: var(--sage-dark);
  color: rgba(255, 252, 246, 0.82);
}

.site-footer__inner {
  display: grid;
  gap: 1.4rem;
}

.site-footer .brand {
  width: fit-content;
}

.site-footer p {
  margin: 0;
  max-width: 32rem;
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(255, 252, 246, 0.68);
}

.site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.4rem;
  font-size: 0.85rem;
  color: rgba(255, 252, 246, 0.5);
}

/* Garden page */
.page-garden {
  min-height: 100svh;
  color: var(--cream);
}

.garden-stage {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
}

.garden-stage__bg {
  position: absolute;
  inset: 0;
}

.garden-stage__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: heroDrift 22s ease-in-out infinite alternate;
}

.garden-stage__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(47, 58, 44, 0.55) 0%, rgba(47, 58, 44, 0.18) 48%, rgba(47, 58, 44, 0.08) 100%),
    linear-gradient(180deg, rgba(47, 58, 44, 0.25) 0%, transparent 30%, rgba(47, 58, 44, 0.35) 100%);
}

.garden-top {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  padding: 1.25rem 0 0;
}

.garden-top__inner {
  width: min(1200px, calc(100% - 2rem));
  margin-inline: auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.garden-brand .brand {
  color: var(--cream);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}

.garden-brand p {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  color: rgba(255, 252, 246, 0.78);
}

.garden-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
}

.garden-actions__more { display: none; }
.garden-actions__menu { display: contents; }

.garden-switcher {
  position: relative;
  z-index: 6;
}

.garden-switcher__toggle {
  max-width: 11rem;
}

.garden-switcher__toggle [data-garden-switcher-label] {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 5.5rem;
}

.garden-switcher__caret {
  font-size: 0.7rem;
  opacity: 0.8;
  transition: transform 0.18s ease;
}

.garden-switcher.is-open .garden-switcher__caret {
  transform: rotate(180deg);
}

.garden-switcher__menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  right: 0;
  min-width: 11.5rem;
  padding: 0.35rem;
  border-radius: 0.85rem;
  background: rgba(36, 44, 34, 0.92);
  border: 1px solid rgba(255, 252, 246, 0.16);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
  display: grid;
  gap: 0.2rem;
}

.garden-switcher__menu[hidden] {
  display: none;
}

.garden-switcher__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.55rem 0.7rem;
  border-radius: 0.65rem;
  color: rgba(255, 252, 246, 0.92);
  text-decoration: none;
  font-size: 0.88rem;
  line-height: 1.2;
}

.garden-switcher__option:hover,
.garden-switcher__option.is-current {
  background: rgba(255, 252, 246, 0.12);
}

.garden-switcher__option-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.garden-switcher__option-badge {
  flex: 0 0 auto;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: #c9a84c;
  color: #2f2a18;
  font-size: 0.68rem;
  font-weight: 700;
}

.garden-actions .btn {
  height: 2.5rem;
  min-height: 2.5rem;
  padding-block: 0;
}

.garden-actions .btn[data-drawer-open="account"] {
  width: 2.5rem;
  padding: 0;
  aspect-ratio: 1 / 1;
  flex: 0 0 2.5rem;
}

.garden-actions .btn[data-drawer-open="account"] i {
  font-size: 1.05rem;
  line-height: 1;
}

.garden-action__image {
  width: 1.45rem;
  height: 1.45rem;
  object-fit: contain;
  flex: 0 0 auto;
}

.garden-action__letter-icon {
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 auto;
}

.garden-panel {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(1200px, calc(100% - 2rem));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  pointer-events: none;
}

.garden-info {
  position: relative;
  z-index: 4;
  width: min(360px, 100%);
  padding: 1.4rem 1.5rem;
  border-radius: 1.4rem;
  background: rgba(47, 58, 44, 0.28);
  border: 1px solid rgba(255, 252, 246, 0.14);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  text-align: center;
  pointer-events: auto;
  flex: 0 1 auto;
}

.garden-info--has-memories {
  width: min(420px, 100%);
}

.garden-info--has-memories.is-memories-open {
  display: grid;
  grid-template-columns: 370px minmax(18rem, 1fr);
  align-items: center;
  gap: 1.5rem;
  width: min(820px, 100%);
  text-align: left;
}

.garden-info--has-memories .garden-info__summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-width: 0;
  text-align: center;
}

.garden-info--has-memories .garden-info__summary > * {
  max-width: 100%;
}

.garden-info__memories {
  min-width: 0;
  max-height: min(28rem, 62vh);
  padding-left: 1.35rem;
  border-left: 1px solid rgba(255, 252, 246, 0.2);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 252, 246, 0.35) transparent;
}

.garden-info__memories-eyebrow {
  margin: 0 0 0.85rem;
  color: var(--gold-soft);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.garden-info__memory + .garden-info__memory {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 252, 246, 0.13);
}

.garden-info__memory h2 {
  margin: 0 0 0.35rem;
  color: rgba(255, 252, 246, 0.9);
  font-family: var(--font-serif);
  font-size: 0.98rem;
  font-weight: 600;
}

.garden-info__memory p {
  margin: 0;
  color: rgba(255, 252, 246, 0.8);
  font-size: 0.88rem;
  line-height: 1.7;
}

.garden-info__portrait {
  position: relative;
  width: 9.5rem;
  height: 9.5rem;
  margin: 0 auto 1.15rem;
}

.garden-info__photo {
  position: absolute;
  inset: 18%;
  z-index: 1;
  width: 64%;
  height: 64%;
  margin: auto;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  box-shadow:
    0 0 0 3px rgba(255, 252, 246, 0.55),
    0 8px 18px rgba(0, 0, 0, 0.28);
}

.garden-info__wreath {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.28));
}

.garden-info__label {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
  color: rgba(255, 252, 246, 0.78);
}

.garden-info__name {
  margin: 0 0 0.35rem;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.garden-info__tributes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  min-height: 1.55rem;
  margin: -0.45rem 0 0.9rem;
}

.garden-info__tributes span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(255, 252, 246, 0.2);
  border-radius: 999px;
  color: rgba(255, 252, 246, 0.86);
  background: rgba(47, 58, 44, 0.3);
  font-size: 0.86rem;
}

.garden-info__tributes .garden-tribute__icon {
  display: inline-block;
  flex: 0 0 auto;
  width: auto;
  height: 32px;
  object-fit: contain;
}
.garden-info__tributes strong { color: var(--gold-soft); font-weight: 600; }

.garden-info__dates {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--gold-soft);
}

.garden-info__memo {
  margin: 0 0 1.3rem;
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(255, 252, 246, 0.86);
}

.garden-tribute-message {
  width: min(26rem, 32vw);
  margin: 0;
  padding: 1.25rem 1.4rem;
  color: #fffdf7;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.45rem;
  line-height: 2.1;
  letter-spacing: 0.015em;
  text-shadow: 0 2px 10px rgba(20, 28, 21, 0.72);
  white-space: pre-line;
  text-align: center;
  pointer-events: auto;
}

.garden-ambient {
  position: relative;
  z-index: 5;
  display: grid;
  gap: 0.7rem;
  flex: 0 0 auto;
  pointer-events: auto;
}

.ambient-btn {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--cream);
  background: rgba(47, 58, 44, 0.35);
  border: 1px solid rgba(255, 252, 246, 0.18);
  backdrop-filter: blur(10px);
  transition: background 0.25s ease, transform 0.25s ease;
}

.ambient-btn:hover,
.ambient-btn.is-on {
  background: rgba(122, 143, 106, 0.55);
  transform: translateY(-2px);
}

.ambient-btn__icon {
  width: 1.4rem;
  height: 1.4rem;
  grid-area: 1 / 1;
}

.ambient-btn__icon--on {
  display: none;
}

.ambient-btn.is-on .ambient-btn__icon--off {
  display: none;
}

.ambient-btn.is-on .ambient-btn__icon--on {
  display: block;
}

.garden-bg-modal {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  border-radius: 0;
}

.garden-bg-modal__inner {
  width: min(27rem, calc(100vw - 2rem));
  min-height: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  position: relative;
  text-align: left;
  padding: 4.8rem 1rem 2rem;
  background: transparent;
  border: 0;
  box-shadow: none;
  user-select: none;
  -webkit-user-select: none;
}

.garden-bg-modal__close {
  position: fixed;
  z-index: 10;
  top: 1.5rem;
  right: 1.5rem;
  width: 3.25rem;
  height: 3.25rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid rgba(255, 252, 246, 0.92);
  background: rgba(47, 58, 44, 0.78);
  color: #fffdf5;
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  box-shadow: 0 4px 18px rgba(20, 28, 18, 0.42), 0 0 0 3px rgba(47, 58, 44, 0.22);
  color: var(--ink-soft);
  background: transparent;
  border: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.garden-bg-modal__close:hover,
.garden-bg-modal__close:focus-visible {
  background: rgba(47, 58, 44, 0.94);
  color: #fffdf5;
  transform: scale(1.05);
  outline: none;
}

.garden-bg-modal__close i {
  font-size: 1.45rem;
  line-height: 1;
}

.garden-bg-modal__title {
  margin: 0 2.4rem 0.45rem 0;
  text-align: left;
}

.garden-bg-modal__hint,
.garden-bg-modal__title {
  text-shadow: 0 1px 12px rgba(255, 252, 246, 0.85);
}

.garden-bg-modal__hint {
  margin: 0 0 1.15rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

.garden-bg-modal__carousel {
  position: fixed;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: min(34rem, calc(100vw - 2rem));
  transform: translate(-50%, -50%);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
}

.garden-bg-modal__viewport {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 30rem;
  padding: 3.5rem 0;
  perspective: 900px;
  overflow: visible;
  touch-action: none;
  cursor: grab;
}
.garden-bg-modal__viewport:active { cursor: grabbing; }

.garden-bg-modal__nav {
  position: fixed !important;
  z-index: 8;
  left: 50%;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(255, 252, 246, 0.72);
  border-radius: 999px;
  color: rgba(255, 255, 248, 0.96);
  background: rgba(255, 252, 246, 0.24);
  backdrop-filter: blur(16px) saturate(1.25);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  box-shadow: 0 8px 22px rgba(20, 28, 18, 0.24), inset 0 1px 0 rgba(255,255,255,.45);
  justify-self: center;
  transform: translateX(-50%);
  cursor: pointer;
}
.garden-bg-modal__nav[data-garden-bg-prev] { top: 1.5rem; }
.garden-bg-modal__nav[data-garden-bg-next] { bottom: 1.5rem; }
.garden-bg-modal__nav:disabled { opacity: 0.35; }
.garden-bg-modal__nav:hover:not(:disabled),
.garden-bg-modal__nav:focus-visible:not(:disabled) {
  background: rgba(255, 252, 246, 0.4);
  color: #fff;
  outline: none;
}

.garden-bg-modal__select {
  position: fixed;
  z-index: 9;
  left: calc(50% + min(14rem, 42vw));
  top: 50%;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid rgba(255, 252, 246, 0.8);
  border-radius: 50%;
  color: #fffdf5;
  background: rgba(47, 58, 44, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 20px rgba(20, 28, 18, 0.28);
  transform: translateY(-50%);
  cursor: pointer;
}
.garden-bg-modal__select:hover,
.garden-bg-modal__select:focus-visible { background: var(--sage-deep); outline: none; }

.garden-bg-modal__sample {
  grid-area: 1 / 1;
  width: min(25rem, 78vw);
  display: grid;
  gap: 0.4rem;
  padding: 0.35rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(93, 114, 80, 0.14);
  background: rgba(255, 252, 246, 0.7);
  color: var(--ink-soft);
  text-align: left;
  cursor: pointer;
  touch-action: none;
  transition: border-color 0.2s ease, box-shadow 0.35s ease, transform 0.35s ease, opacity 0.35s ease, filter 0.35s ease;
}
.garden-bg-modal__sample.is-stage-center { z-index: 3; transform: scale(1); box-shadow: 0 14px 28px rgba(63,79,56,.15); }
.garden-bg-modal__sample.is-stage-left { z-index: 2; opacity: .7; filter: brightness(.92); cursor: pointer; }
.garden-bg-modal__sample.is-stage-right { z-index: 2; opacity: .7; filter: brightness(.92); cursor: pointer; }
.garden-bg-modal__sample.is-stage-away { z-index: 1; opacity: .48; filter: brightness(.88) saturate(.8); cursor: pointer; }
.garden-bg-modal__sample[hidden] { display: grid; }

.garden-bg-modal__sample img {
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 11rem;
  object-fit: cover;
  border-radius: 0.55rem;
  display: block;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.garden-bg-modal__sample span {
  padding: 0 0.2rem 0.15rem;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.3;
}

.garden-bg-modal__sample:hover,
.garden-bg-modal__sample:focus-visible {
  border-color: rgba(122, 143, 106, 0.45);
  outline: none;
}

.garden-bg-modal__sample.is-selected {
  border-color: rgba(93, 114, 80, 0.65);
  box-shadow: 0 0 0 2px rgba(168, 184, 156, 0.45);
  color: var(--sage-dark);
}

.garden-bg-modal__upload {
  position: fixed;
  z-index: 3;
  left: 50%;
  bottom: 2.5rem;
  width: min(25rem, calc(100vw - 3rem));
  transform: translateX(-50%);
  display: grid;
}

.garden-bg-modal__upload-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px dashed rgba(93, 114, 80, 0.35);
  background: rgba(122, 143, 106, 0.08);
  color: var(--sage-dark);
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.garden-bg-modal__upload-btn:hover,
.garden-bg-modal__upload-btn:focus-within {
  background: rgba(122, 143, 106, 0.14);
  border-color: rgba(93, 114, 80, 0.5);
}

/* Background picker lives directly on the dimmed stage, without a modal card. */
.app-modal.garden-bg-modal {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  border-radius: 0;
}

.app-modal.garden-bg-modal .garden-bg-modal__inner {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.garden-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.garden-audio-credit {
  position: absolute;
  right: max(1rem, calc((100% - 1200px) / 2 + 1rem));
  bottom: 1.4rem;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  max-width: min(19rem, calc(100% - 2rem));
  color: rgba(255, 252, 246, 0.88);
  font-size: 0.76rem;
  text-shadow: 0 1px 5px rgba(20, 27, 18, 0.8), 0 0 14px rgba(20, 27, 18, 0.5);
  pointer-events: none;
}

.garden-audio-credit > i {
  color: rgba(255, 252, 246, 0.92);
  font-size: 0.8rem;
}

.garden-audio-credit strong {
  display: block;
  max-width: min(22rem, calc(100vw - 8rem));
  overflow: hidden;
  font-family: var(--font-serif);
  font-size: 0.82rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.garden-audio-credit small {
  display: block;
  margin-top: 0.1rem;
  color: rgba(255, 252, 246, 0.7);
  font-size: 0.66rem;
}

.garden-audio-credit__list {
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  margin-left: 0.15rem;
  padding: 0;
  border: 1px solid rgba(255, 252, 246, 0.28);
  border-radius: 50%;
  color: inherit;
  background: rgba(47, 58, 44, 0.3);
  cursor: pointer;
  pointer-events: auto;
  transition: background 0.2s ease, transform 0.2s ease;
}

.garden-audio-credit__list:hover,
.garden-audio-credit__list:focus-visible {
  background: rgba(122, 143, 106, 0.65);
  transform: translateY(-1px);
  outline: none;
}

.app-modal.garden-audio-modal {
  width: min(44rem, calc(100vw - 2.5rem));
  max-width: calc(100vw - 2.5rem);
}

.garden-audio-modal__inner {
  position: relative;
  padding-top: 1.7rem;
  text-align: left;
}

.garden-audio-modal__list {
  display: grid;
  gap: 1.15rem;
  max-height: min(52vh, 28rem);
  overflow-y: auto;
  padding: 0.1rem 0.35rem 0.25rem 0.05rem;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(93, 114, 80, 0.45) transparent;
}

.garden-audio-modal__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.2rem;
  padding-bottom: 0.15rem;
}

.garden-audio-modal__filter {
  min-height: 2rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid rgba(93, 114, 80, 0.22);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(122, 143, 106, 0.06);
  font-size: 0.78rem;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.garden-audio-modal__filter:hover,
.garden-audio-modal__filter:focus-visible,
.garden-audio-modal__filter.is-active {
  border-color: rgba(93, 114, 80, 0.55);
  color: #fffdf8;
  background: var(--sage-dark);
  outline: none;
}

.garden-audio-modal__category {
  display: grid;
  gap: 0.55rem;
}

.garden-audio-modal__category[hidden] { display: none; }

.garden-audio-modal__category-title {
  margin: 0;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(93, 114, 80, 0.16);
  color: var(--sage-dark);
  font-family: var(--font-serif);
  font-size: 0.98rem;
  font-weight: 600;
}

.garden-audio-modal__track {
  display: grid;
  grid-template-columns: 1.5rem 1fr auto;
  gap: 0.75rem;
  align-items: center;
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(93, 114, 80, 0.16);
  border-radius: 0.8rem;
  color: var(--ink-soft);
  background: rgba(122, 143, 106, 0.07);
  text-align: left;
  cursor: pointer;
  min-height: 6.25rem;
}

.garden-audio-modal__track span { display: grid; gap: 0.2rem; }
.garden-audio-modal__track strong {
  display: block;
  overflow: hidden;
  font-family: var(--font-serif);
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.garden-audio-modal__track small { color: var(--ink-soft); font-size: 0.72rem; }
.garden-audio-modal__track > :last-child { opacity: 0; color: var(--sage-dark); }
.garden-audio-modal__track.is-selected { border-color: rgba(93, 114, 80, 0.55); background: rgba(122, 143, 106, 0.15); }
.garden-audio-modal__track.is-selected > :last-child { opacity: 1; }

.garden-fx.is-on {
  opacity: 1;
}

.garden-fx--sun {
  background: radial-gradient(ellipse at 70% 20%, rgba(240, 223, 154, 0.28), transparent 45%);
}

.garden-fx--wind {
  overflow: hidden;
}

.garden-fx__leaf {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--size, 2.4rem);
  height: auto;
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 4px 10px rgba(47, 58, 44, 0.18));
  will-change: transform, opacity;
  transform: translate3d(-999px, -999px, 0);
}

.toast {
  position: fixed;
  display: block;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%) translateY(120%);
  z-index: 90;
  padding: 0.9rem 1.3rem;
  border-radius: var(--radius-pill);
  background: rgba(47, 58, 44, 0.88);
  color: var(--cream);
  font-size: 0.92rem;
  box-shadow: var(--shadow);
  opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}

.toast.is-show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.page-account .toast {
  top: 5.5rem;
  right: 1.25rem;
  bottom: auto;
  left: auto;
  transform: translateY(-120%);
}

.page-account .toast.is-show {
  transform: translateY(0);
}

.app-modal {
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  max-width: calc(100vw - 2.5rem);
  width: 22rem;
  color: var(--ink);
}

.app-modal.sent-letter-modal {
  width: min(640px, calc(100vw - 1.5rem));
  max-width: calc(100vw - 1.5rem);
  max-height: calc(100vh - 1.5rem);
}

.app-modal.sanctuary-edit-modal {
  width: min(560px, calc(100vw - 1.5rem));
  max-width: calc(100vw - 1.5rem);
  max-height: calc(100vh - 1.5rem);
}

.app-modal.sanctuary-date-modal {
  width: min(22.5rem, calc(100vw - 2.5rem));
}

@media (max-width: 759px) {
  .app-modal.sanctuary-edit-modal {
    width: 100vw;
    max-width: none;
    height: 100svh;
    max-height: none;
    margin: 0;
    border-radius: 0;
  }

  .app-modal.sanctuary-edit-modal .sanctuary-edit-modal__inner {
    width: 100%;
    height: 100%;
    max-height: none;
    border-radius: 0;
    padding: 1.6rem 1rem 1rem;
  }

  .app-modal.sanctuary-edit-modal .sanctuary-edit-form {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .app-modal.sanctuary-edit-modal .sanctuary-edit-form__fields,
  .app-modal.sanctuary-edit-modal .sanctuary-memories {
    flex: 1 1 auto;
    min-height: 0;
  }

  .app-modal.sanctuary-edit-modal .sanctuary-edit-form__fields {
    max-height: none;
  }

  .app-modal.sanctuary-edit-modal .sanctuary-memories {
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .app-modal.sanctuary-edit-modal .sanctuary-memories__fields {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
  }

  .app-modal.sanctuary-edit-modal .sanctuary-edit-form__actions {
    margin-top: auto;
  }
}

.app-modal::backdrop {
  background: rgba(47, 58, 44, 0.42);
  backdrop-filter: blur(4px);
}

.app-modal__inner {
  padding: 1.85rem 1.6rem 1.5rem;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.98), rgba(243, 238, 228, 0.98));
  border: 1px solid rgba(93, 114, 80, 0.12);
  box-shadow: var(--shadow);
  text-align: center;
}

.app-modal__title {
  margin: 0 0 0.65rem;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--sage-dark);
  letter-spacing: -0.02em;
}

.app-modal__message {
  margin: 0 0 1.35rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.6;
}

.app-modal__action {
  min-width: 7.5rem;
}

.account-form__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.55rem; }
.account-form__actions .btn { width: auto; margin-top: 0; }
.account-form__cancel { min-height: 2.8rem; border: 1px solid rgba(93, 114, 80, 0.18); color: var(--sage-dark); background: transparent; }
.app-modal__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.55rem; margin-top: 1.25rem; }
.app-modal__actions .btn { width: auto; margin-top: 0; }
.app-modal__cancel { min-height: 2.8rem; border: 1px solid rgba(93, 114, 80, 0.18); color: var(--sage-dark); background: transparent; }
.app-modal__error { margin: 0.5rem 0 0; padding: 0.55rem 0.75rem; border-radius: 0.35rem; background: rgba(190, 60, 50, 0.08); color: #b33a30; font-size: 0.85rem; line-height: 1.45; text-align: left; }
.app-modal__error[hidden] { display: none; }
.app-modal__inner.is-shaking { animation: modalShake 0.36s ease-in-out; }
.app-modal[data-password-email-modal] { overflow-x: clip; }
.app-modal[data-password-email-modal] .app-modal__inner { overflow-x: clip; user-select: none; }
.app-modal[data-password-email-modal] input { user-select: text; }
.app-modal[data-register-email-modal] { overflow-x: clip; }
.app-modal[data-register-email-modal] .app-modal__inner { overflow-x: clip; user-select: none; }
.app-modal[data-register-email-modal] input { user-select: text; }

.app-modal[open] {
  animation: modalIn 0.32s var(--ease);
}

.app-modal[open]::backdrop {
  animation: backdropIn 0.32s var(--ease);
}

@keyframes modalIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes backdropIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalShake {
  10%, 90% { transform: translate3d(-1px, 0, 0); }
  20%, 80% { transform: translate3d(2px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
  40%, 60% { transform: translate3d(4px, 0, 0); }
}

@media (max-width: 859px) {
  .garden-actions { position: relative; display: block; flex: 0 0 auto; }
  .garden-actions .garden-actions__more { display: grid; place-items: center; box-sizing: border-box; flex: 0 0 2.9rem; width: 2.9rem; height: 2.9rem; min-width: 2.9rem; min-height: 2.9rem; max-width: 2.9rem; max-height: 2.9rem; aspect-ratio: 1 / 1; padding: 0; border-radius: 50%; box-shadow: none; transform: none; }
  .garden-actions__more:hover,
  .garden-actions__more:active,
  .garden-actions__more:focus-visible { transform: none; }
  .garden-actions__menu {
    position: absolute;
    top: calc(100% + 0.55rem);
    right: 0;
    display: grid;
    gap: 0.7rem;
    justify-items: end;
    width: max-content;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.35rem);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .garden-actions.is-open .garden-actions__menu { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .garden-actions .garden-actions__menu > .btn { box-sizing: border-box; flex: 0 0 2.9rem; width: 2.9rem; height: 2.9rem; min-width: 2.9rem; min-height: 2.9rem; max-width: 2.9rem; max-height: 2.9rem; aspect-ratio: 1 / 1; padding: 0; border-radius: 50%; }
  .garden-actions__menu .garden-switcher { display: block; }
  .garden-actions__menu .garden-switcher__toggle { box-sizing: border-box; flex: 0 0 2.9rem; width: 2.9rem; height: 2.9rem; min-width: 2.9rem; min-height: 2.9rem; max-width: 2.9rem; max-height: 2.9rem; aspect-ratio: 1 / 1; padding: 0; border-radius: 50%; }
  .garden-actions__menu .garden-switcher__toggle [data-garden-switcher-label],
  .garden-actions__menu .garden-switcher__toggle .garden-switcher__caret { display: none; }

  .garden-panel {
    left: 0;
    top: 6.6rem;
    bottom: auto;
    transform: none;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
  }

  .garden-panel .garden-ambient {
    position: fixed;
    right: 1rem;
    bottom: 5.8rem;
    display: grid;
    gap: 0.7rem;
  }

  .garden-tribute-message {
    width: min(420px, calc(100% - 2rem));
    margin-top: 1rem;
  }

  .garden-info {
    width: min(320px, calc(100% - 2rem));
  }

  .garden-info--has-memories {
    grid-template-columns: 1fr;
    gap: 1.15rem;
    width: min(420px, calc(100% - 2rem));
    max-height: calc(100vh - 8rem);
    overflow-y: auto;
  }

  .garden-info--has-memories.is-memories-open {
    grid-template-columns: 1fr;
    width: min(420px, calc(100% - 2rem));
  }

  .garden-info--has-memories .garden-info__summary {
    min-width: 0;
  }

  .garden-info__memories {
    max-height: none;
    padding: 1.1rem 0 0;
    border-top: 1px solid rgba(255, 252, 246, 0.2);
    border-left: 0;
  }

  .garden-audio-credit {
    right: auto;
    left: 1rem;
    bottom: 1.2rem;
  }

  .garden-info__portrait {
    width: 7.75rem;
    height: 7.75rem;
    margin-bottom: 1rem;
  }

  .garden-bg-modal {
    width: 100vw;
  }

  .garden-bg-modal__inner {
    width: min(27rem, calc(100vw - 1rem));
    padding-top: 4.5rem;
  }

  .garden-bg-modal__close {
    top: 1rem;
    right: 1rem;
    width: 3rem;
    height: 3rem;
  }

  .garden-bg-modal__carousel {
    width: calc(100vw - 1rem);
  }

  .garden-actions .btn span {
    display: none;
  }

  .garden-switcher__toggle span,
  .garden-switcher__toggle [data-garden-switcher-label] {
    display: inline;
  }

  .garden-switcher__toggle {
    max-width: none;
  }
}

/* Letter page */
.page-letter {
  min-height: 100svh;
  position: relative;
}

.site-header--letter {
  background: rgba(255, 252, 246, 0.72);
  border-bottom-color: rgba(93, 114, 80, 0.08);
  box-shadow: none;
}

.site-header--letter.is-scrolled {
  background: rgba(255, 252, 246, 0.92);
  box-shadow: 0 8px 28px rgba(63, 79, 56, 0.08);
}

.letter-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.letter-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.letter-bg__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 28%, rgba(255, 252, 246, 0.52), transparent 58%),
    linear-gradient(
      180deg,
      rgba(255, 252, 246, 0.72) 0%,
      rgba(243, 238, 228, 0.32) 42%,
      rgba(63, 79, 56, 0.28) 100%
    );
}

.letter-shell {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 1.55rem;
  padding: calc(var(--header-h) + 2.4rem) 1.25rem 4.5rem;
  min-height: 100svh;
  align-content: center;
}

.letter-hero {
  text-align: center;
  max-width: 36rem;
}

.letter-hero__title {
  position: relative;
  display: inline-block;
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.6vw, 2.55rem);
  font-weight: 600;
  color: var(--sage-dark);
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-shadow: 0 1px 0 rgba(255, 252, 246, 0.85), 0 8px 28px rgba(255, 252, 246, 0.55);
}

.letter-hero__leaf {
  position: absolute;
  top: -0.15rem;
  right: -2.1rem;
  width: 1.7rem;
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(63, 79, 56, 0.18));
}

.letter-hero__desc {
  margin: 0.75rem 0 0;
  color: var(--sage-dark);
  font-size: 0.98rem;
  line-height: 1.55;
  text-shadow: 0 1px 0 rgba(255, 252, 246, 0.8);
}

.letter-panel {
  position: relative;
  width: min(640px, 100%);
  padding: 2.15rem 1.7rem 1.7rem;
  border-radius: 1.45rem;
  background:
    linear-gradient(165deg, rgba(255, 253, 248, 0.98), rgba(248, 243, 233, 0.96));
  border: 1px solid rgba(93, 114, 80, 0.12);
  box-shadow:
    0 22px 56px rgba(63, 79, 56, 0.14),
    0 1px 0 rgba(255, 255, 255, 0.75) inset;
  backdrop-filter: blur(12px);
}

.letter-complete { max-width: 760px; margin: 0 auto; padding: 4.5rem 2rem; text-align: center; border: 1px solid rgba(93, 114, 80, 0.14); border-radius: 1.4rem; background: rgba(255, 252, 246, 0.88); box-shadow: 0 1.5rem 3rem rgba(65, 78, 52, 0.08); }
.letter-complete__icon { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; margin: 0 auto 1.2rem; border-radius: 50%; color: #fff; background: var(--sage-dark); }
.letter-complete__title { margin: 0; color: var(--ink); font-family: var(--font-serif); font-size: 1.6rem; }
.letter-complete__message { margin: 0.65rem 0 1.4rem; color: var(--muted); }

.letter-form {
  display: grid;
  gap: 1.3rem;
}

.letter-target {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.45rem;
}

.letter-target__label {
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--sage-dark);
}

.letter-target__select {
  width: 100%;
  height: 2.85rem;
  padding: 0 2.4rem 0 1rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(93, 114, 80, 0.2);
  background-color: rgba(255, 252, 246, 0.95);
  color: var(--ink);
  font: inherit;
  appearance: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  background-image:
    linear-gradient(45deg, transparent 50%, var(--sage-deep) 50%),
    linear-gradient(135deg, var(--sage-deep) 50%, transparent 50%);
  background-position:
    calc(100% - 1.2rem) 1.2rem,
    calc(100% - 0.8rem) 1.2rem;
  background-size: 0.4rem 0.4rem, 0.4rem 0.4rem;
  background-repeat: no-repeat;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.letter-target__select:hover {
  border-color: rgba(93, 114, 80, 0.32);
}

.letter-target__select:focus {
  outline: 2px solid rgba(93, 114, 80, 0.3);
  outline-offset: 1px;
  border-color: rgba(93, 114, 80, 0.38);
}

.letter-paper {
  position: relative;
  z-index: 1;
  padding: 1.55rem 1.35rem 1.05rem;
  border-radius: 1.05rem;
  background:
    linear-gradient(180deg, #fffdf9 0%, #f7f1e6 100%);
  border: 1px solid rgba(93, 114, 80, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 8px 22px rgba(63, 79, 56, 0.05);
  text-align: left;
}

.envelope-picker { position: relative; min-width: 0; padding: 0; border: 0; }
.envelope-picker__title { margin-bottom: .55rem; color: var(--sage-dark); font-size: .84rem; font-weight: 600; }
.envelope-preview { --preview-rotate-x: 0deg; --preview-rotate-y: 0deg; display: grid; justify-items: center; gap: .35rem; margin: -.25rem 0 .8rem; perspective: 620px; }
.envelope-preview__image { display: block; width: min(420px, 92%); height: 210px; object-fit: contain; object-position: center; background: transparent; filter: drop-shadow(0 18px 22px rgba(63,79,56,.2)); transform: rotateX(var(--preview-rotate-x)) rotateY(var(--preview-rotate-y)) scale(1.04); transform-style: preserve-3d; transition: transform .12s ease-out, filter .2s ease; }
.envelope-preview:hover .envelope-preview__image { filter: drop-shadow(0 18px 20px rgba(63,79,56,.2)); }
.envelope-preview__name { color: var(--sage-dark); font-family: var(--font-serif); font-size: 1rem; font-weight: 600; }
@keyframes envelope-preview-in { from { opacity: .45; transform: scale(.92); } to { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .envelope-preview__image { animation: none; } }
.envelope-picker__viewport { position: relative; overflow: hidden; margin: 0 1.7rem; }
.envelope-picker__track { display: flex; gap: .7rem; transform: translateX(calc(var(--envelope-index, 0) * -33.333%)); transition: transform .35s var(--ease); }
.envelope-card { position: relative; flex: 0 0 calc((100% - 1.4rem) / 3); display: grid; gap: .28rem; cursor: pointer; text-align: center; color: var(--sage-dark); font-size: .78rem; padding: .35rem .25rem .45rem; background: transparent; border: 0; box-shadow: none; }
.envelope-card input { position: absolute; opacity: 0; pointer-events: none; }
.envelope-card__image { display: block; width: 100%; aspect-ratio: 1.42; object-fit: cover; border-radius: 0; background: transparent; box-shadow: none; transition: transform .25s, filter .25s; }
.envelope-card__flap { position: absolute; inset: 0 0 34%; background: rgba(255,255,255,.25); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.envelope-card__seal { position: absolute; left: 50%; top: 55%; transform: translate(-50%,-50%); display: grid; place-items: center; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: #b56b6b; color: #fff7ef; font-size: .65rem; }
.envelope-card__name { font-weight: 600; transition: color .25s, transform .25s; }
.envelope-card__desc { color: var(--muted); font-size: .7rem; }
.envelope-card.is-selected .envelope-card__image { transform: translateY(-4px) scale(1.035); filter: saturate(1.08) brightness(1.03); }
.envelope-card.is-selected .envelope-card__name { color: var(--sage-deep); transform: translateY(-1px); }
.envelope-card.is-selected::after { content: ""; position: absolute; right: 18%; bottom: 0; left: 18%; height: 3px; border-radius: 999px; background: var(--sage-deep); box-shadow: 0 2px 8px rgba(93,114,80,.24); }
.envelope-card--sunset .envelope-card__visual { background: #e6b58d; }.envelope-card--sunset .envelope-card__seal { background:#a95d52; }
.envelope-card--moon .envelope-card__visual { background: #8d9bb5; }.envelope-card--moon .envelope-card__seal { background:#d5a85f; }
.envelope-card--blossom .envelope-card__visual { background: #e9b9c0; }.envelope-card--blossom .envelope-card__seal { background:#b75f77; }
.envelope-picker__arrow { position:absolute; top:50%; z-index:2; display:grid; place-items:center; width:2.25rem; height:2.25rem; border:1px solid rgba(93,114,80,.2); border-radius:50%; background:rgba(255,253,248,.96); color:var(--sage-dark); font-size:.82rem; cursor:pointer; box-shadow:0 5px 14px rgba(63,79,56,.1); transform:translateY(-50%); transition:transform .2s, background .2s, box-shadow .2s; }
.envelope-picker__arrow:hover { background:#fff; transform:translateY(-50%) scale(1.08); box-shadow:0 8px 18px rgba(63,79,56,.16); }.envelope-picker__arrow--prev { left:.25rem; }.envelope-picker__arrow--next { right:.25rem; }
.envelope-picker__dots { display:flex; justify-content:center; gap:.35rem; margin-top:.65rem; }.envelope-picker__dots button { width:.42rem; height:.42rem; padding:0; border:0; border-radius:50%; background:rgba(93,114,80,.22); cursor:pointer; }.envelope-picker__dots button.is-active { background:var(--sage-deep); transform:scale(1.2); }
.envelope-picker[hidden], .letter-paper[hidden] { display: none; }
.letter-form.is-envelope-step .letter-target { display: none; }

.letter-paper__corner-sticker {
  position: absolute;
  z-index: 2;
  width: 3.8rem;
  height: auto;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 4px 9px rgba(63, 79, 56, 0.1));
}

.letter-paper__corner-sticker--left {
  top: -1.1rem;
  left: -0.85rem;
  transform: rotate(-8deg);
}

.letter-paper__corner-sticker--right {
  top: -0.65rem;
  right: -0.55rem;
  width: 3.35rem;
  transform: rotate(12deg);
}

.letter-paper__greeting {
  margin: 0 0 0.95rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px dashed rgba(93, 114, 80, 0.22);
  font-family: var(--font-serif);
  font-size: 1.08rem;
  color: var(--sage-dark);
}

.letter-paper textarea {
  width: 100%;
  min-height: 260px;
  resize: none;
  border: 0;
  outline: none;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='32'%3E%3Cline x1='0' y1='31.5' x2='100' y2='31.5' stroke='%235d7250' stroke-opacity='0.22' stroke-width='1' stroke-dasharray='2 5'/%3E%3C/svg%3E");
  background-size: 100% 32px;
  background-repeat: repeat-y;
  background-attachment: local;
  line-height: 32px;
  font-family: var(--font-serif);
  font-size: 1.02rem;
  color: var(--ink);
  padding: 0;
  caret-color: var(--sage);
}

.letter-paper textarea::placeholder {
  color: rgba(90, 103, 84, 0.58);
  font-family: var(--font-sans);
  font-size: 0.95rem;
}

.letter-paper__meta {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.7rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(93, 114, 80, 0.1);
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.03em;
}

.letter-form__submit {
  justify-self: center;
  min-width: min(100%, 17.5rem);
  padding: 1rem 1.7rem;
  border-radius: 0.9rem;
  font-size: 1rem;
  gap: 0.55rem;
  box-shadow: 0 12px 28px rgba(93, 114, 80, 0.24);
}

.letter-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  max-width: min(640px, 100%);
  margin: 0;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--sage-dark);
  background: rgba(255, 252, 246, 0.88);
  border: 1px solid rgba(93, 114, 80, 0.14);
  box-shadow:
    0 10px 28px rgba(63, 79, 56, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
}

.letter-note__heart {
  flex-shrink: 0;
  color: #b56b6b;
}

@media (max-width: 959px) {
  .letter-hero__leaf {
    right: -1.7rem;
    width: 1.45rem;
  }

}

@media (max-width: 520px) {
  .letter-shell {
    gap: 1.25rem;
    padding-top: calc(var(--header-h) + 1.5rem);
    align-content: start;
  }

  .letter-panel {
    padding: 1.75rem 1.1rem 1.3rem;
  }

  .letter-paper {
    padding: 1.25rem 1rem 0.9rem;
  }

  .letter-paper textarea {
    min-height: 210px;
  }

  .letter-note {
    padding: 0.65rem 0.95rem;
    font-size: 0.86rem;
    border-radius: 1rem;
  }
}

/* Sanctuary create page — garden nest / plaque (not letter reuse) */
.page-sanctuary {
  min-height: 100svh;
  position: relative;
}

.site-header--sanctuary {
  background: rgba(255, 252, 246, 0.55);
  border-bottom-color: rgba(93, 114, 80, 0.06);
  box-shadow: none;
}

.site-header--sanctuary.is-scrolled {
  background: rgba(255, 252, 246, 0.9);
  box-shadow: 0 8px 28px rgba(63, 79, 56, 0.08);
}

.sanctuary-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.sanctuary-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  animation: sanctuaryDrift 28s ease-in-out alternate infinite;
}

.sanctuary-bg__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 38%, rgba(255, 252, 246, 0.18), transparent 52%),
    linear-gradient(180deg, rgba(243, 238, 228, 0.72) 0%, rgba(243, 238, 228, 0.28) 34%, rgba(63, 79, 56, 0.28) 100%);
}

.sanctuary-shell {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 1.5rem;
  padding: calc(var(--header-h) + 2rem) 1.25rem 4.5rem;
  min-height: 100svh;
  align-content: start;
}

.sanctuary-hero {
  text-align: center;
  max-width: 28rem;
}

.sanctuary-hero__eyebrow {
  display: inline-block;
  margin: 0 0 0.55rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 252, 246, 0.7);
  border: 1px solid rgba(93, 114, 80, 0.12);
  color: var(--sage-deep);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.sanctuary-hero__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.65rem);
  font-weight: 600;
  color: var(--sage-dark);
  letter-spacing: -0.03em;
  line-height: 1.2;
  text-shadow: 0 1px 0 rgba(255, 252, 246, 0.85);
}

.sanctuary-hero__desc {
  margin: 0.65rem 0 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.sanctuary-nest {
  position: relative;
  width: min(560px, 100%);
  padding: 2rem 1.6rem 1.6rem;
  border-radius: 1.6rem;
  background:
    linear-gradient(165deg, rgba(255, 253, 248, 0.96) 0%, rgba(248, 243, 233, 0.94) 100%);
  border: 1px solid rgba(93, 114, 80, 0.12);
  box-shadow:
    0 22px 56px rgba(63, 79, 56, 0.14),
    0 1px 0 rgba(255, 255, 255, 0.75) inset;
  backdrop-filter: blur(12px);
}

.sanctuary-form {
  display: grid;
  gap: 1.75rem;
}

.sanctuary-portrait {
  display: grid;
  justify-items: center;
  gap: 0.45rem;
}

.sanctuary-portrait__ring {
  position: relative;
  width: 9.5rem;
  height: 9.5rem;
  cursor: pointer;
}

.sanctuary-portrait__preview {
  position: absolute;
  inset: 18%;
  z-index: 1;
  width: 64%;
  height: 64%;
  margin: auto;
  border-radius: 50%;
  object-fit: cover;
  box-shadow:
    0 0 0 3px rgba(255, 252, 246, 0.7),
    0 8px 18px rgba(63, 79, 56, 0.2);
}

.sanctuary-portrait__wreath {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  background: transparent;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 10px 18px rgba(63, 79, 56, 0.2));
  transition: transform 0.45s var(--ease);
}

.sanctuary-portrait__ring:hover .sanctuary-portrait__wreath {
  transform: scale(1.03) rotate(-2deg);
}

.sanctuary-portrait__hint {
  position: absolute;
  left: 50%;
  bottom: 0.35rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transform: translateX(-50%);
  padding: 0.38rem 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(63, 79, 56, 0.78);
  color: var(--cream);
  font-size: 0.72rem;
  white-space: nowrap;
  backdrop-filter: blur(6px);
}

.sanctuary-portrait__name {
  margin: 0.35rem 0 0;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--sage-dark);
  letter-spacing: -0.02em;
}

.sanctuary-portrait__note {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
  text-align: center;
}

.sanctuary-fields {
  display: grid;
  gap: 1.25rem;
  padding-top: 0.25rem;
  border-top: 1px solid rgba(93, 114, 80, 0.1);
}

.sanctuary-field {
  display: grid;
  gap: 0.45rem;
}

.sanctuary-label {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--sage-dark);
}

.sanctuary-label--sub {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.sanctuary-dates {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.55rem;
  align-items: end;
}

.sanctuary-dates__item {
  min-width: 0;
}

.sanctuary-dates__tilde {
  padding-bottom: 0.7rem;
  color: var(--sage-soft);
  font-family: var(--font-serif);
  font-size: 1.1rem;
}

.sanctuary-date-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 2.9rem;
  padding: 0.7rem 0.95rem;
  border: 1px solid rgba(93, 114, 80, 0.16);
  border-radius: 0.85rem;
  background: rgba(255, 252, 246, 0.88);
  color: var(--ink);
  text-align: left;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.sanctuary-date-trigger::after {
  content: "";
  width: 0.9rem;
  height: 0.9rem;
  flex-shrink: 0;
  margin-left: 0.5rem;
  background: center / contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d7250' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M8 3v4M16 3v4M3 11h18'/%3E%3C/svg%3E");
  opacity: 0.75;
}

.sanctuary-date-trigger:hover,
.sanctuary-date-trigger:focus,
.sanctuary-date-trigger:focus-visible {
  border-color: rgba(122, 143, 106, 0.55);
  background: var(--cream);
  box-shadow: inset 0 0 0 2px rgba(168, 184, 156, 0.65);
  outline: none;
}

.sanctuary-date-trigger.is-empty {
  color: rgba(125, 135, 118, 0.75);
}

.sanctuary-date-modal {
  width: min(22.5rem, calc(100vw - 2.5rem));
  overflow: visible;
}

.sanctuary-date-modal__inner {
  position: relative;
  text-align: left;
  padding-top: 1.7rem;
  contain: layout;
}

.sanctuary-date-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  color: var(--sage-deep);
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease;
}

.sanctuary-date-modal__close:hover,
.sanctuary-date-modal__close:focus-visible {
  background: rgba(122, 143, 106, 0.14);
  color: var(--sage-dark);
  outline: none;
}

.sanctuary-date-modal__close i {
  font-size: 1.05rem;
  line-height: 1;
}

.sanctuary-date-modal__title {
  margin: 0 2.4rem 0.65rem 0;
  min-height: 1.5rem;
}

.sanctuary-date-modal__hint {
  margin: 0 0 1.15rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.sanctuary-date-modal__pickers {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr) minmax(0, 0.9fr);
  gap: 0.55rem;
  margin-bottom: 1.35rem;
}

.sanctuary-date-modal__picker {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.sanctuary-date-modal__picker-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.sanctuary-date-modal__select {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.55rem 1.7rem 0.55rem 0.65rem;
  border: 1px solid rgba(93, 114, 80, 0.16);
  border-radius: 0.8rem;
  color: var(--ink);
  outline: none;
  appearance: none;
  background-color: rgba(255, 252, 246, 0.95);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235d7250' d='M1.2 1.2 6 6l4.8-4.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
  background-size: 0.7rem auto;
}

.sanctuary-date-modal__select:focus {
  border-color: rgba(122, 143, 106, 0.55);
  box-shadow: 0 0 0 3px rgba(168, 184, 156, 0.28);
}

.sanctuary-date-modal__actions {
  display: flex;
  justify-content: flex-end;
}

.sanctuary-date-modal__confirm {
  min-width: 5.5rem;
  min-height: 2.6rem;
  padding: 0.55rem 1rem;
  border-radius: 0.8rem;
}

.sanctuary-relation-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.sanctuary-relation-badge {
  display: inline-flex;
  cursor: pointer;
}

.sanctuary-relation-badge span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(93, 114, 80, 0.18);
  background: rgba(255, 252, 246, 0.92);
  color: var(--sage-dark);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.sanctuary-relation-badge:hover span {
  border-color: rgba(122, 143, 106, 0.45);
  background: rgba(122, 143, 106, 0.1);
}

.sanctuary-relation-badge:has(:checked) span,
.sanctuary-relation-badge:has(:focus-visible) span {
  background: var(--sage-deep);
  border-color: var(--sage-deep);
  color: #fff;
  box-shadow: 0 6px 14px rgba(93, 114, 80, 0.22);
}

.sanctuary-relation-badge:has(:focus-visible) span {
  outline: 2px solid rgba(168, 184, 156, 0.7);
  outline-offset: 2px;
}

.sanctuary-input,
.sanctuary-textarea {
  width: 100%;
  border: 1px solid rgba(93, 114, 80, 0.16);
  border-radius: 0.85rem;
  background: rgba(255, 252, 246, 0.88);
  color: var(--ink);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.sanctuary-input {
  min-height: 2.9rem;
  padding: 0.7rem 0.95rem;
}

.sanctuary-textarea {
  resize: none;
  min-height: 7.5rem;
  padding: 0.95rem 1rem;
  line-height: 1.65;
  font-family: var(--font-serif);
  font-size: 0.98rem;
}

.sanctuary-input::placeholder,
.sanctuary-textarea::placeholder {
  color: rgba(125, 135, 118, 0.75);
  font-family: var(--font-sans);
  font-size: 0.9rem;
}

.sanctuary-input:focus,
.sanctuary-textarea:focus {
  border-color: rgba(122, 143, 106, 0.55);
  background: var(--cream);
  /* 스크롤 컨테이너의 overflow에 잘리지 않도록 내부 포커스 링을 사용합니다. */
  box-shadow: inset 0 0 0 2px rgba(168, 184, 156, 0.65);
}

.sanctuary-count {
  display: flex;
  justify-content: flex-end;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.sanctuary-submit {
  justify-self: center;
  min-width: min(100%, 16.5rem);
  min-height: 3.15rem;
  padding: 0.95rem 1.7rem;
  border-radius: 1rem;
  background: linear-gradient(160deg, var(--sage) 0%, var(--sage-deep) 100%);
  color: var(--white);
  font-size: 1.02rem;
  font-weight: 500;
  gap: 0.55rem;
  box-shadow:
    0 12px 28px rgba(93, 114, 80, 0.28),
    0 1px 0 rgba(255, 255, 255, 0.22) inset;
}

/* 입력 컨트롤의 포커스 표시가 부모의 overflow에 잘리지 않도록 내부 링으로 통일합니다. */
input:focus,
textarea:focus,
select:focus,
.sanctuary-date-trigger:focus,
.sanctuary-date-trigger:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(168, 184, 156, 0.65) !important;
}

.sanctuary-submit:hover {
  background: linear-gradient(160deg, var(--sage-deep) 0%, #4d6142 100%);
}

.sanctuary-footnote {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  text-align: center;
  text-shadow: 0 1px 0 rgba(255, 252, 246, 0.55);
}

@keyframes sanctuaryDrift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.07) translate3d(-1%, -0.8%, 0); }
}

@media (max-width: 759px) {
  .sanctuary-portrait__ring {
    width: 8.4rem;
    height: 8.4rem;
  }
}

@media (max-width: 520px) {
  .sanctuary-shell {
    padding-top: calc(var(--header-h) + 1.35rem);
    gap: 1.15rem;
  }

  .sanctuary-nest {
    padding: 1.55rem 1.05rem 1.25rem;
    border-radius: 1.35rem;
  }

  .sanctuary-form {
    gap: 1.4rem;
  }

  .sanctuary-fields {
    gap: 1.1rem;
  }

  .sanctuary-dates {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .sanctuary-dates__tilde {
    display: none;
  }

  .sanctuary-date-modal__pickers {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sanctuary-date-modal__actions {
    justify-content: stretch;
  }

  .sanctuary-date-modal__confirm {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sanctuary-bg img {
    animation: none;
  }

  .sanctuary-portrait__ring:hover .sanctuary-portrait__wreath {
    transform: none;
  }
}

/* Forest story landing page */
.forest-story { overflow: hidden; background: #f3f0e7; color: var(--ink, #27352a); }
.forest-story__hero, .forest-story__season { position: relative; min-height: min(760px, 86vh); display: grid; align-items: center; overflow: hidden; color: #fff; }
.forest-story__hero-image, .forest-story__season-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.forest-story__hero-image { animation: forestStoryDrift 15s ease-in-out infinite alternate; }
.forest-story__hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 36, 24, .75), rgba(20, 36, 24, .28) 56%, rgba(20, 36, 24, .08)); }
.forest-story__hero-content { position: relative; z-index: 1; padding-top: 7rem; padding-bottom: 5rem; }
.forest-story__eyebrow { margin: 0 0 1.35rem; color: #a9bd9d; font: 600 .7rem/1.2 var(--font-sans, sans-serif); letter-spacing: .2em; }
.forest-story__hero h1, .forest-story__season h2 { max-width: 720px; margin: 0; font: 400 clamp(2.6rem, 5vw, 5.2rem)/1.2 var(--font-serif, 'Noto Serif KR', serif); letter-spacing: -.055em; }
.forest-story__hero h1 em, .forest-story__season h2 em, .forest-story__section-copy h2 em { color: #c0d0b7; font-style: normal; }
.forest-story__hero-content > p:not(.forest-story__eyebrow) { margin: 2rem 0 0; color: rgba(255,255,255,.82); font: 300 1.08rem/1.9 var(--font-sans, sans-serif); }
.forest-story__scroll { display: inline-flex; gap: .8rem; align-items: center; margin-top: 3.8rem; color: #fff; font-size: .85rem; letter-spacing: .08em; }
.forest-story__scroll span { font-size: 1.25rem; transition: transform .25s ease; }
.forest-story__scroll:hover span { transform: translateY(4px); }
.forest-story__meaning { padding: 9rem 0; background: #f3f0e7; }
.forest-story__meaning-grid, .forest-story__care-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr); gap: clamp(3rem, 10vw, 10rem); align-items: center; }
.forest-story__section-copy h2 { margin: 0 0 2rem; color: #344737; font: 400 clamp(2.2rem, 4vw, 4rem)/1.3 var(--font-serif, 'Noto Serif KR', serif); letter-spacing: -.06em; }
.forest-story__section-copy > p:not(.forest-story__eyebrow) { max-width: 590px; margin: 0 0 1.15rem; color: #697268; font-size: 1rem; line-height: 2; word-break: keep-all; }
.forest-story__facts { border-top: 1px solid rgba(95, 117, 86, .3); }
.forest-story__facts article { display: grid; grid-template-columns: 3rem 1fr; gap: .8rem 1.4rem; padding: 1.65rem 0; border-bottom: 1px solid rgba(95, 117, 86, .3); }
.forest-story__facts strong { grid-row: span 2; color: #9aac8f; font: 400 1.1rem/1.2 var(--font-serif, serif); }
.forest-story__facts h3 { margin: 0; color: #4d6249; font: 500 1.2rem/1.2 var(--font-serif, 'Noto Serif KR', serif); }
.forest-story__facts p { margin: 0; color: #7b8378; font-size: .88rem; line-height: 1.7; }
.forest-story__care { padding: 8rem 0; background: #40543e; }
.forest-story__care-media { overflow: hidden; }
.forest-story__care-media img { display: block; width: 100%; aspect-ratio: 1.5; object-fit: cover; }
.forest-story__section-copy--light h2 { color: #f4f0e7; }
.forest-story__section-copy--light > p:not(.forest-story__eyebrow) { color: rgba(244,240,231,.72); }
.forest-story__section-copy--light .forest-story__eyebrow { color: #b8cbb0; }
.forest-story__season { min-height: 620px; color: #344737; }
.forest-story__season-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.forest-story__season::before { content: ''; position: absolute; inset: 0; background: rgba(238, 240, 229, .42); }
.forest-story__season-inner { position: relative; z-index: 1; width: 100%; text-align: center; }
.forest-story__season h2 { max-width: none; color: #344737; font-size: clamp(2.25rem, 4.5vw, 4.6rem); }
.forest-story__season h2 em { color: #55704f; }
.forest-story__season-inner > p:not(.forest-story__eyebrow) { margin: 2rem 0 0; color: #657260; font-size: 1rem; line-height: 2; }
@keyframes forestStoryDrift { from { transform: scale(1.02); } to { transform: scale(1.08); } }
@media (max-width: 759px) {
  .forest-story__hero { min-height: 680px; }
  .forest-story__hero-content { padding-top: 5rem; }
  .forest-story__hero-overlay { background: linear-gradient(90deg, rgba(20,36,24,.78), rgba(20,36,24,.3)); }
  .forest-story__meaning { padding: 5.5rem 0; }
  .forest-story__meaning-grid, .forest-story__care-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .forest-story__care { padding: 5.5rem 0; }
  .forest-story__season { min-height: 560px; }
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.2%, -0.8%, 0); }
}

@keyframes bounceSoft {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.55; }
  50% { transform: translateX(-50%) translateY(6px); opacity: 0.9; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
