/* Redwood Leadership
   ---------------------------------------------------------------------------
   Follows the WDI Consulting reference: a thin geometric display face at 67/54/30
   over a neutral text sans at 20/17/14/12, a deep indigo carrying the footer and
   the dark bands, a pale lavender for the alternating surface, and one acid
   chartreuse used exclusively on pill buttons. Radii measured at 8/6/2 with 50
   for the pills.

   The reference's identity device is a quatrefoil of four overlapping circles,
   used as watermark, icon container and image mask. Ours is a growth ring —
   offset concentric circles, as in a real cross-section — doing the same three
   jobs. Same structural role, different drawing.

   Colour tokens are declared per surface, and the chartreuse is checked before
   use: it is a fill for dark grounds only.
   --------------------------------------------------------------------------- */

/* ---- fonts ---- */
/* degular-display is licensed. Outfit is the closest openly-licensed geometric
   humanist — the same low-contrast circular bowls, and it holds at weight 300
   which is what the reference's "thin display" does at 67px. Hanken Grotesk
   sets the text: a warm neo-grotesque that stays legible at the 12px the
   reference uses more than any other size. */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 200 600; font-display: swap; src: url('/assets/fonts/outfit.woff2') format('woff2'); }
@font-face { font-family: 'Hanken'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/assets/fonts/hanken-grotesk.woff2') format('woff2'); }
@font-face { font-family: 'Outfit fallback'; src: local('Helvetica Neue'), local('Arial'); ascent-override: 94%; descent-override: 24%; line-gap-override: 0%; size-adjust: 98%; }
@font-face { font-family: 'Hanken fallback'; src: local('Helvetica Neue'), local('Arial'); ascent-override: 96%; descent-override: 26%; line-gap-override: 0%; size-adjust: 97%; }

/* ---- tokens ---- */
:root {
  --indigo: #2b2f6f;      /* 11.6:1 under white — the dark ground */
  --heather: #4b45c9;     /* 7.4:1 under white — links and the second fill */
  --lavender: #ecebfa;    /* the alternating light surface */
  --chartreuse: #d8f56a;  /* 1.3:1 on white — a fill for dark grounds only */
  --ink: #1c1c1e;
  --paper: #ffffff;

  --accent: var(--heather);
  --muted: #55566b;       /* 7.4:1 on white, 6.6:1 on lavender */
  --rule: #dcdaee;

  --display: 'Outfit', 'Outfit fallback', 'Helvetica Neue', Arial, sans-serif;
  --sans: 'Hanken', 'Hanken fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;

  --wrap: 1280px;
  --gutter: 20px;

  /* Measured: 67 / 54 / 30 / 20 / 17 / 14 / 12. */
  --t-display: clamp(2.6rem, 1.5rem + 4.4vw, 4.1875rem);
  --t-h1: clamp(2.2rem, 1.5rem + 2.6vw, 3.375rem);
  --t-h2: clamp(1.9rem, 1.45rem + 1.9vw, 3rem);
  --t-h3: clamp(1.3rem, 1.15rem + 0.7vw, 1.875rem);
  --t-lead: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
  --t-body: 1.0625rem;
  --t-sm: 0.875rem;
  --t-xs: 0.75rem;

  --radius: 8px;
  --radius-sm: 2px;
  --pill: 50px;
  --pad: clamp(58px, 5.8vw, 112px);
}

/* Every dark surface redeclares its tokens, kept separate from the background
   so a surface that paints itself indigo cannot inherit the light-surface set. */
.on-indigo, .site-footer, .menu, .hero {
  --accent: var(--chartreuse);
  --muted: #c3c2e4;       /* 8.1:1 on indigo */
  --rule: rgba(255, 255, 255, 0.24);
}
.on-indigo, .site-footer { background: var(--indigo); color: var(--paper); }
.on-lavender { background: var(--lavender); --rule: #cfcdea; }

/* ---- reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: var(--t-body); line-height: 1.62; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
/* Weight 300 for display — the reference never sets a bold heading, and the
   thinness at 67px is most of why it reads as considered rather than loud. */
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 300; line-height: 1.1; letter-spacing: -0.015em; text-wrap: balance; }
h3, h4 { font-weight: 400; line-height: 1.22; letter-spacing: -0.008em; }
p { margin: 0 0 1.05em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--indigo); color: #fff; padding: 12px 18px; border-radius: var(--pill); font-weight: 600; text-decoration: none; transition: top .15s ease; }
.skip:focus { top: 16px; }

/* ---- layout ---- */
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 900px) { .wrap { padding-inline: 45px; } }
/* The ring watermark is positioned past the right edge on purpose, so the
   section has to clip it — body { overflow-x: hidden } does not reliably
   contain a positioned child at every viewport width. */
.section { padding-block: var(--pad); position: relative; overflow: hidden; }
.section--tight { padding-block: clamp(38px, 3.8vw, 64px); }
.measure { max-width: 34em; }
.center { text-align: center; }

/* ---- type ---- */
.display { font-size: var(--t-display); }
.h1 { font-size: var(--t-h1); }
.h2 { font-size: var(--t-h2); }
.h3 { font-size: var(--t-h3); }
.lead { font-size: var(--t-lead); line-height: 1.55; max-width: 34em; }
.muted { color: var(--muted); }
.small { font-size: var(--t-sm); }
.kicker { display: block; margin: 0 0 clamp(14px, 1.4vw, 20px); font-size: var(--t-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.prose { max-width: 34em; }
.prose a:not(.btn), .link { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose a:not(.btn):hover, .link:hover { text-decoration-thickness: 2px; }
.head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 3vw, 56px); align-items: end; margin-bottom: clamp(30px, 3.4vw, 56px); }
.head > :last-child { color: var(--muted); max-width: 34em; }
.head p { margin: 0; }
@media (max-width: 840px) { .head { grid-template-columns: 1fr; align-items: start; } }

/* ---- buttons ---- */
/* The chartreuse pill is the reference's one loud element. It is 1.3:1 on
   white, so it only ever appears as a fill with indigo text on it. */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 26px; background: var(--chartreuse); color: var(--indigo); border: 1px solid var(--chartreuse); border-radius: var(--pill); font-weight: 600; font-size: var(--t-sm); text-decoration: none; cursor: pointer; transition: background-color .16s ease, color .16s ease, border-color .16s ease; }
.btn:hover { background: var(--indigo); color: var(--chartreuse); border-color: var(--indigo); }
.on-indigo .btn:hover, .site-footer .btn:hover, .hero .btn:hover { background: transparent; color: var(--chartreuse); border-color: var(--chartreuse); }
.btn--solid { background: var(--heather); color: #fff; border-color: var(--heather); }
.btn--solid:hover { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.btn--ghost { background: transparent; color: var(--indigo); border-color: #b9b6dc; }
.btn--ghost:hover { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.on-indigo .btn--ghost, .site-footer .btn--ghost, .hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.on-indigo .btn--ghost:hover, .hero .btn--ghost:hover { background: #fff; color: var(--indigo); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.center .btn-row { justify-content: center; }
.arrow-link { display: inline-flex; align-items: center; gap: 8px; font-size: var(--t-sm); font-weight: 600; text-decoration: none; color: var(--accent); padding-block: 6px; }
.arrow-link:hover { gap: 13px; text-decoration: underline; text-underline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .arrow-link:hover { gap: 8px; } }

/* ---- growth-ring motif ----
   The identity device. Offset concentric rings, drawn in CSS so it scales
   without a request, used as a section watermark and as an icon container. */
.rings { position: absolute; inset: auto; pointer-events: none; aspect-ratio: 1; border-radius: 50%; }
.rings::before, .rings::after { content: ''; position: absolute; border-radius: 50%; border: 1px solid currentColor; }
.rings { border: 1px solid currentColor; opacity: .16; }
.rings::before { inset: 14% 20% 20% 14%; }
.rings::after { inset: 32% 44% 44% 32%; }
.watermark { position: absolute; right: -6%; top: -12%; width: min(46vw, 560px); color: var(--indigo); z-index: 0; }
.on-indigo .watermark, .site-footer .watermark { color: #fff; }
.section > .wrap { position: relative; z-index: 1; }

/* Icon: a ring stack at small size, filled. */
.ring-icon { position: relative; width: 46px; height: 46px; flex: 0 0 auto; border-radius: 50%; background: var(--heather); }
.ring-icon::before, .ring-icon::after { content: ''; position: absolute; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.85); }
.ring-icon::before { inset: 22% 30% 30% 22%; }
.ring-icon::after { inset: 42% 54% 54% 42%; background: rgba(255,255,255,.9); border: 0; }
.on-indigo .ring-icon { background: var(--chartreuse); }
.on-indigo .ring-icon::before { border-color: rgba(43,47,111,.85); }
.on-indigo .ring-icon::after { background: rgba(43,47,111,.9); }

/* ---- header ---- */
.site-header { position: absolute; inset: 0 0 auto; z-index: 30; color: #fff; }
body:not(.has-hero) .site-header { position: static; background: var(--indigo); }
.site-header .wrap { display: flex; align-items: center; gap: 22px; min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 11px; margin-right: auto; text-decoration: none; font-family: var(--display); font-weight: 500; font-size: 1.3rem; letter-spacing: -0.01em; }
.brand__mark { width: 30px; height: 30px; flex: 0 0 auto; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav a:not(.btn) { font-size: var(--t-sm); font-weight: 500; text-decoration: none; padding-block: 6px; border-bottom: 2px solid transparent; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current='page']:not(.btn) { border-bottom-color: var(--chartreuse); }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; margin-left: auto; background: none; border: 1px solid currentColor; border-radius: var(--pill); cursor: pointer; }
.nav-toggle > span { display: grid; gap: 4px; width: 20px; }
.nav-toggle > span > span { height: 2px; background: currentColor; }

.menu { position: fixed; inset: 0; z-index: 60; background: var(--indigo); color: #fff; padding: 18px var(--gutter) 46px; overflow-y: auto; overscroll-behavior: contain; }
.menu[hidden] { display: none; }
.menu__head { display: flex; align-items: center; justify-content: space-between; min-height: 52px; margin-bottom: 26px; }
.menu__close { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; background: none; border: 1px solid currentColor; border-radius: var(--pill); cursor: pointer; }
.menu__nav a { display: block; padding: 14px 0; font-family: var(--display); font-weight: 300; font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.3rem); text-decoration: none; border-bottom: 1px solid var(--rule); }
.menu__nav a:hover { color: var(--chartreuse); }
body.menu-open { overflow: hidden; }

/* ---- hero ---- */
.hero { position: relative; display: flex; align-items: flex-end; min-height: min(82vh, 780px); padding: 150px 0 clamp(44px, 4.5vw, 76px); color: #fff; isolation: isolate; }
.hero--short { min-height: 420px; align-items: center; padding-top: 140px; }
.hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to right, rgba(20,22,54,.86) 0%, rgba(20,22,54,.6) 46%, rgba(20,22,54,.28) 100%),
    linear-gradient(to top, rgba(20,22,54,.8) 0%, rgba(20,22,54,.24) 52%);
}
.hero .lead { margin-top: 20px; }
.hero .btn-row { margin-top: 28px; }

/* ---- pillar cards ---- */
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 38px); }
@media (max-width: 1000px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }
.pillar { display: flex; flex-direction: column; gap: 14px; text-decoration: none; }
.pillar h3 { font-size: 1.25rem; }
.pillar p { margin: 0; font-size: var(--t-sm); color: var(--muted); }
.pillar__go { margin-top: auto; padding-top: 6px; font-size: var(--t-sm); font-weight: 600; color: var(--accent); }
a.pillar:hover h3 { text-decoration: underline; text-underline-offset: 4px; }

/* ---- ring mosaic ----
   The reference masks photography into its quatrefoil. Ours arranges circular
   crops on the arc of a growth ring: five discs of graded size on a shared
   centre line. Decorative by construction — every image is alt="". */
.mosaic { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(6, 1fr); aspect-ratio: 1; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.mosaic > *:nth-child(1) { grid-area: 1 / 2 / 4 / 5; }
.mosaic > *:nth-child(2) { grid-area: 3 / 4 / 6 / 7; }
.mosaic > *:nth-child(3) { grid-area: 4 / 1 / 7 / 4; }
.mosaic > *:nth-child(4) { grid-area: 1 / 5 / 3 / 7; }
.mosaic > *:nth-child(5) { grid-area: 3 / 1 / 5 / 3; }
.mosaic__ring { border-radius: 50%; border: 1px solid var(--rule); grid-area: 2 / 2 / 6 / 6; }

/* ---- quotes ---- */
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2vw, 28px); }
@media (max-width: 840px) { .quotes { grid-template-columns: 1fr; } }
.quote { display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 2.6vw, 40px); background: var(--paper); border-radius: var(--radius); }
.quote__mark { font-family: var(--display); font-weight: 500; font-size: 2rem; line-height: 1; color: var(--heather); }
.quote p { margin: 0; font-size: var(--t-sm); line-height: 1.7; }
.quote footer { margin-top: auto; }
.quote cite { display: block; font-style: normal; font-weight: 700; font-size: var(--t-sm); color: var(--heather); }
.quote span { font-size: var(--t-xs); color: var(--muted); }

/* ---- client wall ----
   The marks are single-colour SVG drawn in currentColor, so the wall holds one
   ink weight instead of becoming six competing brand palettes — which is what
   makes a logo strip look like a stock-photo collage rather than a reference
   list. Colour arrives on hover, on the one being looked at. */
.clients { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 26px 56px; }
.clients li { display: flex; color: var(--muted); transition: color .16s ease, opacity .16s ease; opacity: .74; }
.clients svg { height: 40px; width: auto; }
.clients li:hover { opacity: 1; color: var(--ink); }
@media (max-width: 620px) { .clients { gap: 22px 34px; } .clients svg { height: 32px; } }
@media (prefers-reduced-motion: reduce) { .clients li { transition: none; } }

/* ---- cards ---- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2vw, 28px); }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 940px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cards, .cards--2 { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: transform .16s ease; }
.card:hover { transform: translateY(-3px); }
.card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card__body { display: flex; flex-direction: column; gap: 9px; padding: 20px; flex: 1 1 auto; }
.card__date { font-size: var(--t-xs); color: var(--muted); }
.card h3 { font-size: 1.0625rem; font-weight: 500; }
.card p { margin: 0; font-size: var(--t-sm); color: var(--muted); }
.card__cta { margin-top: auto; padding-top: 12px; font-size: var(--t-sm); font-weight: 600; color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .card, .card:hover { transition: none; transform: none; } }

/* Episode rows: the reference's podcast column. */
.episodes { display: grid; gap: 12px; }
.episode { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 16px; align-items: center; padding: 16px; background: var(--paper); border-radius: var(--radius); text-decoration: none; }
.episode:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.episode__art { width: 58px; height: 58px; border-radius: var(--radius-sm); background: var(--indigo); position: relative; overflow: hidden; }
.episode__art::before, .episode__art::after { content: ''; position: absolute; border-radius: 50%; border: 1.4px solid var(--chartreuse); }
.episode__art::before { inset: 18% 26% 26% 18%; }
.episode__art::after { inset: 38% 50% 50% 38%; background: var(--chartreuse); border: 0; }
.episode h3 { font-size: 0.9375rem; font-weight: 500; }
.episode span { font-size: var(--t-xs); color: var(--muted); }

/* ---- split ---- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(26px, 3.6vw, 68px); align-items: start; }
.split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.split--mid { align-items: center; }
@media (max-width: 880px) { .split, .split--even { grid-template-columns: 1fr; } }
.figure img { width: 100%; border-radius: var(--radius); }

/* ---- rows ---- */
.rows > li { padding-block: clamp(22px, 2.4vw, 34px); border-top: 1px solid var(--rule); }
.rows > li:last-child { border-bottom: 1px solid var(--rule); }
.row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(16px, 2.4vw, 46px); align-items: start; }
@media (max-width: 760px) { .row { grid-template-columns: 1fr; } }

/* ---- figures ---- */
.figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); }
.figures > div { padding-top: 18px; border-top: 1px solid var(--rule); }
.figures dt { font-family: var(--display); font-weight: 300; font-size: clamp(2.2rem, 1.6rem + 2.2vw, 3.25rem); line-height: 1; }
.figures dd { margin: 10px 0 0; font-size: var(--t-sm); color: var(--muted); }
@media (max-width: 720px) { .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---- ticks ---- */
.ticks { display: grid; gap: 11px; }
.ticks > li { position: relative; padding-left: 26px; font-size: var(--t-sm); }
.ticks > li::before { content: ''; position: absolute; left: 0; top: .52em; width: 13px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.ticks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 38px; }
@media (max-width: 700px) { .ticks--2 { grid-template-columns: 1fr; } }

/* ---- forms ---- */
.form { display: grid; gap: 20px; max-width: 600px; }
.field { display: grid; gap: 6px; }
.field label { font-size: var(--t-sm); font-weight: 600; }
.field input, .field select, .field textarea { font: inherit; color: var(--ink); width: 100%; min-height: 50px; padding: 13px 14px; background: #fff; border: 1px solid #6a6880; border-radius: var(--radius-sm); }
.field textarea { min-height: 150px; resize: vertical; }
.field.invalid input, .field.invalid textarea { border-color: #9c1414; }
.field .error { margin: 0; font-size: var(--t-sm); color: #8a1212; }
.on-indigo .field .error { color: #ffc0bd; }
.field:not(.invalid) .error { display: none; }
.field--hp { position: absolute; left: -9999px; }
.form-note { font-size: var(--t-sm); color: var(--muted); max-width: 34em; }

/* ---- footer ---- */
.site-footer { position: relative; overflow: hidden; padding-top: clamp(54px, 5vw, 92px); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px 28px; padding-bottom: 46px; }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.footer-links h2 { font-family: var(--sans); font-size: var(--t-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; color: var(--chartreuse); }
.footer-links li { padding: 4px 0; font-size: var(--t-sm); }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--rule); border-radius: 50%; }
.socials a:hover { background: #fff; color: var(--indigo); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 26px; padding-block: 22px; border-top: 1px solid var(--rule); font-size: var(--t-xs); color: var(--muted); }
.footer-legal a { text-decoration: none; }
@media (max-width: 880px) { .footer-top { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .footer-links { grid-template-columns: 1fr; } }

/* ---- reveal ---- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } * { scroll-behavior: auto !important; } }

@media (max-width: 1040px) {
  .site-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .brand { margin-right: 0; }
  .hero { min-height: 600px; padding-top: 130px; }
  .watermark { display: none; }
}
