/* ============================================================
   Design Alley — brand tokens (DA Brand Guidelines)
   ============================================================ */
:root {
  --white: #ffffff;
  --cream: #fef9f1;
  --black: #241f21;
  --slate: #5a676e;

  --font: "Jost", "Agenda", "Helvetica Neue", Arial, sans-serif;
  --serif: "Newsreader", "Times New Roman", Georgia, serif;

  /* Brand-faithful MONOCHROME accent (DA guidelines: white/cream/black/slate only).
     --accent: slate — large display accents, numerals, rules (≥3:1 large on light).
     --accent-ink: darker slate for SMALL label text on light bg (≥4.5:1 AA).
     --accent-soft: light slate for text/accents on dark surfaces.
     --accent-warm: the ONE warm tone, used ONLY on the floating menu circle. */
  --accent: #5a676e;
  --accent-ink: #444f56;
  --accent-soft: #ced5da; /* light slate for text on dark — ≥4.5:1 on black */
  --accent-warm: #c8852f;

  --drawer-h: 450px;
  --drawer-ease: cubic-bezier(0.45, 0.02, 0.09, 0.98);
  --drawer-dur: 0.65s;

  --pad: clamp(20px, 3.5vw, 50px);

  /* logo colors — inherit into the SVG <use> shadow tree */
  --logo-wm: var(--slate);
  --logo-mk: var(--black);

  /* keyboard focus ring — slate by default; flips to cream on dark routes */
  --focus-ring: var(--black);
}

/* Visible keyboard focus indicators (ui-ux-pro-max §1 focus-states, High).
   Only for keyboard users — mouse clicks stay clean via :focus-visible. */
.menu-toggle:focus-visible,
.logo:focus-visible,
.drawer-list a:focus-visible,
.follow a:focus-visible,
.btn:focus-visible,
.btn-solid:focus-visible,
.btn-accent:focus-visible,
.link-cta:focus-visible,
.article-link:focus-visible,
.qchip:focus-visible,
.qfield button:focus-visible,
.qann-tool:focus-visible,
.contact-social a:focus-visible,
.skip-link:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: 4px;
}
.menu-toggle:focus-visible { border-radius: 50%; }
.logo:focus-visible { border-radius: 999px; }
/* dark routes need a light focus ring for 3:1 */
body[data-route="process"],
body[data-route="blogs"] { --focus-ring: var(--cream); }

/* skip link — visible only on keyboard focus */
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 200;
  transform: translateY(-150%);
  padding: 10px 16px; background: var(--black); color: var(--cream);
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em; border-radius: 6px;
  transition: transform 0.2s var(--drawer-ease);
}
.skip-link:focus-visible { transform: translateY(0); }

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

html, body { height: 100%; }

body {
  font-family: var(--font);
  font-weight: 400;
  background: var(--white);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
  overflow: hidden; /* navigation through menu only — no body scroll */
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

/* ============================================================
   Loader
   ============================================================ */
.loader {
  position: fixed; inset: 0;
  background: var(--black);
  z-index: 100;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.9s var(--drawer-ease);
}

.loader.done { transform: translateY(-100%); }

.loader-inner { text-align: center; color: var(--cream); }

/* loader: logo + divider + tagline, all emerging from the centre line */
.loader { --logo-wm: var(--cream); --logo-mk: var(--cream); }

.loader-lockup {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
}

/* divider grows first */
.loader-divider {
  width: 1px; align-self: stretch; min-height: clamp(72px, 10vw, 124px);
  background: rgba(254, 249, 241, 0.45);
  transform: scaleY(0); transform-origin: center;
  animation: lineIn 0.5s var(--drawer-ease) forwards;
}

/* logo slides out to the LEFT from the line */
.loader-logo { overflow: hidden; display: flex; }
.loader-logo svg {
  width: clamp(230px, 28vw, 380px); height: auto; display: block;
  transform: translateX(110%);
  animation: lockOut 0.9s var(--drawer-ease) 0.5s forwards;
}

/* tagline slides out to the RIGHT from the line */
.loader-tag { overflow: hidden; }
.loader-tag-in {
  display: block;
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 36px);
  font-weight: 500; line-height: 1.3;
  letter-spacing: 0.04em;
  color: var(--cream); text-align: left;
  transform: translateX(-110%);
  animation: lockOut 0.9s var(--drawer-ease) 0.5s forwards;
}

@keyframes lineIn { to { transform: scaleY(1); } }
@keyframes lockOut { to { transform: translateX(0); } }

.loader-word {
  font-size: clamp(30px, 4.4vw, 54px);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
  overflow: hidden;
}

.loader-word span { color: var(--slate); margin-left: 0.35em; }

.loader-sub {
  margin-top: 14px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--slate);
  animation: subIn 1.1s 0.35s var(--drawer-ease) both;
}

@keyframes subIn { from { opacity: 0; } to { opacity: 1; } }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  padding: 26px var(--pad);
  z-index: 40;
  pointer-events: none;
}

.logo { pointer-events: auto; display: inline-block; position: relative; }

/* matching translucent glass backdrop behind the wordmark */
.logo::before {
  content: "";
  position: absolute;
  inset: -12px -22px;
  border-radius: 999px;
  background: rgba(36, 31, 33, 0.05);
  border: 1px solid rgba(36, 31, 33, 0.09);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  transition: background 0.4s var(--drawer-ease),
              border-color 0.4s var(--drawer-ease);
  pointer-events: none;
}

.logo-svg { width: clamp(150px, 13vw, 196px); height: auto; display: block; position: relative; }

/* dark page (blogs) → light logo + light glass behind it */
body[data-route="blogs"] { --logo-mk: var(--cream); }
body[data-route="blogs"] .logo::before {
  background: rgba(254, 249, 241, 0.10);
  border-color: rgba(254, 249, 241, 0.22);
}

/* ============================================================
   Page system — only the active page is shown
   ============================================================ */
#pages { height: 100%; }

.page {
  position: fixed; inset: 0;
  visibility: hidden;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--drawer-dur) var(--drawer-ease),
              transform var(--drawer-dur) var(--drawer-ease),
              visibility 0s linear var(--drawer-dur);
}

.page.active {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity var(--drawer-dur) var(--drawer-ease),
              transform var(--drawer-dur) var(--drawer-ease);
}

/* inner scroll only where content overflows */
.page-scroll {
  height: 100%;
  overflow-y: auto;
  padding: clamp(110px, 16vh, 160px) var(--pad) 160px;
  scrollbar-width: thin;
}

/* ============================================================
   HOME — showreel left / copy right (reference layout)
   ============================================================ */
.page-home { background: var(--white); }

.hero-split {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* --- left half: auto-playing reel --- */
.reel {
  position: relative;
  overflow: hidden;
  background: var(--black);
  transition: background 1.1s var(--drawer-ease);
}

.reel-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 1s var(--drawer-ease);
}

.reel-slide.is-active { opacity: 1; }

.reel-photo img {
  width: 76%;
  max-height: 74%;
  object-fit: cover;
  box-shadow: 0 30px 80px rgba(22, 19, 20, 0.35);
  animation: reelDrift 7s ease-in-out infinite alternate;
}

@keyframes reelDrift {
  from { transform: scale(1) translateY(0); }
  to   { transform: scale(1.045) translateY(-10px); }
}

.reel-3d canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.reel-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.reel-hint {
  position: absolute;
  left: 28px; bottom: 26px;
  color: var(--cream);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  opacity: 0.75;
}

/* --- right half: copy --- */
.hero-copy {
  display: flex; flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(40px, 6vh, 80px) clamp(20px, 3vw, 60px) 120px;
}

/* home logo: top-right of the copy column, in normal flow so the headline starts
   below it (no overlap). header logo hidden on home. */
.hero-logo { align-self: flex-end; display: inline-block; }
.hero-logo svg { width: clamp(140px, 10vw, 178px); height: auto; display: block; }
body[data-route="home"] .site-header { display: none; }

.hero-copy-main {
  margin: auto 0;
  display: flex; flex-direction: column; align-items: center;
}

.hero-kicker {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  line-height: 1.5;
  margin-bottom: clamp(20px, 3.4vh, 44px);
}

.hero-headline {
  font-size: clamp(46px, 6vw, 96px);
  line-height: 0.88;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -0.015em;
}

.hero-headline .line { display: block; overflow: hidden; }
.hero-headline .line > span {
  display: block;
  transform: translateY(110%);
}

body.ready .hero-headline .line > span { animation: rise 0.9s var(--drawer-ease) forwards; }
body.ready .hero-headline .line:nth-child(2) > span { animation-delay: 0.07s; }
body.ready .hero-headline .line:nth-child(3) > span { animation-delay: 0.14s; }
body.ready .hero-headline .line:nth-child(4) > span { animation-delay: 0.21s; }

@keyframes rise { to { transform: translateY(0); } }

.hero-para {
  max-width: 380px;
  margin-top: clamp(20px, 3.4vh, 44px);
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.45;
  font-weight: 300;
}

.btn-row { display: inline-flex; border: 1px solid var(--black); margin-top: clamp(24px, 4vh, 48px); }

.btn {
  padding: 16px 28px;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: background 0.3s, color 0.3s;
}

.btn + .btn { border-left: 1px solid var(--black); }
.btn:hover { background: var(--black); color: var(--cream); }

/* mobile-only hero piece: top-left logo (hidden on desktop) */
.hero-logo-m { display: none; }

/* --- home becomes a scroll surface: hero (full screen) + proof + paths --- */
.home-scroll { padding: 0; }
/* min-height (not fixed height) so the hero grows when the copy column is taller
   than the viewport — otherwise the video overflows onto the stats strip below */
.home-scroll .hero-split { min-height: 100%; height: auto; }
.hero-copy { position: relative; }

.hero-scroll-cue {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  font-size: 10px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--accent-ink); opacity: 0.7;
  transition: opacity 0.3s var(--drawer-ease);
}
.hero-scroll-cue::after {
  content: ""; display: block; width: 1px; height: 22px; margin: 8px auto 0;
  background: currentColor; opacity: 0.5;
}

/* proof strip — animated count-up, monochrome */
.proof-strip {
  background: var(--cream);
  border-top: 1px solid color-mix(in srgb, var(--black) 12%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--black) 12%, transparent);
  padding: clamp(28px, 5vh, 54px) var(--pad);
}
.proof-row {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: clamp(18px, 2.4vw, 40px);
  max-width: 1280px; margin: 0 auto;
}
.proof-item { display: flex; flex-direction: column; gap: 8px; text-align: center; }
.proof-num {
  font-family: var(--serif); font-weight: 500; line-height: 1;
  font-size: clamp(28px, 3.1vw, 44px); color: var(--black);
  font-variant-numeric: tabular-nums;
}
.proof-num-text { font-size: clamp(20px, 2.1vw, 30px); }
.proof-lab {
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent-ink);
}

/* dual-path selector — B2C / B2B */
.home-paths {
  max-width: 1280px; margin: 0 auto;
  padding: clamp(60px, 10vh, 120px) var(--pad) clamp(84px, 13vh, 150px);
}
.paths-head { display: flex; flex-direction: column; gap: 18px; margin-bottom: clamp(34px, 5vh, 60px); }
.paths-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2vw, 28px); }
.path-card {
  display: flex; flex-direction: column; gap: 14px;
  padding: clamp(28px, 3vw, 48px);
  border: 1px solid color-mix(in srgb, var(--black) 16%, transparent);
  background: var(--white);
  transition: transform 0.4s var(--drawer-ease), box-shadow 0.4s var(--drawer-ease), border-color 0.4s;
}
.path-card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(36, 31, 33, 0.10); border-color: var(--black); }
.path-card:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; }
.path-card-dark { background: var(--black); color: var(--cream); border-color: var(--black); }
.path-card-dark:hover { box-shadow: 0 24px 60px rgba(36, 31, 33, 0.42); }
.path-tag {
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-ink);
}
.path-card-dark .path-tag { color: var(--accent-soft); }
.path-title { font-family: var(--serif); font-weight: 500; line-height: 1.05; font-size: clamp(24px, 2.4vw, 34px); }
.path-desc { max-width: 44ch; font-size: clamp(15px, 1.1vw, 17px); line-height: 1.55; font-weight: 300; }
.path-card-dark .path-desc { color: color-mix(in srgb, var(--cream) 82%, transparent); }
.path-cta {
  margin-top: auto; padding-top: 10px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
}
.path-cta span { transition: transform 0.3s var(--drawer-ease); }
.path-card:hover .path-cta span { transform: translateX(5px); }

/* About H.I.M.A band (home dual-path) */
.hima-intro {
  margin-top: clamp(18px, 2vw, 28px);
  display: grid; grid-template-columns: auto 1fr; gap: clamp(18px, 2.4vw, 32px);
  align-items: start;
  padding: clamp(24px, 3vw, 44px);
  background: color-mix(in srgb, var(--white) 70%, transparent);
  border: 1px solid color-mix(in srgb, var(--black) 12%, transparent);
  border-radius: 8px;
}
.hima-intro-ico { width: clamp(34px, 3.4vw, 46px); height: auto; aspect-ratio: 1; color: var(--accent); flex: 0 0 auto; }
.hima-intro-title { font-size: clamp(22px, 2.4vw, 34px); font-weight: 600; }
.hima-intro-body p { margin: 12px 0 16px; max-width: 60ch; font-size: clamp(14px, 1.1vw, 16px); line-height: 1.55; font-weight: 300; color: color-mix(in srgb, var(--black) 72%, transparent); }
.hima-intro .path-cta { color: var(--accent-ink); }
@media (max-width: 600px) { .hima-intro { grid-template-columns: 1fr; } }

/* --- right column: 3D logo + showreel --- */
/* ============================================================
   Shared section bits
   ============================================================ */
/* ---- shared editorial components (eyebrow / serif display / lead / CTAs) ---- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent-ink);
}
.eyebrow-rule { display: inline-block; width: 34px; height: 1px; background: currentColor; opacity: 0.7; }
.eyebrow-light { color: var(--accent-soft); }

/* BiA-style display title: massive grotesk, all-caps, tight leading, monochrome.
   One word may be set as a serif italic for editorial contrast. */
.display-title {
  font-family: var(--font);
  font-weight: 600;
  font-size: clamp(34px, 8vw, 124px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-top: 22px;
}
.display-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  text-transform: none;
  letter-spacing: -0.01em;
  color: var(--accent);
}

/* H.I.M.A name with its "Home Interiors Managing AI" expansion beside it
   (small, muted, consistent everywhere it appears) */
.hima { display: inline-flex; align-items: baseline; gap: 0.55em; flex-wrap: wrap; }
.hima-full {
  font-family: var(--font);
  font-size: clamp(10px, 0.85vw, 13px);
  font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: color-mix(in srgb, currentColor 55%, transparent);
  white-space: nowrap;
}

/* serif lead paragraph — BiA's signature supporting copy */
.lead {
  max-width: 40ch;
  margin-top: clamp(22px, 2.8vh, 34px);
  font-family: var(--serif);
  font-size: clamp(19px, 1.5vw, 26px);
  line-height: 1.45;
  font-weight: 400;
  color: color-mix(in srgb, var(--black) 82%, transparent);
}
.lead-light { color: color-mix(in srgb, var(--cream) 82%, transparent); }

/* underline-grow text link */
.link-cta {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: clamp(24px, 3.5vh, 40px);
  font-size: 14px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--black);
  position: relative;
}
.link-cta span { transition: transform 0.3s var(--drawer-ease); }
.link-cta::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--drawer-ease);
}
.link-cta:hover::after { transform: scaleX(1); }
.link-cta:hover span { transform: translateX(5px); }

/* solid pill button */
.btn-solid {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 30px;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--black); color: var(--cream);
  border: 1px solid var(--black);
  transition: background 0.3s, color 0.3s, transform 0.3s var(--drawer-ease);
}
.btn-solid span { transition: transform 0.3s var(--drawer-ease); }
.btn-solid:hover { background: transparent; color: var(--black); }
.btn-solid:hover span { transform: translateX(5px); }
.btn-accent { background: var(--black); border-color: var(--black); color: var(--cream); }
.btn-accent:hover { background: transparent; color: var(--black); }

/* ============================================================
   WORKS — staggered parallax case gallery (reference: BiA /cases)
   ============================================================ */
.page-works { background: var(--white); }

.works-scroll { padding: clamp(96px, 13vh, 140px) clamp(20px, 3.5vw, 50px) 130px; }

.works-bar {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 0 2px 16px;
  border-bottom: 1px solid color-mix(in srgb, var(--black) 14%, transparent);
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
}
.works-label { color: var(--black); font-weight: 600; }
.works-count { color: var(--slate); }

.works-note { margin: 18px 2px clamp(30px, 4vh, 48px); font-size: 13.5px; letter-spacing: 0.02em; color: color-mix(in srgb, var(--black) 58%, transparent); }
.works-note em { font-style: italic; font-family: var(--serif); font-size: 1.2em; color: var(--black); }

.cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.2vw, 40px) clamp(18px, 1.8vw, 30px);
  align-items: start;
}

.case { display: block; }

/* before/after comparison slider */
.cmp {
  --pos: 50%;
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 3;                 /* landscape reads better for interiors + L/R wipe */
  background: var(--cream);
  border-radius: 4px;
  touch-action: pan-y;                 /* allow vertical page scroll; range handles horizontal */
}
.cmp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.cmp-built { z-index: 1; }
.cmp-design { z-index: 2; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }

/* lighter, calmer chrome — labels fade up, only assertive on hover/focus */
.cmp-tag {
  position: absolute; top: 14px; z-index: 3;
  padding: 4px 10px;
  font-size: 9.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cream); background: color-mix(in srgb, var(--black) 42%, transparent);
  border-radius: 999px; pointer-events: none;
  opacity: 0.55; transition: opacity 0.3s var(--drawer-ease);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.cmp-tag-l { left: 14px; }
.cmp-tag-r { right: 14px; }
.case:hover .cmp-tag, .cmp:focus-within .cmp-tag { opacity: 1; }

.cmp-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 3;
  width: 2px; margin-left: -1px; background: var(--cream);
  box-shadow: 0 0 0 1px rgba(20,16,17,0.22); pointer-events: none;
}
.cmp-handle::before {           /* round knob */
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--cream); box-shadow: 0 2px 10px rgba(20,16,17,0.28);
  transition: transform 0.25s var(--drawer-ease);
}
.case:hover .cmp-handle::before { transform: translate(-50%, -50%) scale(1.1); }
.cmp-handle::after {            /* ⟷ grip hint */
  content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-size: 13px; font-weight: 700; color: var(--black);
}

.cmp-range {
  position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0;
  -webkit-appearance: none; appearance: none; background: transparent; cursor: ew-resize; opacity: 0;
}
.cmp-range::-webkit-slider-thumb { -webkit-appearance: none; width: 46px; height: 100%; cursor: ew-resize; }
.cmp-range::-moz-range-thumb { width: 46px; height: 100%; border: 0; background: transparent; cursor: ew-resize; }
.cmp:focus-within .cmp-handle::before { outline: 3px solid var(--focus-ring); outline-offset: 2px; }

.case-cap { padding: 14px 2px 0; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 2px; align-items: baseline; }
.case-num { grid-row: 1 / span 2; font-family: var(--serif); font-style: italic; font-size: clamp(20px, 1.7vw, 28px); line-height: 1; color: var(--accent); }
.case-flag { grid-column: 2; font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-ink); }
.case-name { grid-column: 2; font-size: clamp(15px, 1.15vw, 18px); font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; color: var(--black); line-height: 1.1; }
.case-desc { grid-column: 2; font-size: clamp(12px, 0.9vw, 14px); font-weight: 300; color: color-mix(in srgb, var(--black) 60%, transparent); line-height: 1.35; }

/* ============================================================
   SERVICES — editorial: sticky intro + illustrated index
   ============================================================ */
.page-services { background: var(--white); }

.svc-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(40px, 6vw, 110px);
  align-items: start;
}

.svc-intro { position: sticky; top: 0; }

.svc-index { border-top: 1px solid color-mix(in srgb, var(--black) 16%, transparent); }

.svc {
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: clamp(14px, 2vw, 34px);
  align-items: center;
  padding: clamp(22px, 3vh, 34px) 6px;
  border-bottom: 1px solid color-mix(in srgb, var(--black) 16%, transparent);
  transition: padding-left 0.4s var(--drawer-ease);
}
.svc::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--accent);
  transform: scaleY(0); transform-origin: top;
  transition: transform 0.4s var(--drawer-ease);
}
.svc:hover { padding-left: 22px; }
.svc:hover::before { transform: scaleY(1); }

.svc-idx {
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 500; font-style: italic;
  color: var(--accent);
  line-height: 1;
}

.svc-name {
  font-size: clamp(22px, 2.4vw, 36px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.01em;
}
.svc-desc {
  margin-top: 8px;
  font-size: 14.5px; line-height: 1.5; font-weight: 300; max-width: 42ch;
  color: color-mix(in srgb, var(--black) 70%, transparent);
}

.svc-thumb {
  width: clamp(120px, 13vw, 200px);
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border-radius: 3px;
  filter: grayscale(1);
  opacity: 0.86;
  transition: filter 0.45s var(--drawer-ease), opacity 0.45s var(--drawer-ease), transform 0.6s var(--drawer-ease);
}
.svc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc:hover .svc-thumb { filter: grayscale(0); opacity: 1; transform: scale(1.03); }

/* ============================================================
   PROCESS — light horizontal stepper with a progress rail
   ============================================================ */
.page-process { background: var(--cream); }
.page-blogs .display-title em { color: var(--accent-soft); }

.proc-head { margin-bottom: clamp(44px, 8vh, 90px); }

.stepper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.step {
  position: relative;
  border-top: 2px solid color-mix(in srgb, var(--black) 18%, transparent);
  padding: clamp(28px, 3.5vh, 48px) clamp(22px, 2.4vw, 46px) 0 0;
}
/* progress node sitting on the rail */
.step::before {
  content: ""; position: absolute; top: -7px; left: 0;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--cream);
}
.step-top { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.step-n {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(42px, 4.6vw, 76px); line-height: 0.8; color: var(--accent);
}
.step-pay {
  flex-shrink: 0;
  padding: 6px 13px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent-ink);
  border: 1px solid color-mix(in srgb, var(--black) 26%, transparent);
  border-radius: 999px;
}
.step-title {
  margin-top: clamp(20px, 2.4vh, 30px);
  font-size: clamp(20px, 2vw, 30px); font-weight: 500; line-height: 1.08; letter-spacing: -0.01em;
}
.step-desc {
  margin-top: 12px;
  font-size: clamp(14px, 1vw, 16px); line-height: 1.55; font-weight: 300; max-width: 34ch;
  color: color-mix(in srgb, var(--black) 72%, transparent);
}
.step-when {
  display: inline-block; margin-top: 18px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent-ink);
}

/* inverse black CTA band — contrast against the light page */
.proc-cta {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
  margin-top: clamp(56px, 9vh, 110px);
  padding: clamp(32px, 4vw, 56px);
  background: var(--black); color: var(--cream);
  border-radius: 8px;
}
.proc-cta p {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 500; line-height: 1.15; max-width: 22ch; color: var(--cream);
}
.page-process .btn-solid { background: var(--cream); border-color: var(--cream); color: var(--black); }
.page-process .btn-solid:hover { background: transparent; border-color: var(--cream); color: var(--cream); }

/* ============================================================
   WHY US — stats-led bento grid
   ============================================================ */
.page-why { background: var(--cream); }

/* the old free-floating 3D backdrop hurt legibility — retired */
.why3d { display: none; }

.why-head { margin-bottom: clamp(36px, 6vh, 64px); }

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 1.2vw, 18px);
}

/* hero stat tiles */
.bento-stat {
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: clamp(118px, 13vw, 150px);
  padding: clamp(18px, 2vw, 26px);
  background: var(--white);
  border: 1px solid color-mix(in srgb, var(--black) 12%, transparent);
  border-radius: 6px;
  transition: transform 0.4s var(--drawer-ease), box-shadow 0.4s var(--drawer-ease);
}
.bento-stat:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(36,31,33,0.10); }
.bento-stat.accent { background: var(--black); color: var(--cream); border-color: var(--black); }

.stat-num {
  font-family: var(--serif);
  font-size: clamp(40px, 4.4vw, 60px);
  font-weight: 500; line-height: 0.82;
  letter-spacing: -0.02em;
  color: var(--accent);
}
.stat-unit { font-size: 0.32em; font-style: italic; margin-left: 6px; color: inherit; opacity: 0.75; }
.bento-stat.accent .stat-num { color: var(--accent-soft); }
.stat-label {
  margin-top: 10px;
  font-size: clamp(13px, 1.1vw, 15px); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.stat-note { margin-top: 6px; font-size: 13.5px; font-weight: 300; line-height: 1.45; color: color-mix(in srgb, currentColor 65%, transparent); }

/* feature tiles — now the big, prominent boxes */
.bento-feat {
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: clamp(190px, 23vw, 270px);
  padding: clamp(26px, 2.8vw, 40px);
  background: color-mix(in srgb, var(--white) 70%, transparent);
  border: 1px solid color-mix(in srgb, var(--black) 12%, transparent);
  border-radius: 6px;
  backdrop-filter: blur(3px);
  transition: background 0.35s, transform 0.4s var(--drawer-ease);
}
.bento-feat:hover { background: var(--white); transform: translateY(-4px); }
.bento-feat h3 {
  font-size: clamp(22px, 2.2vw, 32px); font-weight: 600; letter-spacing: -0.01em;
  padding-left: 18px; position: relative;
}
.bento-feat h3::before {
  content: ""; position: absolute; left: 0; top: 0.15em; bottom: 0.15em; width: 3px;
  background: var(--accent); border-radius: 2px;
}
.bento-feat p { margin-top: 12px; font-size: clamp(14px, 1.1vw, 16px); line-height: 1.55; font-weight: 300; color: color-mix(in srgb, var(--black) 70%, transparent); }

/* mini chips */
.bento-mini {
  display: flex; align-items: center;
  padding: clamp(18px, 2vw, 26px);
  background: var(--black); color: var(--cream);
  border-radius: 6px;
  font-size: clamp(14px, 1.2vw, 17px); font-weight: 500;
  letter-spacing: 0.01em;
  transition: background 0.35s, color 0.35s;
}
.bento-mini:hover { background: var(--slate); color: var(--cream); }

/* line-icon "diagram" before the text in every box */
.box-ico { display: block; width: clamp(24px, 2.4vw, 32px); height: auto; aspect-ratio: 1; color: var(--accent); margin-bottom: 14px; flex: 0 0 auto; }
.bento-stat .box-ico { width: 26px; margin-bottom: 10px; }
.bento-stat.accent .box-ico { color: var(--accent-soft); }
.bento-feat .box-ico { width: clamp(28px, 2.6vw, 36px); }
.bento-mini { gap: 12px; }
.bento-mini .box-ico { width: 22px; margin: 0; color: var(--accent-soft); }
.bento-mini:hover .box-ico { color: var(--cream); }
.about-era-grid .box-ico { width: 28px; margin-bottom: 12px; }
/* icon replaces the little accent bar on era cards */
.about-era-grid h4 { padding-left: 0; }
.about-era-grid h4::before { display: none; }

/* ============================================================
   CONTACT — invitation + enquiry form / details
   ============================================================ */
.page-contact { background: var(--cream); }

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}

/* --- form --- */
.enquiry { margin-top: clamp(28px, 4vh, 44px); max-width: 560px; }
.field { margin-bottom: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

.field label {
  display: block; margin-bottom: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: color-mix(in srgb, var(--black) 70%, transparent);
}
.field .req { color: var(--accent-ink); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  font-family: inherit; font-size: 16px; font-weight: 300; color: var(--black);
  background: var(--white);
  border: 1px solid color-mix(in srgb, var(--black) 18%, transparent);
  border-radius: 4px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field textarea { resize: vertical; min-height: 84px; line-height: 1.5; }
.field input::placeholder,
.field textarea::placeholder { color: color-mix(in srgb, var(--black) 38%, transparent); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline: 2px solid var(--black); outline-offset: 1px; }

.field-hint { display: block; margin-top: 7px; font-size: 12.5px; font-weight: 300; color: color-mix(in srgb, var(--black) 55%, transparent); }
.field-err { display: block; margin-top: 7px; font-size: 12.5px; font-weight: 500; color: #b42318; min-height: 0; }
.field.invalid input,
.field.invalid select { border-color: #b42318; }
.field.invalid input:focus { box-shadow: 0 0 0 3px rgba(180,35,24,0.18); }

.enquiry .btn-solid { margin-top: 6px; cursor: pointer; border-radius: 4px; }

/* quote: 51-point checklist lead-magnet link */
.quote-magnet { margin-top: 14px; font-size: 14px; font-weight: 600; letter-spacing: 0.02em; }
.quote-magnet a { color: var(--accent-ink); display: inline-flex; gap: 7px; align-items: center; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.quote-magnet a span { transition: transform 0.3s var(--drawer-ease); }
.quote-magnet a:hover span { transform: translateX(4px); }
.quote-magnet a:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; }

/* contact: B2C / B2B audience toggle */
.aud-toggle { display: inline-flex; border: 1px solid var(--black); margin: 4px 0 26px; }
.aud-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px;
  padding: 11px 18px; border: 0; cursor: pointer; background: transparent; color: var(--black);
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  transition: background 0.25s, color 0.25s;
}
.aud-btn + .aud-btn { border-left: 1px solid var(--black); }
.aud-btn.is-active { background: var(--black); color: var(--cream); }
.aud-btn:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; }
@media (max-width: 420px) { .aud-toggle { flex-direction: column; width: 100%; } .aud-btn + .aud-btn { border-left: 0; border-top: 1px solid var(--black); } }
.form-success {
  margin-top: 18px; padding: 14px 16px;
  font-size: 14.5px; font-weight: 400;
  color: #1a7f4b;
  background: color-mix(in srgb, #1a7f4b 8%, transparent);
  border: 1px solid color-mix(in srgb, #1a7f4b 30%, transparent);
  border-radius: 4px;
}

/* --- aside details --- */
.contact-aside {
  position: sticky; top: 0;
  display: grid; gap: clamp(20px, 2.6vh, 28px);
  padding-left: clamp(0px, 2vw, 30px);
  border-left: 1px solid color-mix(in srgb, var(--black) 14%, transparent);
}
.contact-block { display: flex; flex-direction: column; gap: 7px; }
.contact-h { font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-ink); }
.contact-mail {
  font-size: clamp(20px, 1.9vw, 26px); font-weight: 500; letter-spacing: -0.01em;
  border-bottom: 2px solid transparent; align-self: flex-start; transition: border-color 0.3s;
}
.contact-mail:hover { border-color: var(--accent); }
.contact-line { font-size: 18px; font-weight: 400; align-self: flex-start; border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.contact-line:hover { border-color: var(--black); }
.contact-line-sm { font-size: 15px; font-weight: 300; }
.contact-aside address { font-style: normal; font-size: 15px; line-height: 1.6; font-weight: 300; color: color-mix(in srgb, var(--black) 78%, transparent); }
.contact-social { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.contact-social a { font-size: 15px; font-weight: 400; border-bottom: 1px solid color-mix(in srgb, var(--black) 30%, transparent); transition: border-color 0.3s; }
.contact-social a:hover { border-color: var(--accent); }

.site-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: clamp(40px, 7vh, 80px);
  border-top: 1px solid color-mix(in srgb, var(--black) 18%, transparent);
  padding-top: 24px;
  font-size: 13px;
  color: var(--slate);
}

.footer-mark { width: 38px; height: auto; color: var(--black); }

/* ============================================================
   ABOUT US
   ============================================================ */
.page-about { background: var(--cream); }
.about-hero { max-width: 1100px; }

.about-statement {
  font-family: var(--serif);
  font-size: clamp(26px, 3.6vw, 56px);
  line-height: 1.12;
  font-weight: 400;
  max-width: 20ch;
  margin: clamp(56px, 9vh, 120px) 0;
}
.about-statement em { font-style: italic; color: var(--accent); }

.about-band {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 1.2vw, 18px);
  margin: 0 0 clamp(56px, 9vh, 110px);
}
.about-band-img { overflow: hidden; border-radius: 4px; aspect-ratio: 4/5; }
.about-band-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s var(--drawer-ease); }
.about-band-img:hover img { transform: scale(1.04); }

.about-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 30px);
  border-top: 1px solid color-mix(in srgb, var(--black) 16%, transparent);
  padding-top: clamp(28px, 4vh, 44px);
}
.about-stat { display: flex; flex-direction: column; gap: 8px; }
.about-stat-num {
  font-family: var(--serif); font-weight: 500; font-style: italic;
  font-size: clamp(40px, 5vw, 80px); line-height: 0.85; color: var(--accent);
}
.about-stat-label { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: color-mix(in srgb, var(--black) 66%, transparent); }

.about-sub {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: clamp(24px, 4vh, 44px);
}
.about-journey, .about-era { margin-top: clamp(64px, 10vh, 130px); }

.journey { display: grid; gap: 0; }
.journey li {
  display: grid; grid-template-columns: clamp(90px, 12vw, 200px) 1fr;
  gap: clamp(18px, 3vw, 50px); align-items: baseline;
  padding: clamp(20px, 3vh, 32px) 0;
  border-top: 1px solid color-mix(in srgb, var(--black) 14%, transparent);
}
.journey li:last-child { border-bottom: 1px solid color-mix(in srgb, var(--black) 14%, transparent); }
.journey-year { font-family: var(--serif); font-style: italic; font-size: clamp(28px, 3vw, 46px); color: var(--accent); }
.journey p { font-size: clamp(15px, 1.1vw, 18px); line-height: 1.55; font-weight: 300; max-width: 60ch; color: color-mix(in srgb, var(--black) 78%, transparent); }

.about-era-lead { font-family: var(--serif); font-size: clamp(20px, 2vw, 30px); line-height: 1.3; max-width: 30ch; margin-bottom: clamp(28px, 4vh, 44px); }
.about-era-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 34px); }
.about-era-grid li { padding: clamp(22px, 2vw, 30px); background: var(--white); border: 1px solid color-mix(in srgb, var(--black) 12%, transparent); border-radius: 6px; }
.about-era-grid h4 { font-size: clamp(17px, 1.5vw, 21px); font-weight: 600; position: relative; }
.about-era-grid h4::before { content: ""; position: absolute; left: 0; top: 0.15em; bottom: 0.15em; width: 3px; background: var(--accent); border-radius: 2px; }
.about-era-grid p { margin-top: 10px; font-size: 14px; line-height: 1.5; font-weight: 300; color: color-mix(in srgb, var(--black) 72%, transparent); }

.about-cta { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(20px, 4vw, 44px); margin-top: clamp(48px, 8vh, 90px); }
.about-cta .link-cta { margin-top: 0; }

/* ============================================================
   GET FREE QUOTE — guided bot + image annotator
   ============================================================ */
.page-quote { background: var(--cream); }
.quote-head { margin-bottom: clamp(34px, 5vh, 60px); }
.quote-head .lead strong { font-weight: 600; }

/* WhatsApp CTA + QR */
.quote-wa { display: flex; align-items: center; gap: clamp(20px, 3vw, 36px); flex-wrap: wrap; margin-top: clamp(22px, 3.4vh, 36px); }
.quote-qr { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 0; }
.quote-qr img { width: 116px; height: 116px; padding: 10px; background: #fff; border: 1px solid color-mix(in srgb, var(--black) 14%, transparent); border-radius: 10px; }
.quote-qr figcaption { font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: color-mix(in srgb, var(--black) 60%, transparent); }

/* "share with H.I.M.A" instructions */
.quote-howto { margin-top: clamp(28px, 4vh, 44px); padding: clamp(22px, 2.4vw, 32px); background: color-mix(in srgb, var(--white) 70%, transparent); border: 1px solid color-mix(in srgb, var(--black) 12%, transparent); border-radius: 8px; }
.quote-howto-title { font-size: clamp(15px, 1.4vw, 18px); font-weight: 600; }
.quote-steps { margin-top: 16px; display: grid; gap: 12px; }
.quote-steps li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; font-size: clamp(14px, 1.1vw, 16px); font-weight: 300; line-height: 1.5; }
.quote-steps li strong { font-weight: 600; }
.quote-steps li span { font-family: var(--serif); font-size: 17px; font-weight: 500; color: var(--accent); line-height: 1.2; }

.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 44px); align-items: stretch; }

/* chat bot */
.qbot {
  display: flex; flex-direction: column;
  min-height: 520px; max-height: 70vh;
  background: var(--white);
  border: 1px solid color-mix(in srgb, var(--black) 14%, transparent);
  border-radius: 10px; overflow: hidden;
}
.qbot-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid color-mix(in srgb, var(--black) 10%, transparent); }
.qbot-avatar { width: 40px; height: 40px; display: grid; place-items: center; background: var(--black); border-radius: 50%; }
.qbot-avatar svg { width: 22px; height: auto; color: var(--cream); }
.qbot-name { display: block; font-weight: 600; font-size: 15px; }
.qbot-status { display: block; font-size: 12px; color: var(--accent-ink); }
.qbot-status::before { content: "● "; color: var(--accent); font-size: 9px; vertical-align: middle; }

.qbot-log { flex: 1; overflow-y: auto; padding: 22px 18px; display: flex; flex-direction: column; gap: 12px; scrollbar-width: thin; }
.qmsg { max-width: 84%; padding: 12px 15px; font-size: 15px; line-height: 1.45; border-radius: 14px; }
.qmsg-bot { align-self: flex-start; background: var(--cream); border: 1px solid color-mix(in srgb, var(--black) 8%, transparent); border-bottom-left-radius: 4px; }
.qmsg-user { align-self: flex-end; background: var(--black); color: var(--cream); border-bottom-right-radius: 4px; }

.qbot-input { padding: 14px 16px; border-top: 1px solid color-mix(in srgb, var(--black) 10%, transparent); display: flex; flex-wrap: wrap; gap: 8px; }
.qchip {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 9px 15px; font: inherit; font-size: 14px; font-weight: 500;
  background: transparent; color: var(--black); cursor: pointer;
  border: 1px solid color-mix(in srgb, var(--black) 26%, transparent); border-radius: 999px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.qchip:hover { background: var(--black); color: var(--cream); border-color: var(--black); }
.qfield { display: flex; gap: 8px; width: 100%; }
.qfield input { flex: 1; padding: 11px 14px; font: inherit; font-size: 16px; background: var(--cream); border: 1px solid color-mix(in srgb, var(--black) 20%, transparent); border-radius: 8px; }
.qfield input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); }
.qfield input:focus-visible { outline: 2px solid var(--black); outline-offset: 1px; }
.qfield button { padding: 11px 18px; font: inherit; font-size: 14px; font-weight: 600; background: var(--black); color: var(--cream); border: 0; border-radius: 8px; cursor: pointer; }
.qbot-done { font-size: 14px; line-height: 1.5; color: color-mix(in srgb, var(--black) 70%, transparent); }

/* image annotator */
.qann { display: flex; flex-direction: column; min-height: 520px; max-height: 70vh; background: var(--white); border: 1px solid color-mix(in srgb, var(--black) 14%, transparent); border-radius: 10px; overflow: hidden; }
.qann-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid color-mix(in srgb, var(--black) 10%, transparent); }
.qann-title { font-weight: 600; font-size: 15px; }
.qann-tools { display: flex; gap: 6px; }
.qann-tool { width: 44px; height: 44px; font-size: 15px; background: transparent; border: 1px solid color-mix(in srgb, var(--black) 20%, transparent); border-radius: 8px; cursor: pointer; transition: background 0.2s, color 0.2s; }
.qann-tool.is-active { background: var(--black); color: var(--cream); border-color: var(--black); }
.qann-drop { flex: 1; display: grid; place-items: center; cursor: pointer; margin: 14px; border: 2px dashed color-mix(in srgb, var(--black) 22%, transparent); border-radius: 10px; transition: background 0.25s, border-color 0.25s; text-align: center; }
.qann-drop:hover, .qann-drop.is-over { background: var(--cream); border-color: var(--accent); }
.qann-drop-icon { font-size: 34px; display: block; color: var(--accent); }
.qann-drop-text { display: block; margin-top: 14px; font-size: 16px; font-weight: 500; }
.qann-drop-sub { display: block; margin-top: 6px; font-size: 13px; color: color-mix(in srgb, var(--black) 55%, transparent); }
.qann-stage { flex: 1; display: grid; place-items: center; padding: 14px; overflow: hidden; }
.qann-stage canvas { max-width: 100%; max-height: 100%; border-radius: 6px; cursor: crosshair; touch-action: none; }
.qann-hint { padding: 0 18px 16px; font-size: 13px; color: color-mix(in srgb, var(--black) 55%, transparent); }

/* ============================================================
   BLOGS — dark editorial article list (BiA articles style)
   ============================================================ */
.page-blogs { background: var(--black); color: var(--cream); }
.page-blogs .lead { color: color-mix(in srgb, var(--cream) 78%, transparent); }
.blogs-head { margin-bottom: clamp(40px, 7vh, 80px); }

.articles { display: grid; gap: 0; }
.article {
  position: relative;
  padding: clamp(30px, 5vh, 60px) 0;
  border-top: 1px solid color-mix(in srgb, var(--cream) 16%, transparent);
  display: flex; flex-direction: column; gap: 14px; align-items: flex-start;
}
.article:last-child { border-bottom: 1px solid color-mix(in srgb, var(--cream) 16%, transparent); }
.article-meta { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #ced5da; }
.article-title {
  font-size: clamp(28px, 4vw, 64px); font-weight: 600; line-height: 1.0;
  letter-spacing: -0.02em; text-transform: uppercase;
  color: color-mix(in srgb, var(--cream) 70%, transparent);
  transition: color 0.3s var(--drawer-ease);
}
.article:hover .article-title { color: var(--cream); }
.article-link { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-soft); }
/* stretched link — the whole .article card is tappable (resolves against .article) */
.article-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.article-link span { transition: transform 0.3s var(--drawer-ease); }
.article:hover .article-link span { transform: translateX(5px); }

/* ============================================================
   PARTNERS — clients & brands
   ============================================================ */
.page-partners { background: var(--white); }
.partners-head { max-width: 1100px; margin-bottom: clamp(40px, 6vh, 70px); }

/* logo wall — real partner logos, monochrome by default, colour on hover */
.logo-wall {
  display: grid; grid-template-columns: repeat(6, 1fr);
  margin-top: clamp(36px, 6vh, 64px);
  border-top: 1px solid color-mix(in srgb, var(--black) 12%, transparent);
  border-left: 1px solid color-mix(in srgb, var(--black) 12%, transparent);
}
.logo-wall li {
  display: grid; place-items: center;
  min-height: clamp(86px, 9vw, 128px); padding: clamp(14px, 1.4vw, 24px);
  border-right: 1px solid color-mix(in srgb, var(--black) 12%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--black) 12%, transparent);
}
.logo-wall img {
  max-width: 100%; max-height: clamp(34px, 3.4vw, 50px);
  width: auto; height: auto; object-fit: contain;
  filter: grayscale(1) contrast(0.95); opacity: 0.55;
  transition: filter 0.35s var(--drawer-ease), opacity 0.35s var(--drawer-ease), transform 0.35s var(--drawer-ease);
}
.logo-wall li:hover img { filter: grayscale(0); opacity: 1; transform: scale(1.06); }
.logo-more span { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: clamp(15px, 1.4vw, 20px); }

/* our clients */
.clients-head { margin-top: clamp(50px, 8vh, 100px); margin-bottom: clamp(20px, 3vh, 32px); }
.clients-title { font-size: clamp(20px, 2.4vw, 34px); font-weight: 600; letter-spacing: -0.01em; margin-top: 10px; }
.clients-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.2vw, 16px); }
.clients-wall li {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: clamp(64px, 7vw, 88px); padding: 14px 16px;
  background: var(--white); border: 1px solid color-mix(in srgb, var(--black) 12%, transparent);
  border-radius: 6px; font-weight: 600; font-size: clamp(14px, 1.2vw, 17px);
  color: color-mix(in srgb, var(--black) 80%, transparent);
  transition: transform 0.35s var(--drawer-ease), box-shadow 0.35s var(--drawer-ease);
}
.clients-wall li:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(36,31,33,0.08); }

.partners-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(34px, 5vw, 80px); margin-top: clamp(50px, 8vh, 100px); align-items: start; }
.partners-quote p { font-family: var(--serif); font-size: clamp(24px, 2.8vw, 44px); line-height: 1.18; }
.partners-quote em { font-style: italic; color: var(--accent); }
.partners-quote cite { display: block; margin-top: 22px; font-style: normal; font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-ink); }
.partners-b2b { display: grid; gap: 0; }
.partners-b2b li { padding: clamp(18px, 2.4vh, 26px) 0; border-top: 1px solid color-mix(in srgb, var(--black) 14%, transparent); }
.partners-b2b li:last-child { border-bottom: 1px solid color-mix(in srgb, var(--black) 14%, transparent); }
.partners-b2b h4 { font-size: clamp(17px, 1.5vw, 22px); font-weight: 600; }
.partners-b2b p { margin-top: 8px; font-size: 14.5px; line-height: 1.5; font-weight: 300; color: color-mix(in srgb, var(--black) 72%, transparent); }


/* ============================================================
   Menu system — disc + drawer (verified vs reference)
   ============================================================ */
.menu-bar {
  position: fixed; left: 0; right: 0; bottom: 0;
  display: flex; justify-content: center;
  z-index: 60;
  pointer-events: none;
  padding-bottom: env(safe-area-inset-bottom);
}

.menu-toggle {
  pointer-events: auto;
  position: relative;
  width: 104px; height: 104px;
  margin-bottom: 29px;
  border: 0; background: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* The one warm element on the whole site: a soft amber glass disc behind the
   menu toggle (brand stays monochrome everywhere else). */
.menu-toggle::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 96px; height: 96px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  /* clean neutral frosted glass (no tint) */
  background: rgba(36, 31, 33, 0.06);
  border: 1px solid rgba(36, 31, 33, 0.14);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  transition: background 0.4s var(--drawer-ease),
              border-color 0.4s var(--drawer-ease),
              transform 0.4s var(--drawer-ease);
  pointer-events: none;
}
.menu-toggle:hover::before { transform: translate(-50%, -50%) scale(1.06); background: rgba(36, 31, 33, 0.1); }

/* dark pages (closed): light frosted glass so the disc reads on dark */
body[data-route="blogs"]:not(.menu-open) .menu-toggle::before {
  background: rgba(254, 249, 241, 0.12);
  border-color: rgba(254, 249, 241, 0.26);
}
/* menu OPEN: the disc becomes the SAME frosted glass as the drawer panel,
   with a bright rim so it stays visible against it */
body.menu-open .menu-toggle::before {
  background: rgba(36, 31, 33, 0.62);
  border-color: rgba(254, 249, 241, 0.45);
  backdrop-filter: blur(26px) saturate(1.2);
  -webkit-backdrop-filter: blur(26px) saturate(1.2);
}

/* 3D logo sits inside the rotating text ring */
.menu-3d {
  position: absolute;
  top: 50%; left: 50%;
  width: 76px; height: 76px;
  transform: translate(-50%, -50%);
  display: block;
  filter: drop-shadow(0 3px 10px rgba(36, 31, 33, 0.25));
  transition: transform 0.4s var(--drawer-ease);
}
.menu-toggle:hover .menu-3d { transform: translate(-50%, -50%) scale(1.08); }

.menu-disc-svg { position: relative; width: 100%; height: 100%; overflow: visible; display: block; }

.disc-text {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase;
  fill: var(--black);
}

body[data-route="blogs"]:not(.menu-open) .disc-text { fill: var(--cream); }

.spin { transform-origin: 45px 45px; will-change: transform; }

body.menu-open .disc-text { fill: var(--cream); }

.drawer {
  position: fixed; left: 0; right: 0; bottom: 0;
  height: var(--drawer-h);
  /* same frosted glass as the menu button — page shows through, heavily blurred */
  background: rgba(36, 31, 33, 0.62);
  backdrop-filter: blur(26px) saturate(1.2);
  -webkit-backdrop-filter: blur(26px) saturate(1.2);
  border-top: 1px solid rgba(254, 249, 241, 0.14);
  z-index: 50;
  transform: translateY(102%);
  visibility: hidden;
  transition: transform var(--drawer-dur) var(--drawer-ease),
              visibility 0s linear var(--drawer-dur);
  pointer-events: none;
}

.drawer-inner {
  height: 100%;
  display: flex; flex-direction: column;
  transform: translateY(-120px);
  transition: transform var(--drawer-dur) var(--drawer-ease);
}

body.menu-open .drawer {
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  transition: transform var(--drawer-dur) var(--drawer-ease);
}
body.menu-open .drawer-inner { transform: translateY(0); }

.drawer-scroll {
  overflow-x: auto; overflow-y: hidden;
  padding-top: 30px;
  scrollbar-width: none;
}
.drawer-scroll::-webkit-scrollbar { display: none; }

.drawer-list { display: flex; gap: 35px; padding: 0 35px; width: max-content; }

.drawer-list a { display: block; }

.drawer-label {
  display: flex; align-items: center; gap: 9px;
  color: var(--white);
  font-size: 16px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.02em;
  margin-bottom: 14px;
  text-shadow: 0 1px 10px rgba(20, 16, 17, 0.55);   /* legibility on the glass */
}

.drawer-label .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--cream);
  opacity: 0; transform: scale(0.4);
  transition: opacity 0.3s, transform 0.3s;
}

.drawer-list a.active .dot { opacity: 1; transform: none; }

.drawer-thumb { display: block; width: 320px; height: 176px; overflow: hidden; }

.drawer-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--drawer-ease);
}

.drawer-list a:hover .drawer-thumb img { transform: scale(1.06); }

.thumb-card {
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 18px 20px;
}

.thumb-cream { background: var(--cream); color: var(--black); }
.thumb-slate { background: var(--slate); color: var(--cream); }

.thumb-mini-head {
  font-size: 19px; font-weight: 500;
  text-transform: uppercase;
  line-height: 1.05; letter-spacing: -0.01em;
  max-width: 240px;
}

.thumb-mini-sub { font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.7; }

.drawer-foot {
  margin-top: auto;
  display: flex; justify-content: flex-end; align-items: center;
  padding: 0 35px calc(36px + env(safe-area-inset-bottom));
}

.follow { display: flex; align-items: center; gap: 18px; }

.follow > span {
  color: var(--cream);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
}

.follow ul { display: flex; }

.follow ul a {
  display: flex; align-items: center; justify-content: center;
  width: 47px; height: 47px;
  border: 1px solid color-mix(in srgb, var(--cream) 40%, transparent);
  color: var(--cream);
  transition: background 0.3s, color 0.3s;
}

.follow ul li + li a { border-left: 0; }
.follow ul a:hover { background: var(--cream); color: var(--black); }
.follow svg { width: 19px; height: 19px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  /* home hero: stack logo / bigger video / copy as a simple column. height:auto
     (overriding the desktop height:100%) lets it grow so the copy never overflows
     into the proof strip below. */
  .hero-split { display: flex; flex-direction: column; height: auto; }
  .reel { height: 40dvh; flex: 0 0 auto; }
  .reel-photo img { width: 80%; max-height: 80%; }
  .hero-copy { padding: 12px 20px 34px; }

  .hero-logo-m { display: block; align-self: flex-start; padding: 10px 20px 6px; }
  .hero-logo-m svg { width: 124px; height: auto; display: block; }
  .hero-copy .hero-logo { display: none; }
  .hero-kicker { display: none; }       /* removed on mobile */
  .hero-scroll-cue { display: none; }   /* was overlapping the paragraphs */

  /* order inside the copy: headline → paragraphs → buttons */
  .hero-copy-main { margin: 0; width: 100%; }
  .hero-headline { order: 1; }
  .hero-para { order: 2; margin-top: 14px; max-width: none; }
  .hero-para-2 { order: 3; margin-top: 12px; }
  .btn-row { order: 4; }

  /* two CTAs with the real menu disc (3D logo + rotating "Menu") docked between
     them — see app.js placeMenu(). */
  .btn-row { display: flex; align-items: stretch; justify-content: center;
             gap: 12px; width: 100%; border: 0; margin-top: 14px; }
  .btn-row .btn { flex: 1 1 0; min-width: 0;
                  display: inline-flex; align-items: center; justify-content: center;
                  min-height: 48px; text-align: center; white-space: normal; line-height: 1.2;
                  border: 1px solid var(--black); padding: 13px 10px; font-size: 12px; }

  /* docked disc: drop the fixed positioning, let it size to a compact circle and
     flow as the middle item of the row */
  .menu-bar--inrow { position: static; left: auto; right: auto; bottom: auto;
                     width: auto; flex: 0 0 auto; align-self: center; z-index: auto; }
  .menu-bar--inrow .menu-toggle { width: 84px; height: 84px; margin: 0; }
  .menu-bar--inrow .menu-toggle::before { width: 78px; height: 78px; }
  .menu-bar--inrow .menu-3d { width: 56px; height: 56px; }

  .cases { grid-template-columns: 1fr 1fr; }

  /* services: stack intro above the index */
  .svc-layout { grid-template-columns: 1fr; gap: clamp(30px, 6vh, 56px); }
  .svc-intro { position: static; }

  /* why us bento: two columns */
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-stat { min-height: clamp(150px, 34vw, 200px); }

  /* process stepper: stack vertically with a connecting left rail */
  .stepper { grid-template-columns: 1fr; }
  .step { border-top: 0; padding: 0 0 clamp(28px, 4vh, 44px) 28px; }
  .step:last-child { padding-bottom: 0; }
  /* node sits at the top of each step's content (not on the old horizontal rail) */
  .step::before { top: 4px; }
  /* vertical connector between consecutive nodes */
  .step:not(:last-child)::after {
    content: ""; position: absolute; left: 5px; top: 4px; bottom: 0; width: 2px;
    background: color-mix(in srgb, var(--black) 18%, transparent);
  }

  :root { --drawer-h: 400px; }

  .menu-toggle { width: 92px; height: 92px; margin-bottom: 20px; }
  .menu-toggle::before { width: 84px; height: 84px; }

  .drawer-list { gap: 24px; padding: 0 24px; }
  .drawer-thumb { width: 270px; height: 150px; }

  .follow > span { display: none; }
  .drawer-foot { padding: 0 24px calc(30px + env(safe-area-inset-bottom)); }

  /* contact: stack form above details, drop the divider */
  .contact-layout { grid-template-columns: 1fr; gap: clamp(34px, 6vh, 56px); }
  .contact-aside { position: static; border-left: 0; padding-left: 0; }

  /* about / quote / partners stack */
  .about-stats { grid-template-columns: repeat(2, 1fr); gap: 30px 18px; }
  .about-era-grid { grid-template-columns: 1fr; }
  .quote-grid { grid-template-columns: 1fr; }
  .qbot, .qann { max-height: none; }
  .partners-split { grid-template-columns: 1fr; gap: clamp(34px, 6vh, 56px); }
  .logo-wall { grid-template-columns: repeat(4, 1fr); }
  .clients-wall { grid-template-columns: repeat(3, 1fr); }

  /* home: proof strip → 3 cols, dual-path → stacked */
  .proof-row { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .paths-grid { grid-template-columns: 1fr; }
}

/* narrow phones */
@media (max-width: 600px) {
  .cases { grid-template-columns: 1fr; gap: clamp(26px, 7vw, 40px); }
  .bento { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 40px 1fr; }
  .svc-thumb { display: none; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .tl-step { grid-template-columns: 1fr; gap: 6px; }
  .tl-num { font-size: 52px; }
  .proc-cta { flex-direction: column; align-items: flex-start; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .journey li { grid-template-columns: 1fr; gap: 4px; }
  .about-band { grid-template-columns: 1fr; }
  .about-band-img { aspect-ratio: 16/10; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .clients-wall { grid-template-columns: repeat(2, 1fr); }
  .proof-row { grid-template-columns: repeat(2, 1fr); }

  /* home hero: narrow-phone tweaks (layout itself is flex-column from <=980) */
  .hero-headline { font-size: clamp(29px, 7.6vw, 42px); }
  .hero-kicker { margin-bottom: 14px; }
  .hero-para { font-size: 15px; }
  .btn-row { margin-top: 18px; }
  .btn-row .btn { padding: 14px 8px; font-size: 12px; }
  .hero-copy { padding: 18px 18px 44px; }
  .home-paths { padding-top: clamp(48px, 8vh, 80px); }

  /* process: let the step number + payment pill wrap so long pills
     ("Balance on handover") don't crowd the big numeral */
  .step-top { flex-wrap: wrap; gap: 8px 14px; }

  /* blogs: tighter article headline + smaller WhatsApp/quote bot panels */
  .article-title { font-size: clamp(23px, 6.4vw, 34px); }
  .qbot, .qann { min-height: 400px; }

  /* H.I.M.A expansion may wrap on very narrow widths instead of overflowing */
  .hima-full { white-space: normal; }

  /* blog cost tables scroll horizontally instead of overflowing the page */
  .cost-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* contact: full-width submit is easier to hit on a phone */
  .enquiry .btn-solid { width: 100%; justify-content: center; }
}

/* very narrow phones: single-column about stats */
@media (max-width: 400px) {
  .about-stats { grid-template-columns: 1fr; }
}

/* touch devices: roomier tap targets */
@media (hover: none) {
  .link-cta { padding: 6px 0; }
  /* before/after comparison knob ≥44px so it's grabbable by thumb */
  .cmp-handle::before { width: 44px; height: 44px; }
  .cmp-handle::after { font-size: 16px; }
}

/* ============================================================
   Reduced motion (ui-ux-pro-max §1 reduced-motion / §7 animation, High)
   Honor prefers-reduced-motion: kill the infinite reel drift, neutralize
   hover-scale on the glass surfaces, and collapse long transitions. The JS
   disc revolve is gated separately in app.js.
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reel-photo img { animation: none !important; }
  .pm-track { animation: none !important; transform: none !important; }
  .menu-toggle:hover .menu-3d,
  .menu-toggle:hover::before { transform: translate(-50%, -50%) !important; }
}

/* ============================================================
   Blog / article pages — standalone, crawlable (SEO surface)
   ============================================================ */
body.article-body {
  overflow: auto; height: auto;
  background: var(--cream); color: var(--black);
}
.article-top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px clamp(18px, 4vw, 56px);
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid color-mix(in srgb, var(--black) 10%, transparent);
}
.article-top .brand {
  font-family: var(--serif); font-weight: 600; font-size: 18px; letter-spacing: 0.01em;
}
.article-top .brand em { font-style: italic; color: var(--accent); }
.article-top .top-cta {
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 9px 16px; border: 1px solid var(--black); border-radius: 4px;
  transition: background 0.25s, color 0.25s;
}
.article-top .top-cta:hover { background: var(--black); color: var(--cream); }
.article-top a:focus-visible, .post a:focus-visible, .lead-cta:focus-visible {
  outline: 3px solid var(--black); outline-offset: 3px; border-radius: 4px;
}

.post { max-width: 760px; margin: 0 auto; padding: clamp(34px, 6vw, 72px) clamp(20px, 5vw, 28px) 40px; }
.post-crumb {
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--accent-ink); margin-bottom: 26px;
}
.post-crumb a:hover { text-decoration: underline; }
.post-eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-ink); margin-bottom: 16px;
}
.post h1 {
  font-family: var(--serif); font-weight: 500; line-height: 1.04;
  font-size: clamp(32px, 5vw, 56px); letter-spacing: -0.01em; margin-bottom: 22px;
}
.post h1 em { font-style: italic; color: var(--accent); }
.post-dek {
  font-family: var(--serif); font-size: clamp(18px, 2vw, 22px); line-height: 1.5;
  color: color-mix(in srgb, var(--black) 78%, transparent); margin-bottom: 30px;
}
.post-figure { margin: 0 0 clamp(28px, 4vw, 44px); }
.post-figure img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 6px; }
.post-figure figcaption { margin-top: 8px; font-size: 13px; color: var(--accent-ink); }

.post-body > * + * { margin-top: 22px; }
.post-body h2 {
  font-family: var(--font); font-weight: 600; font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.15; letter-spacing: -0.01em; margin-top: clamp(38px, 5vw, 52px);
}
.post-body h3 { font-family: var(--font); font-weight: 600; font-size: 19px; margin-top: 30px; }
.post-body p { font-size: 17px; line-height: 1.68; }
.post-body strong { font-weight: 600; }
.post-body a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.post-body ul, .post-body ol { padding-left: 22px; }
.post-body li { font-size: 17px; line-height: 1.6; margin-top: 8px; list-style: disc; }
.post-body ol li { list-style: decimal; }

.cost-table { width: 100%; border-collapse: collapse; margin: 8px 0; font-size: 15.5px; }
.cost-table caption { text-align: left; font-size: 13px; color: var(--accent-ink); margin-bottom: 10px; }
.cost-table th, .cost-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid color-mix(in srgb, var(--black) 12%, transparent); }
.cost-table thead th { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-ink); }
.cost-table td:last-child, .cost-table th:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.cost-table tbody tr:last-child td { border-bottom: 0; }

.post-callout {
  margin: clamp(30px, 4vw, 40px) 0; padding: clamp(22px, 3vw, 30px);
  background: var(--black); color: var(--cream); border-radius: 8px;
}
.post-callout h3 { font-family: var(--serif); font-weight: 500; font-size: 21px; margin-bottom: 10px; }
.post-callout p { color: color-mix(in srgb, var(--cream) 84%, transparent); font-size: 16px; line-height: 1.6; }

.post-faq { margin-top: clamp(44px, 6vw, 64px); }
.post-faq h2 { font-family: var(--font); font-weight: 600; font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 14px; }
.faq-item { border-top: 1px solid color-mix(in srgb, var(--black) 14%, transparent); }
.faq-item:last-child { border-bottom: 1px solid color-mix(in srgb, var(--black) 14%, transparent); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 18px 0;
  font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--accent); font-weight: 400; font-size: 22px; line-height: 1; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 0 18px; font-size: 16px; line-height: 1.6; color: color-mix(in srgb, var(--black) 82%, transparent); }
.faq-item summary:focus-visible { outline: 3px solid var(--black); outline-offset: 3px; border-radius: 4px; }

.post-cta {
  margin-top: clamp(48px, 6vw, 70px); padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--black); border-radius: 8px; text-align: center;
}
.post-cta h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 3vw, 34px); margin-bottom: 12px; }
.post-cta p { font-size: 16px; line-height: 1.55; max-width: 46ch; margin: 0 auto 22px; color: color-mix(in srgb, var(--black) 78%, transparent); }
.lead-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 26px; background: var(--black); color: var(--cream); border-radius: 4px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  transition: background 0.3s, color 0.3s;
}
.lead-cta:hover { background: transparent; color: var(--black); }
.lead-cta span { transition: transform 0.3s var(--drawer-ease); }
.lead-cta:hover span { transform: translateX(5px); }

.post-related { margin-top: clamp(48px, 6vw, 64px); }
.post-related h2 { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 16px; }
.post-related ul { display: grid; gap: 10px; }
.post-related a { font-family: var(--serif); font-size: 19px; display: inline-flex; gap: 8px; }
.post-related a:hover { color: var(--accent-ink); }

.article-foot {
  margin-top: clamp(40px, 6vw, 60px); padding: 30px clamp(20px, 5vw, 28px);
  border-top: 1px solid color-mix(in srgb, var(--black) 12%, transparent);
  text-align: center; font-size: 13px; color: var(--accent-ink);
}
.article-foot a { text-decoration: underline; }

/* checklist lead-magnet print styles */
.qc-grid { display: grid; gap: clamp(20px, 3vw, 30px); margin-top: 10px; }
.qc-group { break-inside: avoid; }
.qc-group h2 { display: flex; align-items: baseline; gap: 10px; }
.qc-group h2 .qc-n { font-family: var(--serif); color: var(--accent); font-size: 0.8em; }
.qc-list li { display: flex; gap: 12px; align-items: flex-start; list-style: none; margin-top: 10px; font-size: 16px; line-height: 1.5; }
.qc-list li::before { content: "☐"; color: var(--accent); font-size: 19px; line-height: 1.3; }
.qc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 10px; }
.qc-print {
  cursor: pointer; border: 1px solid var(--black); background: var(--black); color: var(--cream);
  padding: 13px 22px; border-radius: 4px; font: inherit; font-size: 13px; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase; transition: background 0.25s, color 0.25s;
}
.qc-print:hover { background: transparent; color: var(--black); }
.qc-print:focus-visible { outline: 3px solid var(--black); outline-offset: 3px; }
@media print {
  .article-top, .post-cta, .qc-actions, .article-foot, .post-crumb { display: none !important; }
  body.article-body { background: #fff; }
  .post { max-width: 100%; padding: 0; }
}
