/* ============================================================
   Roasters Specialty Coffee House — Al Wasl
   Design system + page styles
   Palette & type per research/brand-system.md
   ============================================================ */

:root {
  --bg: #FFF8EF;
  --surface: #FBF1E3;
  --surface-2: #F4E7D4;
  --text: #271A12;
  --muted: #7A6654;
  --primary: #B64A2E;       /* terracotta */
  --primary-deep: #97391F;
  --secondary: #17453B;     /* deep green */
  --secondary-2: #0E2F28;
  --accent: #E7A93B;        /* amber/gold */
  --border: #EADCCB;
  --border-strong: #DAC7AE;
  --photo-dark: #1B1B12;
  --focus: #B64A2E;

  --serif: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "DM Mono", "IBM Plex Mono", ui-monospace, monospace;

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 4px;
  --shadow-sm: 0 1px 2px rgba(39, 26, 18, .06), 0 6px 16px -10px rgba(39, 26, 18, .18);
  --shadow-md: 0 4px 10px -4px rgba(39, 26, 18, .14), 0 24px 48px -28px rgba(39, 26, 18, .34);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "kern" 1;
  -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; }

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

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

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

.section { padding-block: clamp(64px, 9vw, 132px); position: relative; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--primary);
  opacity: .55;
  display: inline-block;
}
.eyebrow.center { justify-content: center; }
.eyebrow.light { color: var(--accent); }
.eyebrow.light::before { background: var(--accent); }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.04; margin: 0; letter-spacing: -.01em; }
.h-display { font-size: clamp(44px, 8vw, 104px); }
.h-xl { font-size: clamp(34px, 5.4vw, 66px); }
.h-lg { font-size: clamp(27px, 3.4vw, 40px); }
.serif-em { font-style: italic; color: var(--primary); }

.lede { font-size: clamp(18px, 2.1vw, 22px); color: var(--muted); line-height: 1.55; max-width: 56ch; }
.measure { max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: 15px;
  letter-spacing: .01em;
  padding: 15px 26px;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
  will-change: transform;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-gold { background: var(--accent); color: var(--secondary-2); }
.btn-gold:hover { background: #f2b94f; transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--secondary); color: var(--secondary); background: rgba(23,69,59,.04); }

.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.1); }

.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: center;
  padding-block: 14px;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header.scrolled {
  background: rgba(255, 248, 239, .9);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--border);
  box-shadow: 0 8px 30px -24px rgba(39,26,18,.5);
  padding-block: 9px;
}

.brand { display: flex; align-items: center; gap: 13px; }
.brand img { width: 44px; height: 44px; object-fit: contain; transition: width .35s var(--ease), height .35s var(--ease); }
.header.scrolled .brand img { width: 38px; height: 38px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 21px; font-weight: 600; letter-spacing: .01em; color: var(--secondary); }
.brand-sub { font-family: var(--mono); font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

/* nav text color adapts: light over hero, dark when scrolled */
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  font-size: 14.5px; font-weight: 500; color: var(--text);
  padding: 9px 15px; border-radius: 100px; position: relative;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 1.5px;
  background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--primary); }

.header-cta { display: flex; align-items: center; gap: 12px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 14px; font-weight: 500; color: var(--secondary); }
.header-phone svg { width: 15px; height: 15px; color: var(--primary); }

/* top-of-page (over dark hero) state */
.header.at-top:not(.scrolled) .brand-name { color: #fff; }
.header.at-top:not(.scrolled) .brand-sub { color: rgba(255,255,255,.7); }
.header.at-top:not(.scrolled) .nav a { color: rgba(255,255,255,.92); }
.header.at-top:not(.scrolled) .nav a.active { color: #fff; }
.header.at-top:not(.scrolled) .nav a.active::after,
.header.at-top:not(.scrolled) .nav a:hover::after { background: var(--accent); }
.header.at-top:not(.scrolled) .header-phone { color: #fff; }
.header.at-top:not(.scrolled) .header-phone svg { color: var(--accent); }

.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(20,16,10,.86) 0%, rgba(20,16,10,.34) 42%, rgba(20,16,10,.16) 70%, rgba(20,16,10,.5) 100%),
    linear-gradient(105deg, rgba(20,16,10,.5), rgba(20,16,10,0) 60%);
}
.hero .wrap { position: relative; z-index: 1; width: 100%; padding-bottom: clamp(48px, 8vh, 104px); padding-top: 132px; }

.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em;
  padding: 8px 14px; border-radius: 100px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  color: #fff;
}
.tag svg { width: 14px; height: 14px; }
.tag .star { color: var(--accent); }
.tag b { font-weight: 600; }

.hero h1 { max-width: 16ch; text-shadow: 0 2px 40px rgba(0,0,0,.3); }
.hero-lede { color: rgba(255,255,255,.86); font-size: clamp(17px, 2vw, 21px); max-width: 48ch; margin-top: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.scroll-hint {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 2;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .25em; text-transform: uppercase;
  color: rgba(255,255,255,.7); display: flex; flex-direction: column; align-items: center; gap: 9px;
}
.scroll-hint .line { width: 1px; height: 38px; background: linear-gradient(var(--accent), transparent); animation: hintpulse 2.4s var(--ease) infinite; }
@keyframes hintpulse { 0%,100% { opacity: .35; transform: scaleY(.7); } 50% { opacity: 1; transform: scaleY(1); } }

/* ---------- Marquee strip ---------- */
.strip { background: var(--secondary); color: #f4ead8; overflow: hidden; border-block: 1px solid var(--secondary-2); }
.strip-track { display: flex; gap: 0; white-space: nowrap; animation: marquee 38s linear infinite; }
.strip:hover .strip-track { animation-play-state: paused; }
.strip-track span { display: inline-flex; align-items: center; font-family: var(--serif); font-style: italic; font-size: 22px; padding: 16px 34px; }
.strip-track span::after { content: "✦"; font-style: normal; font-size: 11px; color: var(--accent); margin-left: 34px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .strip-track { animation: none; } }

/* ---------- Intro / about split ---------- */
.intro { background: var(--bg); }
.intro-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.intro-figure { position: relative; }
.intro-figure img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 2px; box-shadow: var(--shadow-md); }
.intro-figure .badge {
  position: absolute; bottom: -26px; right: -10px;
  background: var(--bg); border: 1px solid var(--border); border-radius: 2px;
  padding: 18px 22px; box-shadow: var(--shadow-md); text-align: center;
}
.intro-figure .badge .num { font-family: var(--serif); font-size: 40px; color: var(--primary); line-height: 1; }
.intro-figure .badge .lbl { font-family: var(--mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.intro p { margin: 22px 0 0; }
.intro p + p { margin-top: 18px; }

.stat-row { display: flex; gap: 38px; margin-top: 38px; flex-wrap: wrap; }
.stat .s-num { font-family: var(--serif); font-size: 34px; color: var(--secondary); line-height: 1; }
.stat .s-lbl { font-size: 13px; color: var(--muted); margin-top: 8px; letter-spacing: .01em; }

/* ---------- Coffee craft (dark) ---------- */
.craft { background: var(--secondary-2); color: #f1e6d6; }
.craft .eyebrow { color: var(--accent); }
.craft .eyebrow::before { background: var(--accent); }
.craft-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 54px; }
.craft-head h2 { color: #fff; }
.craft-head p { color: rgba(241,230,214,.72); margin: 0; }
.craft-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.craft-card { position: relative; overflow: hidden; border-radius: 2px; background: #14241f; }
.craft-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.craft-card:hover img { transform: scale(1.05); }
.craft-card .cap {
  position: absolute; inset: auto 0 0 0; padding: 26px 24px 22px;
  background: linear-gradient(to top, rgba(8,16,13,.92), rgba(8,16,13,0));
}
.craft-card .cap .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.craft-card .cap h3 { color: #fff; font-size: 25px; margin-top: 8px; }
.craft-card .cap p { color: rgba(241,230,214,.75); font-size: 14.5px; margin: 8px 0 0; }
.cc-tall { grid-column: span 5; grid-row: span 2; min-height: 540px; }
.cc-wide { grid-column: span 7; min-height: 260px; }
.cc-half { grid-column: span 7; min-height: 260px; }
@media (max-width: 860px) {
  .craft-grid { grid-template-columns: 1fr 1fr; }
  .cc-tall, .cc-wide, .cc-half { grid-column: span 1; grid-row: auto; min-height: 320px; }
  .cc-tall { grid-column: 1 / -1; }
}

/* ---------- Highlights / menu ---------- */
.highlights { background: var(--surface); }
.hl-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 14px; }
.hl-note {
  font-size: 13.5px; color: var(--muted); font-style: italic;
  border-left: 2px solid var(--accent); padding-left: 14px; max-width: 38ch;
}
.hl-filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 30px 0 40px; }
.chip {
  font-family: var(--sans); font-size: 13.5px; font-weight: 500; color: var(--muted);
  padding: 9px 18px; border-radius: 100px; border: 1px solid var(--border-strong);
  background: transparent; cursor: pointer; transition: all .22s var(--ease);
}
.chip:hover { color: var(--secondary); border-color: var(--secondary); }
.chip.active { background: var(--secondary); color: #fff; border-color: var(--secondary); }

.hl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.dish {
  background: var(--bg); border: 1px solid var(--border); border-radius: 3px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.dish:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.dish-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.dish-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.dish:hover .dish-img img { transform: scale(1.06); }
.dish-cat {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  background: rgba(255,248,239,.92); color: var(--primary); padding: 6px 11px; border-radius: 100px;
}
.dish-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.dish-body h3 { font-size: 25px; }
.dish-body p { font-size: 14px; color: var(--muted); margin: 8px 0 0; line-height: 1.5; }
.dish-meta { margin-top: auto; padding-top: 16px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--secondary); display: flex; align-items: center; gap: 8px; }
.dish-meta .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.is-hidden { display: none !important; }

/* ---------- Gallery ---------- */
.gallery { background: var(--bg); }
.gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.gal-item { position: relative; overflow: hidden; border-radius: 2px; cursor: pointer; background: var(--surface-2); }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.gal-item:hover img { transform: scale(1.07); }
.gal-item::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,16,10,.4), transparent 55%);
  opacity: 0; transition: opacity .3s var(--ease);
}
.gal-item:hover::after { opacity: 1; }
.gal-item .zoom {
  position: absolute; right: 14px; bottom: 14px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,248,239,.92);
  display: grid; place-items: center; opacity: 0; transform: translateY(8px); transition: all .3s var(--ease);
}
.gal-item:hover .zoom { opacity: 1; transform: translateY(0); }
.gal-item .zoom svg { width: 16px; height: 16px; color: var(--secondary); }
.g-v { grid-row: span 2; }
.g-h { grid-column: span 2; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 24px;
  background: rgba(16,12,8,.92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lightbox.open { display: grid; animation: fade .3s var(--ease); }
@keyframes fade { from { opacity: 0; } }
.lightbox img { max-width: min(92vw, 1100px); max-height: 84vh; object-fit: contain; border-radius: 3px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.8); }
.lb-cap { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.8); font-family: var(--mono); font-size: 12px; letter-spacing: .08em; }
.lb-btn { position: absolute; top: 22px; right: 24px; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.lb-btn:hover { background: rgba(255,255,255,.24); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.lb-nav:hover { background: rgba(255,255,255,.22); }
.lb-prev { left: 18px; } .lb-next { right: 18px; }
.lb-btn svg, .lb-nav svg { width: 20px; height: 20px; }

/* ---------- About ---------- */
.about { background: var(--secondary); color: #f1e6d6; overflow: hidden; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.about h2 { color: #fff; }
.about .eyebrow { color: var(--accent); } .about .eyebrow::before { background: var(--accent); }
.about p { color: rgba(241,230,214,.78); margin: 22px 0 0; }
.about-figs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-figs img { width: 100%; border-radius: 2px; object-fit: cover; }
.about-figs .tall { grid-row: span 2; aspect-ratio: 3/4.6; }
.about-figs .short { aspect-ratio: 1/1; }
.about-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.about-list li { display: flex; gap: 13px; align-items: flex-start; color: rgba(241,230,214,.85); font-size: 15.5px; }
.about-list svg { width: 19px; height: 19px; color: var(--accent); flex: none; margin-top: 2px; }

/* ---------- Visit ---------- */
.visit { background: var(--bg); }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5vw, 72px); }
.info-card { display: grid; gap: 22px; }
.info-row { display: flex; gap: 16px; align-items: flex-start; padding-bottom: 22px; border-bottom: 1px solid var(--border); }
.info-row:last-child { border-bottom: 0; padding-bottom: 0; }
.info-ic { width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--surface-2); color: var(--primary); }
.info-ic svg { width: 20px; height: 20px; }
.info-row .k { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.info-row .v { font-size: 17px; color: var(--text); margin-top: 4px; line-height: 1.45; }
.info-row .v a { border-bottom: 1px solid transparent; transition: border-color .2s; }
.info-row .v a:hover { border-color: var(--primary); }
.visit-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.map-panel { display: flex; flex-direction: column; gap: 16px; }
.map-ph {
  position: relative; border-radius: 3px; overflow: hidden; min-height: 340px; flex: 1;
  border: 1px solid var(--border); background:
    repeating-linear-gradient(45deg, var(--surface) 0 14px, var(--surface-2) 14px 28px);
}
.map-grid { position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(var(--border-strong) 1px, transparent 1px), linear-gradient(90deg, var(--border-strong) 1px, transparent 1px);
  background-size: 46px 46px; }
.map-road { position: absolute; background: var(--bg); box-shadow: 0 0 0 1px var(--border-strong); }
.map-road.r1 { height: 26px; left: -5%; right: -5%; top: 44%; transform: rotate(-8deg); }
.map-road.r2 { width: 22px; top: -5%; bottom: -5%; left: 60%; transform: rotate(6deg); }
.map-pin { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -100%); z-index: 2; text-align: center; }
.map-pin .pin {
  width: 46px; height: 46px; margin: 0 auto; border-radius: 50% 50% 50% 2px; transform: rotate(45deg);
  background: var(--primary); display: grid; place-items: center; box-shadow: var(--shadow-md);
  animation: drop .6s var(--ease) both;
}
.map-pin .pin span { transform: rotate(-45deg); color: #fff; font-family: var(--serif); font-weight: 600; font-size: 18px; }
.map-pin .pin::after { content: ""; position: absolute; left: 50%; top: 130%; width: 22px; height: 7px; border-radius: 50%; background: rgba(39,26,18,.18); transform: translateX(-50%) rotate(-45deg); }
@keyframes drop { from { transform: rotate(45deg) translateY(-18px); opacity: 0; } }
.map-label {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  background: rgba(255,248,239,.94); border: 1px solid var(--border); border-radius: 100px;
  padding: 9px 16px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  display: flex; align-items: center; gap: 8px;
}
.map-label .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 0 rgba(182,74,46,.5); animation: pulse 2s infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 12px rgba(182,74,46,0); } }

/* ---------- Enquiry form ---------- */
.enquiry { background: var(--surface); }
.form-card { background: var(--bg); border: 1px solid var(--border); border-radius: 4px; padding: clamp(26px, 4vw, 48px); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: var(--text); letter-spacing: .01em; }
.field label .req { color: var(--primary); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 15.5px; color: var(--text);
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: 3px;
  padding: 13px 15px; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #b6a48f; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary); background: var(--bg); box-shadow: 0 0 0 3px rgba(182,74,46,.12);
}
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c0432c; background: #fdf3f0; }
.field .err { font-size: 12px; color: #c0432c; min-height: 0; opacity: 0; transform: translateY(-3px); transition: opacity .2s, transform .2s; }
.field.invalid .err { opacity: 1; transform: translateY(0); }
.pref-row { display: flex; gap: 10px; flex-wrap: wrap; }
.pref {
  display: flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 11px 16px; border: 1px solid var(--border-strong); border-radius: 100px; font-size: 14px; color: var(--muted); transition: all .2s;
}
.pref input { position: absolute; opacity: 0; pointer-events: none; }
.pref:has(input:checked) { border-color: var(--secondary); background: rgba(23,69,59,.06); color: var(--secondary); font-weight: 600; }
.pref .tick { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--border-strong); display: grid; place-items: center; }
.pref:has(input:checked) .tick { border-color: var(--secondary); background: var(--secondary); }
.pref .tick svg { width: 10px; height: 10px; color: #fff; opacity: 0; }
.pref:has(input:checked) .tick svg { opacity: 1; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 26px; flex-wrap: wrap; }
.form-foot .micro { font-size: 12.5px; color: var(--muted); max-width: 40ch; }

.form-success {
  display: none; text-align: center; padding: 30px 10px;
}
.form-success.show { display: block; animation: fade .4s var(--ease); }
.form-success .ok { width: 64px; height: 64px; border-radius: 50%; background: var(--secondary); display: grid; place-items: center; margin: 0 auto 22px; }
.form-success .ok svg { width: 30px; height: 30px; color: var(--accent); }
.form-success h3 { font-size: 30px; color: var(--secondary); }
.form-success p { color: var(--muted); margin: 12px auto 0; max-width: 42ch; }

/* ---------- Footer ---------- */
.footer { background: var(--photo-dark); color: rgba(241,230,214,.7); padding-block: clamp(54px, 7vw, 84px) 0; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(241,230,214,.12); }
.footer .brand-name { color: #fff; }
.footer .brand-sub { color: rgba(241,230,214,.5); }
.footer-blurb { margin: 20px 0 0; font-size: 14.5px; max-width: 38ch; line-height: 1.6; }
.f-col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin: 0 0 18px; font-weight: 500; }
.f-col a, .f-col p { display: block; color: rgba(241,230,214,.72); font-size: 14.5px; margin: 0 0 11px; transition: color .2s; }
.f-col a:hover { color: #fff; }
.f-social { display: flex; gap: 10px; margin-top: 4px; }
.f-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(241,230,214,.2); display: grid; place-items: center; margin: 0; }
.f-social a:hover { background: rgba(241,230,214,.1); border-color: rgba(241,230,214,.4); }
.f-social svg { width: 17px; height: 17px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 24px; font-size: 12.5px; color: rgba(241,230,214,.45); }
.footer-bottom .mono { font-family: var(--mono); letter-spacing: .04em; }

/* ---------- Mobile action bar ---------- */
.mobile-bar { position: fixed; inset: auto 0 0 0; z-index: 70; display: none;
  background: rgba(255,248,239,.96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border); padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
  grid-template-columns: repeat(3, 1fr); gap: 8px; box-shadow: 0 -10px 30px -20px rgba(39,26,18,.5); }
.mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px; border-radius: 10px;
  font-size: 11.5px; font-weight: 600; color: var(--secondary); }
.mobile-bar a svg { width: 21px; height: 21px; }
.mobile-bar a.mb-primary { background: var(--primary); color: #fff; }
.mobile-bar a.mb-gold { background: var(--accent); color: var(--secondary-2); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.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; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .hl-grid { grid-template-columns: repeat(2, 1fr); }
  .gal-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  body { font-size: 16px; }
  .nav, .header-phone { display: none; }
  .menu-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
    background: transparent; border: 1px solid var(--border-strong); cursor: pointer; color: var(--text); }
  .header.at-top:not(.scrolled) .menu-toggle { border-color: rgba(255,255,255,.4); color: #fff; }
  .menu-toggle svg { width: 20px; height: 20px; }
  .intro-grid, .craft-head, .about-grid, .visit-grid { grid-template-columns: 1fr; }
  .intro-figure { max-width: 440px; }
  .about-figs { max-width: 460px; }
  .mobile-bar { display: grid; }
  body { padding-bottom: 0; }
  .footer { padding-bottom: 78px; }
  .form-grid { grid-template-columns: 1fr; }
  .gal-grid { grid-auto-rows: 180px; }
}

@media (max-width: 560px) {
  :root { --gutter: 20px; }
  .hl-grid { grid-template-columns: 1fr; }
  .gal-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .g-h { grid-column: span 2; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .stat-row { gap: 26px; }
  .hero .wrap { padding-top: 116px; }
}

/* slide-down mobile menu */
.m-menu { position: fixed; inset: 0; z-index: 80; background: var(--secondary-2); color: #fff;
  display: flex; flex-direction: column; padding: 24px var(--gutter); transform: translateY(-100%);
  transition: transform .45s var(--ease); }
.m-menu.open { transform: none; }
.m-menu-top { display: flex; justify-content: space-between; align-items: center; }
.m-menu-top .brand-name { color: #fff; }
.m-close { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; cursor: pointer; display: grid; place-items: center; }
.m-menu nav { display: flex; flex-direction: column; gap: 4px; margin-top: 40px; }
.m-menu nav a { font-family: var(--serif); font-size: 34px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); color: #fff; display: flex; justify-content: space-between; align-items: center; }
.m-menu nav a span { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.m-menu-foot { margin-top: auto; padding-top: 30px; }
.m-menu-foot .phone { font-family: var(--mono); font-size: 16px; color: var(--accent); }

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