/* =========================================================
   Rx Coffee Apothecary — Jumeirah
   Design system + page styles
   Palette & type per research/brand-system.md
   ========================================================= */

:root {
  /* surfaces */
  --bg:        #FFF8EF;   /* main cream */
  --surface:   #FFFDF8;   /* card / panel */
  --surface-2: #FBF1E2;   /* alt soft surface */
  --ink:       #271A12;   /* primary text */
  --muted:     #7A6654;   /* secondary text */
  --border:    #EADCCB;   /* hairlines */
  --border-2:  #E0CDB4;

  /* brand */
  --primary:   #B64A2E;   /* terracotta / rust */
  --primary-d: #97391F;
  --secondary: #17453B;   /* deep forest green */
  --secondary-d:#0F3329;
  --accent:    #E7A93B;   /* amber / gold */
  --accent-d:  #C98A1E;
  --wine:      #7E0012;   /* deep media red */
  --wine-d:    #5C000C;

  --focus:     #17453B;

  /* type */
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body: "DM Sans", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

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

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -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; color: inherit; }
:focus-visible { outline: 2.5px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

/* ---------- layout helpers ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 132px); }
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.eyebrow::before {
  content: "℞";
  font-family: var(--display);
  font-size: 19px;
  letter-spacing: 0;
  color: var(--secondary);
  transform: translateY(1px);
}
.eyebrow.no-rx::before { content: none; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.04; letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }
.h-display { font-size: clamp(2.7rem, 6.4vw, 5.1rem); font-weight: 600; }
.h-section { font-size: clamp(2.1rem, 4.4vw, 3.5rem); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--muted); line-height: 1.55; text-wrap: pretty; }

.section-head { max-width: 660px; }
.section-head .lede { margin-top: 18px; }
.section-head h2 { margin-top: 16px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--body); font-weight: 600; font-size: 15px;
  padding: 14px 24px; border-radius: 100px;
  transition: transform .18s ease, background .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease;
  letter-spacing: .01em; white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 18px rgba(182,74,46,.28); }
.btn-primary:hover { background: var(--primary-d); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(182,74,46,.34); }
.btn-dark { background: var(--secondary); color: #FBF1E2; }
.btn-dark:hover { background: var(--secondary-d); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--border-2); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: var(--secondary-d); box-shadow: 0 6px 18px rgba(231,169,59,.3); }
.btn-accent:hover { background: var(--accent-d); transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .3s ease, box-shadow .3s ease, height .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }
.nav.scrolled { background: rgba(255,248,239,.86); backdrop-filter: blur(14px) saturate(1.3); border-bottom-color: var(--border); box-shadow: var(--shadow-sm); height: 66px; }
.brand { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.brand img { width: 42px; height: 42px; transition: width .3s ease, height .3s ease; }
.nav.scrolled .brand img { width: 38px; height: 38px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1; }
.brand-txt b { font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: .01em; color: var(--ink); }
.brand-txt span { font-family: var(--mono); font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 14.5px; font-weight: 500; color: var(--ink);
  padding: 9px 15px; border-radius: 100px; position: relative;
  transition: color .2s ease, background .2s ease;
}
.nav-links a:hover { color: var(--primary); background: rgba(182,74,46,.07); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-tel { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; }
.nav-tel span { font-family: var(--mono); font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.nav-tel a { font-family: var(--mono); font-size: 14px; font-weight: 500; color: var(--ink); }
.nav-tel a:hover { color: var(--primary); }

.burger { display: none; width: 44px; height: 44px; border-radius: 10px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s ease, opacity .2s ease; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 80; background: var(--bg);
  display: flex; flex-direction: column; padding: calc(var(--nav-h) + 20px) var(--gutter) 40px;
  transform: translateY(-100%); opacity: 0; pointer-events: none;
  transition: transform .42s cubic-bezier(.2,.8,.2,1), opacity .3s ease;
}
.mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu a.m-link {
  font-family: var(--display); font-size: 2.1rem; font-weight: 600; color: var(--ink);
  padding: 16px 0; border-bottom: 1px solid var(--border);
  display: flex; align-items: baseline; justify-content: space-between;
}
.mobile-menu a.m-link .n { font-family: var(--mono); font-size: 13px; color: var(--primary); font-weight: 400; }
.mobile-menu .m-foot { margin-top: auto; display: flex; flex-direction: column; gap: 14px; padding-top: 30px; }

/* ---------- HERO ---------- */
.hero { position: relative; padding-top: calc(var(--nav-h) + 8px); }
.hero-grid {
  display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(28px, 4vw, 56px);
  align-items: center; min-height: calc(100vh - var(--nav-h) - 8px);
  padding-block: clamp(36px, 5vw, 72px);
}
.hero-copy { max-width: 600px; }
.hero h1 { margin: 22px 0 0; }
.hero h1 em { font-style: italic; color: var(--primary); }
.hero .lede { margin-top: 24px; max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 38px; padding-top: 28px; border-top: 1px solid var(--border); }

.rating { display: flex; align-items: center; gap: 12px; }
.rating-stars { color: var(--accent-d); font-size: 16px; letter-spacing: 2px; }
.rating-num { font-family: var(--display); font-size: 2rem; font-weight: 600; line-height: 1; color: var(--ink); }
.rating-txt { font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.rating-txt b { color: var(--ink); font-weight: 600; }
.meta-div { width: 1px; height: 38px; background: var(--border-2); }
.meta-pt { line-height: 1.3; }
.meta-pt .k { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.meta-pt .v { font-size: 14.5px; font-weight: 600; color: var(--ink); margin-top: 3px; }

/* hero image stack */
.hero-art { position: relative; }
.hero-art .frame {
  position: relative; border-radius: 8px; overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 4/5; background: var(--surface-2);
}
.hero-art .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-tag {
  position: absolute; left: -26px; bottom: 34px; z-index: 3;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 6px; padding: 14px 18px; box-shadow: var(--shadow-md);
  max-width: 230px;
}
.hero-tag .lbl { font-family: var(--mono); font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--primary); }
.hero-tag .big { font-family: var(--display); font-size: 1.5rem; font-weight: 600; line-height: 1.05; margin-top: 6px; }
.hero-tag .sub { font-size: 12px; color: var(--muted); margin-top: 4px; }
.hero-stamp {
  position: absolute; top: 22px; right: 22px; z-index: 3;
  width: 92px; height: 92px; border-radius: 50%;
  background: var(--wine); color: #F5E4C8;
  display: grid; place-items: center; text-align: center;
  box-shadow: var(--shadow-md);
  border: 1.5px solid rgba(245,228,200,.4);
}
.hero-stamp span { font-family: var(--mono); font-size: 9px; letter-spacing: .14em; line-height: 1.45; text-transform: uppercase; }
.hero-stamp b { font-family: var(--display); font-size: 1.15rem; display: block; }

/* ---------- prescription facts band ---------- */
.script-band { background: var(--secondary); color: #EFE3CF; }
.script-card {
  border: 1.5px dashed rgba(239,227,207,.4);
  border-radius: 8px; padding: clamp(22px, 3vw, 34px) clamp(22px, 3.5vw, 44px);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 34px;
  position: relative;
}
.script-head {
  position: absolute; top: -13px; left: 32px; background: var(--secondary);
  padding: 0 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--accent);
}
.script-item .k { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: rgba(239,227,207,.6); }
.script-item .v { font-family: var(--display); font-size: clamp(1.4rem, 2.4vw, 1.95rem); font-weight: 600; margin-top: 8px; line-height: 1.1; }
.script-item .v small { font-family: var(--body); font-size: 13px; font-weight: 500; color: rgba(239,227,207,.7); display: block; margin-top: 4px; letter-spacing: 0; }

/* ---------- dispensary (menu categories) ---------- */
.disp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
.disp-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.disp-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--border-2); }
.disp-card .ph { aspect-ratio: 16/11; overflow: hidden; position: relative; }
.disp-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.disp-card:hover .ph img { transform: scale(1.05); }
.disp-card .ph .no {
  position: absolute; top: 12px; left: 12px; background: rgba(255,253,248,.92);
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: var(--secondary);
  padding: 5px 10px; border-radius: 100px; backdrop-filter: blur(4px);
}
.disp-body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.disp-body h3 { font-size: 1.55rem; }
.disp-body p { color: var(--muted); font-size: 14.5px; margin-top: 9px; flex: 1; }
.disp-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.disp-tags span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; color: var(--secondary); background: var(--surface-2); border: 1px solid var(--border); padding: 4px 10px; border-radius: 100px; }
.disp-note {
  margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px;
  padding: 22px 28px;
}
.disp-note p { font-size: 14.5px; color: var(--muted); max-width: 640px; }
.disp-note p b { color: var(--ink); font-weight: 600; }

/* ---------- the space (about) ---------- */
.space-band { background: var(--surface-2); }
.space-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.space-art { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.space-art img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; box-shadow: var(--shadow-md); }
.space-art .tall { grid-row: span 2; aspect-ratio: 3/5; }
.space-art .sq { aspect-ratio: 1/1; }
.space-copy h2 { margin-top: 16px; }
.space-copy .lede { margin-top: 22px; }
.space-copy p.body { margin-top: 18px; color: var(--muted); font-size: 16px; }
.space-feats { margin-top: 30px; display: grid; gap: 2px; border-top: 1px solid var(--border-2); }
.space-feat { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border-2); align-items: start; }
.space-feat .ix { font-family: var(--mono); font-size: 12px; color: var(--primary); padding-top: 4px; letter-spacing: .1em; }
.space-feat h4 { font-family: var(--display); font-size: 1.32rem; font-weight: 600; }
.space-feat p { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* ---------- gallery ---------- */
.gal-grid {
  margin-top: 48px;
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px;
}
.gal-item { position: relative; overflow: hidden; border-radius: 8px; cursor: pointer; background: var(--surface-2); }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.gal-item:hover img { transform: scale(1.06); }
.gal-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(39,26,18,.4), transparent 55%);
  opacity: 0; transition: opacity .3s ease;
}
.gal-item:hover::after { opacity: 1; }
.gal-item .cap {
  position: absolute; left: 14px; bottom: 12px; z-index: 2; color: #fff;
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em;
  opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .3s ease;
}
.gal-item:hover .cap { opacity: 1; transform: translateY(0); }
.gal-wide { grid-column: span 2; }
.gal-tall { grid-row: span 2; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(20,12,8,.92); display: none; align-items: center; justify-content: center; padding: 4vw; opacity: 0; transition: opacity .25s ease; }
.lightbox.open { display: flex; opacity: 1; }
.lightbox img { max-width: min(94vw, 1100px); max-height: 86vh; object-fit: contain; border-radius: 6px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lb-btn { position: fixed; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; background: rgba(255,253,248,.12); color: #fff; display: grid; place-items: center; font-size: 22px; transition: background .2s ease; backdrop-filter: blur(4px); }
.lb-btn:hover { background: rgba(255,253,248,.25); }
.lb-prev { left: 3vw; } .lb-next { right: 3vw; }
.lb-close { position: fixed; top: 24px; right: 28px; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,253,248,.12); color: #fff; display: grid; place-items: center; font-size: 20px; backdrop-filter: blur(4px); transition: background .2s ease; }
.lb-close:hover { background: rgba(255,253,248,.25); }
.lb-cap { position: fixed; 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; }

/* ---------- visit ---------- */
.visit-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 64px); }
.visit-info .lede { margin-top: 20px; max-width: 480px; }

.contact-list { margin-top: 32px; display: grid; gap: 2px; border-top: 1px solid var(--border); }
.contact-row { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); align-items: baseline; }
.contact-row .k { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-row .v { font-size: 16px; }
.contact-row .v a { color: var(--ink); font-weight: 600; border-bottom: 1.5px solid var(--accent); padding-bottom: 1px; }
.contact-row .v a:hover { color: var(--primary); }
.contact-row .v .note { font-size: 13px; color: var(--muted); margin-top: 4px; font-family: var(--body); }
.visit-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.map-card { border-radius: 12px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-md); }
.map-ph {
  position: relative; aspect-ratio: 4/3; min-height: 280px;
  background:
    repeating-linear-gradient(45deg, rgba(23,69,59,.04) 0 2px, transparent 2px 22px),
    repeating-linear-gradient(-45deg, rgba(182,74,46,.04) 0 2px, transparent 2px 22px),
    var(--surface-2);
  display: grid; place-items: center; text-align: center; padding: 30px;
}
.map-ph::before {
  content: ""; position: absolute; inset: 16px; border: 1.5px dashed var(--border-2); border-radius: 8px;
}
.map-pin { position: relative; z-index: 2; }
.map-pin .dot { width: 18px; height: 18px; border-radius: 50%; background: var(--primary); margin: 0 auto 16px; box-shadow: 0 0 0 8px rgba(182,74,46,.16), 0 0 0 18px rgba(182,74,46,.08); }
.map-pin .lbl { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--secondary); }
.map-pin h4 { font-family: var(--display); font-size: 1.5rem; font-weight: 600; margin-top: 8px; }
.map-pin p { font-size: 14px; color: var(--muted); margin-top: 6px; }
.map-bar { background: var(--surface); padding: 16px 22px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.map-bar .a { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.map-bar .a b { color: var(--ink); }

/* ---------- enquiry form ---------- */
.enq-band { background: var(--secondary); color: #EFE3CF; }
.enq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.enq-intro h2 { color: #FBF1E2; margin-top: 16px; }
.enq-intro .eyebrow { color: var(--accent); }
.enq-intro .eyebrow::before { color: #EFE3CF; }
.enq-intro .lede { color: rgba(239,227,207,.72); margin-top: 20px; }
.enq-intro .pad {
  margin-top: 30px; border: 1.5px dashed rgba(239,227,207,.32); border-radius: 8px; padding: 22px 24px;
}
.enq-intro .pad .lbl { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.enq-intro .pad p { font-size: 14px; color: rgba(239,227,207,.78); margin-top: 10px; }
.enq-intro .pad .sig { font-family: var(--display); font-size: 1.5rem; margin-top: 14px; color: #FBF1E2; font-style: italic; }

.form { background: var(--surface); border-radius: 12px; padding: clamp(24px, 3vw, 38px); box-shadow: var(--shadow-lg); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field label .req { color: var(--primary); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--body); font-size: 15px; color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--border-2); border-radius: 8px;
  padding: 12px 14px; transition: border-color .2s ease, box-shadow .2s ease; appearance: none;
}
.field textarea { resize: vertical; min-height: 104px; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A6654' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(23,69,59,.12); }
.field.err input, .field.err select, .field.err textarea { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(182,74,46,.1); }
.field .msg { font-size: 12px; color: var(--primary); margin-top: 6px; display: none; font-weight: 500; }
.field.err .msg { display: block; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-family: var(--body); font-size: 13.5px; font-weight: 500; padding: 9px 16px; border-radius: 100px; border: 1.5px solid var(--border-2); background: var(--bg); color: var(--muted); transition: all .18s ease; }
.chip[aria-pressed="true"] { background: var(--secondary); color: #FBF1E2; border-color: var(--secondary); }
.form-submit { margin-top: 8px; }
.form-foot { font-size: 12px; color: var(--muted); margin-top: 14px; text-align: center; }

.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success.show { display: block; }
.form-success .seal { width: 76px; height: 76px; border-radius: 50%; background: var(--secondary); color: var(--accent); display: grid; place-items: center; margin: 0 auto 20px; font-size: 30px; }
.form-success h3 { font-size: 1.9rem; }
.form-success p { color: var(--muted); margin-top: 10px; }
.form-success .rx { font-family: var(--mono); font-size: 12px; color: var(--secondary); margin-top: 18px; letter-spacing: .1em; }

/* ---------- footer ---------- */
.footer { background: var(--wine); color: #EAD7C0; padding-block: clamp(54px, 7vw, 88px) 30px; }
.footer a { color: #EAD7C0; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(234,215,192,.18); }
.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-brand img { width: 56px; height: 56px; background: rgba(255,248,239,.9); border-radius: 50%; padding: 5px; }
.footer-brand .ft-name { font-family: var(--display); font-size: 1.7rem; font-weight: 600; line-height: 1.05; color: #FBF1E2; }
.footer-brand .ft-desc { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: rgba(234,215,192,.7); margin-top: 8px; max-width: 260px; line-height: 1.6; }
.footer-col h5 { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; font-weight: 500; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 11px; }
.footer-col a { font-size: 14.5px; color: rgba(234,215,192,.85); transition: color .2s ease; }
.footer-col a:hover { color: #FBF1E2; }
.footer-col .ln { font-size: 14.5px; color: rgba(234,215,192,.85); }
.footer-bot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-top: 26px; }
.footer-bot p { font-size: 12.5px; color: rgba(234,215,192,.62); }
.footer-bot .legal { display: flex; gap: 20px; }
.footer-disc { font-size: 11px; color: rgba(234,215,192,.5); margin-top: 16px; line-height: 1.6; max-width: 720px; }

/* ---------- mobile action bar ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  display: none; grid-template-columns: 1fr 1fr 1fr;
  background: rgba(255,253,248,.96); backdrop-filter: blur(12px);
  border-top: 1px solid var(--border); box-shadow: 0 -4px 20px rgba(39,26,18,.08);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 11px 6px 12px; font-size: 11px; font-weight: 600; color: var(--ink); }
.mobile-bar a svg { width: 19px; height: 19px; }
.mobile-bar a + a { border-left: 1px solid var(--border); }
.mobile-bar a.primary { color: var(--primary); }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s 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; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* divider flourish */
.flourish { display: flex; align-items: center; gap: 14px; color: var(--border-2); }
.flourish::before, .flourish::after { content: ""; height: 1px; flex: 1; background: var(--border-2); }
.flourish span { font-family: var(--display); color: var(--accent-d); font-size: 18px; }

/* ============ responsive ============ */
@media (max-width: 1080px) {
  .gal-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; }
}
@media (max-width: 920px) {
  .nav-links { display: none; }
  .nav-tel { display: none; }
  .burger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; min-height: 0; }
  .hero-art { max-width: 480px; margin-inline: auto; width: 100%; }
  .hero-art .frame { aspect-ratio: 5/4; }
  .script-card { grid-template-columns: repeat(2, 1fr); gap: 26px 30px; }
  .disp-grid { grid-template-columns: repeat(2, 1fr); }
  .space-grid { grid-template-columns: 1fr; gap: 40px; }
  .space-art { max-width: 520px; }
  .visit-grid { grid-template-columns: 1fr; }
  .enq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  :root { --nav-h: 64px; }
  .hero-tag { left: 12px; }
  .hero-meta { gap: 16px; }
  .meta-div { display: none; }
  .disp-grid { grid-template-columns: 1fr; }
  .gal-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gal-wide { grid-column: span 2; }
  .gal-tall { grid-row: span 1; }
  .form-row { grid-template-columns: 1fr; }
  .space-art { grid-template-columns: 1fr 1fr; }
  .contact-row { grid-template-columns: 100px 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .mobile-bar { display: grid; }
  body { padding-bottom: 62px; }
  .disp-note { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) {
  .script-card { grid-template-columns: 1fr; }
  .hero-stamp { width: 78px; height: 78px; }
}

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