/* =========================================================
   UTS Group — Stylesheet
   Pure CSS, no framework, no external requests.
   ========================================================= */

:root{
  --black:#0a0a0a;
  --black-soft:#141414;
  --black-line: rgba(255,255,255,0.10);
  --orange:#f2680f;
  --orange-dark:#d65c0c;
  --orange-tint: rgba(242,104,15,0.10);
  /* Same hue, darkened until it clears 4.5:1 for normal text on white/cream
     (WCAG 2.2 AA 1.4.3) — use this instead of --orange/--orange-dark for
     orange TEXT/links on light backgrounds. Icons and orange-on-dark text
     are unaffected and keep using --orange. */
  --orange-a11y:#ae4a09;
  --cream:#f6f3ef;
  --white:#ffffff;
  --ink:#141414;
  --ink-soft:#3a3a38;
  --muted:#68655f;
  --muted-on-dark: #a6a6a3;
  --border:#e6e2da;
  --border-dark: rgba(255,255,255,0.14);
  --radius:10px;
  --radius-lg:16px;
  --container:1240px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Helvetica Neue", sans-serif;
  --shadow-card: 0 1px 2px rgba(20,20,20,0.04), 0 1px 0 rgba(20,20,20,0.03);
  --ease: cubic-bezier(.2,.7,.3,1);
}

*, *::before, *::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
html, body{ margin:0; padding:0; }

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration:0.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:0.01ms !important;
    scroll-behavior:auto !important;
  }
}
body{
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img, svg{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4,p,figure{ margin:0; }
button{ font-family:inherit; }

.visually-hidden{
  position:absolute !important;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;border:0;
}

.skip-link{
  position:absolute;
  left:-999px;
  top:0;
  background:var(--orange);
  color:#fff;
  padding:.75rem 1.25rem;
  z-index:200;
  border-radius:0 0 8px 0;
  font-weight:600;
}
.skip-link:focus{ left:0; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline:2px solid var(--orange);
  outline-offset:2px;
}

.container{
  width:100%;
  max-width:var(--container);
  margin:0 auto;
  padding:0 24px;
}

/* =========================================================
   Typography
   ========================================================= */
h1, .h1{
  font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.375rem);
  line-height:1.08;
  font-weight:700;
  letter-spacing:-0.02em;
}
h2, .h2{
  font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.25rem);
  line-height:1.15;
  font-weight:700;
  letter-spacing:-0.015em;
}
h3, .h3{
  font-size: clamp(1.125rem, 1.05rem + .35vw, 1.375rem);
  line-height:1.3;
  font-weight:700;
  letter-spacing:-0.01em;
}
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:.5em;
  font-size:.8125rem;
  font-weight:700;
  letter-spacing:.09em;
  text-transform:uppercase;
  color:var(--orange);
}
/* Every other .eyebrow sits on a dark section, where --orange is 6.4:1.
   On a plain light section (e.g. the Contact page hero), use .on-light. */
.eyebrow.on-light{ color:var(--orange-a11y); }
.lede{
  font-size:1.125rem;
  color:var(--muted);
  line-height:1.6;
}
.section-head{
  max-width:760px;
  margin-bottom:2.5rem;
}
.section-head p{ margin-top:.9rem; }

/* =========================================================
   Buttons
   ========================================================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  padding:.85rem 1.5rem;
  border-radius:8px;
  font-weight:700;
  font-size:.95rem;
  border:1px solid transparent;
  cursor:pointer;
  transition:background .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease), transform .15s var(--ease);
  white-space:nowrap;
}
.btn:active{ transform:translateY(1px); }
.btn-primary{
  background:var(--orange);
  /* Dark text, not white: white-on-#f2680f measures 3.11:1, below the 4.5:1
     WCAG AA minimum for text. Dark ink on this orange measures 5.93:1. */
  color:var(--ink);
}
.btn-primary:hover{ background:var(--orange-dark); }
.btn-outline{
  background:transparent;
  border-color:currentColor;
  color:var(--ink);
}
.btn-outline:hover{ background:var(--ink); color:#fff; border-color:var(--ink); }
.btn-outline-dark{
  background:transparent;
  border-color:var(--border-dark);
  color:#fff;
}
.btn-outline-dark:hover{ background:#fff; color:var(--black); border-color:#fff; }
.btn-arrow{
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  font-weight:700;
  font-size:.95rem;
  color:var(--orange-a11y);
}
.btn-arrow svg{ transition:transform .15s var(--ease); width:16px; height:16px; }
.btn-arrow:hover svg{ transform:translateX(3px); }
.btn-lg{ padding:1rem 1.9rem; font-size:1rem; }

/* =========================================================
   Header
   ========================================================= */
.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:var(--black);
  border-bottom:1px solid var(--black-line);
}
.header-inner{
  display:flex;
  align-items:center;
  gap:1.5rem;
  padding-top:.9rem;
  padding-bottom:.9rem;
}
.logo{
  display:inline-flex;
  align-items:center;
  flex-shrink:0;
}
.logo img{
  height:40px;
  width:auto;
  display:block;
}

.nav-primary{
  display:none;
}
.nav-primary > ul{
  display:flex;
  align-items:center;
  gap:2rem;
}
.nav-primary .nav-link{
  /* reset browser default <button> chrome so it matches the plain <a> links */
  appearance:none;
  -webkit-appearance:none;
  background:transparent;
  border:none;
  margin:0;
  font-family:inherit;
  cursor:pointer;

  color:#e9e9e7;
  font-size:.95rem;
  font-weight:600;
  padding:.5rem 0;
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  line-height:1.4;
  transition:color .15s var(--ease);
}
.nav-primary .nav-link:hover,
.nav-primary .nav-link[aria-current="page"]{ color:#fff; }
.nav-primary .nav-link[aria-current="page"]{ color:var(--orange); }

.has-dropdown{ position:relative; }
/* Invisible bridge over the gap between the trigger and the panel (the
   panel sits at top:100% plus a small translateY slide-in offset) — without
   it, moving the pointer from the nav-link down into the dropdown crosses a
   dead zone with nothing hoverable, :hover on .has-dropdown drops for a
   frame, and the panel closes before the pointer ever reaches it. */
.has-dropdown::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:100%;
  height:14px;
}
.has-dropdown .chev{
  width:10px;
  height:10px;
  flex-shrink:0;
  color:#8a8a87;
  transition:transform .18s var(--ease), color .18s var(--ease);
}
.has-dropdown:hover .chev,
.has-dropdown:focus-within .chev{ transform:rotate(180deg); color:var(--orange); }

.dropdown{
  position:absolute;
  top:100%;
  left:50%;
  transform:translateX(-50%) translateY(8px);
  min-width:300px;
  background:#141414;
  border:1px solid var(--black-line);
  border-radius:var(--radius);
  padding:.5rem;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .15s var(--ease), transform .15s var(--ease), visibility .15s;
  box-shadow:0 20px 40px rgba(0,0,0,.45);
}
/* small triangle "pointer" linking the panel back to its trigger */
.dropdown::before{
  content:"";
  position:absolute;
  top:-5px;
  left:50%;
  transform:translateX(-50%) rotate(45deg);
  width:10px;
  height:10px;
  background:#141414;
  border-left:1px solid var(--black-line);
  border-top:1px solid var(--black-line);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translateX(-50%) translateY(4px);
}
.dropdown a{
  display:block;
  padding:.7rem .9rem;
  border-radius:8px;
  color:#e9e9e7;
  font-size:.9rem;
  font-weight:600;
}
.dropdown a:hover{ background:rgba(255,255,255,.06); color:#fff; }
.dropdown a span{
  display:block;
  font-size:.78rem;
  font-weight:400;
  color:var(--muted-on-dark);
  margin-top:.15rem;
}

.header-actions{
  display:flex;
  align-items:center;
  gap:.75rem;
  margin-left:auto;
}
.nav-toggle{
  background:transparent;
  border:1px solid var(--border-dark);
  color:#fff;
  width:42px;
  height:42px;
  border-radius:8px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
@media (min-width:960px){
  .nav-primary{ display:block; margin-left:auto; }
  .nav-toggle{ display:none; }
  .header-actions{ margin-left:0; }
}

/* Mobile nav panel — fixed below the sticky header so it overlays the page
   (instead of pushing content down) and stays put while the page behind it
   would otherwise scroll. --header-h is measured/kept in sync by main.js. */
.mobile-nav{
  display:none;
  position:fixed;
  left:0;
  right:0;
  top:0;
  bottom:0;
  z-index:90;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
  padding-top:var(--header-h, 72px);
  padding-bottom:env(safe-area-inset-bottom);
  background:var(--black);
  border-top:1px solid var(--black-line);
}
.mobile-nav.is-open{ display:block; }
.mobile-nav .container{ padding-top:1rem; padding-bottom:1.5rem; }
body.nav-open{ overflow:hidden; }
.mobile-nav details{
  border-bottom:1px solid var(--black-line);
}
.mobile-nav summary{
  list-style:none;
  padding:.9rem 0;
  color:#fff;
  font-weight:700;
  display:flex;
  align-items:center;
  justify-content:space-between;
  cursor:pointer;
}
.mobile-nav summary::-webkit-details-marker{ display:none; }
.mobile-nav summary svg{ color:#8a8a87; transition:transform .18s var(--ease), color .18s var(--ease); flex-shrink:0; }
.mobile-nav details[open] summary svg{ transform:rotate(180deg); color:var(--orange); }
.mobile-nav a{
  display:block;
  padding:.7rem 0;
  color:#e9e9e7;
  font-weight:600;
}
.mobile-nav .sub-list{ padding-left:1rem 0 .5rem; }
.mobile-nav .top-link{
  padding:.9rem 0;
  border-bottom:1px solid var(--black-line);
  color:#fff;
  font-weight:700;
}
.mobile-nav .mobile-cta{
  margin-top:1rem;
  display:flex;
  align-items:center;
  justify-content:center;
}
@media (min-width:960px){ .mobile-nav{ display:none !important; } }

/* =========================================================
   Hero (dark)
   ========================================================= */
.hero-dark{
  background:var(--black);
  color:#fff;
  position:relative;
  overflow:hidden;
}
.hero-network{
  position:absolute;
  inset:0;
  opacity:.9;
  pointer-events:none;
}
.hero-dark .container{
  position:relative;
  z-index:1;
}
.hero-grid{
  display:grid;
  gap:2.5rem;
  padding:3.5rem 0 3rem;
}
.hero-dark h1 .accent{ color:var(--orange); }
.hero-copy-row{
  display:grid;
  gap:1.75rem;
  margin-top:1.75rem;
  align-items:start;
}
.hero-list{
  display:flex;
  flex-direction:column;
  gap:.65rem;
}
.hero-list li{
  display:flex;
  gap:.65rem;
  color:#cfcfcc;
  font-size:1rem;
}
.hero-list li::before{
  content:"—";
  color:var(--orange);
  flex-shrink:0;
}
.hero-callout{
  border-left:2px solid var(--orange);
  padding-left:1.25rem;
  font-size:1.2rem;
  font-weight:600;
  color:#fff;
  max-width:26rem;
}
/* A single-line statement (e.g. "One shared belief") that needs to read as
   a deliberate headline fragment inside the hero, not trailing body copy. */
.hero-emphasis{
  font-size:clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  font-weight:800;
  letter-spacing:-0.01em;
  color:#fff;
  line-height:1.2;
}
.hero-emphasis .accent{ color:var(--orange); }
.hero-actions{ margin-top:2rem; display:flex; gap:1rem; flex-wrap:wrap; }
@media (min-width:800px){
  .hero-copy-row{ grid-template-columns:1.1fr .9fr; }
}

.subpage-hero .hero-grid{ padding:2.75rem 0 3rem; }
.category-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:.6rem;
  padding:1rem 0 0;
  border-top:1px solid var(--black-line);
  margin-top:0;
}
.category-tabs a{
  font-size:.82rem;
  font-weight:700;
  color:var(--muted-on-dark);
  padding:.7rem .2rem;
  border-bottom:2px solid transparent;
}
.category-tabs a[aria-current="page"], .category-tabs a:hover{
  color:#fff;
  border-color:var(--orange);
}

/* =========================================================
   Sections / bands
   ========================================================= */
.section{ padding:4.5rem 0; }
.section-sm{ padding:3rem 0; }
/* First section right after a hero/intro — the hero's own bottom padding
   already creates space, so stacking a full .section top-padding on top of
   it doubled up the gap before "Does this sound familiar?" etc. */
.section-tight-top{ padding-top:1.75rem; }
.band-cream{ background:var(--cream); }
.band-black{ background:var(--black); color:#fff; }
.band-black .muted{ color:var(--muted-on-dark); }

/* =========================================================
   Cards
   ========================================================= */
.grid{
  display:grid;
  gap:1.25rem;
}
.grid-3{ grid-template-columns:repeat(1,1fr); }
.grid-4{ grid-template-columns:repeat(1,1fr); }
.grid-6{ grid-template-columns:repeat(1,1fr); }
@media (min-width:640px){
  .grid-3{ grid-template-columns:repeat(2,1fr); }
  .grid-4{ grid-template-columns:repeat(2,1fr); }
  .grid-6{ grid-template-columns:repeat(2,1fr); }
}
@media (min-width:960px){
  .grid-3{ grid-template-columns:repeat(3,1fr); }
  .grid-4{ grid-template-columns:repeat(4,1fr); }
  .grid-6{ grid-template-columns:repeat(3,1fr); }
}

/* 5 items in a nominally 3-column grid (e.g. Why UTS "Experience that shapes
   our perspective", How We Work "What you can expect") left the trailing
   row's 2 items stuck to the left edge. Swap to flex so the short last row
   centers itself instead. */
.grid-center-last{ display:flex; flex-wrap:wrap; justify-content:center; }
.grid-center-last > *{ flex:1 1 100%; }
/* flex-grow:0 from here on — a lone trailing item must stay at card width
   and center via justify-content, not stretch to fill the row. */
@media (min-width:640px){ .grid-center-last > *{ flex:0 1 calc(50% - .625rem); } }
@media (min-width:960px){ .grid-center-last > *{ flex:0 1 calc(33.333% - .834rem); } }

.card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:1.5rem;
  box-shadow:var(--shadow-card);
}
.card h3{ margin-bottom:.6rem; }
.card p{ color:var(--muted); font-size:.95rem; }
.card p + p{ margin-top:.35rem; }
.card-icon{
  width:44px; height:44px;
  display:inline-flex; align-items:center; justify-content:center;
  color:var(--ink);
  margin-bottom:1rem;
}
.card-icon svg{ width:28px; height:28px; }

.card-link{
  display:block;
  height:100%;
  transition:transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.card-link:hover{
  transform:translateY(-3px);
  box-shadow:0 14px 30px rgba(20,20,20,.08);
  border-color:#d8d3c8;
}
.card-link .btn-arrow{ margin-top:1rem; }

.icon-tile{
  width:100%;
  border-radius:12px;
  background:var(--black);
  color:var(--orange);
  aspect-ratio:16/9;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:1.25rem;
}
.icon-tile svg{ width:40px; height:40px; }

/* Meta / info tiles (What we look at) */
.tile{
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:1.1rem 1.25rem;
  background:#fff;
}
.tile-icon{ color:var(--orange); margin-bottom:.6rem; }
.tile-icon svg{ width:24px; height:24px; }
.tile h3{ font-size:.98rem; font-weight:700; margin-bottom:.3rem; }
.tile p{ font-size:.87rem; color:var(--muted); margin:0; }

/* Stats bar */
.stats-bar{
  background:var(--cream);
  border-radius:var(--radius-lg);
  padding:2rem;
  display:grid;
  gap:1.75rem;
  grid-template-columns:1fr;
}
@media (max-width:799px){
  /* Each stat becomes its own boxed card with visible margin between —
     a shared 2x2 grid on a single cream background read as one undivided
     block on narrow screens. */
  .stats-bar{ background:none; padding:0; gap:0; margin-top:2rem; }
  .stat{
    background:var(--cream);
    border-radius:var(--radius);
    padding:1.5rem;
    margin-top:1rem;
  }
  .stat:first-child{ margin-top:0; }
}
@media (min-width:800px){
  .stats-bar{ grid-template-columns:repeat(4,1fr); margin-top:2.5rem; }
}
.stat b{
  display:block;
  font-size:2.25rem;
  font-weight:800;
  /* stats sit on --cream: --orange there is 2.81:1, below even the 3:1
     large-text minimum. --orange-a11y clears it (5.0:1). */
  color:var(--orange-a11y);
  letter-spacing:-0.02em;
}
.stat span{ color:var(--muted); font-size:.95rem; }

/* Numbered steps (Our approach / How we work) */
.steps{
  display:grid;
  gap:1.5rem;
  grid-template-columns:repeat(1,1fr);
}
@media (min-width:640px){ .steps{ grid-template-columns:repeat(2,1fr); } }
@media (min-width:960px){
  /* auto-fit rather than a fixed count so 4-step and 5-step "How we work"
     sections both lay out as one even row instead of an orphaned last item. */
  .steps{ grid-template-columns:repeat(auto-fit, minmax(200px,1fr)); }
}
.step-num{
  color:var(--orange);
  font-weight:800;
  font-size:1rem;
  margin-bottom:.75rem;
}
.step h3{ margin-bottom:.4rem; }
.step p{ color:var(--muted); font-size:.92rem; }
.steps-arrowed{
  display:flex;
  flex-wrap:wrap;
  align-items:stretch;
  gap:0;
  border:1px solid var(--border);
  border-radius:var(--radius);
  overflow:hidden;
}
.steps-arrowed .step-cell{
  flex:1 1 180px;
  padding:1.5rem;
  position:relative;
  border-bottom:1px solid var(--border);
}
.steps-arrowed .step-cell:not(:last-child){ border-right:1px solid var(--border); }
.steps-arrowed .step-icon{ color:var(--orange); margin-bottom:.75rem; display:flex; align-items:center; }
.steps-arrowed .step-icon svg{ width:22px; height:22px; }
@media (min-width:800px){
  /* At this width the row's flex-basis (180px) always fits every cell on one
     line, so the wrap-separator border reads as a stray underline — drop it. */
  .steps-arrowed .step-cell{ border-bottom:none; }
}

/* Two-panel (Our approach supporting panel) */
.split-panel{
  display:grid;
  gap:1.25rem;
  grid-template-columns:1fr;
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  overflow:hidden;
}
@media (min-width:800px){ .split-panel{ grid-template-columns:1.15fr 1fr; } }
.split-panel .steps{ padding:2rem; grid-template-columns:repeat(2,1fr); gap:1.75rem; }
.split-panel .panel-copy{
  background:var(--cream);
  padding:2rem;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:1rem;
}
.split-panel .panel-copy p{ color:var(--ink-soft); }

/* From/To lists */
.from-to{
  display:grid;
  gap:1.25rem;
  grid-template-columns:1fr;
}
@media (min-width:800px){ .from-to{ grid-template-columns:1fr 1fr; } }
.from-to .col{
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:1.5rem;
}
.from-to .col.to{ background:var(--cream); border-color:var(--cream); }
.from-to h3{
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.09em;
  color:var(--muted);
  margin-bottom:1rem;
}
.from-to .col.to h3{ color:var(--orange-a11y); }
.from-to ul{ display:flex; flex-direction:column; gap:.75rem; }
.from-to li{ display:flex; gap:.6rem; font-size:.95rem; }
.from-to .col:not(.to) li::before{ content:"–"; color:#b9b4a8; }
.from-to .col.to li::before{ content:"✓"; color:var(--orange-a11y); font-weight:700; }

/* CTA banner */
.cta-banner{
  background:var(--black);
  color:#fff;
  border-radius:var(--radius-lg);
  padding:2.5rem;
  display:flex;
  flex-direction:column;
  gap:1.5rem;
  align-items:flex-start;
  justify-content:space-between;
  position:relative;
  overflow:hidden;
}
@media (min-width:800px){
  .cta-banner{ flex-direction:row; align-items:center; padding:3rem; }
}
.cta-banner h2{ max-width:32rem; }
.cta-banner .cta-link{ color:var(--orange); font-weight:700; }
.cta-banner-actions{ flex-shrink:0; }

/* Callout box (colored quote-like block) */
.callout{
  display:grid;
  gap:1.5rem;
  grid-template-columns:1fr;
  align-items:center;
  background:var(--cream);
  border-radius:var(--radius-lg);
  padding:2rem;
}
@media (min-width:800px){ .callout{ grid-template-columns:auto 1fr; } }
.callout-badge{
  width:64px; height:64px;
  border-radius:50%;
  background:var(--black);
  color:var(--orange);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.callout-badge svg{ width:30px; height:30px; }
.callout h2, .callout h3{ font-size:1.3rem; margin-bottom:.4rem; }
.callout p{ color:var(--ink-soft); }

/* Arrow chain — standalone vertical list of belief statements, each linked
   to the next by a downward arrow (Home "Why organisations choose UTS"). */
.arrow-chain{
  max-width:42rem;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  align-items:center;
}
.arrow-chain-item{ text-align:center; padding:.25rem 0; }
.arrow-chain-item h3{ margin-bottom:.35rem; }
.arrow-chain-item p{ color:var(--muted); }
.arrow-chain-arrow{
  color:var(--orange-a11y);
  font-size:1.5rem;
  font-weight:700;
  line-height:1;
  padding:.75rem 0;
}

/* Bullet list w/ dash */
.dash-list{ display:flex; flex-direction:column; gap:.85rem; }
.dash-list li{ display:flex; gap:.65rem; font-size:1rem; }
.dash-list li::before{ content:"—"; color:var(--orange); flex-shrink:0; }
.dash-list.on-dark li{ color:#cfcfcc; }

/* Why-us grid (icon + heading + text), used on Home + Why UTS */
.why-grid{
  display:grid;
  gap:1.75rem 1.5rem;
  grid-template-columns:1fr;
}
@media (min-width:640px){ .why-grid{ grid-template-columns:1fr 1fr; } }
@media (min-width:960px){ .why-grid{ grid-template-columns:repeat(4,1fr); } }
.why-item .card-icon{ color:var(--ink); }
.why-item h3{ font-size:1.05rem; }
.why-item p{ color:var(--muted); font-size:.92rem; margin-top:.4rem; }

/* Team / value cards on About/Why */
.value-row{
  display:grid;
  gap:2rem;
  grid-template-columns:1fr;
}
@media (min-width:800px){ .value-row{ grid-template-columns:repeat(2,1fr); } }
.value-row .value{
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:1.5rem;
  height:100%;
}
.value-row .value h3{ margin-bottom:.5rem; }
.value-row .value p{ color:var(--muted); }

/* Numbered process list (How we think / long-form steps) */
.process-list{
  display:flex;
  flex-direction:column;
}
.process-item{
  display:grid;
  grid-template-columns:56px 1fr;
  gap:1.25rem;
  padding:1.75rem 0;
  border-bottom:1px solid var(--border);
}
.process-item:first-child{ padding-top:0; }
.process-item:last-child{ border-bottom:none; }
.process-item .num{
  font-size:1.5rem;
  font-weight:800;
  color:var(--orange);
}
.process-item h3{ margin-bottom:.5rem; }
.process-item p{ color:var(--muted); }
.process-item ul{ margin-top:.75rem; display:flex; flex-direction:column; gap:.5rem; }
.process-item li{ display:flex; gap:.5rem; color:var(--muted); font-size:.95rem; }
.process-item li::before{ content:"—"; color:var(--orange); flex-shrink:0; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer{
  background:var(--black);
  color:#cfcfcc;
  padding:3.5rem 0 2rem;
}
.footer-grid{
  display:grid;
  gap:2.5rem;
  grid-template-columns:1fr;
}
@media (min-width:760px){
  .footer-grid{ grid-template-columns:1.4fr 1fr 1fr 1fr; }
}
.footer-brand .logo{ margin-bottom:1rem; }
.footer-brand p{ font-size:.92rem; color:var(--muted-on-dark); max-width:24rem; }
.footer-social{
  display:inline-flex;
  margin-top:1.25rem;
  width:38px; height:38px;
  border:1px solid var(--border-dark);
  border-radius:8px;
  align-items:center;
  justify-content:center;
}
.footer-social svg{ width:18px; height:18px; }
.footer-col h4{
  color:#fff;
  font-size:.85rem;
  letter-spacing:.03em;
  margin-bottom:1rem;
}
.footer-col ul{ display:flex; flex-direction:column; gap:.65rem; }
.footer-col a{ font-size:.9rem; color:var(--muted-on-dark); }
.footer-col a:hover{ color:#fff; }
.footer-bottom{
  margin-top:1.5rem;
  padding-top:1.5rem;
  border-top:1px solid var(--black-line);
  font-size:.85rem;
  color:var(--muted-on-dark);
  display:flex;
  flex-wrap:wrap;
  gap:1rem;
  justify-content:space-between;
}

/* =========================================================
   Contact / forms
   ========================================================= */
.contact-layout{
  display:grid;
  gap:2.5rem;
  grid-template-columns:1fr;
}
@media (min-width:900px){ .contact-layout{ grid-template-columns:1fr 1.1fr; } }
.info-card{
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:1.75rem;
  margin-bottom:1.25rem;
}
.info-card h2{ font-size:1rem; margin-bottom:.5rem; }
.info-card p, .info-card a{ color:var(--muted); font-size:.95rem; }
.info-card a:hover{ color:var(--orange-a11y); }

.form-field{ margin-bottom:1.25rem; }
.form-field label{
  display:block;
  font-weight:700;
  font-size:.9rem;
  margin-bottom:.4rem;
}
.form-field input,
.form-field textarea,
.form-field select{
  width:100%;
  padding:.8rem .9rem;
  border:1px solid var(--border);
  border-radius:8px;
  font-size:.95rem;
  font-family:inherit;
  background:#fff;
  color:var(--ink);
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus{
  outline:none;
  border-color:var(--orange);
  box-shadow:0 0 0 3px var(--orange-tint);
}
.form-row{ display:grid; gap:1.25rem; grid-template-columns:1fr; }
@media (min-width:600px){ .form-row{ grid-template-columns:1fr 1fr; } }
.form-note{ font-size:.82rem; color:var(--muted); margin-top:.75rem; }

.form-banner{
  display:none;
  align-items:center;
  gap:.6rem;
  padding:1rem 1.1rem;
  border-radius:8px;
  font-weight:600;
  font-size:.92rem;
  margin-bottom:1.5rem;
}
.form-banner svg{ width:20px; height:20px; flex-shrink:0; }
#sent.form-banner{ background:#eaf6ec; color:#1e6b32; }
#error.form-banner{ background:#fdeceb; color:#a3281a; }
#toomany.form-banner{ background:#fdf3e3; color:#8a5a00; }
#sent:target, #error:target, #toomany:target{ display:flex; }
.honeypot-field{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }

/* =========================================================
   Legal pages
   ========================================================= */
.prose{ max-width:780px; }
.prose h2{ margin-top:2.5rem; margin-bottom:.9rem; font-size:1.35rem; }
.prose h2:first-child{ margin-top:0; }
.prose p{ margin-bottom:1rem; color:var(--ink-soft); }
.prose ul{ margin-bottom:1rem; padding-left:1.25rem; list-style:disc; }
.prose li{ margin-bottom:.5rem; color:var(--ink-soft); }
.prose a{ color:var(--orange-a11y); text-decoration:underline; }
.updated-note{ color:var(--muted); font-size:.9rem; margin-bottom:2rem; }

/* =========================================================
   404
   ========================================================= */
.error-page{
  min-height:60vh;
  display:flex;
  align-items:center;
}
.error-code{
  font-size:clamp(4rem,3rem+5vw,7rem);
  font-weight:800;
  color:var(--orange);
  line-height:1;
}

/* breadcrumb */
.breadcrumb{
  font-size:.85rem;
  color:var(--muted);
  padding:1.1rem 0;
  border-bottom:1px solid var(--border);
}
.breadcrumb a:hover{ color:var(--orange-a11y); }
.breadcrumb .sep{ margin:0 .4rem; color:#c9c4b8; }

/* misc */
.mt-0{ margin-top:0 !important; }
.text-center{ text-align:center; }
.center-head{ margin-left:auto; margin-right:auto; text-align:center; }

/* =========================================================
   Cookie consent — banner
   ========================================================= */
.cookie-banner{
  position:fixed;
  left:0; right:0; bottom:0;
  z-index:300;
  background:var(--black);
  color:#e9e9e7;
  border-top:1px solid var(--black-line);
  box-shadow:0 -10px 30px rgba(0,0,0,.35);
  transform:translateY(100%);
  transition:transform .3s var(--ease);
}
.cookie-banner.is-visible{ transform:translateY(0); }
.cookie-banner-inner{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:1.25rem 2rem;
  padding:1.25rem 24px;
  /* env() resolves to 0 on devices without a home-indicator/gesture-bar
     safe area, so this is a no-op there and only adds room where needed. */
  padding-bottom:calc(1.25rem + env(safe-area-inset-bottom));
  max-width:var(--container);
  margin:0 auto;
}
.cookie-banner-text{ flex:1 1 380px; font-size:.9rem; color:var(--muted-on-dark); }
.cookie-banner-text strong{ color:#fff; }
.cookie-banner-text a{ color:var(--orange); text-decoration:underline; }
.cookie-banner-actions{
  display:flex;
  flex-wrap:wrap;
  gap:.65rem;
  flex-shrink:0;
}
.cookie-banner-actions .btn{ padding:.7rem 1.15rem; font-size:.88rem; white-space:nowrap; }
@media (max-width:640px){
  /* Below this width three buttons wrap unevenly (2 then 1) and can push
     the primary "Accept all" action uncomfortably close to — or past —
     the fold on short viewports. Stack them full-width instead. */
  .cookie-banner-actions{ flex-direction:column; align-items:stretch; width:100%; }
  .cookie-banner-actions .btn{ width:100%; white-space:normal; }
}

/* Cookie consent — modal */
.cookie-modal-overlay{
  position:fixed;
  inset:0;
  z-index:310;
  background:rgba(10,10,10,.6);
  display:none;
  align-items:center;
  justify-content:center;
  padding:24px;
}
.cookie-modal-overlay.is-visible{ display:flex; }
/* Head and actions stay put; only the middle (intro + toggle rows) scrolls.
   On short/narrow viewports the whole dialog no longer fits without
   scrolling, but the "Reject/Accept/Save" buttons must never be the part
   that scrolls out of reach — so they live outside the scrollable area. */
.cookie-modal{
  background:#fff;
  color:var(--ink);
  width:100%;
  max-width:560px;
  max-height:calc(100vh - 48px);
  border-radius:var(--radius-lg);
  position:relative;
  display:flex;
  flex-direction:column;
}
.cookie-modal-head{ padding:2rem 2rem 0; flex-shrink:0; }
.cookie-modal-body{
  padding:0 2rem 1.25rem;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
  flex:1 1 auto;
  min-height:0;
}
.cookie-modal-close{
  position:absolute;
  top:1.25rem; right:1.25rem;
  width:36px; height:36px;
  border-radius:8px;
  border:1px solid var(--border);
  background:transparent;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  color:var(--ink);
}
.cookie-modal-close:hover{ background:var(--cream); }
.cookie-modal h2{ font-size:1.3rem; margin-bottom:.6rem; padding-right:2.5rem; }
.cookie-modal-intro{ color:var(--muted); font-size:.92rem; margin-bottom:1.5rem; }
.cookie-modal-intro a{ color:var(--orange-a11y); }

.consent-row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:1.25rem;
  padding:1.1rem 0;
  border-top:1px solid var(--border);
}
.consent-row:last-of-type{ border-bottom:1px solid var(--border); }
.consent-row-copy h3{ font-size:.98rem; margin-bottom:.3rem; }
.consent-row-copy p{ font-size:.85rem; color:var(--muted); margin:0; }
.consent-row-copy .locked-note{ font-size:.78rem; color:var(--orange-a11y); font-weight:700; text-transform:uppercase; letter-spacing:.04em; }

/* Toggle switch — built on a real checkbox for native semantics/keyboard support */
.switch{
  position:relative;
  display:inline-block;
  width:44px;
  height:26px;
  flex-shrink:0;
}
.switch input{
  position:absolute;
  opacity:0;
  width:100%;
  height:100%;
  margin:0;
  cursor:pointer;
}
.switch .track{
  position:absolute;
  inset:0;
  background:#d8d3c8;
  border-radius:999px;
  transition:background .15s var(--ease);
  pointer-events:none;
}
.switch .track::before{
  content:"";
  position:absolute;
  top:3px; left:3px;
  width:20px; height:20px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 1px 2px rgba(0,0,0,.25);
  transition:transform .15s var(--ease);
}
.switch input:checked + .track{ background:var(--orange); }
.switch input:checked + .track::before{ transform:translateX(18px); }
.switch input:disabled + .track{ background:#e7cdb8; opacity:.8; cursor:not-allowed; }
.switch input:focus-visible + .track{ outline:2px solid var(--orange); outline-offset:2px; }

.cookie-modal-actions{
  display:flex;
  flex-wrap:wrap;
  gap:.75rem;
  flex-shrink:0;
  padding:1.25rem 2rem calc(1.5rem + env(safe-area-inset-bottom));
  border-top:1px solid var(--border);
  background:#fff;
  border-radius:0 0 var(--radius-lg) var(--radius-lg);
}
.cookie-modal-actions .btn{ font-size:.9rem; }
@media (max-width:480px){
  .cookie-modal-actions{ flex-direction:column-reverse; align-items:stretch; }
  .cookie-modal-actions .btn{ width:100%; }
}

.cookie-settings-card{
  margin-top:1.25rem;
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:1.25rem 1.5rem;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  flex-wrap:wrap;
  background:var(--cream);
}
.cookie-settings-card p{ margin:0; font-size:.92rem; color:var(--ink-soft); }

/* =========================================================
   Media feature — photo + short editorial copy, used as a
   pacing break between content sections.
   ========================================================= */
.media-feature{
  display:grid;
  grid-template-columns:1fr;
  gap:1.75rem;
  align-items:center;
}
.media-feature-photo img{
  width:100%;
  height:auto;
  border-radius:var(--radius-lg);
  aspect-ratio:3/2;
  object-fit:cover;
  display:block;
}
.media-feature-copy .eyebrow{ margin-bottom:.75rem; }
.media-feature-copy p{ color:var(--muted); margin-top:.75rem; }
@media (min-width:800px){
  .media-feature{ grid-template-columns:1.15fr 1fr; gap:3rem; }
  .media-feature.flip .media-feature-photo{ order:2; }
  .media-feature.flip .media-feature-copy{ order:1; }
}
