/* ==========================================================================
   Invyas Wealth — Design System
   Brand: black / vibrant orange (#FD5215) / white
   Author note: orange is used strictly as an accent.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --orange: #fd5215;          /* Official brand orange — accents, graphics, rules */
  --orange-cta: #d8400c;      /* Orange surfaces carrying white text (AA contrast) */
  --orange-cta-hover: #bc370a;
  --orange-text: #c4400f;     /* Small orange text on light backgrounds (AA contrast) */
  --orange-wash: rgba(253, 82, 21, 0.08);

  /* Neutrals */
  --ink: #0a0a0a;
  --ink-2: #1c1c1c;
  --ink-3: #3d3d3d;
  --muted: #6d6a67;
  --muted-2: #757170;
  --paper: #ffffff;
  --paper-2: #faf8f6;         /* warm off-white */
  --paper-3: #f3efeb;         /* light warm grey */
  --line: rgba(10, 10, 10, 0.12);
  --line-soft: rgba(10, 10, 10, 0.07);
  --line-dark: rgba(255, 255, 255, 0.14);
  --line-dark-soft: rgba(255, 255, 255, 0.08);

  /* Type */
  --font-display: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Rhythm */
  --container: 1240px;
  --container-narrow: 880px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(72px, 9vw, 132px);
  --header-h: 88px;
  --header-h-compact: 68px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.55s;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  /* Root scale. Everything below is sized in rem, so this one value trims the
     whole page proportionally while still honouring the reader's own default. */
  font-size: 89%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: -0.002em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }

/* Keep the hidden attribute authoritative over component display rules */
[hidden] { display: none !important; }

h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease), opacity 0.25s var(--ease);
}

button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 1px;
}

::selection { background: var(--orange); color: #fff; }

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  font-size: 14px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

.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;
}

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
.display-1,
.display-2,
.display-3,
.display-4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}

.display-1 {
  font-size: clamp(2.15rem, 4.6vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.026em;
}

.display-2 {
  font-size: clamp(1.95rem, 3.9vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.024em;
}

.display-3 {
  font-size: clamp(1.52rem, 2.55vw, 2.1rem);
  line-height: 1.18;
  letter-spacing: -0.022em;
}

.display-4 {
  font-size: clamp(1.18rem, 1.72vw, 1.42rem);
  line-height: 1.3;
  letter-spacing: -0.016em;
}

.serif-italic { font-style: italic; }

.lead {
  font-size: clamp(1.02rem, 1.28vw, 1.16rem);
  line-height: 1.62;
  color: var(--ink-3);
  letter-spacing: -0.008em;
  text-wrap: pretty;
}

.body-copy {
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.75;
  text-wrap: pretty;
}

.body-copy + .body-copy { margin-top: 1.1em; }

.small {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
}

/* Held near its previous pixel size — uppercase, letter-spaced labels stop
   being comfortable to read if they shrink with everything else. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.77rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--orange);
  flex: none;
}

.eyebrow--plain::before { display: none; }
.eyebrow--muted { color: var(--muted); }
.eyebrow--light { color: rgba(255, 255, 255, 0.72); }

.accent { color: var(--orange); }
.accent-text { color: var(--orange-text); }

.rule-accent {
  width: 56px;
  height: 2px;
  background: var(--orange);
  border: 0;
  margin: 0;
}

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(56px, 6vw, 88px); }
.section--paper-2 { background: var(--paper-2); }
.section--paper-3 { background: var(--paper-3); }
.section--dark { background: var(--ink); color: #fff; }
.section--hairline-top { border-top: 1px solid var(--line); }

/* Dark contexts: black sections, the closing CTA and dark page heroes all
   invert their type colours. Written out in full for maximum compatibility. */
.section--dark .display-1,
.section--dark .display-2,
.section--dark .display-3,
.section--dark .display-4,
.cta-close .display-1,
.cta-close .display-2,
.cta-close .display-3,
.cta-close .display-4,
.page-hero--dark .display-1,
.page-hero--dark .display-2,
.page-hero--dark .display-3,
.page-hero--dark .display-4 { color: #fff; }

.section--dark .lead,
.cta-close .lead,
.page-hero--dark .lead { color: rgba(255, 255, 255, 0.78); }

.section--dark .body-copy,
.cta-close .body-copy,
.page-hero--dark .body-copy { color: rgba(255, 255, 255, 0.7); }

.section--dark .small,
.cta-close .small,
.page-hero--dark .small { color: rgba(255, 255, 255, 0.66); }

.section--dark .eyebrow,
.cta-close .eyebrow,
.page-hero--dark .eyebrow { color: rgba(255, 255, 255, 0.82); }

.section--dark .pill,
.cta-close .pill {
  background: transparent;
  border-color: var(--line-dark);
  color: rgba(255, 255, 255, 0.8);
}

.stack-sm > * + * { margin-top: 12px; }
.stack > * + * { margin-top: 20px; }
.stack-lg > * + * { margin-top: 32px; }

.section-head {
  display: grid;
  gap: 22px;
  max-width: 780px;
}

.section-head--wide { max-width: 940px; }

.section-head--split {
  max-width: none;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
}

.grid {
  display: grid;
  gap: clamp(20px, 2.4vw, 32px);
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* --------------------------------------------------------------------------
   5. Buttons & links
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 26px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  cursor: pointer;
  transition: background-color 0.28s var(--ease), color 0.28s var(--ease),
    border-color 0.28s var(--ease), transform 0.28s var(--ease);
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { --btn-bg: var(--orange-cta); }
.btn--primary:hover { --btn-bg: var(--orange-cta-hover); }

.btn--dark { --btn-bg: var(--ink); }
.btn--dark:hover { --btn-bg: var(--orange-cta); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover {
  border-color: var(--ink);
  --btn-bg: transparent;
}

.btn--ghost-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: var(--line-dark);
}
.btn--ghost-light:hover { border-color: rgba(255, 255, 255, 0.55); }

.btn--sm {
  min-height: 44px;
  padding: 11px 20px;
  font-size: 0.875rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* Text link with animated rule */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
  padding-bottom: 4px;
  background-image: linear-gradient(var(--orange), var(--orange));
  background-repeat: no-repeat;
  background-size: 0% 1px;
  background-position: 0 100%;
  transition: background-size 0.4s var(--ease), color 0.28s var(--ease);
}

.link-arrow .arrow { transition: transform 0.32s var(--ease); }
.link-arrow:hover { color: var(--orange-text); background-size: 100% 1px; }
.link-arrow:hover .arrow { transform: translateX(5px); }

.link-arrow--light { color: #fff; }
.link-arrow--light:hover { color: var(--orange); }

.arrow {
  display: inline-block;
  width: 18px;
  height: 8px;
  flex: none;
}

.link-underline {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-size: 100% 1px;
  background-position: 0 100%;
  padding-bottom: 2px;
}
.link-underline:hover { color: var(--orange-text); }

/* --------------------------------------------------------------------------
   6. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line-soft);
  transition: border-color 0.3s var(--ease);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  min-height: var(--header-h);
  transition: min-height 0.32s var(--ease);
}

.site-header.is-scrolled .header-inner { min-height: var(--header-h-compact); }
.site-header.is-scrolled { border-bottom-color: var(--line); }

/* Brand lockup — official artwork, unmodified */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex: none;
  padding: 4px 0;
}

/* The supplied artwork carries a very slightly off-white background. On a pure
   white header that reads as a faint box, so the white point is lifted just
   enough to clip it to #fff. The logo's own colours are unchanged to the eye. */
.brand-mark,
.brand-wordmark {
  width: auto;
  filter: brightness(1.05);
  transition: height 0.32s var(--ease);
}

.brand-mark { height: 42px; }
.brand-wordmark { height: 39px; }

.site-header.is-scrolled .brand-mark { height: 36px; }
.site-header.is-scrolled .brand-wordmark { height: 34px; }

/* Primary nav */
.nav { margin-left: auto; }

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.5vw, 24px);
}

.nav-link,
.nav-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 0;
  background: none;
  border: 0;
  font-size: 0.99rem;
  font-weight: 500;
  letter-spacing: -0.004em;
  color: var(--ink-2);
  cursor: pointer;
  white-space: nowrap;
}

.nav-link::after,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 1px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav-link:hover,
.nav-toggle:hover { color: var(--ink); }
.nav-link:hover::after,
.nav-toggle:hover::after,
.has-dropdown:hover .nav-toggle::after { transform: scaleX(1); }

.nav-link.is-current { color: var(--ink); font-weight: 600; }
.nav-link.is-current::after,
.nav-toggle.is-current::after { transform: scaleX(1); }
.nav-toggle.is-current { color: var(--ink); font-weight: 600; }

.nav-caret {
  width: 9px;
  height: 6px;
  flex: none;
  transition: transform 0.3s var(--ease);
}

.has-dropdown { position: relative; }
.has-dropdown:hover .nav-caret,
.nav-toggle[aria-expanded="true"] .nav-caret { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translate(-50%, 8px);
  width: 336px;
  padding: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  box-shadow: 0 18px 44px -28px rgba(10, 10, 10, 0.28);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.26s var(--ease), transform 0.32s var(--ease), visibility 0.26s;
}

.dropdown::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.nav-toggle[aria-expanded="true"] + .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.dropdown-link {
  display: block;
  padding: 13px 14px;
  border-radius: 2px;
  border-left: 2px solid transparent;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.dropdown-link strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.008em;
}

.dropdown-link span {
  display: block;
  margin-top: 3px;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--muted);
}

.dropdown-link:hover {
  background: var(--paper-2);
  border-left-color: var(--orange);
}

.header-cta { flex: none; }

/* Hamburger */
.hamburger {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
}

.hamburger span {
  position: absolute;
  left: 13px;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.hamburger span:nth-child(1) { top: 17px; }
.hamburger span:nth-child(2) { top: 23px; }
.hamburger span:nth-child(3) { top: 29px; }

.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99; /* sits under the sticky header, which stays visible on top */
  background: var(--paper);
  overflow-y: auto;
  padding: calc(var(--header-h) + 24px) var(--gutter) 48px;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.35s var(--ease);
}

.mobile-nav.is-open {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.mobile-nav-list { border-top: 1px solid var(--line-soft); }

.mobile-nav-list > li { border-bottom: 1px solid var(--line-soft); }

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 18px 2px;
  background: none;
  border: 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.32rem;
  letter-spacing: -0.02em;
  cursor: pointer;
}

.mobile-nav-link.is-current { color: var(--orange-text); }

.mobile-sub {
  display: grid;
  gap: 2px;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s var(--ease);
}

.mobile-sub[data-open="true"] { max-height: 260px; }

.mobile-sub a {
  padding: 12px 0 12px 18px;
  border-left: 1px solid var(--line);
  font-size: 1rem;
  color: var(--ink-3);
}

.mobile-sub a:last-child { margin-bottom: 16px; }
.mobile-sub a:hover { color: var(--orange-text); border-left-color: var(--orange); }

.mobile-nav .btn { width: 100%; margin-top: 30px; }

.mobile-contact {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  display: grid;
  gap: 6px;
  font-size: 0.9375rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(56px, 7vw, 104px) clamp(56px, 7vw, 96px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(10, 10, 10, 0.038) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 10, 10, 0.038) 1px, transparent 1px);
  background-size: 164px 164px;
  mask-image: radial-gradient(110% 80% at 82% 8%, #000 0%, transparent 68%);
  -webkit-mask-image: radial-gradient(110% 80% at 82% 8%, #000 0%, transparent 68%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
}

.hero-copy { max-width: 620px; }

.hero h1 { margin-top: 26px; }

.hero h1 .dot { color: var(--orange); }

.hero-sub {
  margin-top: 26px;
  font-family: var(--font-display);
  font-size: clamp(1.06rem, 1.62vw, 1.38rem);
  line-height: 1.42;
  letter-spacing: -0.016em;
  color: var(--ink-2);
  max-width: 30ch;
}

.hero-copy .body-copy {
  margin-top: 22px;
  max-width: 54ch;
}

.hero .btn-row { margin-top: 36px; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.hero-meta li::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--orange);
  flex: none;
}

/* Hero visual panel */
.hero-visual {
  position: relative;
  align-self: stretch;
  min-height: 460px;
  padding: 30px 30px 104px;
  display: grid;
  place-items: center;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  overflow: hidden;
}

.hero-visual__arcs {
  position: absolute;
  right: -8%;
  bottom: -12%;
  width: 74%;
  opacity: 0.9;
  pointer-events: none;
}

/* The panel behind is white, so the logo and caption sit straight on it —
   no card inside a card. */
.hero-visual__plate {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 20px;
  padding: clamp(20px, 2.6vw, 34px) clamp(24px, 3.4vw, 44px);
  text-align: center;
}

.hero-visual__logo {
  width: clamp(196px, 20vw, 252px);
  filter: brightness(1.05); /* clips the artwork's off-white ground to #fff */
}

.hero-visual__caption {
  max-width: 28ch;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--ink-3);
  text-wrap: balance;
}

.hero-visual__stat {
  position: absolute;
  z-index: 1;
  left: 0;
  bottom: 0;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 12px;
  padding: 18px clamp(18px, 2.4vw, 28px);
  border-top: 1px solid var(--line-soft);
  background: var(--paper);
}

.hero-visual__stat div { display: grid; gap: 2px; }

.hero-visual__stat dt {
  font-family: var(--font-display);
  font-size: 1.12rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero-visual__stat dd {
  margin: 0;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   8. Editorial statement block
   -------------------------------------------------------------------------- */
.statement {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
  gap: clamp(30px, 5vw, 84px);
  align-items: start;
}

.statement h2 { max-width: 22ch; }

.statement-aside {
  display: grid;
  gap: 22px;
  padding-top: 8px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.pill {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-3);
  background: var(--paper);
}

/* --------------------------------------------------------------------------
   9. Solution cards
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(26px, 2.6vw, 38px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.card:hover {
  border-color: rgba(10, 10, 10, 0.26);
  transform: translateY(-3px);
}

.card:hover::after { transform: scaleX(1); }

.card-index {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  color: var(--muted-2);
}

.card h3 { margin-top: 2px; }

.card .body-copy { flex: 1; font-size: 1rem; }

.card .link-arrow { margin-top: 6px; align-self: flex-start; }

.card-glyph {
  width: 48px;
  height: 48px;
  margin-bottom: 4px;
}

/* --------------------------------------------------------------------------
   10. Approach / principles
   -------------------------------------------------------------------------- */
.approach {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(32px, 5vw, 76px);
}

/* Hairline grids are built from cell borders rather than a coloured gap, so a
   partially filled last row never shows an empty tinted cell. */
.principle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.principle {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(24px, 2.6vw, 36px);
  display: grid;
  gap: 10px;
  align-content: start;
  transition: background-color 0.35s var(--ease);
}

.section--paper-2 .principle { background: var(--paper-2); }
.section--paper-2 .principle:hover { background: var(--paper); }
.principle:hover { background: var(--paper-2); }

.principle-num {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  color: var(--orange-text);
}

.principle h3 {
  font-family: var(--font-display);
  font-size: 1.24rem;
  letter-spacing: -0.018em;
}

/* :not(.principle-num) — the step number is also a <p> */
.principle p:not(.principle-num) {
  color: var(--muted);
  font-size: 0.9688rem;
  line-height: 1.7;
}

/* Numbered editorial list (Why / Believe) */
.ledger {
  border-top: 1px solid var(--line);
}

/* Flexbox rather than grid: flex items are laid out sequentially, so the
   number, heading and copy can never land in the same cell and overlap. */
.ledger-item {
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(16px, 3vw, 48px);
  align-items: baseline;
  padding: clamp(24px, 2.8vw, 38px) 0;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.35s var(--ease);
}

/* Fixed basis on the title and a zero basis on the copy keeps every row's
   columns aligned regardless of how long the text in each row is.
   :not(.ledger-num) matters — the row number is also a <p>. */
.ledger-item > * { min-width: 0; }
.ledger-item h3 { flex: 0 0 32%; }
.ledger-item p:not(.ledger-num) { flex: 1 1 0%; }

.ledger-item:hover { background: linear-gradient(90deg, var(--orange-wash), transparent 65%); }

.ledger-num {
  flex: 0 0 auto;
  width: 44px;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-decoration: none;
}

.ledger-item:hover .ledger-num { color: var(--orange-text); }

.ledger-item h3 {
  font-family: var(--font-display);
  font-size: clamp(1.14rem, 1.72vw, 1.46rem);
  letter-spacing: -0.02em;
}

.ledger-item p:not(.ledger-num) { color: var(--ink-3); }

.section--dark .ledger { border-color: var(--line-dark); }
.section--dark .ledger-item { border-color: var(--line-dark); }
.section--dark .ledger-item p:not(.ledger-num) { color: rgba(255, 255, 255, 0.66); }

/* Belief list */
.belief-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.belief-list li {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(22px, 2.4vw, 32px);
  display: grid;
  gap: 12px;
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.42vw, 1.16rem);
  line-height: 1.38;
  letter-spacing: -0.016em;
}

.belief-list li::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--orange);
}

/* --------------------------------------------------------------------------
   11. Founder
   -------------------------------------------------------------------------- */
.founder {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: start;
}

.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  background: linear-gradient(150deg, var(--paper-3), #e9e4de);
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(10, 10, 10, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 10, 10, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
}

.portrait::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 2px;
  background: var(--orange);
}

.portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-placeholder {
  position: relative;
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
  padding: 24px;
}

.portrait-monogram {
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.portrait-caption {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.founder-body h2 { max-width: 24ch; }

.founder-name {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

/* When the name opens the column rather than following body copy */
.founder-name--lead {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.founder-name strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 400;
  letter-spacing: -0.018em;
}

.founder-name span {
  display: block;
  margin-top: 4px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-text);
}

/* Flex, so an odd final credential fills the row instead of leaving a gap */
.credentials {
  display: flex;
  flex-wrap: wrap;
  margin-top: 32px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.credentials li {
  flex: 1 1 40%;
  min-width: 200px;
  padding: 18px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
}

.credentials li::before {
  content: "";
  width: 6px;
  height: 6px;
  border: 1.5px solid var(--orange);
  border-radius: 50%;
  flex: none;
}

/* --------------------------------------------------------------------------
   12. Insights
   -------------------------------------------------------------------------- */
.insight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.insight-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(24px, 2.4vw, 32px);
  background: var(--paper);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.35s var(--ease);
}

.section--paper-2 .insight-card { background: var(--paper-2); }
.insight-card:hover { background: var(--paper-2); }
.section--paper-2 .insight-card:hover { background: var(--paper); }

.insight-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  overflow: hidden;
  background: var(--paper-3);
}

.insight-thumb::before,
.insight-thumb::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.insight-thumb::before {
  width: 74%;
  aspect-ratio: 1;
  right: -14%;
  bottom: -34%;
  border: 1px solid rgba(10, 10, 10, 0.14);
}

.insight-thumb::after {
  width: 42%;
  aspect-ratio: 1;
  left: 12%;
  top: 18%;
  border: 1px solid var(--orange);
  opacity: 0.55;
}

.insight-thumb--alt::before {
  border-radius: 0;
  width: 60%;
  height: 1px;
  right: auto;
  left: 14%;
  bottom: 34%;
  background: rgba(10, 10, 10, 0.16);
  border: 0;
}

.insight-thumb--alt::after {
  border-radius: 0;
  width: 28%;
  height: 28%;
  left: 22%;
  top: 26%;
  border: 1px solid var(--orange);
  opacity: 0.6;
}

.insight-cat {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-text);
}

.insight-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.04rem, 1.42vw, 1.2rem);
  line-height: 1.26;
  letter-spacing: -0.018em;
}

/* Excludes the category label, which is also a <p> */
.insight-card p:not(.insight-cat) {
  flex: 1;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.68;
}

.insight-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.8125rem;
  color: var(--muted-2);
}

.insight-foot .link-arrow { font-size: 0.8125rem; }

.insight-card > a.stretch {
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* Insights index filter bar */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 4px;
}

.filter-chip {
  padding: 9px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-3);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.filter-chip:hover { border-color: var(--ink); }

.filter-chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.no-results {
  padding: 48px 0;
  text-align: center;
  color: var(--muted);
}

/* Featured insight */
.featured-insight {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(26px, 4vw, 60px);
  align-items: center;
  padding: clamp(28px, 3vw, 44px);
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--paper);
}

.featured-visual {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: 2px;
  overflow: hidden;
  background: var(--paper-3);
  display: grid;
  place-items: center;
}

/* --------------------------------------------------------------------------
   13. Page hero (interior pages)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding-block: clamp(52px, 6.5vw, 96px) clamp(40px, 4.5vw, 64px);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}

.page-hero--dark { background: var(--ink); color: #fff; border-bottom: 0; }
.page-hero--dark .display-1,
.page-hero--dark .display-2 { color: #fff; }
.page-hero--dark .lead { color: rgba(255, 255, 255, 0.74); }

.page-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(10, 10, 10, 0.04) 1px, transparent 1px);
  background-size: 164px 100%;
  mask-image: linear-gradient(to bottom, #000, transparent 92%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 92%);
  pointer-events: none;
}

.page-hero--dark .page-hero__grid {
  background-image: linear-gradient(to right, var(--line-dark-soft) 1px, transparent 1px);
}

.page-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
}

.page-hero h1 { margin-top: 22px; }
.page-hero .lead { margin-top: 24px; max-width: 56ch; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 22px;
}

.breadcrumb a:hover { color: var(--orange-text); }
.breadcrumb li::after { content: "/"; margin-left: 8px; color: var(--muted-2); }
.breadcrumb li:last-child::after { display: none; }
.breadcrumb li[aria-current] { color: var(--ink); }

/* --------------------------------------------------------------------------
   14. Solution detail sections
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 5vw, 80px);
  align-items: start;
}

.split--reverse { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }

.sticky-side { position: sticky; top: calc(var(--header-h) + 32px); }

.feature-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }

.feature-list li {
  background: var(--paper);
  padding: 20px clamp(18px, 2vw, 26px);
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
}

.section--paper-2 .feature-list li { background: var(--paper-2); }

.feature-list li strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.008em;
}

.feature-list li p {
  margin-top: 4px;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.66;
}

.feature-list li .tick {
  width: 14px;
  height: 14px;
  margin-top: 5px;
  flex: none;
}

.check-grid {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.check-grid li {
  flex: 1 1 30%;
  min-width: 240px;
  padding: 18px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
  font-weight: 500;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.check-grid li::before { content: "—"; color: var(--orange); flex: none; }

.callout {
  padding: clamp(24px, 2.6vw, 34px);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-left: 2px solid var(--orange);
  border-radius: 2px;
}

.callout p { color: var(--ink-3); }

.disclosure {
  padding: clamp(20px, 2.2vw, 28px);
  background: var(--paper-3);
  border-radius: 2px;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--muted);
}

.disclosure strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.disclosure + .disclosure { margin-top: 12px; }

/* --------------------------------------------------------------------------
   Company lifecycle chart
   Gantt-style mapping of solutions onto company stages. Built from real text
   in a grid rather than an image, so it stays crisp and screen-readable.
   -------------------------------------------------------------------------- */
.lifecycle {
  margin: 0;
  background: var(--paper);
  border-radius: 3px;
  overflow: hidden;
}

.lifecycle-caption {
  padding: clamp(22px, 2.4vw, 30px) clamp(20px, 2.4vw, 32px) 0;
  font-style: italic;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--muted);
}

.lifecycle-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: clamp(14px, 1.6vw, 20px) clamp(20px, 2.4vw, 32px) clamp(6px, 1vw, 10px);
}

.lifecycle-scroll:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: -2px;
}

/* The chart keeps its own drawn proportions; it scrolls rather than shrinks
   below the width at which its labels stay legible. */
.lifecycle-svg {
  display: block;
  width: 100%;
  min-width: 830px;
  height: auto;
}

.lifecycle-note {
  padding: 0 clamp(20px, 2.4vw, 32px) clamp(20px, 2.2vw, 26px);
  font-size: 0.75rem;
  line-height: 1.7;
  color: var(--muted-2);
}

/* Process steps */
.steps { counter-reset: step; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }

.steps li {
  counter-increment: step;
  background: var(--paper);
  padding: clamp(22px, 2.4vw, 30px);
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.section--paper-2 .steps li { background: var(--paper-2); }

.steps li::before {
  content: "0" counter(step);
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--orange-text);
  letter-spacing: 0.06em;
}

.steps h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  letter-spacing: -0.016em;
  margin-bottom: 6px;
}

.steps p { color: var(--muted); font-size: 0.9688rem; }

/* --------------------------------------------------------------------------
   15. Article (insight detail)
   -------------------------------------------------------------------------- */
.article {
  max-width: 720px;
  margin: 0 auto;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  padding-bottom: 26px;
  margin-bottom: 34px;
  border-bottom: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--muted);
}

.article-body > * + * { margin-top: 1.35em; }

.article-body p {
  font-size: 1.0938rem;
  line-height: 1.78;
  color: var(--ink-3);
  text-wrap: pretty;
}

.article-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.28rem, 1.9vw, 1.6rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-top: 2.1em;
}

.article-body h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  letter-spacing: -0.016em;
  margin-top: 1.8em;
}

.article-body ul { display: grid; gap: 10px; }

.article-body ul li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-3);
  line-height: 1.7;
}

.article-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 10px;
  height: 1px;
  background: var(--orange);
}

.article-body blockquote {
  margin: 2em 0;
  padding: 4px 0 4px 26px;
  border-left: 2px solid var(--orange);
  font-family: var(--font-display);
  font-size: clamp(1.12rem, 1.68vw, 1.32rem);
  line-height: 1.38;
  letter-spacing: -0.018em;
  color: var(--ink);
}

.article-foot {
  max-width: 720px;
  margin: clamp(40px, 5vw, 64px) auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}

/* --------------------------------------------------------------------------
   16. Contact
   -------------------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.form {
  display: grid;
  gap: 20px;
  padding: clamp(24px, 3vw, 40px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
}

.field { display: grid; gap: 8px; }

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.field label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-2);
}

.field label .req { color: var(--orange-text); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  appearance: none;
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 10 7'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%230a0a0a' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
}

.field textarea { min-height: 132px; resize: vertical; }

.field input::placeholder,
.field textarea::placeholder { color: var(--muted-2); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(253, 82, 21, 0.12);
}

.field[data-invalid="true"] input,
.field[data-invalid="true"] select,
.field[data-invalid="true"] textarea { border-color: #b3261e; }

.field-error {
  font-size: 0.8125rem;
  color: #b3261e;
  display: none;
}

.field[data-invalid="true"] .field-error { display: block; }

.form-note { font-size: 0.8125rem; line-height: 1.65; color: var(--muted); }

.form-status {
  display: none;
  padding: 16px 18px;
  border-radius: 2px;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.form-status[data-state="success"] {
  display: block;
  background: var(--orange-wash);
  border: 1px solid rgba(253, 82, 21, 0.35);
  color: var(--ink);
}

.form-status[data-state="error"] {
  display: block;
  background: #fdf1f0;
  border: 1px solid rgba(179, 38, 30, 0.3);
  color: #7f1d1a;
}

.contact-aside { display: grid; gap: 28px; }

.contact-block {
  display: grid;
  gap: 6px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-soft);
}

.contact-block:last-child { border-bottom: 0; padding-bottom: 0; }

.contact-block dt {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.contact-block dd {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
}

.contact-block dd a:hover { color: var(--orange-text); }

/* --------------------------------------------------------------------------
   17. Closing CTA
   -------------------------------------------------------------------------- */
.cta-close {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.cta-close__glow {
  position: absolute;
  top: -30%;
  right: -8%;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(253, 82, 21, 0.24), transparent 62%);
  pointer-events: none;
}

.cta-close__rule {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange) 22%, transparent 22%);
}

.cta-close-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: end;
}

.cta-close h2 { max-width: 20ch; }
.cta-close .body-copy { margin-top: 22px; max-width: 46ch; }

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding-block: clamp(52px, 6vw, 84px) 28px;
  font-size: 0.9375rem;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 0.85fr));
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(36px, 4vw, 56px);
  border-bottom: 1px solid var(--line-dark);
}

.footer-brand { display: grid; gap: 20px; align-content: start; }

/* Logo plate keeps the official (light-background) logo clearly visible on black */
.footer-logo-plate {
  display: inline-flex;
  padding: 16px 20px;
  background: #fff;
  border-radius: 3px;
  width: fit-content;
}

.footer-logo-plate img { width: 196px; }

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.14rem;
  color: #fff;
  letter-spacing: -0.016em;
}

.footer-brand-name span {
  display: block;
  margin-top: 4px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
}

.footer-brand p:not(.footer-brand-name) {
  color: rgba(255, 255, 255, 0.66);
  max-width: 40ch;
  line-height: 1.7;
}

.footer-col h2 {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 18px;
}

.footer-links { display: grid; gap: 11px; }

.footer-links a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9375rem;
  display: inline-block;
}

.footer-links a:hover { color: var(--orange); }

.footer-contact { display: grid; gap: 14px; }

.footer-contact dt {
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
  margin-bottom: 3px;
}

.footer-contact dd { margin: 0; color: rgba(255, 255, 255, 0.78); line-height: 1.6; }
.footer-contact dd a:hover { color: var(--orange); }

.footer-disclosure {
  padding-block: clamp(26px, 3vw, 36px);
  border-bottom: 1px solid var(--line-dark);
  display: grid;
  gap: 12px;
  max-width: 100ch;
}

.footer-disclosure p {
  font-size: 0.75rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.58);
}

.footer-disclosure strong {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.58);
}

.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-legal a:hover { color: var(--orange); }

/* --------------------------------------------------------------------------
   19. Reveal animation
   -------------------------------------------------------------------------- */
/* Content is visible by default. Only when JavaScript is available do we hide
   it for the scroll-reveal, so nothing depends on scripting to be readable. */
/* No will-change here on purpose: keeping these blocks on a composited layer
   costs the text its subpixel antialiasing and makes it look soft once the
   animation has finished. */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Once revealed, drop the transition entirely so nothing is left promoted */
.js .reveal.reveal-done {
  transition: none;
  transform: none;
  opacity: 1;
}

.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

/* --------------------------------------------------------------------------
   20. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1220px) {
  .nav-list { gap: 15px; }
  .nav-link, .nav-toggle { font-size: 0.875rem; }
  .brand-wordmark { height: 34px; }
  .brand-mark { height: 37px; }
  .header-cta .btn { padding-inline: 18px; font-size: 0.8438rem; }
}

@media (max-width: 1040px) {
  .nav, .header-cta { display: none; }
  .hamburger { display: block; }

  .hero-inner,
  .statement,
  .approach,
  .founder,
  .split,
  .split--reverse,
  .contact-layout,
  .cta-close-inner,
  .page-hero-inner,
  .section-head--split,
  .featured-insight { grid-template-columns: minmax(0, 1fr); }

  .sticky-side { position: static; }
  .hero-visual { min-height: 360px; }
  /* Stop the portrait frame from becoming a full-width block when stacked */
  .portrait { max-width: 400px; }
  .hero-copy { max-width: none; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* Stack the ledger rows as plain blocks below the two-column breakpoint */
  .ledger-item { display: block; padding: 26px 0; }
  .ledger-num { width: auto; margin-bottom: 8px; }
  .ledger-item h3 { margin-bottom: 10px; }
}

@media (max-width: 860px) {
  .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .statement h2 { max-width: none; }
}

@media (max-width: 720px) {
  body { font-size: 1rem; }
  .grid-2, .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .principle-grid,
  .belief-list,
  .credentials { grid-template-columns: minmax(0, 1fr); }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .hero-visual__stat {
    position: static;
    background: transparent;
    backdrop-filter: none;
    flex-wrap: wrap;
    gap: 18px 24px;
    padding-inline: 0;
    margin-top: 26px;
  }
  .hero-visual {
    min-height: 0;
    padding: 24px 22px 26px;
    grid-auto-flow: row;
  }
  .article-body blockquote { padding-left: 18px; }
  .btn { width: 100%; }
  .btn-row { gap: 10px; }
  .btn-row .btn { flex: 1 1 100%; }
  .insight-foot { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (max-width: 520px) {
  .brand-mark { height: 36px; }
  .brand-wordmark { height: 32px; }
  :root { --header-h: 72px; }
  .mobile-nav-link { font-size: 1.3rem; }
  .hero-visual__plate { padding: 22px; }
}

/* --------------------------------------------------------------------------
   21. Motion & print preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .mobile-nav, .cta-close, .hero-visual { display: none !important; }
  body { color: #000; font-size: 12pt; }
  .site-footer { background: #fff; color: #000; }
}
