/* Perth Stone Protection — design system
   Bands: ivory / night. Accent: gold.
   Display: Fraunces. Body: Inter. Utility labels (--util): Archivo.
   Signature: the film plane — a thin gold outline hovering offset over imagery,
   echoing the logo (gold diamond floating over the stone slab). */

/* ---------- fonts ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-roman.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  --ivory: #F5F2EC;
  --paper: #FBF9F5;
  --ink: #1F2023;
  --night: #141518;
  --night-2: #1B1C20;
  --gold: #B1782F;
  --gold-bright: #C89654;
  --muted: #6F6D66;
  --muted-dark: #9A968C;
  --line: rgba(31, 32, 35, 0.14);
  --line-dark: rgba(245, 242, 236, 0.14);
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, monospace;
  /* utility face: eyebrows, spec labels, buttons, form labels, diagram callouts */
  --util: "Archivo", "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --w: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
  --sec: clamp(60px, 8vw, 104px);
  --r: 2px;
}

/* ---------- reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 90px; } /* sticky header is ~72px; anchor jumps land clear of it */
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
button { font: inherit; cursor: pointer; }

/* ---------- type ---------- */
.d1, .d2, .d3 {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 380;
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.d1 { font-size: clamp(2.7rem, 6.4vw, 5rem); }
.d2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.08; }
.d3 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); line-height: 1.18; }
.d1 em, .d2 em, .d3 em, .gold-em {
  font-style: italic;
  font-weight: 420;
  color: var(--gold);
}
.on-dark .d1 em, .on-dark .d2 em, .on-dark .d3 em { color: var(--gold-bright); }

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.7;
  color: var(--muted);
  max-width: 34em;
}
.on-dark .lede { color: var(--muted-dark); }

.eyebrow {
  font-family: var(--util);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(18px, 3vw, 30px);
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
  flex: none;
}
.on-dark .eyebrow { color: var(--muted-dark); }
.small-caps-label {
  font-family: var(--util);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.on-dark .small-caps-label { color: var(--muted-dark); }

/* ---------- bands & shell ---------- */
.band { padding: var(--sec) 0; }
.band.tight { padding: calc(var(--sec) * 0.55) 0; }
.band.dark, .on-dark {
  background: var(--night);
  color: var(--ivory);
}
.shell {
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--ivory) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-head .shell {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 72px;
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: auto;
}
.brand-lockup img { width: 44px; height: 44px; }
.brand-lockup .wordmark {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}
.brand-lockup .wordmark small {
  display: block;
  font-family: var(--util);
  font-weight: 400;
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-top: 2px;
}
.site-nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 30px); }
.site-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--ink);
  opacity: 0.82;
  transition: opacity 0.15s;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { opacity: 1; }
.site-nav a[aria-current="page"] { border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.site-nav a.btn { opacity: 1; font-size: 0.88rem; padding: 12px 20px; }
.site-nav a.btn-solid { color: var(--ivory); }
.site-nav a.btn-solid:hover { color: var(--ivory); }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 8px 12px;
  font-family: var(--util);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: var(--r);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.94rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn .arr { transition: transform 0.15s ease; }
.btn:hover .arr { transform: translateX(3px); }
.btn-solid { background: var(--ink); color: var(--ivory); }
.btn-solid:hover { background: var(--night); }
.on-dark .btn-solid { background: var(--ivory); color: var(--ink); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.on-dark .btn-ghost { border-color: var(--line-dark); color: var(--ivory); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #9d6a28; }

/* ---------- signature: the film plane ---------- */
.film-frame { position: relative; }
.film-frame img { width: 100%; border-radius: var(--r); }
.film-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--gold);
  border-radius: var(--r);
  transform: translate(16px, -16px);
  pointer-events: none;
}
.film-frame.flip::after { transform: translate(-16px, -16px); }
.film-frame .chip {
  position: absolute;
  z-index: 1; /* above the gold film-plane outline (::after) — the card must sit over the line */
  left: -1px;
  bottom: clamp(16px, 8%, 44px);
  transform: translateX(calc(-1 * min(28px, 3vw)));
  background: var(--paper);
  color: var(--ink);
  border-left: 2px solid var(--gold);
  padding: 14px 18px;
  max-width: 300px;
  box-shadow: 0 12px 34px rgba(20, 21, 24, 0.18);
}
.film-frame .chip .small-caps-label { color: var(--gold); display: block; margin-bottom: 6px; }
.film-frame .chip p { font-family: var(--serif); font-size: 0.98rem; line-height: 1.45; color: var(--ink); }

/* ---------- hero ---------- */
.hero { padding: clamp(56px, 9vw, 110px) 0 var(--sec); overflow: hidden; }
.hero .shell {
  display: grid;
  grid-template-columns: minmax(0, 6.2fr) minmax(0, 5.2fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(26px, 4vw, 40px); }
.hero .lede { margin-top: clamp(20px, 3vw, 30px); }

/* ---------- trust strip ---------- */
.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.trust-strip .shell {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.trust-cell {
  padding: clamp(20px, 3vw, 30px) clamp(14px, 2vw, 28px);
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.trust-cell:first-child { border-left: 0; }
.trust-cell strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  letter-spacing: -0.01em;
}

/* ---------- generic split & grids ---------- */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(36px, 6vw, 90px);
  align-items: center;
}
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.6vw, 30px); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2.6vw, 30px); }

.sec-head { max-width: 760px; margin-bottom: clamp(24px, 4vw, 42px); }
.sec-head .lede { margin-top: 18px; }

/* ---------- cards ---------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.on-dark .card { background: var(--night-2); border-color: var(--line-dark); }
.card .card-body { padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; gap: 16px; flex: 1; }
.card .card-body h3 { font-family: var(--serif); font-weight: 420; font-size: 1.5rem; }
.card img { aspect-ratio: 4 / 4.6; object-fit: cover; width: 100%; }
.card.landscape img { aspect-ratio: 16 / 10; }

.check-list { list-style: none; padding: 0; display: flex; flex-direction: column; }
.check-list li {
  padding: 11px 0;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 12px;
  font-size: 0.95rem;
  align-items: baseline;
}
.on-dark .check-list li { border-color: var(--line-dark); }
.check-list li::before { content: "✓"; color: var(--gold); font-weight: 700; flex: none; }
.check-list li.no::before { content: "✕"; color: var(--muted); }

/* damage / feature columns */
.fact-col { border-top: 2px solid var(--gold); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.fact-col h3 { font-family: var(--serif); font-weight: 420; font-size: 1.35rem; }
.fact-col p { font-size: 0.95rem; color: var(--muted); }
.on-dark .fact-col p { color: var(--muted-dark); }

/* ---------- honesty block ---------- */
.truth-list { list-style: none; padding: 0; counter-reset: truth; max-width: 820px; }
.truth-list li {
  counter-increment: truth;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: clamp(16px, 3vw, 34px);
  padding: clamp(20px, 3vw, 30px) 0;
  border-top: 1px solid var(--line-dark);
}
.truth-list li::before {
  content: counter(truth, decimal-leading-zero);
  font-family: var(--util);
  font-size: 0.8rem;
  color: var(--gold-bright);
  padding-top: 6px;
}
.truth-list h3 { font-family: var(--serif); font-weight: 420; font-size: 1.35rem; margin-bottom: 8px; }
.truth-list p { color: var(--muted-dark); font-size: 0.98rem; max-width: 56ch; }

/* ---------- reserved reviews ---------- */
.reserved {
  border: 1px dashed rgba(177, 120, 47, 0.55);
  border-radius: var(--r);
  padding: clamp(26px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--paper);
}
.reserved .small-caps-label { color: var(--gold); }
.reserved blockquote { font-family: var(--serif); font-size: 1.15rem; line-height: 1.5; color: var(--muted); }

/* ---------- process steps ---------- */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 34px); counter-reset: step; }
.steps li { counter-increment: step; border-top: 1px solid var(--line); padding-top: 18px; }
.on-dark .steps li { border-color: var(--line-dark); }
.steps li::before {
  content: "0" counter(step);
  font-family: var(--util);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--gold);
}
.steps h3 { font-family: var(--serif); font-weight: 420; font-size: 1.25rem; margin: 10px 0 8px; }
.steps p { font-size: 0.93rem; color: var(--muted); }
.on-dark .steps p { color: var(--muted-dark); }

/* ---------- spec cross-section ---------- */
.xsec {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(24px, 4vw, 48px);
}
.on-dark .xsec { background: var(--night-2); border-color: var(--line-dark); }
.stat-row { display: flex; flex-wrap: wrap; gap: 20px clamp(24px, 5vw, 64px); margin-top: 26px; }
.stat-row .stat strong {
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
  display: block;
}
.stat-row .stat strong sub, .stat-row .stat strong small { font-size: 0.45em; letter-spacing: 0; }
.stat-row .stat .small-caps-label { margin-top: 4px; display: block; }

/* ---------- spec table ---------- */
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.spec-table th, .spec-table td {
  text-align: left;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  vertical-align: top;
}
.on-dark .spec-table th, .on-dark .spec-table td { border-color: var(--line-dark); }
.spec-table th {
  font-family: var(--util);
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  width: 220px;
}
.table-scroll { overflow-x: auto; }

/* ---------- FAQ ---------- */
.faq-item { border-top: 1px solid var(--line); }
.on-dark .faq-item { border-color: var(--line-dark); }
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 20px 0;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 420;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .qno { font-family: var(--util); font-size: 0.72rem; color: var(--gold); flex: none; }
.faq-item summary .plus { margin-left: auto; color: var(--muted); font-family: var(--util); }
.faq-item[open] summary .plus { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 0 24px 40px; max-width: 62ch; color: var(--muted); }
.on-dark .faq-item .faq-a { color: var(--muted-dark); }
.faq-a .short {
  display: block;
  font-family: var(--util);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

/* ---------- suburbs ---------- */
.suburb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.suburb-grid span {
  padding: 13px 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
  background: var(--paper);
}
.suburb-grid span b { color: var(--ink); font-weight: 500; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band .d2 { margin: 0 auto; max-width: 15em; }
.cta-band .lede { margin: 20px auto 0; }
.cta-band .hero-ctas { justify-content: center; }
.cta-assurances {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(16px, 3vw, 34px);
  margin-top: 28px;
  font-family: var(--util);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.cta-assurances span::before { content: "✓ "; color: var(--gold-bright); }

/* ---------- footer ---------- */
.site-foot { background: var(--night); color: var(--ivory); border-top: 1px solid var(--line-dark); }
.site-foot .top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(28px, 5vw, 60px);
  padding: clamp(48px, 7vw, 84px) 0;
}
.site-foot img.foot-logo { width: 150px; }
.site-foot p.foot-note { color: var(--muted-dark); font-size: 0.9rem; max-width: 30ch; margin-top: 18px; }
.site-foot ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.site-foot ul a { text-decoration: none; color: var(--muted-dark); font-size: 0.92rem; }
.site-foot ul a:hover { color: var(--ivory); }
.site-foot .legal {
  border-top: 1px solid var(--line-dark);
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  font-family: var(--util);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--muted-dark);
  text-transform: uppercase;
}

/* ---------- article (learn) ---------- */
.article-body {
  max-width: 680px;
  margin: 0 auto;
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-size: 1.14rem;
  font-weight: 400;
  line-height: 1.75;
}
.article-body p { margin: 0 0 1.4em; }
.article-body h2 {
  font-size: 1.7rem;
  font-weight: 420;
  line-height: 1.2;
  margin: 2em 0 0.7em;
  letter-spacing: -0.01em;
}
.article-body ul, .article-body ol { margin: 0 0 1.4em; padding-left: 1.2em; }
.article-body li { margin-bottom: 0.4em; }
.article-body .pull {
  border-left: 2px solid var(--gold);
  padding: 6px 0 6px 24px;
  font-style: italic;
  font-weight: 420;
  font-size: 1.25rem;
  color: var(--gold);
  margin: 2em 0;
}
.article-meta {
  display: flex;
  gap: 22px;
  font-family: var(--util);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 22px;
}

/* ---------- forms (visual only) ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.wide { grid-column: 1 / -1; }
.field label { font-family: var(--util); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--paper);
  color: var(--ink);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }

/* ---------- reveal animation ---------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.rv.in { opacity: 1; transform: none; }
.rv.d1x { transition-delay: 0.08s; }
.rv.d2x { transition-delay: 0.16s; }
.rv.d3x { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- focus ---------- */
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero .shell, .split { grid-template-columns: 1fr; }
  .split[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
  .hero .shell { gap: 48px; }
  .film-frame::after { transform: translate(10px, -10px); }
  .film-frame .chip { transform: none; left: 12px; right: 12px; max-width: none; }
  .trust-strip .shell { grid-template-columns: 1fr 1fr; }
  .trust-cell:nth-child(3) { border-left: 0; }
  .trust-cell { border-top: 1px solid var(--line); }
  .trust-cell:nth-child(-n+2) { border-top: 0; }
  .grid-3, .steps { grid-template-columns: 1fr; }
  .grid-2, .form-grid { grid-template-columns: 1fr; }
  .site-foot .top { grid-template-columns: 1fr 1fr; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px var(--gutter) 26px;
    gap: 16px;
  }
  .site-nav.open { display: flex; }
  .nav-toggle { display: block; }
}
@media (max-width: 560px) {
  .trust-strip .shell { grid-template-columns: 1fr 1fr; }
  .site-foot .top { grid-template-columns: 1fr; }
  .truth-list li { grid-template-columns: 40px 1fr; }
}

/* ============ V2 VISUAL SYSTEM ============ */

/* ---------- full-bleed photographic hero ---------- */
.d0 {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 360;
  line-height: 1.02;
  letter-spacing: -0.018em;
  font-size: clamp(3rem, 7.2vw, 6.2rem);
  text-wrap: balance;
}
.d0 em { font-style: italic; font-weight: 420; color: var(--gold-bright); }
.hero-full {
  position: relative;
  min-height: clamp(560px, 94vh, 980px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--ivory);
  background: var(--night);
}
.hero-full .bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenburns 26s ease-in-out infinite alternate;
  transform-origin: 60% 40%;
}
@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.09); }
}
.hero-full::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(78deg, rgba(13,14,16,0.88) 0%, rgba(13,14,16,0.55) 42%, rgba(13,14,16,0.08) 75%),
    linear-gradient(to top, rgba(13,14,16,0.82) 0%, rgba(13,14,16,0) 42%);
}
.hero-full .shell {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: clamp(120px, 18vh, 200px);
  padding-bottom: clamp(56px, 9vh, 96px);
}
.hero-full .lede { color: rgba(245, 242, 236, 0.82); }
.hero-full .eyebrow { color: rgba(245, 242, 236, 0.75); }
.hero-full .microproof {
  margin-top: clamp(28px, 5vh, 46px);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 3vw, 40px);
  font-family: var(--util);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 242, 236, 0.68);
}
.hero-full .microproof span::before { content: "— "; color: var(--gold-bright); }
.hero-side-label {
  position: absolute;
  z-index: 2;
  right: clamp(14px, 2vw, 30px);
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--util);
  font-size: 0.64rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(245, 242, 236, 0.55);
}
@media (max-width: 700px) { .hero-side-label { display: none; } }

/* ---------- before/after compare slider ---------- */
.compare {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: ew-resize;
  touch-action: none;
  user-select: none;
  --pos: 50%;
}
.compare img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.compare .after-img { clip-path: inset(0 0 0 var(--pos)); }
.compare .divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  background: var(--gold-bright);
  transform: translateX(-1px);
  pointer-events: none;
}
.compare .divider::after {
  content: "◂ ▸";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--gold);
  color: #fff;
  border-radius: 999px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.35);
}
.compare .tag {
  position: absolute;
  bottom: 14px;
  font-family: var(--util);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: var(--r);
  pointer-events: none;
}
.compare .tag.l { left: 14px; background: rgba(20, 21, 24, 0.78); color: var(--ivory); }
.compare .tag.r { right: 14px; background: rgba(245, 242, 236, 0.9); color: var(--ink); }

/* ---------- animated cross-section (homepage) ---------- */
.xsec-anim {
  position: relative;
  padding: clamp(30px, 5vw, 60px) clamp(20px, 4vw, 56px);
  background: var(--night-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--r);
  overflow: hidden;
}
.xsec-stage { position: relative; max-width: 560px; margin: 0 auto; }
.xsec-drop {
  display: flex;
  justify-content: space-around;
  margin-bottom: 18px;
}
.xsec-drop span {
  font-family: var(--util);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--muted-dark);
  position: relative;
  padding-bottom: 26px;
  opacity: 0;
}
.xsec-drop span::after {
  content: "↓";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  color: var(--gold-bright);
}
.xsec-layer { border-radius: 2px; opacity: 0; }
.xsec-layer.film {
  height: 16px;
  background: linear-gradient(180deg, #C89654 0%, #B1782F 100%);
  box-shadow: 0 0 24px rgba(200, 150, 84, 0.35);
  transform: translateY(-46px);
}
.xsec-layer.adhesive {
  height: 5px;
  margin-top: 3px;
  background: rgba(245, 242, 236, 0.35);
  transform: translateY(-30px);
}
.xsec-layer.slab {
  height: 110px;
  margin-top: 3px;
  background: #d9d5cc url("../img/marble-flat-thumb.webp") center / cover;
  position: relative;
}
.xsec-layer.slab::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(20, 21, 24, 0.05), rgba(20, 21, 24, 0.22));
}
.xsec-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--util);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-dark);
  margin-top: 6px;
  opacity: 0;
}
.xsec-label b { color: var(--gold-bright); font-weight: 400; }
.in .xsec-layer.film { animation: layerdrop 0.9s cubic-bezier(0.2, 0.7, 0.3, 1.05) 0.25s forwards; }
.in .xsec-layer.adhesive { animation: layerdrop 0.8s cubic-bezier(0.2, 0.7, 0.3, 1.05) 0.45s forwards; }
.in .xsec-layer.slab { animation: fadein 0.7s ease 0.05s forwards; }
.in .xsec-label { animation: fadein 0.7s ease 1.1s forwards; }
.in .xsec-drop span { animation: fadein 0.6s ease forwards; }
.in .xsec-drop span:nth-child(1) { animation-delay: 1.3s; }
.in .xsec-drop span:nth-child(2) { animation-delay: 1.5s; }
.in .xsec-drop span:nth-child(3) { animation-delay: 1.7s; }
@keyframes layerdrop { to { opacity: 1; transform: translateY(0); } }
@keyframes fadein { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .hero-full .bg { animation: none; }
  .xsec-layer, .xsec-label, .xsec-drop span { opacity: 1 !important; transform: none !important; animation: none !important; }
}

/* ---------- shine sweep on imagery ---------- */
.film-frame { overflow: visible; }
.film-frame .shine-wrap { position: relative; overflow: hidden; border-radius: var(--r); }
.shine-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 45%;
  left: -60%;
  background: linear-gradient(75deg, transparent 0%, rgba(255, 255, 255, 0.22) 50%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}
.rv.in .shine-wrap::before, .shine-wrap:hover::before { animation: shinesweep 1.4s ease 0.5s 1; }
@keyframes shinesweep { to { left: 120%; } }

/* ---------- SF-style step rows ---------- */
.step-rows { list-style: none; padding: 0; counter-reset: srow; }
.step-rows li {
  counter-increment: srow;
  display: grid;
  grid-template-columns: 90px 1fr 1.4fr;
  gap: clamp(16px, 3vw, 40px);
  align-items: baseline;
  padding: clamp(18px, 2.6vw, 26px) 0;
  border-top: 1px solid var(--line);
}
.on-dark .step-rows li { border-color: var(--line-dark); }
.step-rows li::before {
  content: "Step 0" counter(srow);
  font-family: var(--util);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.step-rows h3 { font-family: var(--serif); font-weight: 420; font-size: clamp(1.2rem, 2vw, 1.55rem); }
.step-rows p { font-size: 0.93rem; color: var(--muted); }
.on-dark .step-rows p { color: var(--muted-dark); }
@media (max-width: 760px) {
  .step-rows li { grid-template-columns: 1fr; gap: 6px; }
}

/* ---------- gallery ----------
   Was `columns: 3` masonry. Multi-column balances the columns by height and dumps the
   remainder at the foot of the last column, so the block could never sit flush at the
   bottom — that was the white gap. A real grid with a uniform tile ratio ends flush by
   construction, provided the tile count divides by the column count (12 tiles: 3 across
   on desktop, 2 across ≤760px, 1 across ≤400px). Rows are uniform height, so a caption
   that wraps to two lines grows its whole row and the bottom edge still lines up. */
.gallery-masonry { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gallery-masonry figure { margin: 0; position: relative; border-radius: var(--r); overflow: hidden; }
.gallery-masonry img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-masonry figure:hover img { transform: scale(1.04); }
.gallery-masonry figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 14px 12px;
  background: linear-gradient(to top, rgba(13,14,16,0.72), transparent);
  color: var(--ivory);
  font-family: var(--util);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* gallery footer CTA — centred under the grid.
   Was a .btn-ghost sitting left-aligned inside a centred .shell while the grid above is
   full-bleed, so it lined up with neither the grid edge nor the page centre. It also used
   border-color: var(--line), a 14%-opacity hairline with no fill, which barely read on ivory.
   Now: genuinely centred, and solid so it's visible. Gold stays reserved for "Get a quote"
   so this secondary CTA doesn't compete with the primary one. */
.gallery-cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(28px, 4vw, 44px);
}

/* ---------- full-bleed photo CTA band ---------- */
.band-photo {
  position: relative;
  overflow: hidden;
  color: var(--ivory);
  background: var(--night);
}
.band-photo .bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}
.band-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13,14,16,0.55), rgba(13,14,16,0.82));
}
.band-photo .shell { position: relative; z-index: 2; }

/* ============ V3 EVIDENCE SYSTEM ============ */

/* framed compare slider (hero) */
.compare-frame {
  border: 0;
  background: transparent;
  padding: 0;
  border-radius: var(--r);
}
.compare-frame .compare { aspect-ratio: 4 / 3; }
.compare .hint {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(20, 21, 24, 0.72);
  color: var(--ivory);
  font-family: var(--util);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: var(--r);
  pointer-events: none;
}

/* annotation note-card overlapping a visual */
.evidence { position: relative; }
.note-card {
  position: absolute;
  left: -18px;
  bottom: -22px;
  background: #fff;
  border-left: 2px solid var(--gold);
  box-shadow: 0 18px 44px rgba(20, 21, 24, 0.16);
  padding: 14px 18px;
  max-width: 320px;
  z-index: 3;
}
.note-card .small-caps-label { color: var(--gold); display: block; margin-bottom: 5px; }
.note-card p { font-family: var(--serif); font-size: 0.98rem; line-height: 1.45; color: var(--ink); }
@media (max-width: 700px) {
  .note-card { position: static; max-width: none; margin-top: 10px; box-shadow: none; border: 1px solid var(--line); border-left: 2px solid var(--gold); }
}

/* lab-note caption under demo photos */
.labnote {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--util);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 10px;
}
.labnote::before { content: "●"; color: var(--gold); font-size: 0.55rem; }
.on-dark .labnote { color: var(--muted-dark); }

/* evidence photo sequence */
.evidence-seq { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.evidence-seq img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
@media (max-width: 760px) { .evidence-seq { grid-template-columns: 1fr; } }

/* underline-only form on dark */
.form-lines .field input, .form-lines .field textarea, .form-lines .field select {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-dark);
  border-radius: 0;
  color: var(--ivory);
  padding: 10px 2px;
}
.form-lines .field input:focus, .form-lines .field textarea:focus, .form-lines .field select:focus {
  outline: none;
  border-bottom-color: var(--gold-bright);
}
.form-lines .field label { color: var(--muted-dark); }
.form-lines ::placeholder { color: rgba(245, 242, 236, 0.35); }

/* captioned gallery variant */
.gallery-masonry.captioned figcaption {
  position: static;
  background: none;
  color: var(--muted);
  padding: 8px 2px 2px;
}
.gallery-masonry.captioned figure { overflow: visible; }
.gallery-masonry.captioned figure img { border-radius: var(--r); }

/* hero grid v3 */
.hero-v3 { padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 110px); }
.hero-v3 .shell {
  display: grid;
  grid-template-columns: minmax(0, 48fr) minmax(0, 52fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 960px) { .hero-v3 .shell { grid-template-columns: 1fr; gap: 44px; } }

/* ============ V4: STONE FILM HERO + TYPING + EDUCATIONAL ============ */

/* full-bleed hero, text HIGH and instantly readable */
.hero-film {
  position: relative;
  /* was clamp(620px, 96vh, 1000px): near-full-viewport, which left 150-300px of empty
     image below the proofline (content bottom measures 540-610px on desktop). min-height
     is only a floor — the shell's own padding still provides breathing room below the
     text, so content can never be clipped. Matches the ~600px-hero design rule. */
  min-height: clamp(560px, 72vh, 700px);
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  background: var(--night);
  color: var(--ivory);
}
.hero-film .bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 40%;
}
.hero-film::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(88deg, rgba(16,17,19,0.86) 0%, rgba(16,17,19,0.62) 46%, rgba(16,17,19,0.22) 100%),
    linear-gradient(to bottom, rgba(16,17,19,0.35), rgba(16,17,19,0.1) 30%);
}
.hero-film .shell {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: clamp(72px, 11vh, 130px);
  padding-bottom: clamp(48px, 8vh, 90px);
}
.hero-film .eyebrow { color: rgba(245, 242, 236, 0.8); }
.hero-film .lede { color: rgba(245, 242, 236, 0.85); max-width: 30em; }
.hero-film .d1 { font-size: clamp(2.9rem, 6.6vw, 5.4rem); }
.hero-film .proofline {
  margin-top: clamp(30px, 5vh, 48px);
  padding-top: 18px;
  border-top: 1px solid rgba(245, 242, 236, 0.25);
  max-width: 420px;
}

/* typing / rotating word */
.type-wrap { display: inline-block; font-style: italic; font-weight: 420; color: var(--gold-bright); }
.type-wrap .caret {
  display: inline-block;
  width: 2px;
  height: 0.92em;
  background: var(--gold-bright);
  margin-left: 4px;
  vertical-align: -0.08em;
  animation: caretblink 1.05s steps(1) infinite;
}
@keyframes caretblink { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .type-wrap .caret { animation: none; } }

/* SF-style two-column proof pair */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.duo .duo-col h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.15; letter-spacing: -0.01em; }
.duo .duo-col h3 em { font-style: italic; font-weight: 420; color: var(--gold); }
.duo .duo-col > p { color: var(--muted); font-size: 0.97rem; margin-top: 12px; max-width: 46ch; }
.duo .duo-col img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: var(--r); margin-top: 22px; }
@media (max-width: 820px) { .duo { grid-template-columns: 1fr; } }

/* magnifier loupe over a photo */
.magnify { position: relative; }
.magnify > img { width: 100%; border-radius: var(--r); }
.magnify .loupe {
  position: absolute;
  left: clamp(16px, 12%, 120px);
  bottom: clamp(16px, 12%, 90px);
  width: clamp(150px, 34%, 250px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(20, 21, 24, 0.45);
}
.magnify .loupe img { width: 100%; height: 100%; object-fit: cover; }
.magnify .loupe-line {
  position: absolute;
  left: calc(clamp(16px, 12%, 120px) + clamp(150px, 34%, 250px));
  bottom: calc(clamp(16px, 12%, 90px) + clamp(75px, 17%, 125px));
  width: clamp(30px, 8%, 80px);
  height: 1.5px;
  background: rgba(255, 255, 255, 0.9);
}

/* labelled cross-section rows */
.xrow { display: flex; align-items: center; gap: 16px; }
.xrow .xlab {
  width: 200px;
  flex: none;
  font-family: var(--util);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-dark);
  border-left: 1px solid rgba(245, 242, 236, 0.25);
  padding-left: 10px;
  opacity: 0;
}
.xrow .xlab b { color: var(--gold-bright); font-weight: 400; display: block; }
.xrow .xsec-layer { flex: 1; }
.in .xrow .xlab { animation: fadein 0.6s ease 1.15s forwards; }
@media (max-width: 560px) { .xrow .xlab { width: 130px; } }
@media (prefers-reduced-motion: reduce) { .xrow .xlab { opacity: 1 !important; } }

/* ============ V5 FIXES ============ */

/* 5-cell benefit strip */
.trust-strip.five .shell { grid-template-columns: repeat(5, 1fr); }
.trust-cell .b-ico { width: 26px; height: 26px; margin-bottom: 4px; color: var(--gold); }
.trust-cell .b-ico svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.5; }
@media (max-width: 960px) {
  .trust-strip.five .shell { grid-template-columns: repeat(2, 1fr); }
  .trust-strip.five .trust-cell:nth-child(n+3) { border-top: 1px solid var(--line); }
  .trust-strip.five .trust-cell:nth-child(odd) { border-left: 0; }
}

/* duo with images first (aligned) */
.duo.img-first .duo-col img { margin-top: 0; margin-bottom: 20px; }

/* realistic cross-section photo panel */
.xsec-photo { position: relative; border-radius: var(--r); overflow: hidden; background: var(--night); }
.xsec-photo > img { width: 100%; display: block; }
.xsec-photo .threat {
  position: absolute;
  top: 6%;
  font-family: var(--util);
  font-size: clamp(0.5rem, 1vw, 0.68rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 242, 236, 0.85);
  text-align: center;
}
.xsec-photo .threat::after { content: "↓"; display: block; color: var(--gold-bright); margin-top: 4px; }
.xsec-photo .layerlab {
  position: absolute;
  right: 3%;
  font-family: var(--util);
  font-size: clamp(0.5rem, 1vw, 0.66rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 242, 236, 0.9);
  border-right: 2px solid var(--gold-bright);
  padding-right: 10px;
  text-align: right;
}
.xsec-photo .layerlab b { color: var(--gold-bright); font-weight: 400; display: block; }

/* ============ V6: strip alignment + xsec polish ============ */
.trust-strip .trust-cell { text-align: center; align-items: center; padding: clamp(18px, 2.4vw, 26px) clamp(10px, 1.4vw, 20px); }
.trust-strip .trust-cell strong { font-size: clamp(1rem, 1.35vw, 1.28rem); white-space: nowrap; }
.trust-strip .trust-cell .b-ico { margin: 0 auto 6px; }
.trust-strip .trust-cell .small-caps-label { font-size: 0.62rem; }
.xsec-photo .layerlab { right: 5%; }
.xsec-photo .layerlab::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 100%;
  width: clamp(24px, 5vw, 70px);
  height: 1px;
  background: rgba(200, 150, 84, 0.6);
  margin-right: 10px;
}

/* ============ V7 ============ */
.risk-pair { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; margin-top: 22px; }
.risk-pair .rp-line { display: flex; align-items: baseline; gap: 14px; min-height: 2em; }
.risk-pair .rp-label { font-family: var(--util); font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); flex: none; width: 130px; }
.risk-pair .rp-risk .type-word { font-family: var(--serif); font-size: 1.2rem; color: var(--ink); }
.risk-pair .rp-sol .type-word { font-family: var(--serif); font-size: 1.2rem; font-style: italic; color: var(--gold); }
.risk-pair .caret { display: inline-block; width: 2px; height: 0.95em; background: var(--gold); margin-left: 3px; vertical-align: -0.1em; animation: caretblink 1.05s steps(1) infinite; }
.trust-strip .trust-cell .small-caps-label { line-height: 1.7; }
.xsec-photo.compact .threat { font-size: 0.72rem; }
.xsec-photo.compact .layerlab { font-size: 0.7rem; }

/* ============ V8: stable typing + xsec polish ============ */
/* width-reserving type slot: sizer locks the longest word so lines never rewrap */
.type-wrap { display: inline-grid; }
.type-wrap .type-size { visibility: hidden; grid-area: 1 / 1; white-space: nowrap; }
.type-wrap .type-live { grid-area: 1 / 1; justify-self: start; white-space: nowrap; }

/* thicker, clearer xsec labels */
.xsec-photo.compact .threat { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.22em; color: #fff; }
.xsec-photo.compact .layerlab {
  font-size: 0.74rem;
  font-weight: 600;
  right: 4%;
  background: rgba(14, 15, 17, 0.66);
  padding: 8px 12px;
  border-right-width: 3px;
  border-radius: 2px 0 0 2px;
}
.xsec-photo.compact .layerlab::after { height: 2px; margin-right: 12px; }

/* glint sweeping along the clear film line */
.film-glint {
  position: absolute;
  left: -25%;
  width: 20%;
  height: 3.2%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent);
  filter: blur(2px);
  border-radius: 999px;
  animation: glint 2.8s linear infinite;
  pointer-events: none;
}
@keyframes glint {
  0% { left: -25%; opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { left: 105%; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .film-glint { animation: none; opacity: 0; } }

/* two-column benefit checklist */
.check-list.two-col { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(18px, 3vw, 36px); max-width: none; }
@media (max-width: 640px) { .check-list.two-col { grid-template-columns: 1fr; } }

/* supplied brand logos in nav + footer */
.brand-lockup .nav-logo { height: 40px; width: auto; display: block; }
@media (max-width: 700px) { .brand-lockup .nav-logo { height: 32px; } }
.foot-logo-plate {
  display: inline-block;
  background: var(--ivory);
  border-radius: 4px;
  padding: 16px 18px;
}
.foot-logo-plate img { width: 128px; height: auto; display: block; }

/* ============================================================
   MOBILE OPTIMISATION LAYER — affects ≤760px (and ≤960 nav) only.
   Desktop rendering above these breakpoints is untouched.
   ============================================================ */

/* ---------- nav: cleaner toggle + menu sheet (≤960 where toggle appears) ---------- */
@media (max-width: 960px) {
  .site-head .shell { min-height: 62px; gap: 14px; }
  .brand-lockup .nav-logo { height: 34px; }
  .nav-toggle {
    border: 1px solid rgba(31, 32, 35, 0.22);
    border-radius: 3px;
    padding: 9px 14px;
    font-size: 0.64rem;
    letter-spacing: 0.22em;
    color: var(--ink);
    background: var(--paper);
    flex: none;
  }
  .nav-toggle[aria-expanded="true"] { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
  .site-nav {
    padding: 10px var(--gutter) 22px;
    gap: 0;
    box-shadow: 0 24px 40px rgba(20, 21, 24, 0.12);
  }
  .site-nav a:not(.btn) {
    display: block;
    width: 100%;
    font-family: var(--serif);
    font-size: 1.3rem;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    opacity: 1;
  }
  .site-nav a[aria-current="page"] { border-bottom: 1px solid var(--gold); padding-bottom: 13px; }
  .site-nav a.btn {
    margin-top: 18px;
    width: 100%;
    justify-content: center;
    padding: 15px 20px;
    font-size: 0.95rem;
  }
}

/* ---------- core mobile layout + type (≤760) ---------- */
@media (max-width: 760px) {
  :root { --sec: clamp(48px, 11vw, 72px); }
  html, body { overflow-x: hidden; }

  /* kill any inline multi-column grids — single column, always */
  .split, .hero-v3 .shell, .duo, .grid-2, .grid-3, .form-grid { grid-template-columns: 1fr !important; }
  .split { gap: 30px !important; }

  /* type scale */
  .d1, .hero-film .d1 { font-size: clamp(1.9rem, 8.4vw, 2.4rem); line-height: 1.1; }
  .d2 { font-size: clamp(1.5rem, 6.6vw, 1.9rem); }
  .d3 { font-size: 1.28rem; }
  .lede { font-size: 0.99rem; line-height: 1.65; }
  .eyebrow { font-size: 0.62rem; letter-spacing: 0.16em; margin-bottom: 14px; }
  .eyebrow::before { width: 22px; }
  .sec-head { margin-bottom: 22px !important; }

  /* typing sizer must never widen the page */
  .type-wrap .type-size { max-width: 82vw; }

  /* buttons: full-width, centred, comfortable taps */
  .hero-ctas { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-ctas .btn { justify-content: center; padding: 15px 18px; }
  .btn { font-size: 0.92rem; }

  /* hero (film) */
  /* was 86svh — ~240px of empty image below the proofline on an 844px phone.
     min() keeps it a floor only; content + shell padding still define the true height. */
  .hero-film { min-height: min(72svh, 560px); }
  .hero-film::after {
    background:
      linear-gradient(88deg, rgba(16,17,19,0.9) 0%, rgba(16,17,19,0.72) 55%, rgba(16,17,19,0.4) 100%),
      linear-gradient(to bottom, rgba(16,17,19,0.4), rgba(16,17,19,0.12) 30%);
  }
  .hero-film .shell { padding-top: 54px; padding-bottom: 40px; }
  .hero-film .lede { font-size: 0.97rem; }
  .hero-film .proofline { margin-top: 22px; font-size: 0.6rem; letter-spacing: 0.12em; }

  /* benefits strip: horizontal rows, icon left */
  .trust-strip .shell, .trust-strip.five .shell { grid-template-columns: 1fr !important; }
  .trust-strip .trust-cell, .trust-strip.five .trust-cell {
    display: grid;
    grid-template-columns: 34px 1fr;
    grid-template-rows: auto auto;
    column-gap: 12px;
    align-items: center;
    text-align: left;
    padding: 13px 4px;
    border-left: 0 !important;
    border-top: 1px solid var(--line);
  }
  .trust-strip .trust-cell:first-child { border-top: 0; }
  .trust-strip .trust-cell .b-ico { grid-row: 1 / 3; margin: 0; width: 24px; height: 24px; }
  .trust-strip .trust-cell strong { font-size: 1.02rem; white-space: normal; }
  .trust-strip .trust-cell .small-caps-label { font-size: 0.58rem; letter-spacing: 0.1em; line-height: 1.5; }

  /* compare slider + evidence */
  .compare-frame { padding: 0; }
  .compare .hint { font-size: 0.52rem; padding: 6px 9px; top: 10px; }
  .compare .tag { font-size: 0.52rem; padding: 5px 8px; bottom: 10px; }
  .compare .tag.l { left: 10px; }
  .compare .tag.r { right: 10px; }
  .compare .divider::after { width: 40px; height: 40px; font-size: 0.66rem; }
  .note-card { margin-top: 12px; padding: 12px 14px; }
  .note-card p { font-size: 0.92rem; }

  /* risk/solution typewriter */
  .risk-pair .rp-line { flex-direction: column; gap: 2px; min-height: 3.1em; }
  .risk-pair .rp-label { width: auto; }
  .risk-pair .rp-risk .type-word, .risk-pair .rp-sol .type-word { font-size: 1.05rem; }

  /* duo proof pair */
  .duo .duo-col img { aspect-ratio: 4 / 3.4; }
  .duo .duo-col h3 { font-size: 1.3rem; }

  /* labnotes + chips */
  .labnote { font-size: 0.56rem; letter-spacing: 0.1em; }
  .film-frame .chip { padding: 11px 14px; }
  .film-frame .chip p { font-size: 0.9rem; }
  .film-frame::after { transform: translate(8px, -8px); }
  .film-frame.flip::after { transform: translate(-8px, -8px); }

  /* stat rows + assurance rows */
  .stat-row { gap: 14px 26px; }
  .stat-row .stat strong { font-size: 1.5rem; }
  .cta-assurances { gap: 10px 16px; font-size: 0.56rem; letter-spacing: 0.1em; }

  /* xsec photo labels */
  .xsec-photo .threat, .xsec-photo.compact .threat { font-size: 0.5rem; letter-spacing: 0.14em; }
  .xsec-photo .layerlab, .xsec-photo.compact .layerlab { font-size: 0.5rem; padding: 5px 7px; letter-spacing: 0.08em; }
  .xsec-photo.compact .layerlab::after { width: 16px; margin-right: 6px; }
  .xsec-anim { padding: 20px 14px; }
  .xrow .xlab { width: 108px; font-size: 0.5rem; }

  /* tables */
  .spec-table { font-size: 0.85rem; }
  .spec-table th, .spec-table td { padding: 10px 12px; }
  .spec-table th { width: 120px; font-size: 0.56rem; }

  /* steps / ledgers */
  .step-rows li { padding: 14px 0; }
  .step-rows h3 { font-size: 1.12rem; }
  .steps h3 { font-size: 1.1rem; }

  /* faq */
  .faq-item summary { font-size: 0.99rem; gap: 12px; padding: 15px 0; }
  .faq-item .faq-a { padding-left: 26px; font-size: 0.93rem; }
  .faq-a .short { font-size: 0.58rem; }

  /* forms */
  .field input, .field select, .field textarea { padding: 13px 13px; font-size: 16px; }
  .reserved { padding: 16px; }

  /* gallery */
  .gallery-masonry { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .gallery-masonry figure { margin-bottom: 0; }
  .gallery-masonry.captioned figcaption { padding-top: 5px; font-size: 0.5rem; }

  /* magnify loupe */
  .magnify .loupe { border-width: 1.5px; }

  /* footer */
  .site-foot .top { padding: 40px 0; gap: 26px; }
  .foot-logo-plate { padding: 12px 14px; }
  .foot-logo-plate img { width: 104px; }
  .site-foot ul { margin-top: 10px; gap: 8px; }
  .site-foot .legal { flex-direction: column; gap: 6px; padding: 16px 0; font-size: 0.56rem; }

  /* article pages */
  .article-body { font-size: 1.02rem; line-height: 1.7; }
  .article-body h2 { font-size: 1.35rem; }
  .article-body .pull { font-size: 1.08rem; padding-left: 16px; }
  .article-meta { flex-wrap: wrap; gap: 10px 16px; font-size: 0.58rem; }

  /* evidence sequence images */
  .evidence-seq { gap: 14px; }
  .evidence-seq img { aspect-ratio: 4 / 3.2; }

  /* suburb grid tighter */
  .suburb-grid { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); }
  .suburb-grid span { padding: 9px 10px; font-size: 0.78rem; }
}

/* ---------- very small phones ---------- */
@media (max-width: 400px) {
  .d1, .hero-film .d1 { font-size: 1.78rem; }
  .d2 { font-size: 1.42rem; }
  /* gallery deliberately stays 2-up here. It used to drop to a single column, but the
     grid now carries 12 tiles instead of 9, and single-file would make this the longest
     scroll on the page. 12 divides by 2, so 2-up is still flush. */
}

/* ============================================================
   CAPTION CASE (2026-07-30) — the benefit-strip captions are
   descriptive sentences, so they read as sentences instead of as
   tracked uppercase labels. Every genuine label keeps its tracked
   caps: eyebrows, form labels, spec-table headers, FAQ numbers,
   footer legal, labnotes.

   Must stay LAST in the file. The sizes at lines ~1200/1220 and
   the ≤760px override at ~1376 are all tuned for 0.6rem tracked
   uppercase; sentence case needs roughly 1.5x that, so these
   rules have to win on source order.
   ============================================================ */
.trust-cell .small-caps-label,
.trust-strip .trust-cell .small-caps-label {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.9rem;
  line-height: 1.55;
}
@media (max-width: 760px) {
  /* cells become icon-left rows here and gain horizontal room */
  .trust-strip .trust-cell .small-caps-label {
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.88rem;
    line-height: 1.5;
  }
}


/* ---------- GHL form embed (iframe) ---------- */
.ghl-embed { width: 100%; }
.ghl-embed iframe {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  color-scheme: normal; /* stops the iframe inheriting a UA dark scheme */
}
@media (max-width: 760px) {
  .ghl-embed iframe { min-height: 620px; }
}


/* ---------- wider form column for GHL 2-column embeds ---------- */
.split.split-form { grid-template-columns: minmax(0, 42fr) minmax(0, 58fr); }
.xsec.xsec-tight { padding: clamp(20px, 2.4vw, 30px); }
.xsec .ghl-embed { margin-top: 14px; }
.form-panel .ghl-embed { margin-top: 16px; }
@media (max-width: 960px) {
  .split.split-form { grid-template-columns: 1fr; }
}

/* contact page: give the form column the room a 2-column form needs.
   Own mobile collapse required — these rules sit after the ≤760 block,
   so equal-specificity rules there no longer win. */
.quote-hero .shell { grid-template-columns: minmax(0, 4.6fr) minmax(0, 6.4fr); }
@media (max-width: 960px) {
  .quote-hero .shell { grid-template-columns: 1fr; }
}

/* ============================================================
   RISK CARDS (2026-07-30) — the index "01 The problem" fact-cols
   carry a small demonstration photo above each risk description.
   ============================================================ */
.fact-col .risk-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--r);
  margin-bottom: 14px;
}

/* ---- FOOTER SOCIAL LINKS (2026-07-31) ---- */
.foot-social { display: flex; gap: 10px; margin-top: 18px; }
.foot-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-dark); color: var(--muted-dark);
  transition: color .2s ease, border-color .2s ease, transform .2s ease;
}
.foot-social a:hover { color: var(--gold-bright); border-color: var(--gold); transform: translateY(-2px); }
.foot-social svg { width: 19px; height: 19px; display: block; }

/* ---- JOURNAL HUB: CARD LINK + MOBILE COMPACT LIST (2026-07-31) ----
   Titles are stretched links (whole card tappable). ≤760px the 14 big
   cards collapse to thumbnail-left list rows so the hub scans fast. */
.journal-card { position: relative; }
.journal-card h3 .card-link { color: inherit; text-decoration: none; }
.journal-card h3 .card-link::after { content: ""; position: absolute; inset: 0; }
.journal-card h3 .card-link:hover { color: var(--gold-bright); }
@media (max-width: 760px) {
  .grid-3:has(> .journal-card) { gap: 10px !important; }
  .journal-card { display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 14px; padding: 10px 16px 10px 10px; }
  .journal-card img { width: 92px; height: 92px; aspect-ratio: 1 / 1; border-radius: calc(var(--r) - 4px); }
  .journal-card .card-body { padding: 0; gap: 4px; }
  .journal-card .card-body h3 { font-size: 1.04rem; line-height: 1.4; }
  .journal-card .standfirst { display: none; }
  .journal-card .card-body .btn { display: none; }
  .journal-card .small-caps-label { display: none; }
}

/* ============================================================
   MOBILE TYPE BALANCE (2026-07-30) — Thomas: mobile text ran small
   across titles, subheads and body. Floors raised ~8-15% for
   readability without inflating scroll length. Must stay AFTER the
   mobile optimisation layer so these win on source order.
   ============================================================ */
@media (max-width: 760px) {
  .d1, .hero-film .d1 { font-size: clamp(2.1rem, 9vw, 2.6rem); }
  .d2 { font-size: clamp(1.7rem, 7.2vw, 2.1rem); }
  .d3 { font-size: 1.38rem; }
  .lede { font-size: 1.05rem; line-height: 1.66; }
  .hero-film .lede { font-size: 1.03rem; }
  .eyebrow { font-size: 0.68rem; }
  .labnote { font-size: 0.66rem; letter-spacing: 0.12em; }
  .cta-assurances { font-size: 0.62rem; }
  .note-card p { font-size: 0.95rem; }
  .film-frame .chip p { font-size: 0.95rem; }
  .trust-strip .trust-cell strong { font-size: 1.08rem; }
  .hero-film .proofline { font-size: 0.64rem; }
  .compare .hint, .compare .tag { font-size: 0.58rem; }
  .xsec-photo .threat, .xsec-photo.compact .threat { font-size: 0.56rem; }
  .xsec-photo .layerlab, .xsec-photo.compact .layerlab { font-size: 0.56rem; }
  .risk-pair .rp-risk .type-word, .risk-pair .rp-sol .type-word { font-size: 1.12rem; }
  .duo .duo-col h3 { font-size: 1.38rem; }
}
/* very small phones: keep the raised floors proportional */
@media (max-width: 400px) {
  .d1, .hero-film .d1 { font-size: 1.95rem; }
  .d2 { font-size: 1.58rem; }
}

/* compact full-bleed hero (how-it-works) — shorter than the index hero,
   and much shorter on mobile where the content is only ~400px tall */
.hero-compact { min-height: clamp(500px, 62vh, 640px); }
@media (max-width: 760px) {
  .hero-compact { min-height: min(52svh, 430px); }
}
