/* BG Advisory — "The Red Pen"
   One idea: we mark up builders' quotes. Dark site, one red, real photos, handwritten red notes.
   Fonts: Switzer (body, matches bgconstruction.com.au) · Big Shoulders Display (headlines) · Kalam (red-pen notes). */

/* ---------- Fonts (self-hosted) ---------- */

@font-face { font-family: "Switzer"; src: url("fonts/switzer-300.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("fonts/switzer-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("fonts/switzer-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("fonts/switzer-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Big Shoulders Display"; src: url("fonts/big-shoulders-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Kalam"; src: url("fonts/kalam-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */

:root {
  --bg: #0B0C0E;
  --bg-2: #111316;
  --surface: #15171B;
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.2);
  --text: #F2F2EF;
  --text-2: #BCC1C5;
  --muted: #8B9197;
  --red: #FF3B30;
  --red-ink: rgba(255, 59, 48, 0.14);

  --body: "Switzer", "Helvetica Neue", Arial, sans-serif;
  --display: "Big Shoulders Display", "Arial Narrow", "Helvetica Neue", sans-serif;
  --hand: "Kalam", "Comic Sans MS", cursive;

  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 3.5rem + 3vw, 6.5rem);
  --radius: 10px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --draw: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; color-scheme: dark; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; }

h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
h1, h2 {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.005em;
}
h1 { font-size: clamp(2.75rem, 1.6rem + 5vw, 5.4rem); line-height: 0.92; }
h2 { font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.25rem); line-height: 0.98; }
h3 { font-family: var(--body); font-weight: 600; font-size: 1.0625rem; line-height: 1.35; }

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

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.measure { max-width: 46rem; }
.lead { font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); line-height: 1.6; color: var(--text-2); }
.muted { color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: 0.75rem 1rem; background: var(--red); color: var(--bg); font-weight: 600; text-decoration: none; border-radius: 6px; }
.skip:focus { top: 1rem; }

/* ---------- Red pen primitives ---------- */

.hand { font-family: var(--hand); font-weight: 700; color: var(--red); line-height: 1.25; }
.kicker {
  display: inline-block;
  font-family: var(--hand);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.2;
  color: var(--red);
  transform: rotate(-1.5deg);
  transform-origin: left center;
}
.strike { position: relative; display: inline-block; color: var(--muted); }
.strike::after {
  content: "";
  position: absolute;
  left: -3px; right: -3px; top: 54%;
  height: 2px;
  background: var(--red);
  transform: rotate(-3deg);
}
.circled { position: relative; display: inline-block; padding: 0 0.35em; }
.circled::before {
  content: "";
  position: absolute;
  inset: -0.25em -0.1em;
  border: 1.5px solid var(--red);
  border-radius: 50%;
  transform: rotate(-4deg);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--red);
  border-radius: 999px;
  background: var(--red);
  color: var(--bg);
  font: inherit;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.15;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:hover { background: #FF5A50; border-color: #FF5A50; transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-outline, .btn-ghost-light { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-outline:hover, .btn-ghost-light:hover { background: transparent; border-color: var(--text); }
.btn-large { min-height: 3.375rem; padding: 0.9rem 1.85rem; font-size: 0.9375rem; }
.btn-small { min-height: 2.5rem; padding: 0.5rem 1.1rem; font-size: 0.75rem; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-top: 2rem; }

.text-link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.25em; text-decoration-color: var(--red); }
.text-link:hover { color: #fff; }

.cta-micro { margin-top: 0.9rem; font-size: 0.875rem; color: var(--muted); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 12, 14, 0.94);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(11, 12, 14, 0.82); backdrop-filter: blur(8px); }
}
.header-inner { display: flex; align-items: center; gap: 1.75rem; min-height: 4.25rem; }
.brand { display: inline-flex; align-items: center; text-decoration: none; margin-right: auto; }
.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.42em;
  font-family: var(--body);
  font-size: 1.15rem;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
  text-transform: uppercase;
}
.logo-bg { font-weight: 800; letter-spacing: -0.01em; }
.logo-word { font-weight: 300; letter-spacing: 0.16em; }

.nav-list { display: flex; gap: 1.85rem; list-style: none; }
.nav-list a { position: relative; display: inline-block; padding: 0.5rem 0; color: var(--text-2); text-decoration: none; font-size: 0.9rem; transition: color 0.2s var(--ease); }
.nav-list a:hover, .nav-list a[aria-current="page"] { color: #fff; }
.nav-list a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.15rem; height: 2px; background: var(--red); transform: rotate(-1deg); }

.menu-btn {
  display: none;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
}
.menu-icon { position: relative; width: 18px; height: 10px; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform 0.25s var(--ease), top 0.25s var(--ease); }
.menu-icon::before { top: 0; }
.menu-icon::after { top: 8px; }
.menu-btn[aria-expanded="true"] .menu-icon::before { top: 4px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon::after { top: 4px; transform: rotate(-45deg); }

.mobile-nav { border-top: 1px solid var(--line); background: var(--bg); }
.mobile-nav ul { list-style: none; padding-block: 0.5rem 1.25rem; }
.mobile-nav li { border-bottom: 1px solid var(--line); }
.mobile-nav li a { display: block; padding: 1rem 0; font-family: var(--display); font-weight: 800; font-size: 1.6rem; text-transform: uppercase; text-decoration: none; line-height: 1; }
.mobile-nav .btn { width: 100%; margin-bottom: 1.5rem; }

@media (max-width: 900px) {
  .nav, .header-cta { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (min-width: 901px) {
  .mobile-nav { display: none !important; }
}
@media (max-width: 380px) {
  .logo { font-size: 1rem; }
  .logo-word { letter-spacing: 0.12em; }
}

/* ---------- Sections ---------- */

.section { padding-block: var(--section); }
.section-tight { padding-block: calc(var(--section) * 0.6); }
.section-flush-top { padding-top: 0; }
.section-alt, .section-sheet, .section-ink { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { display: grid; gap: 0.9rem; max-width: 44rem; margin-bottom: clamp(2.25rem, 1.75rem + 1.5vw, 3.25rem); }
.section-head-center { margin-inline: auto; text-align: center; justify-items: center; }

/* ---------- Hero ---------- */

.hero { padding-block: clamp(2.75rem, 2rem + 3vw, 5rem) clamp(3.5rem, 2.5rem + 3vw, 5.5rem); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; gap: 3.5rem; align-items: center; }
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 4rem; }
}
.hero-copy { display: grid; justify-items: start; }
.hero-copy .kicker { margin-bottom: 1.1rem; }
.hero-copy .lead { margin-top: 1.4rem; max-width: 34rem; }
.hero-copy .btn-row { margin-top: 1.9rem; }

/* compact red-pen demo (phones) */
.demo-mini {
  width: 100%;
  margin-top: 1.5rem;
  padding: 1rem 1.1rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 2px solid var(--red);
  border-radius: 8px;
}
.demo-mini-row { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.9375rem; color: var(--text-2); }
.demo-mini-amt { position: relative; font-weight: 600; color: var(--text); white-space: nowrap; }
.demo-mini-amt::after {
  content: "";
  position: absolute;
  left: -4px; right: -4px; top: 54%;
  height: 2px;
  background: var(--red);
  transform: rotate(-3deg) scaleX(0);
  transform-origin: left;
  animation: strike-in 0.5s 0.7s var(--draw) forwards;
}
.demo-mini-note { margin-top: 0.55rem; font-family: var(--hand); font-weight: 700; font-size: 1.125rem; line-height: 1.25; color: var(--red); opacity: 0; animation: note-in 0.4s 1.15s var(--ease) forwards; }
@keyframes strike-in { to { transform: rotate(-3deg) scaleX(1); } }
@keyframes note-in { to { opacity: 1; } }
@media (min-width: 1000px) {
  .demo-mini { display: none; }
}

/* stats strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  max-width: 34rem;
  margin-top: 2.25rem;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-strip li { padding: 0.9rem 0.25rem 0.9rem 0; }
.stats-strip li + li { padding-left: 1rem; border-left: 1px solid var(--line); }
.stat-num { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(1.9rem, 1.5rem + 1.4vw, 2.5rem); line-height: 1; color: #fff; }
.stat-label { display: block; margin-top: 0.35rem; font-size: 0.8125rem; line-height: 1.3; color: var(--muted); }

/* full quote sheet (desktop) */
.sheet-stage { display: none; }
@media (min-width: 1000px) {
  .sheet-stage { display: block; }
}
.sheet {
  margin: 0;
  padding: 1.6rem 1.75rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}
.sheet-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.25rem 1rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--line-2); }
.sheet-title { font-family: var(--display); font-weight: 800; font-size: 1.35rem; text-transform: uppercase; line-height: 1; }
.sheet-meta { color: var(--muted); font-size: 0.8125rem; }
.q-list { list-style: none; }
.q-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1rem; padding: 0.8rem 0 0.7rem; border-bottom: 1px solid var(--line); }
.q-item { color: var(--text-2); line-height: 1.35; }
.q-amt { position: relative; align-self: start; justify-self: end; white-space: nowrap; font-weight: 600; }
.q-amt-cut::after {
  content: "";
  position: absolute;
  left: -4px; right: -4px; top: 54%;
  height: 2px;
  background: var(--red);
  transform: rotate(-3deg) scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--draw);
}
.is-marked .q-amt-cut::after { transform: rotate(-3deg) scaleX(1); }
.is-marked .q-amt-cut { color: var(--muted); }
.q-ring { position: absolute; left: -14px; top: -9px; width: calc(100% + 28px); height: calc(100% + 18px); max-width: none; overflow: visible; pointer-events: none; }
.q-ring path, .q-tick path { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 0.65s var(--draw); }
.q-ring path { stroke: var(--red); stroke-width: 1.75; }
.is-marked .q-ring path, .is-marked .q-tick path { stroke-dashoffset: 0; }
.q-tick { display: inline-block; vertical-align: -2px; width: 14px; height: 14px; margin-right: 0.35rem; }
.q-tick path { stroke: var(--text-2); stroke-width: 2.2; transition-duration: 0.38s; }
.q-note {
  grid-column: 1 / -1;
  min-height: 1.3em;
  margin-top: 0.25rem;
  font-family: var(--hand);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
  color: var(--red);
  opacity: 0;
  transition: opacity 0.35s 0.25s var(--ease);
}
.q-note-ok { color: var(--text-2); }
.is-marked .q-note { opacity: 1; }
.q-row-gap::before { content: ""; position: absolute; inset: 0.25rem -0.6rem; border: 1.5px dashed var(--red); border-radius: 6px; clip-path: inset(0 100% 0 0); transition: clip-path 0.6s var(--draw); }
.q-row-gap.is-marked::before { clip-path: inset(0 0 0 0); }
.q-row-gap .q-amt { color: var(--muted); font-weight: 400; font-style: italic; }
.sheet-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 0.5rem 1rem; padding-top: 1.1rem; }
.found-label { font-weight: 600; }
.found-sub { display: block; font-family: var(--hand); font-weight: 700; font-size: 0.95rem; color: var(--red); opacity: 0; transition: opacity 0.4s var(--ease); }
.sheet.is-done .found-sub { opacity: 1; }
.found-total { font-family: var(--display); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--red); }
.sheet-caption { margin-top: 0.85rem; color: var(--muted); font-size: 0.8125rem; }

/* ---------- Quote check (checklist + promise) ---------- */

.page-hero-grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 960px) {
  .page-hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 4.5rem; }
}
.for-who { display: inline-block; margin: 0 0 1rem; font-family: var(--hand); font-weight: 700; font-size: 1.125rem; line-height: 1.25; color: var(--red); transform: rotate(-1.5deg); transform-origin: left center; }
.qc-lead { margin-top: 1rem; max-width: 36rem; }
.qc-list { list-style: none; display: grid; gap: 1rem; margin-top: 1.75rem; max-width: 37rem; }
.qc-list li { display: grid; grid-template-columns: 1.5rem 1fr; gap: 0.8rem; align-items: start; color: var(--text-2); line-height: 1.6; }
.qc-list svg { width: 1.25rem; height: 1.25rem; margin-top: 0.15rem; stroke: var(--red); stroke-width: 3; }
.qc-list strong { color: #fff; font-weight: 600; }

.promise-box {
  padding: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  border-radius: var(--radius);
}
.promise-box h2, .promise-box h3 { font-family: var(--display); font-weight: 800; font-size: 2rem; line-height: 1; text-transform: uppercase; margin-bottom: 0.9rem; }
.promise-box p { color: var(--text-2); }
.promise-box .ratio { margin-top: 1.5rem; }
.ratio { margin: 0; display: grid; gap: 1.25rem; }
.ratio-row { display: grid; gap: 0.45rem; }
.ratio-top { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.875rem; color: var(--muted); }
.ratio-top strong { font-family: var(--display); font-weight: 800; font-size: 1.4rem; line-height: 1; color: #fff; }
.ratio-track { height: 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.ratio-bar { height: 100%; border-radius: 999px; }
.ratio-bar-fee { width: 33.333%; background: var(--muted); }
.ratio-bar-find { width: 100%; background: var(--red); }
.ratio figcaption { font-size: 0.875rem; color: var(--muted); }

/* ---------- Value pillars as redline snips ---------- */

.pillars { display: grid; gap: 1rem; list-style: none; }
@media (min-width: 900px) {
  .pillars { grid-template-columns: repeat(3, 1fr); }
}
.pillar {
  display: grid;
  align-content: start;
  gap: 0.6rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 2px solid var(--red);
  border-radius: var(--radius);
}
.pillar h3 { font-family: var(--display); font-weight: 800; font-size: 1.6rem; line-height: 1; text-transform: uppercase; }
.pillar p { color: var(--text-2); font-size: 0.9375rem; }
.snip {
  margin-bottom: 0.75rem;
  padding: 0.75rem 0.85rem;
  background: var(--bg);
  border: 1px dashed var(--line-2);
  border-radius: 6px;
  font-size: 0.875rem;
}
.snip-row { display: flex; justify-content: space-between; gap: 0.75rem; color: var(--text-2); }
.snip-row b { font-weight: 600; color: var(--text); white-space: nowrap; }
.snip .hand { display: block; margin-top: 0.35rem; font-size: 1rem; }

/* ---------- About Brendan ---------- */

.about-grid { display: grid; gap: 2rem 3.5rem; align-items: start; }
@media (min-width: 860px) {
  .about-grid { grid-template-columns: auto minmax(0, 1fr); }
}
.portrait {
  width: clamp(140px, 10vw + 60px, 180px);
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--red);
  padding: 5px;
  background: var(--bg);
  filter: grayscale(1) contrast(1.15);
}
.bio-head { display: grid; justify-items: start; gap: 1.5rem; }
.about-copy h2 { margin-bottom: 0.6rem; }
.about-sub { font-size: 1.125rem; color: #fff; font-weight: 600; margin-bottom: 1.25rem; }
.about-copy .prose { max-width: 40rem; }
.prose p { color: var(--text-2); }

.gallery {
  display: grid;
  gap: 1rem;
  margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  list-style: none;
}
@media (min-width: 640px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
/* phones: a swipeable row, not a tall stack */
@media (max-width: 639px) {
  .gallery {
    grid-auto-flow: column;
    grid-auto-columns: 82%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    padding-bottom: 0.5rem;
    scrollbar-width: none;
  }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery li { scroll-snap-align: start; }
}
.gallery figure { margin: 0; }
.gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  filter: grayscale(0.85) contrast(1.05);
  transition: filter 0.4s var(--ease);
}
.gallery li:hover img, .gallery li:focus-within img { filter: none; }
.gallery figcaption { margin-top: 0.6rem; font-size: 0.8125rem; line-height: 1.45; color: var(--muted); }
.gallery figcaption b { display: block; color: var(--text); font-weight: 600; font-size: 0.875rem; }
.gallery-note { margin-top: 1.25rem; font-size: 0.875rem; color: var(--muted); }

/* ---------- Testimonial marquee: annotated redline notes ---------- */

.marquee-row {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track { display: flex; width: max-content; list-style: none; padding-block: 0.25rem; }
.marquee-track > li { flex: none; margin-right: 1rem; }
.js .marquee.is-running .marquee-track { animation: marquee 95s linear infinite; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.t-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: clamp(280px, 80vw, 340px);
  height: 100%;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 2px solid var(--red);
  border-radius: 6px;
}
.t-title { display: flex; gap: 0.55rem; align-items: flex-start; font-family: var(--body); font-weight: 600; font-size: 0.9375rem; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.3; color: #fff; }
.t-title::before {
  content: "";
  flex: none;
  width: 1rem;
  height: 1rem;
  margin-top: 0.1rem;
  background: var(--red);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M3.5 10.5l4.2 4.2L16.5 5' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M3.5 10.5l4.2 4.2L16.5 5' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.t-card blockquote { margin: 0; }
.t-card blockquote p { font-size: 0.9rem; line-height: 1.6; color: var(--text-2); }
.t-author { margin-top: auto; padding-top: 0.35rem; font-family: var(--hand); font-weight: 700; font-size: 1.0625rem; color: var(--red); }
@media (prefers-reduced-motion: reduce) {
  .marquee-row { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-mask-image: none; mask-image: none; }
  .marquee-track > li { scroll-snap-align: start; }
}

/* ---------- CTA banner ---------- */

.cta-banner-wrap { padding-block: clamp(3rem, 2.5rem + 2vw, 4.5rem) var(--section); }
.cta-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  padding: clamp(1.75rem, 1.25rem + 2vw, 3rem);
  background: var(--surface);
  border: 1px solid var(--red);
  border-radius: var(--radius);
}
.cta-banner h2 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); max-width: 16ch; }
.cta-banner p { margin-top: 0.75rem; max-width: 36rem; color: var(--text-2); }
.cta-banner .btn-row { margin-top: 0; }

/* ---------- Inner pages ---------- */

.page-hero { padding-block: clamp(3rem, 2rem + 3vw, 5rem); border-bottom: 1px solid var(--line); }
.page-hero .lead { margin-top: 1.25rem; max-width: 38rem; }
.h1-long { font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4.2rem); }

.split { display: grid; gap: 1.5rem 4rem; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1.2fr; }
}
.checks { display: grid; gap: 1rem; list-style: none; }
@media (min-width: 820px) {
  .checks { grid-template-columns: repeat(2, 1fr); }
}
.check { display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 1.1rem; padding: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-left: 2px solid var(--red); border-radius: var(--radius); }
.check-num { grid-row: span 2; font-family: var(--display); font-weight: 800; font-size: 1.9rem; line-height: 1; color: var(--red); }
.check-num svg { color: var(--red); }
.check h3 { font-family: var(--display); font-weight: 800; font-size: 1.45rem; text-transform: uppercase; line-height: 1.05; }
.check p { color: var(--text-2); font-size: 0.9375rem; }

.process { display: grid; gap: 1rem; list-style: none; }
@media (min-width: 900px) {
  .process { grid-template-columns: repeat(4, 1fr); }
}
.process li { padding: 1.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.process-num { display: block; margin-bottom: 0.9rem; font-family: var(--hand); font-weight: 700; font-size: 1.5rem; line-height: 1; color: var(--red); }
.process h3 { margin-bottom: 0.4rem; }
.process p { color: var(--text-2); font-size: 0.9375rem; }

.report-list { list-style: none; display: grid; border-top: 1px solid var(--line); }
.report-list li { display: grid; grid-template-columns: 1.5rem 1fr; gap: 0.75rem; padding: 1rem 0; border-bottom: 1px solid var(--line); color: var(--text-2); }
.report-list svg { width: 18px; height: 18px; margin-top: 0.3rem; stroke: var(--red); stroke-width: 3; }

.faq { max-width: 52rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.15rem 0; min-height: 3rem; list-style: none; cursor: pointer; font-weight: 600; font-size: 1.0625rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; flex: none; width: 14px; height: 14px; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: var(--red); transition: transform 0.25s var(--ease); }
.faq-icon::after { transform: rotate(90deg); }
.faq details[open] .faq-icon::after { transform: rotate(0deg); }
.faq-body { padding: 0 2.5rem 1.2rem 0; color: var(--text-2); }

.plan { margin: 0; padding: clamp(0.85rem, 0.5rem + 1vw, 1.4rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.plan svg { width: 100%; height: auto; }
.plan .draw { fill: none; }
.plan text { font-family: var(--body); font-size: 13.5px; }
.plan-caption { margin-top: 0.75rem; font-size: 0.8125rem; color: var(--muted); }

.flow { display: grid; gap: 1rem; align-items: stretch; }
@media (min-width: 820px) {
  .flow { grid-template-columns: 1fr auto 1fr; }
}
.flow-card { padding: 1.6rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.flow-card-now { border-left: 2px solid var(--red); }
.flow-step { margin-bottom: 0.4rem; font-family: var(--hand); font-weight: 700; font-size: 1.25rem; color: var(--red); }
.flow-card h3 { margin-bottom: 0.5rem; }
.flow-card p { color: var(--text-2); }
.flow-join { display: grid; place-items: center; color: var(--red); }
.flow-join svg { width: 40px; height: 40px; }
@media (max-width: 819px) {
  .flow-join svg { transform: rotate(90deg); }
}

.audience { display: grid; gap: 1rem; list-style: none; margin-top: 2.5rem; }
@media (min-width: 760px) {
  .audience { grid-template-columns: repeat(3, 1fr); }
}
.audience li { padding: 1.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.audience h3 { margin-bottom: 0.4rem; }
.audience p { color: var(--text-2); font-size: 0.9375rem; }
.audience-flush { margin-top: 0; }

.proof-grid { display: grid; gap: 1rem; list-style: none; }
.quote-story { margin: 0; padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem); background: var(--surface); border: 1px solid var(--line); border-left: 2px solid var(--red); border-radius: var(--radius); display: grid; gap: 1rem; }
.quote-story h3 { font-family: var(--display); font-weight: 800; font-size: 1.9rem; line-height: 1; text-transform: uppercase; }
.quote-story blockquote { margin: 0; }
.quote-story blockquote p { color: var(--text-2); font-size: 1.0625rem; }
.quote-story figcaption { font-family: var(--hand); font-weight: 700; color: var(--red); }
.quote-story .avatar { display: none; }
.story-head { display: grid; gap: 0.5rem; }

.cta-band { text-align: center; }
.cta-band h2 { max-width: 22ch; margin-inline: auto; }
.cta-band p { margin: 1.1rem auto 0; max-width: 36rem; color: var(--text-2); font-size: 1.0625rem; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Contact / booking form ---------- */

.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 960px) {
  .contact-grid { grid-template-columns: 1.4fr 1fr; gap: 4.5rem; align-items: start; }
}
.form { display: grid; gap: 1.4rem; padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.field { display: grid; gap: 0.4rem; }
.field-row { display: grid; gap: 1.4rem; }
@media (min-width: 640px) {
  .field-row { grid-template-columns: 1fr 1fr; }
}
.label { font-weight: 600; font-size: 0.9375rem; }
.label .opt { font-weight: 400; color: var(--muted); }
.hint { font-size: 0.8125rem; color: var(--muted); margin: 0; }
.input, .select, .textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s var(--ease);
}
.textarea { min-height: 7rem; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23F2F2EF' stroke-width='1.8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.input:hover, .select:hover, .textarea:hover { border-color: rgba(255, 255, 255, 0.4); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--red); }
.field.has-error .input, .field.has-error .textarea { border-color: var(--red); }
.error-msg { display: none; margin: 0; color: #FF7A72; font-size: 0.875rem; }
.field.has-error .error-msg { display: block; }
.choices { border: 0; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.choices legend { padding: 0; margin-bottom: 0.4rem; }
.choice { display: flex; align-items: center; gap: 0.75rem; min-height: 3rem; padding: 0.6rem 0.95rem; border: 1px solid var(--line-2); border-radius: 8px; cursor: pointer; }
.choice:hover { border-color: rgba(255, 255, 255, 0.4); }
.choice input { width: 18px; height: 18px; accent-color: var(--red); margin: 0; }
.choice:has(input:checked) { border-color: var(--red); }
.meet-options { display: grid; gap: 0.75rem; }
@media (min-width: 560px) {
  .meet-options { grid-template-columns: 1fr 1fr; }
}
.meet { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 0.85rem; align-items: start; padding: 1.1rem 3rem 1.1rem 1.1rem; border: 1px solid var(--line-2); border-radius: 8px; cursor: pointer; transition: border-color 0.2s var(--ease); }
.meet input { grid-row: span 2; width: 18px; height: 18px; margin: 0.2rem 0 0; accent-color: var(--red); }
.meet-title { font-weight: 600; }
.meet-desc { color: var(--muted); font-size: 0.875rem; line-height: 1.4; }
.meet-icon { position: absolute; right: 1rem; top: 1rem; width: 22px; height: 22px; color: var(--muted); }
.meet:hover { border-color: rgba(255, 255, 255, 0.45); }
.meet:has(input:checked) { border-color: var(--red); }
.file { font: inherit; font-size: 0.9375rem; padding: 0.5rem 0; color: var(--text-2); }
.file::file-selector-button { margin-right: 0.9rem; padding: 0.55rem 1rem; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--text); font: inherit; font-weight: 600; cursor: pointer; }
.form-status { padding: 0.9rem 1rem; border: 1px solid var(--red); border-radius: 8px; background: var(--red-ink); }
.form-status[hidden] { display: none; }
.form-done { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: var(--radius); }
.form-done h2 { font-size: 2rem; margin-bottom: 0.6rem; }
.form-done p { color: var(--text-2); }
.aside-title { font-size: 2rem; margin-bottom: 1rem; }
.next-steps { list-style: none; counter-reset: n; border-top: 1px solid var(--line); }
.next-steps li { display: grid; grid-template-columns: 2rem 1fr; gap: 0.75rem; padding: 1rem 0; border-bottom: 1px solid var(--line); color: var(--text-2); }
.next-steps li::before { counter-increment: n; content: counter(n); font-family: var(--hand); font-weight: 700; font-size: 1.25rem; line-height: 1.3; color: var(--red); }

/* ---------- Get started dialog ---------- */

.book {
  width: min(540px, calc(100vw - 2rem));
  max-height: calc(100dvh - 2rem);
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line-2);
  border-top: 3px solid var(--red);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8);
}
.book::backdrop { background: rgba(5, 6, 7, 0.72); }
.book-inner { position: relative; padding: clamp(1.4rem, 1rem + 1.5vw, 2rem); }
.book-count { margin-bottom: 0.4rem; font-family: var(--hand); font-weight: 700; font-size: 1rem; color: var(--red); }
.book-step h2 { font-size: clamp(1.9rem, 1.6rem + 1vw, 2.4rem); padding-right: 2.75rem; }
.book-sub { margin-top: 0.6rem; color: var(--muted); }
.book-options { display: grid; gap: 0.7rem; margin-top: 1.4rem; }
button.meet { width: 100%; font: inherit; color: var(--text); text-align: left; background: transparent; grid-template-columns: 1fr; }
.book-form { display: grid; gap: 1rem; }
.book-form .book-sub { margin: -0.25rem 0 0.25rem; }
.book-form .field { gap: 0.35rem; }
.book-form .input, .book-form .textarea { min-height: 2.875rem; }
.book-form .textarea { min-height: 5rem; }
.book-form .choice { min-height: 2.75rem; }
.book-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: flex-end; margin-top: 0.5rem; }
@media (max-width: 480px) {
  .book-actions .btn { flex: 1 1 auto; }
}
.book-done { text-align: center; padding-block: 0.75rem 0.25rem; }
.book-done h2 { padding-right: 0; }
.book-done .book-actions { justify-content: center; margin-top: 1.4rem; }
.book-done-icon { display: inline-grid; place-items: center; width: 3.25rem; height: 3.25rem; margin-bottom: 0.9rem; border: 1px solid var(--red); border-radius: 50%; color: var(--red); }
.book-done-icon svg { width: 1.6rem; height: 1.6rem; }
.book-step[hidden] { display: none; }
.book-close { position: absolute; right: 1rem; top: 1rem; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--text); cursor: pointer; }
.book-close:hover { border-color: var(--line-2); }
.book-close svg { width: 16px; height: 16px; }

/* ---------- Footer ---------- */

.site-footer { padding-block: 4rem 2rem; border-top: 1px solid var(--line); background: #08090A; }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 820px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1.3fr; }
}
.footer-brand { margin-bottom: 0.75rem; font-size: 1.25rem; }
.footer-about { color: var(--muted); max-width: 26rem; }
.footer-title { font-weight: 600; margin-bottom: 0.75rem; }
.footer-list { list-style: none; display: grid; gap: 0.3rem; }
.footer-list a { color: var(--muted); text-decoration: none; display: inline-block; padding: 0.2rem 0; }
.footer-list a:hover { color: var(--text); }
.footer-cta .footer-title { color: var(--text-2); }
.footer-cta .btn { margin-top: 0.4rem; }
.footer-base { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: 0.8125rem; color: var(--muted); }

/* ---------- 404 ---------- */

.notfound { min-height: 60vh; display: grid; align-content: center; justify-items: start; }
.notfound h1 { margin-top: 0.75rem; }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
}

.snip .circled { margin: 0 0.3rem 0 0.5rem; white-space: nowrap; }
.snip { padding: 0.8rem 1rem; }

@media (max-width: 639px) {
  .gallery { scroll-padding-inline: var(--gutter); }
}

/* Longer question headline: keep it to ~4 lines on desktop */
.hero h1 { font-size: clamp(2.6rem, 1.5rem + 3.4vw, 4.25rem); line-height: 0.95; }
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 3.5rem; }
}
@media (max-width: 420px) {
  .hero .btn-large { font-size: 0.8125rem; letter-spacing: 0.04em; padding-inline: 1.2rem; }
}
