/* =========================================================
   Sofreh Kitchen & Grill — design system
   Palette + type from research/brand-system.md
   ========================================================= */

:root {
  --bg:        #FFF8EF;  /* cream surface */
  --surface:   #FFFDF8;
  --surface-2: #FBF1E2;
  --text:      #271A12;
  --muted:     #7A6654;
  --primary:   #B64A2E;  /* terracotta */
  --primary-d: #97391F;
  --secondary: #17453B;  /* deep green */
  --secondary-d:#0E2E27;
  --accent:    #E7A93B;  /* saffron */
  --accent-d:  #C98C1F;
  --border:    #EADCCB;
  --photo-dark:#241710;
  --focus:     #B64A2E;

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 4px;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --shadow-sm: 0 1px 2px rgba(36,23,16,.06), 0 2px 8px rgba(36,23,16,.05);
  --shadow-md: 0 8px 30px rgba(36,23,16,.10);
  --shadow-lg: 0 24px 60px rgba(36,23,16,.22);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.04;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; text-wrap: pretty; }

::selection { background: var(--accent); color: var(--secondary-d); }

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

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

/* ---- Eyebrow / kicker ---- */
.kicker {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--accent);
}
.kicker.center::after {
  content: "";
  width: 26px; height: 1px;
  background: var(--accent);
}
.kicker.center { justify-content: center; }

/* ---- Section scaffolding ---- */
section { position: relative; }
.section-pad { padding-block: clamp(64px, 9vw, 130px); }

.section-head { max-width: 640px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(34px, 5.2vw, 60px);
  margin-top: 18px;
}
.section-head p {
  color: var(--muted);
  font-size: 18px;
  margin-top: 18px;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .01em;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), background .2s, color .2s, box-shadow .25s, border-color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 22px rgba(182,74,46,.28);
}
.btn-primary:hover { background: var(--primary-d); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(182,74,46,.34); }

.btn-dark {
  background: var(--secondary);
  color: #fff;
}
.btn-dark:hover { background: var(--secondary-d); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--secondary); color: var(--secondary); transform: translateY(-2px); }

.btn-ghost-light {
  background: rgba(255,255,255,.08);
  color: #fff;
  border-color: rgba(255,255,255,.45);
  backdrop-filter: blur(6px);
}
.btn-ghost-light:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }

/* =========================================================
   Header / nav
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  transition: background .35s, box-shadow .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled,
.site-header.solid {
  background: rgba(255,248,239,.92);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.site-header.solid {
  background: var(--bg);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 46px; width: auto; }
.brand .brand-text {
  display: flex; flex-direction: column; line-height: 1;
}
.brand .brand-text b {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 21px;
  color: var(--secondary);
  letter-spacing: .01em;
  transition: color .35s;
}
.brand .brand-text span {
  font-size: 9.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}
.site-header:not(.scrolled):not(.solid) .brand .brand-text b { color: #fff; }
.site-header:not(.scrolled):not(.solid) .brand .brand-text span { color: rgba(255,255,255,.8); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 4px 0;
  transition: color .25s;
}
.nav-links a::after {
  content:""; position:absolute; left:0; bottom:-2px;
  width:0; height:1.5px; background: var(--primary);
  transition: width .3s ease;
}
.nav-links a:hover::after { width:100%; }
.site-header:not(.scrolled):not(.solid) .nav-links a { color: rgba(255,255,255,.92); }
.site-header:not(.scrolled):not(.solid) .nav-links a:hover { color:#fff; }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { padding: 11px 20px; font-size: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 8px; margin: -8px;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform .3s, opacity .3s, background .3s;
}
.site-header:not(.scrolled):not(.solid) .nav-toggle span { background: #fff; }

/* mobile drawer */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: var(--secondary-d);
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 28px var(--gutter) 40px;
  transform: translateY(-100%);
  transition: transform .45s cubic-bezier(.4,0,.2,1);
  visibility: hidden;
}
.mobile-menu.open { transform: translateY(0); visibility: visible; }
.mobile-menu .mm-top { display:flex; justify-content: space-between; align-items:center; }
.mobile-menu .mm-close {
  background: none; border: none; color:#fff; font-size: 30px; cursor: pointer; line-height: 1;
}
.mobile-menu nav { margin-top: auto; margin-bottom: auto; }
.mobile-menu nav a {
  display: block;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
  color: #fff;
}
.mobile-menu .mm-actions { display:flex; gap:12px; flex-wrap: wrap; }
.mobile-menu .mm-actions .btn { flex:1; min-width: 140px; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.hero-bg { position:absolute; inset:0; z-index:0; }
.hero-bg img { width:100%; height:100%; object-fit: cover; }
.hero-bg::after {
  content:"";
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(36,23,16,.42) 0%, rgba(36,23,16,.04) 30%, rgba(36,23,16,.20) 60%, rgba(36,23,16,.86) 100%);
}
.hero-inner {
  position: relative; z-index: 1;
  width: 100%;
  padding-bottom: clamp(52px, 8vh, 96px);
  padding-top: 140px;
}
.hero-rating {
  display:inline-flex; align-items:center; gap:10px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.28);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 26px;
}
.hero-rating .stars { color: var(--accent); letter-spacing: 1px; }
.hero h1 {
  font-size: clamp(48px, 8.5vw, 116px);
  line-height: .96;
  max-width: 14ch;
  text-shadow: 0 2px 30px rgba(0,0,0,.3);
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-sub {
  margin-top: 26px;
  font-size: clamp(17px, 2vw, 21px);
  max-width: 52ch;
  color: rgba(255,255,255,.9);
  font-weight: 400;
}
.hero-actions { margin-top: 38px; display:flex; gap:14px; flex-wrap: wrap; }
.hero-meta {
  margin-top: 40px;
  display:flex; gap: 30px; flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.2);
  font-size: 14px;
  color: rgba(255,255,255,.85);
}
.hero-meta b { color:#fff; font-weight:600; }
.hero-meta .dot { color: var(--accent); }

.scroll-cue {
  position:absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  z-index: 2; color: rgba(255,255,255,.7); font-size: 11px;
  letter-spacing: .2em; text-transform: uppercase;
  display:flex; flex-direction: column; align-items:center; gap:8px;
}
.scroll-cue .line { width:1px; height: 34px; background: linear-gradient(rgba(255,255,255,.7), transparent); animation: cue 2s infinite; }
@keyframes cue { 0%{transform:scaleY(0);transform-origin:top} 50%{transform:scaleY(1);transform-origin:top} 51%{transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }

/* =========================================================
   Marquee strip
   ========================================================= */
.strip {
  background: var(--secondary);
  color: var(--surface-2);
  padding: 16px 0;
  overflow: hidden;
  border-block: 1px solid var(--secondary-d);
}
.strip-track {
  display: flex; gap: 0; width: max-content;
  animation: marquee 34s linear infinite;
}
.strip:hover .strip-track { animation-play-state: paused; }
.strip-item {
  display:inline-flex; align-items:center; gap: 28px;
  padding-inline: 28px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  font-style: italic;
  white-space: nowrap;
}
.strip-item::after { content:"◆"; font-size: 10px; color: var(--accent); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   About / story
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}
.about-copy h2 { font-size: clamp(32px, 4.6vw, 54px); margin-top: 18px; }
.about-copy p { color: var(--muted); margin-top: 20px; font-size: 18px; }
.about-copy .lead { color: var(--text); font-size: 21px; }
.about-stats {
  display:flex; gap: 38px; flex-wrap: wrap; margin-top: 38px;
  padding-top: 30px; border-top: 1px solid var(--border);
}
.about-stats .stat b {
  display:block; font-family: var(--serif); font-size: 42px; font-weight:600;
  color: var(--primary); line-height: 1;
}
.about-stats .stat span { font-size: 13.5px; color: var(--muted); margin-top: 8px; display:block; }

.about-media { position: relative; }
.about-media .frame {
  position: relative; border-radius: 6px; overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/5;
}
.about-media .frame img { width:100%; height:100%; object-fit: cover; }
.about-media .badge {
  position:absolute; left: -22px; bottom: 36px;
  background: var(--accent);
  color: var(--secondary-d);
  padding: 18px 24px;
  border-radius: 4px;
  box-shadow: var(--shadow-md);
  max-width: 220px;
}
.about-media .badge b { font-family: var(--serif); font-size: 20px; display:block; }
.about-media .badge span { font-size: 12.5px; font-weight: 500; }

/* =========================================================
   Menu highlights
   ========================================================= */
.menu-note {
  display:inline-flex; align-items:center; gap:10px;
  margin-top: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 13.5px;
  color: var(--muted);
}
.menu-note b { color: var(--secondary); font-weight: 600; }

.menu-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.dish {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s;
}
.dish:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #e0cdb4; }
.dish-img { aspect-ratio: 16/11; overflow: hidden; position: relative; }
.dish-img img { width:100%; height:100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.dish:hover .dish-img img { transform: scale(1.06); }
.dish-tag {
  position:absolute; top: 14px; left: 14px;
  background: rgba(23,69,59,.92);
  color: #fff;
  font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
  backdrop-filter: blur(4px);
}
.dish-body { padding: 22px 24px 26px; flex: 1; display:flex; flex-direction: column; }
.dish-body h3 { font-size: 26px; }
.dish-body p { color: var(--muted); font-size: 15px; margin-top: 10px; flex:1; }
.dish-body .eat {
  margin-top: 16px; font-size: 12.5px; font-weight: 600; letter-spacing:.04em;
  color: var(--primary); display:inline-flex; align-items:center; gap:6px;
}

/* =========================================================
   Gallery
   ========================================================= */
.gallery {
  background: var(--secondary);
  color: #fff;
}
.gallery .section-head h2 { color:#fff; }
.gallery .section-head p { color: rgba(255,255,255,.72); }
.gallery .kicker { color: var(--accent); }
.gallery .kicker::before, .gallery .kicker.center::after { background: var(--accent); }

.gallery-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
}
.gallery-grid figure {
  margin:0; overflow:hidden; border-radius: 5px; position: relative; cursor: pointer;
  background: var(--secondary-d);
}
.gallery-grid img { width:100%; height:100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.gallery-grid figure::after {
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, transparent 50%, rgba(14,46,39,.55));
  opacity: 0; transition: opacity .35s;
}
.gallery-grid figure:hover img { transform: scale(1.07); }
.gallery-grid figure:hover::after { opacity: 1; }
.gallery-grid figure .zoom {
  position:absolute; right: 14px; bottom: 14px; z-index:2;
  width: 38px; height: 38px; border-radius: 999px;
  background: rgba(255,255,255,.92); color: var(--secondary);
  display:grid; place-items:center;
  opacity:0; transform: translateY(8px); transition: opacity .35s, transform .35s;
}
.gallery-grid figure:hover .zoom { opacity:1; transform: translateY(0); }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }

/* lightbox */
.lightbox {
  position: fixed; inset:0; z-index: 90;
  background: rgba(14,15,12,.92);
  display:flex; align-items:center; justify-content:center;
  padding: 5vw;
  opacity: 0; visibility: hidden; transition: opacity .3s;
}
.lightbox.open { opacity:1; visibility:visible; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 4px; box-shadow: var(--shadow-lg); }
.lightbox .lb-close, .lightbox .lb-nav {
  position:absolute; background: rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.25);
  color:#fff; cursor:pointer; border-radius: 999px;
  width: 52px; height: 52px; display:grid; place-items:center; font-size: 22px;
  transition: background .2s;
}
.lightbox .lb-close:hover, .lightbox .lb-nav:hover { background: rgba(255,255,255,.25); }
.lightbox .lb-close { top: 24px; right: 24px; }
.lightbox .lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position:absolute; bottom: 24px; left:50%; transform:translateX(-50%); color: rgba(255,255,255,.7); font-size: 13px; letter-spacing: .1em; }

/* =========================================================
   Experience / service modes
   ========================================================= */
.modes-grid {
  margin-top: 52px;
  display:grid; grid-template-columns: repeat(3,1fr); gap: 22px;
}
.mode {
  background: var(--surface);
  border:1px solid var(--border);
  border-radius: 6px;
  padding: 34px 30px;
  transition: transform .3s, box-shadow .3s;
}
.mode:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.mode .ic {
  width: 52px; height: 52px; border-radius: 999px;
  background: var(--surface-2); color: var(--primary);
  display:grid; place-items:center; margin-bottom: 22px;
}
.mode .ic svg { width: 26px; height: 26px; }
.mode h3 { font-size: 25px; }
.mode p { color: var(--muted); font-size: 15.5px; margin-top: 10px; }

/* =========================================================
   Reviews band
   ========================================================= */
.reviews {
  background:
    linear-gradient(rgba(36,23,16,.78), rgba(36,23,16,.84)),
    var(--photo-dark);
  color:#fff;
  text-align:center;
}
.reviews-score {
  display:flex; align-items:baseline; justify-content:center; gap: 14px;
}
.reviews-score b { font-family: var(--serif); font-size: clamp(64px, 12vw, 120px); line-height:1; color: var(--accent); }
.reviews-score .of { color: rgba(255,255,255,.6); font-size: 22px; }
.reviews .stars { color: var(--accent); font-size: 26px; letter-spacing: 4px; margin-top: 14px; }
.reviews .rev-sub { color: rgba(255,255,255,.82); margin-top: 16px; font-size: 18px; }
.reviews .rev-src { color: rgba(255,255,255,.5); margin-top: 8px; font-size: 13px; }

/* =========================================================
   Visit / contact
   ========================================================= */
.visit-grid {
  display:grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 70px);
  align-items: start;
}
.info-block + .info-block { margin-top: 26px; }
.info-block { display:flex; gap: 16px; }
.info-block .ic {
  flex: none; width: 44px; height: 44px; border-radius: 999px;
  background: var(--surface-2); color: var(--primary);
  display:grid; place-items:center;
}
.info-block .ic svg { width: 21px; height:21px; }
.info-block h4 { font-family: var(--sans); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.info-block p { margin-top: 6px; font-size: 17px; }
.info-block a.line { color: var(--text); border-bottom: 1px solid var(--border); transition: color .2s, border-color .2s; }
.info-block a.line:hover { color: var(--primary); border-color: var(--primary); }
.info-block .note { color: var(--muted); font-size: 13.5px; margin-top: 4px; }

.map-ph {
  margin-top: 30px;
  position: relative;
  border: 1px dashed #d9c4a8;
  border-radius: 6px;
  background:
    repeating-linear-gradient(45deg, var(--surface) 0 12px, var(--surface-2) 12px 24px);
  aspect-ratio: 16/9;
  display:grid; place-items:center;
  overflow: hidden;
}
.map-ph .ph-label {
  background: var(--surface); border:1px solid var(--border); border-radius: 999px;
  padding: 10px 20px; font-size: 13.5px; color: var(--muted); font-weight:500;
  display:flex; align-items:center; gap:10px;
  box-shadow: var(--shadow-sm);
}
.map-ph .ph-pin { width: 10px; height:10px; border-radius:999px; background: var(--primary); box-shadow: 0 0 0 5px rgba(182,74,46,.2); }

.visit-actions { margin-top: 24px; display:flex; gap: 12px; flex-wrap: wrap; }

/* form */
.enquiry {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: clamp(26px, 4vw, 42px);
  box-shadow: var(--shadow-sm);
}
.enquiry h3 { font-size: 30px; }
.enquiry > p { color: var(--muted); font-size: 15px; margin-top: 8px; }
.field { margin-top: 18px; }
.field label { display:block; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--text); margin-bottom: 7px; }
.field label .req { color: var(--primary); }
.field input, .field select, .field textarea {
  width:100%; font-family: var(--sans); font-size: 15.5px; color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 5px;
  padding: 13px 15px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary); background: #fff;
  box-shadow: 0 0 0 4px rgba(182,74,46,.12);
}
.field input.err, .field select.err, .field textarea.err { border-color: #c0392b; box-shadow: 0 0 0 4px rgba(192,57,43,.1); }
.field .msg { color:#c0392b; font-size: 12.5px; margin-top: 6px; display:none; }
.field.invalid .msg { display:block; }
.field-row { display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.segmented { display:flex; gap: 8px; flex-wrap: wrap; }
.segmented label {
  flex:1; min-width: 90px; text-align:center; cursor:pointer; margin:0;
  border:1.5px solid var(--border); border-radius: 999px; padding: 10px 8px;
  font-size: 13.5px; font-weight:500; color: var(--muted);
  transition: all .2s;
}
.segmented input { position:absolute; opacity:0; pointer-events:none; }
.segmented input:checked + label { background: var(--secondary); border-color: var(--secondary); color:#fff; }
.enquiry .btn { margin-top: 24px; width: 100%; }
.form-success {
  display:none; text-align:center; padding: 20px 0;
}
.form-success.show { display:block; }
.form-success .check {
  width: 64px; height:64px; border-radius:999px; background: var(--secondary);
  color:#fff; display:grid; place-items:center; margin: 0 auto 18px;
}
.form-success h3 { color: var(--secondary); }
.form-success p { color: var(--muted); margin-top: 10px; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--secondary-d);
  color: rgba(255,255,255,.72);
  padding-block: clamp(54px, 7vw, 84px) 0;
}
.footer-grid {
  display:grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px;
}
.footer-brand img { height: 64px; }
.footer-brand p { margin-top: 18px; font-size: 14.5px; max-width: 34ch; }
.footer-socials { display:flex; gap: 12px; margin-top: 22px; }
.footer-socials a {
  width: 40px; height:40px; border-radius:999px; border:1px solid rgba(255,255,255,.2);
  display:grid; place-items:center; color:#fff; transition: background .2s, transform .2s, border-color .2s;
}
.footer-socials a:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-3px); }
.footer-socials a svg { width: 18px; height:18px; }
.footer-col h5 {
  font-family: var(--sans); font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 18px;
}
.footer-col ul { list-style:none; margin:0; padding:0; display:flex; flex-direction: column; gap: 11px; }
.footer-col a, .footer-col li { font-size: 14.5px; color: rgba(255,255,255,.72); transition: color .2s; }
.footer-col a:hover { color:#fff; }
.footer-bottom {
  margin-top: 56px; padding-block: 24px; border-top: 1px solid rgba(255,255,255,.12);
  display:flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: rgba(255,255,255,.5);
}
.footer-bottom .disc { max-width: 60ch; }

/* =========================================================
   Mobile bottom action bar
   ========================================================= */
.mobile-bar {
  position: fixed; left:0; right:0; bottom:0; z-index: 55;
  display:none;
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 24px rgba(36,23,16,.12);
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
}
.mobile-bar a {
  flex:1; display:flex; flex-direction:column; align-items:center; gap:4px;
  padding: 8px 4px; font-size: 11px; font-weight: 600; color: var(--text);
  border-radius: 8px;
}
.mobile-bar a svg { width: 21px; height: 21px; }
.mobile-bar a.primary { background: var(--primary); color:#fff; }
.mobile-bar .bar-row { display:flex; gap:8px; width:100%; }

/* =========================================================
   Reveal animation
   ========================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity:1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
.reveal.d5 { transition-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity:1 !important; transform:none !important; }
  .strip-track, .scroll-cue .line { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 460px; }
  .visit-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .modes-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .mobile-bar { display: block; }
  body { padding-bottom: 72px; }
  .menu-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .about-media .badge { left: 14px; }
  .hero-meta { gap: 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; }
  .nav-cta .btn-primary { padding: 10px 16px; }
  .g-wide { grid-column: span 2; }
  .g-tall { grid-row: span 1; }
}

@media (max-width: 420px) {
  .brand .brand-text span { display: none; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}

/* BytesGlue QA map patch */
.bg-map-embed{display:block!important;position:relative!important;width:100%!important;min-height:240px!important;border-radius:12px!important;overflow:hidden!important;background:#e9edf1!important;box-shadow:0 0 0 1px rgba(0,0,0,.08) inset!important}
.bg-map-embed iframe{display:block!important;width:100%!important;min-height:260px!important;border:0!important}
.bg-map-embed + .bg-map-embed,
.bg-map-embed + .pin,
.bg-map-embed + .lbl,
.bg-map-embed + .corner-note,
.bg-map-embed + .placeholder,
.bg-map-embed + .center,
.bg-map-embed + [class*="map-note"],
.bg-map-embed + [class*="map-tag"]{display:none!important}
.map .placeholder .pin,.map-ph .pin,.map-pin,.map-marker,.map-ph__pin,.map-ph__pin .dot,.map-ph__pin .pin,.map-ph .mi{max-width:18px!important;max-height:18px!important;width:18px!important;height:18px!important;box-shadow:none!important}
.map .placeholder .pin svg,.map-ph .pin svg,.map-pin svg,.map-marker svg,.map-ph__pin svg,.map-ph .mi{width:12px!important;height:12px!important}
.map-note,.map-tag,[class*="map-note"],[class*="map-tag"]{display:none!important}
