/* ============================================================
   Leaf & Still — leafandstill.com
   Warm botanical editorial · responsive · EN / KO
   ============================================================ */

:root {
  --ivory: #FAF7F2;
  --cream: #FFFDF9;
  --forest: #243B31;
  --sage: #5C7466;
  --gold: #B07D4F;
  --gold-ink: #8F6238;
  --ink: #2A2A25;
  --muted: #666B62;
  --line: rgba(36, 59, 49, 0.14);
  --line-soft: rgba(36, 59, 49, 0.075);
  --header-h: 78px;
  --pad: clamp(20px, 4vw, 48px);

  --font-display: "Cormorant Garamond", "Noto Serif KR", Georgia, serif;
  --font-serif: "Noto Serif KR", "Cormorant Garamond", Georgia, serif;
  --font-sans: "Noto Sans KR", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* Korean mode leads with the Korean serif for headings */
html[lang="ko"] {
  --font-display: "Noto Serif KR", "Cormorant Garamond", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--ivory);
  background-image:
    radial-gradient(1100px 620px at 88% -12%, rgba(176, 125, 79, 0.075), transparent 62%),
    radial-gradient(900px 520px at -12% 28%, rgba(92, 116, 102, 0.07), transparent 62%);
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html[lang="ko"] body { line-height: 1.8; word-break: keep-all; }

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

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

::selection { background: rgba(176, 125, 79, 0.22); }

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--forest);
  color: var(--ivory);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: min(1180px, 100% - (var(--pad) * 2));
  margin-inline: auto;
}

[id] { scroll-margin-top: calc(var(--header-h) + 18px); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.site-header.is-scrolled,
.site-header.nav-open {
  background: rgba(250, 247, 242, 0.96);
  border-bottom-color: var(--line);
  box-shadow: 0 12px 30px -26px rgba(36, 59, 49, 0.55);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(14px, 3vw, 40px);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--forest);
  text-decoration: none;
  flex: none;
}
.brand-mark { width: 23px; height: 23px; flex: none; }
.brand-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.055em;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 36px);
}
.nav a {
  position: relative;
  padding: 6px 0;
  color: var(--forest);
  font-family: var(--font-sans);
  font-size: 0.845rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-decoration: none;
  white-space: nowrap;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transition: right 0.35s ease;
}
.nav a:hover::after,
.nav a:focus-visible::after { right: 0; }

.header-tools {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: none;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
}
.lang-btn {
  appearance: none;
  padding: 2px 0 3px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: none;
  color: var(--sage);
  font: inherit;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.lang-btn[lang="ko"] {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: none;
}
.lang-btn[aria-pressed="true"] {
  color: var(--forest);
  border-bottom-color: var(--gold);
}
.lang-btn:hover { color: var(--forest); }
.lang-divider {
  color: rgba(36, 59, 49, 0.28);
  font-size: 0.75rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: none;
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  width: 16px;
  height: 1px;
  background: var(--forest);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-top: clamp(38px, 6vw, 84px);
  padding-bottom: clamp(10px, 2vw, 22px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
html[lang="ko"] .eyebrow { letter-spacing: 0.18em; }

.hero-title {
  margin: 0;
  font-size: clamp(3rem, 7.4vw, 5.5rem);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: 0.005em;
  color: var(--forest);
}
.brand-lettering {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 300;
  letter-spacing: 0.005em;
}

.hero-tagline {
  margin: 24px 0 0;
  max-width: 26ch;
  color: var(--forest);
  font-size: 1.12rem;
  line-height: 1.65;
}
html[lang="ko"] .hero-tagline { max-width: 32ch; font-weight: 400; }
html[lang="en"] .hero-tagline {
  max-width: 30ch;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.2rem, 2vw, 1.62rem);
  line-height: 1.5;
}

.hero-lede {
  margin: 18px 0 0;
  max-width: 44ch;
  color: var(--muted);
  font-size: 0.965rem;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}

.hero-meta {
  margin: 26px 0 0;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
}
html[lang="ko"] .hero-meta { letter-spacing: 0.08em; text-transform: none; font-size: 0.78rem; }

.hero-media {
  position: relative;
  margin: 0;
}
.hero-frame { position: relative; }
.hero-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 16 / 10.4;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 44px 70px -44px rgba(22, 38, 31, 0.6);
}
.hero-frame::after {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  z-index: 0;
  border: 1px solid rgba(176, 125, 79, 0.4);
  border-radius: 3px;
  pointer-events: none;
}
.hero-media figcaption {
  margin-top: 26px;
  font-family: var(--font-sans);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
}
html[lang="ko"] .hero-media figcaption { letter-spacing: 0.06em; text-transform: none; font-size: 0.76rem; }

.hero-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: clamp(44px, 6vw, 80px) 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sage);
}
html[lang="ko"] .hero-strip { letter-spacing: 0.22em; }
.hero-strip .dot { color: var(--gold); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 26px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 0.79rem;
  font-weight: 400;
  letter-spacing: 0.09em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
html[lang="ko"] .btn { letter-spacing: 0.04em; font-size: 0.82rem; }

.btn-primary {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--ivory);
}
.btn-primary:hover {
  background: #1b2e25;
  border-color: #1b2e25;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(36, 59, 49, 0.3);
  color: var(--forest);
}
.btn-ghost:hover {
  border-color: var(--forest);
  background: rgba(36, 59, 49, 0.045);
  transform: translateY(-1px);
}

.btn-small {
  padding: 11px 18px;
  font-size: 0.73rem;
  letter-spacing: 0.07em;
}
html[lang="ko"] .btn-small { font-size: 0.79rem; }

.btn-disabled {
  background: transparent;
  border-color: var(--line);
  color: var(--sage);
  cursor: default;
}
.btn-disabled:hover { transform: none; background: transparent; }

/* English-only element, hidden in Korean mode */
body[data-lang="ko"] .en-only { display: none; }

/* ---------- Sections ---------- */

.section { padding-block: clamp(62px, 8.5vw, 110px); }

.books {
  background: linear-gradient(180deg, rgba(255, 253, 249, 0) 0%, rgba(255, 253, 249, 0.72) 10%, rgba(255, 253, 249, 0.72) 90%, rgba(255, 253, 249, 0) 100%);
}

.videos {
  background: linear-gradient(180deg, #F7F3EC 0%, #F4EFE6 100%);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.section-head {
  max-width: 660px;
  margin-bottom: clamp(36px, 5vw, 58px);
}
.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.3vw, 3.05rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.005em;
  color: var(--forest);
}
html[lang="ko"] .section-head h2 { font-weight: 500; letter-spacing: 0.01em; }

.section-intro {
  margin: 18px 0 0;
  max-width: 56ch;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.9;
}

/* ---------- Books ---------- */

.book-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.8vw, 38px);
}

.book-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  box-shadow: 0 22px 44px -38px rgba(36, 59, 49, 0.55);
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.45s ease;
}
.book-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 34px 56px -38px rgba(36, 59, 49, 0.55);
}

.book-cover {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #ECE6DA;
}
.book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.book-card:hover .book-cover img { transform: scale(1.018); }

.book-cover--designed {
  background: linear-gradient(160deg, #24382D 0%, #182A22 58%, #20362C 100%);
}

.designed-cover {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 26px;
  text-align: center;
}
.designed-cover-mark {
  width: 84px;
  height: 84px;
  margin-bottom: 14px;
  color: rgba(176, 125, 79, 0.5);
}
.designed-cover-kicker {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(200, 154, 104, 0.95);
}
html[lang="ko"] .designed-cover-kicker { letter-spacing: 0.16em; font-size: 0.72rem; text-transform: none; }

.designed-cover-title {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.9vw, 1.6rem);
  font-weight: 400;
  line-height: 1.3;
  color: #F6F0E4;
}
html[lang="ko"] .designed-cover-title { font-size: 1.28rem; letter-spacing: 0.1em; }

.designed-cover-rule {
  display: block;
  width: 34px;
  height: 1px;
  margin: 14px 0 12px;
  background: rgba(176, 125, 79, 0.75);
}
.designed-cover-author {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.64rem;
  letter-spacing: 0.24em;
  color: rgba(250, 247, 242, 0.62);
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 1px;
  background: rgba(36, 59, 49, 0.92);
  color: var(--ivory);
  font-family: var(--font-sans);
  font-size: 0.61rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
html[lang="ko"] .badge { letter-spacing: 0.08em; font-size: 0.7rem; text-transform: none; }
.badge--live { background: #96683E; }

.book-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 24px 28px;
}
.book-vol {
  margin: 0 0 10px;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
html[lang="ko"] .book-vol { letter-spacing: 0.1em; text-transform: none; font-size: 0.73rem; }

.book-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.16rem, 1.5vw, 1.38rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--forest);
}
html[lang="ko"] .book-title { font-size: 1.14rem; line-height: 1.5; letter-spacing: 0; }

.book-meta {
  margin: 10px 0 0;
  font-family: var(--font-sans);
  font-size: 0.71rem;
  letter-spacing: 0.04em;
  color: var(--sage);
}
.book-desc {
  margin: 14px 0 0;
  color: #5a5f56;
  font-size: 0.9rem;
  line-height: 1.85;
}
.book-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 22px;
}

/* ---------- Videos & Sleep ---------- */

.video-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(20px, 3vw, 36px);
  align-items: start;
}

.video-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  box-shadow: 0 24px 44px -40px rgba(36, 59, 49, 0.6);
}

.video-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #16211c;
}
.video-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-media--poster {
  display: grid;
  place-items: center;
  padding: clamp(16px, 2.6vw, 26px);
  background: radial-gradient(circle at 50% 38%, #2B3A32 0%, #17231D 72%);
}
.poster-frame {
  height: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid rgba(176, 125, 79, 0.35);
  border-radius: 2px;
  box-shadow: 0 26px 44px -20px rgba(0, 0, 0, 0.9);
}
.poster-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.play-disc {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(250, 247, 242, 0.28);
  border-radius: 50%;
  background: rgba(20, 32, 27, 0.38);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: rgba(250, 247, 242, 0.95);
}
.play-disc svg { width: 26px; height: 26px; }

.video-body { padding: 22px 24px 26px; }
.video-label {
  margin: 0 0 10px;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
html[lang="ko"] .video-label { letter-spacing: 0.1em; text-transform: none; font-size: 0.73rem; }

.video-body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.18rem, 1.7vw, 1.46rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--forest);
}
html[lang="ko"] .video-body h3 { font-size: 1.12rem; line-height: 1.5; }
.video-body p {
  margin: 12px 0 0;
  color: #5a5f56;
  font-size: 0.9rem;
  line-height: 1.85;
}

/* ---------- Notes ---------- */

.note-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.8vw, 32px);
}

.note-card {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 3vw, 38px);
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
}
.note-card::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -38px;
  width: 118px;
  height: 118px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23243B31' stroke-width='0.8'%3E%3Cpath d='M12 2.8c4.6 2.5 7 6.2 7 9.9 0 4.3-3 7.6-7 8.6-4-1-7-4.3-7-8.6 0-3.7 2.4-7.4 7-9.9Z'/%3E%3Cpath d='M12 21.3V7.2M12 12.7c1.7-.9 3.1-2.4 3.9-4.3M12 15.6c-1.6-.7-2.9-1.9-3.6-3.5'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: 0.065;
  pointer-events: none;
}

.note-label {
  margin: 0 0 12px;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
html[lang="ko"] .note-label { letter-spacing: 0.1em; text-transform: none; font-size: 0.73rem; }

.note-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--forest);
}
html[lang="ko"] .note-card h3 { font-size: 1.14rem; line-height: 1.55; }

.note-card p:not(.note-label) {
  margin: 16px 0 0;
  color: #5a5f56;
  font-size: 0.92rem;
  line-height: 1.9;
}

.archive-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(28px, 4vw, 44px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.archive-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.link-arrow {
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(176, 125, 79, 0.6);
  color: var(--forest);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.link-arrow::after { content: " \2192"; }
.link-arrow:hover { color: var(--gold-ink); border-color: var(--gold); }

/* ---------- Footer ---------- */

.site-footer {
  padding-block: clamp(46px, 6vw, 72px);
  background: var(--forest);
  color: rgba(250, 247, 242, 0.78);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
.footer-brand .brand-lettering {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #F6F0E4;
}
.footer-tagline {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-style: italic;
  color: rgba(250, 247, 242, 0.6);
}
html[lang="ko"] .footer-tagline { font-style: normal; }

.footer-meta { max-width: 430px; }
.footer-author {
  margin: 0;
  color: rgba(250, 247, 242, 0.75);
  font-size: 0.86rem;
  line-height: 1.8;
}
.footer-copy {
  margin: 14px 0 0;
  color: rgba(250, 247, 242, 0.55);
  font-family: var(--font-sans);
  font-size: 0.71rem;
  letter-spacing: 0.08em;
}
.footer-copy a,
.footer-links a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(250, 247, 242, 0.28);
}
.footer-copy a:hover,
.footer-links a:hover { color: #F6F0E4; border-color: rgba(246, 240, 228, 0.6); }
.footer-links {
  display: flex;
  gap: 10px;
  margin: 12px 0 0;
  color: rgba(250, 247, 242, 0.55);
  font-family: var(--font-sans);
  font-size: 0.71rem;
}

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.85s ease, transform 0.85s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }

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

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px var(--pad) 22px;
    background: #FAF7F2;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 26px 42px -32px rgba(36, 59, 49, 0.6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
  }
  .nav-open .nav {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
  .nav a {
    padding: 15px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 0.95rem;
  }
  .nav a::after { display: none; }

  .hero-grid { grid-template-columns: 1fr; gap: clamp(34px, 6vw, 52px); }
  .hero-media { order: 2; }
  .hero-copy { order: 1; }
  .hero-title { font-size: clamp(2.9rem, 12vw, 4.4rem); }
  .hero-tagline { max-width: 24ch; }

  .video-grid { grid-template-columns: 1fr; }
  .video-media--poster { aspect-ratio: 1 / 1; }
}

@media (max-width: 760px) {
  .note-grid { grid-template-columns: 1fr; }
  .hero-frame::after { inset: 10px -10px -10px 10px; }
  .footer-inner { flex-direction: column; gap: 26px; }
  .footer-meta { max-width: none; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .book-grid { grid-template-columns: 1fr; }
  .brand-name { font-size: 1.14rem; }
  .lang-switch { gap: 6px; }
  .hero-actions .btn { flex: 1 1 46%; padding-inline: 16px; }
  .hero-strip { gap: 12px; font-size: 0.64rem; letter-spacing: 0.2em; }
  .archive-cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 380px) {
  .brand-mark { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .book-card:hover { transform: none; }
  .book-card:hover .book-cover img { transform: none; }
  .btn:hover { transform: none; }
}
