/* ============ Kerelite — Design Tokens ============ */
:root {
  /* Palette (default: gold + ink + ivory) */
  --gold: #B08A3E;
  --gold-soft: #C9A863;
  --gold-deep: #8C6A2B;
  --ink: #141210;
  --ink-soft: #2a2623;
  --ivory: #F6F1E7;
  --ivory-warm: #EFE7D6;
  --paper: #FBF8F1;
  --line: rgba(20, 18, 16, 0.12);
  --muted: rgba(20, 18, 16, 0.62);

  /* Type */
  --display: "Cormorant Garamond", "Fraunces", Georgia, serif;
  --sans: "Inter Tight", "Inter", -apple-system, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --maxw: 1320px;
}

/* Palette variants */
[data-palette="ink"] {
  --gold: #B08A3E;
  --gold-soft: #C9A863;
  --gold-deep: #8C6A2B;
  --ink: #141210;
  --ivory: #F6F1E7;
  --paper: #FBF8F1;
}
[data-palette="forest"] {
  --gold: #B08A3E;
  --gold-soft: #C9A863;
  --gold-deep: #8C6A2B;
  --ink: #1C2A1F;
  --ink-soft: #2b3b2e;
  --ivory: #F4EFE2;
  --paper: #F8F4E8;
  --line: rgba(28, 42, 31, 0.14);
  --muted: rgba(28, 42, 31, 0.65);
}
[data-palette="terracotta"] {
  --gold: #B08A3E;
  --gold-soft: #D1A869;
  --gold-deep: #8C6A2B;
  --ink: #3A1E16;
  --ink-soft: #522a20;
  --ivory: #F7EBDD;
  --paper: #FAF1E4;
  --line: rgba(58, 30, 22, 0.14);
  --muted: rgba(58, 30, 22, 0.62);
}

/* Typography variants */
[data-type="playfair"] { --display: "Playfair Display", Georgia, serif; --sans: "Work Sans", sans-serif; }
[data-type="dmserif"]  { --display: "DM Serif Display", Georgia, serif; --sans: "Inter", sans-serif; }
[data-type="fraunces"] { --display: "Fraunces", Georgia, serif; --sans: "Inter Tight", sans-serif; }

/* ============ Base ============ */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--paper); color: var(--ink); }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.display { font-family: var(--display); font-weight: 500; letter-spacing: -0.01em; line-height: 1.05; }
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--gold-deep);
  font-weight: 500;
}
.ml { font-style: italic; font-family: var(--display); color: var(--gold-deep); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .container { padding: 0 20px; } }

/* ============ Nav ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 49;
  padding: 18px 0;
  transition: background 0.4s ease, backdrop-filter 0.4s, padding 0.3s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in oklab, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 12px 0;
  border-bottom-color: var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 44px; width: auto; }
.brand-word { font-family: var(--display); font-size: 22px; color: var(--gold-deep); letter-spacing: 0.02em; display: none; }
.nav.scrolled .brand-word { display: inline-block; }
.nav ul { list-style: none; display: flex; gap: 32px; align-items: center; }
.nav ul a {
  font-size: 13px; letter-spacing: 0.06em;
  color: var(--ink);
  position: relative; padding: 4px 0;
  transition: color 0.2s;
}
.nav ul a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 1px; background: var(--gold);
  transition: right 0.3s ease;
}
.nav ul a:hover { color: var(--gold-deep); }
.nav ul a:hover::after { right: 0; }
.nav-cta {
  padding: 10px 18px;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  transition: all 0.3s;
}
.nav-cta:hover { background: var(--ink); color: var(--paper); }
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .nav ul { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
  .brand-word { display: inline-block !important; }
}

/* ============ Hero (default: editorial split) ============ */
.hero { position: relative; min-height: 100vh; padding: 140px 0 80px; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center;
}
.hero-eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.hero-eyebrow .line { width: 48px; height: 1px; background: var(--gold); }
.hero h1 {
  font-size: clamp(54px, 7.2vw, 112px);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.hero h1 .script { font-style: italic; color: var(--gold-deep); font-weight: 400; }
.hero .lede {
  font-size: 18px; max-width: 520px; color: var(--muted);
  margin-bottom: 40px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 28px;
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  transition: all 0.3s;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--gold-deep); }
.btn-ghost { color: var(--ink); border-bottom: 1px solid var(--ink); padding: 6px 0; letter-spacing: 0.14em; }
.btn-ghost:hover { color: var(--gold-deep); border-color: var(--gold); }
.btn .arrow { transition: transform 0.3s; }
.btn:hover .arrow { transform: translateX(4px); }

.hero-art {
  position: relative; aspect-ratio: 4/5;
  border-radius: 2px;
  overflow: hidden;
  background: var(--ivory);
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; bottom: 24px; left: -24px;
  background: var(--paper);
  padding: 18px 24px;
  display: flex; align-items: center; gap: 16px;
  border: 1px solid var(--line);
  max-width: 280px;
}
.hero-badge .dot { width: 8px; height: 8px; background: var(--gold); border-radius: 50%; }
.hero-badge-text { font-size: 12px; line-height: 1.5; color: var(--muted); }
.hero-badge-text b { color: var(--ink); font-weight: 500; font-family: var(--display); font-size: 14px; font-style: italic; display: block; }

/* Hero ornaments */
.hero-ornament {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.06;
}
.hero-ornament svg { width: 100%; height: 100%; }

.hero-meta {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 48px;
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--muted);
}
.hero-meta span { display: flex; align-items: center; gap: 10px; }
.hero-meta .dotm { width: 4px; height: 4px; background: var(--gold); border-radius: 50%; }

@media (max-width: 900px) {
  .hero { padding: 120px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-meta { position: static; transform: none; margin-top: 40px; flex-wrap: wrap; gap: 20px; justify-content: center; }
  .hero-badge { left: 16px; }
}

/* Hero variant: centered */
[data-hero="centered"] .hero-grid { grid-template-columns: 1fr; text-align: center; }
[data-hero="centered"] .hero-eyebrow { justify-content: center; }
[data-hero="centered"] .hero .lede { margin-left: auto; margin-right: auto; }
[data-hero="centered"] .hero-ctas { justify-content: center; }
[data-hero="centered"] .hero-art { max-width: 780px; margin: 60px auto 0; aspect-ratio: 16/9; }
[data-hero="centered"] .hero h1 { font-size: clamp(56px, 9vw, 140px); }

/* Hero variant: full-bleed */
[data-hero="fullbleed"] .hero { padding: 0; }
[data-hero="fullbleed"] .hero-grid {
  grid-template-columns: 1fr; gap: 0;
  min-height: 100vh;
  position: relative;
}
[data-hero="fullbleed"] .hero-copy {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 140px 0 80px;
  color: var(--paper);
  z-index: 2;
}
[data-hero="fullbleed"] .hero-copy .container { width: 100%; }
[data-hero="fullbleed"] .hero h1 { color: var(--paper); }
[data-hero="fullbleed"] .hero h1 .script { color: var(--gold-soft); }
[data-hero="fullbleed"] .hero .lede { color: rgba(246, 241, 231, 0.8); }
[data-hero="fullbleed"] .hero-eyebrow .line { background: var(--gold-soft); }
[data-hero="fullbleed"] .eyebrow { color: var(--gold-soft); }
[data-hero="fullbleed"] .btn-primary { background: var(--gold); color: var(--ink); }
[data-hero="fullbleed"] .btn-primary:hover { background: var(--paper); }
[data-hero="fullbleed"] .btn-ghost { color: var(--paper); border-color: var(--paper); }
[data-hero="fullbleed"] .hero-art {
  position: absolute; inset: 0; aspect-ratio: auto;
}
[data-hero="fullbleed"] .hero-art::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,18,16,0.25) 0%, rgba(20,18,16,0.45) 50%, rgba(20,18,16,0.85) 100%);
}
[data-hero="fullbleed"] .hero-badge { display: none; }
[data-hero="fullbleed"] .hero-meta { color: rgba(246,241,231,0.65); bottom: 40px; }
[data-hero="fullbleed"] .hero-meta .dotm { background: var(--gold-soft); }

/* ============ Section scaffolding ============ */
section { padding: 120px 0; position: relative; }
.section-head {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px;
  margin-bottom: 72px; align-items: end;
}
.section-head h2 {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 400; letter-spacing: -0.02em; line-height: 1.02;
}
.section-head h2 .script { font-style: italic; color: var(--gold-deep); }
.section-head .intro {
  font-size: 17px; color: var(--muted); max-width: 540px;
}
.section-head .eyebrow { margin-bottom: 16px; display: inline-block; }
@media (max-width: 900px) {
  section { padding: 80px 0; }
  .section-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
}

/* ============ Marquee ============ */
.marquee {
  padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; background: var(--ivory);
}
.marquee-track {
  display: flex; gap: 64px; white-space: nowrap;
  animation: marquee 40s linear infinite;
  font-family: var(--display); font-style: italic;
  font-size: 22px; color: var(--ink);
}
.marquee-track span { display: inline-flex; align-items: center; gap: 64px; }
.marquee-track .dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ Services ============ */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service-card {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 40px 36px 44px;
  position: relative;
  min-height: 320px;
  display: flex; flex-direction: column;
  transition: background 0.4s;
  cursor: pointer;
}
.service-card:hover { background: var(--ivory); }
.service-card .num {
  font-family: var(--mono);
  font-size: 11px; color: var(--gold-deep); letter-spacing: 0.12em;
  margin-bottom: 28px;
}
.service-card .icon {
  width: 44px; height: 44px;
  color: var(--gold);
  margin-bottom: 20px;
  transition: transform 0.5s ease, color 0.3s;
}
.service-card:hover .icon { transform: rotate(-4deg) scale(1.05); color: var(--gold-deep); }
.service-card h3 {
  font-family: var(--display); font-weight: 400;
  font-size: 28px; margin-bottom: 14px; line-height: 1.15;
}
.service-card h3 em { color: var(--gold-deep); font-style: italic; }
.service-card p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.service-card .more {
  margin-top: auto; padding-top: 24px;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink); display: inline-flex; align-items: center; gap: 10px;
  opacity: 0; transform: translateY(6px); transition: all 0.3s;
}
.service-card:hover .more { opacity: 1; transform: translateY(0); }
@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr; } }

/* ============ Menu (sadya etc) ============ */
.menu-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
}
.menu-tabs {
  display: flex; gap: 4px; margin-bottom: 32px; flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
}
.menu-tab {
  padding: 14px 22px;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 0.3s;
}
.menu-tab.active { color: var(--ink); border-bottom-color: var(--gold); }
.menu-tab:hover { color: var(--ink); }
.menu-panel h3 {
  font-family: var(--display); font-size: 36px; font-weight: 400;
  margin-bottom: 8px;
}
.menu-panel h3 em { color: var(--gold-deep); font-style: italic; }
.menu-panel .sub { color: var(--muted); font-size: 14px; margin-bottom: 28px; font-style: italic; font-family: var(--display); }
.menu-list { list-style: none; }
.menu-item {
  display: flex; gap: 20px; align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px dashed var(--line);
}
.menu-item .name { font-family: var(--display); font-size: 20px; font-weight: 500; flex-shrink: 0; min-width: 140px; }
.menu-item .dots { flex: 1; border-bottom: 1px dotted var(--line); height: 1px; margin-bottom: 6px; }
.menu-item .desc { color: var(--muted); font-size: 14px; flex: 2; font-style: italic; font-family: var(--display); }
.menu-item .ml-name { color: var(--gold-deep); font-size: 12px; font-family: var(--display); font-style: italic; display: block; margin-top: 2px; font-weight: 400; }

.menu-visual {
  position: sticky; top: 100px;
  aspect-ratio: 4/5;
  background: var(--ivory);
  overflow: hidden;
  border-radius: 2px;
}
.menu-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 8s ease; }
.menu-visual:hover img { transform: scale(1.04); }
.menu-caption {
  position: absolute; bottom: 20px; left: 20px; right: 20px;
  background: var(--paper); padding: 14px 18px;
  border-left: 2px solid var(--gold);
  font-size: 12px; color: var(--muted); font-family: var(--display); font-style: italic;
}
.menu-caption b { display: block; font-style: normal; color: var(--ink); font-size: 13px; margin-bottom: 2px; letter-spacing: 0.08em; text-transform: uppercase; font-family: var(--sans); font-weight: 500; }
@media (max-width: 900px) {
  .menu-wrap { grid-template-columns: 1fr; gap: 40px; }
  .menu-visual { position: static; }
}

/* ============ Gallery ============ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 120px;
  gap: 12px;
}
.gallery-item {
  position: relative; overflow: hidden;
  background: var(--ivory);
  cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(20,18,16,0.6) 100%);
  opacity: 0; transition: opacity 0.3s;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item .label {
  position: absolute; bottom: 16px; left: 16px;
  color: var(--paper); font-family: var(--display); font-style: italic; font-size: 18px;
  opacity: 0; transform: translateY(8px); transition: all 0.3s;
  z-index: 2;
}
.gallery-item:hover .label { opacity: 1; transform: translateY(0); }

/* Gallery sizes */
.g-1 { grid-column: span 6; grid-row: span 3; }
.g-2 { grid-column: span 3; grid-row: span 2; }
.g-3 { grid-column: span 3; grid-row: span 2; }
.g-4 { grid-column: span 4; grid-row: span 2; }
.g-5 { grid-column: span 4; grid-row: span 2; }
.g-6 { grid-column: span 4; grid-row: span 2; }
.g-7 { grid-column: span 6; grid-row: span 2; }
.g-8 { grid-column: span 3; grid-row: span 2; }
.g-9 { grid-column: span 3; grid-row: span 2; }

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(6, 1fr); }
  .g-1 { grid-column: span 6; grid-row: span 3; }
  .g-2, .g-3, .g-4, .g-5, .g-6, .g-7, .g-8, .g-9 { grid-column: span 3; grid-row: span 2; }
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(20,18,16,0.92);
  display: none;
  align-items: center; justify-content: center;
  padding: 40px;
  backdrop-filter: blur(8px);
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 88vh; max-width: 100%; object-fit: contain; }
.lightbox-close {
  position: absolute; top: 28px; right: 32px;
  color: var(--paper); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  display: flex; align-items: center; gap: 12px;
}
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  color: var(--paper); padding: 14px; font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase;
}
.lightbox-nav.prev { left: 32px; }
.lightbox-nav.next { right: 32px; }
.lightbox-caption {
  position: absolute; bottom: 32px; left: 0; right: 0;
  text-align: center; color: var(--paper);
  font-family: var(--display); font-style: italic; font-size: 20px;
}

/* ============ About / Story ============ */
.story-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.story-visual {
  aspect-ratio: 4/5;
  background: var(--ivory);
  position: relative;
  overflow: hidden;
}
.story-visual img { width: 100%; height: 100%; object-fit: cover; }
.story-stamp {
  position: absolute; top: 24px; right: 24px;
  width: 110px; height: 110px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in oklab, var(--paper) 70%, transparent);
  backdrop-filter: blur(6px);
}
.story-stamp-inner {
  text-align: center;
  font-family: var(--display); font-style: italic;
  color: var(--gold-deep);
  font-size: 11px; line-height: 1.3;
}
.story-stamp-inner .big { display: block; font-size: 26px; font-style: normal; color: var(--ink); font-weight: 500; }

.story-copy h2 {
  font-family: var(--display); font-size: clamp(40px, 5vw, 64px);
  font-weight: 400; letter-spacing: -0.02em; line-height: 1.05;
  margin-bottom: 28px;
}
.story-copy h2 em { color: var(--gold-deep); font-style: italic; }
.story-copy p { margin-bottom: 20px; color: var(--muted); font-size: 16.5px; line-height: 1.7; }
.story-copy p:first-of-type::first-letter {
  font-family: var(--display);
  font-size: 62px;
  float: left;
  line-height: 0.85;
  padding: 6px 12px 0 0;
  color: var(--gold-deep);
  font-style: italic;
}
.story-sign {
  margin-top: 32px;
  display: flex; align-items: center; gap: 20px;
  padding-top: 28px; border-top: 1px solid var(--line);
}
.story-sign .sig {
  font-family: var(--display); font-style: italic; font-size: 28px;
  color: var(--ink); transform: rotate(-2deg);
}
.story-sign .role { font-size: 12px; color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase; }
.story-sign .role b { display: block; color: var(--ink); font-family: var(--display); font-style: normal; text-transform: none; font-size: 17px; letter-spacing: 0; margin-bottom: 2px; font-weight: 500; }

@media (max-width: 900px) { .story-wrap { grid-template-columns: 1fr; gap: 40px; } }

/* ============ Testimonials ============ */
.testimonials { background: var(--ink); color: var(--paper); }
.testimonials .eyebrow { color: var(--gold-soft); }
.testimonials h2 { color: var(--paper); }
.testimonials h2 .script { color: var(--gold-soft); }
.testimonials .intro { color: rgba(246,241,231,0.65); }

.t-wrap { position: relative; }
.t-card {
  display: none;
  padding: 60px 0;
}
.t-card.active { display: block; animation: fadeUp 0.6s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.t-quote-mark {
  font-family: var(--display); font-style: italic;
  font-size: 120px; line-height: 0.5; color: var(--gold);
  margin-bottom: 24px;
}
.t-quote {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.25; letter-spacing: -0.01em;
  max-width: 1000px;
  margin-bottom: 40px;
}
.t-quote em { color: var(--gold-soft); font-style: italic; }
.t-meta { display: flex; align-items: center; gap: 20px; }
.t-avatar {
  width: 56px; height: 56px; border-radius: 50%; background: var(--gold-deep);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 22px; color: var(--paper);
}
.t-name { font-family: var(--display); font-size: 20px; font-weight: 500; }
.t-event { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(246,241,231,0.6); margin-top: 4px; }

.t-controls {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px; border-top: 1px solid rgba(246,241,231,0.12);
}
.t-dots { display: flex; gap: 10px; }
.t-dot {
  width: 28px; height: 1px; background: rgba(246,241,231,0.24);
  transition: background 0.3s;
}
.t-dot.active { background: var(--gold-soft); }
.t-arrows { display: flex; gap: 8px; }
.t-arrow {
  width: 48px; height: 48px;
  border: 1px solid rgba(246,241,231,0.24);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
}
.t-arrow:hover { border-color: var(--gold-soft); background: rgba(201,168,99,0.08); }

/* ============ Contact ============ */
.contact { background: var(--ivory); padding-bottom: 0; }
.contact-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px;
}
.contact-copy h2 {
  font-family: var(--display); font-size: clamp(44px, 5.2vw, 80px);
  font-weight: 400; letter-spacing: -0.02em; line-height: 1.02;
  margin-bottom: 32px;
}
.contact-copy h2 em { color: var(--gold-deep); font-style: italic; }
.contact-copy .lede { color: var(--muted); font-size: 17px; max-width: 440px; margin-bottom: 48px; }

.contact-info { display: grid; gap: 24px; }
.contact-info-row {
  display: grid; grid-template-columns: 120px 1fr; gap: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.contact-info-row .k {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-deep);
}
.contact-info-row .v { font-family: var(--display); font-size: 22px; }
.contact-info-row .v small { font-family: var(--sans); font-size: 13px; color: var(--muted); display: block; margin-top: 2px; }

.form {
  background: var(--paper);
  padding: 48px;
  border: 1px solid var(--line);
}
.form h3 {
  font-family: var(--display); font-size: 28px; font-weight: 400; margin-bottom: 4px;
}
.form h3 em { color: var(--gold-deep); font-style: italic; }
.form p.form-sub { color: var(--muted); font-size: 14px; margin-bottom: 32px; }
.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep);
  margin-bottom: 10px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 0;
  border: none; border-bottom: 1px solid var(--line);
  background: transparent;
  font-family: var(--sans); font-size: 15px; color: var(--ink);
  outline: none;
  transition: border-color 0.3s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--gold); }
.field textarea { resize: vertical; min-height: 80px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip {
  padding: 8px 14px;
  border: 1px solid var(--line);
  font-size: 12px; letter-spacing: 0.08em;
  background: transparent;
  transition: all 0.2s;
  cursor: pointer;
}
.chip.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip:hover:not(.active) { border-color: var(--gold); color: var(--gold-deep); }
.submit {
  margin-top: 16px;
  width: 100%;
  padding: 18px;
  background: var(--ink); color: var(--paper);
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  transition: background 0.3s;
  display: flex; align-items: center; justify-content: center; gap: 12px;
}
.submit:hover { background: var(--gold-deep); }
.form-success {
  display: none;
  padding: 48px 32px; text-align: center;
}
.form-success.visible { display: block; animation: fadeUp 0.5s ease; }
.form-success .tick {
  width: 56px; height: 56px; border: 1px solid var(--gold); border-radius: 50%;
  margin: 0 auto 24px; display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 26px;
}
.form-success h4 { font-family: var(--display); font-size: 28px; font-weight: 400; margin-bottom: 8px; }
.form-success p { color: var(--muted); font-size: 14px; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .form { padding: 32px 24px; }
  .field-row { grid-template-columns: 1fr; }
}

/* ============ Footer ============ */
.footer {
  background: var(--ink); color: var(--paper);
  padding: 80px 0 32px;
}
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(246,241,231,0.12);
}
.footer h4 {
  font-family: var(--sans); font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-soft); margin-bottom: 20px; font-weight: 500;
}
.footer .brand-footer { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.footer .brand-footer img { height: 54px; filter: brightness(1.1); }
.footer .brand-footer .wm { font-family: var(--display); font-size: 28px; color: var(--gold-soft); }
.footer .tag { color: rgba(246,241,231,0.65); font-size: 14px; max-width: 320px; line-height: 1.6; margin-bottom: 24px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a { color: rgba(246,241,231,0.75); font-size: 14px; transition: color 0.2s; }
.footer ul a:hover { color: var(--gold-soft); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px;
  font-size: 12px; color: rgba(246,241,231,0.5);
  letter-spacing: 0.08em;
}
.footer-bottom .social { display: flex; gap: 20px; }
.footer-bottom .social a:hover { color: var(--gold-soft); }
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; }
}

/* ============ Reveal on scroll ============ */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

/* ============ Tweaks panel ============ */
.tweaks {
  position: fixed; bottom: 24px; right: 24px; z-index: 200;
  width: 300px;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -20px rgba(20,18,16,0.2);
  padding: 20px;
  display: none;
  font-family: var(--sans);
}
.tweaks.on { display: block; }
.tweaks h5 { font-family: var(--display); font-size: 18px; font-weight: 500; margin-bottom: 4px; }
.tweaks .sub { font-size: 11px; color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 18px; }
.tweaks .tw-group { margin-bottom: 18px; }
.tweaks .tw-label { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 10px; }
.tweaks .tw-row { display: grid; grid-auto-flow: column; gap: 6px; }
.tweaks .tw-opt {
  padding: 8px 10px;
  border: 1px solid var(--line); background: var(--paper);
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer; transition: all 0.2s;
  text-align: center;
}
.tweaks .tw-opt.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tweaks .swatch-row { display: flex; gap: 6px; }
.tweaks .sw {
  flex: 1; height: 32px;
  border: 1px solid var(--line); cursor: pointer; position: relative;
  display: flex; align-items: flex-end; justify-content: center;
  font-size: 9px; letter-spacing: 0.1em; padding-bottom: 3px; color: var(--ink);
}
.tweaks .sw.active { outline: 2px solid var(--gold); outline-offset: 1px; }

/* ============ Midnight Palette — dark mode overrides ============ */
[data-palette="midnight"] {
  --gold: #C9A863;
  --gold-soft: #E0C385;
  --gold-deep: #B08A3E;
  --ink: #F6F1E7;
  --ink-soft: #E7DFC9;
  --ivory: #1A1714;
  --ivory-warm: #221E19;
  --paper: #0B0A08;
  --line: rgba(246, 241, 231, 0.14);
  --muted: rgba(246, 241, 231, 0.78);
}
[data-palette="midnight"] .testimonials { background: #1A1714; }
[data-palette="midnight"] .footer { background: #050504; border-top: 1px solid rgba(246,241,231,0.08); }
[data-palette="midnight"] .marquee { background: #141110; }
[data-palette="midnight"] #menus { background: #141110 !important; }
[data-palette="midnight"] #story { background: #141110 !important; }
[data-palette="midnight"] .contact { background: #141110 !important; }
[data-palette="midnight"] .form { background: #0B0A08; }
[data-palette="midnight"] .hero-badge { background: #1A1714; }
[data-palette="midnight"] .menu-caption { background: #0B0A08; }
[data-palette="midnight"] .service-card:hover { background: #1A1714; }
[data-palette="midnight"] .gallery-item { background: #1A1714; }
[data-palette="midnight"] .story-visual { background: #1A1714; }
[data-palette="midnight"] .menu-visual { background: #1A1714; }
[data-palette="midnight"] .hero-art { background: #1A1714; }
[data-palette="midnight"] .t-arrow { border-color: rgba(246,241,231,0.24); }
[data-palette="midnight"] .btn-primary { background: var(--gold); color: #0B0A08; }
[data-palette="midnight"] .btn-primary:hover { background: var(--gold-soft); }
[data-palette="midnight"] .submit { background: var(--gold); color: #0B0A08; }
[data-palette="midnight"] .submit:hover { background: var(--gold-soft); }
[data-palette="midnight"] .nav-cta { border-color: var(--ink); color: var(--ink); }
[data-palette="midnight"] .nav-cta:hover { background: var(--gold); color: #0B0A08; border-color: var(--gold); }
[data-palette="midnight"] .chip.active { background: var(--gold); color: #0B0A08; border-color: var(--gold); }
[data-palette="midnight"] .story-sign .sig { color: var(--gold-soft); }
[data-palette="midnight"] .hero-ornament { opacity: 0.12; }
[data-palette="midnight"] .story-stamp { background: rgba(11,10,8,0.6); }

/* Midnight text fixes */
[data-palette="midnight"] .testimonials { color: #F6F1E7; }
[data-palette="midnight"] .testimonials h2,
[data-palette="midnight"] .testimonials .t-quote,
[data-palette="midnight"] .testimonials .t-name { color: #F6F1E7; }
[data-palette="midnight"] .footer { color: #F6F1E7; }
[data-palette="midnight"] .footer .brand-footer .wm,
[data-palette="midnight"] .footer h4 { color: var(--gold-soft); }
[data-palette="midnight"] .footer ul a { color: rgba(246,241,231,0.75); }
[data-palette="midnight"] .footer .tag { color: rgba(246,241,231,0.65); }
[data-palette="midnight"] .footer-bottom { color: rgba(246,241,231,0.5); }
[data-palette="midnight"] .t-event { color: rgba(246,241,231,0.6); }
[data-palette="midnight"] .t-dot { background: rgba(246,241,231,0.24); }
[data-palette="midnight"] .t-arrow { color: #F6F1E7; border-color: rgba(246,241,231,0.24); }
[data-palette="midnight"] .contact-info-row .v { color: var(--ink); }
[data-palette="midnight"] .form h3,
[data-palette="midnight"] .form-success h4 { color: var(--ink); }
[data-palette="midnight"] .form input,
[data-palette="midnight"] .form textarea,
[data-palette="midnight"] .form select { color: var(--ink); }
[data-palette="midnight"] .nav.scrolled { background: rgba(11,10,8,0.9); border-bottom-color: rgba(246,241,231,0.1); }
[data-palette="midnight"] .menu-caption { color: rgba(246,241,231,0.7); }
[data-palette="midnight"] .menu-caption b { color: #F6F1E7; }
[data-palette="midnight"] .hero-badge-text { color: rgba(246,241,231,0.7); }
[data-palette="midnight"] .hero-badge-text b { color: #F6F1E7; }
[data-palette="midnight"] .tweaks { background: #141110; color: #F6F1E7; }
[data-palette="midnight"] .tweaks .tw-opt { background: #141110; color: #F6F1E7; border-color: rgba(246,241,231,0.14); }
[data-palette="midnight"] .tweaks .tw-opt.active { background: var(--gold); color: #0B0A08; border-color: var(--gold); }
[data-palette="midnight"] .tweaks .sw { border-color: rgba(246,241,231,0.14); }
[data-palette="midnight"] .marquee-track { color: #F6F1E7; }
[data-palette="midnight"] .hero-badge { border-color: rgba(246,241,231,0.14); }
[data-palette="midnight"] .nav ul a { color: #F6F1E7; }
[data-palette="midnight"] .brand-word { color: var(--gold-soft); }
[data-palette="midnight"] .nav-cta { border-color: rgba(246,241,231,0.4); color: #F6F1E7; }

/* Midnight legibility boost */
[data-palette="midnight"] .section-head .intro,
[data-palette="midnight"] .service-card p,
[data-palette="midnight"] .menu-panel .sub,
[data-palette="midnight"] .menu-item .desc,
[data-palette="midnight"] .story-copy p,
[data-palette="midnight"] .contact-copy .lede,
[data-palette="midnight"] .hero .lede { color: rgba(246, 241, 231, 0.82); }
[data-palette="midnight"] .service-card h3,
[data-palette="midnight"] .menu-panel h3,
[data-palette="midnight"] .section-head h2,
[data-palette="midnight"] .hero h1,
[data-palette="midnight"] .story-copy h2,
[data-palette="midnight"] .contact-copy h2,
[data-palette="midnight"] .menu-item .name,
[data-palette="midnight"] .story-sign .role b,
[data-palette="midnight"] .contact-info-row .v { color: #F6F1E7; }

/* Global midnight text force */
body[data-palette="midnight"],
body[data-palette="midnight"] h1,
body[data-palette="midnight"] h2,
body[data-palette="midnight"] h3,
body[data-palette="midnight"] h4,
body[data-palette="midnight"] h5,
body[data-palette="midnight"] p,
body[data-palette="midnight"] span,
body[data-palette="midnight"] li,
body[data-palette="midnight"] a,
body[data-palette="midnight"] div,
body[data-palette="midnight"] label,
body[data-palette="midnight"] button { color: #F6F1E7; }

body[data-palette="midnight"] .hero .lede,
body[data-palette="midnight"] .section-head .intro,
body[data-palette="midnight"] .service-card p,
body[data-palette="midnight"] .menu-panel .sub,
body[data-palette="midnight"] .menu-item .desc,
body[data-palette="midnight"] .contact-copy .lede,
body[data-palette="midnight"] .hero-badge-text,
body[data-palette="midnight"] .menu-caption,
body[data-palette="midnight"] .footer .tag,
body[data-palette="midnight"] .footer ul a,
body[data-palette="midnight"] .story-copy p,
body[data-palette="midnight"] .form-sub,
body[data-palette="midnight"] .contact-info-row small,
body[data-palette="midnight"] .v small,
body[data-palette="midnight"] .t-event { color: rgba(246,241,231,0.75) !important; }

body[data-palette="midnight"] .eyebrow,
body[data-palette="midnight"] .hero h1 .script,
body[data-palette="midnight"] .section-head h2 .script,
body[data-palette="midnight"] .story-copy h2 em,
body[data-palette="midnight"] .contact-copy h2 em,
body[data-palette="midnight"] .service-card h3 em,
body[data-palette="midnight"] .menu-panel h3 em,
body[data-palette="midnight"] .form h3 em,
body[data-palette="midnight"] .t-quote em,
body[data-palette="midnight"] .contact-info-row .k,
body[data-palette="midnight"] .field label,
body[data-palette="midnight"] .menu-item .ml-name,
body[data-palette="midnight"] .service-card .num,
body[data-palette="midnight"] .t-quote-mark,
body[data-palette="midnight"] .story-sign .sig,
body[data-palette="midnight"] .footer h4 { color: var(--gold-soft) !important; }

body[data-palette="midnight"] .btn-primary,
body[data-palette="midnight"] .submit { color: #0B0A08 !important; }
body[data-palette="midnight"] .chip.active { color: #0B0A08 !important; }
body[data-palette="midnight"] .tweaks .tw-opt.active { color: #0B0A08 !important; }
body[data-palette="midnight"] .theme-toggle { background: #141110; color: #F6F1E7; border-color: rgba(246,241,231,0.14); }

/* ============ Ink palette explicit overrides ============ */
[data-palette="ink"] {
  --gold: #B08A3E;
  --gold-soft: #C9A863;
  --gold-deep: #8C6A2B;
  --ink: #141210;
  --ink-soft: #2a2623;
  --ivory: #F6F1E7;
  --ivory-warm: #EFE7D6;
  --paper: #FBF8F1;
  --line: rgba(20, 18, 16, 0.12);
  --muted: rgba(20, 18, 16, 0.62);
}
body[data-palette="ink"] .testimonials { background: #F6F1E7 !important; color: #141210 !important; }
body[data-palette="ink"] .testimonials h2,
body[data-palette="ink"] .testimonials .t-quote,
body[data-palette="ink"] .testimonials .t-name { color: #141210 !important; }
body[data-palette="ink"] .testimonials .eyebrow { color: var(--gold-deep) !important; }
body[data-palette="ink"] .testimonials .t-dot { background: rgba(20,18,16,0.24) !important; }
body[data-palette="ink"] .testimonials .t-arrow { color: #141210 !important; border-color: rgba(20,18,16,0.24) !important; }
body[data-palette="ink"] .testimonials .t-event { color: rgba(20,18,16,0.6) !important; }
body[data-palette="ink"] .testimonials .intro { color: rgba(20,18,16,0.65) !important; }
[data-palette="ink"] .service-card h3,
[data-palette="ink"] .menu-panel h3,
[data-palette="ink"] .section-head h2,
[data-palette="ink"] .hero h1,
[data-palette="ink"] .story-copy h2,
[data-palette="ink"] .contact-copy h2,
[data-palette="ink"] .menu-item .name { color: #141210; }
[data-palette="ink"] .service-card p,
[data-palette="ink"] .section-head .intro,
[data-palette="ink"] .menu-item .desc { color: rgba(20,18,16,0.72); }

/* ============ HTML background sync ============ */
html { background: var(--paper); }
html:has(body[data-palette="midnight"]) { background: #0B0A08; }
html:has(body[data-palette="forest"]) { background: #F8F4E8; }
html:has(body[data-palette="terracotta"]) { background: #FAF1E4; }

/* ============ Theme toggle button ============ */
.theme-toggle {
  position: fixed; top: 50%; right: 0; transform: translateY(-50%);
  z-index: 60;
  display: flex; flex-direction: column; align-items: center;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--line); border-right: none;
  padding: 16px 10px;
  font-family: inherit; font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
  writing-mode: vertical-rl;
  cursor: pointer;
  transition: all 0.3s;
}
.theme-toggle:hover { color: var(--gold-deep); background: var(--ivory); }
.theme-toggle .tt-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
  margin-bottom: 12px; writing-mode: horizontal-tb;
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--gold) 20%, transparent);
}
@media (max-width: 720px) {
  .theme-toggle { top: auto; bottom: 20px; right: 20px; transform: none; writing-mode: horizontal-tb; border-right: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; }
  .theme-toggle .tt-dot { margin: 0 8px 0 0; }
}

/* ============ Mobile Nav Overlay ============ */
.mobile-nav {
  position: fixed; inset: 0; z-index: 48;
  /* Fixed dark colour — never inherits palette variables so it's always readable */
  background: #141210;
  display: flex; align-items: center; justify-content: center;
  transform: translateY(-100%);
  transition: transform 0.45s cubic-bezier(0.77, 0, 0.175, 1);
  pointer-events: none;
}
.mobile-nav.open {
  transform: translateY(0);
  pointer-events: all;
}
.mobile-nav-inner {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  text-align: center;
}
.mobile-nav-inner a {
  font-family: var(--display); font-size: clamp(30px, 7vw, 52px);
  font-weight: 400; color: rgba(246,241,231,0.65);
  letter-spacing: -0.01em; padding: 10px 24px;
  transition: color 0.2s;
  display: block;
}
.mobile-nav-inner a:hover { color: #C9A863; }
.mobile-nav-cta {
  margin-top: 20px;
  font-family: "Inter Tight", "Inter", sans-serif !important; font-size: 12px !important;
  letter-spacing: 0.2em !important; text-transform: uppercase !important;
  /* Fixed colours regardless of palette */
  color: rgba(246,241,231,0.85) !important; font-weight: 400 !important;
  border: 1px solid rgba(246,241,231,0.3) !important;
  padding: 14px 36px !important;
  transition: all 0.2s !important;
}
.mobile-nav-cta:hover { border-color: #C9A863 !important; color: #C9A863 !important; }

/* Gold accent line between nav links */
.mobile-nav-inner a + a { border-top: none; }

/* Gold dot separator */
.mobile-nav::after {
  content: '';
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 1px; height: 0; background: #B08A3E;
}

/* Nav when mobile menu is open — button always light regardless of palette */
.nav.nav-menu-open .nav-toggle { color: #F6F1E7 !important; }

/* ============ Mobile improvements ============ */

/* Hero */
@media (max-width: 600px) {
  .hero { padding: 100px 0 60px; }
  .hero h1 { font-size: clamp(44px, 12vw, 72px); }
  .hero .lede { font-size: 16px; }
  .hero-ctas { flex-direction: column; align-items: flex-start; gap: 12px; }
  .btn { padding: 14px 22px; font-size: 12px; }
  .hero-badge { left: 12px; max-width: 240px; padding: 14px 16px; }
  .hero-meta { gap: 12px; font-size: 10px; }
}

/* Marquee */
@media (max-width: 600px) {
  .marquee-track { font-size: 18px; gap: 40px; }
  .marquee-track span { gap: 40px; }
}

/* Services */
@media (max-width: 600px) {
  .service-card { padding: 28px 24px 32px; min-height: auto; }
  .service-card h3 { font-size: 24px; }
}

/* Section head */
@media (max-width: 600px) {
  section { padding: 64px 0; }
  .section-head h2 { font-size: clamp(32px, 9vw, 56px); }
  .section-head .intro { font-size: 15px; }
}

/* Menu */
@media (max-width: 600px) {
  .menu-item { flex-wrap: wrap; gap: 4px; }
  .menu-item .name { min-width: auto; font-size: 18px; }
  .menu-item .desc { flex: 0 0 100%; font-size: 13px; }
  .menu-tabs { gap: 0; }
  .menu-tab { padding: 12px 14px; font-size: 11px; }
}

/* Gallery */
@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 90px; }
  .g-1 { grid-column: span 6; grid-row: span 3; }
  .g-2, .g-3 { grid-column: span 3; grid-row: span 2; }
  .g-4, .g-5, .g-6 { grid-column: span 6; grid-row: span 2; }
  .g-7 { grid-column: span 6; grid-row: span 2; }
  .g-8, .g-9 { grid-column: span 3; grid-row: span 2; }
}

/* Story */
@media (max-width: 600px) {
  .story-copy h2 { font-size: clamp(32px, 9vw, 52px); }
  .story-copy p { font-size: 15px; }
  .story-stamp { width: 88px; height: 88px; }
  .story-stamp-inner .big { font-size: 22px; }
  .story-stamp-inner { font-size: 10px; }
  .story-sign .sig { font-size: 22px; }
}

/* Testimonials */
@media (max-width: 600px) {
  .t-quote { font-size: clamp(22px, 6vw, 36px); }
  .t-quote-mark { font-size: 80px; }
  .t-controls { flex-direction: column; gap: 20px; align-items: flex-start; }
  .t-card { padding: 40px 0; }
}

/* Contact */
@media (max-width: 600px) {
  .contact-copy h2 { font-size: clamp(36px, 10vw, 60px); }
  .contact-info-row { grid-template-columns: 80px 1fr; gap: 12px; }
  .contact-info-row .v { font-size: 18px; }
  .form { padding: 28px 20px; }
}

/* Footer */
@media (max-width: 600px) {
  .footer { padding: 60px 0 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { font-size: 11px; }
}

/* Lightbox */
@media (max-width: 600px) {
  .lightbox { padding: 20px; }
  .lightbox-nav.prev { left: 12px; }
  .lightbox-nav.next { right: 12px; }
  .lightbox-caption { font-size: 16px; bottom: 20px; }
  .lightbox-close { top: 16px; right: 16px; }
}

/* Theme toggle — hide on very small screens to avoid overlap */
@media (max-width: 480px) {
  .theme-toggle { display: none; }
}
