@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader-normal-latin-300-800.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader-italic-latin-300-800.woff2") format("woff2");
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
}

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("fonts/schibsted-grotesk-latin-400-900.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/ibm-plex-mono-latin-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  --kelp: #061f19;
  --kelp-deep: #041511;
  --ink: #0a1512;
  --ink-soft: #20332d;
  --salt: #f5f1e7;
  --salt-bright: #fffdf7;
  --salt-muted: #d8d4ca;
  --sea: #0b7558;
  --sea-bright: #64e1b5;
  --reef: #207986;
  --coral: #d5664c;
  --jade: #28a77a;
  --wattle: #d58a2e;
  --line-dark: rgba(10, 21, 18, 0.18);
  --line-light: rgba(245, 241, 231, 0.23);
  --display: "Newsreader", Georgia, serif;
  --sans: "Schibsted Grotesk", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --wrap: min(1440px, calc(100% - 80px));
  --nav-h: 74px;
  --ease: cubic-bezier(.2, .75, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--kelp-deep); }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--salt);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
button, a { font: inherit; }
button { color: inherit; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: rgba(100, 225, 181, .42); }

.wrap { width: var(--wrap); margin-inline: auto; }
.skip-link {
  position: fixed; z-index: 1000; top: 10px; left: 10px;
  padding: 11px 16px; background: var(--salt-bright); color: var(--ink);
  transform: translateY(-160%); transition: transform 160ms ease;
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 2px solid var(--sea-bright); outline-offset: 4px; }

.eyebrow {
  display: flex; align-items: center; gap: 11px; margin: 0;
  color: rgba(255,255,255,.76); font: 500 .66rem/1.4 var(--mono);
  letter-spacing: .11em; text-transform: uppercase;
}
.eyebrow > span { width: 28px; height: 1px; background: var(--sea-bright); }
.eyebrow--ink { color: var(--sea); }
.eyebrow--ink > span { background: var(--sea); }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 {
  font-family: var(--display); font-weight: 520; letter-spacing: -.055em;
}
h1 em, h2 em { color: var(--sea-bright); font-weight: 420; }

.button {
  display: inline-flex; min-height: 52px; align-items: center; justify-content: center;
  gap: 28px; padding: 0 21px; border: 1px solid currentColor;
  font-size: .82rem; font-weight: 740; text-decoration: none;
  transition: transform 220ms var(--ease), background 220ms ease, color 220ms ease;
}
.button:hover { transform: translateY(-2px); }
.button--light { background: var(--salt-bright); border-color: var(--salt-bright); color: var(--ink); }
.button--light:hover { background: var(--sea-bright); border-color: var(--sea-bright); }

/* Navigation */
.site-nav {
  position: fixed; z-index: 200; inset: 0 0 auto; height: var(--nav-h);
  border-bottom: 1px solid rgba(255,255,255,.14); color: #fff;
  background: linear-gradient(180deg, rgba(4,15,12,.52), rgba(4,15,12,.08));
  transition: height 260ms var(--ease), background 260ms ease, color 260ms ease, border-color 260ms ease;
}
.site-nav.is-solid {
  height: 66px; background: rgba(245,241,231,.94); color: var(--ink);
  border-color: var(--line-dark); backdrop-filter: blur(18px) saturate(1.2);
}
.nav-shell {
  width: var(--wrap); height: 100%; margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
}
.brand {
  display: inline-flex; min-height: 44px; align-items: center; gap: 12px;
  font-size: .92rem; font-weight: 760; letter-spacing: -.02em; text-decoration: none;
}
.brand-otter { position: relative; width: 27px; height: 39px; }
.brand-otter img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.brand-otter__dark { opacity: 0; }
.site-nav.is-solid .brand-otter__dark { opacity: 1; }
.site-nav.is-solid .brand-otter__light { opacity: 0; }
.primary-menu { display: flex; align-items: center; gap: clamp(20px, 2.3vw, 37px); }
.primary-menu > a {
  display: inline-flex; min-height: 44px; align-items: center;
  font-size: .74rem; font-weight: 690; text-decoration: none;
}
.primary-menu > a:not(.nav-contact) { opacity: .78; }
.primary-menu > a:not(.nav-contact):hover { opacity: 1; }
.nav-contact { padding: 0 17px; border: 1px solid rgba(255,255,255,.55); }
.site-nav.is-solid .nav-contact { border-color: var(--ink); background: var(--ink); color: var(--salt); }
.menu-toggle {
  display: none; width: 46px; height: 46px; padding: 0; border: 0; background: none;
  cursor: pointer;
}
.menu-toggle span { display: block; width: 22px; height: 1px; margin: 5px auto; background: currentColor; transition: transform 240ms ease, opacity 180ms ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.work-hero {
  position: relative; min-height: max(760px, 100svh); overflow: hidden;
  background: var(--kelp-deep); color: #fff;
}
.hero-panels { position: absolute; inset: 0; display: flex; }
.hero-panel {
  position: relative; flex: 1 1 0; min-width: 0; height: 100%; margin: 0; overflow: hidden;
  border-right: 1px solid rgba(255,255,255,.18);
  transition: flex-grow 650ms var(--ease), filter 450ms ease;
  filter: saturate(.72) brightness(.66);
}
.hero-panel:last-of-type { border-right: 0; }
.hero-panel.is-active { flex-grow: 2.35; filter: saturate(.9) brightness(.9); }
.hero-panel picture, .hero-panel img { width: 100%; height: 100%; }
.hero-panel img {
  object-fit: cover; transform: scale(1.035); transition: transform 8s linear;
}
.hero-panel.is-active img { transform: scale(1.005); }
.hero-panel--backstage img { object-position: 58% center; }
.hero-panel--proof img { object-position: 28% center; }
.hero-panel--quote img { object-position: 55% center; }
.hero-grade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4,15,12,.9) 0%, rgba(4,15,12,.66) 31%, rgba(4,15,12,.1) 65%, rgba(4,15,12,.36) 100%),
    linear-gradient(180deg, rgba(4,15,12,.25) 0%, transparent 40%, rgba(4,15,12,.82) 100%);
}
.hero-copy {
  position: relative; z-index: 2; width: var(--wrap); min-height: max(760px, 100svh);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  margin-inline: auto; padding: calc(var(--nav-h) + 60px) 0 180px;
}
.hero-copy h1 {
  max-width: 780px; margin: 23px 0 26px;
  color: var(--salt-bright); font-size: clamp(4.3rem, 7.25vw, 8rem); line-height: .88;
}
.hero-copy h1 em { display: block; }
.hero-intro {
  max-width: 570px; margin-bottom: 34px; color: rgba(255,255,255,.78);
  font-size: clamp(1rem, 1.2vw, 1.18rem); line-height: 1.55;
}
.hero-switcher {
  position: absolute; z-index: 3; right: max(40px, calc((100vw - 1440px) / 2)); bottom: 32px;
  display: grid; width: min(700px, calc(100% - 80px)); grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,.42);
}
.hero-switcher button {
  position: relative; min-height: 96px; padding: 17px 20px; border: 0; border-right: 1px solid rgba(255,255,255,.18);
  background: rgba(4,15,12,.26); color: #fff; text-align: left; cursor: pointer;
  backdrop-filter: blur(8px); transition: background 260ms ease;
}
.hero-switcher button:last-child { border-right: 0; }
.hero-switcher button::before {
  position: absolute; inset: -1px auto auto 0; width: 0; height: 2px; content: "";
  background: var(--panel-accent, var(--sea-bright)); transition: width 380ms var(--ease);
}
.hero-switcher button:first-child { --panel-accent: var(--coral); }
.hero-switcher button:nth-child(2) { --panel-accent: var(--jade); }
.hero-switcher button:nth-child(3) { --panel-accent: var(--wattle); }
.hero-switcher button.is-active { background: rgba(4,15,12,.68); }
.hero-switcher button.is-active::before { width: 100%; }
.hero-switcher small {
  display: block; margin-bottom: 7px; color: rgba(255,255,255,.6);
  font: 500 .56rem/1.4 var(--mono); letter-spacing: .09em; text-transform: uppercase;
}
.hero-switcher span { font-size: .89rem; font-weight: 720; }

/* Portfolio */
.portfolio { padding: clamp(105px, 10vw, 165px) 0 clamp(72px, 7vw, 112px); background: var(--salt); }
.section-head { display: grid; grid-template-columns: minmax(0, .65fr) minmax(600px, 1.35fr); gap: 60px; align-items: start; }
.section-head h2 {
  margin: -8px 0 0; font-family: var(--sans); font-size: clamp(3.7rem, 5.8vw, 6.6rem);
  font-weight: 790; line-height: .88; letter-spacing: -.072em;
}
.section-head h2 em { color: var(--sea); font-family: var(--display); font-weight: 430; letter-spacing: -.045em; }
.portfolio-tabs {
  display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(70px, 8vw, 115px);
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
}
.portfolio-tabs button {
  min-height: 78px; padding: 0 24px; border: 0; border-right: 1px solid var(--line-dark);
  background: transparent; color: rgba(10,21,18,.68); font-weight: 730; text-align: left;
  cursor: pointer; transition: background 220ms ease, color 220ms ease;
}
.portfolio-tabs button:last-child { border-right: 0; }
.portfolio-tabs button span { margin-right: 18px; font: 500 .58rem/1 var(--mono); letter-spacing: .08em; }
.portfolio-tabs button.is-active { background: var(--ink); color: var(--salt-bright); }
.portfolio-stage { position: relative; display: grid; margin-top: 34px; }
.product-panel {
  grid-area: 1 / 1; display: grid; min-width: 0; grid-template-columns: minmax(0, 1.48fr) minmax(330px, .62fr);
  background: var(--salt-bright); opacity: 0; visibility: hidden; transform: translateY(15px);
  transition: opacity 300ms ease, transform 430ms var(--ease), visibility 300ms;
}
.product-panel.is-active { position: relative; z-index: 1; opacity: 1; visibility: visible; transform: translateY(0); }
.product-visual { position: relative; min-width: 0; min-height: 730px; overflow: hidden; background: #d8d4ca; }
.product-visual > picture, .product-visual > picture img { width: 100%; height: 100%; }
.product-visual > picture img { object-fit: cover; filter: saturate(.88) contrast(1.02); }
.product-panel--backstage .product-visual > picture img { object-position: 58% center; }
.product-panel--proof .product-visual > picture img { object-position: 45% center; }
.product-panel--quote .product-visual > picture img { object-position: 58% center; }
.product-visual::after {
  position: absolute; inset: 0; content: ""; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(4,15,12,.18));
}
.product-copy {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  padding: clamp(42px, 5vw, 76px); border-left: 1px solid var(--line-dark);
}
.product-index { margin-bottom: 38px; color: var(--product-accent, var(--sea)); font: 500 .62rem/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.product-panel--backstage { --product-accent: #a94734; }
.product-panel--proof { --product-accent: #087653; }
.product-panel--quote { --product-accent: #925b16; }
.product-copy h3 { margin-bottom: 13px; font-size: clamp(3.1rem, 4.4vw, 5rem); line-height: .92; }
.product-promise { max-width: 390px; margin-bottom: 38px; color: var(--ink-soft); font-size: 1.02rem; line-height: 1.55; }
.product-facts { width: 100%; margin: 0 0 40px; padding: 0; list-style: none; border-top: 1px solid var(--line-dark); }
.product-facts li { display: grid; grid-template-columns: 74px 1fr; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-size: .83rem; }
.product-facts span { color: var(--product-accent); font: 500 .59rem/1.5 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.text-link { display: inline-flex; min-height: 44px; align-items: center; gap: 30px; padding-top: 7px; border-bottom: 1px solid currentColor; font-size: .82rem; font-weight: 750; text-decoration: none; }

.concept-note {
  position: absolute; z-index: 4; left: 18px; bottom: 18px;
  padding: 9px 12px; border: 1px solid rgba(255,255,255,.35); background: rgba(4,15,12,.74);
  color: rgba(255,255,255,.82); font: 500 .52rem/1.2 var(--mono); letter-spacing: .09em; text-transform: uppercase;
}

/* Product UI surfaces */
.ui-bar { display: flex; align-items: center; gap: 6px; min-height: 39px; padding: 0 13px; border-bottom: 1px solid rgba(10,21,18,.14); background: rgba(255,255,255,.93); }
.ui-bar > span { width: 6px; height: 6px; border-radius: 50%; background: #c8c7c2; }
.ui-bar strong { margin-left: 7px; font-size: .66rem; }
.ui-bar small { margin-left: auto; color: #66736e; font: 500 .48rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.tp-console {
  position: absolute; z-index: 3; right: clamp(20px, 4vw, 58px); bottom: clamp(55px, 7vw, 88px);
  width: min(68%, 650px); overflow: hidden; border: 1px solid rgba(255,255,255,.52); border-radius: 10px;
  background: rgba(255,255,255,.95); box-shadow: 0 32px 80px rgba(4,15,12,.32); transform: rotate(-1.1deg);
}
.tp-game { aspect-ratio: 16 / 8.6; overflow: hidden; background: #80cef0; }
.tp-game img { width: 100%; height: 100%; object-fit: cover; }
.tp-controls { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px; }
.tp-controls .tp-action { display: inline-flex; min-height: 32px; align-items: center; padding: 0 12px; background: #a94734; color: #fff; font-size: .61rem; font-weight: 720; }
.tp-controls span, .tp-controls strong { font-size: .59rem; }
.tp-controls span { color: #65726d; }

.proof-console {
  position: absolute; z-index: 3; right: clamp(18px, 4vw, 54px); bottom: clamp(56px, 7vw, 90px);
  display: grid; width: min(72%, 690px); grid-template-columns: 1.15fr .85fr; overflow: hidden;
  border: 1px solid rgba(255,255,255,.5); border-radius: 7px; background: rgba(255,255,255,.96);
  box-shadow: 0 32px 80px rgba(4,15,12,.32); transform: rotate(.75deg);
}
.proof-source { min-height: 310px; padding: 29px; border-right: 1px solid rgba(10,21,18,.14); }
.proof-source p { margin-bottom: 27px; color: #5d6a65; font: 500 .52rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.source-line { display: block; width: 72%; height: 5px; margin: 0 0 10px; border-radius: 4px; background: #cdd1cd; }
.source-line--long { width: 93%; }
.source-line--mid { width: 84%; }
.source-line--short { width: 55%; }
.proof-source mark { display: block; width: 86%; margin: 19px 0 14px; padding: 8px 10px; background: rgba(40,167,122,.18); color: #165c45; font-size: .62rem; }
.proof-decision { padding: 29px 24px; background: #f3f5f1; }
.proof-decision > small { color: var(--jade); font: 500 .49rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.proof-decision > strong { display: block; margin: 8px 0 21px; font-size: 1.08rem; }
.proof-decision dl { margin: 0; }
.proof-decision dl div { display: grid; grid-template-columns: 1fr 1.25fr; gap: 10px; padding: 8px 0; border-top: 1px solid rgba(10,21,18,.12); }
.proof-decision dt { color: #68746f; font-size: .56rem; }
.proof-decision dd { margin: 0; font-size: .58rem; font-weight: 690; }
.review-gate { display: block; margin-top: 19px; padding: 10px; background: var(--jade); color: #fff; font-size: .6rem; font-weight: 720; text-align: center; }

.quote-console {
  position: absolute; z-index: 3; right: clamp(18px, 4vw, 55px); bottom: clamp(55px, 7vw, 88px);
  width: min(70%, 680px); overflow: hidden; border: 1px solid rgba(255,255,255,.48); border-radius: 6px;
  background: rgba(255,255,255,.96); color: var(--ink); box-shadow: 0 32px 80px rgba(4,15,12,.34); transform: rotate(-.7deg);
}
.quote-console .ui-bar strong { font-size: .69rem; }
.quote-console .ui-bar small { color: var(--wattle); }
.quote-head, .quote-row { display: grid; grid-template-columns: 1.3fr 1fr .65fr; gap: 12px; align-items: center; }
.quote-head { padding: 10px 15px; background: #f3f2ee; color: #7c837e; font: 500 .48rem/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.quote-row { min-height: 50px; padding: 0 15px; border-top: 1px solid rgba(10,21,18,.1); font-size: .6rem; }
.quote-row strong { font-size: .63rem; }
.quote-row span { color: #66716c; }
.quote-row b { text-align: right; }
.quote-row--open { background: rgba(213,138,46,.13); }
.quote-row--open b { color: #9a5e16; }
.quote-foot { display: flex; justify-content: space-between; gap: 14px; padding: 15px; background: var(--ink); color: #fff; }
.quote-foot span { color: rgba(255,255,255,.67); font-size: .55rem; }
.quote-foot strong { font-size: .74rem; }

/* Decision demo */
.decision-demo { padding: clamp(110px, 11vw, 175px) 0; background: var(--kelp); color: var(--salt-bright); }
.decision-grid { display: grid; grid-template-columns: minmax(330px, .7fr) minmax(600px, 1.3fr); gap: clamp(70px, 9vw, 145px); align-items: center; }
.decision-copy h2 {
  max-width: 570px; margin: 23px 0 25px; font-family: var(--sans);
  font-size: clamp(3.8rem, 5.8vw, 6.2rem); font-weight: 790; line-height: .86; letter-spacing: -.072em;
}
.decision-copy h2 em { font-family: var(--display); font-weight: 430; letter-spacing: -.045em; }
.decision-copy p:last-child { max-width: 420px; color: rgba(255,255,255,.65); }
.decision-instrument { position: relative; padding: 32px; border: 1px solid var(--line-light); background: rgba(255,255,255,.035); }
.decision-steps { display: grid; grid-template-columns: repeat(4, 1fr); }
.decision-steps button { min-height: 62px; padding: 0 12px; border: 0; background: transparent; color: rgba(255,255,255,.48); font-size: .68rem; font-weight: 680; text-align: left; cursor: pointer; }
.decision-steps button span { display: block; margin-bottom: 4px; font: 500 .5rem/1 var(--mono); letter-spacing: .07em; }
.decision-steps button.is-active { color: var(--sea-bright); }
.decision-track { position: relative; height: 1px; margin: 0 12px 38px; background: rgba(255,255,255,.2); }
.decision-track span { display: block; width: 0; height: 2px; background: var(--sea-bright); transition: width 400ms var(--ease); }
.decision-record { padding: 30px; background: var(--salt-bright); color: var(--ink); }
.decision-record > small { color: var(--sea); font: 500 .54rem/1.3 var(--mono); letter-spacing: .09em; text-transform: uppercase; }
.decision-record > strong { display: block; max-width: 530px; margin: 13px 0 12px; font-family: var(--display); font-size: clamp(1.9rem, 2.7vw, 2.9rem); font-weight: 520; line-height: 1; }
.decision-record > p { max-width: 530px; color: #55635e; font-size: .8rem; }
.decision-record > div { display: flex; justify-content: space-between; gap: 20px; margin-top: 28px; padding-top: 14px; border-top: 1px solid var(--line-dark); }
.decision-record > div span, .decision-record > div b { font: 500 .52rem/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.decision-record > div b { color: var(--sea); }

/* Australian context */
.coast-proof { position: relative; min-height: min(900px, 92svh); overflow: hidden; background: var(--kelp-deep); color: #fff; }
.coast-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.coast-grade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,15,12,.92) 0%, rgba(4,15,12,.58) 45%, rgba(4,15,12,.1) 75%), linear-gradient(180deg, rgba(4,15,12,.15), rgba(4,15,12,.56)); }
.coast-content { position: relative; min-height: min(900px, 92svh); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-block: 100px; }
.coast-content h2 { max-width: 800px; margin: 24px 0 48px; font-size: clamp(5rem, 8vw, 8.6rem); line-height: .84; }
.coast-facts { display: grid; width: min(780px, 100%); grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.45); border-bottom: 1px solid rgba(255,255,255,.45); }
.coast-facts div { min-height: 112px; padding: 22px 22px 20px 0; border-right: 1px solid rgba(255,255,255,.23); }
.coast-facts div + div { padding-left: 22px; }
.coast-facts div:last-child { border-right: 0; }
.coast-facts small { display: block; margin-bottom: 12px; color: rgba(255,255,255,.52); font: 500 .52rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.coast-facts strong { font-size: .8rem; }
.coast-links { display: flex; gap: 28px; margin-top: 26px; }
.coast-links a { display: inline-flex; min-height: 44px; align-items: center; color: rgba(255,255,255,.9); font-size: .72rem; font-weight: 680; text-decoration: none; }
.coast-links a:hover { color: var(--sea-bright); }

/* Principles */
.seen-principles { padding: clamp(95px, 9vw, 145px) 0; background: #07110e; color: var(--salt-bright); }
.principles-shell { display: grid; grid-template-columns: .65fr 1.35fr; gap: clamp(70px, 9vw, 150px); align-items: start; }
.principles-mark { display: flex; align-items: center; gap: 26px; }
.principles-mark img { width: 72px; height: auto; }
.principles-mark small { color: rgba(255,255,255,.46); font: 500 .52rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.principles-mark h2 { margin: 5px 0 0; font-family: var(--sans); font-size: clamp(3.4rem, 5vw, 5.7rem); font-weight: 810; line-height: .9; letter-spacing: -.07em; }
.principles-list { border-top: 1px solid var(--line-light); }
.principles-list details { border-bottom: 1px solid var(--line-light); }
.principles-list summary { position: relative; display: flex; min-height: 82px; align-items: center; gap: 25px; padding-right: 45px; list-style: none; font-family: var(--display); font-size: clamp(1.7rem, 2.6vw, 2.8rem); cursor: pointer; }
.principles-list summary::-webkit-details-marker { display: none; }
.principles-list summary span { color: var(--sea-bright); font: 500 .58rem/1 var(--mono); }
.principles-list summary::after { position: absolute; right: 3px; content: "+"; color: var(--sea-bright); font-family: var(--sans); font-size: 1rem; }
.principles-list details[open] summary::after { content: "−"; }
.principles-list p { max-width: 520px; margin: -7px 0 24px 52px; color: rgba(255,255,255,.62); font-size: .81rem; }

/* Contact and footer */
.contact-frame { padding: clamp(105px, 10vw, 160px) 0; background: var(--reef); color: #fff; }
.contact-frame__grid { display: grid; grid-template-columns: .55fr 1.1fr .7fr; gap: clamp(45px, 7vw, 110px); align-items: start; }
.contact-frame .eyebrow { color: #fff; }
.contact-frame h2 {
  margin: -10px 0 0; font-family: var(--sans); font-size: clamp(3.7rem, 5.5vw, 6.1rem);
  font-weight: 790; line-height: .87; letter-spacing: -.072em;
}
.contact-frame h2 em { color: var(--salt-bright); font-family: var(--display); font-weight: 430; letter-spacing: -.04em; }
.contact-route { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; padding-top: 7px; }
.contact-email { display: inline-flex; min-height: 44px; align-items: center; padding-top: 6px; border-bottom: 1px solid rgba(255,255,255,.65); font-size: clamp(.93rem, 1.15vw, 1.08rem); font-weight: 700; text-decoration: none; }
.site-footer { padding: 58px 0 35px; background: var(--kelp-deep); color: var(--salt); }
.footer-main { display: grid; grid-template-columns: 1fr auto auto; gap: 65px; align-items: center; }
.footer-brand { display: inline-flex; min-height: 44px; align-items: center; gap: 14px; font-weight: 750; text-decoration: none; }
.footer-brand img { width: 31px; height: 42px; object-fit: contain; }
.footer-main nav { display: flex; gap: 24px; }
.footer-main nav a { display: inline-flex; min-height: 44px; align-items: center; color: rgba(255,255,255,.72); font-size: .69rem; text-decoration: none; }
.footer-main nav a:hover { color: #fff; }
.footer-entity { display: flex; gap: 18px; color: rgba(255,255,255,.62); font: 500 .56rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.footer-legal { margin-top: 28px; padding-top: 23px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.58); font: 500 .6rem/1.7 var(--mono); }

/* Reveal is progressive enhancement only */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 500ms ease, transform 650ms var(--ease); }
.js [data-reveal].is-revealed { opacity: 1; transform: none; }

@media (max-width: 1180px) {
  :root { --wrap: min(100% - 56px, 1120px); }
  .section-head { grid-template-columns: .45fr 1.55fr; }
  .product-panel { grid-template-columns: minmax(0, 1.2fr) minmax(330px, .8fr); }
  .product-visual { min-height: 650px; }
  .decision-grid { grid-template-columns: .75fr 1.25fr; gap: 65px; }
  .contact-frame__grid { grid-template-columns: .4fr 1.2fr .7fr; gap: 48px; }
}

@media (max-width: 900px) {
  :root { --nav-h: 66px; --wrap: calc(100% - 40px); }
  .menu-toggle { display: block; }
  .site-nav { color: #fff; }
  .site-nav.is-solid { color: var(--ink); }
  .primary-menu {
    position: absolute; inset: 100% 0 auto; display: flex; height: calc(100dvh - var(--nav-h) + 2px);
    visibility: hidden; flex-direction: column; align-items: stretch; gap: 0; padding: 26px 20px 42px;
    background: var(--salt); color: var(--ink); opacity: 0; transform: translateX(100%);
    transition: opacity 220ms ease, transform 360ms var(--ease), visibility 220ms;
  }
  .primary-menu.is-open { visibility: visible; opacity: 1; transform: translateX(0); }
  .primary-menu > a { min-height: 62px; border-bottom: 1px solid var(--line-dark); font-size: 1.22rem; }
  .primary-menu > a:not(.nav-contact) { opacity: 1; }
  .primary-menu .nav-contact { min-height: 56px; justify-content: center; margin-top: 24px; border: 0; background: var(--ink); color: var(--salt); }
  .site-nav:not(.is-solid) .menu-toggle[aria-expanded="true"] { color: var(--ink); }

  .hero-panels { display: block; }
  .hero-panel { position: absolute; inset: 0; width: 100%; opacity: 0; border: 0; filter: saturate(.78) brightness(.72); transition: opacity 520ms ease; }
  .hero-panel.is-active { opacity: 1; filter: saturate(.84) brightness(.76); }
  .hero-panel img { transform: scale(1.015); }
  .hero-grade { background: linear-gradient(180deg, rgba(4,15,12,.22) 0%, rgba(4,15,12,.35) 38%, rgba(4,15,12,.92) 82%, rgba(4,15,12,.97) 100%); }
  .hero-copy { justify-content: flex-end; padding: 115px 0 205px; }
  .hero-copy h1 { max-width: 700px; font-size: clamp(4.6rem, 10vw, 6.4rem); }
  .hero-switcher { right: 20px; bottom: 20px; width: calc(100% - 40px); }
  .hero-switcher button { min-height: 82px; padding: 13px; }

  .section-head { grid-template-columns: 1fr; gap: 35px; }
  .section-head h2 { max-width: 760px; }
  .product-panel { grid-template-columns: 1fr; }
  .product-visual { min-height: 620px; }
  .product-copy { min-height: 520px; border-top: 1px solid var(--line-dark); border-left: 0; }
  .decision-grid { grid-template-columns: 1fr; }
  .decision-copy p:last-child { max-width: 600px; }
  .principles-shell { grid-template-columns: 1fr; gap: 70px; }
  .contact-frame__grid { grid-template-columns: 1fr; }
  .contact-frame h2 { max-width: 760px; }
  .contact-route { padding-top: 12px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-entity { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --wrap: calc(100% - 32px); }
  .brand { font-size: .87rem; }
  .work-hero { min-height: 100svh; }
  .hero-copy { min-height: 100svh; padding: 100px 0 210px; }
  .hero-copy h1 { margin: 18px 0 19px; font-size: clamp(3.45rem, 16vw, 4.25rem); line-height: .88; }
  .hero-intro { max-width: 350px; margin-bottom: 25px; font-size: .91rem; }
  .hero-copy .button { min-height: 48px; }
  .hero-switcher { bottom: 10px; right: 10px; width: calc(100% - 20px); }
  .hero-switcher button { min-height: 74px; padding: 11px 10px; }
  .hero-switcher small { font-size: .43rem; }
  .hero-switcher span { font-size: .7rem; }

  .portfolio { padding: 84px 0 0; }
  .section-head h2 { font-size: clamp(3.15rem, 14.6vw, 4.15rem); line-height: .92; }
  .portfolio-tabs { width: calc(100% - 16px); margin: 44px 0 0 16px; overflow-x: auto; grid-template-columns: repeat(3, minmax(170px, 1fr)); scrollbar-width: none; }
  .portfolio-tabs::-webkit-scrollbar { display: none; }
  .portfolio-tabs button { min-height: 66px; padding: 0 15px; white-space: nowrap; }
  .portfolio-stage { width: 100%; margin-top: 18px; }
  .product-visual { min-height: 490px; }
  .product-copy { min-height: auto; padding: 46px 24px 56px; }
  .product-index { margin-bottom: 25px; }
  .product-copy h3 { font-size: 3.45rem; }
  .product-promise { margin-bottom: 29px; }
  .concept-note { left: 10px; bottom: 10px; font-size: .43rem; }

  .tp-console, .proof-console, .quote-console { right: 12px; bottom: 58px; width: calc(100% - 24px); transform: none; }
  .tp-controls { grid-template-columns: auto 1fr; }
  .tp-controls strong { display: none; }
  .proof-console { grid-template-columns: 1.08fr .92fr; }
  .proof-source { min-height: 225px; padding: 18px; }
  .proof-source p { margin-bottom: 16px; }
  .proof-decision { padding: 18px 14px; }
  .proof-decision > strong { margin-bottom: 12px; font-size: .8rem; }
  .proof-decision dl div { grid-template-columns: 1fr; gap: 2px; padding: 5px 0; }
  .review-gate { margin-top: 10px; padding: 7px; font-size: .48rem; }
  .quote-row { min-height: 44px; }
  .quote-head, .quote-row { grid-template-columns: 1.3fr .82fr .63fr; gap: 6px; }

  .decision-demo { padding-block: 85px; }
  .decision-copy h2 { font-size: clamp(3.35rem, 15vw, 4.35rem); }
  .decision-instrument { width: calc(100% + 16px); margin-right: -16px; padding: 18px 16px 16px; }
  .decision-steps button { min-height: 58px; padding: 0 4px; font-size: .57rem; }
  .decision-record { padding: 24px 20px; }
  .decision-record > strong { font-size: 2rem; }

  .coast-proof, .coast-content { min-height: 83svh; }
  .coast-grade { background: linear-gradient(180deg, rgba(4,15,12,.42) 0%, rgba(4,15,12,.63) 52%, rgba(4,15,12,.92) 100%); }
  .coast-content { justify-content: flex-end; padding-block: 85px 55px; }
  .coast-content h2 { margin: 20px 0 34px; font-size: clamp(4rem, 18vw, 5.15rem); }
  .coast-facts { grid-template-columns: 1fr; }
  .coast-facts div, .coast-facts div + div { min-height: 72px; padding: 13px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.23); }
  .coast-facts div:last-child { border-bottom: 0; }
  .coast-facts small { margin-bottom: 4px; }

  .seen-principles { padding-block: 80px; }
  .principles-mark img { width: 55px; }
  .principles-list summary { min-height: 72px; font-size: 1.75rem; }
  .contact-frame { padding-block: 85px; }
  .contact-frame h2 { font-size: clamp(3.4rem, 15.5vw, 4.3rem); }
  .contact-email { font-size: .9rem; }
  .site-footer { padding-top: 48px; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; }
  .footer-main nav { display: grid; grid-template-columns: repeat(2, 1fr); }
  .footer-entity { grid-column: auto; flex-direction: column; gap: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .coast-video { display: none; }
  .coast-proof { background: var(--kelp-deep) url("img/v6/australian-coast-poster.webp") center / cover no-repeat; }
}
