/* ============================================================
   arnaudblandin.com
   Ink & parchment — the hub the other properties hang off.
   Palette and type are deliberately shared with
   sustainabilitycompass.ai and velaintelligence.com so the
   four sites read as one practice.
   ============================================================ */

:root {
  /* Canvas — from sustainabilitycompass.ai */
  --parchment: #EFEBE0;
  --parchment-2: #E6E1D3;
  --card: #F6F3EA;
  --rule: #CFC8B6;

  /* Ink */
  --ink: #0C1E28;
  --ink-2: #142B38;
  --ink-soft: #24414E;
  --ink-mute: #4A5F6C;

  /* Accents — teal primary, amber secondary, across all four sites */
  --teal: #16766A;
  --teal-bright: #33A691;   /* 4.9:1 on --ink-2, 5.4:1 on --ink */
  --teal-deep: #0F5B52;
  --teal-text: #0F5B52;   /* small teal type on parchment — 6.1:1 */
  --amber: #C08A2E;
  --amber-light: #D9A441;

  --font-display: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  --max: 1140px;
  --gut: clamp(22px, 5vw, 60px);
  --nav-h: 72px;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
  margin: 0;
  background: var(--parchment);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

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

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--parchment);
  padding: 0.75rem 1.25rem; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

/* ===== LAYOUT ===== */

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gut); }
.wrap--narrow { max-width: 800px; }

.band { padding-block: clamp(60px, 8vw, 110px); }
.band--tight { padding-block: clamp(44px, 5vw, 68px); }
.band--alt { background: var(--parchment-2); }
.band--ink { background: var(--ink); color: var(--parchment); }
.band--ink .lede, .band--ink p { color: rgba(239, 235, 224, 0.78); }
.band--ink .eyebrow { color: var(--teal-bright); }

/* ===== TYPE ===== */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

.display {
  font-size: clamp(2.4rem, 5.6vw, 4.1rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.032em;
}
.h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); font-weight: 700; }
.h3 { font-size: clamp(1.1rem, 1.6vw, 1.35rem); font-weight: 700; letter-spacing: -0.01em; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 62ch;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--teal-text);
  margin: 0 0 1.1rem;
  display: block;
}

.rule-top { border-top: 1px solid var(--rule); }

.section-head { max-width: 68ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }

/* ===== NAV ===== */

nav {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--parchment) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
}
nav.scrolled {
  border-bottom-color: var(--rule);
  box-shadow: 0 1px 18px rgba(12, 30, 40, 0.05);
}

.nav-inner {
  max-width: var(--max); margin: 0 auto; padding-inline: var(--gut);
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.02rem;
  letter-spacing: -0.015em;
  display: flex; align-items: center; gap: 0.6rem;
  flex-shrink: 0;
}
.nav-logo .mark { width: 26px; height: 26px; flex-shrink: 0; }
.nav-logo .mark path { fill: var(--teal); }

.nav-links {
  display: flex; align-items: center; gap: 1.45rem;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.015em;
  color: var(--ink-soft);
  white-space: nowrap;
  padding-block: 0.35rem;
  border-bottom: 1.5px solid transparent;
  transition: color 0.18s, border-color 0.18s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--teal); }

.nav-cta {
  background: var(--teal); color: #fff !important;
  padding: 0.6rem 1.15rem; border-radius: var(--radius);
  font-size: 0.78rem !important; font-weight: 600 !important;
  letter-spacing: 0.04em; text-transform: uppercase;
  border-bottom: none !important;
  transition: background 0.18s;
}
.nav-cta:hover { background: var(--teal-deep); }

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 6px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); transition: transform 0.25s, opacity 0.2s;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== BUTTONS ===== */

.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.18s;
}
.btn:hover { transform: translateY(-1px); }
.btn .arrow { transition: transform 0.18s; }
.btn:hover .arrow { transform: translateX(3px); }

.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-deep); }

.btn-amber { background: var(--amber); color: #fff; }
.btn-amber:hover { background: #A87524; }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--parchment); }

.btn-light { background: transparent; color: var(--parchment); border-color: rgba(239, 235, 224, 0.42); }
.btn-light:hover { background: var(--parchment); color: var(--ink); border-color: var(--parchment); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }

/* Inline link inside a paragraph */
.link-inline {
  color: var(--teal-text);
  border-bottom: 1px solid color-mix(in srgb, var(--teal-text) 40%, transparent);
  transition: color 0.18s, border-color 0.18s;
}
.link-inline:hover { color: var(--teal); border-bottom-color: var(--teal); }
.band--ink .link-inline { color: var(--teal-bright); border-bottom-color: color-mix(in srgb, var(--teal-bright) 45%, transparent); }
.band--ink .link-inline:hover { color: #fff; border-bottom-color: #fff; }

/* Inline text link with a rule under it */
.link-arrow {
  font-family: var(--font-mono);
  font-size: 0.75rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--teal-text);
  display: inline-flex; align-items: center; gap: 0.45rem;
  border-bottom: 1px solid color-mix(in srgb, var(--teal) 35%, transparent);
  padding-bottom: 3px;
  transition: color 0.18s, border-color 0.18s, gap 0.18s;
}
.link-arrow:hover { color: var(--teal); border-bottom-color: var(--teal); gap: 0.7rem; }
.band--ink .link-arrow { color: var(--teal-bright); border-bottom-color: color-mix(in srgb, var(--teal-bright) 40%, transparent); }
.band--ink .link-arrow:hover { color: #fff; border-bottom-color: #fff; }

/* ===== HERO ===== */

.hero {
  position: relative;
  background: var(--ink);
  color: var(--parchment);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.3;
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, var(--ink) 22%, color-mix(in srgb, var(--ink) 72%, transparent) 62%, color-mix(in srgb, var(--ink) 42%, transparent));
}

/* For a hero whose photograph is doing real work — the skyline, the crane —
   let the image through and hold the darkness where the type sits, rather
   than flattening the whole frame. */
.hero--photo .hero-bg { opacity: 0.72; }
.hero--photo::after {
  background:
    linear-gradient(100deg,
      var(--ink) 0%,
      color-mix(in srgb, var(--ink) 92%, transparent) 30%,
      color-mix(in srgb, var(--ink) 62%, transparent) 55%,
      color-mix(in srgb, var(--ink) 22%, transparent) 100%),
    linear-gradient(to top, color-mix(in srgb, var(--ink) 55%, transparent), transparent 42%);
}
.hero-inner { padding-block: clamp(76px, 12vw, 152px); }
.hero .display { max-width: 17ch; margin-bottom: 1.4rem; }
.hero .lede { color: rgba(239, 235, 224, 0.8); max-width: 56ch; font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.hero .eyebrow { color: var(--teal-bright); }

/* Compact hero for interior pages */
.hero--page .hero-inner { padding-block: clamp(64px, 9vw, 116px); }
.hero--page .display { font-size: clamp(2.1rem, 4.6vw, 3.4rem); max-width: 20ch; }

/* ===== LOGO STRIP ===== */

.logo-strip { background: var(--parchment-2); padding-block: clamp(32px, 4vw, 52px); }
.logo-strip .strip-label {
  font-family: var(--font-mono); font-size: 0.68rem;
  text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--ink-mute); text-align: center; margin-bottom: 2rem;
}
.logo-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.5rem) clamp(1.25rem, 2.5vw, 2.25rem);
}
@media (max-width: 900px) { .logo-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 480px) { .logo-grid { grid-template-columns: repeat(2, 1fr); } }
.logo-grid img {
  width: 100%; height: auto;
  aspect-ratio: 400 / 160;
  object-fit: contain; object-position: center;
  filter: grayscale(1) brightness(0.42) contrast(1.15);
  opacity: 0.62;
  transition: opacity 0.25s, filter 0.25s;
}
.logo-grid img:hover { opacity: 1; filter: grayscale(1) brightness(0.28) contrast(1.2); }

/* ===== GRIDS & CARDS ===== */

.grid { display: grid; gap: clamp(1.25rem, 2.4vw, 1.9rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 2.6vw, 2.25rem);
  display: flex; flex-direction: column;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.card:hover { border-color: color-mix(in srgb, var(--teal) 45%, var(--rule)); }
a.card:hover, .card--link:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(12, 30, 40, 0.08); }
.card h3 { margin-bottom: 0.6rem; }
/* An institution or event mark sitting above the card title */
.card-cover {
  width: 92px; border: 1px solid var(--rule); border-radius: 2px;
  margin-bottom: 1.25rem;
}
.card-logo {
  max-width: 172px; margin-bottom: 1.35rem;
  filter: grayscale(1) brightness(0.4) contrast(1.1);
  opacity: 0.75;
}
.band--ink .card-logo { filter: grayscale(1) brightness(3.5); opacity: 0.7; }
.card-note + *, .card > p + .card-note { margin-top: auto; }
.card p { color: var(--ink-soft); font-size: 1rem; }
.card .push { margin-top: auto; padding-top: 1.4rem; }

.band--ink .card {
  background: var(--ink-2);
  border-color: rgba(239, 235, 224, 0.14);
}
.band--ink .card:hover { border-color: color-mix(in srgb, var(--teal-bright) 55%, transparent); }
.band--ink .card p { color: rgba(239, 235, 224, 0.72); }

/* Numbered capability card */
.card-num--sm { font-size: 0.66rem; letter-spacing: 0.08em; }
.card-num {
  font-family: var(--font-mono);
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--teal-text);
  margin-bottom: 1.1rem;
  display: flex; align-items: center; gap: 0.7rem;
}
.card-num::after { content: ''; flex: 1; height: 1px; background: var(--rule); }
.band--ink .card-num { color: var(--teal-bright); }
.band--ink .card-num::after { background: rgba(239, 235, 224, 0.16); }

/* Non-interactive metadata pinned to the card floor */
.meta-line {
  margin-top: auto; padding-top: 1.3rem;
  border-top: 1px solid var(--rule);
  font-family: var(--font-mono); font-size: 0.7rem;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--ink-mute);
}
.band--ink .meta-line { border-top-color: rgba(239, 235, 224, 0.14); color: rgba(239, 235, 224, 0.55); }
.meta-line--link { color: var(--teal-text); display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.card--link:hover .meta-line--link { color: var(--teal-deep); }
.card--link:hover .meta-line--link .arrow { transform: translateX(3px); }
.meta-line--link .arrow { transition: transform 0.18s; }

/* "What it looks like" sub-block */
.card-note {
  margin-top: auto; padding-top: 1.15rem;
  border-top: 1px solid var(--rule);
}
.card-note dt {
  font-family: var(--font-mono); font-size: 0.66rem;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--ink-mute); margin-bottom: 0.5rem;
}
.card-note dd { margin: 0; font-size: 0.92rem; color: var(--ink-soft); line-height: 1.55; }
.band--ink .card-note { border-top-color: rgba(239, 235, 224, 0.14); }
.band--ink .card-note dt { color: rgba(239, 235, 224, 0.52); }
.band--ink .card-note dd { color: rgba(239, 235, 224, 0.72); }

/* ===== SPLIT (text + media) ===== */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split--media-first .split-media { order: -1; }
.split-media img {
  width: 100%; border-radius: var(--radius);
  border: 1px solid var(--rule);
}
.band--ink .split-media img { border-color: rgba(239, 235, 224, 0.16); }
.split-media--bare img { border: 0; padding-block: 1.5rem; }
.split-media--portrait img { aspect-ratio: 4 / 5; height: auto; object-fit: cover; object-position: top center; }

/* ===== ENGAGEMENTS ===== */

.engagement { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(1.5rem, 4vw, 3.5rem); }
.engagement + .engagement { margin-top: clamp(2rem, 4vw, 3.25rem); padding-top: clamp(2rem, 4vw, 3.25rem); border-top: 1px solid var(--rule); }
.engagement-meta .eyebrow { margin-bottom: 0.75rem; }
.engagement-meta h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); }
.engagement-meta .for { color: var(--ink-mute); font-size: 1rem; }
.engagement-body h4 {
  font-family: var(--font-mono); font-size: 0.68rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--ink-mute); margin: 0 0 0.7rem;
}
.engagement-body h4 + p, .engagement-body h4 + ul { margin-top: 0; }
.engagement-body > * + h4 { margin-top: 1.6rem; }

.tick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.tick-list li {
  position: relative; padding-left: 1.6rem;
  font-size: 1rem; color: var(--ink-soft);
}
.tick-list li::before {
  content: ''; position: absolute; left: 0; top: 0.62em;
  width: 9px; height: 9px; border-radius: 50%;
  border: 1.5px solid var(--teal);
}
.band--ink .tick-list li { color: rgba(239, 235, 224, 0.78); }
.band--ink .tick-list li::before { border-color: var(--teal-bright); }

.timeline-tag {
  display: inline-block; margin-top: 1.5rem;
  font-family: var(--font-mono); font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--ink); background: var(--parchment-2);
  border: 1px solid var(--rule); border-radius: 2px;
  padding: 0.4rem 0.75rem;
}

/* ===== STATEMENT (a breathing moment between dense sections) ===== */

.statement {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  font-weight: 700; line-height: 1.22; letter-spacing: -0.022em;
  max-width: 22ch; margin: 0;
  text-wrap: balance;
}
.statement em { font-style: normal; color: var(--teal-text); }
.band--ink .statement em { color: var(--teal-bright); }
.statement-band { padding-block: clamp(56px, 7vw, 92px); }
.statement-row { margin-top: clamp(2.5rem, 5vw, 4rem); }
.statement-note { margin-top: 1.5rem; max-width: 46ch; color: var(--ink-soft); }
.band--ink .statement-note { color: rgba(239, 235, 224, 0.75); }

/* ===== ROLE PRECISION (institution cards) ===== */
/* The logo is not the credential — the role is. State it plainly rather than
   letting logo association carry the claim. */

.role-line {
  font-size: 0.95rem; font-weight: 600;
  color: var(--ink); margin: 0 0 0.15rem;
}
.role-where {
  font-family: var(--font-mono); font-size: 0.7rem;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--ink-mute); margin: 0 0 0.9rem;
}
.band--ink .role-line { color: var(--parchment); }
.band--ink .role-where { color: rgba(239, 235, 224, 0.55); }

/* ===== PORTFOLIO GROUPING ===== */

.group-head {
  display: flex; align-items: baseline; gap: 1rem;
  margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
  padding-top: clamp(2.5rem, 5vw, 4rem);
}
.group-head:first-child { padding-top: 0; }
.group-head h2 {
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--teal-text); margin: 0; flex-shrink: 0;
}
.group-head .group-note { font-size: 0.95rem; color: var(--ink-mute); margin: 0; }
.group-head::after { content: ''; flex: 1; height: 1px; background: var(--rule); }

.owner-tag {
  font-family: var(--font-mono); font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink); background: var(--parchment-2);
  border: 1px solid var(--rule); border-radius: 2px;
  padding: 0.32rem 0.6rem; display: inline-block;
  margin-bottom: 1rem;
}

/* ===== THE SHIFT (from → to pairs) ===== */
/* Shared with 7principlessustainability.com, where the same six pairs frame
   the argument. Keep the wording identical across the two sites. */

.shift-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.shift {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: baseline; gap: clamp(0.6rem, 1.4vw, 1.1rem);
  padding-block: clamp(0.85rem, 1.6vw, 1.15rem);
  padding-inline: clamp(0.5rem, 1.6vw, 1.5rem);
  border-bottom: 1px solid var(--rule);
}
.shift-grid > .shift:nth-child(-n+2) { border-top: 1px solid var(--rule); }
.shift-from { color: var(--ink-mute); font-size: 0.95rem; text-align: right; }
.shift-to { font-size: 0.95rem; font-weight: 500; }
.shift-arrow { color: var(--teal-text); font-family: var(--font-mono); font-size: 0.85rem; }
.band--ink .shift { border-bottom-color: rgba(239, 235, 224, 0.14); }
.band--ink .shift-grid > .shift:nth-child(-n+2) { border-top-color: rgba(239, 235, 224, 0.14); }
.band--ink .shift-from { color: rgba(239, 235, 224, 0.5); }
.band--ink .shift-to { color: var(--parchment); }
.band--ink .shift-arrow { color: var(--teal-bright); }

/* ===== LEARNING JOURNEY / NUMBERED STAGES ===== */

.split + .journey, .section-head + .journey { margin-top: clamp(2rem, 4vw, 3rem); }
.split .journey { grid-template-columns: repeat(2, 1fr); }
.journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
.journey-step { background: var(--card); padding: clamp(1.25rem, 2.2vw, 1.75rem); }
.journey-step h4 {
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--teal-text); margin-bottom: 0.7rem;
}
.journey-step p { font-size: 0.98rem; color: var(--ink-soft); margin: 0; }
.band--ink .journey { background: rgba(239, 235, 224, 0.14); border-color: rgba(239, 235, 224, 0.14); }
.band--ink .journey-step { background: var(--ink-2); }
.band--ink .journey-step h4 { color: var(--teal-bright); }
.band--ink .journey-step p { color: rgba(239, 235, 224, 0.72); }

/* ===== PRINCIPLE CHIPS ===== */

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.chips li {
  font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.04em;
  border: 1px solid var(--rule); border-radius: 2px;
  padding: 0.35rem 0.65rem;
  color: var(--ink-soft);
}
.chips li b { color: var(--teal-text); font-weight: 500; }
.band--ink .chips li { border-color: rgba(239, 235, 224, 0.2); color: rgba(239, 235, 224, 0.78); }
.band--ink .chips li b { color: var(--teal-bright); }

/* ===== TESTIMONIALS ===== */

.quote-grid { columns: 2; column-gap: clamp(1.25rem, 2.4vw, 1.9rem); }
.quote {
  break-inside: avoid; margin-bottom: clamp(1.25rem, 2.4vw, 1.9rem);
  background: var(--card);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: clamp(1.4rem, 2.4vw, 2rem);
}
.quote blockquote { margin: 0 0 1rem; font-size: 1.02rem; line-height: 1.62; color: var(--ink-soft); }
.quote cite {
  font-style: normal; font-family: var(--font-display);
  font-weight: 700; font-size: 0.9rem; color: var(--ink);
  display: block;
}
.quote .role { font-size: 0.82rem; color: var(--ink-mute); margin-top: 0.15rem; }

/* ===== PROJECT CARDS ===== */

.project { display: grid; grid-template-columns: 320px 1fr; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center; }
.project + .project { margin-top: clamp(2.5rem, 5vw, 4.5rem); padding-top: clamp(2.5rem, 5vw, 4.5rem); border-top: 1px solid var(--rule); }
.project--flip .project-media { order: 2; }
/* A product screenshot has to be legible to do its job — 320px is fine for a
   book cover, not for a UI. */
.project--wide { grid-template-columns: 1.05fr 1fr; }
.project--wide .project-media--cover img { box-shadow: 0 12px 34px rgba(12, 30, 40, 0.14); }
.project-media {
  display: flex; align-items: center; justify-content: center;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  min-height: 190px;
}
.project-media img { max-height: 220px; width: auto; object-fit: contain; }
.project-media--cover { padding: 0; overflow: hidden; }
.project-media--cover img { max-height: none; width: 100%; height: 100%; object-fit: cover; }

/* ===== STATS ===== */

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); }
.stat-n {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1;
  letter-spacing: -0.03em; color: var(--teal);
  margin-bottom: 0.5rem;
}
.band--ink .stat-n { color: var(--teal-bright); }
.stat-l { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.45; }
.band--ink .stat-l { color: rgba(239, 235, 224, 0.72); }

/* ===== TALK LIST ===== */

.talk-list { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.talk {
  display: grid; grid-template-columns: 3.5rem 1fr;
  gap: clamp(1rem, 2.5vw, 2rem);
  padding-block: clamp(1.4rem, 2.4vw, 1.9rem);
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.talk-n { font-family: var(--font-mono); font-size: 0.78rem; color: var(--teal-text); padding-top: 0.35rem; }
.talk h3 { margin-bottom: 0.45rem; }
.talk p { color: var(--ink-soft); font-size: 1.02rem; margin: 0; max-width: 78ch; }

/* ===== DEFINITION ROWS (formats, audiences) ===== */

.def-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.def h4 {
  font-family: var(--font-mono); font-size: 0.68rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--teal-text); margin-bottom: 0.85rem;
}
.def p { font-size: 1rem; color: var(--ink-soft); margin: 0; }
.band--ink .def h4 { color: var(--teal-bright); }
.band--ink .def p { color: rgba(239, 235, 224, 0.78); }

/* ===== TIMELINE (bio) ===== */

.timeline { border-left: 1px solid var(--rule); padding-left: clamp(1.5rem, 3vw, 2.25rem); display: grid; gap: 2.25rem; }
.timeline-item { position: relative; }
.timeline-item::before {
  content: ''; position: absolute;
  left: calc(-1 * clamp(1.5rem, 3vw, 2.25rem) - 5px);
  top: 0.55em; width: 9px; height: 9px; border-radius: 50%;
  background: var(--parchment); border: 1.5px solid var(--teal);
}
.timeline-when {
  font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.1em; color: var(--ink-mute);
  text-transform: uppercase; margin-bottom: 0.4rem;
}
.timeline-item h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.timeline-item p { font-size: 1rem; color: var(--ink-soft); margin: 0; max-width: 74ch; }

/* ===== CTA BAND ===== */

.cta-band { text-align: center; }
.cta-band .h2 { max-width: 20ch; margin-inline: auto; }
.cta-band .lede { margin-inline: auto; text-align: center; }
.cta-band .btn-row { justify-content: center; }
.cta-note {
  margin-top: 1.75rem; font-family: var(--font-mono);
  font-size: 0.72rem; letter-spacing: 0.08em;
  color: rgba(239, 235, 224, 0.55);
}

/* ===== NEWSLETTER ===== */

.newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.newsletter-form { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1.75rem; }
.newsletter-form input {
  flex: 1 1 220px;
  padding: 0.85rem 1rem;
  font-family: var(--font-body); font-size: 0.95rem;
  background: rgba(239, 235, 224, 0.07);
  border: 1px solid rgba(239, 235, 224, 0.28);
  border-radius: var(--radius);
  color: var(--parchment);
}
.newsletter-form input::placeholder { color: rgba(239, 235, 224, 0.45); }
.newsletter-form input:focus { border-color: var(--teal-bright); outline: none; }
.newsletter-hint { font-size: 0.8rem; color: rgba(239, 235, 224, 0.5); margin-top: 0.9rem; }

.band--alt .newsletter-form input,
.band:not(.band--ink) .newsletter-form input {
  background: var(--card);
  border-color: var(--rule);
  color: var(--ink);
}
.band:not(.band--ink) .newsletter-form input::placeholder { color: var(--ink-mute); }
.band:not(.band--ink) .newsletter-form input:focus { border-color: var(--teal); }
.band:not(.band--ink) .newsletter-hint { color: var(--ink-mute); }

/* ===== CONTACT ===== */

.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.contact-list dt {
  font-family: var(--font-mono); font-size: 0.68rem;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--ink-mute); margin-bottom: 0.35rem;
}
.contact-list dd { margin: 0; font-size: 1.02rem; }
.contact-list a { border-bottom: 1px solid var(--rule); transition: border-color 0.18s; }
.contact-list a:hover { border-bottom-color: var(--teal); color: var(--teal-text); }

/* ===== FOOTER ===== */

.site-footer { background: var(--ink); color: rgba(239, 235, 224, 0.72); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: clamp(1.75rem, 4vw, 3rem); }
.footer-brand .nav-logo { color: var(--parchment); font-size: 1.05rem; margin-bottom: 0.85rem; }
.footer-brand p { font-size: 0.9rem; max-width: 34ch; color: rgba(239, 235, 224, 0.6); }
.site-footer h4 {
  font-family: var(--font-mono); font-size: 0.66rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: rgba(239, 235, 224, 0.5); margin-bottom: 1rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.site-footer li a { font-size: 0.9rem; color: rgba(239, 235, 224, 0.72); transition: color 0.18s; }
.site-footer li a:hover { color: var(--parchment); }
.footer-bottom {
  margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.75rem;
  border-top: 1px solid rgba(239, 235, 224, 0.14);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: 0.82rem; color: rgba(239, 235, 224, 0.5);
}

/* ===== ANIMATION ===== */

.fade-up { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-up { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1080px) {
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none; position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: var(--parchment);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    padding: 1.25rem var(--gut) 1.75rem;
    gap: 0;
    box-shadow: 0 14px 30px rgba(12, 30, 40, 0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 0.95rem; padding-block: 0.75rem; border-bottom: 1px solid var(--rule); }
  .nav-links a[aria-current="page"] { border-bottom-color: var(--rule); color: var(--teal); }
  .nav-links li:last-child a { border-bottom: none; }
  .nav-cta { margin-top: 1rem; justify-content: center; display: flex; text-align: center; }
}

@media (max-width: 900px) {
  .journey { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .def-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  body { font-size: 16px; }
  .group-head { flex-wrap: wrap; gap: 0.5rem; }
  .group-head::after { display: none; }
  .shift-grid { grid-template-columns: 1fr; }
  .shift-grid > .shift:nth-child(2) { border-top: 0; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .split, .newsletter, .contact-grid, .engagement { grid-template-columns: 1fr; }
  .split--media-first .split-media, .project--flip .project-media { order: 0; }
  .quote-grid { columns: 1; }
  .project { grid-template-columns: 1fr; }
  .project-media { min-height: 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .journey { grid-template-columns: 1fr; }
  .shift { grid-template-columns: 1fr; gap: 0.15rem; }
  .shift-from { text-align: left; }
  .shift-arrow { display: none; }
  .grid-4, .stats { grid-template-columns: 1fr; }
  .talk { grid-template-columns: 1fr; gap: 0.5rem; }
  .btn { width: 100%; justify-content: center; }
  .btn-row { flex-direction: column; }
}
