/* MLS Projects — "The Ute Door": trade-vehicle livery translated to the web.
   Flat colour, hard edges, one 12° cut, gold pinstripe, phone number set big. */

:root {
  --blue: #00aeef;
  --blue-pressed: #0091c9;
  --blue-tint: #e6f6fd;
  --charcoal: #2c2c2c;
  --ink: #1a1a1a;
  --ink-soft: #555b62;
  --gold: #dbb778;
  --gold-deep: #c1a064;
  --white: #ffffff;
  --primer: #f2f3f4;
  --primer-deep: #e3e5e8;
  --line: #d6d9dd;
  --on-blue-soft: #d8f2fd;
  --on-dark-soft: #c9ccd0;

  --display: "Anton", "Archivo", Impact, sans-serif;
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mark: "Montserrat", "Archivo", sans-serif;

  --wrap: 1240px;
  --gutter: 24px;
  --section: 88px;
  --section-m: 56px;
  --cut: 88px;          /* horizontal run of the 12° cut on a full-height panel */
  --stripe: 6px;
  --r: 2px;
  --shadow: 0 18px 40px -20px rgba(26, 26, 26, .45);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p a, .footer li a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--blue); }
p a:hover, .footer li a:hover { color: var(--blue-pressed); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
p + p { margin-top: 1em; }
strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.display {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .005em;
  line-height: .95;
  text-wrap: balance;
}
h1.display { font-size: clamp(2.6rem, 5.6vw, 5.2rem); }
h2.display { font-size: clamp(2.1rem, 3.8vw, 3.4rem); }
h3.display { font-size: clamp(1.5rem, 2.2vw, 1.9rem); }
.display em { font-style: normal; color: var(--blue); }
.on-blue .display em, .on-dark .display em { color: var(--gold); }
.kicker {
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue-pressed);
  margin-bottom: 14px;
}
.on-blue .kicker { color: var(--on-blue-soft); }
.on-dark .kicker { color: var(--gold); }
.lead { font-size: 1.2rem; line-height: 1.5; color: var(--ink-soft); max-width: 36rem; }
.on-blue .lead { color: var(--on-blue-soft); }
.on-dark .lead { color: var(--on-dark-soft); }
.body-copy { max-width: 62ch; }
.body-copy p + p { margin-top: 1.1em; }
.muted { color: var(--ink-soft); }
.tbc { background: #fff3c4; color: #5a4300; padding: 0 5px; border-radius: 2px; font-size: .85em; font-weight: 600; white-space: nowrap; }
.on-blue .tbc, .on-dark .tbc { background: rgba(255, 243, 196, .95); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 24px;
  font: 700 1rem/1 var(--body);
  letter-spacing: .02em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: var(--r);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-pressed); }
.btn-dark { background: var(--charcoal); color: var(--white); }
.btn-dark:hover { background: var(--ink); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-deep); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.on-blue .btn-outline, .on-dark .btn-outline { color: var(--white); border-color: rgba(255, 255, 255, .7); }
.on-blue .btn-outline:hover, .on-dark .btn-outline:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-sm { padding: 11px 16px; font-size: .9rem; }

.link {
  font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: .92rem;
  display: inline-flex; align-items: center; gap: 8px; color: var(--blue-pressed);
  border-bottom: 2px solid transparent; transition: border-color .15s;
}
.link:hover { border-color: currentColor; }
.link svg { width: 16px; height: 16px; }

/* ---------- panels: the livery ---------- */
.on-blue { background: var(--blue); color: var(--white); }
.on-dark { background: var(--charcoal); color: var(--white); }
.on-primer { background: var(--primer); }
.pinstripe { position: relative; }
.pinstripe::after { content: ""; position: absolute; inset: 0 0 auto 0; height: var(--stripe); background: var(--gold); z-index: 3; pointer-events: none; }
.cut-l { clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%); }
.cut-r { clip-path: polygon(0 0, 100% 0, calc(100% - var(--cut)) 100%, 0 100%); }

/* ---------- topbar ---------- */
.topbar { background: var(--charcoal); color: var(--white); font-size: .9rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 42px; gap: 16px; }
.topbar ul { display: flex; align-items: center; gap: 22px; }
.topbar li { display: inline-flex; align-items: center; gap: 8px; color: var(--on-dark-soft); }
.topbar svg { width: 15px; height: 15px; color: var(--gold); }
.topbar .phone { font-family: var(--display); font-size: 1.15rem; letter-spacing: .04em; color: var(--white); }
.topbar .phone:hover { color: var(--gold); }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 30; background: var(--white); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 0; color: var(--ink); }
.logo svg { height: 34px; width: auto; }
.on-dark .logo { color: var(--white); }
.nav ul { display: flex; align-items: center; gap: 4px; }
.nav a {
  display: inline-block; padding: 12px 14px; font-weight: 700; font-size: .95rem;
  text-transform: uppercase; letter-spacing: .03em;
  text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 1.5px; text-decoration-color: var(--blue);
  transition: text-decoration-thickness .15s, color .15s;
}
.nav a:hover, .nav a[aria-current="page"] { text-decoration-thickness: 3.5px; }
.nav .cta { margin-left: 12px; }
.nav-toggle { display: none; background: none; border: 2px solid var(--ink); border-radius: var(--r); padding: 9px 12px; font: 700 .85rem var(--body); text-transform: uppercase; cursor: pointer; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--blue); }
/* hero + the full proof rail (91px) fill the first screen under topbar + header (127px) */
.hero .wrap { display: grid; grid-template-columns: .92fr 1fr; min-height: max(480px, calc(100svh - 218px)); }
.hero-copy { padding: 72px 56px 72px 0; display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 2; }
.hero-copy h1.display { font-size: clamp(2.6rem, 4.9vw, 4.6rem); }
.hero-copy .lead { margin-top: 22px; }
.lead-short { display: none; margin-top: 20px; font-size: 1.15rem; font-weight: 500; color: var(--white); } /* full-video variant only */
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
/* the media runs under the panel so the gold edge always sits on the video */
.hero-media { position: relative; }
.hero .hero-media { margin-left: calc(-1 * var(--cut) * 2.5); animation: media-in 1s var(--ease) both; }
.hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media video { z-index: 1; }
/* the blue door panel runs full-bleed left, cut at 12° into the video */
.hero::before {
  content: ""; position: absolute; inset: 0 auto 0 0;
  width: calc(50% + var(--cut) - 30px);
  background: var(--blue);
  clip-path: polygon(0 0, 100% 0, calc(100% - var(--cut) * 1.6) 100%, 0 100%);
  z-index: 1;
}
/* gold stripe tracing the vinyl edge of the door panel */
.hero-edge {
  position: absolute; inset: 0 auto 0 0;
  width: calc(50% + var(--cut) - 30px);
  background: var(--gold);
  clip-path: polygon(calc(100% - 7px) 0, 100% 0, calc(100% - var(--cut) * 1.6) 100%, calc(100% - var(--cut) * 1.6 - 7px) 100%);
  z-index: 1; pointer-events: none;
}
.proof { border-bottom: 1px solid var(--line); background: var(--white); }
.proof ul { display: grid; grid-template-columns: repeat(3, 1fr); }
.proof .tbc { white-space: normal; }
.proof li { padding: 20px 24px 20px 0; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.proof li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.proof svg { width: 22px; height: 22px; color: var(--blue); margin-top: 2px; }
.proof strong { display: block; font-size: 1rem; text-transform: uppercase; letter-spacing: .03em; }
.proof span { color: var(--ink-soft); font-size: .95rem; }
/* reviews: ruled columns, the real one in ink, the empty ones honest */
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.review .tbc { white-space: normal; }
.review { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.review + .review { padding-left: 28px; border-left: 1px solid var(--line); }
.review .q { font-size: 1.15rem; line-height: 1.5; flex: 1; }
.review footer { font-weight: 700; font-size: .95rem; }
.review footer span { display: block; font-weight: 400; color: var(--ink-soft); font-size: .88rem; margin-top: 2px; }
.review.slot { color: var(--ink-soft); font-size: .95rem; justify-content: center; }
.review.slot p { padding: 18px; border: 1px dashed var(--line); text-align: center; }
@keyframes media-in { from { opacity: 0; transform: translateX(24px); } }
@media (prefers-reduced-motion: reduce) { .hero-media { animation: none; } }
.hero-copy .display, .hero-copy .lead, .hero-copy .kicker { color: var(--white); }
.hero-copy .lead { color: var(--on-blue-soft); }
.hero-copy .kicker { color: var(--on-blue-soft); }
.hero-copy .display em { color: var(--gold); }
.hero .btn-outline, .page-hero .btn-outline { color: var(--white); border-color: rgba(255, 255, 255, .75); }
.hero .btn-outline:hover, .page-hero .btn-outline:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

/* ---------- intro (home, every visit) ----------
   the blue MLS plate stands on white, PROJECTS slides in beside it, the plate grows until the screen is MLS blue
   with only "MLS" left, then the blue parts like a curtain on the 12° cut with a gold seam. Timeline: inline script in index.html. */
.intro-screen { display: none; }
.intro .intro-screen { display: block; position: fixed; inset: 0; z-index: 100; background: var(--white); animation: intro-failsafe 0s 7s forwards; }
.intro-curtain .intro-screen { background: transparent; }
@keyframes intro-failsafe { to { visibility: hidden; } }
.intro-fill { position: absolute; inset: 0; z-index: 1; background: var(--blue); clip-path: inset(50%); visibility: hidden; }
.intro-fill.on { visibility: visible; }
.intro-fill.expand { transition: clip-path .85s cubic-bezier(.7, 0, .2, 1); }
/* the door: only the video side of the blue opens; the rest already is the hero panel. Its clip-path is measured from
   .hero-edge (desktop) or the stacked hero's gold band (phones) so the gold seam lands exactly on the page's gold edge. */
.intro-door { position: absolute; inset: 0; z-index: 1; background: var(--gold); visibility: hidden; transition: transform .9s cubic-bezier(.7, 0, .2, 1); }
.intro-door > div { position: absolute; inset: 0; background: var(--blue); }
.intro-curtain .intro-door { visibility: visible; }
.intro-curtain .intro-word { visibility: hidden; }
.intro-open .intro-door { transform: translateX(100%); }
.hf-split .intro-fill { transition: transform .9s cubic-bezier(.7, 0, .2, 1); }
.hf-split.intro-open .intro-fill { transform: translateX(-100%); } /* full-video variant: left half leaves too */
/* the page chrome waits off-screen: nav drops in from the top, the phone call bar rises from the bottom */
.intro body { background: var(--blue); }
.intro .topbar, .intro .header { transform: translateY(-140px); }
.intro-open .topbar, .intro-open .header { transform: none; transition: transform .7s var(--ease) .25s; }
.intro .proof, .intro .hero.pinstripe::after { opacity: 0; }
.intro-open .proof, .intro-open .hero.pinstripe::after { opacity: 1; transition: opacity .5s .7s; }
.intro-brand { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: .22em; font: 800 clamp(2.4rem, 8vw, 6rem)/1 var(--mark); letter-spacing: -.02em; }
.intro-word { position: relative; z-index: 0; color: var(--charcoal); opacity: 0; transform: translateX(60vw); transition: transform .75s var(--ease), opacity .3s; }
.intro-in .intro-word { opacity: 1; transform: none; }
.intro-mls { position: relative; z-index: 2; color: var(--white); background: var(--blue); padding: .12em .16em .1em; transition: opacity .25s; animation: intro-pop .45s var(--ease) backwards; }
@keyframes intro-pop { from { opacity: 0; transform: scale(.88); } } /* backwards only: a filled animation would override the inline centring transform */
.intro-mls.bare { background: transparent; }
.intro-mls.center { transition: transform .85s cubic-bezier(.7, 0, .2, 1), opacity .8s ease-in-out; }
/* MLS fades itself (not .intro-brand: opacity on the parent makes a stacking context that drops MLS under the blue fill at once) */
.intro-fade .intro-mls { opacity: 0; }
/* hero waits under the intro, then comes in; the video pulls back from 1.12 to 1 */
.intro .hero .hero-media, .intro-open .hero .hero-media { animation: none; }
.intro .hero-copy > * { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); animation: intro-show 0s 7s forwards; }
.intro-open .hero-copy > * { opacity: 1; transform: none; }
.intro-open .hero-copy > :nth-child(2) { transition-delay: .1s; }
.intro-open .hero-copy > :nth-child(3) { transition-delay: .2s; }
.intro-open .hero-copy > :nth-child(4) { transition-delay: .3s; }
@keyframes intro-show { to { opacity: 1; transform: none; } }
.intro .topbar, .intro .header, .intro .proof, .intro .mobile-bar { animation: intro-show 0s 7s forwards; } /* failsafe if the timeline never runs */
.hero .hero-media { overflow: hidden; z-index: 0; } /* own stacking context: keeps the video under the blue panel and gold edge */
.intro .hero-media video { transform: scale(1.12); }
.intro-open .hero-media video { transform: none; transition: transform 3.2s cubic-bezier(.2, .6, .2, 1); }

/* ---------- full-video hero, the default since 2026-09-24 (desktop only; ?hero=split shows the earlier split hero) ----------
   The video runs edge to edge; the blue panel becomes a tinted, softly blurred mask carrying the copy.
   With the intro: the whole blue wipes off to show the video alone, then the panel slides back in (.hf-anim → .panel-in). */
@media (min-width: 1025px) {
  .hero-full .hero .hero-media { position: absolute; inset: 0; margin: 0; }
  /* past 1920px the video stops growing (sharpness, sane crop) and sits centred; the hero's blue runs on either side */
  .hero-full .hero .hero-media { left: max(0px, (100% - 1920px) / 2); right: max(0px, (100% - 1920px) / 2); }
  .hero-full .hero::before { background: rgba(0, 174, 239, .68); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); } /* tint plus a hint of blur: the video still reads through */
  .hero-full .hero-copy { text-shadow: 0 1px 14px rgba(0, 70, 110, .35); }
  .hero-full .hero-copy .btn { text-shadow: none; }
  /* same ~50% split as the original hero; the panel is a tint over the full-width video */
  .hero-full .hero-copy .lead { display: none; }
  .hero-full .hero-copy .lead-short { display: block; }
  .hero-full .hero-copy .lead { color: var(--white); }
  .hf-anim .hero::before, .hf-anim .hero-edge { transform: translateX(-105%); transition: transform 1s cubic-bezier(.7, 0, .2, 1); }
  .hf-anim.panel-in .hero::before, .hf-anim.panel-in .hero-edge { transform: none; }
  .hf-anim .hero-copy > * { transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .hf-anim:not(.panel-in) .hero-copy > * { opacity: 0; transform: translateY(18px); }
  .hf-anim.panel-in .hero-copy > :nth-child(1) { transition-delay: .55s; }
  .hf-anim.panel-in .hero-copy > :nth-child(2) { transition-delay: .65s; }
  .hf-anim.panel-in .hero-copy > :nth-child(3) { transition-delay: .75s; }
  .hf-anim.panel-in .hero-copy > :nth-child(4) { transition-delay: .85s; }
}
@media (min-width: 1921px) {
  /* both video edges fade into the blue so no seam shows on very wide screens */
  .hero-full .hero .hero-media { -webkit-mask-image: linear-gradient(to right, transparent, #000 160px, #000 calc(100% - 220px), transparent); mask-image: linear-gradient(to right, transparent, #000 160px, #000 calc(100% - 220px), transparent); }
}

/* small page hero (inner pages) */
.page-hero { position: relative; overflow: hidden; background: var(--blue); color: var(--white); }
.page-hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; min-height: 440px; }
.page-hero .hero-copy { padding: 56px 48px 56px 0; }
.page-hero .crumbs { margin-bottom: 18px; }
.page-hero .hero-media { position: relative; }
.page-hero .hero-media::before { content: ""; position: absolute; inset: 0 auto 0 -1px; width: var(--cut); background: var(--blue); clip-path: polygon(0 0, 100% 0, 0 100%); z-index: 1; }
.page-hero .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero.no-media .wrap { grid-template-columns: 1fr; min-height: 0; }
.page-hero.no-media .hero-copy { padding: 64px 0 56px; max-width: 46rem; }
.page-hero .hero-media.m-only { display: none; }
.crumbs { font-size: .88rem; color: var(--on-blue-soft); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--white); text-decoration: underline; }
.crumbs span[aria-current] { color: var(--white); font-weight: 700; }
.answer { font-size: 1.15rem; line-height: 1.55; color: var(--white); max-width: 40rem; margin-top: 18px; }

/* ---------- sections ---------- */
.section { padding: var(--section) 0; }
.section-head { max-width: 40rem; margin-bottom: 44px; }
.section-head.row { display: flex; justify-content: space-between; align-items: end; max-width: none; gap: 24px; }
.section-head.row > div { max-width: 40rem; }
.section-head p { margin-top: 14px; color: var(--ink-soft); font-size: 1.1rem; }
.on-blue .section-head p, .on-dark .section-head p { color: inherit; opacity: .85; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }

/* the door: kept from the old site — photo beside a plain statement */
.door .media { position: relative; }
.door .media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow); border-bottom: var(--stripe) solid var(--gold); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 32px; border-top: 1px solid var(--line); }
.facts li { padding: 16px 20px 16px 0; border-bottom: 1px solid var(--line); }
.facts li:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
.facts strong { display: block; text-transform: uppercase; letter-spacing: .03em; font-size: .85rem; color: var(--ink-soft); font-weight: 700; }
.facts span { font-size: 1.05rem; }
.on-dark .facts, .on-dark .facts li { border-color: rgba(255, 255, 255, .18); }
.on-dark .facts strong { color: var(--gold); }
.facts.three { grid-template-columns: repeat(3, 1fr); }
.facts.three li { padding: 20px 24px 20px 0; }
.facts.three li:nth-child(even) { padding-left: 0; border-left: 0; }
.facts.three li:not(:nth-child(3n+1)) { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .18); }

/* tailgate: the services list as stacked lettering */
.tailgate .head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; margin-bottom: 36px; }
.tailgate ol { border-top: 1px solid rgba(255, 255, 255, .2); counter-reset: svc; }
.tailgate li { border-bottom: 1px solid rgba(255, 255, 255, .2); }
.tailgate a {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px;
  padding: 18px 0; position: relative;
}
.tailgate a > * { transition: transform .25s var(--ease); }
.tailgate a::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--stripe); background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.tailgate a:hover .name { transform: translateX(22px); }
.tailgate a:hover::before { transform: scaleX(1); }
.tailgate .name { font-family: var(--display); text-transform: uppercase; font-size: clamp(1.6rem, 3.2vw, 2.8rem); line-height: 1; }
.tailgate .desc { color: var(--on-dark-soft); font-size: .98rem; max-width: 34rem; text-align: right; }
.tailgate svg { width: 26px; height: 26px; color: var(--gold); }

/* steps: the quote sheet */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.steps li { padding: 28px 28px 8px 0; border-bottom: 1px solid var(--line); }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.steps .n { font-family: var(--display); font-size: 2.6rem; line-height: 1; color: var(--blue); }
.steps h3 { font-size: 1.15rem; font-weight: 700; margin: 14px 0 8px; text-transform: uppercase; letter-spacing: .02em; }
.steps p { color: var(--ink-soft); }

/* cyclone band */
.cyclone .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.cyclone .big { font-family: var(--display); text-transform: uppercase; line-height: .9; font-size: clamp(4rem, 11vw, 9rem); color: var(--white); }
.cyclone .big small { display: block; font-size: .28em; letter-spacing: .06em; color: var(--gold); margin-bottom: 8px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.checks svg { width: 22px; height: 22px; color: var(--gold); margin-top: 2px; }
.checks.on-light li { border-color: var(--line); }
.checks.on-light svg { color: var(--blue); }

/* projects strip */
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.strip a { position: relative; display: block; overflow: hidden; background: var(--primer-deep); }
.strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s var(--ease); }
.strip a:hover img { transform: scale(1.03); }
.strip figcaption {
  position: absolute; left: 0; bottom: 0; right: 0; padding: 72px 16px 16px;
  background: linear-gradient(to top, rgba(26, 26, 26, .88) 0%, rgba(26, 26, 26, .6) 45%, rgba(26, 26, 26, 0) 100%);
  color: var(--white); font-weight: 700; font-size: .95rem; text-transform: uppercase; letter-spacing: .03em;
}
.strip figcaption span { display: block; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--on-dark-soft); font-size: .88rem; }
.strip figure { margin: 0; }

/* audience band */
.audience { position: relative; overflow: hidden; }
.audience .wrap { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; min-height: 360px; }
.audience .copy { padding: 56px 48px 56px 0; display: flex; flex-direction: column; justify-content: center; }
.audience .media { position: relative; }
.audience .media::before { content: ""; position: absolute; inset: 0 auto 0 -1px; width: var(--cut); background: var(--white); clip-path: polygon(0 0, 100% 0, 0 100%); z-index: 1; }
.audience .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* faq: native details, ruled like a form */
.faq { border-top: 2px solid var(--ink); max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; display: grid; grid-template-columns: 1fr 28px; gap: 16px; align-items: center;
  padding: 20px 0; font-weight: 700; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 1.6rem; color: var(--blue); text-align: center; line-height: 1; transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 44px 22px 0; color: var(--ink-soft); max-width: 62ch; }
.on-dark .faq, .on-dark .faq details { border-color: rgba(255, 255, 255, .2); }
.on-dark .faq summary::after { color: var(--gold); }
.on-dark .faq .a { color: var(--on-dark-soft); }

/* cta band: phone number as the biggest thing on the page */
.cta-band { position: relative; overflow: hidden; }
.cta-band .wrap { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.cta-band .num { font-family: var(--display); font-size: clamp(2.6rem, 7.5vw, 6.5rem); line-height: 1; letter-spacing: .02em; color: var(--white); display: inline-block; }
.cta-band .num:hover { color: var(--gold); }
.cta-band .sub { color: var(--on-blue-soft); margin-top: 10px; font-size: 1.1rem; }
.cta-band .actions { display: flex; flex-direction: column; gap: 12px; }

/* ---------- service page bits ---------- */
.includes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.includes li { padding: 24px 28px 24px 0; border-bottom: 1px solid var(--line); }
.includes li:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.includes h3 { font-size: 1.1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 8px; }
.includes p { color: var(--ink-soft); font-size: .98rem; }
.on-dark-list, .on-dark-list li { border-color: rgba(255, 255, 255, .18) !important; }
.on-dark-list { border-top-color: rgba(255, 255, 255, .5) !important; }
.includes.two { grid-template-columns: repeat(2, 1fr); }
.includes.two li:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
.includes.two li:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }

/* justified gallery: rows of equal height, images scaled not cropped, the block is always a rectangle */
.gallery { display: flex; flex-direction: column; gap: 12px; }
.grow { display: flex; gap: 12px; }
.grow a { display: block; flex-basis: 0; min-width: 0; overflow: hidden; background: var(--primer-deep); }
.grow img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.grow a:hover img { transform: scale(1.03); }

/* services hub */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.svc-grid a { display: grid; grid-template-columns: 1fr 1fr; background: var(--white); border: 1px solid var(--line); overflow: hidden; transition: border-color .15s; }
.svc-grid a:hover { border-color: var(--blue); }
.svc-grid img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; }
.svc-grid .body { padding: 24px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.svc-grid .body p { color: var(--ink-soft); font-size: .98rem; }
.svc-grid .link { margin-top: 6px; }

/* projects page */
.work-block + .work-block { margin-top: 56px; }
.work-block .head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.anchor-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.anchor-nav a { padding: 8px 12px; border: 1px solid var(--line); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .03em; }
.anchor-nav a:hover { border-color: var(--blue); color: var(--blue-pressed); }
.anchor-nav a[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.work-block[hidden] { display: none; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.contact-card { border-top: 2px solid var(--ink); }
.contact-card > li { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start; }
.contact-card svg { width: 24px; height: 24px; color: var(--blue); margin-top: 3px; }
.contact-card strong { display: block; text-transform: uppercase; letter-spacing: .03em; font-size: .85rem; color: var(--ink-soft); }
.contact-card .big { font-family: var(--display); font-size: 2rem; line-height: 1; letter-spacing: .02em; }
.contact-card .big:hover { color: var(--blue-pressed); }
.suburbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.suburbs li { padding: 6px 10px; background: var(--primer); font-size: .88rem; }
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; font: 1rem var(--body); color: var(--ink);
  background: var(--white); border: 2px solid var(--line); border-radius: var(--r);
  transition: border-color .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); }
.field textarea { min-height: 140px; resize: vertical; }
.field .hint { font-size: .85rem; color: var(--ink-soft); margin-top: 6px; }
.form .note { font-size: .9rem; color: var(--ink-soft); }
.form-ok { display: none; padding: 20px; border: 2px solid var(--blue); background: var(--blue-tint); }
.form.sent .form-ok { display: block; }
.form.sent > :not(.form-ok) { display: none; }
.form-err { display: none; padding: 16px 20px; border: 2px solid #c0392b; background: #fdecea; color: #7a1f16; font-weight: 600; }
.form.failed .form-err { display: block; }

/* ---------- footer ---------- */
.footer { color: var(--on-dark-soft); font-size: .95rem; }
.footer .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 64px 0 40px; }
.footer h4 { color: var(--white); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: .9rem; margin-bottom: 14px; }
.footer li + li { margin-top: 8px; }
.footer a:hover { color: var(--white); }
.footer .num { font-family: var(--display); font-size: 1.9rem; letter-spacing: .03em; color: var(--white); display: inline-block; margin: 14px 0 6px; }
.footer .num:hover { color: var(--gold); }
.footer .legal .credit { color: var(--white); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--blue); }
.footer .legal .credit:hover { color: var(--gold); }
.footer .legal { border-top: 1px solid rgba(255, 255, 255, .15); padding: 20px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; color: #9a9ea3; }
.footer .social { display: flex; gap: 12px; margin-top: 16px; }
.footer .social a { width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .25); display: grid; place-items: center; transition: border-color .15s, background-color .15s; }
.footer .social a:hover { border-color: var(--gold); background: rgba(255, 255, 255, .06); }
.footer .social svg { width: 18px; height: 18px; }

/* mobile call bar */
.mobile-bar { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  /* stacked door: photo on top, blue panel cut up into it on the same diagonal, gold on the cut */
  .hero .wrap, .page-hero .wrap { grid-template-columns: 1fr; min-height: 0; }
  .hero::before, .hero-edge, .page-hero .hero-media::before { display: none; }
  .hero-media, .page-hero .hero-media { order: -1; aspect-ratio: 4 / 3; max-height: 60vh; animation: none; margin: 0 calc(-1 * var(--gutter)); }
  .hero-media img { position: relative; height: 100%; }
  .hero .hero-media { margin: 0 calc(-1 * var(--gutter)); }
  .page-hero .hero-media img { position: absolute; }
  .hero-copy, .page-hero .hero-copy { padding: 20px 0 48px; }
  .hero .hero-copy .lead { display: none; } /* phones/tablets: short line only, so more of the video shows */
  .hero .hero-copy .lead-short { display: block; margin-top: 16px; }
  .page-hero.no-media .hero-copy { padding: 40px 0 48px; }
  .page-hero:has(.m-only) .hero-copy { padding-top: 20px; }
  .page-hero .hero-media.m-only { display: block; }
  .hero-copy::before, .hero-copy::after { content: ""; position: absolute; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); bottom: calc(100% - 4px); height: calc(17vw + 4px); }
  .hero-copy::before { height: calc(17vw + 12px); background: var(--gold); clip-path: polygon(0 calc(100% - 8px), 100% 0, 100% 8px, 0 100%); }
  .hero-copy::after { background: var(--blue); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
  .split, .cyclone .wrap, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse > :first-child { order: 0; }
  .includes { grid-template-columns: repeat(2, 1fr); }
  .includes li:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .includes li:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
  .gallery a:first-child { grid-row: auto; }
  .audience .wrap { grid-template-columns: 1fr; }
  .audience .media { aspect-ratio: 16 / 9; margin-inline: calc(-1 * var(--gutter)); }
  .audience .media::before { display: none; }
  .audience .media img { position: relative; }
  .audience .copy { padding: 48px 0 40px; }
  .footer .top { grid-template-columns: 1fr 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .nav ul { display: none; }
  .nav.open ul { display: flex; flex-direction: column; align-items: stretch; position: absolute; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); top: 100%; background: var(--white); border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 20px; gap: 0; }
  .nav.open a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav.open .cta { margin: 14px 0 0; }
  .nav.open .cta .btn { display: flex; width: 100%; justify-content: center; padding: 15px 24px; border-bottom: 0; text-decoration: none; }
  .nav-toggle { display: inline-block; }
  .header .wrap { position: relative; }
  .topbar ul:first-child li:not(.phone-li) { display: none; }
}

@media (max-width: 720px) {
  :root { --section: var(--section-m); --cut: 48px; }
  body { font-size: 16px; padding-bottom: 72px; }
  .header .wrap { min-height: 68px; }
  .logo svg { height: 28px; }
  .topbar ul:last-child { display: none; }
  .proof { background: var(--primer); border-bottom: 0; padding: 10px 0; }
  .proof ul { grid-template-columns: 1fr; }
  .proof li { padding: 16px 0; }
  .proof li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .facts, .facts.three { grid-template-columns: 1fr; }
  .facts li:nth-child(even), .facts.three li:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .section-head.row { display: block; }
  .section-head.row .link { margin-top: 14px; }
  .includes, .includes.two, .steps, .strip, .review-grid { grid-template-columns: 1fr; }
  .includes li:nth-child(n), .includes.two li:nth-child(n), .steps li + li, .review + .review { padding-left: 0; border-left: 0; } /* :nth-child(n) matches the specificity of the desktop and tablet column rules */
  .review { padding-right: 0; }
  .gallery { display: flex; flex-flow: row wrap; align-items: flex-start; gap: 10px; }
  .grow { display: contents; }
  .grow a { flex: 0 0 calc(50% - 5px) !important; aspect-ratio: 1 !important; }
  .steps li { padding-right: 0; }
  .gallery { grid-auto-rows: 240px; }
  .tailgate .head { grid-template-columns: 1fr; align-items: start; }
  .tailgate a { grid-template-columns: 1fr; gap: 6px; }
  .tailgate .desc { text-align: left; }
  .tailgate svg { display: none; }
  .cta-band .wrap { grid-template-columns: 1fr; }
  .cta-band .actions { flex-direction: row; flex-wrap: wrap; }
  .form .row { grid-template-columns: 1fr; }
  .footer .top { grid-template-columns: 1fr; gap: 28px; padding: 48px 0 28px; }
  .intro-open .intro-door { transform: translateY(-100%); }
  .intro .mobile-bar { transform: translateY(100%); }
  .intro-open .mobile-bar { transform: none; transition: transform .6s var(--ease) .4s; }
  /* phones: the home hero fills the screen between header and call bar; the video takes all the height the copy leaves */
  .hero .wrap { display: flex; flex-direction: column; min-height: calc(100svh - 183px - env(safe-area-inset-bottom)); }
  .hero .hero-media { flex: 1 1 auto; aspect-ratio: auto; max-height: none; min-height: 38svh; }
  .hero .hero-media img, .hero .hero-media video { position: absolute; inset: 0; height: 100%; }
  .hero .hero-copy { flex: none; padding-bottom: 32px; }
  /* the fixed call bar carries both CTAs on phones, so heroes don't repeat them */
  .hero-actions { display: none; }
  .svc-grid a { grid-template-columns: 1fr; }
  .svc-grid img { min-height: 0; aspect-ratio: 16 / 9; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--white); border-top: 1px solid var(--line);
  }
  .mobile-bar .btn { justify-content: center; }
}
