/* ─────────────────────────────────────────────
   Tekkeya — design tokens
   Brand terracotta is taken from the logo PDF: #AB513B
   ───────────────────────────────────────────── */
:root {
  --clay: #AB513B;
  --clay-deep: #7E3826;
  --clay-night: #4A2016;
  --sand: #F6EEE2;
  --sand-2: #EEDFCA;
  --ochre: #C89B5A;
  --ink: #2A1D17;
  --ink-soft: #5E4A3F;
  --cream: #F4EADB;

  --f-display: "Fraunces", Georgia, serif;
  --f-label: "Marcellus", "Fraunces", serif;
  --f-body: "Figtree", system-ui, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --section-y: clamp(72px, 11vw, 140px);

  /* bowl-triangle motif, used as a band and in photo slots */
  --tri: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='16'%3E%3Cpath d='M2 2h10L7 10z' fill='%23AB513B'/%3E%3Cpath d='M16 14h10l-5-8z' fill='%23AB513B'/%3E%3C/svg%3E");
}

html[lang="ar"] {
  --f-display: "Amiri", "Fraunces", serif;
  --f-label: "IBM Plex Sans Arabic", sans-serif;
  --f-body: "IBM Plex Sans Arabic", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font: 400 clamp(16px, 1.05vw + 11px, 18px)/1.65 var(--f-body);
  overflow-x: hidden;
}
html[lang="ar"] body { line-height: 1.85; }
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.12; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
html[lang="ar"] :is(h1, h2, h3) { letter-spacing: 0; line-height: 1.35; font-weight: 400; }
p { margin: 0; text-wrap: pretty; }
em { font-style: italic; }
html[lang="ar"] em { font-style: normal; color: var(--clay); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--ink); color: var(--cream); padding: 10px 14px; z-index: 100; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--ochre); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }
.center { text-align: center; }
.section { padding-block: var(--section-y); position: relative; }

/* ───────── Logo (SVG masks so one file recolours anywhere) ───────── */
.logo-mark, .logo-word, .logo-full {
  display: inline-block;
  background: currentColor;
  -webkit-mask: var(--m) center / contain no-repeat;
          mask: var(--m) center / contain no-repeat;
}
.logo-mark { --m: url(assets/mark.svg); width: 44px; aspect-ratio: 274 / 279; }
.logo-word { --m: url(assets/wordmark.svg); width: 118px; aspect-ratio: 294 / 33; }
.logo-full { --m: url(assets/logo.svg); width: 150px; aspect-ratio: 294 / 333; }
.logo-mark.big { width: 96px; margin-bottom: 28px; color: var(--clay); }

/* ───────── Labels ───────── */
.eyebrow, .element {
  font-family: var(--f-label);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .78rem;
  color: var(--cream);
  margin-bottom: 22px;
}
html[lang="ar"] :is(.eyebrow, .element) { letter-spacing: 0; text-transform: none; font-size: .95rem; font-weight: 500; }
.eyebrow.dark, .element { color: var(--clay); }
.element { display: inline-flex; align-items: center; gap: 12px; }
.element.light { color: var(--cream); }

/* the five element glyphs from the brand's Instagram */
.glyph { display: inline-block; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--g) center / contain no-repeat; mask: var(--g) center / contain no-repeat; flex: none; }
.g-fire  { --g: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 2 19 18H1z' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E"); }
.g-water { --g: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 18 19 2H1z' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E"); }
.g-air   { --g: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 2 19 18H1z M4.5 12h11' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E"); }
.g-earth { --g: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 18 19 2H1z M4.5 8h11' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E"); }
.g-quint { --g: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='8' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3Cpath d='M2 10h16' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E"); }

/* ───────── Buttons ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; min-height: 48px; padding: 0 24px;
  border-radius: 999px; border: 1.5px solid var(--clay);
  background: var(--clay); color: var(--cream);
  font: 500 .95rem/1 var(--f-body); letter-spacing: .02em;
  text-decoration: none; transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--clay-deep); border-color: var(--clay-deep); }
.btn-sm { min-height: 38px; padding: 0 18px; font-size: .88rem; }
.btn-light { background: var(--cream); color: var(--clay-deep); border-color: var(--cream); }
.btn-light:hover { background: #fff; border-color: #fff; color: var(--clay-deep); }
.btn-ghost { background: transparent; color: var(--cream); border-color: rgba(244,234,219,.6); }
.btn-ghost:hover { background: rgba(244,234,219,.12); border-color: var(--cream); }
.btn-outline { background: transparent; color: var(--clay); }
.btn-outline:hover { background: var(--clay); color: var(--cream); }

/* ───────── Header ───────── */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  height: 72px; padding-inline: var(--gutter);
  color: var(--cream);
  transition: background .3s, color .3s, box-shadow .3s;
}
.site-header.scrolled { background: rgba(246,238,226,.94); color: var(--clay); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(74,32,22,.08); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand .logo-mark { width: 40px; }
.nav { margin-inline-start: auto; }
.nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav a { white-space: nowrap; text-decoration: none; font-size: .92rem; letter-spacing: .03em; opacity: .9; }
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.site-header:not(.scrolled) .btn-sm { background: var(--cream); color: var(--clay-deep); border-color: var(--cream); }
.lang { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; background: none; border: 1px solid currentColor; color: inherit; border-radius: 999px; height: 38px; min-width: 52px; padding: 0 12px; cursor: pointer; font: 500 .9rem var(--f-body); }
.lang-ar { font-family: "IBM Plex Sans Arabic", sans-serif; }
html[lang="ar"] .lang-ar, html[lang="en"] .lang-en { display: none; }
.nav-toggle { display: none; }

/* ───────── Hero ───────── */
.hero {
  position: relative; min-height: max(640px, 100svh);
  display: grid; align-items: start;
  color: var(--cream); background: var(--clay-night);
  overflow: hidden;
}
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; }
html[dir="rtl"] .hero-art { transform: scaleX(-1); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, rgba(74,32,22,.55) 0%, rgba(74,32,22,.25) 38%, rgba(74,32,22,0) 60%); }
html[dir="rtl"] .hero::before { background: linear-gradient(-100deg, rgba(74,32,22,.55) 0%, rgba(74,32,22,.25) 38%, rgba(74,32,22,0) 60%); }
.hero-inner {
  position: relative; z-index: 1;
  max-width: var(--wrap); width: 100%; margin-inline: auto;
  padding: clamp(120px, 18vh, 190px) var(--gutter) 64px;
}
.hero h1 { font-size: clamp(2.3rem, 4.8vw, 4.4rem); max-width: 15ch; font-weight: 300; }
html[lang="ar"] .hero h1 { max-width: 16ch; font-weight: 400; }
.hero .lede { max-width: 46ch; margin-top: 22px; font-size: 1.1em; opacity: .92; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.tri-band { position: absolute; inset: auto 0 0 0; height: 16px; background: var(--tri) repeat-x; background-color: var(--sand); opacity: 1; z-index: 2; }

/* the felucca: a slow crossing, a gentle rock, a fading wake */
.felucca-drift { animation: sail 70s linear -24s infinite; } /* start mid-river so it is visible on load */
.felucca-bob { transform-box: fill-box; transform-origin: 50% 100%; animation: bob 6s ease-in-out infinite alternate; }
.felucca-wake { animation: wake 3s ease-in-out infinite alternate; }
@keyframes sail {
  0%   { transform: translateX(-260px); opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { transform: translateX(580px); opacity: 0; }
}
@keyframes bob {
  from { transform: translateY(0) rotate(-1.2deg); }
  to   { transform: translateY(3px) rotate(1.2deg); }
}
@keyframes wake {
  from { opacity: .15; }
  to   { opacity: .45; }
}

/* ───────── Split layouts ───────── */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.section h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); margin-bottom: 28px; }
.section h2.wide { max-width: 18ch; }
.prose { color: var(--ink-soft); max-width: 58ch; }
.prose p + p { margin-top: 1em; }

/* ───────── Photo slots (placeholders until George's photos arrive) ───────── */
.photo { margin: 0; }
.photo-slot {
  aspect-ratio: 4 / 3; border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(171,81,59,.0), rgba(126,56,38,.18)),
    var(--tri) 0 0 / 28px 16px,
    var(--sand-2);
  background-blend-mode: normal, soft-light, normal;
  position: relative;
}
.photo-slot::after {
  content: attr(aria-label);
  position: absolute; inset: auto 12px 12px 12px;
  font: 500 .75rem/1.3 var(--f-body); color: var(--clay-deep);
  background: rgba(246,238,226,.85); padding: 6px 10px; border-radius: 3px; width: fit-content;
}
.photo-tall .photo-slot { aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius) var(--radius); }
.photo-round .photo-slot { aspect-ratio: 1; border-radius: 50%; }
.photo-host .photo-slot { aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius) var(--radius); }
.photo-round .photo-slot::after { inset: auto 0 18% 0; margin-inline: auto; }
.photo figcaption { font-size: .82rem; color: var(--ink-soft); margin-top: 10px; font-family: var(--f-label); letter-spacing: .06em; }
.clay .photo figcaption { color: rgba(244,234,219,.8); }

img.photo-slot { display: block; width: 100%; height: auto; object-fit: cover; }

/* ───────── Glimpses strip ───────── */
.strip {
  display: grid; grid-template-columns: .75fr 1.33fr 1.33fr; gap: 14px;
  padding: 0 var(--gutter) var(--section-y); max-width: calc(var(--wrap) + 160px); margin: 0 auto;
}
.strip img.photo-slot { aspect-ratio: auto; height: clamp(240px, 30vw, 440px); }
@media (max-width: 860px) {
  .strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 72px; }
  .strip::-webkit-scrollbar { display: none; }
  .strip .photo { flex: none; scroll-snap-align: center; }
  .strip .photo:first-child { width: 62vw; }
  .strip .photo:not(:first-child) { width: 84vw; }
  .strip img.photo-slot { height: 300px; }
}

/* ───────── Host ───────── */
.host { background: var(--sand-2); }
.host-inner { display: grid; grid-template-columns: 280px 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.host h2 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }

/* ───────── Island ───────── */
.clay { background: var(--clay); color: var(--cream); }
.clay h2 { color: var(--cream); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 56px; }
.facts article { border-top: 1px solid rgba(244,234,219,.35); padding-top: 18px; }
.facts .num { font-family: var(--f-label); font-size: .8rem; letter-spacing: .2em; opacity: .7; display: block; margin-bottom: 12px; }
.facts p { font-size: .98rem; opacity: .95; }
.photo-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 20px; margin-top: 72px; }
.clay .photo-slot { background-color: #C26F57; }

/* ───────── Why (verse) ───────── */
.why { background: var(--sand); }
.verse { list-style: none; padding: 0; margin: 12px 0 0; counter-reset: v; }
.verse li {
  font-family: var(--f-display); font-weight: 300;
  font-size: clamp(1.35rem, 2.3vw, 1.95rem); line-height: 1.4;
  color: var(--ink); padding: 22px 0;
}
.verse li + li { border-top: 1px solid rgba(171,81,59,.2); }
.verse li:first-child { color: var(--clay); font-style: italic; }
html[lang="ar"] .verse li { font-weight: 400; font-style: normal; }

/* ───────── Kitchen ───────── */
.sand2 { background: var(--sand-2); }
.kitchen-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 90px); align-items: end; }
.kitchen-head h2 { margin-bottom: 0; }
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: 64px; background: rgba(171,81,59,.18); border: 2px solid transparent; }
.principles article { background: var(--sand-2); padding: 28px 24px 30px; }
.principles h3 { font-size: 1.35rem; color: var(--clay); margin-bottom: 10px; }
.principles p { font-size: .95rem; color: var(--ink-soft); }
.table-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 64px); margin-top: 72px; align-items: center; }
.photo-wide .photo-slot { aspect-ratio: 16 / 11; }
.dishes { list-style: none; padding: 0; margin: 0; }
.dishes li { font-family: var(--f-display); font-size: 1.22rem; padding: 14px 0; border-bottom: 1px dashed rgba(171,81,59,.35); }
.dishes li:first-child { border-top: 1px dashed rgba(171,81,59,.35); }
.fine { font-size: .88rem; color: var(--ink-soft); margin-top: 18px; font-style: italic; }
html[lang="ar"] .fine { font-style: normal; }

/* ───────── Earth / space ───────── */
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 32px 0 0; }
.tags li { border: 1px solid rgba(171,81,59,.4); color: var(--clay-deep); border-radius: 999px; padding: 6px 14px; font-size: .85rem; }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mosaic .photo-slot { aspect-ratio: 1; }
.mosaic .span2 { grid-column: span 2; }
.mosaic .span2 .photo-slot { aspect-ratio: 16 / 9; }

/* ───────── Offering ───────── */
.offering { background: var(--clay-night); color: var(--cream); }
.offering .logo-mark.big { color: var(--ochre); }
.offering h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-style: italic; font-weight: 300; }
html[lang="ar"] .offering h2 { font-style: normal; font-weight: 700; }
.offering .prose { color: rgba(244,234,219,.85); margin-inline: auto; font-size: 1.1em; }

/* ───────── Voices ───────── */
.voices-head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 16px; margin-bottom: 48px; }
.voices-head h2 { margin: 0; }
.ratings { display: flex; gap: 24px; color: var(--ink-soft); font-size: .9rem; }
.ratings strong { font-family: var(--f-display); font-size: 1.8rem; color: var(--clay); font-weight: 400; margin-inline-end: 6px; }
.quotes { columns: 3 280px; column-gap: 28px; }
.quotes blockquote { break-inside: avoid; margin: 0 0 28px; padding: 28px; background: #fff8ee; border-radius: var(--radius); border-inline-start: 3px solid var(--clay); }
.quotes p { font-family: var(--f-display); font-size: 1.25rem; line-height: 1.4; }
.quotes blockquote[lang="ar"] p { font-family: "Amiri", serif; font-size: 1.4rem; }
.quotes blockquote[lang="ar"] cite { text-align: right; }
.quotes cite { display: block; margin-top: 14px; font-style: normal; font-size: .82rem; color: var(--ink-soft); letter-spacing: .04em; }

/* ───────── Reserve ───────── */
.reserve { background: var(--sand); }
.reserve-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.reserve-grid > * { min-width: 0; }
.reserve-intro { position: sticky; top: 110px; }
.reserve-notes { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 10px; }
.reserve-notes li { display: flex; gap: 12px; align-items: baseline; color: var(--ink-soft); }
.reserve-notes li::before { content: ""; width: 9px; height: 8px; flex: none; background: var(--clay); clip-path: polygon(50% 0, 100% 100%, 0 100%); transform: translateY(-1px); }
.reserve-intro .fine a { color: var(--clay); }

.booking, .booking-done { background: #fff8ee; border-radius: 6px; padding: clamp(22px, 3.4vw, 40px); box-shadow: 0 0 0 1px rgba(171,81,59,.14), 0 24px 48px -32px rgba(74,32,22,.35); }
.booking fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.b-step + .b-step { margin-top: 30px; padding-top: 28px; border-top: 1px dashed rgba(171,81,59,.25); }
.booking legend { float: left; width: 100%; font-family: var(--f-label); text-transform: uppercase; letter-spacing: .18em; font-size: .74rem; color: var(--clay); margin-bottom: 14px; padding: 0; }
html[lang="ar"] .booking legend { text-transform: none; letter-spacing: 0; font-size: .92rem; font-weight: 600; }
.booking legend + * { clear: both; }
.b-month { font-family: var(--f-display); font-size: 1.3rem; margin: -4px 0 12px; min-height: 1.4em; }

.b-days-wrap { position: relative; display: flex; align-items: center; gap: 6px; }
.b-days { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 8px; flex: 1; }
.b-days::-webkit-scrollbar { display: none; }
.b-scroll { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(171,81,59,.35); background: transparent; color: var(--clay); font-size: 1.2rem; cursor: pointer; line-height: 1; }
.b-scroll:hover { background: var(--sand-2); }
html[dir="rtl"] .b-scroll { transform: scaleX(-1); }
.b-day {
  flex: none; scroll-snap-align: start; width: 64px; padding: 10px 0 9px;
  display: grid; justify-items: center; gap: 2px;
  border: 1px solid rgba(171,81,59,.25); border-radius: 999px; background: transparent;
  color: var(--ink); cursor: pointer; font: inherit; transition: background .15s, border-color .15s, color .15s;
}
.b-day .w, .b-day .m { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }
.b-day .n { font-family: var(--f-display); font-size: 1.45rem; line-height: 1.1; }
.b-day:hover:not(:disabled) { border-color: var(--clay); }
.b-day.on { background: var(--clay); border-color: var(--clay); color: var(--cream); }
.b-day.on .w, .b-day.on .m { color: rgba(244,234,219,.85); }
.b-day:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; text-decoration-color: rgba(171,81,59,.5); }

.b-sittings { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.b-sit {
  text-align: start; padding: 18px 18px 16px; border-radius: 6px; cursor: pointer; font: inherit; color: var(--ink);
  border: 1px solid rgba(171,81,59,.25); background: transparent; display: grid; gap: 4px;
  transition: border-color .15s, background .15s;
}
.b-sit .t { font-family: var(--f-display); font-size: 1.35rem; }
.b-sit .h { font-size: .85rem; color: var(--ink-soft); }
.b-sit .s { font-size: .78rem; color: var(--clay); margin-top: 6px; font-weight: 500; }
.b-sit:hover:not(:disabled) { border-color: var(--clay); }
.b-sit.on { border-color: var(--clay); background: rgba(171,81,59,.07); box-shadow: inset 0 0 0 1px var(--clay); }
.b-sit.sunset.on { background: linear-gradient(160deg, rgba(171,81,59,.06), rgba(217,138,95,.16)); }
.b-sit:disabled { opacity: .45; cursor: not-allowed; }

.b-row { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px 24px; }
.b-row legend { grid-column: 1 / -1; }
.b-stepper { justify-self: start; display: inline-flex; align-items: center; border: 1px solid rgba(171,81,59,.3); border-radius: 999px; }
.b-stepper button { width: 46px; height: 46px; border: 0; background: none; color: var(--clay); font-size: 1.4rem; cursor: pointer; border-radius: 50%; }
.b-stepper button:disabled { opacity: .3; cursor: not-allowed; }
.b-stepper output { min-width: 40px; text-align: center; font-family: var(--f-display); font-size: 1.4rem; }
.b-hint { font-size: .82rem; color: var(--ink-soft); }

.b-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.b-fields legend { grid-column: 1 / -1; }
.b-fields label { display: grid; gap: 6px; font-size: .85rem; color: var(--ink-soft); }
.b-fields .b-full, .b-fields .b-check { grid-column: 1 / -1; }
.b-fields input:not([type=checkbox]), .b-fields textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--sand);
  border: 1px solid rgba(171,81,59,.25); border-radius: 4px; padding: 12px 14px; width: 100%;
}
.b-fields textarea { resize: vertical; min-height: 90px; }
.b-fields input:focus, .b-fields textarea:focus { outline: none; border-color: var(--clay); box-shadow: 0 0 0 3px rgba(171,81,59,.15); }
html[dir="rtl"] .b-fields input[dir="ltr"] { text-align: right; }
.b-check { display: flex !important; align-items: center; gap: 10px; color: var(--ink) !important; font-size: .95rem !important; cursor: pointer; }
.b-check input { width: 18px; height: 18px; accent-color: var(--clay); }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.b-submit { margin-top: 32px; display: grid; gap: 12px; justify-items: start; }
.b-summary { font-family: var(--f-display); font-size: 1.15rem; min-height: 1.4em; }
.b-submit .btn { min-width: 200px; }
.b-submit .btn:disabled { opacity: .6; cursor: progress; }
.b-error { color: #A3321F; font-size: .92rem; min-height: 1.2em; }
.booking.is-offline .b-step { opacity: .45; pointer-events: none; }

.booking-done { text-align: center; display: grid; justify-items: center; gap: 12px; }
.booking-done[hidden] { display: none; }
.booking-done h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.booking-done strong { font-family: var(--f-label); letter-spacing: .14em; color: var(--clay); font-size: 1.15rem; }
.booking-done .prose { margin-inline: auto; }
.booking-done .btn { margin-top: 12px; }

/* ───────── Visit ───────── */
.visit { background: var(--sand-2); }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.steps { padding: 0; margin: 0 0 36px; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding-inline-start: 52px; padding-block: 12px; color: var(--ink-soft); }
.steps li::before {
  content: counter(s); position: absolute; inset-inline-start: 0; top: 12px;
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--clay);
  display: grid; place-items: center; color: var(--clay); font-family: var(--f-display); font-size: .95rem;
}
.steps strong { color: var(--ink); font-weight: 600; }
.info { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; margin: 0 0 8px; }
.info dt { font-family: var(--f-label); text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; color: var(--clay); }
html[lang="ar"] .info dt { text-transform: none; letter-spacing: 0; font-size: .85rem; }
.info dd { margin: 4px 0 0; }
.info a { text-decoration: none; border-bottom: 1px solid rgba(171,81,59,.4); }
.map { position: sticky; top: 100px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand); box-shadow: 0 0 0 1px rgba(171,81,59,.2); }
.map iframe { width: 100%; height: 100%; border: 0; filter: sepia(.35) saturate(.85); }

/* ───────── Footer ───────── */
.site-footer { background: var(--clay); color: var(--cream); padding: 72px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: start; }
.footer-brand p { margin-top: 20px; font-size: .9rem; opacity: .85; max-width: 32ch; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a { text-decoration: none; opacity: .9; }
.footer-links a:hover { opacity: 1; text-decoration: underline; }
.glyph-row { grid-column: 1 / -1; display: flex; gap: 18px; opacity: .6; padding-top: 32px; border-top: 1px solid rgba(244,234,219,.25); }

/* ───────── Floating WhatsApp ───────── */
.float-wa {
  position: fixed; inset-inline-end: 18px; bottom: 18px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--clay); color: var(--cream);
  box-shadow: 0 8px 24px rgba(74,32,22,.3);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .3s, transform .3s;
}
.float-wa svg { width: 28px; height: 28px; }
.float-wa.show { opacity: 1; transform: none; pointer-events: auto; }

/* ───────── Reveal on scroll ───────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .felucca-drift, .felucca-bob, .felucca-wake { animation: none; }
  .felucca-wake { opacity: .3; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ───────── Responsive ───────── */
@media (max-width: 980px) {
  .facts, .principles { grid-template-columns: 1fr 1fr; }
  .reserve-grid { grid-template-columns: 1fr; }
  .reserve-intro { position: static; }
  .kitchen-head, .table-grid, .visit-grid { grid-template-columns: 1fr; }
  .map { position: static; aspect-ratio: 4 / 3; }
}
@media (max-width: 1024px) {
  /* Stacked hero: text first, then the drawing in its own block, so they never overlap. */
  .hero { background: #7E3826; min-height: 100svh; display: flex; flex-direction: column; }
  .hero-inner { order: 0; padding-top: 112px; padding-bottom: 8px; }
  .hero-art { order: 1; position: relative; inset: auto; height: auto; min-height: clamp(240px, 52vw, 480px); flex: 1 0 auto;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 28%); mask-image: linear-gradient(to bottom, transparent, #000 28%); }
  .hero::before { display: none; }
  .nav-toggle {
    display: grid; place-items: center; width: 42px; height: 42px;
    background: none; border: 0; color: inherit; cursor: pointer;
  }
  .bars, .bars::before, .bars::after { display: block; width: 22px; height: 1.5px; background: currentColor; position: relative; content: ""; }
  .bars::before { position: absolute; top: -7px; }
  .bars::after { position: absolute; top: 7px; }
  .nav { order: 3; margin-inline-start: 0; }
  .header-actions { margin-inline-start: auto; }
  .nav ul {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--sand); color: var(--clay-deep);
    padding: 8px var(--gutter) 24px; box-shadow: 0 12px 24px rgba(74,32,22,.12);
    display: none;
  }
  .nav.open ul { display: flex; }
  .nav ul a { display: block; padding: 14px 0; font-size: 1.1rem; border-bottom: 1px solid rgba(171,81,59,.15); }
  .split, .host-inner { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .host-inner .photo { max-width: 260px; }
  .photo-row { grid-template-columns: 1fr 1fr; }
  .photo-row .photo:first-child { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .site-header .btn-sm { display: none; }
  .facts, .principles { grid-template-columns: 1fr; }
  .info { grid-template-columns: 1fr; }
  .b-fields, .b-sittings { grid-template-columns: 1fr; }
  .b-row { grid-template-columns: 1fr; }
  .b-scroll { display: none; }
  .booking, .booking-done { margin-inline: calc(var(--gutter) * -0.5); }
  .photo-tall .photo-slot { aspect-ratio: 1; }
}
