/* ── 00-fonts.css ── */

/* Archivo, self-hosted (no third-party font request on load) */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/fonts/archivo-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/fonts/archivo-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}


/* ── perth/perth.css ── */
/* ═══════════════════════════════════════════════════════════════════════════
   01. AUVELLO 1-OF-1 BRAND TOKENS (DARK PRODUCTION HOUSE DEFAULT)
   ═══════════════════════════════════════════════════════════════════════════ */
:root {
  --cream-lift:         #F7F3E8;
  --cream:              #EFE9DA;
  --cream-deep:         #E5DEC9;
  --ink:                #23211C;
  --prussian-abyss:     #18273C;
  --prussian-deep:      #213552;
  --umber-shadow:       #2A1C18;

  --rust:               #D14E24;
  --rust-core:          #C44921;
  --coral:              #EA8254;
  --coral-soft:         #F2A67E;
  --slate:              #2E5284;

  /* Default: Nocturnal Production-House Dark */
  --bg-canvas:          #0E1623;
  --bg-lift:            #162234;
  --text-primary:       #F7F3E8;
  --text-secondary:     #B8B0A0;
  --text-muted:         #877F70;
  --border-hair:        rgba(247, 243, 232, 0.14);
  --border-subtle:      rgba(247, 243, 232, 0.09);

  --masthead-bg:        rgba(14, 22, 35, 0.84);
  --masthead-ring:      rgba(247, 243, 232, 0.14);
  --masthead-shadow:    0 14px 34px -12px rgba(4, 7, 12, 0.65);

  --btn-primary-bg:     #F7F3E8;
  --btn-primary-fg:     #18273C;

  --sound-pill-bg:      rgba(247, 243, 232, 0.10);
  --sound-pill-ring:    rgba(247, 243, 232, 0.22);
  --sound-pill-fg:      #F7F3E8;

  --r-shell:            clamp(24px, 3.2vw, 36px);   /* layout tokens are set in 12-shared-chrome.css */
  --r-card:             24px;
  --r-pill:             999px;
  --pad:                clamp(18px, 4.2vw, 60px);
  --max-w:              1440px;
  --face:               "Archivo", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --ease-out-quart:     cubic-bezier(0.165, 0.84, 0.44, 1);

  box-sizing: border-box;
  color-scheme: dark;
}

html[data-theme="light"] {
  --bg-canvas:          #EFE9DA;
  --bg-lift:            #F7F3E8;
  --text-primary:       #23211C;
  --text-secondary:     #5E564A;
  --text-muted:         #6B6356;   /* 4.8:1 on #EFE9DA (was #877E6E, 3.3:1) */
  --border-hair:        #CFC6B0;
  --border-subtle:      rgba(35, 33, 28, 0.11);

  --masthead-bg:        rgba(247, 243, 232, 0.88);
  --masthead-ring:      rgba(35, 33, 28, 0.10);
  --masthead-shadow:    0 12px 30px -12px rgba(24, 39, 60, 0.14);

  --btn-primary-bg:     #18273C;
  --btn-primary-fg:     #F7F3E8;

  --sound-pill-bg:      #18273C;
  --sound-pill-ring:    rgba(24, 39, 60, 0.25);
  --sound-pill-fg:      #F7F3E8;

  color-scheme: light;
}

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

html {
  height: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(84px + env(safe-area-inset-top, 0px));
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg-canvas);
  color: var(--text-primary);
  font-family: var(--face);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.4s ease, color 0.4s ease;
}

h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }
img, video, canvas, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* WCAG 2.1 AA Skip-to-Content Link */
.skip-link {
  position: fixed;
  top: -100px;
  left: 18px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background: var(--cream-lift);
  color: var(--prussian-abyss);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(10, 16, 26, 0.5);
  transition: top 0.2s ease;
}

.skip-link:focus-visible {
  top: max(14px, env(safe-area-inset-top, 14px));
}

/* ═══════════════════════════════════════════════════════════════════════════
   02. AMBIENT AUVELLO FIELD, SHADERS & ANALOG FILM GRAIN
   ═══════════════════════════════════════════════════════════════════════════ */
.field {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  transition: background 0.5s ease;
  background:
    radial-gradient(62% 54% at 4% 98%, rgba(209, 78, 36, 0.28) 0%, rgba(209, 78, 36, 0) 66%),
    radial-gradient(58% 68% at 98% 16%, rgba(46, 82, 132, 0.36) 0%, rgba(46, 82, 132, 0) 68%),
    radial-gradient(70% 60% at 24% 16%, rgba(33, 53, 82, 0.45) 0%, rgba(14, 22, 35, 0) 72%),
    var(--bg-canvas);
}

html[data-theme="light"] .field {
  background:
    radial-gradient(60% 50% at 4% 98%, rgba(209, 78, 36, 0.22) 0%, rgba(209, 78, 36, 0) 66%),
    radial-gradient(54% 64% at 100% 22%, rgba(46, 82, 132, 0.26) 0%, rgba(46, 82, 132, 0) 66%),
    radial-gradient(74% 64% at 28% 18%, var(--cream-lift) 0%, rgba(247, 243, 232, 0) 72%),
    var(--bg-canvas);
}

.grain-all {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.048;
  background-image:
    repeating-linear-gradient(-38deg, rgba(35, 33, 28, 0.14) 0px, rgba(35, 33, 28, 0.14) 1px, transparent 1px, transparent 3px),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='150' height='150'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='0.88' numOctaves='4' stitchTiles='stitch'/></filter><rect width='150' height='150' filter='url(%23g)'/></svg>");
}

/* Phones. iOS 26 Safari does not paint fixed layers behind its status bar or its
   floating toolbar: it shows the page colour there, and page content scrolls through.
   So this layer used to stop in a hard line at both ends of the screen. It now fades
   into the page colour before each edge, and nothing is left to line up. */
@media (pointer: coarse) and (max-width: 900px) {
  .field,
  .grain-all {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #fff 72px, #fff calc(100% - 104px), transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #fff 72px, #fff calc(100% - 104px), transparent 100%);
  }
}

.shader-prussian-dusk {
  position: relative;
  overflow: hidden;
  color: var(--cream-lift);
  background-clip: padding-box;
  background-color: #152235;
  background-image:
    radial-gradient(62% 58% at 8% 96%, rgba(218, 76, 32, 0.60) 0%, rgba(238, 130, 82, 0.22) 44%, rgba(218, 76, 32, 0) 72%),
    radial-gradient(56% 64% at 94% 12%, rgba(72, 114, 168, 0.56) 0%, rgba(44, 82, 136, 0.20) 48%, rgba(44, 82, 136, 0) 74%),
    radial-gradient(48% 44% at 78% 88%, rgba(12, 20, 32, 0.94) 0%, rgba(12, 20, 32, 0) 70%),
    linear-gradient(142deg, #121D2E 0%, #18263B 44%, #221C24 76%, #251815 100%);
}

/* Scroll-Reveal Animation Classes */
.reveal-up {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s var(--ease-out-quart), transform 0.55s var(--ease-out-quart);
}

.reveal-up.seen {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════════════════
   03. FLOATING TOP MASTHEAD
   ═══════════════════════════════════════════════════════════════════════════ */
.masthead-wrap {
  position: fixed;
  top: max(12px, env(safe-area-inset-top, 12px));
  left: 0;
  right: 0;
  z-index: 80;
  padding: 0 var(--pad);
  pointer-events: none;
}

.masthead {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px 8px 18px;
  border-radius: var(--r-pill);
  background: var(--masthead-bg);
  background-clip: padding-box;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: inset 0 0 0 1px var(--masthead-ring), var(--masthead-shadow);
  pointer-events: auto;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.wordmark {
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.wordmark span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, #D14E24 0%, #EA8254 50%, #213552 100%);
  color: #F7F3E8;
}

.masthead-nav {
  display: none;
  align-items: center;
  gap: 4px;
}

@media (min-width: 900px) {
  .masthead-nav { display: flex; }
}

.masthead-nav a {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 6px 13px;
  border-radius: var(--r-pill);
  transition: color 0.2s ease, background 0.2s ease;
}

.masthead-nav a:hover {
  color: var(--text-primary);
  background: rgba(247, 243, 232, 0.07);
}

.masthead-cta {
  font-size: 12px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
  font-variant-numeric: tabular-nums;
  transition: background 0.2s ease, color 0.2s ease;
}

.masthead-cta:hover {
  background: var(--rust);
  color: #fff;
}

/* ═══════════════════════════════════════════════════════════════════════════
   04. GLOBAL PHONE CHASSIS & SCREEN CONTAINMENT (MOBILE + DESKTOP)
   ═══════════════════════════════════════════════════════════════════════════ */
.phone-chassis {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.phone-bezel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #101929;
  isolation: isolate;
}

.reel-canvas-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: block;
}

.reel-video-el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.reel-playing .reel-video-el {
  opacity: 1;
}

/* ═══════════════════════════════════════════════════════════════════════════
   05. SECTION 1 — HERO (100svh FULL-BLEED ON MOBILE / 3D PHONE STAGE ON DESKTOP)
   ═══════════════════════════════════════════════════════════════════════════ */
.hero-stage {
  position: relative;
  width: 100%;
}

@media (max-width: 899px) {
  .hero-stage {
    height: 100vh;
    height: 100svh;
    min-height: 580px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .hero-desktop-shell {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .hero-desktop-shell.shader-prussian-dusk {
    background: none;
  }

  .hero-media-col {
    position: absolute;
    inset: 0;
    z-index: 1;
  }

  .phone-hw-only {
    display: none !important;
  }

  .hero-copy-vessel {
    position: relative;
    z-index: 5;
    padding: 84px var(--pad) calc(22px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(to top, rgb(9, 13, 22) 0%, rgba(9, 13, 22, 0.8) 54%, rgba(9, 13, 22, 0) 100%);
  }

  /* The video starts at the very top of the page. Above it Safari shows the page
     colour behind the status bar, so the first 96px rise out of that colour. */
  .hero-stage::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 96px;
    z-index: 4;
    pointer-events: none;
    background: linear-gradient(to bottom, var(--bg-canvas) 0%, transparent 100%);
  }

  /* Dark theme: the hero ends on near-black and the page is navy. The first section
     picks the near-black up and lets it go over 140px, so there is no band or line. */
  .hero-stage + .perth-sec {
    position: relative;
    isolation: isolate;
    border-top: none;
  }
  html[data-theme="dark"] .hero-stage + .perth-sec::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 140px;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(to bottom, rgb(9, 13, 22) 0%, rgba(9, 13, 22, 0) 100%);
  }
}

@media (min-width: 900px) {
  .hero-stage {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: calc(76px + env(safe-area-inset-top, 0px)) var(--pad) 48px;
  }

  .hero-desktop-shell {
    border-radius: var(--r-shell);
    padding: clamp(36px, 4.8vw, 68px);
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: clamp(36px, 5vw, 76px);
    align-items: center;
    box-shadow:
      inset 0 0 0 1px rgba(247, 243, 232, 0.14),
      0 38px 88px -24px rgba(5, 9, 15, 0.58);
  }

  .hero-copy-vessel {
    order: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .hero-media-col {
    order: 2;
    display: flex;
    justify-content: center;
    perspective: 1600px;
  }

  /* Hardware-Accurate 3D Titanium iPhone Chassis on Desktop */
  .phone-chassis {
    --ph: min(68svh, 590px);
    --pw: calc(var(--ph) * 0.4603);
    --band: calc(var(--pw) * 0.0235);
    --bez: calc(var(--pw) * 0.0145);
    --rad: calc(var(--pw) * 0.1485);
    width: var(--pw);
    height: var(--ph);
    border-radius: var(--rad);
    padding: var(--band);
    background-clip: padding-box;
    background-image:
      linear-gradient(118deg, rgba(255,255,255,0.42) 0%, rgba(255,255,255,0) 12%, rgba(255,255,255,0) 50%, rgba(255,255,255,0.12) 62%, rgba(255,255,255,0) 72%, rgba(255,255,255,0) 90%, rgba(255,255,255,0.32) 100%),
      linear-gradient(146deg, #b8b5ab 0%, #6e6b62 10%, #3d3b36 24%, #282723 36%, #615e55 48%, #858278 56%, #45433d 68%, #262521 80%, #6b685e 92%, #aba89e 100%);
    box-shadow:
      inset 0 0 0 1px rgba(255,255,255,0.22),
      inset 0 1px 0 rgba(255,255,255,0.38),
      0 28px 56px -14px rgba(4, 8, 14, 0.68),
      0 72px 112px -28px rgba(4, 8, 14, 0.82);
    will-change: transform;
    transition: transform 0.2s ease-out;
  }

  .phone-bezel {
    padding: var(--bez);
    background: #080b10;
    border-radius: calc(var(--rad) - var(--band));
    box-shadow: inset 0 0 calc(var(--pw) * 0.012) rgba(6, 9, 14, 0.92);
  }

  .phone-screen {
    border-radius: calc(var(--rad) - var(--band) - var(--bez));
  }

  .phone-status {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 15;
    height: calc(var(--ph) * 0.056);
    display: grid;
    grid-template-columns: 1fr calc(var(--pw) * 0.31) 1fr;
    align-items: center;
    padding: calc(var(--ph) * 0.005) calc(var(--pw) * 0.042) 0;
    color: #fff;
    pointer-events: none;
  }

  .phone-clock {
    grid-column: 1;
    justify-self: center;
    font-size: calc(var(--pw) * 0.041);
    font-weight: 700;
    letter-spacing: -0.015em;
    font-variant-numeric: tabular-nums;
  }

  .phone-meters {
    grid-column: 3;
    justify-self: center;
    display: flex;
    align-items: center;
    gap: calc(var(--pw) * 0.018);
  }

  .phone-meters svg {
    height: calc(var(--pw) * 0.034);
    width: auto;
    display: block;
  }

  .phone-island {
    position: absolute;
    z-index: 16;
    top: calc(var(--ph) * 0.0125);
    left: 50%;
    transform: translateX(-50%);
    width: calc(var(--pw) * 0.30);
    height: calc(var(--pw) * 0.084);
    background: #040608;
    border-radius: 999px;
    box-shadow: inset 0 0 0 0.75px rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 calc(var(--pw) * 0.024);
    pointer-events: none;
  }

  .island-wave {
    display: flex;
    align-items: center;
    gap: 2px;
    height: 10px;
  }

  .island-wave span {
    display: block;
    width: 2px;
    border-radius: 99px;
    background: var(--coral);
    animation: wavePulse 1.1s ease-in-out infinite alternate;
  }
  .island-wave span:nth-child(1) { height: 45%; animation-delay: 0s; }
  .island-wave span:nth-child(2) { height: 95%; animation-delay: 0.2s; }
  .island-wave span:nth-child(3) { height: 65%; animation-delay: 0.4s; }
  .island-wave span:nth-child(4) { height: 80%; animation-delay: 0.1s; }

  .island-lens {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle at 34% 30%, #3a5064 0%, #080b10 75%);
  }

  .phone-hbar {
    position: absolute;
    z-index: 15;
    bottom: 7px;
    left: 50%;
    transform: translateX(-50%);
    width: 34%;
    height: 4px;
    border-radius: 99px;
    background: rgba(255,255,255,0.88);
    pointer-events: none;
  }

  .phone-sheen {
    position: absolute;
    inset: 0;
    z-index: 14;
    pointer-events: none;
    background: linear-gradient(116deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.02) 18%, rgba(255,255,255,0) 36%);
  }
}

@keyframes wavePulse {
  0% { transform: scaleY(0.45); opacity: 0.65; }
  100% { transform: scaleY(1); opacity: 1; }
}

/* Hero Copy & Thumb-Zone Sound Toggle */
.hero-eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 12px;
  margin-bottom: 12px;
}

.media-controls {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
}

.hero-eyebrow {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--coral-soft);
}

.sound-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: var(--r-pill);
  border: none;
  background: var(--sound-pill-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px var(--sound-pill-ring);
  color: var(--sound-pill-fg);
  font-size: 11.5px;
  font-weight: 600;
  min-height: 28px;
  cursor: pointer;
  flex: none;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s ease, color 0.2s ease;
}

.hero-copy-vessel .sound-pill {
  background: rgba(247, 243, 232, 0.12);
  box-shadow: inset 0 0 0 1px rgba(247, 243, 232, 0.22);
  color: #F7F3E8;
}

.sound-pill:hover,
.sound-pill:active {
  background: var(--rust) !important;
  color: #fff !important;
}

.sound-bars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 10px;
}

.sound-bars i {
  display: block;
  width: 2px;
  height: 4px;
  border-radius: 2px;
  background: var(--coral-soft);
  transition: height 0.2s ease;
}

.sound-pill.unmuted .sound-bars i {
  animation: wavePulse 0.8s ease-in-out infinite alternate;
  height: 10px;
}
.sound-pill.unmuted .sound-bars i:nth-child(2) { animation-delay: 0.2s; }
.sound-pill.unmuted .sound-bars i:nth-child(3) { animation-delay: 0.4s; }

.hero-copy-vessel h1 {
  margin: 0 0 14px;
  font-size: clamp(2.05rem, 5.2vw, 3.85rem);
  font-weight: 500;
  letter-spacing: -0.036em;
  line-height: 1.02;
  color: #F7F3E8;
  max-width: 14.5ch;
}

.hero-subhead {
  margin: 0 0 24px;
  font-size: clamp(15px, 1.4vw, 17.5px);
  font-weight: 400;
  line-height: 1.5;
  color: rgba(247, 243, 232, 0.84);
  max-width: 38ch;
}

.hero-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 24px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s ease, color 0.2s ease, opacity 0.15s ease;
}

.action-btn:active {
  opacity: 0.78;
}

.action-btn.primary-light {
  background: #F7F3E8;
  color: #18273C;
}

.action-btn.primary-light:hover {
  background: var(--rust);
  color: #fff;
}

.action-btn.secondary-glass {
  background: rgba(247, 243, 232, 0.10);
  box-shadow: inset 0 0 0 1px rgba(247, 243, 232, 0.20);
  color: #F7F3E8;
}

.action-btn.secondary-glass:hover {
  background: rgba(247, 243, 232, 0.18);
}

@media (max-width: 540px) {
  .hero-btn-row .action-btn {
    width: 100%;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   06. UNIVERSAL SECTION SCAFFOLDING & SECTION 2 (THE NUMBERS)
   ═══════════════════════════════════════════════════════════════════════════ */
.perth-sec {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(56px, 9vh, 104px) var(--pad);
  border-top: 1px solid var(--border-hair);
}

.sec-h2 {
  margin: 0 0 28px;
  font-size: clamp(1.85rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.034em;
  line-height: 1.05;
  color: var(--text-primary);
}

.stats-trio {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 32px;
}

@media (min-width: 760px) {
  .stats-trio {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding: 28px 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
  }
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-figure {
  margin: 0;
  font-size: clamp(2.65rem, 6vw, 4.4rem);
  font-weight: 500;
  letter-spacing: -0.038em;
  line-height: 0.96;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

.stat-desc {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
}

.stats-footnote {
  margin: 0;
  max-width: 58ch;
  font-size: clamp(15.5px, 1.3vw, 17.5px);
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ═══════════════════════════════════════════════════════════════════════════
   07. SECTION 3 — SECOND REEL ("AND THIS ONE DID 2,422.")
   ═══════════════════════════════════════════════════════════════════════════ */
.reel2-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

@media (max-width: 899px) {
  .reel2-copy {
    order: 1;
  }
  .reel2-frame-wrap {
    order: 2;
    width: 100%;
  }
  .reel2-frame-wrap .phone-chassis {
    position: relative;
    width: 100%;
    max-width: 390px;
    aspect-ratio: 9 / 16;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    background-clip: padding-box;
    box-shadow:
      inset 0 0 0 1px var(--border-hair),
      0 24px 52px -16px rgba(4, 7, 12, 0.65);
  }
  .reel2-frame-wrap .phone-bezel,
  .reel2-frame-wrap .phone-screen {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
  }
}

@media (min-width: 900px) {
  .reel2-grid {
    grid-template-columns: 0.88fr 1.12fr;
    gap: clamp(44px, 6vw, 88px);
  }
  .reel2-frame-wrap {
    order: 1;
    display: flex;
    justify-content: center;
  }
  .reel2-copy {
    order: 2;
  }
}

.reel2-copy p {
  margin: 0 0 22px;
  max-width: 46ch;
  font-size: clamp(16px, 1.45vw, 18.5px);
  line-height: 1.62;
  color: var(--text-secondary);
}

/* ═══════════════════════════════════════════════════════════════════════════
   08. SECTION 4 — WHO THIS IS FOR (WE WORK ON YOUR STREET)
   ═══════════════════════════════════════════════════════════════════════════ */
.street-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 900px) {
  .street-grid {
    grid-template-columns: 0.92fr 1.08fr;
    gap: clamp(40px, 5.5vw, 88px);
    align-items: start;
  }
}

.suburbs-line {
  margin: 0 0 24px;
  font-size: clamp(1.3rem, 2.3vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: var(--coral-soft);
}

html[data-theme="light"] .suburbs-line {
  color: #B03C14;   /* 4.9:1 on cream (rust-core was 4.0:1) */
}

.street-body p {
  margin: 0 0 16px;
  max-width: 52ch;
  font-size: 16px;
  line-height: 1.64;
  color: var(--text-secondary);
}

.street-body p:last-child {
  margin-bottom: 0;
}

.practice-figures {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: baseline;
  gap: 16px;
  border-top: 1px solid var(--border-hair);
  padding-top: 18px;
  margin: 0;
}

.practice-figures > div:nth-child(1) { justify-self: start; text-align: left; }
.practice-figures > div:nth-child(2) { justify-self: center; text-align: center; }
.practice-figures > div:nth-child(3) { justify-self: end; text-align: right; }

.practice-figures dt {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.practice-figures dd {
  margin: 0;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════════════════════
   09. SECTION 5 — THE PRICE (START WITH ONE MONTH. $600.)
   ═══════════════════════════════════════════════════════════════════════════ */
.price-shell {
  border-radius: var(--r-shell);
  padding: clamp(26px, 4.5vw, 56px);
  box-shadow:
    inset 0 0 0 1px rgba(247, 243, 232, 0.14),
    0 32px 72px -24px rgba(5, 9, 15, 0.55);
}

.price-shell .sec-h2 {
  color: #F7F3E8;
  margin-bottom: 28px;
}

.offer-ledger {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid rgba(247, 243, 232, 0.14);
  margin-bottom: 28px;
}

@media (min-width: 820px) {
  .offer-ledger {
    grid-template-columns: 1fr 1fr;
    gap: 0 44px;
  }
}

.offer-row {
  padding: 20px 0;
  border-bottom: 1px solid rgba(247, 243, 232, 0.12);
}

.offer-row strong {
  display: block;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #F7F3E8;
  margin-bottom: 4px;
}

.offer-row p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(247, 243, 232, 0.78);
}

.price-foot-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
}

.price-notes {
  max-width: 52ch;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price-ongoing-line {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(247, 243, 232, 0.72);
}

.price-compare-line {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--coral-soft);
}

/* Monthly plans, inside the price shell. Phones: one row each, tap to see what is included.
   Wide screens: three columns, everything visible (perth.js keeps them open there). */
.plans {
  margin-top: clamp(30px, 5vw, 52px);
  padding-top: clamp(26px, 4vw, 40px);
  border-top: 1px solid rgba(247, 243, 232, 0.14);
}

.plans-h {
  margin: 0 0 6px;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #F7F3E8;
}

.plans-intro {
  margin: 0 0 22px;
  max-width: 52ch;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(247, 243, 232, 0.78);
}

.plan-list {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid rgba(247, 243, 232, 0.14);
}

.plan { border-bottom: 1px solid rgba(247, 243, 232, 0.12); }

.plan summary,
.faq-row summary {
  list-style: none;
  cursor: pointer;
}
.plan summary::-webkit-details-marker,
.faq-row summary::-webkit-details-marker { display: none; }

.plan summary {
  display: grid;
  grid-template-columns: 1fr auto 18px;
  grid-template-areas: "name price chev" "line line chev";
  align-items: baseline;
  gap: 2px 14px;
  padding: 18px 0;
  min-height: 44px;
}

.plan-name {
  grid-area: name;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #F7F3E8;
}

.plan-price {
  grid-area: price;
  font-size: 13.5px;
  color: rgba(247, 243, 232, 0.78);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.plan-price strong {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #F7F3E8;
}

.plan-line {
  grid-area: line;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(247, 243, 232, 0.72);
}

/* Chevron shared by plans and questions */
.plan-chevron {
  grid-area: chev;
  align-self: center;
  justify-self: end;
  width: 9px;
  height: 9px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  opacity: 0.75;
}
.plan .plan-chevron { color: #F7F3E8; }
.faq-row .plan-chevron { grid-area: auto; }
details[open] > summary .plan-chevron { transform: rotate(-135deg); }

.plan summary:focus-visible,
.faq-row summary:focus-visible {
  outline: 2px solid var(--coral-soft);
  outline-offset: 4px;
  border-radius: 6px;
}

.plan-includes {
  list-style: none;
  margin: 0;
  padding: 0 0 20px;
  display: grid;
  gap: 7px;
}
.plan-includes li {
  position: relative;
  padding-left: 16px;
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(247, 243, 232, 0.86);
}
.plan-includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 1.5px;
  background: var(--coral-soft);
}

.plans-launch {
  margin: 22px 0 0;
  max-width: 56ch;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(247, 243, 232, 0.86);
}
.plans-terms {
  margin: 8px 0 0;
  font-size: 13px;
  color: rgba(247, 243, 232, 0.66);
}

@media (min-width: 820px) {
  .plan-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 clamp(24px, 3vw, 44px);
    border-top: 0;
  }
  .plan { border-top: 1px solid rgba(247, 243, 232, 0.14); border-bottom: 0; }
  .plan summary {
    grid-template-columns: 1fr;
    grid-template-areas: "name" "price" "line";
    gap: 6px;
    padding: 20px 0 14px;
    cursor: default;
  }
  .plan-price strong { font-size: clamp(1.5rem, 2.4vw, 1.95rem); font-weight: 500; letter-spacing: -0.03em; }
  .plan .plan-chevron,
  .faq-row .plan-chevron { display: none; }
  .faq-row summary { cursor: default; }
}

/* Section links for phones (the top bar has no room for them). They sit inside the
   hero, under the call button, and share the row equally. */
.jump-row {
  display: flex;
  gap: 6px;
  margin-top: 12px;
}
.jump-row a {
  flex: 1 1 auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: var(--r-pill);
  background: rgba(247, 243, 232, 0.10);
  box-shadow: inset 0 0 0 1px rgba(247, 243, 232, 0.20);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  color: #F7F3E8;
  -webkit-tap-highlight-color: transparent;
}
.jump-row a:active { background: rgba(247, 243, 232, 0.2); }
@media (max-width: 350px) {
  .jump-row { gap: 4px; }
  .jump-row a { padding: 0 7px; font-size: 12.5px; }
}
@media (min-width: 900px) {
  .jump-row { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   10. SECTION 6 — WHO NUKI IS ("HE'S ONE OF YOU.")
   ═══════════════════════════════════════════════════════════════════════════ */
.bio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 960px) {
  .bio-grid {
    grid-template-columns: 0.92fr 1.08fr;
    gap: clamp(40px, 5.5vw, 88px);
    align-items: start;
  }
}

.practice-lead {
  position: relative;
}

@media (min-width: 960px) {
  .practice-lead {
    position: sticky;
    top: 96px;
  }
}

.exchange-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.lead-editorial-slot {
  position: relative;
  z-index: 2;
  will-change: transform, opacity, filter;
  transform-origin: center center;
}

.lead-editorial-slot .sec-h2 {
  margin-bottom: 14px;
}

.lead-editorial-slot p.lead-summary {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.58;
  color: var(--text-secondary);
  max-width: 40ch;
}

.lead-systems-card {
  position: relative;
  z-index: 3;
  min-height: 184px;
  border-radius: var(--r-card);
  padding: 18px 22px;
  display: grid;
  grid-template-rows: 20px 1fr 26px;
  align-items: center;
  gap: 8px;
  will-change: transform;
  box-shadow:
    inset 0 0 0 1px rgba(247, 243, 232, 0.14),
    0 20px 44px -16px rgba(4, 8, 14, 0.55);
}

.systems-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(247, 243, 232, 0.68);
}

.systems-card-pill {
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: rgba(247, 243, 232, 0.11);
  color: var(--coral-soft);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
}

.systems-copy-stage {
  position: relative;
  min-height: 88px;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.systems-copy-state {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  will-change: opacity, transform;
}

.systems-copy-state h3 {
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.22;
  margin: 0 0 5px;
  color: var(--cream-lift);
}

.systems-copy-state p {
  margin: 0;
  font-size: 13px;
  line-height: 1.46;
  color: rgba(247, 243, 232, 0.78);
}

.systems-state-b {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}

.systems-card-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  height: 26px;
  padding-top: 9px;
  border-top: 1px solid rgba(247, 243, 232, 0.13);
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(247, 243, 232, 0.82);
}

.systems-card-foot span:last-child {
  color: var(--coral-soft);
  font-variant-numeric: tabular-nums;
}

.bio-ledger {
  display: flex;
  flex-direction: column;
}

.bio-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--border-hair);
}

.bio-item:first-child {
  padding-top: 0;
}

.bio-item h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.bio-item p {
  margin: 0;
  max-width: 54ch;
  font-size: 15.5px;
  line-height: 1.64;
  color: var(--text-secondary);
}

/* ═══════════════════════════════════════════════════════════════════════════
   11. SECTION 7 — THE QUESTIONS PEOPLE ASK (PLAIN-TEXT LEDGER)
   ═══════════════════════════════════════════════════════════════════════════ */
.faq-ledger {
  border-top: 1px solid var(--border-hair);
}

.faq-row {
  border-bottom: 1px solid var(--border-hair);
}

.faq-row summary {
  display: grid;
  grid-template-columns: 1fr 18px;
  align-items: center;
  gap: 14px;
  padding: 20px 0;
  min-height: 44px;
  color: var(--text-primary);
}

.faq-row > p { padding: 0 0 22px; }

@media (min-width: 820px) {
  .faq-row {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 48px;
    align-items: baseline;
    padding: 24px 0;
  }
  .faq-row summary { display: block; padding: 0; min-height: 0; }
  .faq-row > p { padding: 0; }
}

.faq-row h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.faq-row p {
  margin: 0;
  max-width: 54ch;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ═══════════════════════════════════════════════════════════════════════════
   12. SECTION 8 — CONTACT, FOOTER & 4-TAB LEGAL COMPLIANCE MODAL
   ═══════════════════════════════════════════════════════════════════════════ */
.contact-outer {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px var(--pad) calc(48px + env(safe-area-inset-bottom, 0px));
}

.contact-shell {
  border-radius: var(--r-shell);
  padding: clamp(28px, 5vw, 64px);
  box-shadow:
    inset 0 0 0 1px rgba(247, 243, 232, 0.14),
    0 36px 84px -28px rgba(4, 7, 12, 0.65);
}

.contact-shell .sec-h2 {
  color: #F7F3E8;
  margin-bottom: 12px;
}

.contact-lead {
  margin: 0 0 28px;
  max-width: 44ch;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(247, 243, 232, 0.80);
}

.contact-btn-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

@media (max-width: 580px) {
  .contact-btn-pair {
    display: grid;
    grid-template-columns: 1fr;
  }
  .contact-btn-pair .action-btn {
    width: 100%;
  }
}

.contact-channels-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 26px;
}

.email-plain-btn,
.wa-plain-link {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  background: none;
  border: none;
  padding: 2px 0;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--coral-soft);
  cursor: pointer;
  text-decoration: none;
}

.email-plain-btn:hover,
.wa-plain-link:hover {
  text-decoration: underline;
}

.perth-footer-bar {
  margin-top: clamp(36px, 5vh, 52px);
  padding-top: 20px;
  border-top: 1px solid rgba(247, 243, 232, 0.14);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 12.5px;
  color: rgba(247, 243, 232, 0.58);
}

.perth-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.perth-footer-links a,
.perth-footer-links button {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  min-width: 24px;
  background: none;
  border: none;
  padding: 2px 0;
  color: rgba(247, 243, 232, 0.72);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s ease;
}

.perth-footer-links a:hover,
.perth-footer-links button:hover {
  color: var(--coral-soft);
}

/* Legal, Privacy, Terms & Accessibility Modal */
.legal-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 115;
  background: rgba(8, 12, 20, 0.76);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--pad);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}

.legal-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.25s ease, visibility 0s linear 0s;
}

.legal-modal-card {
  width: 100%;
  max-width: 720px;
  max-height: 82vh;
  border-radius: 26px;
  padding: clamp(20px, 3.5vw, 28px);
  background: var(--bg-lift);
  color: var(--text-primary);
  box-shadow:
    inset 0 0 0 1px var(--border-hair),
    0 32px 72px -16px rgba(4, 7, 12, 0.72);
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
}

.legal-modal-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-hair);
}

.legal-modal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.legal-tab-btn {
  padding: 7px 13px;
  border-radius: var(--r-pill);
  border: none;
  background: rgba(247, 243, 232, 0.08);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

html[data-theme="light"] .legal-tab-btn {
  background: rgba(35, 33, 28, 0.06);
}

.legal-tab-btn.active {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
}

.legal-close-btn {
  padding: 6px 13px;
  border-radius: var(--r-pill);
  border: none;
  background: rgba(247, 243, 232, 0.08);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

html[data-theme="light"] .legal-close-btn {
  background: rgba(35, 33, 28, 0.06);
}

.legal-modal-body {
  overflow-y: auto;
  padding-right: 6px;
  font-size: 13.8px;
  line-height: 1.62;
  color: var(--text-secondary);
}

.legal-modal-body h4 {
  margin: 16px 0 6px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-primary);
}

.legal-modal-body h4:first-child { margin-top: 0; }
.legal-modal-body:focus-visible { outline-offset: -2px; }
.legal-modal-body p { margin: 0 0 12px; }

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 24px);
  opacity: 0;
  pointer-events: none;
  z-index: 125;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  background: var(--prussian-abyss);
  box-shadow: inset 0 0 0 1px rgba(247, 243, 232, 0.18), 0 14px 30px rgba(4, 7, 12, 0.55);
  color: #F7F3E8;
  font-size: 13px;
  font-weight: 600;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.toast.visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

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

/* Former inline styles (moved here so the CSP needs no 'unsafe-inline') */
.sec-h2.tight { margin-bottom: 12px; }
.perth-sec.no-rule { border-top: none; padding-top: 12px; }


/* Masthead text button: the number doesn't fit beside the wordmark on 320px phones. */
.masthead-cta { white-space: nowrap; }
.masthead-cta .cta-short { display: none; }
@media (max-width: 350px) {
  .masthead-cta .cta-num { display: none; }
  .masthead-cta .cta-short { display: inline; }
}

/* ── 12-shared-chrome.css ── */
/* ═══════════════════════════════════════════════════════════════════════════
   12. SHARED CHROME: loaded last by BOTH bundles (main and perth).
   One source for the sizes the two pages must agree on: layout tokens,
   the pill masthead, section headings and button shape. Change them here,
   not in the page files. tests/consistency.spec.js fails if the pages drift.
   ═══════════════════════════════════════════════════════════════════════════ */
:root {
  --r-shell: clamp(24px, 3.2vw, 36px);
  --r-card:  24px;
  --r-inner: 18px;
  --r-pill:  999px;
  --pad:     clamp(18px, 4.2vw, 60px);
  --max-w:   1440px;
}

@media (max-width: 780px) {
  :root {
    --pad: 16px;
    --r-shell: 24px;
    --r-card: 20px;
  }
}

/* Pill masthead */
.masthead { padding: 9px 10px 9px 20px; min-height: 54px; }
.wordmark { font-size: 15.5px; font-weight: 800; letter-spacing: 0.06em; line-height: 1; }
.nav-links a,
.masthead-nav a { font-size: 13px; font-weight: 600; padding: 7px 14px; }
.nav-cta,
.masthead-cta { font-size: 12.5px; font-weight: 600; letter-spacing: 0.01em; padding: 8px 16px; line-height: 1.55; }

/* Hero frame: the same box on both pages (top offset, gutters, height, radius).
   Only what is inside differs: the shader and headline here, the Reel on /perth/. */
:root {
  --hero-top: calc(74px + env(safe-area-inset-top, 0px));
  --hero-bottom: clamp(20px, 3.5vh, 40px);
  --hero-shell-pad: clamp(24px, 4.8vw, 64px);
}

.intro { padding: var(--hero-top) var(--pad) var(--hero-bottom); }
.intro-shell { padding: var(--hero-shell-pad); }

@media (min-width: 900px) {
  .hero-stage {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    padding: var(--hero-top) var(--pad) var(--hero-bottom);
  }
  .hero-desktop-shell { flex: 1; padding: var(--hero-shell-pad); }
}

/* Phones: the header pill ends 66px down (12 + 54). The hero card starts 12px below
   it. At 66px the two shared an edge and read as one broken shape. */
@media (max-width: 780px) {
  :root { --hero-top: calc(78px + env(safe-area-inset-top, 0px)); --hero-bottom: 14px; --hero-shell-pad: 26px 22px; }
}

/* Section headings */
.section-head h2,
.section-lead h2,
.work-head h2,
.index-head h2,
.sec-h2 {
  font-size: clamp(1.85rem, 3.8vw, 2.85rem);
  font-weight: 500;
  letter-spacing: -0.034em;
  line-height: 1.04;
}

/* Buttons are pills everywhere (brand-system: pill = 999px) */
.action-btn { border-radius: var(--r-pill); }

/* Client quote (shown only when one is set in work.json) */
.client-quote {
  margin: 20px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid rgba(247, 243, 232, 0.14);
}
.client-quote p {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(247, 243, 232, 0.92);
}
.client-quote footer {
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(247, 243, 232, 0.66);
}

