/* ================================================================
   Raja Ravi Varma — Shared styles
   Aesthetic: Old-world Indian. Palace ochres, deep reds, gold leaf.
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500&family=Spectral:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Marcellus&display=swap');

:root {
  /* --- Palette: "Palace" (default) --- */
  --paper: #f3e7d0;
  --paper-2: #ecdcbe;
  --paper-shade: #e3cfa9;
  --ink: #1a0d0a;
  --ink-soft: #3a241a;
  --oxblood: #5a1320;
  --oxblood-deep: #3d0d18;
  --ochre: #b8842e;
  --ochre-light: #d4a44a;
  --gold: #c8a052;
  --gold-bright: #e6c577;
  --maroon: #4a0e1a;
  --indigo: #1f2c4a;
  --green-mughal: #2f4a32;

  --rule: rgba(58, 36, 26, 0.35);
  --rule-strong: rgba(58, 36, 26, 0.6);

  /* Type */
  --display: 'Cormorant Garamond', 'Garamond', serif;
  --body: 'Spectral', 'Georgia', serif;
  --label: 'Marcellus', 'Cormorant Garamond', serif;

  --maxw: 1280px;
  --readw: 680px;
}

/* ============================================================
   Tweak palettes — applied via [data-palette="..."] on <body>
   ============================================================ */
body[data-palette="ink"] {
  --paper: #f0e3c8;
  --paper-2: #e7d8b6;
  --paper-shade: #ddc99e;
  --ink: #0e0a08;
  --ink-soft: #2a1a14;
  --oxblood: #6a1e2a;
  --oxblood-deep: #4a1118;
  --ochre: #c8923a;
  --gold: #d4a55a;
  --gold-bright: #f0c97a;
  --maroon: #1a0a0a;
}
body[data-palette="dusk"] {
  --paper: #1c1410;
  --paper-2: #261c14;
  --paper-shade: #2e2218;
  --ink: #f0e3c8;
  --ink-soft: #d4c4a0;
  --oxblood: #8a2030;
  --oxblood-deep: #5a1422;
  --ochre: #d4a44a;
  --ochre-light: #e6c577;
  --gold: #d4a55a;
  --gold-bright: #f0c97a;
  --maroon: #6a1018;
  --rule: rgba(212, 196, 160, 0.25);
  --rule-strong: rgba(212, 196, 160, 0.5);
}
body[data-palette="ivory"] {
  --paper: #faf3e3;
  --paper-2: #f3ead4;
  --paper-shade: #ead9b8;
  --ink: #2a1f18;
  --ink-soft: #4a3a2a;
  --oxblood: #7a2030;
  --oxblood-deep: #5a1420;
  --ochre: #b8842e;
  --gold: #c8a052;
  --maroon: #4a0e1a;
}

/* ============================================================ */

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Subtle paper texture (no images) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    radial-gradient(rgba(58, 36, 26, 0.04) 1px, transparent 1px),
    radial-gradient(rgba(58, 36, 26, 0.025) 1px, transparent 1px);
  background-size: 3px 3px, 7px 7px;
  background-position: 0 0, 1px 2px;
  mix-blend-mode: multiply;
  opacity: 0.6;
}

a { color: var(--oxblood); text-decoration: none; border-bottom: 1px solid var(--rule); transition: color .2s, border-color .2s; }
a:hover { color: var(--maroon); border-color: var(--gold); }

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  letter-spacing: 0.005em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); line-height: 0.98; font-weight: 400; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.05; font-weight: 400; }
h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.15; }
h4 { font-size: 1.15rem; }

.eyebrow {
  font-family: var(--label);
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--oxblood);
}

.lede {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.4;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.body p { text-wrap: pretty; max-width: var(--readw); }

.dropcap::first-letter {
  font-family: var(--display);
  font-weight: 500;
  float: left;
  font-size: 5.2em;
  line-height: 0.85;
  padding: 0.05em 0.12em 0 0;
  color: var(--oxblood);
}

.caption {
  font-family: var(--label);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1.5;
}

.caption em {
  font-family: var(--display);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.1em;
  color: var(--ink);
}

/* ============================================================
   Layout primitives
   ============================================================ */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(36px, 4vw, 56px); position: relative; z-index: 2; }
.wrap-narrow { max-width: 860px; margin: 0 auto; padding: 0 clamp(36px, 4vw, 56px); position: relative; z-index: 2; }

section { position: relative; z-index: 2; }

/* Double rule divider */
.rule-double {
  border: 0;
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
  height: 4px;
  margin: 3rem auto;
  max-width: 200px;
}

/* Ornament divider (CSS-only diamond + lines) */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 4rem auto;
  color: var(--gold);
}
.ornament .line { flex: 0 0 80px; height: 1px; background: var(--rule-strong); }
.ornament .diamond {
  width: 8px; height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 14px 0 0 var(--ochre), -14px 0 0 var(--ochre);
}

/* ============================================================
   Site chrome — top nav
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px clamp(36px, 4vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-mark {
  font-family: var(--label);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink);
  border: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-mark .glyph {
  width: 26px; height: 26px;
  border: 1px solid var(--gold);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--display);
  font-style: italic;
  color: var(--oxblood);
  font-size: 1.1rem;
  position: relative;
}
.nav-mark .glyph::before {
  content: "";
  position: absolute; inset: 2px;
  border: 1px solid var(--rule);
}
.nav-links { display: flex; gap: clamp(14px, 2.4vw, 32px); }
.nav-links a {
  font-family: var(--label);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 0;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--oxblood);
  border-bottom-color: var(--gold);
}
.theme-toggle {
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink-soft);
  margin-left: 4px;
  padding: 0;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.3s ease;
}
.theme-toggle:hover {
  color: var(--oxblood);
  border-color: var(--gold);
  transform: rotate(15deg);
}
.theme-toggle .ico { width: 16px; height: 16px; display: block; }
.theme-toggle .ico-sun { display: none; }
body[data-palette="dusk"] .theme-toggle .ico-moon { display: none; }
body[data-palette="dusk"] .theme-toggle .ico-sun { display: block; }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-burger {
  display: none;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 4px;
  width: 36px; height: 36px;
  padding: 0;
  cursor: pointer;
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--ink);
  transition: border-color 0.2s ease;
}
.nav-burger:hover { border-color: var(--gold); }
.nav-burger span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
body.nav-open .nav-burger span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
body.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
body.nav-open .nav-burger span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ============================================================
   Footer
   ============================================================ */
.foot {
  margin-top: 6rem;
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--rule);
  background: color-mix(in srgb, var(--paper) 80%, var(--paper-shade));
  position: relative;
  z-index: 2;
}
.foot-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(36px, 4vw, 56px);
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
}
.foot h4 {
  font-family: var(--label);
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--oxblood);
  margin-bottom: 14px;
}
.foot p, .foot li { font-size: 0.92rem; color: var(--ink-soft); }
.foot ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.foot a { color: var(--ink); border-bottom-color: transparent; }
.foot a:hover { color: var(--oxblood); border-bottom-color: var(--gold); }
.foot-meta {
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--rule);
  max-width: var(--maxw);
  margin-left: auto; margin-right: auto;
  padding-left: clamp(36px, 4vw, 56px);
  padding-right: clamp(36px, 4vw, 56px);
  display: flex;
  justify-content: space-between;
  font-family: var(--label);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ============================================================
   Painting frame — ornate gold border
   ============================================================ */
.frame {
  position: relative;
  padding: 8px;
  background: linear-gradient(135deg, var(--gold-bright), var(--ochre) 35%, var(--gold) 65%, var(--ochre-light));
  box-shadow:
    0 1px 0 rgba(255,255,255,0.4) inset,
    0 0 0 1px var(--oxblood-deep),
    0 30px 60px -20px rgba(26, 13, 10, 0.5),
    0 8px 20px -8px rgba(26, 13, 10, 0.3);
}
.frame::before {
  content: "";
  position: absolute; inset: 4px;
  border: 1px solid var(--oxblood-deep);
  pointer-events: none;
}
.frame::after {
  content: "";
  position: absolute; inset: 8px;
  border: 1px solid rgba(26, 13, 10, 0.35);
  box-shadow: 0 0 0 1px rgba(255, 220, 150, 0.25) inset;
  pointer-events: none;
}
.frame img { display: block; width: 100%; height: auto; position: relative; }

/* Smaller, simpler frame for cards */
.frame-thin {
  padding: 5px;
  background: linear-gradient(135deg, var(--ochre-light), var(--ochre));
  box-shadow: 0 0 0 1px var(--oxblood-deep), 0 14px 28px -10px rgba(26, 13, 10, 0.4);
}
.frame-thin::before {
  content: "";
  position: absolute; inset: 3px;
  border: 1px solid var(--oxblood-deep);
  pointer-events: none;
}
.frame-thin img { display: block; width: 100%; height: auto; }
.frame-thin { position: relative; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--label);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #f3e7d0;
  background: var(--oxblood);
  border: 1px solid var(--oxblood-deep);
  border-bottom: 0;
  cursor: pointer;
  transition: background .2s, transform .2s;
  position: relative;
}
.btn::after {
  content: "";
  position: absolute; inset: 3px;
  border: 1px solid rgba(255, 220, 150, 0.3);
  pointer-events: none;
}
.btn:hover { background: var(--maroon); transform: translateY(-1px); color: #f3e7d0; border-color: var(--gold); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--rule-strong);
}
.btn-ghost:hover { background: transparent; border-color: var(--oxblood); color: var(--oxblood); }

/* ============================================================
   Small numbered marker
   ============================================================ */
.numeral {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--label);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--oxblood);
}
.numeral .num {
  display: inline-flex;
  width: 28px; height: 28px;
  align-items: center; justify-content: center;
  border: 1px solid var(--gold);
  font-family: var(--display);
  font-style: italic;
  font-size: 1rem;
  color: var(--oxblood);
}

/* ============================================================
   Reveal on scroll — varied directions, staggered
   ============================================================ */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s cubic-bezier(.2,.7,.2,1), transform 1.1s cubic-bezier(.2,.7,.2,1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal-left  { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal-up    { transform: translateY(60px); }
.reveal-zoom  { transform: scale(0.94); }
.reveal-blur  { filter: blur(8px); transform: translateY(20px); transition: opacity 1.2s, transform 1.2s, filter 1.2s; }
.reveal.in.reveal-left, .reveal.in.reveal-right, .reveal.in.reveal-up, .reveal.in.reveal-zoom { transform: none; }
.reveal.in.reveal-blur { filter: none; transform: none; }
[data-stagger] > .reveal { transition-delay: calc(var(--i, 0) * 80ms); }

/* ============================================================
   Frame: shimmer + hover-lift
   ============================================================ */
.frame, .frame-thin { transition: transform 0.6s cubic-bezier(.2,.7,.2,1), box-shadow 0.6s; }
.frame::before {
  background-size: 200% 100%;
}
.frame {
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--ochre) 25%, var(--gold) 50%, var(--ochre-light) 75%, var(--gold-bright) 100%);
  background-size: 250% 250%;
  animation: gold-shimmer 12s ease-in-out infinite;
}
@keyframes gold-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
.frame:hover, .frame-thin:hover {
  transform: translateY(-6px) rotate(-0.3deg) !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.4) inset,
    0 0 0 1px var(--oxblood-deep),
    0 50px 80px -20px rgba(26, 13, 10, 0.55),
    0 12px 28px -8px rgba(26, 13, 10, 0.4),
    0 0 0 4px rgba(200, 160, 82, 0.2);
}
.frame img { transition: transform 0.8s cubic-bezier(.2,.7,.2,1); }
.frame:hover img { transform: scale(1.03); }

/* ============================================================
   Animated gold glyph — for nav mark
   ============================================================ */
.nav-mark .glyph {
  transition: transform 0.6s cubic-bezier(.2,.7,.2,1);
}
.nav-mark:hover .glyph {
  transform: rotate(45deg);
  border-color: var(--oxblood);
}
.nav-mark:hover .glyph::before {
  border-color: var(--gold);
}

/* ============================================================
   Buttons: ink-fill hover
   ============================================================ */
.btn {
  overflow: hidden;
  isolation: isolate;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--maroon);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.45s cubic-bezier(.6,.2,.2,1);
  z-index: -1;
}
.btn:hover::before { transform: scaleY(1); }
.btn { transform: translateY(0); }
.btn:hover { transform: translateY(-2px); }

/* ============================================================
   Animated ornament — diamonds breathe
   ============================================================ */
.ornament .diamond {
  animation: breathe 4s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { transform: rotate(45deg) scale(1); opacity: 1; }
  50%      { transform: rotate(45deg) scale(1.4); opacity: 0.7; }
}
.ornament .line {
  background: linear-gradient(to right, transparent, var(--rule-strong), transparent);
}

/* ============================================================
   Decorative SVG flourishes — scrollable backgrounds
   ============================================================ */
.flourish-bg {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.08;
  color: var(--oxblood);
  width: 600px;
  height: 600px;
}
.flourish-tl { top: -180px; left: -180px; }
.flourish-tr { top: -180px; right: -180px; transform: scaleX(-1); }
.flourish-br { bottom: -180px; right: -180px; transform: scale(-1, -1); }

/* Mandala orbit — gold radial behind hero */
.mandala {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.mandala::before, .mandala::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--gold);
  opacity: 0.2;
}
.mandala::after { inset: 12%; opacity: 0.12; }
.mandala-spin { animation: spin 80s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   Section enter — heading underline draws in
   ============================================================ */
.h-flourish {
  display: inline-block;
  position: relative;
  padding-bottom: 0.4em;
}
.h-flourish::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s cubic-bezier(.2,.7,.2,1) 0.3s;
}
.reveal.in .h-flourish::after { transform: scaleX(1); }

/* ============================================================
   Floating gold particles — gentle ambient motion
   ============================================================ */
.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.particles span {
  position: absolute;
  width: 4px; height: 4px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 8px var(--gold-bright);
  animation: float-up 12s linear infinite;
}
@keyframes float-up {
  0%   { transform: translateY(110vh) translateX(0); opacity: 0; }
  10%  { opacity: 0.7; }
  90%  { opacity: 0.7; }
  100% { transform: translateY(-10vh) translateX(20px); opacity: 0; }
}

/* ============================================================
   Hero: parallax painting + cinematic entrance
   ============================================================ */
.hero-art .frame {
  animation: hero-frame-in 1.6s cubic-bezier(.2,.7,.2,1) 0.2s both;
  will-change: transform;
}
@keyframes hero-frame-in {
  0%   { transform: rotate(-8deg) scale(0.85) translateY(40px); opacity: 0; filter: blur(10px); }
  100% { transform: rotate(-1.2deg) scale(1) translateY(0); opacity: 1; filter: none; }
}
.hero h1, .hero .lede, .hero-actions, .hero-text .eyebrow {
  animation: text-rise 1.2s cubic-bezier(.2,.7,.2,1) both;
}
.hero-text .eyebrow { animation-delay: 0.05s; }
.hero h1            { animation-delay: 0.2s; }
.hero .lede         { animation-delay: 0.4s; }
.hero-actions       { animation-delay: 0.6s; }
@keyframes text-rise {
  from { transform: translateY(28px); }
  to   { transform: none; }
}

/* ============================================================
   Word-by-word reveal — for headlines
   ============================================================ */
.split-words .word {
  display: inline-block;
}
.split-words .word.space { width: 0.3em; }
@keyframes word-rise {
  to { opacity: 1; transform: none; }
}

/* ============================================================
   Image: Ken-Burns slow zoom for hero/feature images
   ============================================================ */
.kenburns img { animation: kenburns 20s ease-in-out infinite alternate; }
@keyframes kenburns {
  0%   { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.08) translate(-2%, -1%); }
}

/* ============================================================
   Marquee strip — for legacy items / years
   ============================================================ */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper-shade);
  padding: 18px 0;
  position: relative;
}
.marquee-track {
  display: flex;
  gap: 60px;
  animation: marquee-roll 60s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.marquee-item {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 60px;
}
.marquee-item::after {
  content: "\2726";
  color: var(--gold);
  font-size: 0.7em;
}
@keyframes marquee-roll {
  to { transform: translateX(-50%); }
}

/* ============================================================
   Custom cursor on painting hover
   ============================================================ */
.frame, .frame-thin { cursor: zoom-in; }

/* ============================================================
   Mouse parallax containers
   ============================================================ */
[data-parallax] { will-change: transform; transition: transform 0.3s cubic-bezier(.2,.7,.2,1); }

/* ============================================================
   Reduce motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 760px) {
  .foot-inner { grid-template-columns: 1fr; }
  .foot-wander { display: none; }
  .foot-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    text-align: left;
  }
  .flourish-bg { display: none; }
  .nav-dates { display: none; }

  .nav-burger { display: inline-flex; }
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    width: min(86vw, 340px);
    height: 100dvh;
    background: var(--paper);
    border-left: 1px solid var(--rule);
    box-shadow: -20px 0 60px -20px rgba(0,0,0,0.25);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 88px 32px 32px;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(.2,.7,.2,1);
    z-index: 90;
    overflow-y: auto;
  }
  .nav-links a {
    font-size: 0.92rem;
    padding: 14px 0;
    width: 100%;
    border-bottom: 1px solid var(--rule);
    border-radius: 0;
  }
  body.nav-open .nav-links { transform: translateX(0); }
  body.nav-open::after {
    content: "";
    position: fixed; inset: 0;
    background: rgba(20, 12, 8, 0.45);
    backdrop-filter: blur(2px);
    z-index: 80;
  }
  body.nav-open { overflow: hidden; }
}
