/* ============================================================
   Alchemy Coffee — Jumeirah, Dubai
   Light, photo-led canvas + warm terracotta/green/gold accents.
   Palette + type sourced from research/brand-system.md
   ============================================================ */

:root {
  --bg: #FCFAF5;
  --surface: #FFFFFF;
  --surface-2: #F4EDE2;
  --surface-3: #EFE6D8;
  --text: #241710;
  --muted: #7A6654;
  --muted-2: #9A8a78;
  --primary: #B64A2E;       /* terracotta */
  --primary-deep: #94381F;
  --secondary: #17453B;     /* deep green */
  --secondary-deep: #0F3229;
  --accent: #E7A93B;        /* gold */
  --border: #EADCCB;
  --border-soft: #F0E7DA;
  --ink-overlay: rgba(20, 14, 9, 0.46);
  --focus: #B64A2E;

  --ff-display: "Cormorant Garamond", Georgia, serif;
  --ff-body: "DM Sans", system-ui, -apple-system, sans-serif;

  --shadow-sm: 0 1px 2px rgba(36, 23, 16, 0.05), 0 2px 8px rgba(36, 23, 16, 0.04);
  --shadow-md: 0 8px 30px rgba(36, 23, 16, 0.09);
  --shadow-lg: 0 24px 60px rgba(36, 23, 16, 0.16);

  --nav-h: 76px;
  --maxw: 1240px;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--text);
  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; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

/* ---------- Type primitives ---------- */
.eyebrow {
  font-family: var(--ff-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--primary);
}
.eyebrow.muted { color: var(--muted); }
.eyebrow.on-dark { color: var(--accent); }

h1, h2, h3 { font-family: var(--ff-display); font-weight: 600; line-height: 1.05; letter-spacing: -0.01em; }

.section-title {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 600;
  line-height: 1.04;
}
.section-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 56ch;
  text-wrap: pretty;
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { margin-bottom: clamp(36px, 5vw, 56px); }
.section-head .eyebrow { display: block; margin-bottom: 16px; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav.scrolled {
  background: rgba(252, 250, 245, 0.88);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 42px; height: 42px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--ff-display); font-size: 1.32rem; font-weight: 600;
  color: var(--text); letter-spacing: 0.01em;
}
.brand-sub {
  font-size: 0.56rem; font-weight: 600; letter-spacing: 0.34em;
  text-transform: uppercase; color: var(--muted); margin-top: 3px;
}
/* nav becomes light text over hero until scrolled */
.nav:not(.scrolled) .brand-name { color: #fff; }
.nav:not(.scrolled) .brand-sub { color: rgba(255,255,255,0.8); }
.nav:not(.scrolled) .nav-links a { color: rgba(255,255,255,0.92); }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 0.86rem; font-weight: 500; color: var(--text);
  letter-spacing: 0.01em; position: relative; padding: 4px 0;
  transition: color 0.2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0;
  background: currentColor; transition: width 0.3s var(--ease);
}
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: #fff;
  padding: 11px 20px; border-radius: 999px;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.01em;
  transition: transform 0.2s var(--ease), background 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--primary-deep); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.nav-right { display: flex; align-items: center; gap: 26px; }

.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); position: relative; transition: 0.3s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--text); transition: 0.3s; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav:not(.scrolled) .nav-toggle span, .nav:not(.scrolled) .nav-toggle span::before, .nav:not(.scrolled) .nav-toggle span::after { background: #fff; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; }
.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(15,10,6,0.90) 0%, rgba(15,10,6,0.62) 30%, rgba(15,10,6,0.42) 55%, rgba(15,10,6,0.55) 100%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(48px, 8vh, 96px); padding-top: calc(var(--nav-h) + 24px); }
.hero-eyebrow { color: var(--accent); margin-bottom: 22px; }
.hero h1 {
  font-size: clamp(3rem, 9vw, 6.2rem);
  font-weight: 600; line-height: 0.98; letter-spacing: -0.02em;
  max-width: 16ch; text-wrap: balance;
  text-shadow: 0 2px 24px rgba(0,0,0,0.55);
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-sub {
  margin-top: 24px; font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  max-width: 48ch; color: rgba(255,255,255,0.96); font-weight: 400;
  text-wrap: pretty; text-shadow: 0 1px 16px rgba(0,0,0,0.55);
}
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px;
  font-size: 0.95rem; font-weight: 600; letter-spacing: 0.01em;
  transition: transform 0.2s var(--ease), background 0.2s, box-shadow 0.2s, border-color 0.2s, color 0.2s;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 24px rgba(182,74,46,0.35); }
.btn-primary:hover { background: var(--primary-deep); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(182,74,46,0.45); }
.btn-ghost { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.5); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,0.95); color: var(--text); border-color: #fff; transform: translateY(-2px); }
.btn-dark { background: var(--secondary); color: #fff; }
.btn-dark:hover { background: var(--secondary-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

.hero-meta {
  margin-top: 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px;
  font-size: 0.9rem; color: rgba(255,255,255,0.9);
}
.hero-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,0.5); }
.hero-meta .stars { color: var(--accent); letter-spacing: 2px; }
.hero-meta b { font-weight: 600; }

.hero-scroll {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255,255,255,0.7);
}
.hero-scroll .line { width: 1px; height: 40px; background: linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0)); animation: scrollpulse 2.2s var(--ease) infinite; }
@keyframes scrollpulse { 0%,100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } }

/* ============================================================
   INTRO / POSITIONING STRIP
   ============================================================ */
.intro { background: var(--surface); border-bottom: 1px solid var(--border-soft); }
.intro .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.intro-lead {
  font-family: var(--ff-display); font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 500; line-height: 1.18; letter-spacing: -0.01em; text-wrap: pretty;
}
.intro-lead .hl { color: var(--primary); font-style: italic; }
.intro-body { color: var(--muted); font-size: 1rem; }
.intro-body p + p { margin-top: 16px; }
.facts { margin-top: 28px; display: grid; gap: 0; border-top: 1px solid var(--border); }
.fact { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.fact-ico { width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--surface-2); display: flex; align-items: center; justify-content: center; color: var(--primary); }
.fact-ico svg { width: 18px; height: 18px; }
.fact-k { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-2); }
.fact-v { font-weight: 600; font-size: 0.98rem; }

/* ============================================================
   HIGHLIGHTS (menu categories)
   ============================================================ */
.highlights { background: var(--bg); }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; min-height: 320px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cat-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.cat:hover .cat-img img { transform: scale(1.06); }
.cat-num {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-family: var(--ff-display); font-size: 0.95rem; font-weight: 600;
  color: #fff; background: rgba(20,14,9,0.4); backdrop-filter: blur(4px);
  width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.cat-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.cat-body h3 { font-size: 1.55rem; margin-bottom: 8px; }
.cat-body p { color: var(--muted); font-size: 0.94rem; }
.cat-tags { margin-top: auto; padding-top: 16px; display: flex; flex-wrap: wrap; gap: 7px; }
.tag {
  font-size: 0.72rem; font-weight: 500; color: var(--secondary);
  background: var(--surface-2); padding: 5px 11px; border-radius: 999px;
  letter-spacing: 0.01em;
}
.cat.wide { grid-column: span 2; flex-direction: row; min-height: 0; }
.cat.wide .cat-img { aspect-ratio: auto; flex: 1; min-height: 300px; }
.cat.wide .cat-body { flex: 1; justify-content: center; padding: 40px; }
.cat.wide .cat-body h3 { font-size: 2rem; }

.menu-note {
  margin-top: 30px; padding: 18px 22px; border: 1px dashed var(--border);
  border-radius: var(--radius); background: var(--surface);
  display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 0.92rem;
  flex-wrap: wrap;
}
.menu-note svg { width: 20px; height: 20px; color: var(--primary); flex: none; }
.menu-note b { color: var(--text); font-weight: 600; }

/* ============================================================
   EXPERIENCE BAND (dark, image-led)
   ============================================================ */
.experience { background: var(--secondary-deep); color: #fff; position: relative; overflow: hidden; }
.experience .section-title { color: #fff; }
.experience .section-lead { color: rgba(255,255,255,0.7); }
.exp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.exp-copy .eyebrow { color: var(--accent); display: block; margin-bottom: 16px; }
.exp-list { margin-top: 30px; display: grid; gap: 2px; }
.exp-item { padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.14); display: flex; gap: 18px; align-items: flex-start; }
.exp-item:last-child { border-bottom: 1px solid rgba(255,255,255,0.14); }
.exp-item .x { font-family: var(--ff-display); color: var(--accent); font-size: 1.1rem; font-weight: 600; flex: none; width: 28px; }
.exp-item h4 { font-size: 1.15rem; font-weight: 600; font-family: var(--ff-body); margin-bottom: 4px; }
.exp-item p { color: rgba(255,255,255,0.66); font-size: 0.92rem; }
.exp-media { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: 100%; min-height: 440px; }
.exp-media figure { overflow: hidden; border-radius: var(--radius); }
.exp-media figure:first-child { grid-row: span 2; }
.exp-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.exp-media figure:hover img { transform: scale(1.05); }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery { background: var(--bg); }
.gallery-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; }
.masonry { columns: 4; column-gap: 16px; }
.masonry figure {
  break-inside: avoid; margin: 0 0 16px; border-radius: var(--radius); overflow: hidden;
  position: relative; cursor: zoom-in; background: var(--surface-2);
}
.masonry img { width: 100%; transition: transform 0.6s var(--ease), filter 0.4s; }
.masonry figure::after {
  content: ""; position: absolute; inset: 0; background: rgba(20,14,9,0); transition: background 0.3s;
}
.masonry figure:hover::after { background: rgba(20,14,9,0.18); }
.masonry figure:hover img { transform: scale(1.04); }
.masonry .zoom-ico {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 34px; height: 34px;
  border-radius: 50%; background: rgba(255,255,255,0.9); display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(0.8); transition: 0.3s var(--ease); color: var(--text);
}
.masonry figure:hover .zoom-ico { opacity: 1; transform: scale(1); }
.masonry .zoom-ico svg { width: 16px; height: 16px; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(15,10,6,0.94);
  display: flex; align-items: center; justify-content: center; padding: 5vw;
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lb-btn {
  position: absolute; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25); color: #fff;
  display: flex; align-items: center; justify-content: center; transition: background 0.2s, transform 0.2s;
}
.lb-btn:hover { background: rgba(255,255,255,0.22); transform: scale(1.05); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 24px; right: 24px; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lb-prev:hover, .lb-next:hover { transform: translateY(-50%) scale(1.05); }
.lb-count { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.7); font-size: 0.85rem; letter-spacing: 0.1em; }

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--surface); }
.about .wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.about-media { position: relative; }
.about-media .main { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.about-media .main img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about-media .inset {
  position: absolute; right: -18px; bottom: -28px; width: 46%;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 5px solid var(--surface);
}
.about-media .inset img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.about-copy p { color: var(--muted); margin-top: 18px; font-size: 1.02rem; }
.about-copy p:first-of-type { margin-top: 24px; }
.about-stats { margin-top: 38px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stat { padding: 20px 0; border-top: 2px solid var(--primary); }
.stat-n { font-family: var(--ff-display); font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 600; line-height: 1; color: var(--text); }
.stat-l { margin-top: 8px; font-size: 0.78rem; letter-spacing: 0.06em; color: var(--muted); }

/* ============================================================
   VISIT (location + form)
   ============================================================ */
.visit { background: var(--bg); }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }

.map-placeholder {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); aspect-ratio: 4/3; min-height: 320px;
  background:
    repeating-linear-gradient(45deg, var(--surface-2) 0 18px, var(--surface) 18px 36px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center;
}
.map-placeholder .pin { width: 48px; height: 48px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: var(--shadow-md); }
.map-placeholder .pin svg { width: 24px; height: 24px; }
.map-placeholder .ph-label { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.map-placeholder .ph-addr { font-family: var(--ff-display); font-size: 1.3rem; max-width: 24ch; color: var(--text); }
.map-actions { position: absolute; bottom: 16px; left: 16px; right: 16px; display: flex; gap: 10px; justify-content: center; }

.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-sm); }
.contact-rows { display: grid; gap: 4px; margin-bottom: 30px; }
.crow { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--border-soft); }
.crow:last-child { border-bottom: none; }
.crow .ci { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--surface-2); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.crow .ci svg { width: 19px; height: 19px; }
.crow .ck { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); }
.crow .cv { font-weight: 600; font-size: 1rem; margin-top: 2px; }
.crow .cv a:hover { color: var(--primary); }
.crow .cnote { font-size: 0.82rem; color: var(--muted); font-weight: 400; }

/* Form */
.form-title { font-family: var(--ff-display); font-size: 1.7rem; margin-bottom: 4px; }
.form-sub { color: var(--muted); font-size: 0.92rem; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; color: var(--text); margin-bottom: 7px; }
.field label .req { color: var(--primary); }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 0.95rem; color: var(--text);
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 13px 15px; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary); background: var(--surface);
  box-shadow: 0 0 0 3px rgba(182,74,46,0.12);
}
.field textarea { resize: vertical; min-height: 96px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #C0392B; box-shadow: 0 0 0 3px rgba(192,57,43,0.1); }
.field .err { display: none; color: #C0392B; font-size: 0.76rem; margin-top: 6px; }
.field.invalid .err { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.radio-row { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-chip { position: relative; }
.radio-chip input { position: absolute; opacity: 0; pointer-events: none; }
.radio-chip span {
  display: inline-flex; padding: 9px 16px; border: 1px solid var(--border); border-radius: 999px;
  font-size: 0.84rem; font-weight: 500; color: var(--muted); transition: 0.2s; background: var(--bg);
}
.radio-chip input:checked + span { background: var(--secondary); color: #fff; border-color: var(--secondary); }
.radio-chip:hover span { border-color: var(--primary); }
.form-submit { width: 100%; justify-content: center; margin-top: 8px; }
.form-success {
  display: none; text-align: center; padding: 30px 10px;
}
.form-success.show { display: block; animation: fadein 0.4s var(--ease); }
.form-success .check { width: 60px; height: 60px; border-radius: 50%; background: var(--secondary); color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.form-success .check svg { width: 30px; height: 30px; }
.form-success h3 { font-size: 1.5rem; margin-bottom: 8px; }
.form-success p { color: var(--muted); }
@keyframes fadein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--text); color: rgba(255,255,255,0.72); padding: clamp(56px, 7vw, 88px) 0 0; }
.footer-cta { text-align: center; padding-bottom: clamp(48px, 6vw, 72px); border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-cta .eyebrow { color: var(--accent); display: block; margin-bottom: 16px; }
.footer-cta h2 { font-size: clamp(2rem, 5vw, 3.4rem); color: #fff; max-width: 18ch; margin: 0 auto; text-wrap: balance; }
.footer-cta .actions { margin-top: 32px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.footer-main { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding: clamp(44px, 5vw, 64px) 0; }
.footer-brand img { width: 54px; height: 54px; margin-bottom: 16px; }
.footer-brand .fb-name { font-family: var(--ff-display); font-size: 1.5rem; color: #fff; }
.footer-brand p { margin-top: 12px; font-size: 0.92rem; max-width: 36ch; }
.footer-col h4 { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 16px; font-family: var(--ff-body); font-weight: 600; }
.footer-col ul { list-style: none; display: grid; gap: 11px; }
.footer-col a { font-size: 0.92rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; transition: 0.2s; }
.socials a:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.footer-bottom .disc { max-width: 60ch; }

/* ============================================================
   MOBILE BOTTOM ACTION BAR
   ============================================================ */
.actionbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  display: none; grid-template-columns: repeat(3, 1fr);
  background: rgba(252,250,245,0.95); backdrop-filter: blur(14px);
  border-top: 1px solid var(--border); box-shadow: 0 -4px 20px rgba(36,23,16,0.08);
  padding-bottom: env(safe-area-inset-bottom);
}
.actionbar a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 11px 6px 10px; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.03em; color: var(--text); }
.actionbar a svg { width: 21px; height: 21px; color: var(--primary); }
.actionbar a + a { border-left: 1px solid var(--border); }
.actionbar a.ab-primary { background: var(--primary); color: #fff; }
.actionbar a.ab-primary svg { color: #fff; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* ============================================================
   MOBILE NAV PANEL
   ============================================================ */
.mobile-panel {
  position: fixed; inset: 0; z-index: 99; background: var(--bg);
  transform: translateX(100%); transition: transform 0.4s var(--ease);
  display: flex; flex-direction: column; padding: calc(var(--nav-h) + 20px) 28px 40px;
}
.mobile-panel.open { transform: none; }
.mobile-panel a { font-family: var(--ff-display); font-size: 2rem; padding: 14px 0; border-bottom: 1px solid var(--border); color: var(--text); }
.mobile-panel .mp-cta { margin-top: auto; }
.mp-close { position: absolute; top: 18px; right: 22px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: var(--text); }
.mp-close svg { width: 26px; height: 26px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .masonry { columns: 3; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat.wide { grid-column: span 2; }
}
@media (max-width: 860px) {
  .nav-links, .nav-right .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .intro .wrap { grid-template-columns: 1fr; }
  .exp-grid { grid-template-columns: 1fr; }
  .exp-media { min-height: 360px; }
  .about .wrap { grid-template-columns: 1fr; }
  .about-media { max-width: 460px; margin: 0 auto 20px; }
  .visit-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .actionbar { display: grid; }
  body { padding-bottom: 64px; }
  .hero { min-height: 92svh; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .masonry { columns: 2; column-gap: 12px; }
  .masonry figure { margin-bottom: 12px; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat.wide { grid-column: span 1; flex-direction: column; }
  .cat.wide .cat-img { min-height: 220px; }
  .cat.wide .cat-body { padding: 24px; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1; justify-content: center; }
  .lb-prev { left: 10px; } .lb-next { right: 10px; }
  .brand-sub { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
