/* Company31 — Studio
   An Apple minimal system, mobile first, built on the brand blue from the
   logo mark (deep royal #00207C to electric #0380FE). Cool near-white ground,
   deep navy ink, one confident brand blue for accents, links and CTAs, and a
   single royal-navy brand moment. No decorative graphics. Rebuilt 2026-06-03. */

/* ---------------------------------------------------------------------------
   Palette: cool near-white + navy ink + brand blue (light default)
   --------------------------------------------------------------------------- */
:root {
  --paper:        #f4f7fc;
  --paper-2:      #e9eff8;
  --surface:      #ffffff;
  --ink:          #0b1a37;
  --ink-soft:     #46536e;
  --ink-mute:     #7e89a3;
  --line:         color-mix(in srgb, var(--ink) 12%, transparent);
  --line-soft:    color-mix(in srgb, var(--ink) 7%, transparent);
  --brand:        #0b5fd8;
  --brand-strong: #0848a8;
  --brand-navy:   #022b86;
  --brand-bright: #2f86ff;
  --on-brand:     #ffffff;

  --c31-bg:           var(--paper);
  --c31-bg-subtle:    var(--paper-2);
  --c31-bg-muted:     var(--paper-2);
  --c31-surface:      var(--surface);
  --c31-surface-alt:  var(--paper-2);
  --c31-border:       var(--line);
  --c31-border-strong:color-mix(in srgb, var(--ink) 22%, transparent);
  --c31-text:         var(--ink);
  --c31-text-soft:    var(--ink-soft);
  --c31-text-muted:   var(--ink-mute);
  --c31-accent:       var(--brand);
  --c31-accent-hover: var(--brand-strong);
  --c31-accent-soft:  color-mix(in srgb, var(--brand) 12%, transparent);
  --c31-focus:        var(--brand);
  --c31-shadow:       0 1px 2px rgba(11,26,55,0.05), 0 10px 30px rgba(11,26,55,0.07);
  --c31-shadow-lift:  0 18px 50px rgba(11,26,55,0.12);
  --c31-color-scheme: light;

  --wrap: 1080px;
  --measure: 38rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Dark: a deep brand navy drawn from the logo, not a neutral black. */
:root[data-theme="dark"] {
  --paper:        #081530;
  --paper-2:      #0d1e40;
  --surface:      #102449;
  --ink:          #eaf0fb;
  --ink-soft:     #9fb0d0;
  --ink-mute:     #6e7e9e;
  --line:         color-mix(in srgb, var(--ink) 16%, transparent);
  --line-soft:    color-mix(in srgb, var(--ink) 9%, transparent);
  --brand:        #4d93ff;
  --brand-strong: #6aa6ff;
  --brand-navy:   #052f93;
  --brand-bright: #6fa8ff;
  --on-brand:     #ffffff;
  --c31-bg:           var(--paper);
  --c31-bg-subtle:    var(--paper-2);
  --c31-bg-muted:     var(--paper-2);
  --c31-surface:      var(--surface);
  --c31-surface-alt:  var(--paper-2);
  --c31-border:       var(--line);
  --c31-border-strong:color-mix(in srgb, var(--ink) 30%, transparent);
  --c31-text:         var(--ink);
  --c31-text-soft:    var(--ink-soft);
  --c31-text-muted:   var(--ink-mute);
  --c31-accent:       var(--brand);
  --c31-accent-hover: var(--brand-strong);
  --c31-accent-soft:  color-mix(in srgb, var(--brand) 22%, transparent);
  --c31-focus:        var(--brand);
  --c31-shadow:       0 1px 2px rgba(0,0,0,0.4), 0 12px 36px rgba(0,0,0,0.5);
  --c31-shadow-lift:  0 22px 60px rgba(0,0,0,0.55);
  --c31-color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --paper:        #081530;
    --paper-2:      #0d1e40;
    --surface:      #102449;
    --ink:          #eaf0fb;
    --ink-soft:     #9fb0d0;
    --ink-mute:     #6e7e9e;
    --line:         color-mix(in srgb, var(--ink) 16%, transparent);
    --line-soft:    color-mix(in srgb, var(--ink) 9%, transparent);
    --brand:        #4d93ff;
    --brand-strong: #6aa6ff;
    --brand-navy:   #052f93;
    --brand-bright: #6fa8ff;
    --on-brand:     #ffffff;
    --c31-bg:           var(--paper);
    --c31-bg-subtle:    var(--paper-2);
    --c31-bg-muted:     var(--paper-2);
    --c31-surface:      var(--surface);
    --c31-surface-alt:  var(--paper-2);
    --c31-border:       var(--line);
    --c31-border-strong:color-mix(in srgb, var(--ink) 30%, transparent);
    --c31-text:         var(--ink);
    --c31-text-soft:    var(--ink-soft);
    --c31-text-muted:   var(--ink-mute);
    --c31-accent:       var(--brand);
    --c31-accent-hover: var(--brand-strong);
    --c31-accent-soft:  color-mix(in srgb, var(--brand) 22%, transparent);
    --c31-focus:        var(--brand);
    --c31-color-scheme: dark;
  }
}

/* ---------------------------------------------------------------------------
   Base type
   --------------------------------------------------------------------------- */
body {
  background: var(--c31-bg);
  color: var(--c31-text);
  font-size: 1.0625rem;
  line-height: 1.5;
  letter-spacing: -0.003em;
  -webkit-font-smoothing: antialiased;
}
::selection { background: color-mix(in srgb, var(--brand) 20%, transparent); color: var(--c31-text); }

h1, h2, h3, h4 { color: var(--c31-text); font-weight: 600; text-wrap: balance; }
p { color: var(--c31-text-soft); text-wrap: pretty; }
a { color: inherit; }

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}
.wrap--narrow { --wrap: 760px; }
.measure { max-inline-size: var(--measure); }
/* Wide data tables (e.g. the privacy table) scroll within themselves on
   narrow screens, so the page itself never overflows horizontally. */
.table-scroll { max-inline-size: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 560px) { .table-scroll > table { min-inline-size: 30rem; } }

.display {
  font-size: clamp(2.65rem, 1.7rem + 4.4vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.022em;
  font-weight: 600;
}
.h-sec {
  font-size: clamp(1.95rem, 1.3rem + 2.6vw, 3.15rem);
  line-height: 1.07;
  letter-spacing: -0.02em;
  font-weight: 600;
}
.lead {
  font-size: clamp(1.15rem, 1.02rem + 0.6vw, 1.5rem);
  line-height: 1.42;
  color: var(--c31-text-soft);
  font-weight: 400;
  letter-spacing: -0.006em;
}
.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c31-text-muted);
}
.accent { color: var(--c31-accent); }

/* ---------------------------------------------------------------------------
   Section rhythm. One idea per screen: lots of air.
   --------------------------------------------------------------------------- */
.section { padding-block: clamp(4.5rem, 3rem + 9vw, 9.5rem); }
.section--tight { padding-block: clamp(3rem, 2rem + 5vw, 6rem); }
.section--alt { background: var(--c31-bg-subtle); }
.divide { border-top: 1px solid var(--line-soft); }

/* ---------------------------------------------------------------------------
   Buttons and links
   --------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-block-size: 48px;
  padding: 0.6rem 1.5rem;
  border-radius: 980px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease), transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--solid { background: var(--c31-accent); color: var(--on-brand); }
.btn--solid:hover { background: var(--c31-accent-hover); color: var(--on-brand); }
.btn--line { border-color: var(--c31-border-strong); color: var(--c31-text); }
.btn--line:hover { background: color-mix(in srgb, var(--brand) 6%, transparent); border-color: var(--c31-accent); color: var(--c31-accent); }

.tlink {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--c31-accent);
  letter-spacing: -0.01em;
}
.tlink::after { content: "\203A"; font-size: 1.15em; line-height: 1; transition: transform 0.35s var(--ease); }
.tlink:hover { color: var(--c31-accent-hover); }
.tlink:hover::after { transform: translateX(3px); }

.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }

/* In-prose links get a quiet underline */
.prose-link {
  color: var(--c31-text);
  text-decoration: underline;
  text-decoration-color: var(--c31-border-strong);
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
  transition: text-decoration-color 0.3s var(--ease), color 0.3s var(--ease);
}
.prose-link:hover { color: var(--c31-accent); text-decoration-color: var(--c31-accent); }

/* ---------------------------------------------------------------------------
   Header: minimal bar, two links, a theme toggle
   --------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--c31-bg) 80%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-block-end: 1px solid var(--line-soft);
  padding-block-start: env(safe-area-inset-top, 0);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  block-size: 56px;
  padding-block: 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--c31-text);
}
.brand img { inline-size: 34px; block-size: 34px; display: block; }
.site-footer .brand img { inline-size: 38px; block-size: 38px; }
.site-nav {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-block-size: 40px;
  padding-inline: 0.7rem;
  font-size: 0.95rem;
  font-weight: 450;
  color: var(--c31-text-soft);
  border-radius: 8px;
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.site-nav a:hover { color: var(--c31-text); }
.site-nav a[aria-current="page"] { color: var(--c31-text); }
.icon-btn {
  inline-size: 40px;
  block-size: 40px;
  margin-inline-start: 0.25rem;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  color: var(--c31-text-soft);
  border: 1px solid transparent;
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.icon-btn:hover { color: var(--c31-text); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.icon-btn svg { inline-size: 18px; block-size: 18px; }
.icon-btn[aria-pressed="true"] { color: var(--c31-bg); background: var(--c31-text); }
.theme-toggle__sun { display: none; }
:root[data-theme="dark"] .theme-toggle__sun { display: block; }
:root[data-theme="dark"] .theme-toggle__moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .theme-toggle__sun { display: block; }
  :root:not([data-theme]) .theme-toggle__moon { display: none; }
}

/* ---------------------------------------------------------------------------
   Hero: centred, calm, huge air
   --------------------------------------------------------------------------- */
.hero {
  text-align: center;
  padding-block: clamp(4.5rem, 3rem + 12vw, 11rem) clamp(3.5rem, 2.5rem + 7vw, 7.5rem);
}
.hero__kicker { margin-block-end: 1.6rem; }
.hero__title { margin-inline: auto; max-inline-size: 16ch; }
.hero__lead {
  margin: 1.6rem auto 2.4rem;
  max-inline-size: 34ch;
}
.hero__actions { justify-content: center; }
.hero__meta {
  margin-block-start: 3.5rem;
  color: var(--c31-text-muted);
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}

/* ---------------------------------------------------------------------------
   Statement: one big line, centred, room to breathe
   --------------------------------------------------------------------------- */
.statement { text-align: center; }
.statement__title {
  margin-inline: auto;
  max-inline-size: 18ch;
  font-size: clamp(2.2rem, 1.4rem + 3.6vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.022em;
  font-weight: 600;
}
.statement__lead { margin: 1.4rem auto 0; max-inline-size: 44ch; }
/* Centre the call to action under any centred statement, robustly (not reliant
   on an inline style that a stale cache could drop). */
.statement .cluster { justify-content: center; }

/* The single brand moment: a royal-navy band drawn from the logo, with a soft
   electric-blue light source at the top. Used once, on the home. */
.statement--brand {
  background:
    radial-gradient(120% 150% at 50% -20%, color-mix(in srgb, var(--brand-bright) 32%, transparent), transparent 58%),
    var(--brand-navy);
  color: #fff;
}
.statement--brand .statement__title { color: #fff; }
.statement--brand .statement__lead { color: rgba(255, 255, 255, 0.78); }
.statement--brand .kicker { color: rgba(255, 255, 255, 0.6); }
.statement--brand .accent { color: var(--brand-bright); }
.statement--brand .btn--solid { background: #fff; color: var(--brand-navy); }
.statement--brand .btn--solid:hover { background: color-mix(in srgb, #fff 90%, var(--brand-bright)); color: var(--brand-navy); }
.statement--brand .tlink { color: #fff; }
.statement--brand .tlink:hover { color: var(--brand-bright); }
:root[data-contrast="high"] .statement--brand { background: var(--brand-navy); }

/* ---------------------------------------------------------------------------
   Section head (left aligned editorial)
   --------------------------------------------------------------------------- */
.head { max-inline-size: 30ch; }
.head__title { margin-block: 0.9rem 0; }
.head__lead { margin-block-start: 1.4rem; max-inline-size: 46ch; }

/* Two-up section header: heading left, a supporting note bottom-aligned on the
   right, so editorial sections fill the width instead of stranding a void. */
.lede-row { display: grid; gap: 1.1rem; }
.lede-row__note {
  color: var(--c31-text-soft);
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  line-height: 1.45;
  max-inline-size: 44ch;
}
.lede-row .head__title { max-inline-size: 16ch; }
@media (min-width: 880px) {
  .lede-row {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    column-gap: clamp(2.5rem, 1.5rem + 4vw, 5.5rem);
    align-items: end;
  }
  .lede-row__note { padding-block-end: 0.55rem; justify-self: start; }
}

/* ---------------------------------------------------------------------------
   The five disciplines: a calm editorial list, no cards
   --------------------------------------------------------------------------- */
.list { margin-block-start: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  padding-block: clamp(1.8rem, 1.2rem + 1.6vw, 2.8rem);
  border-top: 1px solid var(--line);
}
.row:last-child { border-bottom: 1px solid var(--line); }
.row__num {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--c31-accent);
  font-variant-numeric: tabular-nums;
}
.row__name {
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 600;
}
.row__line { color: var(--c31-text-soft); max-inline-size: 48ch; }
@media (min-width: 760px) {
  .row {
    grid-template-columns: 4.5rem minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 2.5rem;
    align-items: baseline;
  }
  .row__num { padding-block-start: 0.55rem; }
  .row__line { margin: 0; }
}

/* ---------------------------------------------------------------------------
   About: portrait + words
   --------------------------------------------------------------------------- */
.about { display: grid; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.about__portrait {
  inline-size: 100%;
  max-inline-size: 320px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.about__sign {
  display: block;
  margin-block-start: 1.6rem;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c31-text-muted);
}
@media (min-width: 820px) {
  .about { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
  .about__portrait { justify-self: start; max-inline-size: 340px; }
}

/* ---------------------------------------------------------------------------
   Offer: the disciplines as a bold, low-text capability list. Type is the art.
   --------------------------------------------------------------------------- */
.offer { margin-block-start: clamp(2rem, 1rem + 3vw, 3.5rem); border-top: 1px solid var(--c31-border); }
.offer__row {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  column-gap: 1rem;
  row-gap: 0.5rem;
  align-items: baseline;
  padding-block: clamp(1.6rem, 1rem + 2vw, 2.8rem);
  border-bottom: 1px solid var(--c31-border);
}
.offer__num {
  font-size: 0.85rem; font-weight: 700; color: var(--c31-accent);
  font-variant-numeric: tabular-nums; padding-block-start: 0.45rem;
}
.offer__name {
  font-size: clamp(2rem, 1.2rem + 3.4vw, 3.6rem);
  line-height: 1.0; letter-spacing: -0.028em; font-weight: 600; color: var(--c31-text);
}
.offer__tag { grid-column: 2; color: var(--c31-text-soft); font-size: 1rem; max-inline-size: 38ch; }
@media (min-width: 860px) {
  .offer__row { grid-template-columns: 3.2rem minmax(0, 1fr) minmax(0, 1fr); align-items: baseline; column-gap: 2rem; }
  .offer__tag { grid-column: 3; text-align: left; margin: 0; font-size: 1.05rem; align-self: center; }
}
@media (hover: hover) and (min-width: 860px) {
  .offer__row { transition: padding-inline-start 0.45s var(--ease); }
  .offer__name { transition: color 0.3s var(--ease); }
  .offer__row:hover { padding-inline-start: 0.6rem; }
  .offer__row:hover .offer__name { color: var(--c31-accent); }
}

/* ---------------------------------------------------------------------------
   Proof: the founder pedigree, a quiet wall of recognised names
   --------------------------------------------------------------------------- */
.proof__names {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 0.6rem 1.6rem;
  margin-block-start: clamp(2.5rem, 1.6rem + 3vw, 4.5rem);
}
.proof__names span {
  display: inline-flex; align-items: center;
  font-size: clamp(1.4rem, 1rem + 1.5vw, 2.2rem);
  font-weight: 600; letter-spacing: -0.02em; color: var(--c31-text);
}
.proof__names span:not(:last-child)::after {
  content: ""; inline-size: 5px; block-size: 5px; border-radius: 50%;
  background: var(--c31-accent); margin-inline-start: 1.6rem;
}
@media (max-width: 620px) {
  .proof__names { gap: 0.35rem 1.4rem; }
  .proof__names span:not(:last-child)::after { display: none; }
}
/* Founder pedigree as a monochrome logo wall. Each mark is a CSS mask filled
   with currentColor, so it inherits the theme ink (dark on light, light on
   navy) and stays one calm colour. Wordmark-only brands fall back to text. */
.proof__logos {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: clamp(1.5rem, 0.9rem + 1.9vw, 2.75rem);
  margin-block-start: clamp(2.5rem, 1.6rem + 3vw, 4.5rem);
  color: var(--c31-text); padding: 0; list-style: none;
}
.proof__logos li { display: inline-flex; align-items: center; }
.proof__logos .lw {
  display: block; background: currentColor; opacity: 0.85;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
}
.proof__logos .lw--text {
  background: none; opacity: 0.82; color: inherit;
  font-weight: 600; letter-spacing: -0.005em; white-space: nowrap;
  font-size: clamp(1.15rem, 0.95rem + 0.7vw, 1.4rem);
}
.lw--toyota   { width: 2.5rem;  height: 2.5rem;  -webkit-mask-image: url(/assets/logos/toyota.svg);   mask-image: url(/assets/logos/toyota.svg); }
.lw--commbank { width: 3.7rem;  height: 2.6rem;  -webkit-mask-image: url(/assets/logos/commbank.svg); mask-image: url(/assets/logos/commbank.svg); }
.lw--unicef   { width: 6.4rem;  height: 1.6rem;  -webkit-mask-image: url(/assets/logos/unicef.svg);   mask-image: url(/assets/logos/unicef.svg); }
.lw--wsj      { width: 11.8rem; height: 1.25rem; -webkit-mask-image: url(/assets/logos/wsj.svg);      mask-image: url(/assets/logos/wsj.svg); }
.lw--ft       { width: 11.8rem; height: 0.96rem; -webkit-mask-image: url(/assets/logos/ft.svg);       mask-image: url(/assets/logos/ft.svg); }
@media (max-width: 620px) {
  .proof__logos { gap: 1.5rem 2rem; }
  .lw--wsj { width: 10.5rem; height: 1.1rem; }
  .lw--ft { width: 10.5rem; height: 0.85rem; }
  .lw--unicef { width: 5.8rem; height: 1.4rem; }
  .lw--commbank { width: 3.1rem; height: 2.15rem; }
}
.founder-line { margin-block-start: clamp(1.6rem, 1rem + 1.5vw, 2.4rem); color: var(--c31-text-muted); font-size: 0.98rem; max-inline-size: 58ch; }

/* ---------------------------------------------------------------------------
   Tools: each tool a calm full section
   --------------------------------------------------------------------------- */
.tool { display: grid; gap: 1.6rem; }
.tool__index { display: block; color: var(--c31-accent); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.08em; font-variant-numeric: tabular-nums; margin-block-end: 0.7rem; }
.tool__name { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.8rem); letter-spacing: -0.02em; line-height: 1.06; }
.tool__sub { margin-block-start: 0.9rem; max-inline-size: 40ch; }
.tool__specs {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.55rem 1.6rem;
  color: var(--c31-text-soft); font-size: 0.98rem;
}
.tool__specs li { display: inline-flex; align-items: center; gap: 0.55rem; }
.tool__specs li::before { content: ""; inline-size: 5px; block-size: 5px; border-radius: 50%; background: var(--c31-accent); flex: none; }
.tool__actions { margin-block-start: 1.8rem; }
@media (min-width: 820px) {
  .tool { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); column-gap: clamp(3rem, 2rem + 4vw, 6rem); align-items: start; }
  .tool__meta { padding-block-start: 0.55rem; }
  .tool__specs { flex-direction: column; gap: 0.9rem; }
  .tool__actions { margin-block-start: 2rem; }
}

/* ---------------------------------------------------------------------------
   Footer: quiet
   --------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  margin-block-start: 0;
  background: transparent;
  padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) calc(2.5rem + env(safe-area-inset-bottom, 0));
}
.site-footer__top {
  display: grid;
  gap: 2rem;
  padding-block-end: 2rem;
}
.site-footer__links { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 0.5rem 1.5rem; list-style: none; margin: 0; padding: 0; }
.site-footer__links a, .site-footer__links button {
  font-size: 0.95rem; color: var(--c31-text-soft); min-block-size: 36px; display: inline-flex; align-items: center;
}
.site-footer__links a:hover, .site-footer__links button:hover { color: var(--c31-text); }
.site-footer__meta {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem;
  border-top: 1px solid var(--line-soft); padding-block-start: 1.8rem;
  color: var(--c31-text-muted); font-size: 0.86rem;
}
.foot-social { display: inline-flex; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.foot-social a { inline-size: 36px; block-size: 36px; display: inline-grid; place-items: center; color: var(--c31-text-muted); border-radius: 999px; }
.foot-social a:hover { color: var(--c31-text); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.foot-social svg { inline-size: 17px; block-size: 17px; }
@media (min-width: 700px) {
  .site-footer__top { grid-template-columns: 1fr auto; align-items: center; }
}

/* ---------------------------------------------------------------------------
   Consent banner, restyled calm
   --------------------------------------------------------------------------- */
.consent {
  position: fixed; inset-block-end: 1.25rem; inset-inline-end: 1.25rem;
  max-inline-size: 24rem; background: var(--c31-surface);
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--c31-shadow-lift);
  padding: 1.25rem; z-index: 60; display: none; flex-direction: column; gap: 1rem;
}
.consent.is-visible { display: flex; }
.consent__title { font-size: 1.05rem; }
.consent__body { font-size: 0.92rem; color: var(--c31-text-soft); }
.consent__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.consent__actions .btn { min-block-size: 42px; padding-inline: 1.1rem; font-size: 0.92rem; }
.consent__manage { display: none; flex-direction: column; gap: 0.8rem; padding-block-start: 1rem; border-top: 1px solid var(--line); }
.consent.is-managing .consent__manage { display: flex; }
.consent__option { display: flex; gap: 0.75rem; font-size: 0.9rem; align-items: flex-start; }
.consent__option input { inline-size: 22px; block-size: 22px; }
.consent__option-text strong { display: block; color: var(--c31-text); }
.consent__option-text span { color: var(--c31-text-muted); }
@media (max-width: 540px) {
  .consent { inset: auto 0 0 0; max-inline-size: none; border-radius: 14px 14px 0 0; padding-block-end: calc(1.25rem + env(safe-area-inset-bottom, 0)); }
}

/* ---------------------------------------------------------------------------
   Reveal: a single, restrained fade up
   --------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------------------------------------------------------------------------
   Skip link (re-stated to match)
   --------------------------------------------------------------------------- */
.skip-link {
  position: absolute; inset-inline-start: 1rem; inset-block-start: 1rem;
  padding: 0.6rem 1.1rem; background: var(--c31-text); color: var(--c31-bg);
  border-radius: 8px; transform: translateY(-200%); transition: transform 0.25s var(--ease); z-index: 100; font-weight: 600;
}
.skip-link:focus { transform: translateY(0); }

/* High-contrast respect: base.css drives the palette; keep borders crisp */
:root[data-contrast="high"] .site-header,
:root[data-contrast="high"] .consent { backdrop-filter: none; -webkit-backdrop-filter: none; }
:root[data-contrast="high"] .btn { border-width: 2px; border-color: var(--c31-border-strong); }

/* ---------------------------------------------------------------------------
   Imagery: a few large, brand-toned photographic moments. Every stock photo is
   run through a brand tint or duotone so it reads as the blue identity, never
   as generic stock. Added 2026-06-03.
   --------------------------------------------------------------------------- */

/* Hero image: contained, rounded, a quiet brand tint, kept bright. */
.hero__media {
  position: relative; isolation: isolate; overflow: hidden;
  margin: clamp(2.5rem, 1.4rem + 4vw, 4.5rem) auto 0;
  border-radius: clamp(12px, 0.8vw, 20px);
  aspect-ratio: 16 / 7;
  background: var(--brand-navy);
  box-shadow: 0 34px 70px -36px rgba(11, 26, 55, 0.5);
}
.hero__media img { inline-size: 100%; block-size: 100%; object-fit: cover; display: block; filter: saturate(0.82) contrast(1.02); }
.hero__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(118deg, color-mix(in srgb, var(--brand) 30%, transparent), transparent 48%);
  mix-blend-mode: multiply;
}
@media (max-width: 720px) { .hero__media { aspect-ratio: 4 / 3; } }

/* Full-width brand duotone band (warm stock turned cohesive blue). */
.band-media {
  position: relative; isolation: isolate; overflow: hidden;
  margin-block-start: clamp(2.5rem, 1.5rem + 3vw, 4rem);
  border-radius: clamp(12px, 0.8vw, 20px);
  aspect-ratio: 21 / 8;
  background: linear-gradient(120deg, var(--brand-navy), #3f7fe0);
}
.band-media img { inline-size: 100%; block-size: 100%; object-fit: cover; display: block; mix-blend-mode: luminosity; }
.band-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(120deg, color-mix(in srgb, var(--brand-navy) 36%, transparent), transparent 66%);
}
@media (max-width: 720px) { .band-media { aspect-ratio: 16 / 10; } }

/* Statement section with a photographic background under the navy. */
.statement__bg { position: absolute; inset: 0; z-index: 0; }
.statement__bg img { inline-size: 100%; block-size: 100%; object-fit: cover; display: block; }
.statement__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 130% at 50% -12%, color-mix(in srgb, var(--brand-bright) 28%, transparent), transparent 56%),
    linear-gradient(180deg, color-mix(in srgb, var(--brand-navy) 80%, transparent), color-mix(in srgb, #050f29 92%, transparent));
}
.statement--brand { position: relative; isolation: isolate; overflow: hidden; }
.statement--brand > .wrap { position: relative; z-index: 1; }
:root[data-contrast="high"] .statement__bg { display: none; }

/* Reveal works on the media blocks too, gently */
.hero__media.reveal, .band-media.reveal { transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }

/* Framed product screenshots, shown crisp (real UI, not duotoned). */
.shot {
  border-radius: clamp(10px, 0.7vw, 16px); overflow: hidden;
  border: 1px solid var(--c31-border); background: var(--c31-surface);
  box-shadow: 0 30px 64px -34px rgba(11, 26, 55, 0.42);
}
.shot img { inline-size: 100%; block-size: auto; display: block; }
.shot--hero { margin-block-start: clamp(2.5rem, 1.4rem + 4vw, 4.5rem); }
.shots { display: grid; gap: clamp(1.6rem, 1rem + 2vw, 2.8rem); margin-block-start: clamp(2rem, 1.2rem + 2vw, 3.2rem); }
@media (min-width: 880px) { .shots { grid-template-columns: 1fr 1fr; align-items: start; } }
.shot__cap { margin-block-start: 1rem; }
.shot__cap strong { display: block; color: var(--c31-text); font-size: 1.1rem; letter-spacing: -0.01em; }
.shot__cap span { color: var(--c31-text-soft); font-size: 0.98rem; }

/* A text + screenshot split, for a feature with room to explain */
.split-shot { display: grid; gap: clamp(2rem, 1.2rem + 3vw, 3.5rem); align-items: center; }
@media (min-width: 880px) {
  .split-shot { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
  .split-shot--reverse > .shot { order: -1; }
}
