/* =========================================================
   NAVEX CAPITAL - Design System & Styles
   Direction: "Ink & Tide" - sector/competitor-driven (Pareto/EQT),
   independent of the old navy+gold logo. Sans-dominant, white-dominant,
   near-zero ornament, photography-forward.
   Palette: deep petrol-charcoal ink + muted teal accent + cool neutrals.
   Type: Hanken Grotesk (single family). Accent used sparingly.
   (Token names --navy/--gold kept for stability; values are the new palette.)
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* color - Ink & Tide (deep marine blue) */
  --navy:        #13293C;   /* primary ink (deep marine blue) */
  --navy-deep:   #0D1F2E;   /* deepest, CTA band */
  --navy-700:    #20303A;   /* text on light */
  --gold:        #1C7E96;   /* accent: marine teal-blue (replaces gold) */
  --gold-soft:   #4FA6BE;   /* accent hover / on-dark accent */
  --white:       #FFFFFF;
  --bg-light:    #EFF2F3;   /* section break, cool off-white */
  --line:        #E0E4E5;   /* hairline on light */
  --text:        #20303A;
  --muted:       #566570;
  --line-dark:   rgba(255,255,255,.15);   /* hairline on ink */
  --on-dark:     #E6ECEF;
  --on-dark-dim: #9DB0B8;

  /* type - single family, sans-dominant */
  --f-sans: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* scale */
  --h1: clamp(2.35rem, 5vw, 3.7rem);
  --h2: clamp(1.7rem, 3.1vw, 2.5rem);
  --h3: 1.22rem;
  --lead: clamp(1.06rem, 1.5vw, 1.25rem);
  --body: 1.0625rem;
  --small: .9rem;

  /* layout */
  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 8vw, 7.5rem);
  --radius: 4px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--f-sans);
  font-size: var(--body);
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--f-sans); font-weight: 600; line-height: 1.12; letter-spacing: -.018em; color: var(--navy); }
h1 { font-size: var(--h1); font-weight: 700; letter-spacing: -.025em; }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }
p { color: var(--text); }
.lead { font-size: var(--lead); line-height: 1.5; color: var(--muted); font-weight: 400; }
.muted { color: var(--muted); }

/* quiet section label (NOT a mono/wide-tracking eyebrow) */
.label {
  display: inline-block;
  font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
}
.section--dark .label, .hero .label { color: var(--gold-soft); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--light { background: var(--white); color: var(--text); }
.section--gray  { background: var(--bg-light); color: var(--text); }
.section--dark  { background: var(--navy); color: var(--on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--dark .lead { color: var(--on-dark-dim); }
.section--dark p { color: var(--on-dark); }
.section-head { max-width: 60ch; }
.section-head .lead { margin-top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .9rem 1.6rem;
  font-size: .96rem; font-weight: 600;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn--primary:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--ghost-dark { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost-dark:hover { border-color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }

.arrow-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .95rem; font-weight: 600; color: var(--navy);
  transition: gap .2s ease, color .2s ease;
}
.arrow-link::after { content: "→"; transition: transform .2s ease; }
.arrow-link:hover { color: var(--gold); }
.arrow-link:hover::after { transform: translateX(3px); }
.section--dark .arrow-link { color: var(--white); }
.section--dark .arrow-link:hover { color: var(--gold); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-block: 1.15rem;
  color: var(--white);
  transition: background .3s ease, padding .3s ease, box-shadow .3s ease, color .3s ease;
}
.site-header.is-scrolled {
  background: var(--white);
  color: var(--navy);
  padding-block: .7rem;
  box-shadow: 0 1px 0 var(--line), 0 6px 24px rgba(19,41,60,.06);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: inherit; }
.brand svg { width: 24px; height: 28px; flex: none; }
.brand .wordmark { font-size: 1.16rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: inherit; }
.brand .wordmark b { font-weight: 700; }
.brand .wordmark span { color: var(--gold); font-weight: 500; }
.brand svg path { stroke: var(--gold); stroke-width: 2.4; }
.brand svg circle { fill: var(--gold); }

.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a {
  font-size: .95rem; font-weight: 500; color: inherit; opacity: .82;
  position: relative; padding-block: .3rem; transition: opacity .2s ease;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--gold);
  transition: width .25s ease;
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after, .nav-links a.is-active::after { width: 100%; }
.nav-links a.is-active { opacity: 1; }

.nav-right { display: flex; align-items: center; gap: 1.1rem; }
.nav-cta { padding: .6rem 1.15rem; font-size: .9rem; }
.nav-cta-m { display: none; }   /* mobile-menu Talk-to-us CTA; shown only in the open hamburger menu */
.site-header:not(.is-scrolled) .nav-cta { background: transparent; border-color: rgba(255,255,255,.55); color: var(--white); }
.site-header:not(.is-scrolled) .nav-cta:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

.nav-toggle { display: none; background: none; border: 0; padding: .7rem .5rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px 0; transition: transform .3s ease, opacity .3s ease; }

/* ---------- Hero (cinematic photo montage - "video-like") ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: min(92vh, 860px);
  display: flex; align-items: center;
  color: var(--white);
  background: var(--navy);
}
.hero__media { position: absolute; inset: 0; z-index: 0; background: var(--navy-deep); }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(96deg, rgba(19,41,60,.95) 0%, rgba(19,41,60,.85) 38%, rgba(19,41,60,.55) 70%, rgba(19,41,60,.28) 100%),
    linear-gradient(0deg, rgba(19,41,60,.55) 0%, rgba(19,41,60,0) 40%);
}
.hero__inner { position: relative; z-index: 2; padding-top: 6rem; max-width: 40rem; }
.hero h1 { color: var(--white); margin-bottom: 1.4rem; text-shadow: 0 1px 24px rgba(13,27,40,.45); }
.hero__sub { font-size: var(--lead); color: rgba(255,255,255,.82); line-height: 1.5; max-width: 38ch; margin-bottom: 2.2rem; }
.hero .btn-row { margin-bottom: 2.6rem; }
.hero__note {
  margin-top: 1.6rem; padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,.16);
  font-size: .98rem; color: rgba(255,255,255,.72); max-width: 42ch;
}

/* ---------- Wedge (why navex) ---------- */
.wedge__statement {
  font-size: clamp(1.65rem, 3.2vw, 2.5rem); font-weight: 600; line-height: 1.18;
  letter-spacing: -.02em; color: var(--navy); max-width: 22ch; margin-bottom: 1.8rem;
}
.wedge__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
#why .wedge__grid { grid-template-columns: 1fr; gap: 1.8rem; max-width: 42rem; }
.wedge__body p { color: var(--muted); max-width: 48ch; font-size: 1.08rem; }
.wedge__points { display: grid; gap: 0; }
.wedge__point { display: flex; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.wedge__point:first-child { padding-top: 0; }
.wedge__point:last-child { border-bottom: 0; }
.wedge__point .ic { color: var(--gold); flex: none; margin-top: .15rem; }
.wedge__point h3 { font-size: 1.06rem; margin-bottom: .25rem; }
.wedge__point p { font-size: .96rem; color: var(--muted); }

/* ---------- Edge (stats) ---------- */
.edge__head { margin-bottom: 2.6rem; }
.stat-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  border-top: 2px solid var(--gold);
}
.stat { padding: 1.8rem 1.4rem 0 0; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; padding-right: 0; }
.stat__num { font-size: clamp(2.1rem, 3.2vw, 2.9rem); font-weight: 700; color: var(--navy); line-height: 1; letter-spacing: -.02em; }
.stat__num span { color: var(--gold); }
.stat__label { font-size: .88rem; color: var(--muted); margin-top: .7rem; line-height: 1.4; }
.edge__note { margin-top: 2rem; font-size: .86rem; color: var(--muted); }

/* ---------- Services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 3rem; }
.service-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.8rem; display: flex; flex-direction: column; gap: .75rem;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.service-card:hover { border-color: #D7D7D2; box-shadow: 0 14px 34px rgba(19,41,60,.07); transform: translateY(-3px); }
.service-card .ic { color: var(--gold); margin-bottom: .3rem; }
.service-card h3 { font-size: 1.12rem; }
.service-card p { font-size: .96rem; color: var(--muted); flex: 1; }
.service-card .arrow-link { margin-top: .5rem; font-size: .9rem; }
.service-card--cta { background: var(--navy); border-color: var(--navy); justify-content: center; }
.service-card--cta h3 { color: var(--white); }
.service-card--cta p { color: var(--on-dark-dim); }
.service-card--cta .arrow-link { color: var(--gold); }

/* ---------- Proof (the one navy accent section) ---------- */
.proof__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.engagement {
  border: 1px solid var(--line-dark); border-left: 3px solid var(--gold); border-radius: var(--radius);
  padding: 2rem 2.1rem; background: rgba(255,255,255,.04);
}
.engagement__tag { font-size: .82rem; font-weight: 600; letter-spacing: .04em; color: var(--gold); margin-bottom: 1rem; }
.engagement h3 { color: var(--white); font-size: 1.3rem; margin-bottom: .9rem; }
.engagement p { color: var(--on-dark); font-size: 1rem; margin-bottom: .8rem; }
.engagement .result { color: var(--white); font-weight: 500; }
.engagement .result b { color: var(--gold); font-weight: 700; }
.engagement__src { font-size: .82rem; color: var(--on-dark-dim); margin-top: 1.1rem; font-style: italic; }

/* ---------- Serve ---------- */
.serve-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 3rem; }
.serve-col { padding: 1.8rem 1.6rem 0 0; border-top: 2px solid var(--gold); margin-right: 1.6rem; }
.serve-col:last-child { margin-right: 0; }
.serve-col h3 { margin: 0 0 .5rem; font-size: 1.18rem; }
.serve-col p { font-size: .96rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy-deep); color: var(--white); text-align: left; padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.cta-band h2 { color: var(--white); max-width: 22ch; margin: 0; }
.cta-band .btn-row { justify-content: flex-start; flex: none; }
.cta-band .btn--primary { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.cta-band .btn--primary:hover { background: var(--gold-soft); border-color: var(--gold-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-dark-dim); padding-block: clamp(3.5rem, 6vw, 5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer-brand .brand { margin-bottom: 1.1rem; color: var(--white); }
.footer-brand p { font-size: .94rem; max-width: 32ch; color: var(--on-dark-dim); }
.footer-col h4 { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; }
.footer-col ul { display: grid; gap: .6rem; }
.footer-col a, .footer-col li { font-size: .94rem; color: var(--on-dark-dim); transition: color .2s ease; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line-dark);
  font-size: .84rem; color: var(--on-dark-dim);
}
.footer-bottom a:hover { color: var(--white); }

/* ---------- Full-bleed photo statement band ---------- */
.photoband { position: relative; overflow: hidden; color: var(--white); padding-block: clamp(5rem, 11vw, 9rem); }
.photoband__img { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; transform: scale(1.14); will-change: transform; }
.photoband::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(92deg, rgba(19,41,60,.90) 0%, rgba(19,41,60,.62) 45%, rgba(19,41,60,.35) 100%);
}
.photoband .container { position: relative; z-index: 2; }
.photoband .label { color: var(--gold-soft); }
.photoband h2 { color: var(--white); max-width: 24ch; }
.photoband p { color: rgba(255,255,255,.86); max-width: 56ch; margin-top: 1.1rem; font-size: var(--lead); }
.photoband .btn-row { margin-top: 1.8rem; }

/* ---------- Sectors strip (image cards) ---------- */
.sector-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 3rem; }
.sector-card {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 3 / 4; color: var(--white);
}
.sector-card__img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .6s ease; z-index: 0; }
.sector-card::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, rgba(19,41,60,.92) 0%, rgba(19,41,60,.30) 55%, rgba(19,41,60,.10) 100%);
}
.sector-card:hover .sector-card__img { transform: scale(1.07); }
.sector-card__label { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1.3rem 1.3rem 1.4rem; }
.sector-card__label h3 { color: var(--white); font-size: 1.06rem; margin-bottom: .25rem; }
.sector-card__label span { font-size: .85rem; color: rgba(255,255,255,.82); }

/* ---------- Inner page hero (static photo) ---------- */
.page-hero { position: relative; overflow: hidden; color: var(--white); display: flex; align-items: flex-end; min-height: min(62vh, 580px); padding-block: 9rem 3.4rem; background: var(--navy-deep); }
.page-hero__img { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(19,41,60,.92) 0%, rgba(19,41,60,.70) 48%, rgba(19,41,60,.46) 100%),
              linear-gradient(0deg, rgba(19,41,60,.62) 0%, rgba(19,41,60,0) 55%);
}
.page-hero__inner { position: relative; z-index: 2; max-width: 44rem; }
.page-hero .label { color: var(--gold-soft); }
.page-hero h1 { color: var(--white); margin-bottom: 1.1rem; }
.page-hero p { color: rgba(255,255,255,.84); font-size: var(--lead); max-width: 52ch; }

/* ---------- Service detail rows ---------- */
.svc-list { border-top: 1px solid var(--line); margin-top: 3rem; }
.svc { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(1.5rem, 4vw, 3.5rem); padding: 2.4rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.svc__head { display: flex; gap: .9rem; align-items: flex-start; }
.svc__head .ic { color: var(--gold); flex: none; margin-top: .2rem; }
.svc__head h3 { font-size: 1.3rem; }
.svc__body p { color: var(--muted); }
.svc__body .arrow-link { margin-top: 1.1rem; }

/* ---------- Delivery approach (numbered process = honest sequence) ---------- */
.approach-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; margin-top: 3rem; }
.approach-step { padding-top: 1.2rem; border-top: 2px solid var(--gold); }
.approach-step__n { font-size: .82rem; font-weight: 700; letter-spacing: .04em; color: var(--gold-soft); }
.approach-step h3 { color: var(--white); margin: .5rem 0; font-size: 1.1rem; }
.approach-step p { color: var(--on-dark); font-size: .95rem; }
.approach-step .src { display: block; margin-top: .6rem; font-size: .8rem; color: var(--on-dark-dim); font-style: italic; }

/* ---------- Stat band on dark (Case Studies) ---------- */
.section--dark .stat__num { color: var(--white); }
.section--dark .stat__num span { color: var(--gold-soft); }
.section--dark .stat { border-right-color: var(--line-dark); }
.section--dark .stat-grid { border-top-color: var(--gold); }
.section--dark .stat__label { color: var(--on-dark-dim); }
.section--dark .edge__note { color: var(--on-dark-dim); }

/* ---------- Case study cards (Situation / Role / Result) ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 3rem; }
.case-card { border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--radius); padding: 1.9rem 1.7rem; display: flex; flex-direction: column; gap: 1rem; background: var(--white); }
.case-card__tag { font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--gold); }
.case-card h3 { font-size: 1.14rem; line-height: 1.3; }
.case-card dl { display: grid; gap: .8rem; margin: 0; }
.case-card dt { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--navy); margin-bottom: .15rem; }
.case-card dd { margin: 0; color: var(--muted); font-size: .95rem; }
.case-card dd.result { color: var(--text); font-weight: 500; }
.case-card dd.result b { color: var(--gold); font-weight: 700; }
.case-card__src { margin-top: auto; font-size: .8rem; color: var(--muted); font-style: italic; }

/* ---------- Legal / prose ---------- */
.legal { max-width: 72ch; }
.legal h2 { font-size: 1.22rem; margin-top: 2.2rem; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--muted); margin-top: .7rem; }
.legal .updated { font-size: .9rem; color: var(--muted); margin-bottom: 1.5rem; }

/* ---------- Contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: clamp(2rem, 5vw, 4rem); margin-top: 3rem; align-items: start; }
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; gap: 1.1rem; grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-size: .85rem; font-weight: 600; color: var(--text); }
.field input, .field textarea { font: inherit; color: var(--text); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem .9rem; width: 100%; transition: border-color .2s ease, box-shadow .2s ease; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(28,126,150,.15); }
.field textarea { min-height: 150px; resize: vertical; }
.form .btn { justify-self: start; margin-top: .3rem; }
.form-status { min-height: 1.4em; margin: .4rem 0 0; font-size: .95rem; color: var(--muted); }
.form-status.is-success { color: var(--gold); font-weight: 600; }
.form-status.is-error { color: var(--navy); font-weight: 600; }
.section--dark .form-status { color: var(--on-dark-dim); }
.section--dark .form-status.is-success { color: var(--gold-soft); }
.section--dark .form-status.is-error { color: var(--white); }
.contact-aside .block { padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.contact-aside .block:first-child { padding-top: 0; }
.contact-aside .block:last-child { border-bottom: 0; }
.contact-aside h3 { font-size: .82rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--gold); margin-bottom: .5rem; }
.contact-aside p, .contact-aside a { color: var(--muted); display: block; line-height: 1.6; }
.contact-aside a:hover { color: var(--navy); }

/* ---------- Insight / post cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 3rem; }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease; }
.post-card:hover { box-shadow: 0 14px 34px rgba(19,41,60,.08); transform: translateY(-3px); border-color: #D5DAD9; }
.post-card__img { aspect-ratio: 16 / 10; background-size: cover; background-position: center; }
.post-card__body { padding: 1.5rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.post-card__meta { font-size: .76rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--gold); }
.post-card__body h3 { font-size: 1.12rem; line-height: 1.28; }
.post-card__body p { color: var(--muted); font-size: .95rem; flex: 1; }
.post-card__body .arrow-link { margin-top: .3rem; font-size: .9rem; }
.post-card__soon { margin-top: .3rem; font-size: .85rem; font-weight: 600; color: var(--muted); }

/* ---------- Core values (icon grid) ---------- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 2.2rem; margin-top: 3rem; }
.value .ic { color: var(--gold); margin-bottom: .7rem; }
.value h3 { font-size: 1.08rem; margin-bottom: .35rem; }
.value p { color: var(--muted); font-size: .95rem; max-width: 40ch; }

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; margin-top: 2.5rem; }
.founder__mark { width: 148px; height: 148px; border-radius: 50%; background: var(--bg-light); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; font-weight: 700; color: var(--navy); letter-spacing: .04em; flex: none; }
.founder__photo { width: 148px; height: 148px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); flex: none; }
.founder__body h3 { font-size: 1.4rem; margin-bottom: .15rem; }
.founder__role { color: var(--gold); font-weight: 600; font-size: .95rem; margin-bottom: .9rem; }
.founder__body p { color: var(--muted); max-width: 62ch; }

/* ---------- Industry rows (alternating image / text) ---------- */
.industry-list { margin-top: 3rem; display: grid; gap: clamp(2.5rem, 6vw, 5rem); }
.industry-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.industry-row__media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; }
.industry-row__media .ir-img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.industry-row--rev .industry-row__media { order: 2; }
.industry-row__body h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin-bottom: .7rem; }
.industry-row__body p { color: var(--muted); max-width: 50ch; }

/* ---------- Lifecycle strip ---------- */
.lifecycle { margin-top: 3rem; }
.lc-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; }
.lc-track::before { content: ""; position: absolute; top: 19px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, var(--gold), var(--gold-soft)); opacity: .45; z-index: 0; }
.lc-node { position: relative; z-index: 1; }
.lc-node__dot { width: 40px; height: 40px; border-radius: 50%; background: var(--white); border: 2px solid var(--gold); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .95rem; margin-bottom: 1rem; }
.lc-node h3 { font-size: 1.06rem; margin-bottom: .35rem; }
.lc-node p { color: var(--muted); font-size: .92rem; }

/* ---------- 3 points (difference / independence) ---------- */
.points-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 2.2rem; margin-top: 3rem; }
.point .ic { color: var(--gold); margin-bottom: .7rem; }
.point h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.point p { color: var(--muted); font-size: .96rem; }
.section--dark .point p { color: var(--on-dark-dim); }
/* short accent bar above icon cards (designed, not a plain AI card) */
.point, .value { position: relative; padding-top: 1.4rem; }
.point::before, .value::before { content: ""; position: absolute; top: 0; left: 0; width: 32px; height: 2px; background: var(--gold); }

/* ---------- Founder quote ---------- */
.founder-quote { max-width: 36ch; margin: 0 0 2.6rem; }
.founder-quote blockquote { margin: 0; font-size: clamp(1.4rem, 2.8vw, 2.1rem); font-weight: 600; line-height: 1.26; letter-spacing: -.02em; color: var(--navy); }
.founder-quote cite { display: block; margin-top: 1rem; font-size: .95rem; font-style: normal; color: var(--muted); }

/* ---------- Featured insight ---------- */
.post-card--featured { grid-column: 1 / -1; flex-direction: row; }
.post-card--featured .post-card__img { aspect-ratio: auto; flex: 1 1 52%; min-height: 300px; }
.post-card--featured .post-card__body { flex: 1 1 48%; justify-content: center; padding: 2.5rem; gap: .7rem; }
.post-card--featured h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }

/* ---------- Newsletter ---------- */
.newsletter { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.newsletter__form { display: flex; gap: .8rem; flex-wrap: wrap; }
.newsletter__form .form-status { flex-basis: 100%; margin: 0; }
.newsletter__form input { flex: 1; font: inherit; padding: .85rem .95rem; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.07); color: var(--white); }
.newsletter__form input::placeholder { color: var(--on-dark-dim); }
.newsletter__form input:focus { outline: none; border-color: var(--gold-soft); box-shadow: 0 0 0 3px rgba(79,166,190,.15); }
.newsletter__form .btn { background: var(--gold); color: var(--white); border-color: var(--gold); }
.newsletter__form .btn:hover { background: var(--gold-soft); border-color: var(--gold-soft); }

/* ---------- Asymmetric section head (editorial variation) ---------- */
.head-split { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: end; max-width: none; }
.head-split .label { margin-bottom: .8rem; }
.head-split h2 { margin: 0; }
.head-split__aside { color: var(--muted); font-size: var(--lead); line-height: 1.55; }
.section--dark .head-split__aside { color: var(--on-dark-dim); }

/* ---------- CTA band: faint trident watermark (brand touch) ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band > .container { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; flex-wrap: wrap; }
.cta-band::before {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 300px; height: 360px; z-index: 0; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 48' fill='none' stroke='%234FA6BE' stroke-opacity='0.10' stroke-width='1.2' stroke-linecap='round'%3E%3Cpath d='M20 6v38'/%3E%3Cpath d='M8 14c0 7 5 11 12 11s12-4 12-11'/%3E%3Cpath d='M8 14V7M32 14V7M20 6V2'/%3E%3Cpath d='M14 38h12'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 90;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: var(--white); border: 1px solid rgba(255,255,255,.16);
  display: grid; place-items: center; cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, background .2s ease;
  box-shadow: 0 10px 26px rgba(19,41,60,.28);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold); }

/* ---------- 404 ---------- */
.error-page { min-height: 68vh; display: grid; place-items: center; text-align: center; }
.error-page .code { font-size: clamp(4rem, 12vw, 8rem); font-weight: 800; color: var(--navy); line-height: 1; letter-spacing: -.03em; }
.error-page h1 { margin-top: .4rem; }
.error-page p { color: var(--muted); margin: 1rem 0 1.8rem; max-width: 48ch; }

/* ---------- Founding team list ---------- */
.team-row { margin-top: 2.6rem; border-top: 1px solid var(--line); padding-top: 2rem; }
.team-row__label { font-size: .82rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; }
.team-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 2.2rem; }
.team-list li { display: flex; gap: .9rem; align-items: center; }
.team-mono { width: 50px; height: 50px; border-radius: 50%; background: var(--bg-light); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: 700; color: var(--navy); letter-spacing: .03em; flex: none; }
.team-member__body { display: flex; flex-direction: column; gap: .12rem; }
.team-member__body strong { font-size: 1.05rem; color: var(--navy); font-weight: 700; }
.team-member__body span { color: var(--muted); font-size: .95rem; }
.team-member__loc { font-size: .86rem; opacity: .9; }

/* ---------- Them vs. us contrast ---------- */
.contrast { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 2.2rem; max-width: 48rem; }
.contrast__col { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.5rem 1.6rem; }
.contrast__col--us { border-left: 3px solid var(--gold); }
.contrast__col h3 { font-size: 1.05rem; margin-bottom: .9rem; }
.contrast__col--them h3 { color: var(--muted); }
.contrast__list { display: grid; gap: .55rem; }
.contrast__list li { position: relative; padding-left: 1.1rem; font-size: .95rem; color: var(--muted); }
.contrast__list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 5px; height: 5px; border-radius: 50%; background: var(--line); }
.contrast__col--us .contrast__list li { color: var(--text); }
.contrast__col--us .contrast__list li::before { background: var(--gold); }
@media (max-width: 600px) { .contrast { grid-template-columns: 1fr; } }

/* anchor target offset under the fixed header */
#how { scroll-margin-top: 5.5rem; }

/* ---------- Reveal animation (progressive enhancement) ---------- */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.21,.6,.35,1), transform .7s cubic-bezier(.21,.6,.35,1); }
html.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Focus ---------- */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .nav-links, .nav-right .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .site-header.nav-open { background: var(--white); color: var(--navy); }
  .nav-open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start; gap: .4rem;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); padding: 1.5rem var(--gutter) 2rem; border-top: 1px solid var(--line);
    box-shadow: 0 10px 24px rgba(19,41,60,.08);
  }
  .nav-open .nav-toggle span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2){ opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }
  /* mobile menu: bigger tap targets + reachable Talk-to-us CTA */
  .nav-open .nav-links a:not(.nav-cta-m) { display: block; width: 100%; padding-block: .8rem; opacity: 1; }
  .nav-open .nav-links .nav-cta-m { display: inline-flex; margin-top: .6rem; opacity: 1; }

  .wedge__grid, .proof__grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: 1px solid var(--line); padding: 1.4rem 1.4rem 1.4rem 0; }
  .stat:nth-child(even){ border-right: 0; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .sector-grid { grid-template-columns: 1fr 1fr; }
  .serve-grid { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr; gap: 1rem; }
  .approach-grid { grid-template-columns: 1fr 1fr; }
  .industry-row { grid-template-columns: 1fr; gap: 1.2rem; }
  .industry-row .industry-row__media { order: -1; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .founder { grid-template-columns: 1fr; text-align: left; }
  .post-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr 1fr; }
  .head-split { grid-template-columns: 1fr; align-items: start; gap: 1rem; }
  .lc-track { grid-template-columns: 1fr 1fr; }
  .lc-track::before { display: none; }
  .points-3 { grid-template-columns: 1fr 1fr; }
  .post-card--featured { flex-direction: column; }
  .post-card--featured .post-card__img { flex: auto; aspect-ratio: 16 / 10; min-height: 0; }
  .newsletter { grid-template-columns: 1fr; }
  .serve-col { border-top: 0; border-bottom: 1px solid var(--line); margin-right: 0; padding: 1.4rem 0; }
  .serve-col:first-child { border-top: 2px solid var(--gold); }
  .serve-col:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 560px) {
  .hero { min-height: 88vh; }
  .service-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .team-list { grid-template-columns: 1fr; }
  .lc-track { grid-template-columns: 1fr; }
  .points-3 { grid-template-columns: 1fr; }
  .newsletter__form { flex-direction: column; }
}

@media (max-width: 480px) {
  /* primary CTA rows: full-width, cleanly stacked (no cramped side-by-side) */
  .hero .btn-row .btn, .cta-band .btn-row .btn { width: 100%; justify-content: center; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal, html.js .reveal { opacity: 1; transform: none; }
  /* no video motion - show the static poster instead */
  .hero__video { display: none !important; }
  .hero__media { background: url('../assets/hero-loop-poster.jpg') center/cover !important; }
}

/* ---------- Cookie banner theming (self-hosted vanilla-cookieconsent v3) ----------
   Branded via the library's own CSS variables; site tokens only. Remove with the consent layer. */
#cc-main {
  --cc-font-family: var(--f-sans);
  --cc-bg: var(--white);
  --cc-primary-color: var(--navy);
  --cc-secondary-color: var(--muted);
  --cc-link-color: var(--gold);
  --cc-modal-border-radius: 6px;
  --cc-btn-border-radius: 4px;
  --cc-btn-primary-bg: var(--navy);
  --cc-btn-primary-border-color: var(--navy);
  --cc-btn-primary-color: var(--white);
  --cc-btn-primary-hover-bg: var(--navy-deep);
  --cc-btn-primary-hover-border-color: var(--navy-deep);
  --cc-btn-secondary-bg: var(--white);
  --cc-btn-secondary-color: var(--navy);
  --cc-btn-secondary-border-color: var(--line);
  --cc-btn-secondary-hover-bg: var(--bg-light);
  --cc-btn-secondary-hover-border-color: var(--navy);
  --cc-btn-secondary-hover-color: var(--navy);
  --cc-toggle-on-bg: var(--gold);
  --cc-toggle-off-bg: var(--muted);
  --cc-toggle-readonly-bg: var(--line);
  --cc-separator-border-color: var(--line);
  --cc-footer-bg: var(--bg-light);
  --cc-footer-border-color: var(--line);
  --cc-footer-color: var(--muted);
  --cc-cookie-category-block-bg: var(--bg-light);
  --cc-cookie-category-block-border: var(--line);
  --cc-cookie-category-block-hover-bg: var(--bg-light);
  --cc-cookie-category-block-hover-border: var(--line);
  --cc-overlay-bg: rgba(19, 41, 60, 0.55);
}
