/* Hallmark v2.0.0 · audit pass on an existing system (Hallmark named by the user) · genre: editorial
   critique: the tracked-cap kicker layer and untokenised whites were the main "generated" tells; the
   navy/ivory/brass tokens, serif/sans pairing and photography are preserved as built.
   fixed: 48 all colour via tokens; 54 category kickers cut (hero locator rides the topbar; range
   numbers set at graphic scale); 62 reveal/mega/figcaption visible without JS; 67 labels in the body
   voice; 34/50/76/63/19/6a/7a; F1 F3 F6 F15 F16 F21 F24. sloplint: 0 FAIL.
   waive: 24b spacing sits on the studio's own half-step grid, not a 4px one; 58 pages keep the
   client's mirrored SEO copy (450-word budget not applied).
   ==========================================================================
   S H Frames — premium editorial redesign
   Palette: warm ivory, deep navy, brass, forest green
   ========================================================================== */

:root {
  --ivory: #f7f3ec;
  --ivory-2: #efe8dc;
  --paper: #fffdf9;
  --navy: #14224a;
  --navy-2: #1d3068;
  --navy-ink: #0d152f;
  --brass: #b08d57;
  --brass-2: #d8bd8f;
  --green: #4c6b3c;
  --ink: #1b1b1b;
  --muted: #6b6659;
  --line: rgba(20, 34, 74, .14);
  --line-soft: rgba(20, 34, 74, .08);
  --shadow: 0 24px 60px -30px rgba(13, 21, 47, .45);
  /* neutrals */
  --ink-2: var(--ink-2);
  --ink-3: var(--ink-3);
  --brass-dark: var(--brass-dark);
  --wa: var(--wa);
  /* dark veils over navy-ink */
  --veil-35: rgba(13, 21, 47, .35);
  --veil-50: rgba(13, 21, 47, .5);
  --veil-60: rgba(13, 21, 47, .6);
  --veil-72: rgba(13, 21, 47, .72);
  --veil-85: rgba(13, 21, 47, .85);
  --veil-92: rgba(9, 14, 30, .92);
  --veil-94: rgba(9, 14, 30, .94);
  --shade-50: rgba(0, 0, 0, .5);
  --shade-90: rgba(0, 0, 0, .9);
  /* ivory veils for the sticky header */
  --ivory-90: var(--ivory-90);
  --ivory-97: var(--ivory-97);
  /* white alphas on dark surfaces */
  --on-dark-soft: rgba(255, 255, 255, .82);
  --on-dark-mute: rgba(255, 255, 255, .72);
  --on-dark-link: rgba(255, 255, 255, .85);
  --on-dark-78: rgba(255, 255, 255, .78);
  --on-dark-75: rgba(255, 255, 255, .75);
  --on-dark-70: rgba(255, 255, 255, .7);
  --on-dark-66: rgba(255, 255, 255, .66);
  --on-dark-border: rgba(255, 255, 255, .45);
  --on-dark-chip: rgba(255, 255, 255, .4);
  --on-dark-30: rgba(255, 255, 255, .3);
  --on-dark-edge: rgba(255, 255, 255, .2);
  --on-dark-line: rgba(255, 255, 255, .12);
  --green-soft: rgba(76, 107, 60, .35);
  --serif: "Fraunces", "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --on-dark: #f8f5ef;
  --maxw: 1280px;
  --pad: clamp(20px, 5vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.7;
  font-weight: 400;
  overflow-x: clip;
  font-variant-numeric: tabular-nums;
}

img { max-width: 100%; display: block; }

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--brass); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -.01em;
  line-height: 1.08;
  margin: 0 0 .5em;
  overflow-wrap: break-word;
  min-width: 0;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); font-weight: 500; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); text-wrap: balance; }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.2; }
h4 { font-size: 1.08rem; line-height: 1.3; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--brass);
  margin: 0 0 .9em;
  display: flex;
  align-items: center;
  gap: .9em;
}
.eyebrow::before {
  content: "";
  width: 34px; height: 1px;
  background: var(--brass);
  flex: none;
}
.eyebrow.center { justify-content: center; }
.eyebrow.center::after { content: ""; width: 34px; height: 1px; background: var(--brass); }
.on-dark .eyebrow { color: var(--brass-2); }
.on-dark .eyebrow::before, .on-dark .eyebrow::after { background: var(--brass-2); }

.lede { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--ink-2); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* ---------- layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.wrap-wide { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
section { padding: clamp(64px, 9vw, 130px) 0; }
section.tight { padding: clamp(48px, 6vw, 84px) 0; }
.bg-paper { background: var(--paper); }
.bg-ivory2 { background: var(--ivory-2); }
.bg-navy { background: var(--navy); color: var(--on-dark-soft); }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--on-dark); }
.bg-navy a { color: var(--brass-2); }
.bg-navy a:hover { color: var(--on-dark); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

.split { display: grid; gap: clamp(32px, 6vw, 84px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.split.wide-left { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .split.wide-left { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }
.bleed-img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- header ---------- */
.topbar {
  background: var(--navy-ink);
  color: var(--on-dark-mute);
  font-size: .78rem;
  letter-spacing: .06em;
}
.topbar .wrap-wrap { display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 38px; }
.topbar a { color: var(--on-dark-link); }
.topbar a:hover { color: var(--brass-2); }
.topbar .tb-left { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar .tb-right { display: flex; gap: 18px; align-items: center; }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--ivory-90);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .3s, background .3s;
}
.site-header.scrolled { background: var(--ivory-97); box-shadow: 0 10px 30px -24px var(--veil-50); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: clamp(132px, 13vw, 168px); height: auto; }

.nav { display: none; list-style: none; margin: 0; padding: 0; }
@media (min-width: 1040px) {
  .nav { display: flex; align-items: center; gap: 4px; }
}
.nav > li > a, .nav .navbtn {
  font-size: .95rem; font-weight: 500; letter-spacing: .01em; text-transform: none;
  padding: 10px 13px; color: var(--navy); border-radius: 2px;
  background: none; border: 0; font-family: inherit; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav > li > a:hover, .nav .navbtn:hover { color: var(--brass); }
.nav .active > a { color: var(--brass); }
.nav .caret { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .25s; }
.nav .has-drop:hover > a .caret { transform: rotate(45deg) translateY(1px); }

/* animated underline for top-level links */
.nav > li { position: relative; }
.nav > li > a::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 1.5px;
  background: var(--brass); transform: scaleX(0); transform-origin: left;
  transition: transform .28s cubic-bezier(.2,0,.2,1);
}
.nav > li > a:hover::after, .nav > li.active > a::after { transform: scaleX(1); }

/* ---- mega menu ---- */
.nav .has-drop { position: relative; }
.nav .mega {
  position: absolute; top: 100%; left: 50%; z-index: 70;
  padding-top: 14px;
  transform: translate(-50%, 8px);
  transition: opacity .24s ease, transform .24s ease, visibility .24s;
}
html.js .nav .mega { opacity: 0; visibility: hidden; }
.nav .has-drop:hover .mega, .nav .has-drop:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav .mega-panel {
  background: var(--paper); border: 1px solid var(--line-soft); border-top: 2px solid var(--brass);
  box-shadow: 0 14px 20px -16px var(--veil-50); padding: 22px;
}
.mega-title { font-size: .78rem; letter-spacing: 0; text-transform: none; color: var(--brass); font-weight: 600; margin: 0 0 14px; }
.mega-all { display: flex; align-items: center; gap: .6em; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-soft); font-size: .82rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--navy); }
.mega-all::after { content: "→"; transition: transform .25s; }
.mega-all:hover { color: var(--brass); }
.mega-all:hover::after { transform: translateX(4px); }

.mega-services { width: min(680px, 90vw); }
.mega-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2px; }
.mega-link { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border-radius: 3px; transition: background .2s; text-transform: none; }
.mega-link strong { display: block; font-family: var(--serif); font-size: 1.02rem; font-weight: 600; color: var(--navy); line-height: 1.25; }
.mega-link span { font-size: .78rem; color: var(--brass); letter-spacing: 0; text-transform: none; font-weight: 500; }
.mega-link:hover { background: var(--ivory-2); }
.mega-link:hover strong { color: var(--brass); }
.mega-link:hover span { color: var(--muted); }

.mega-products { width: min(760px, 92vw); }
.mega-cards { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.mega-card { display: flex; gap: 14px; padding: 10px; border: 1px solid var(--line-soft); transition: background .2s, border-color .2s; }
.mega-card:hover { background: var(--ivory-2); border-color: var(--line); }
.mc-thumb { flex: none; width: 76px; height: 76px; overflow: hidden; background: var(--ivory-2); }
.mc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mc-body { display: flex; flex-direction: column; text-transform: none; }
.mc-body strong { font-family: var(--serif); font-size: 1.02rem; font-weight: 600; color: var(--navy); line-height: 1.2; margin-bottom: 3px; }
.mc-body span { font-size: .82rem; color: var(--muted); line-height: 1.35; }
.mega-card:hover .mc-body strong { color: var(--brass); }

.header-cta { display: none; }
@media (min-width: 1040px) { .header-cta { display: flex; gap: 10px; align-items: center; } }

.burger {
  display: inline-flex; flex-direction: column; gap: 5px; justify-content: center;
  width: 46px; height: 46px; padding: 0 12px; border: 1px solid var(--line);
  background: none; cursor: pointer;
}
@media (min-width: 1040px) { .burger { display: none; } }
.burger span { display: block; height: 1.5px; background: var(--navy); transition: .25s; }
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.drawer {
  position: fixed; inset: 0 0 0 auto; width: min(420px, 88vw); background: var(--paper);
  z-index: 200; transform: translateX(102%); transition: transform .38s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column; box-shadow: -20px 0 60px -30px var(--veil-60);
  overflow-y: auto;
}
.drawer.open { transform: none; }
.drawer .dh { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line-soft); }
.drawer .dh img { width: 128px; }
.drawer .close { background: none; border: 0; font-size: 1.7rem; line-height: 1; color: var(--navy); cursor: pointer; }
.drawer nav { padding: 12px 24px 32px; display: flex; flex-direction: column; }
.drawer nav a { padding: 13px 0; border-bottom: 1px solid var(--line-soft); font-size: 1.05rem; letter-spacing: .01em; text-transform: none; font-weight: 500; }
.drawer nav a.sub { text-transform: none; letter-spacing: .01em; padding-left: 16px; font-size: .95rem; color: var(--ink-3); font-weight: 400; }
.drawer .dcta { padding: 0 24px 28px; display: flex; flex-direction: column; gap: 12px; }
.scrim { position: fixed; inset: 0; background: var(--veil-50); opacity: 0; visibility: hidden; transition: .3s; z-index: 190; }
.scrim.open { opacity: 1; visibility: visible; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font-family: var(--sans); font-size: .92rem; font-weight: 600; letter-spacing: .01em;
  text-transform: none; padding: 15px 28px; border: 1px solid var(--navy);
  background: var(--navy); color: var(--on-dark); cursor: pointer; transition: .25s ease;
}
.btn:hover { background: var(--navy-2); color: var(--on-dark); border-color: var(--navy-2); }
.btn.ghost { background: transparent; color: var(--navy); }
.btn.ghost:hover { background: var(--navy); color: var(--on-dark); }
.btn.brass { background: var(--brass); border-color: var(--brass); color: var(--navy-ink); }
.btn.brass:hover { background: var(--brass-dark); border-color: var(--brass-dark); color: var(--navy-ink); }
.btn.light { background: transparent; border-color: var(--on-dark-border); color: var(--on-dark); }
.btn.light:hover { background: var(--paper); color: var(--navy); border-color: var(--paper); }
.btn.sm { padding: 11px 20px; font-size: .84rem; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn.wa svg { width: 16px; height: 16px; }

.link-arrow { font-size: .86rem; font-weight: 600; letter-spacing: .01em; text-transform: none; color: var(--navy); display: inline-flex; align-items: center; gap: .55em; }
.link-arrow::after { content: "→"; transition: transform .25s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 0; overflow: hidden; background: var(--ivory-2); }
.hero .grid { display: grid; }
@media (min-width: 960px) { .hero .grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); min-height: min(88svh, 820px); } }
.hero .copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(56px, 8vw, 96px) var(--pad); max-width: 720px; margin-left: auto; width: 100%; }
.hero .media { position: relative; min-height: 320px; }
.hero .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2em; }
.hero .stats { display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 52px); margin-top: clamp(36px, 5vw, 60px); padding-top: 28px; border-top: 1px solid var(--line); }
.stat .n { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--navy); line-height: 1; }
.stat .l { font-size: .82rem; letter-spacing: 0; text-transform: none; color: var(--muted); margin-top: 8px; }

.page-hero { position: relative; background: var(--navy-ink); color: var(--on-dark); padding: clamp(70px, 9vw, 128px) 0; overflow: hidden; }
.page-hero .hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .34; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, var(--veil-92) 0%, var(--veil-72) 48%, var(--veil-35) 100%); }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: var(--on-dark); margin-bottom: .35em; max-width: 60ch; }
.page-hero p { color: var(--on-dark-78); max-width: 62ch; }
.crumbs { font-size: .82rem; letter-spacing: 0; text-transform: none; color: var(--brass-2); margin-bottom: 22px; }
.crumbs a { color: var(--on-dark-75); }
.crumbs span { opacity: .5; margin: 0 .6em; }

/* ---------- marquee strip ---------- */
.strip { background: var(--navy-ink); color: var(--on-dark-link); padding: 18px 0; overflow: hidden; }
.strip .row { display: flex; gap: clamp(28px, 6vw, 72px); justify-content: center; flex-wrap: wrap; font-size: .84rem; letter-spacing: 0; text-transform: none; }
.strip .row span { display: inline-flex; align-items: center; gap: 10px; }
.strip .row span::before { content: "◆"; color: var(--brass); font-size: .6rem; }

/* ---------- cards ---------- */
.grid-3 { display: grid; gap: clamp(20px, 3vw, 34px); }
@media (min-width: 700px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1020px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.grid-4 { display: grid; gap: clamp(18px, 2.4vw, 30px); }
@media (min-width: 620px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1020px) { .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.card { background: var(--paper); border: 1px solid var(--line-soft); display: flex; flex-direction: column; transition: .3s ease; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card .thumb { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--ivory-2); }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,0,.2,1); }
.card .body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.card .body p { color: var(--muted); font-size: .96rem; }
.card .body .link-arrow { margin-top: auto; padding-top: 18px; }
.card .num { font-family: var(--serif); font-size: .95rem; color: var(--brass); letter-spacing: .1em; margin-bottom: 12px; }

/* why-choose */
.why { display: grid; gap: clamp(24px, 3vw, 40px); }
@media (min-width: 700px) { .why { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (min-width: 1040px) { .why { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.why .item { border-top: 2px solid var(--brass); padding-top: 22px; }
.why .item .idx { font-size: .82rem; letter-spacing: 0; color: var(--brass); text-transform: none; font-weight: 600; }
.why .item h3 { font-size: 1.2rem; margin: 14px 0 10px; }
.why .item p { font-size: .95rem; color: var(--muted); }

/* ---------- feature lists ---------- */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 700px) { .ticks.two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 34px; } }
.ticks li { position: relative; padding-left: 30px; font-size: .97rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 12px; height: 7px; border-left: 1.5px solid var(--brass); border-bottom: 1.5px solid var(--brass);
  transform: rotate(-45deg);
}
.bg-navy .ticks li::before { border-color: var(--brass-2); }

/* ---------- product ranges ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip { font-size: .8rem; letter-spacing: 0; text-transform: none; color: var(--navy); border: 1px solid var(--line); padding: 6px 13px; border-radius: 999px; background: var(--on-dark-chip); }
.spec-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); margin-top: clamp(34px, 4vw, 56px); }
@media (min-width: 760px) { .spec-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.spec { background: var(--paper); padding: 20px 22px; }
.spec span { display: block; font-size: .78rem; letter-spacing: 0; text-transform: none; color: var(--brass); font-weight: 600; margin-bottom: 9px; }
.spec strong { display: block; font-family: var(--serif); font-weight: 600; font-size: .98rem; line-height: 1.35; color: var(--navy); }
.subhead { margin-top: clamp(38px, 5vw, 64px); margin-bottom: clamp(20px, 3vw, 30px); }
.range-num, .stat .n, .stat .l, .card .num, .figure-media .caption, .gal figure figcaption { font-variant-numeric: tabular-nums; }
.range-num { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(2.6rem, 6vw, 4rem); line-height: .9; color: var(--brass-2); margin-bottom: .12em; }
.subgrid { display: grid; gap: clamp(16px, 2.2vw, 24px); }
@media (min-width: 760px) { .subgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.subcard { background: var(--paper); border: 1px solid var(--line-soft); padding: 26px 28px; transition: .3s ease; }
.subcard:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--line); }
.subcard h4 { margin-bottom: .45em; }
.subcard p { color: var(--muted); font-size: .95rem; margin: 0; }
.range-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 16px); margin-top: clamp(34px, 4vw, 56px); }
.range-strip .rs-item { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--ivory-2); }
.range-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,0,.2,1); }

.range-strip .rs-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 16px 13px;
  background: linear-gradient(transparent, var(--veil-72)); color: var(--on-dark);
  font-size: .78rem; letter-spacing: 0; text-transform: none;
}
@media (max-width: 560px) { .range-strip { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .range-strip .rs-item:last-child { display: none; } }

/* ---------- media figure ---------- */
.figure-media { position: relative; }
.figure-media img { width: 100%; height: 100%; object-fit: cover; }
.figure-media.tall img { aspect-ratio: 4 / 5; }
.figure-media.wide img { aspect-ratio: 16 / 10; }
.figure-media .caption { font-size: .86rem; color: var(--muted); margin-top: 12px; letter-spacing: 0; }
.frame-mounted { position: relative; }
.frame-mounted::before {
  content: ""; position: absolute; inset: -16px -16px 16px 16px; border: 1px solid var(--brass); z-index: -1;
}

/* ---------- gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(26px, 4vw, 42px); }
.filters button {
  font-family: var(--sans); font-size: .82rem; font-weight: 500; letter-spacing: .01em; text-transform: none;
  padding: 10px 16px; border: 1px solid var(--line); background: transparent; color: var(--ink-3); cursor: pointer; transition: .2s;
}
.filters button:hover { border-color: var(--navy); color: var(--navy); }
.filters button.active { background: var(--navy); border-color: var(--navy); color: var(--on-dark); }

.gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: clamp(12px, 1.6vw, 22px); }
.gal figure { margin: 0; position: relative; cursor: zoom-in; background: var(--ivory-2); overflow: hidden; }
.gal figure img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .8s cubic-bezier(.2,0,.2,1); }

.gal figure figcaption {
  position: absolute; inset: auto 0 0 0; padding: 26px 16px 14px; color: var(--on-dark); font-size: .82rem;
  letter-spacing: 0; text-transform: none; background: linear-gradient(to top, var(--veil-85), transparent);
  transition: .3s;
}
html.js .gal figure figcaption { opacity: 0; transform: translateY(8px); }
.gal figure:hover figcaption, html.js .gal figure:hover figcaption { opacity: 1; transform: none; }
.gal figure.hide { display: none; }

.lightbox { position: fixed; inset: 0; background: var(--veil-94); z-index: 300; display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; box-shadow: 0 30px 90px -30px var(--shade-90); }
.lightbox .lb-cap { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; color: var(--on-dark-75); font-size: .86rem; letter-spacing: 0; text-transform: none; }
.lightbox .lb-btn { position: absolute; background: none; border: 1px solid var(--on-dark-30); color: var(--on-dark); width: 52px; height: 52px; font-size: 1.4rem; cursor: pointer; display: grid; place-items: center; transition: .2s; }
.lightbox .lb-btn svg { width: 20px; height: 20px; }
.lightbox .lb-btn:hover { background: var(--paper); color: var(--navy); }
.lightbox .lb-prev { left: 3vw; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 3vw; top: 50%; transform: translateY(-50%); }
.lightbox .lb-close { top: 22px; right: 3vw; }

/* ---------- accordion / faq ---------- */
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary {
  cursor: pointer; padding: 22px 44px 22px 0; position: relative; list-style: none;
  font-family: var(--serif); font-size: 1.15rem; color: var(--navy); font-weight: 600;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); color: var(--brass); font-size: 1.5rem; font-family: var(--sans); }
.acc details[open] summary::after { content: "–"; }
.acc .acc-body { padding: 0 0 24px; color: var(--ink-3); font-size: .98rem; max-width: 78ch; }

/* ---------- prose ---------- */
.prose { max-width: 74ch; }
.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: 1.5em; }
.prose ul { padding-left: 1.1em; }
.prose li { margin-bottom: .5em; }
.prose .lead-in { font-size: 1.1rem; color: var(--ink-2); }

.sidebar { position: sticky; top: 110px; }
.svc-nav { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc-nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.svc-nav a.active { color: var(--brass); font-weight: 600; }

.layout-aside { display: grid; gap: clamp(34px, 5vw, 72px); }
@media (min-width: 980px) { .layout-aside { grid-template-columns: 1fr 320px; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: clamp(30px, 5vw, 64px); }
@media (min-width: 940px) { .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: .86rem; letter-spacing: 0; text-transform: none; color: var(--muted); margin-bottom: 9px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); background: var(--paper);
  font-family: inherit; font-size: 1rem; color: var(--ink); border-radius: 0;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brass-2); outline-offset: -1px; }
.field textarea { min-height: 130px; resize: vertical; }
.field :disabled { opacity: .55; cursor: not-allowed; }
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.info-list .k { font-size: .86rem; letter-spacing: 0; text-transform: none; font-weight: 600; color: var(--brass); width: 118px; flex: none; padding-top: 3px; }
.info-list .v { font-size: .98rem; }
.map-embed { border: 1px solid var(--line); aspect-ratio: 16/11; width: 100%; filter: grayscale(.2); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-ink); color: var(--on-dark-66); padding: clamp(56px, 7vw, 92px) 0 0; }
.site-footer h3 { color: var(--on-dark); font-size: 1.05rem; letter-spacing: 0; text-transform: none; font-family: var(--serif); font-weight: 600; margin-bottom: 18px; }
.site-footer a { color: var(--on-dark-70); font-size: .93rem; }
.site-footer a:hover { color: var(--brass-2); }
.foot-grid { display: grid; gap: clamp(30px, 4vw, 56px); }
@media (min-width: 720px) { .foot-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); } }
@media (min-width: 1040px) { .foot-grid { grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr); } }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.site-footer .brand img { width: 168px; filter: brightness(0) invert(1); opacity: .95; }
.foot-bottom { margin-top: clamp(40px, 5vw, 70px); border-top: 1px solid var(--on-dark-line); padding: 26px 0; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; font-size: .82rem; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 40px; height: 40px; border: 1px solid var(--on-dark-edge); display: grid; place-items: center; }
.socials a:hover { background: var(--brass); border-color: var(--brass); color: var(--navy-ink); }
.socials svg { width: 17px; height: 17px; }

/* ---------- floating whatsapp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 120;
  width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: var(--on-dark);
  display: grid; place-items: center; box-shadow: 0 14px 34px -12px var(--shade-50);
}
.wa-float:hover { color: var(--on-dark); transform: translateY(-2px); }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- reveal ---------- */
.reveal { transition: opacity .8s ease, transform .8s cubic-bezier(.2,0,.2,1); }
html.js .reveal { opacity: 0; transform: translateY(22px); }
html.js .reveal.in { opacity: 1; transform: none; }
/* when JS is unavailable, never hide content */
html:not(.js) .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- misc ---------- */
::selection { background: var(--brass); color: var(--navy-ink); }
:root { scrollbar-color: var(--brass) var(--ivory-2); }
body { caret-color: var(--navy); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; }
.maxw-60 { max-width: 60ch; }
.maxw-70 { max-width: 70ch; }
.mx-auto { margin-left: auto; margin-right: auto; }
.head-row { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; justify-content: space-between; margin-bottom: clamp(32px, 4vw, 52px); }
.head-row .maxw-60 { margin-bottom: 0; }
.badge { display: inline-block; font-size: .82rem; letter-spacing: 0; text-transform: none; color: var(--green); border: 1px solid var(--green-soft); padding: 5px 12px; }
