/* Saffron Ember - charcoal, saffron, chilli. Fraunces + DM Sans. */
:root {
  --bg: #15110e;
  --bg-2: #1d1814;
  --bg-3: #272019;
  --cream: #f4e8d4;
  --cream-dim: #cdbca2;
  --saffron: #f2a531;
  --turmeric: #e9b93a;
  --chilli: #a8281f;
  --chilli-deep: #7d1b15;
  --line: rgba(244, 232, 212, 0.16);
  --paper: #f1e4cc;
  --paper-ink: #2a1d14;
  --paper-red: #8f1f17;
  --paper-dim: #5c4636;
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(1rem, 4.5vw, 3.5rem);
  --max: 1320px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; margin: 0; letter-spacing: -0.015em; font-optical-sizing: auto; }
p { margin: 0 0 1em; }
em { font-style: italic; }
ul { margin: 0; padding: 0; list-style: none; }

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

.skip {
  position: absolute; inset-inline-start: 1rem; top: -4rem; z-index: 100;
  background: var(--saffron); color: var(--bg); padding: 0.7rem 1rem; font-weight: 700; text-decoration: none; border-radius: 2px;
}
.skip:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.clipdefs { position: absolute; width: 0; height: 0; overflow: hidden; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type helpers ---------- */
.eyebrow {
  font: 500 0.78rem/1.4 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--saffron);
  display: flex; align-items: center; gap: 0.75rem; margin: 0 0 1.4rem;
}
.eyebrow::before { content: ""; width: 2.25rem; height: 1px; background: currentColor; }
.display { font-size: clamp(2.75rem, 9vw, 7.4rem); line-height: 0.94; letter-spacing: -0.03em; font-variation-settings: "opsz" 144; }
.display em, .h2 em { color: var(--saffron); font-weight: 300; }
.h2 { font-size: clamp(2.1rem, 5.2vw, 4.2rem); line-height: 1; letter-spacing: -0.025em; font-variation-settings: "opsz" 144; }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.3rem); color: var(--cream-dim); max-width: 36rem; }
.statement { font-family: var(--display); font-size: clamp(1.6rem, 3.3vw, 2.75rem); line-height: 1.18; letter-spacing: -0.015em; font-weight: 300; }
.statement em { color: var(--saffron); }
.muted { color: var(--cream-dim); }

/* ---------- buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2.2rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 48px; padding: 0.8rem 1.6rem;
  font: 500 0.95rem/1 var(--sans); letter-spacing: 0.04em; text-decoration: none; border-radius: 999px; cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn--solid { background: var(--saffron); color: var(--bg); border: 1px solid var(--saffron); }
.btn--solid:hover { background: var(--turmeric); border-color: var(--turmeric); }
.btn--line { border: 1px solid rgba(244, 232, 212, 0.5); color: var(--cream); background: transparent; }
.btn--line:hover { border-color: var(--cream); background: rgba(244, 232, 212, 0.08); }
.textlink {
  display: inline-flex; align-items: center; gap: 0.55rem; color: var(--saffron); font-weight: 500; text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 0.15rem;
}
.textlink svg { transition: transform 0.3s var(--ease); }
.textlink:hover svg { transform: translateX(4px); }
[dir="rtl"] .textlink svg { transform: scaleX(-1); }
[dir="rtl"] .textlink:hover svg { transform: scaleX(-1) translateX(4px); }

/* ---------- header ---------- */
.site-header { position: absolute; inset: 0 0 auto; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.4rem; padding-bottom: 1.4rem; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--cream); }
.brand svg { flex: none; }
.brand__name { font-family: var(--display); font-size: 1.45rem; letter-spacing: -0.01em; line-height: 1; }
.nav { display: none; }
.nav ul { display: flex; align-items: center; gap: 2.2rem; }
.nav a { text-decoration: none; font-size: 0.95rem; letter-spacing: 0.03em; padding: 0.4rem 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--saffron); }
.nav .btn { padding: 0.65rem 1.3rem; min-height: 44px; border-bottom: 1px solid var(--saffron); }

.header__end { display: flex; align-items: center; gap: clamp(0.6rem, 2vw, 1.6rem); }
.mnav { position: static; }
.mnav summary {
  list-style: none; cursor: pointer; display: inline-grid; place-items: center; width: 46px; height: 46px; padding: 0;
  border: 1px solid rgba(244, 232, 212, 0.45); border-radius: 999px; font-size: 0.9rem; letter-spacing: 0.06em;
}
.mnav summary::-webkit-details-marker, .lang summary::-webkit-details-marker { display: none; }
.mnav summary:hover, .lang summary:hover { border-color: var(--cream); }
.mnav .bars { width: 18px; height: 10px; position: relative; }
.mnav .bars::before, .mnav .bars::after { content: ""; position: absolute; inset-inline: 0; height: 1.5px; background: currentColor; transition: transform 0.3s var(--ease), top 0.3s var(--ease); }
.mnav .bars::before { top: 0; }
.mnav .bars::after { top: 8px; }
.mnav[open] .bars::before { top: 4px; transform: rotate(45deg); }
.mnav[open] .bars::after { top: 4px; transform: rotate(-45deg); }
.mnav__panel {
  position: absolute; inset-inline: 0; top: 100%; margin: 0 var(--gutter);
  background: var(--bg-2) url("jaali.svg"); border: 1px solid var(--line); padding: 1.5rem 1.5rem 1.75rem; border-radius: 4px;
}
.mnav__panel a { display: block; text-decoration: none; font-family: var(--display); font-size: 2rem; line-height: 1.1; padding: 0.45rem 0; }
.mnav__panel a[aria-current="page"] { color: var(--saffron); }
.mnav__panel .btn { font-family: var(--sans); font-size: 1rem; margin-top: 1rem; display: flex; }

@media (min-width: 900px) {
  .nav { display: block; }
  .mnav { display: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: 78svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero--home { min-height: 100svh; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(21, 17, 14, 0.78) 0%, rgba(21, 17, 14, 0.15) 26%, rgba(21, 17, 14, 0.45) 48%, rgba(21, 17, 14, 0.95) 100%),
    linear-gradient(var(--shade-dir, 90deg), rgba(21, 17, 14, 0.7) 0%, rgba(21, 17, 14, 0) 70%);
}
.hero__inner { padding-top: 9rem; padding-bottom: clamp(3rem, 8vw, 6rem); }
.hero__inner .lede { margin-top: 1.6rem; color: var(--cream); opacity: 0.88; }
.hero--page .display { font-size: clamp(2.75rem, 8vw, 6.4rem); }
.hero__img--zoom { animation: slowzoom 18s var(--ease) both; }
@keyframes slowzoom { from { transform: scale(1.08); } to { transform: scale(1); } }

.hero__foot {
  position: absolute; inset-inline-end: var(--gutter); bottom: clamp(3rem, 8vw, 6rem); display: none;
  text-align: end; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream-dim); line-height: 1.9;
}
@media (min-width: 1000px) { .hero__foot { display: block; } }

/* ---------- ornaments ---------- */
.ornament { display: flex; align-items: center; justify-content: center; gap: 1rem; color: var(--saffron); }
.ornament::before, .ornament::after { content: ""; height: 1px; flex: 1; max-width: 9rem; background: currentColor; opacity: 0.55; }
.jaali-bg { background-image: url("jaali.svg"); background-size: 56px 56px; }

/* Arch figure: a pointed (Mughal) arch, clip path defined once per page. */
.arch { position: relative; margin: 0; }
.arch__img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; clip-path: url(#arch); }
.arch__line {
  position: absolute; top: -14px; inset-inline-start: 14px; width: 100%; height: 100%; overflow: visible;
  fill: none; stroke: var(--saffron); stroke-width: 1px; opacity: 0.7; pointer-events: none;
}
.arch figcaption { margin-top: 1rem; font-size: 0.85rem; letter-spacing: 0.08em; color: var(--cream-dim); }

/* ---------- sections ---------- */
.section { padding: clamp(4.5rem, 11vw, 9rem) 0; position: relative; }
.section--tight { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--alt { background: var(--bg-2); }
.section__head { display: grid; gap: 1.2rem; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); max-width: 46rem; }
.section__head p { color: var(--cream-dim); margin: 0; }

.split { display: grid; gap: clamp(3rem, 7vw, 6rem); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1.05fr 0.95fr; }
  .split--flip > :first-child { order: 2; }
}
.split .arch { aspect-ratio: 4 / 5; max-width: 34rem; width: 100%; justify-self: center; }
.split__text > * + * { margin-top: 1.4rem; }
.split__text p { color: var(--cream-dim); max-width: 34rem; }

/* home: the three fires */
.fires { display: grid; gap: 3.5rem 2rem; }
@media (min-width: 760px) { .fires { grid-template-columns: repeat(3, 1fr); } .fires > :nth-child(2) { margin-top: 4.5rem; } }
.fire { text-decoration: none; display: block; }
.fire .arch { aspect-ratio: 3 / 4; }
.fire__img { transition: transform 0.9s var(--ease); }
.fire:hover .fire__img { transform: scale(1.04); }
.fire__body { padding-top: 1.6rem; }
.fire__kicker { font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--saffron); margin-bottom: 0.6rem; }
.fire h3 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin-bottom: 0.6rem; }
.fire p { color: var(--cream-dim); margin: 0; }

/* full-bleed band */
.band { position: relative; min-height: 82svh; display: grid; place-items: center; text-align: center; overflow: hidden; isolation: isolate; padding: 6rem 0; }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(21, 17, 14, 0.55) 0%, rgba(21, 17, 14, 0.88) 75%); }
.band .statement { max-width: 22ch; margin: 1.6rem auto 0; font-size: clamp(2rem, 5vw, 4rem); line-height: 1.06; }
.band p.muted { margin-top: 1.6rem; color: var(--cream); opacity: 0.85; }

/* visit block */
.visit { display: grid; gap: 2.5rem; border-top: 1px solid var(--line); padding-top: 3rem; }
@media (min-width: 800px) { .visit { grid-template-columns: repeat(3, 1fr); } }
.visit h3 { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--saffron); margin-bottom: 1rem; font-weight: 500; }
.visit p { font-family: var(--display); font-size: 1.45rem; line-height: 1.35; margin: 0; }
.visit a { text-decoration-color: rgba(242, 165, 49, 0.6); }

.cta-strip { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 3.5rem; }

/* ---------- menu page ---------- */
.menu-intro { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) { .menu-intro { grid-template-columns: 1.2fr 1fr; } }
.key { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; font-size: 0.95rem; color: var(--cream-dim); }
.key span { display: inline-flex; align-items: center; gap: 0.5rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; }
.chips a { text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 0.55rem 1.05rem; font-size: 0.9rem; min-height: 44px; display: inline-flex; align-items: center; }
.chips a:hover { border-color: var(--saffron); color: var(--saffron); }

.mark {
  display: inline-grid; place-items: center; min-width: 1.75rem; height: 1.75rem; padding: 0 0.3rem; border-radius: 999px;
  border: 1px solid currentColor; font: 700 0.62rem/1 var(--sans); letter-spacing: 0.04em; text-decoration: none; vertical-align: middle;
}
abbr.mark { text-decoration: none; cursor: help; }

.menu-card {
  position: relative; background: var(--paper); color: var(--paper-ink);
  padding: clamp(2.5rem, 7vw, 6rem) clamp(1.25rem, 6vw, 6rem);
  box-shadow: inset 0 0 0 10px var(--paper), inset 0 0 0 11px rgba(143, 31, 23, 0.55), inset 0 0 0 15px var(--paper), inset 0 0 0 16px rgba(143, 31, 23, 0.35), 0 40px 80px -30px rgba(0, 0, 0, 0.7);
}
.menu-card__top { text-align: center; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.menu-card__top .brand__name { font-size: clamp(2rem, 5vw, 3.2rem); color: var(--paper-ink); }
.menu-card__top p { font-size: 0.8rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--paper-dim); margin: 0.9rem 0 0; }
.menu-card .ornament { color: var(--paper-red); margin: 1.3rem 0; }
.course { scroll-margin-top: 2rem; }
.course + .course { margin-top: clamp(3rem, 7vw, 5rem); }
.course__title { text-align: center; margin-bottom: 0.4rem; font-size: clamp(1.9rem, 4vw, 2.9rem); font-style: italic; font-weight: 300; color: var(--paper-red); }
.course__note { text-align: center; color: var(--paper-dim); font-size: 0.95rem; margin: 0 auto 2.2rem; max-width: 34rem; }
.dishes { display: grid; gap: 1.6rem 4rem; }
@media (min-width: 760px) { .dishes { grid-template-columns: 1fr 1fr; } }
.dish { border-top: 1px solid rgba(42, 29, 20, 0.18); padding-top: 1rem; }
.dish h3 { font-size: 1.35rem; font-weight: 500; letter-spacing: -0.005em; display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.7rem; margin-bottom: 0.35rem; }
.dish .marks { display: inline-flex; gap: 0.3rem; color: var(--paper-red); }
.dish p { margin: 0; color: var(--paper-dim); font-size: 0.98rem; line-height: 1.55; }
.menu-card__foot { margin-top: clamp(3rem, 7vw, 5rem); text-align: center; color: var(--paper-dim); font-size: 0.95rem; }
.menu-card__foot strong { color: var(--paper-ink); font-weight: 500; }

.strip3 { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; margin-bottom: clamp(3rem, 7vw, 5rem); }
.strip3 figure { margin: 0; }
.strip3 img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.strip3 figure:first-child { grid-column: 1 / -1; }
.strip3 figure:first-child img { aspect-ratio: 16 / 9; }
.strip3 figcaption { margin-top: 0.7rem; font-size: 0.85rem; color: var(--cream-dim); letter-spacing: 0.04em; }
@media (min-width: 760px) {
  .strip3 { grid-template-columns: 1.4fr 1fr 1fr; gap: 1.5rem; }
  .strip3 figure:first-child { grid-column: auto; }
  .strip3 figure:first-child img, .strip3 img { aspect-ratio: auto; height: clamp(22rem, 34vw, 30rem); }
}

/* ---------- story page ---------- */
.chapter-num { font-family: var(--display); font-style: italic; color: var(--saffron); font-size: 1.1rem; }
.dabba { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); grid-template-columns: 1fr; }
@media (min-width: 640px) { .dabba { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .dabba { grid-template-columns: repeat(4, 1fr); } }
.dabba li { background: var(--bg); padding: 2rem 1.6rem; display: grid; gap: 0.5rem; align-content: start; }
.dabba__dot { width: 2.6rem; height: 2.6rem; border-radius: 50%; margin-bottom: 0.8rem; box-shadow: inset 0 0 0 4px rgba(0, 0, 0, 0.18); border: 1px solid rgba(244, 232, 212, 0.3); }
.dabba h3 { font-size: 1.6rem; }
.dabba p { margin: 0; color: var(--cream-dim); font-size: 0.98rem; }
.dabba li.dabba__lead { background: var(--chilli-deep); }
.dabba li.dabba__lead p { color: var(--cream); }

.regions { border-top: 1px solid var(--line); }
.regions li { display: grid; gap: 0.4rem 2rem; padding: 1.6rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
@media (min-width: 800px) { .regions li { grid-template-columns: 16rem 1fr; } }
.regions h3 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-style: italic; font-weight: 300; }
.regions p { margin: 0; color: var(--cream-dim); font-size: 1.05rem; max-width: 40rem; }

/* ---------- private dining ---------- */
.offers { display: grid; gap: 4rem 3rem; }
@media (min-width: 900px) { .offers { grid-template-columns: 1fr 1fr; } .offers > :nth-child(2) { margin-top: 6rem; } }
.offer .arch { aspect-ratio: 4 / 5; margin-bottom: 2.2rem; }
.offer h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.offer p { color: var(--cream-dim); }
.ticks { display: grid; gap: 0.7rem; margin-top: 1.4rem; }
.ticks li { display: grid; grid-template-columns: 1.2rem 1fr; gap: 0.8rem; color: var(--cream); }
.ticks li::before { content: ""; width: 0.55rem; height: 0.55rem; margin-top: 0.6rem; transform: rotate(45deg); background: var(--saffron); }

.steps { display: grid; gap: 2.5rem; counter-reset: step; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; border-top: 1px solid var(--saffron); padding-top: 1.4rem; }
.steps li::before { content: counter(step, lower-roman) "."; font-family: var(--display); font-style: italic; color: var(--saffron); font-size: 1.5rem; display: block; margin-bottom: 0.8rem; }
.steps h3 { font-size: 1.6rem; margin-bottom: 0.6rem; }
.steps p { margin: 0; color: var(--cream-dim); }

/* ---------- forms ---------- */
.form-wrap { display: grid; gap: clamp(3rem, 7vw, 5rem); }
@media (min-width: 960px) { .form-wrap { grid-template-columns: 1.15fr 0.85fr; align-items: start; } }
.form { display: grid; gap: 1.4rem; background: var(--bg-2); padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--line); }
@media (min-width: 640px) { .form { grid-template-columns: 1fr 1fr; } .field--wide, .form .btn, .form [data-sd-status], .form__note { grid-column: 1 / -1; } }
.field { display: grid; gap: 0.5rem; }
.field label { font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream-dim); }
.field label span { color: var(--saffron); }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--cream); background: var(--bg); border: 1px solid rgba(244, 232, 212, 0.28); border-radius: 2px;
  padding: 0.85rem 1rem; min-height: 50px; transition: border-color 0.2s;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #9d8d78; }
.field input:hover, .field textarea:hover { border-color: rgba(244, 232, 212, 0.5); }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--saffron); outline-offset: 1px; border-color: var(--saffron); }
.form .btn { justify-self: start; border: 0; }
.form [data-sd-status] { margin: 0; color: var(--turmeric); min-height: 1.4em; }
.form__note { margin: 0; font-size: 0.92rem; color: var(--cream-dim); }

.infocard { display: grid; gap: 2rem; }
.infocard .arch { aspect-ratio: 4 / 5; max-width: 26rem; }
.hours { width: 100%; border-collapse: collapse; font-size: 1.05rem; }
.hours th, .hours td { text-align: start; padding: 0.8rem 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours td { text-align: end; color: var(--cream-dim); }
.hours tr.closed td { color: var(--saffron); }
.infocard h2 { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--saffron); font-weight: 500; margin-bottom: 0.8rem; }
.infocard address { font-style: normal; font-family: var(--display); font-size: 1.5rem; line-height: 1.35; }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: clamp(4rem, 9vw, 7rem) 0 2rem; position: relative; overflow: hidden; }
.footer__mark { font-family: var(--display); font-size: clamp(3.4rem, 13vw, 11rem); line-height: 0.9; letter-spacing: -0.04em; color: var(--cream); margin-bottom: clamp(3rem, 6vw, 5rem); }
.footer__grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: repeat(4, 1fr); } }
.footer__grid h2 { font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--saffron); font-weight: 500; margin-bottom: 0.9rem; }
.footer__grid p, .footer__grid li { color: var(--cream-dim); margin: 0; line-height: 1.9; }
.footer__grid a { text-decoration: none; }
.footer__grid a:hover { color: var(--cream); text-decoration: underline; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: 0.88rem; color: var(--cream-dim); }
.footer__base ul { display: flex; gap: 1.5rem; }
.footer__base a { min-height: 44px; display: inline-flex; align-items: center; }

/* ---------- motion ---------- */
[data-reveal] { transition: opacity 1s var(--ease), transform 1s var(--ease); }
[data-reveal].is-pending { opacity: 0; transform: translateY(28px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal].is-pending { opacity: 1; transform: none; }
}

/* ---------- language control ---------- */
.lang { position: relative; }
.lang summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 0.45rem; height: 46px; padding: 0 0.9rem;
  border: 1px solid rgba(244, 232, 212, 0.45); border-radius: 999px; font: 500 0.82rem/1 var(--sans); letter-spacing: 0.1em;
}
.lang[open] summary { border-color: var(--saffron); color: var(--saffron); }
.lang__code::before { content: "EN"; }
.lang__code:lang(es)::before { content: "ES"; }
.lang__code:lang(fr)::before { content: "FR"; }
.lang__code:lang(de)::before { content: "DE"; }
.lang__code:lang(pt)::before { content: "PT"; }
.lang__code:lang(ja)::before { content: "日本語"; }
.lang__code:lang(zh)::before { content: "中文"; }
.lang__code:lang(ko)::before { content: "한국어"; }
.lang__code:lang(he)::before { content: "עב"; }
.lang__code:lang(ar)::before { content: "ع"; }
.lang__panel {
  position: absolute; top: calc(100% + 0.6rem); inset-inline-end: 0; z-index: 30; min-width: 12.5rem;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 4px; padding: 0.4rem;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.8);
}
.lang .sd-langs { display: flex !important; flex-direction: column !important; flex-wrap: nowrap !important; align-items: stretch !important; gap: 0 !important; padding: 0 !important; font-size: 1rem !important; }
.lang .sd-langs a, .lang .sd-langs strong {
  display: flex; align-items: center; min-height: 44px; padding: 0.45rem 0.9rem; border-radius: 3px; text-decoration: none; text-align: start;
  font-family: var(--sans); font-weight: 400; color: var(--cream);
}
.lang .sd-langs a:hover { background: rgba(244, 232, 212, 0.08); color: var(--saffron); }
.lang .sd-langs strong { color: var(--saffron); font-weight: 500; }
.lang .sd-langs strong::after { content: ""; width: 0.45rem; height: 0.45rem; margin-inline-start: auto; transform: rotate(45deg); background: var(--saffron); }
@media (min-width: 900px) { .header__end { gap: 1.6rem; } .nav ul { gap: 2rem; } }

/* ---------- right-to-left ---------- */
[dir="rtl"] { --shade-dir: 270deg; }

/* ---------- scripts: Hebrew, Arabic, CJK ---------- */
:lang(he) { --display: "Frank Ruhl Libre", "Fraunces", "David", serif; --sans: "Heebo", "DM Sans", "Arial Hebrew", "Segoe UI", sans-serif; }
:lang(ar) { --display: "Noto Naskh Arabic", "Fraunces", "Geeza Pro", "Traditional Arabic", serif; --sans: "Noto Sans Arabic", "DM Sans", "Geeza Pro", "Segoe UI", sans-serif; }
:lang(ja) { --display: "Fraunces", "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif; --sans: "DM Sans", "Hiragino Sans", "Yu Gothic", "Meiryo", "Noto Sans JP", sans-serif; }
:lang(zh) { --display: "Fraunces", "Songti SC", "STSong", "Noto Serif SC", "Microsoft YaHei", serif; --sans: "DM Sans", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif; }
:lang(ko) { --display: "Fraunces", "AppleMyungjo", "Batang", "Noto Serif KR", serif; --sans: "DM Sans", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif; }
/* These scripts have no true italics: colour carries the accent instead of a fake slant. */
:is(:lang(he), :lang(ar), :lang(ja), :lang(zh), :lang(ko)) :is(em, i, .course__title, .regions h3, .chapter-num, .steps li) { font-style: normal; }
:is(:lang(he), :lang(ar), :lang(ja), :lang(zh), :lang(ko)) :is(h1, h2, h3, .display, .h2, .statement, .footer__mark, .brand__name) { letter-spacing: 0; }
/* Arabic letters join: never track them apart. */
:lang(ar) * { letter-spacing: 0 !important; }
:lang(ar) :is(.display, .h2, .statement, .footer__mark, h1, h2, h3) { line-height: 1.35; }
:lang(ar) :is(.display, .h2) { font-weight: 500; }
:lang(ar) body, body:lang(ar) { line-height: 1.85; }
:lang(he) :is(.display, .h2) { line-height: 1.05; font-weight: 500; }
:lang(he) :is(.display em, .h2 em, .statement em) { font-weight: 400; }
:is(:lang(ja), :lang(zh), :lang(ko)) :is(.display, .h2, .statement, .footer__mark) { line-height: 1.25; }
:is(:lang(ja), :lang(zh), :lang(ko)) .display { font-size: clamp(2.3rem, 7vw, 5.6rem); }
:lang(he) .steps li::before { content: counter(step, hebrew) "."; }
:lang(ar) .steps li::before { content: counter(step, arabic-indic) "."; }
/* Long compound words (German) wrap instead of overflowing. */
h1, h2, h3, .statement, .eyebrow, .lede { overflow-wrap: break-word; hyphens: auto; }
.eyebrow { min-width: 0; }

/* Wordmark: drawn from CSS so the name is never translated; links carry the accessible name. */
.brand__name { white-space: nowrap; }
.brand__name i { font-style: italic; color: var(--saffron); }
.menu-card__top .brand__name i { color: var(--paper-red); }
.footer__mark.brand__name i { font-weight: 300; }
:is(:lang(he), :lang(ar), :lang(ja), :lang(zh), :lang(ko)) .brand__name { font-family: "Fraunces", Georgia, serif; letter-spacing: -0.01em; }

/* Story chapter numbers: counted in the page's own numerals. */
main { counter-reset: chapter; }
.chapter-num::before { counter-increment: chapter; content: counter(chapter, lower-roman) ". "; }
:lang(he) .chapter-num::before { content: counter(chapter, hebrew) ". "; }
:lang(ar) .chapter-num::before { content: counter(chapter, arabic-indic) ". "; }
/* Hebrew, like Arabic, isn't tracked out; CJK labels keep only a little air. */
:lang(he) * { letter-spacing: 0 !important; }
:is(:lang(ja), :lang(zh), :lang(ko)) :is(.eyebrow, .fire__kicker, .visit h3, .infocard h2, .footer__grid h2, .field label, .hero__foot) { letter-spacing: 0.06em; }

/* Accessibility statement */
.hero.statement-hero { min-height: 0; }
.statement-doc { max-width: 68ch; }
.statement-doc h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-block: 2em 0.6em; }
.statement-doc h2:first-child { margin-block-start: 0; }
.statement-doc p { margin-block: 0 1em; }
.statement-doc ul { list-style: disc; padding-inline-start: 1.25em; margin-block: 0 1.2em; }
.statement-doc li + li { margin-block-start: 0.5em; }
.statement-doc li::marker { color: var(--saffron); }
.statement-doc .reviewed { margin-block-start: 3em; color: var(--cream-dim); }

/* Logo text in Hebrew, Arabic and CJK: no letter-spacing (it breaks Arabic joining and reads as gaps in Hebrew). */
:is(:lang(he), :lang(ar), :lang(ja), :lang(zh), :lang(ko)) .brand, :is(:lang(he), :lang(ar), :lang(ja), :lang(zh), :lang(ko)) .brand * { letter-spacing: 0 !important; }

.menu-card__top .brand__name { white-space: normal; overflow-wrap: anywhere; }


/* Button pairs share a row on a phone (owner, 2026-10-16). */
@media (max-width: 480px) {
  .actions:has(> .btn:nth-child(2)):not(:has(> :nth-child(3))) { display: flex; flex-wrap: nowrap; gap: 10px; }
  .actions:has(> .btn:nth-child(2)):not(:has(> :nth-child(3))) > .btn { flex: 1 1 0; min-width: 0; width: auto; justify-content: center; text-align: center; white-space: normal; padding-inline: 12px; }
}
