/* ============================================================
   Peachbrown Cafe — JLT, Dubai
   Design tokens + styles. Mobile-first.
   Palette/type sourced from research/brand-system.md
   ============================================================ */

:root {
  --bg:        #FFF8EF;
  --surface:   #FFFFFF;
  --cream:     #FBF1E4;
  --text:      #271A12;
  --muted:     #7A6654;
  --primary:   #B64A2E;   /* terracotta */
  --primary-d: #993a22;
  --secondary: #17453B;   /* deep green  */
  --secondary-d:#0f3329;
  --accent:    #E7A93B;   /* gold        */
  --border:    #EADCCB;
  --photo-dark:#5A4836;
  --focus:     #B64A2E;

  --ff-display: "Spectral", Georgia, "Times New Roman", serif;
  --ff-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ff-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(39,26,18,.06), 0 2px 8px rgba(39,26,18,.05);
  --shadow-md: 0 6px 20px rgba(39,26,18,.10), 0 2px 6px rgba(39,26,18,.06);
  --shadow-lg: 0 24px 60px rgba(39,26,18,.18);
  --nav-h: 64px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

/* ---------- typography helpers ---------- */
h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }

.eyebrow {
  font-family: var(--ff-mono);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.eyebrow .num { color: var(--accent); }
.eyebrow::before {
  content: "";
  width: 22px; height: 1.5px; background: currentColor; opacity: .55; display: inline-block;
}

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 9vw, 120px); }

/* ============================================================
   Header / Nav
   ============================================================ */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(255,248,239,.88);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 0 rgba(39,26,18,.03);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand__mark {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--surface); padding: 3px;
  box-shadow: var(--shadow-sm); flex: none;
  border: 1px solid var(--border);
}
.brand__mark img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }
.brand__name { font-family: var(--ff-display); font-weight: 600; font-size: 19px; letter-spacing: -.01em; line-height: 1; }
.brand__name b { color: var(--primary); font-weight: 600; }
.brand__sub { font-family: var(--ff-mono); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); display: block; margin-top: 3px; }

.nav { display: none; align-items: center; gap: 4px; }
.nav a {
  font-size: 14.5px; font-weight: 500; color: var(--text);
  padding: 9px 13px; border-radius: 9px; position: relative;
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--primary); background: rgba(182,74,46,.07); }
.header__cta { display: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--ff-body); font-weight: 600; font-size: 15px;
  padding: 13px 20px; border-radius: 11px; border: 1.5px solid transparent;
  min-height: 46px; transition: transform .15s ease, background .2s, color .2s, box-shadow .2s, border-color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 6px 16px rgba(182,74,46,.28); }
.btn--primary:hover { background: var(--primary-d); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn--dark { background: var(--secondary); color: #fff; }
.btn--dark:hover { background: var(--secondary-d); }
.btn--gold { background: var(--accent); color: var(--text); box-shadow: 0 6px 16px rgba(231,169,59,.32); }
.btn--gold:hover { filter: brightness(.96); }
.btn--lg { min-height: 54px; padding: 16px 26px; font-size: 16px; }
.btn--block { width: 100%; }

/* hamburger */
.hamburger {
  display: inline-flex; flex-direction: column; gap: 5px; justify-content: center;
  width: 46px; height: 46px; border-radius: 11px; border: 1px solid var(--border);
  background: var(--surface); align-items: center;
}
.hamburger span { width: 19px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s, opacity .2s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 55;
  background: rgba(39,26,18,.5); opacity: 0; pointer-events: none; transition: opacity .25s;
}
.drawer.open { opacity: 1; pointer-events: auto; }
.drawer__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(86%, 360px);
  background: var(--bg); padding: 22px; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .3s cubic-bezier(.4,0,.2,1);
  box-shadow: var(--shadow-lg);
}
.drawer.open .drawer__panel { transform: translateX(0); }
.drawer__links { display: flex; flex-direction: column; gap: 2px; margin-top: 26px; }
.drawer__links a {
  font-family: var(--ff-display); font-size: 26px; font-weight: 600; padding: 13px 0;
  border-bottom: 1px solid var(--border); display: flex; align-items: baseline; gap: 14px;
}
.drawer__links a .ix { font-family: var(--ff-mono); font-size: 12px; color: var(--accent); font-weight: 500; }
.drawer__foot { margin-top: auto; display: grid; gap: 10px; }
.drawer__close { align-self: flex-end; }

/* ============================================================
   Hero — shopfront + location, split panel
   ============================================================ */
.hero { padding-top: calc(var(--nav-h) + 18px); position: relative; }
.hero__grid { display: grid; gap: 22px; }
.hero__copy { padding-top: 6px; }
.hero__loc {
  display: inline-flex; align-items: center; gap: 9px; flex-wrap: wrap;
  font-family: var(--ff-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--secondary); background: rgba(23,69,59,.07);
  padding: 7px 13px; border-radius: 999px; margin-bottom: 20px;
}
.hero__loc .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero h1 {
  font-size: clamp(40px, 11vw, 78px);
  line-height: 0.98; letter-spacing: -0.025em; margin-bottom: 18px;
}
.hero h1 em { font-style: italic; color: var(--primary); }
.hero__lede { font-size: clamp(16.5px, 2.2vw, 19px); color: var(--muted); max-width: 30ch; margin-bottom: 26px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__rating {
  display: flex; align-items: center; gap: 14px; margin-top: 26px;
  padding-top: 22px; border-top: 1px solid var(--border);
}
.stars { color: var(--accent); font-size: 16px; letter-spacing: 2px; }
.hero__rating b { font-family: var(--ff-display); font-size: 17px; }
.hero__rating .src { font-size: 13px; color: var(--muted); }

/* hero media: stacked storefront + brunch */
.hero__media { position: relative; }
.hero__media .shot {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
  border: 1px solid var(--border); background: var(--cream);
}
.hero__media .shot img { width: 100%; height: 100%; object-fit: cover; }
.hero__media .shot--main { aspect-ratio: 16/10; }
.hero__media .badge {
  position: absolute; left: 14px; bottom: 14px;
  background: rgba(255,248,239,.94); backdrop-filter: blur(6px);
  border-radius: 12px; padding: 9px 13px; box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600;
}
.hero__badgeimg { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border); }

/* marquee strip of food words */
.strip {
  background: var(--secondary); color: #fff; overflow: hidden; white-space: nowrap;
  border-block: 1px solid var(--secondary-d);
}
.strip__track { display: inline-flex; gap: 0; animation: marquee 28s linear infinite; padding-block: 13px; }
.strip__track span { font-family: var(--ff-mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; padding-inline: 20px; display: inline-flex; align-items: center; gap: 20px; }
.strip__track span::after { content: "✦"; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .strip__track { animation: none; } }

/* ============================================================
   Journey intro (counter-to-table)
   ============================================================ */
.lead-statement { background: var(--bg); }
.lead-statement .big {
  font-family: var(--ff-display); font-weight: 500; font-size: clamp(24px, 4.6vw, 42px);
  line-height: 1.18; letter-spacing: -0.015em; max-width: 22ch;
}
.lead-statement .big b { color: var(--primary); font-weight: 600; }

/* ============================================================
   Highlights rail
   ============================================================ */
.rail-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.rail-head h2 { font-size: clamp(30px, 6vw, 50px); letter-spacing: -.02em; }
.rail-head p { color: var(--muted); max-width: 46ch; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 78%;
  gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 14px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter);
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.hl {
  scroll-snap-align: start; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.hl__img { aspect-ratio: 4/3; overflow: hidden; }
.hl__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.hl:hover .hl__img img { transform: scale(1.05); }
.hl__body { padding: 18px 18px 22px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.hl__num { font-family: var(--ff-mono); font-size: 11.5px; letter-spacing: .14em; color: var(--accent); }
.hl h3 { font-size: 23px; }
.hl p { font-size: 14.5px; color: var(--muted); }

/* ============================================================
   Split feature blocks
   ============================================================ */
.feature { display: grid; gap: 26px; align-items: center; }
.feature__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--border); aspect-ratio: 5/4; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature h2 { font-size: clamp(28px, 5.5vw, 44px); margin-bottom: 16px; letter-spacing: -.02em; }
.feature p { color: var(--muted); margin-bottom: 14px; }
.feature .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip {
  font-family: var(--ff-mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase;
  background: var(--cream); border: 1px solid var(--border); color: var(--photo-dark);
  padding: 7px 12px; border-radius: 999px;
}

/* deep-green panel variant */
.panel-dark { background: var(--secondary); color: #F4EEE3; }
.panel-dark .eyebrow { color: var(--accent); }
.panel-dark .eyebrow .num { color: #fff; }
.panel-dark h2 { color: #fff; }
.panel-dark p { color: rgba(244,238,227,.78); }
.panel-dark .chip { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: #F4EEE3; }
.panel-dark .feature__media { border-color: rgba(255,255,255,.14); }

/* ============================================================
   Gallery
   ============================================================ */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.gcell { position: relative; overflow: hidden; border-radius: 12px; border: 1px solid var(--border); background: var(--cream); cursor: pointer; }
.gcell img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gcell:hover img { transform: scale(1.06); }
.gcell::after {
  content: "↗"; position: absolute; top: 9px; right: 9px; width: 30px; height: 30px;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(255,248,239,.92); color: var(--primary); font-size: 15px;
  opacity: 0; transform: translateY(-4px); transition: opacity .2s, transform .2s;
}
.gcell:hover::after { opacity: 1; transform: translateY(0); }
.gcell.tall { grid-row: span 2; }
.gcell.wide { grid-column: span 2; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(20,12,7,.92); display: grid; place-items: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity .25s; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 94vw; max-height: 84vh; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lightbox__close, .lightbox__nav { position: absolute; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: #fff; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; backdrop-filter: blur(6px); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav.prev { left: 14px; } .lightbox__nav.next { right: 14px; }
.lightbox__cap { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.8); font-family: var(--ff-mono); font-size: 12px; letter-spacing: .08em; }

/* ============================================================
   Full-bleed media band
   ============================================================ */
.band { position: relative; min-height: 60vh; display: grid; place-items: center; text-align: center; color: #fff; overflow: hidden; }
.band img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,12,7,.34), rgba(20,12,7,.62)); z-index: 1; }
.band__inner { position: relative; z-index: 2; padding: 64px var(--gutter); max-width: 760px; }
.band h2 { color: #fff; font-size: clamp(30px, 6.4vw, 56px); letter-spacing: -.02em; margin-bottom: 16px; }
.band p { color: rgba(255,255,255,.86); font-size: 17px; margin-bottom: 26px; max-width: 50ch; margin-inline: auto; }
.band__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   Visit / contact + form
   ============================================================ */
.visit-grid { display: grid; gap: 30px; }
.info-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); }
.info-row { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); align-items: flex-start; }
.info-row:last-of-type { border-bottom: 0; }
.info-row .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--cream); display: grid; place-items: center; flex: none; color: var(--primary); }
.info-row .lbl { font-family: var(--ff-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.info-row .val { font-size: 15.5px; font-weight: 500; }
.info-row .val a:hover { color: var(--primary); }

.map-ph { margin-top: 18px; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); position: relative; aspect-ratio: 16/10; background: var(--cream); }
.map-ph iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.9); }
.map-tag { position: absolute; top: 10px; left: 10px; z-index: 2; background: rgba(255,248,239,.94); font-family: var(--ff-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--photo-dark); padding: 6px 10px; border-radius: 8px; box-shadow: var(--shadow-sm); }

/* form */
.form-card { background: var(--secondary); color: #F4EEE3; border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 38px); box-shadow: var(--shadow-md); }
.form-card h2 { color: #fff; font-size: clamp(26px, 5vw, 38px); margin-bottom: 8px; }
.form-card .sub { color: rgba(244,238,227,.72); margin-bottom: 24px; font-size: 15px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-family: var(--ff-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(244,238,227,.8); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--ff-body); font-size: 15.5px; color: #fff;
  background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,255,255,.16);
  border-radius: 11px; padding: 13px 14px; min-height: 50px; transition: border-color .2s, background .2s;
}
.field textarea { min-height: 108px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(244,238,227,.4); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: rgba(255,255,255,.1); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23E7A93B' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field select option { color: #271A12; }
.field.err input, .field.err select, .field.err textarea { border-color: #ef8a6a; }
.field .msg { font-size: 12px; color: #ef8a6a; margin-top: 6px; min-height: 0; }
.row2 { display: grid; gap: 0; }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg button { flex: 1; min-width: 90px; background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,255,255,.16); color: #F4EEE3; border-radius: 10px; padding: 11px; font-size: 13.5px; font-weight: 500; transition: all .18s; }
.seg button.on { background: var(--accent); border-color: var(--accent); color: var(--text); }
.form-success { text-align: center; padding: 26px 6px; }
.form-success .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: var(--text); display: grid; place-items: center; margin: 0 auto 18px; font-size: 30px; }
.form-success h3 { color: #fff; font-size: 26px; margin-bottom: 8px; }
.form-success p { color: rgba(244,238,227,.78); }
.form-note { font-size: 12px; color: rgba(244,238,227,.55); margin-top: 14px; text-align: center; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--photo-dark); color: #EDE3D6; padding-top: 56px; }
.footer a:hover { color: #fff; }
.footer__top { display: grid; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer__brand img { width: 48px; height: 48px; border-radius: 50%; background: #fff; padding: 3px; }
.footer__brand .nm { font-family: var(--ff-display); font-size: 22px; color: #fff; }
.footer p.about { color: rgba(237,227,214,.7); font-size: 14.5px; max-width: 38ch; }
.footer h4 { font-family: var(--ff-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; font-weight: 500; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer ul a, .footer ul li { color: rgba(237,227,214,.82); font-size: 14.5px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 11px; border: 1px solid rgba(255,255,255,.16); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.socials a:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); }
.footer__bottom { display: flex; flex-direction: column; gap: 8px; padding-block: 22px; font-size: 12.5px; color: rgba(237,227,214,.55); }
.footer__bottom .rights-note { max-width: 70ch; }

/* ============================================================
   Mobile bottom action bar
   ============================================================ */
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  background: rgba(255,248,239,.95); backdrop-filter: blur(12px);
  border-top: 1px solid var(--border); box-shadow: 0 -4px 20px rgba(39,26,18,.08);
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
}
.mbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 4px; border-radius: 10px; font-size: 11px; font-weight: 600; color: var(--text); }
.mbar a svg { width: 21px; height: 21px; }
.mbar a.primary { color: var(--primary); }
.mbar a:active { background: rgba(182,74,46,.08); }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ============================================================
   Responsive — tablet & up
   ============================================================ */
@media (min-width: 720px) {
  .hero__grid { grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
  .hero__media .shot--main { aspect-ratio: 4/5; }
  .rail { grid-auto-columns: 42%; }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 12px; }
  .feature { grid-template-columns: 1fr 1fr; gap: 48px; }
  .feature.rev .feature__media { order: 2; }
  .visit-grid { grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
  .footer__top { grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; }
  .mbar { display: none; }
  body { padding-bottom: 0 !important; }
}
@media (min-width: 980px) {
  .nav { display: flex; }
  .header__cta { display: inline-flex; }
  .hamburger { display: none; }
  .rail { grid-auto-columns: 30%; }
  .hero h1 { font-size: clamp(56px, 6vw, 82px); }
}

/* keep body clear of mobile bar */
@media (max-width: 719px) { body { padding-bottom: 76px; } }

/* 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}
