/* ============================================================
   MERALDA JEWELS — showcase + store-visit funnel
   Design system: champagne paper · ink · champagne-gold · antique bronze
   ============================================================ */

:root {
  /* palette — keyed to the brand logo */
  --bg:        #FBF8F4;  /* warm champagne paper        */
  --bg-2:      #F4EEE4;  /* slightly deeper paper band  */
  --surface:   #FFFFFF;  /* cards, product tiles        */
  --ink:       #1A1714;  /* near-black wordmark ink      */
  --muted:     #6E665C;  /* warm taupe-grey secondary    */
  --gold:      #B68A3C;  /* champagne-gold emblem        */
  --gold-soft: #C9A765;  /* lighter gold for dark bg     */
  --bronze:    #6E4A1E;  /* deep antique bronze          */
  --bronze-2:  #57391A;  /* deeper bronze (footer base)  */
  --border:    #ECE4D8;  /* soft champagne hairline      */
  --border-2:  #DED2BF;  /* stronger hairline            */
  --focus:     #6E4A1E;

  --ff-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --ff-sans:    "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-mono:    "Spline Sans Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --maxw: 1280px;
  --gut: clamp(20px, 5vw, 64px);

  --shadow-sm: 0 1px 2px rgba(40,30,18,.04), 0 2px 8px rgba(40,30,18,.04);
  --shadow-md: 0 4px 14px rgba(40,30,18,.07), 0 18px 44px rgba(40,30,18,.07);
  --shadow-lg: 0 10px 30px rgba(40,30,18,.10), 0 40px 90px rgba(40,30,18,.12);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ff-sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -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; }

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

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }
.section { padding-block: clamp(64px, 9vw, 128px); }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }
.band-2 { background: var(--bg-2); }

/* ---------- typography ---------- */
.eyebrow {
  font-family: var(--ff-sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: .7em;
}
.eyebrow--center { justify-content: center; }
.eyebrow::before,
.eyebrow--line::after {
  content: "";
  width: 28px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
  flex: none;
}
.eyebrow::before { background: linear-gradient(90deg, var(--gold), transparent); }

h1, h2, h3 { font-family: var(--ff-display); font-weight: 500; color: var(--ink); margin: 0; line-height: 1.05; letter-spacing: -.01em; }
.display {
  font-size: clamp(40px, 7.5vw, 92px);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.015em;
}
.h2 { font-size: clamp(30px, 4.6vw, 56px); line-height: 1.02; }
.h3 { font-size: clamp(22px, 2.6vw, 30px); }
.lede {
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.62;
  color: var(--muted);
  max-width: 60ch;
  text-wrap: pretty;
}
.serif-italic { font-family: var(--ff-display); font-style: italic; font-weight: 500; }
p { text-wrap: pretty; }

/* diamond divider glyph (echoes the logo emblem) */
.diamond {
  width: 9px; height: 9px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
  display: inline-block;
}
.rule-diamond {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  color: var(--gold);
}
.rule-diamond::before, .rule-diamond::after {
  content: ""; height: 1px; width: min(120px, 22vw);
  background: linear-gradient(90deg, transparent, var(--border-2));
}
.rule-diamond::after { background: linear-gradient(90deg, var(--border-2), transparent); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--ff-sans);
  font-size: 14px; font-weight: 600; letter-spacing: .04em;
  padding: 0 22px; height: 50px; min-height: 50px;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: #a87c31; }
.btn--ink { background: var(--ink); color: var(--bg); }
.btn--ink:hover { background: #322a22; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--border-2); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--lg { height: 56px; min-height: 56px; padding-inline: 28px; font-size: 15px; }
.btn--block { width: 100%; }

.textlink {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: 13.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink); padding-bottom: 4px;
  border-bottom: 1px solid var(--border-2);
  transition: gap .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.textlink:hover { gap: .85em; border-color: var(--gold); color: var(--gold); }
.textlink svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.textlink:hover svg { transform: translateX(3px); }

/* ---------- header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 80;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.header__row {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px;
}
.header__brand { display: flex; align-items: center; }
.header__logo { height: 56px; width: auto; }
.header__nav { display: flex; align-items: center; gap: 34px; }
.header__nav a {
  font-size: 14px; font-weight: 500; letter-spacing: .02em; color: var(--ink);
  position: relative; padding: 6px 0; opacity: .82;
  transition: opacity .25s var(--ease), color .25s var(--ease);
}
.header__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.header__nav a:hover, .header__nav a[aria-current="page"] { opacity: 1; }
.header__nav a:hover::after, .header__nav a[aria-current="page"]::after { transform: scaleX(1); }
.header__cta { display: flex; align-items: center; gap: 12px; }
.header__cta .btn { height: 44px; min-height: 44px; }

/* solid state after scroll / non-hero pages */
.header.is-solid {
  background: rgba(251,248,244,.86);
  backdrop-filter: saturate(1.2) blur(14px);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
/* transparent-over-hero (dark imagery) */
.header.is-over {
  background: linear-gradient(to top, rgba(0,0,0,.32), rgba(0,0,0,0));
}
.header.is-over .header__nav a,
.header.is-over .call-mini { color: #fff; }
.header.is-over .header__nav a::after { background: var(--gold-soft); }
.header.is-over .header__logo { filter: brightness(0) invert(1); }
.header.is-over .burger span { background: #fff; }
.header.is-over .btn--ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.header.is-over .btn--ghost:hover { border-color: #fff; }

.burger {
  display: none; width: 46px; height: 46px; border: 1px solid var(--border-2);
  background: transparent; border-radius: 2px; padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.burger span { width: 20px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
.header.is-over .burger { border-color: rgba(255,255,255,.4); }

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 90;
  background: var(--bg);
  transform: translateX(100%); transition: transform .42s var(--ease);
  display: flex; flex-direction: column; padding: 22px var(--gut) 40px;
  visibility: hidden;
}
.drawer.is-open { transform: translateX(0); visibility: visible; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.drawer__logo { height: 46px; }
.drawer__close { width: 46px; height: 46px; border: 1px solid var(--border-2); background: transparent; border-radius: 2px; font-size: 22px; color: var(--ink); }
.drawer__nav { display: flex; flex-direction: column; margin-top: 24px; }
.drawer__nav a {
  font-family: var(--ff-display); font-size: 34px; font-weight: 500; color: var(--ink);
  padding: 14px 0; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.drawer__nav a .num { font-family: var(--ff-mono); font-size: 12px; color: var(--gold); letter-spacing: .1em; }
.drawer__foot { margin-top: auto; display: grid; gap: 12px; padding-top: 28px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: calc(100svh - 84px); margin-top: 84px; display: flex; align-items: flex-end; }
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 28%; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,15,10,.42) 0%, rgba(20,15,10,0) 26%, rgba(20,15,10,0) 50%, rgba(20,15,10,.74) 100%),
    linear-gradient(90deg, rgba(20,15,10,.46) 0%, rgba(20,15,10,0) 58%);
}
.hero__inner { position: relative; z-index: 2; padding-bottom: clamp(90px, 12vh, 150px); padding-top: 64px; width: 100%; }
.hero__eyebrow { color: var(--gold-soft); }
.hero__eyebrow::before { background: linear-gradient(90deg, var(--gold-soft), transparent); }
.hero h1 { color: #fff; margin-top: 22px; max-width: 16ch; }
.hero h1 em { color: var(--gold-soft); font-weight: 500; }
.hero__sub { color: rgba(255,255,255,.86); font-size: clamp(16px,1.7vw,20px); max-width: 46ch; margin: 24px 0 0; line-height: 1.6; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero__scroll {
  position: absolute; right: var(--gut); bottom: clamp(90px,12vh,150px); z-index: 2;
  color: rgba(255,255,255,.7); font-family: var(--ff-mono); font-size: 11px; letter-spacing: .2em;
  writing-mode: vertical-rl; display: flex; align-items: center; gap: 12px;
}
.hero__scroll::after { content:""; width:1px; height:54px; background:linear-gradient(rgba(255,255,255,.6),transparent); }

/* ---------- trust strip ---------- */
.trust { border-block: 1px solid var(--border); background: var(--surface); }
.trust__row {
  display: flex; flex-wrap: wrap; align-items: stretch; justify-content: center;
}
.trust__item {
  flex: 1 1 200px; min-width: 0; padding: 26px 24px; text-align: center;
  border-left: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: center; gap: 9px;
}
.trust__item:first-child { border-left: none; }
.trust__ic { color: var(--gold); }
.trust__ic svg { width: 24px; height: 24px; }
.trust__t { font-size: 13.5px; font-weight: 600; letter-spacing: .02em; color: var(--ink); line-height: 1.35; }
.trust__s { font-size: 12px; color: var(--muted); letter-spacing: .02em; }

/* ---------- section head ---------- */
.shead { display: grid; gap: 16px; }
.shead--center { text-align: center; justify-items: center; }
.shead__top { display:flex; align-items:flex-end; justify-content:space-between; gap: 24px; flex-wrap: wrap; }

/* ---------- collection tiles ---------- */
.tiles { display: grid; gap: clamp(14px, 1.6vw, 22px); grid-template-columns: repeat(12, 1fr); }
.tile {
  position: relative; overflow: hidden; background: var(--bg-2);
  grid-column: span 6; aspect-ratio: 4/5; display: block;
}
.tile--wide { grid-column: span 6; aspect-ratio: 4/5; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.tile:hover img { transform: scale(1.06); }
.tile__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,15,10,0) 38%, rgba(20,15,10,.72) 100%); }
.tile__body { position: absolute; inset: auto 0 0 0; padding: clamp(20px,2.4vw,30px); z-index: 2; color: #fff; }
.tile__kicker { font-family: var(--ff-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); }
.tile__name { font-family: var(--ff-display); font-size: clamp(26px,3vw,38px); font-weight: 500; line-height: 1; margin-top: 8px; }
.tile__more {
  display: inline-flex; align-items: center; gap: .5em; margin-top: 12px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  opacity: 0; transform: translateY(6px); transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.tile:hover .tile__more { opacity: 1; transform: translateY(0); }
.tile__more svg { width: 15px; height: 15px; }

/* ---------- product gallery ---------- */
.gallery { display: grid; gap: clamp(14px, 1.6vw, 24px); grid-template-columns: repeat(4, 1fr); }
.pcard { display: flex; flex-direction: column; }
.pcard__media {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  aspect-ratio: 3/4; overflow: hidden; cursor: zoom-in;
}
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.05); }
.pcard__zoom {
  position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.86); display: grid; place-items: center; color: var(--ink);
  opacity: 0; transform: scale(.85); transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.pcard:hover .pcard__zoom { opacity: 1; transform: scale(1); }
.pcard__zoom svg { width: 16px; height: 16px; }
.pcard__body { padding: 16px 2px 4px; display: flex; flex-direction: column; gap: 4px; }
.pcard__line { font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.pcard__name { font-family: var(--ff-display); font-size: 22px; font-weight: 500; line-height: 1.1; }
.pcard__meta { font-size: 13.5px; color: var(--muted); }
.pcard__enquire {
  margin-top: 10px; align-self: flex-start; background: none; border: none; padding: 0;
  font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink);
  display: inline-flex; align-items: center; gap: .5em; border-bottom: 1px solid var(--border-2); padding-bottom: 3px;
  transition: color .25s var(--ease), border-color .25s var(--ease), gap .25s var(--ease);
}
.pcard__enquire:hover { color: var(--gold); border-color: var(--gold); gap: .8em; }
.pcard__enquire svg { width: 14px; height: 14px; }

/* ---------- gold rate chip ---------- */
.raterow { display: flex; }
.rate {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  background: var(--ink); color: var(--bg); border-radius: 3px;
  padding: clamp(22px,3vw,34px) clamp(24px,3.5vw,44px); width: 100%;
  position: relative; overflow: hidden;
}
.rate::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 160% at 100% 0%, rgba(182,138,60,.30), transparent 55%);
}
.rate__ic { position: relative; color: var(--gold-soft); }
.rate__ic svg { width: 34px; height: 34px; }
.rate__txt { position: relative; flex: 1 1 280px; }
.rate__txt h3 { color: #fff; font-size: clamp(22px,2.6vw,30px); }
.rate__txt p { margin: 6px 0 0; color: rgba(255,255,255,.72); font-size: 14.5px; max-width: 52ch; }
.rate__cta { position: relative; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- bridal band ---------- */
.bridal { position: relative; min-height: 78vh; display: flex; align-items: center; overflow: hidden; }
.bridal__media { position: absolute; inset: 0; }
.bridal__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.bridal__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30,20,12,.72) 0%, rgba(30,20,12,.30) 48%, rgba(30,20,12,0) 78%); }
.bridal__inner { position: relative; z-index: 2; color: #fff; max-width: 540px; padding-block: 60px; }
.bridal__inner .eyebrow { color: var(--gold-soft); }
.bridal__inner .eyebrow::before { background: linear-gradient(90deg, var(--gold-soft), transparent); }
.bridal__inner h2 { color: #fff; margin: 18px 0; }
.bridal__inner p { color: rgba(255,255,255,.86); }

/* ---------- service cards ---------- */
.svc-grid { display: grid; gap: clamp(16px,2vw,26px); grid-template-columns: repeat(3, 1fr); }
.svc {
  background: var(--surface); border: 1px solid var(--border); overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow .35s var(--ease), transform .35s var(--ease), border-color .35s var(--ease);
}
.svc:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--border-2); }
.svc__media { aspect-ratio: 16/11; overflow: hidden; background: var(--bg-2); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.svc:hover .svc__media img { transform: scale(1.05); }
.svc__body { padding: clamp(22px,2.4vw,30px); display: flex; flex-direction: column; gap: 12px; flex: 1; }
.svc__name { font-family: var(--ff-display); font-size: 26px; font-weight: 500; line-height: 1.05; }
.svc__desc { font-size: 14.5px; color: var(--muted); line-height: 1.6; flex: 1; }
.svc__foot { margin-top: 6px; }

/* simple icon-led service (no image) */
.svc--icon .svc__ic { width: 48px; height: 48px; color: var(--gold); display:grid; place-items:center; border:1px solid var(--border-2); border-radius:50%; }
.svc--icon .svc__ic svg { width: 24px; height: 24px; }

/* ---------- editorial split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,5vw,80px); align-items: center; }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.split__body { display: grid; gap: 18px; }
.feature-list { display: grid; gap: 16px; margin: 8px 0 0; padding: 0; list-style: none; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list .diamond { margin-top: 9px; }
.feature-list b { font-weight: 600; }
.feature-list span { color: var(--muted); font-size: 15px; }

/* ---------- placeholder (honest GAP boxes) ---------- */
.ph {
  position: relative; display: grid; place-items: center; text-align: center;
  background:
    repeating-linear-gradient(135deg, var(--bg-2) 0 14px, #efe7da 14px 28px);
  border: 1px dashed var(--border-2); color: var(--muted);
  padding: 28px; gap: 8px;
}
.ph__label { font-family: var(--ff-mono); font-size: 12px; letter-spacing: .08em; color: var(--bronze); }
.ph__sub { font-family: var(--ff-mono); font-size: 11px; color: var(--muted); max-width: 36ch; }

/* ---------- page hero (interior pages) ---------- */
.phero { padding-top: 132px; padding-bottom: clamp(28px,4vw,52px); }
.phero__crumb { font-family: var(--ff-mono); font-size: 11.5px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; display:flex; gap:8px; align-items:center; }
.phero__crumb a:hover { color: var(--gold); }
.phero h1 { margin-top: 16px; }
.phero .lede { margin-top: 18px; }

/* collection filter bar */
.filters { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--border-2); background: transparent; color: var(--ink);
  height: 40px; padding: 0 18px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .03em;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ---------- footer ---------- */
.footer { background: linear-gradient(to top, rgba(0,0,0,.30), rgba(0,0,0,0)), var(--bronze-2); color: rgba(255,255,255,.74); position: relative; }
.footer a { color: rgba(255,255,255,.74); transition: color .25s var(--ease); }
.footer a:hover { color: #fff; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-block: clamp(56px,7vw,88px); }
.footer__brand { display: grid; gap: 18px; align-content: start; }
.footer__plaque {
  background: var(--bg); border-radius: 3px; padding: 20px 22px; width: max-content; max-width: 100%;
}
.footer__plaque img { height: 72px; width: auto; }
.footer__brand p { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.68); max-width: 34ch; }
.footer__col h4 { font-family: var(--ff-sans); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); margin: 0 0 18px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer__col ul a { font-size: 14.5px; }
.footer__contact { display: grid; gap: 14px; font-size: 14.5px; }
.footer__contact .lab { font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); display:block; margin-bottom: 3px; }
.footer__socials { display: flex; gap: 12px; margin-top: 4px; }
.footer__socials a { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; display: grid; place-items: center; }
.footer__socials a:hover { border-color: var(--gold-soft); background: rgba(255,255,255,.05); }
.footer__socials svg { width: 18px; height: 18px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding-block: 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: rgba(255,255,255,.55);
}
.footer__bottom a:hover { color: var(--gold-soft); }

/* ---------- mobile action bar ---------- */
.mbar {
  position: fixed; inset: auto 0 0 0; z-index: 70;
  display: none; grid-template-columns: 1fr 1fr 1fr;
  background: rgba(251,248,244,.94); backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding-bottom: env(safe-area-inset-bottom);
}
.mbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  padding: 11px 6px; min-height: 60px; font-size: 11px; font-weight: 600; letter-spacing: .03em; color: var(--ink);
  border-left: 1px solid var(--border);
}
.mbar a:first-child { border-left: none; }
.mbar a svg { width: 21px; height: 21px; }
.mbar a.is-primary { background: var(--gold); color: #fff; }

/* ---------- modal / enquiry ---------- */
.modal { position: fixed; inset: 0; z-index: 120; display: none; }
.modal.is-open { display: block; }
.modal__veil { position: absolute; inset: 0; background: rgba(20,15,10,.5); backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s var(--ease); }
.modal.is-open .modal__veil { opacity: 1; }
.modal__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(480px, 100%);
  background: var(--bg); box-shadow: var(--shadow-lg);
  transform: translateX(100%); transition: transform .42s var(--ease);
  display: flex; flex-direction: column; overflow-y: auto;
}
.modal.is-open .modal__panel { transform: translateX(0); }
.modal__head { padding: 26px var(--gut) 18px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--border); }
.modal__head .eyebrow { margin-bottom: 8px; }
.modal__head h3 { font-size: 28px; }
.modal__head p { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.modal__close { width: 42px; height: 42px; border: 1px solid var(--border-2); background: transparent; border-radius: 2px; font-size: 20px; color: var(--ink); flex: none; }
.modal__body { padding: 22px var(--gut) 26px; display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: var(--ink); }
.field label .req { color: var(--gold); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 15px; color: var(--ink);
  background: var(--surface); border: 1px solid var(--border-2); border-radius: 2px;
  padding: 13px 14px; width: 100%; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(182,138,60,.14);
}
.field textarea { resize: vertical; min-height: 96px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #b4452f; box-shadow: 0 0 0 3px rgba(180,69,47,.12); }
.field__err { font-size: 12px; color: #b4452f; display: none; }
.field.invalid .field__err { display: block; }
.modal__foot { padding: 4px var(--gut) 30px; display: grid; gap: 12px; }
.modal__or { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.modal__or::before, .modal__or::after { content:""; height:1px; flex:1; background: var(--border-2); }
.form-note { font-size: 12px; color: var(--muted); line-height: 1.5; }
.form-success { display: none; padding: 40px var(--gut); text-align: center; }
.form-success.is-on { display: block; }
.form-success .tick { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); display: grid; place-items: center; margin: 0 auto 20px; }
.form-success h3 { font-size: 30px; }
.form-success p { color: var(--muted); margin-top: 10px; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 130; display: none; background: rgba(16,12,8,.92); }
.lightbox.is-open { display: grid; place-items: center; }
.lightbox img { max-width: 88vw; max-height: 80vh; object-fit: contain; box-shadow: 0 30px 90px rgba(0,0,0,.5); }
.lightbox__cap { position: absolute; left: 0; right: 0; bottom: 30px; text-align: center; color: rgba(255,255,255,.8); font-family: var(--ff-display); font-size: 22px; }
.lightbox__cap span { display:block; font-family: var(--ff-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 6px; }
.lightbox__x { position: absolute; top: 22px; right: 24px; width: 48px; height: 48px; border:1px solid rgba(255,255,255,.3); background: transparent; color:#fff; font-size: 22px; border-radius: 50%; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border:1px solid rgba(255,255,255,.3); background: transparent; color:#fff; border-radius: 50%; display: grid; place-items: center; }
.lightbox__nav:hover { background: rgba(255,255,255,.1); }
.lightbox__nav svg { width: 20px; height: 20px; }
.lightbox__nav.prev { left: 18px; } .lightbox__nav.next { right: 18px; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); 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 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 36px 30px; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .header__nav, .header__cta .btn--ghost { display: none; }
  .burger { display: flex; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split__media { order: -1; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .mbar { display: grid; }
  body.has-mbar { padding-bottom: 64px; }
  .header__row { height: 70px; }
  .header__logo { height: 46px; }
  .hero { margin-top: 70px; min-height: calc(100svh - 70px); }
  .header__cta .btn { height: 42px; min-height: 42px; padding-inline: 16px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .svc-grid { grid-template-columns: 1fr; }
  .tile { grid-column: span 12 !important; aspect-ratio: 5/6; }
  .trust__item { flex-basis: 50%; border-top: 1px solid var(--border); }
  .trust__item:nth-child(-n+2) { border-top: none; }
  .trust__item:nth-child(odd) { border-left: none; }
  .hero { min-height: 92svh; }
  .hero__scroll { display: none; }
  .rate { flex-direction: column; align-items: flex-start; }
  .lightbox__nav { width: 44px; height: 44px; }
  .lightbox__nav.prev { left: 8px; } .lightbox__nav.next { right: 8px; }
}
@media (max-width: 420px) {
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pcard__name { font-size: 19px; }
  .header__cta .btn span.lbl { display: none; }
  .header__cta .btn { padding-inline: 12px; }
}
