/* =========================================================
   Trailblazing in Color — site styles
   Brand colors live in :root below. Change a color there and
   it updates everywhere it is used.
   ========================================================= */

@font-face {
  font-family: "Qualy";
  src: url("/fonts/Qualy-Bold.woff") format("woff"), url("/fonts/Qualy-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #FFF8F0;
  --ink: #171211;
  --sand: #F6E9DD;
  --rust: #A82600;
  --ember: #C96200;
  --orange: #FF8600;
  --peach: #FABAA3;
  --mauve: #C07496;
  --plum: #95337F;
  --crimson: #CA003D;
  --teal: #00898A;
  --teal-deep: #00696A;
  --teal-text: #00797A;
  --muted: #6B5A52;
  --muted-2: #4A3D37;
  --body-2: #3A2E29;

  --font-display: "Qualy", "Outfit", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;

  --ease: cubic-bezier(.2, .8, .2, 1);
  --gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--rust); }
a:hover { color: var(--plum); }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--cream); padding: 12px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: var(--cream); }

.d { font-family: var(--font-display); font-weight: 700; }
.s { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.wrap { max-width: 1280px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.eyebrow {
  font-family: var(--font-display); font-weight: 700;
  font-size: 14px; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 20px;
}
.label {
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
}
.section-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 24px; margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head > div { max-width: 760px; }
.section-head > p { margin: 0; font-size: 17px; line-height: 1.55; }
.h2 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1; letter-spacing: -.035em; font-size: clamp(36px, 5vw, 76px); }
.h2-xl { font-size: clamp(40px, 5.6vw, 84px); line-height: .98; }

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--font-display); font-weight: 700;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 16px 26px; border-radius: 999px;
  font-size: 16px; text-decoration: none; cursor: pointer; border: 0;
  transition: transform .25s var(--ease), background-color .25s, color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 6px 0 var(--ink); }
.btn-on-dark:hover { box-shadow: 0 6px 0 var(--cream); }
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { color: var(--cream); }
.btn-teal { background: var(--teal-deep); color: var(--cream); }
.btn-teal:hover { color: var(--cream); }
.btn-crimson { background: var(--crimson); color: var(--cream); }
.btn-crimson:hover { color: var(--cream); }
.btn-outline { background: transparent; color: var(--ink); border: 2px solid var(--ink); padding: 14px 24px; }
.btn-outline:hover { color: var(--ink); }
.btn-outline-light { background: transparent; color: var(--cream); border: 2px solid var(--cream); padding: 14px 24px; }
.btn-outline-light:hover { color: var(--cream); }
.btn-cream { background: var(--cream); color: var(--plum); }
.btn-cream:hover { color: var(--plum); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 248, 240, .94); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(23, 18, 17, .08);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.site-header .logo img { height: 46px; width: auto; }
.navlinks { display: flex; align-items: center; gap: 32px; font-size: 15px; font-weight: 500; }
.navlink { color: var(--ink); text-decoration: none; position: relative; }
.navlink::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 3px; background: var(--crimson); transition: right .3s; }
.navlink:hover { color: var(--ink); }
.navlink:hover::after { right: 0; }
.site-header .btn { padding: 14px 22px; font-size: 15px; }
@media (max-width: 960px) { .navlinks { display: none; } }
@media (max-width: 420px) { .site-header .logo img { height: 38px; } .site-header .btn { padding: 12px 16px; } }

/* ---------- Motion ---------- */
@keyframes wordUp { from { transform: translateY(105%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes rise { from { transform: translateY(60px) scale(.7); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes slideIn { from { transform: translateX(-105%); } to { transform: none; } }
@keyframes slideInR { from { transform: translateX(105%); } to { transform: none; } }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marq { to { transform: translateX(-50%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.line { display: block; overflow: hidden; padding-bottom: .06em; }
.w { display: inline-block; animation: wordUp 1s var(--ease) both; }
.rise { transform-box: view-box; transform-origin: 247.5px 241px; animation: rise 1.2s var(--ease) both; }
.slide { animation: slideIn 1s var(--ease) both; }
.slideR { animation: slideInR 1s var(--ease) both; }
.sun { transform-box: fill-box; transform-origin: 50% 100%; animation: breathe 5s ease-in-out 1.6s infinite; }
.spin { transform-box: view-box; transform-origin: 247.5px 247.5px; animation: spin 60s linear infinite; }
.fade { animation: fadeUp 1s var(--ease) both; }

@supports (animation-timeline: view()) {
  .reveal { animation: fadeUp linear both; animation-timeline: view(); animation-range: entry 0% cover 25%; }
  .riseView { transform-box: view-box; transform-origin: 50% 100%; animation: rise linear both; animation-timeline: view(); animation-range: entry 10% cover 45%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Hero ---------- */
.hero { padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(48px, 6vw, 80px); }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 13px; letter-spacing: .14em;
  text-transform: uppercase; font-weight: 700; color: var(--muted); margin-bottom: clamp(28px, 4vw, 48px);
}
.hero-meta .dot { display: inline-flex; align-items: center; gap: 10px; }
.hero-meta .dot::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--dot, var(--crimson)); flex: none; }
.hero-main { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(32px, 4vw, 56px); }
.hero h1 {
  flex: 999 1 560px; min-width: 0; margin: 0;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(44px, 6.6vw, 100px); line-height: .96; letter-spacing: -.035em; text-transform: lowercase;
}
.hero-mark { flex: 1 1 340px; max-width: 500px; margin: 0 auto; }
.hero-mark svg { width: 100%; height: auto; display: block; overflow: visible; }
.hero-foot {
  margin-top: clamp(40px, 5vw, 72px); display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: 32px; border-top: 2px solid var(--ink); padding-top: 28px;
}
.hero-foot p { margin: 0; max-width: 560px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Marquee ---------- */
.marquee-wrap {
  background: var(--crimson); color: var(--cream); overflow: hidden; padding: 22px 0;
  border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
}
.marquee {
  display: flex; width: max-content; animation: marq 38s linear infinite;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 3vw, 40px);
  letter-spacing: -.01em; white-space: nowrap;
}
.marquee-wrap:hover .marquee { animation-play-state: paused; }
.marquee > span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; }

/* ---------- What we do ---------- */
.what { padding: clamp(72px, 9vw, 140px) 0; }
.what-grid { display: flex; flex-wrap: wrap; gap: clamp(40px, 6vw, 96px); align-items: flex-start; }
.what-visual { flex: 1 1 380px; min-width: 0; position: relative; }
.retreat-card {
  width: 100%; max-width: 480px; aspect-ratio: 4 / 5; border-radius: 999px 999px 0 0;
  position: relative; overflow: hidden; border: 2px solid var(--ink);
  background: var(--orange); color: var(--ink); display: flex; flex-direction: column; justify-content: flex-end;
}
.retreat-card .sunrise {
  position: absolute; left: 50%; top: 9%; transform: translateX(-50%); width: 34%; aspect-ratio: 2 / 1;
  border-radius: 999px 999px 0 0; background: var(--peach); border: 2px solid var(--ink); border-bottom: 0;
}
.retreat-card .inner { position: relative; padding: 0 9% 9%; }
.retreat-card .kicker { font-family: var(--font-display); font-weight: 700; font-size: clamp(13px, 1.1vw, 15px); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 4px; }
.retreat-card .who { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.05; margin-bottom: 18px; }
.retreat-card ol { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.retreat-card li { display: flex; gap: 14px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid rgba(23, 18, 17, .35); }
.retreat-card li:last-child { border-bottom: 0; }
.retreat-card li .dot { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--ink); flex: none; }
.retreat-card li .t { font-family: var(--font-display); font-weight: 700; font-size: clamp(17px, 1.6vw, 22px); letter-spacing: -.01em; }
.badge-circle {
  position: absolute; right: 0; bottom: -28px; width: clamp(150px, 16vw, 200px); aspect-ratio: 1;
  background: var(--teal); border-radius: 50%; display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--cream); border: 2px solid var(--ink); padding: 20px;
  font-size: clamp(20px, 2vw, 26px); line-height: 1.1;
}
.what-copy { flex: 1.2 1 480px; min-width: 0; }
.what-copy h2 { margin: 0 0 28px; font-family: var(--font-display); font-weight: 700; font-size: clamp(36px, 4.4vw, 64px); line-height: 1.02; letter-spacing: -.03em; }
.what-copy > p { margin: 0 0 44px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; max-width: 620px; color: var(--body-2); }
.ways { border-top: 2px solid var(--ink); }
.way { display: flex; gap: 24px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid rgba(23, 18, 17, .18); }
.way .num { font-family: var(--font-display); font-weight: 700; font-size: 15px; min-width: 32px; }
.way h3 { margin: 0 0 6px; font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2vw, 28px); letter-spacing: -.01em; }
.way p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--muted-2); }

/* ---------- Services ---------- */
.services { background: var(--sand); padding: clamp(72px, 9vw, 130px) 0; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.services .section-head { margin-bottom: clamp(40px, 5vw, 72px); }
.services .section-head > p { max-width: 360px; color: var(--muted-2); }
.svc-layout { display: flex; flex-wrap: wrap; gap: clamp(28px, 4vw, 56px); align-items: stretch; }
.svc-tabs { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.svc-tab {
  text-align: left; border: 2px solid var(--ink); border-radius: 20px; padding: 26px 28px;
  background: var(--cream); color: var(--ink); display: flex; align-items: center; gap: 22px; min-height: 44px;
  cursor: pointer; transition: background-color .35s, color .35s, transform .35s;
}
.svc-tab:hover { transform: translateX(6px); }
.svc-tab[aria-selected="true"] { background: var(--c); color: var(--cream); }
.svc-tab .n { font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 4vw, 60px); line-height: 1; letter-spacing: -.04em; opacity: .9; }
.svc-tab .t { flex: 1; min-width: 0; }
.svc-tab .t b { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.1vw, 30px); letter-spacing: -.015em; line-height: 1.1; }
.svc-tab .t small { display: block; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-top: 6px; opacity: .85; }
.svc-panel {
  flex: 1.35 1 520px; min-width: 0; background: var(--cream); border: 2px solid var(--ink); border-radius: 28px;
  padding: clamp(24px, 3.4vw, 48px); display: flex; flex-wrap: wrap; gap: 36px;
}
.svc-panel[hidden] { display: none; }
.arch-diagram { flex: 1 1 220px; max-width: 300px; min-width: 0; }
.arch-diagram .stack { position: relative; width: 100%; aspect-ratio: 1 / .9; }
.arch-diagram .ring {
  position: absolute; border: 2px solid var(--ink); border-radius: 999px 999px 0 0; background: var(--sand); color: var(--muted);
  display: flex; justify-content: center; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
}
.arch-diagram .ring.on { background: var(--c); color: var(--cream); }
.arch-diagram .outer { inset: 0; padding-top: 6%; }
.arch-diagram .mid { left: 15%; right: 15%; top: 21%; bottom: 0; padding-top: 8%; }
.arch-diagram .inner { left: 31%; right: 31%; top: 46%; bottom: 0; align-items: center; text-align: center; }
.arch-diagram .base { height: 2px; background: var(--ink); }
.arch-diagram p { margin: 14px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.svc-detail { flex: 1.4 1 280px; min-width: 0; }
.svc-detail .scale { margin-bottom: 10px; color: var(--c); }
.svc-detail h3 { margin: 0 0 16px; font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 2.8vw, 40px); letter-spacing: -.025em; line-height: 1.05; }
.svc-detail > p { margin: 0 0 24px; font-size: 17px; line-height: 1.6; color: var(--body-2); }
.svc-detail ul { list-style: none; padding: 0; margin: 10px 0 28px; display: flex; flex-direction: column; gap: 10px; }
.svc-detail li { display: flex; gap: 12px; align-items: baseline; font-size: 16px; line-height: 1.45; }
.svc-detail li::before { content: ""; width: 14px; height: 7px; border-radius: 14px 14px 0 0; background: var(--c); flex: none; }
.connects { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.connects > span { font-size: 14px; color: var(--muted); }
.chip-link {
  border: 2px solid var(--c); color: var(--c); background: transparent; border-radius: 999px;
  padding: 10px 16px; font-size: 14px; font-weight: 700; min-height: 44px; cursor: pointer;
  transition: background-color .25s, color .25s;
}
.chip-link:hover { background: var(--c); color: var(--cream); }

/* ---------- Retreats ---------- */
.retreats { background: var(--orange); color: var(--ink); padding: clamp(64px, 8vw, 112px) 0; border-bottom: 2px solid var(--ink); }
.retreats .section-head { margin-bottom: clamp(36px, 4vw, 56px); }
.retreat-list { display: flex; flex-wrap: wrap; border-top: 2px solid var(--ink); }
.retreat { flex: 1 1 300px; min-width: 0; padding: 32px 28px 8px 0; display: flex; flex-direction: column; gap: 14px; }
.retreat h3 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 3vw, 44px); line-height: 1; letter-spacing: -.03em; }
.retreat p { margin: 0; font-size: 17px; line-height: 1.55; max-width: 360px; }

/* ---------- Theory of change ---------- */
.toc { background: var(--ink); color: var(--cream); padding: clamp(72px, 9vw, 140px) 0; position: relative; overflow: hidden; }
.toc .section-head > p { max-width: 420px; line-height: 1.6; color: rgba(255, 248, 240, .78); }
.toc-grid { display: flex; flex-wrap: wrap; gap: clamp(40px, 5vw, 80px); align-items: center; }
.toc-visual { flex: 1.2 1 440px; min-width: 0; max-width: 660px; margin: 0 auto; }
.toc-visual svg { width: 100%; height: auto; display: block; overflow: visible; }
.toc-visual .layer { transition: opacity .45s; }
.toc-visual.has-focus .layer { opacity: .18; }
.toc-visual.has-focus .layer.on { opacity: 1; }
.toc-legend { flex: 1 1 340px; min-width: 0; }
.toc-legend .label { font-size: 12px; letter-spacing: .16em; margin-bottom: 10px; }
.toc-list { display: flex; flex-direction: column; gap: 4px; margin-bottom: 26px; }
.toc-btn {
  display: flex; align-items: center; gap: 14px; text-align: left; border: 0; border-radius: 12px;
  padding: 10px 14px; background: transparent; color: var(--cream); min-height: 44px; cursor: pointer;
  transition: background-color .3s, color .3s;
}
.toc-btn:hover { background: rgba(255, 248, 240, .08); }
.toc-btn[aria-pressed="true"] { background: var(--c); color: var(--fg); }
.toc-btn .sw { width: 22px; height: 11px; border-radius: 22px 22px 0 0; background: var(--c); flex: none; }
.toc-btn .sw.bar { height: 8px; border-radius: 2px; }
.toc-btn .t { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -.01em; }
.toc-detail { border-top: 1px solid rgba(255, 248, 240, .25); padding-top: 22px; min-height: 120px; }
.toc-detail p { margin: 0; font-size: clamp(22px, 2vw, 28px); line-height: 1.3; }

/* ---------- Clients / work ---------- */
.clients { padding: clamp(72px, 9vw, 140px) 0; }
.clients .section-head > p { max-width: 420px; color: var(--muted-2); }
.featured {
  display: flex; flex-wrap: wrap; border: 2px solid var(--ink); border-radius: 28px; overflow: hidden;
  margin-bottom: clamp(48px, 6vw, 88px); background: var(--cream);
}
.featured .media { flex: 1 1 420px; min-height: 420px; position: relative; border-right: 2px solid var(--ink); }
.featured .media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.featured .body { flex: 1 1 420px; padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 22px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 700; }
.featured h3 { margin: 0 0 8px; font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3vw, 44px); line-height: 1.05; letter-spacing: -.025em; text-transform: lowercase; }
.featured .sub { font-size: 20px; line-height: 1.35; color: var(--muted-2); }
.featured .story { display: flex; flex-direction: column; gap: 14px; font-size: 16px; line-height: 1.55; }
.text-link {
  align-self: flex-start; color: var(--rust); font-family: var(--font-display); font-weight: 700; font-size: 18px;
  text-decoration: none; border-bottom: 3px solid var(--orange); padding-bottom: 4px;
}
.stripes-bottom { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 6px; }
.stripes-bottom i { display: block; height: 14px; }

.index-head { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.index-head span:last-child { color: var(--muted); font-weight: 500; letter-spacing: .04em; text-transform: none; }
.rows { border-top: 2px solid var(--ink); }
.row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding: 26px 4px;
  border-bottom: 2px solid var(--ink); color: var(--ink); text-decoration: none;
  transition: background-color .35s, color .35s, padding .35s;
}
.row:hover { background: var(--c); color: var(--fg); padding-left: 24px; padding-right: 24px; }
.row .num { font-family: var(--font-display); font-weight: 700; font-size: 15px; min-width: 32px; }
.row .client { flex: 1 1 280px; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.row .client b { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 34px); letter-spacing: -.02em; line-height: 1.1; }
.row .what { flex: 1 1 260px; font-size: 16px; line-height: 1.45; }
.row .dim { flex: 0 1 230px; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; }
.row .tagdot { width: 12px; height: 12px; border-radius: 50%; background: var(--c); border: 1.5px solid var(--ink); flex: none; }
.row:hover .tagdot { background: var(--fg); }
.row .arrow { transition: transform .35s; }
.row:hover .arrow { transform: translateX(8px) rotate(-45deg); }
.draft-tag { border: 1.5px solid currentColor; border-radius: 4px; padding: 3px 8px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

/* Testimonials */
.quotes {
  margin-top: clamp(64px, 8vw, 120px); background: var(--sand); border: 2px solid var(--ink); border-radius: 28px;
  padding: clamp(24px, 4vw, 56px);
}
.quotes-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: clamp(24px, 3vw, 40px); }
.quotes-head .eyebrow { margin: 0; color: var(--rust); }
.quotes-ctrl { display: flex; align-items: center; gap: 12px; }
.quotes-ctrl .count { font-family: var(--font-display); font-weight: 700; font-size: 16px; min-width: 64px; text-align: center; }
.round-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--ink); background: var(--cream); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; padding: 0; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s;
}
.round-btn:hover { transform: translateY(-3px); box-shadow: 0 6px 0 var(--ink); }
.round-btn.dark { background: var(--ink); color: var(--cream); }
.quote { margin: 0; display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-start; min-height: 360px; }
.quote[hidden] { display: none; }
.quote .marks { flex: none; }
.quote .body { flex: 1 1 520px; min-width: 0; }
.quote blockquote { margin: 0 0 24px; }
.quote .pull { margin: 0 0 22px; font-size: clamp(28px, 3.3vw, 48px); line-height: 1.12; letter-spacing: -.01em; }
.quote .full { margin: 0; font-size: 16px; line-height: 1.65; color: var(--muted-2); max-width: 820px; }
.quote figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.avatar { width: 52px; height: 52px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 18px; flex: none; }
.who-block { flex: 1 1 260px; min-width: 0; }
.who-block b { display: block; font-family: var(--font-display); font-size: 20px; letter-spacing: -.01em; }
.who-block span { display: block; font-size: 14px; line-height: 1.45; color: var(--muted-2); }
.ctx { border: 2px solid var(--ink); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 700; }
.quote-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(23, 18, 17, .2); }
.quote-nav button {
  width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--ink); font-family: var(--font-display); font-weight: 700;
  font-size: 15px; padding: 0; cursor: pointer; opacity: .55; transition: opacity .25s, box-shadow .25s;
}
.quote-nav button:hover { opacity: .85; }
.quote-nav button[aria-pressed="true"] { opacity: 1; box-shadow: 0 0 0 3px var(--sand), 0 0 0 6px var(--ink); }

/* ---------- Founder ---------- */
.founder { background: var(--plum); color: var(--cream); padding: clamp(72px, 9vw, 140px) 0; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); overflow: hidden; }
.founder .wrap { display: flex; flex-wrap: wrap; gap: clamp(48px, 7vw, 112px); align-items: center; }
.portrait { flex: 1 1 360px; min-width: 0; max-width: 460px; margin: 0 auto; position: relative; padding: 0 40px 40px 0; }
.portrait .bars { position: absolute; left: 40px; right: 0; top: 40px; bottom: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; }
.portrait .bars i { display: block; height: 34px; border-radius: 0 4px 4px 0; }
.portrait .frame { position: relative; width: 100%; aspect-ratio: 4 / 5; border-radius: 999px 999px 0 0; border: 2px solid var(--ink); overflow: hidden; background: #F6B81F; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; }
.founder-copy { flex: 1.3 1 460px; min-width: 0; }
.founder-copy .eyebrow { color: var(--peach); }
.founder-copy h2 { margin: 0 0 8px; font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 5.4vw, 80px); line-height: .98; letter-spacing: -.035em; }
.founder-copy .role { font-size: 15px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; margin-bottom: 32px; color: var(--peach); }
.founder-copy .quote-line { margin: 0 0 28px; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.2; }
.founder-copy .bio p { margin: 0 0 18px; font-size: 18px; line-height: 1.65; max-width: 640px; color: rgba(255, 248, 240, .94); }
.founder-copy .bio p:last-child { margin-bottom: 32px; }
.facts { display: flex; flex-wrap: wrap; gap: 24px 40px; margin-bottom: 36px; padding-top: 24px; border-top: 1px solid rgba(255, 248, 240, .35); max-width: 680px; }
.facts > div { flex: 1 1 190px; min-width: 0; }
.facts .label, .known-label { color: var(--peach); margin-bottom: 10px; }
.facts ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.45; }
.known { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; max-width: 640px; }
.known span { border: 1.5px solid rgba(255, 248, 240, .7); border-radius: 999px; padding: 7px 14px; font-size: 14px; font-weight: 500; }
.small-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 18px; font-size: 15px; }
.small-links a { color: var(--cream); text-underline-offset: 4px; padding: 8px 0; }
.small-links a:hover { color: var(--peach); }

/* ---------- Connect ---------- */
.connect { background: var(--teal-deep); color: var(--cream); position: relative; overflow: hidden; padding-top: clamp(80px, 10vw, 150px); padding-bottom: clamp(220px, 26vw, 360px); }
.connect .wrap { position: relative; z-index: 2; text-align: center; }
.connect .eyebrow { color: var(--peach); margin-bottom: 24px; }
.connect h2 { margin: 0 auto 28px; max-width: 1040px; font-family: var(--font-display); font-weight: 700; font-size: clamp(44px, 7.4vw, 112px); line-height: .95; letter-spacing: -.04em; }
.connect > .wrap > p { margin: 0 auto 36px; max-width: 640px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: rgba(255, 248, 240, .92); }
.topics { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 30px; }
.topic {
  border: 2px solid var(--cream); background: transparent; color: var(--cream); border-radius: 999px;
  padding: 10px 18px; font-size: 15px; font-weight: 700; min-height: 44px; cursor: pointer;
  transition: background-color .25s, color .25s;
}
.topic[aria-pressed="true"] { background: var(--cream); color: var(--teal-deep); }
.connect .btn-row { justify-content: center; gap: 14px; }
.connect .btn { font-size: 19px; padding: 20px 32px; }
.connect .btn-outline-light { padding: 18px 30px; }
.connect-arcs { position: absolute; left: 50%; bottom: -2px; width: min(1100px, 130%); transform: translateX(-50%); height: auto; z-index: 1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--cream); padding: 72px 0 40px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; padding-bottom: 56px; border-bottom: 1px solid rgba(255, 248, 240, .2); }
.footer-brand { flex: 1 1 320px; max-width: 420px; }
.footer-brand img { height: 56px; width: auto; margin-bottom: 22px; }
.footer-brand p { margin: 0; font-size: 16px; line-height: 1.6; color: rgba(255, 248, 240, .78); }
.footer-nav { flex: 1 1 360px; display: flex; flex-wrap: wrap; gap: 40px; }
.footer-nav div { display: flex; flex-direction: column; gap: 12px; font-size: 15px; min-width: 140px; }
.footer-nav .d { color: var(--orange); font-size: 15px; }
.footer-nav a { color: var(--cream); text-decoration: none; }
.footer-nav a:hover { color: var(--peach); }
.newsletter { flex: 1 1 300px; max-width: 380px; display: flex; flex-direction: column; gap: 12px; }
.newsletter label { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -.01em; }
.newsletter .desc { font-size: 14px; color: rgba(255, 248, 240, .72); line-height: 1.5; margin: 0; }
.newsletter .fields { display: flex; gap: 8px; flex-wrap: wrap; }
.newsletter input[type="email"] {
  flex: 1 1 200px; min-height: 48px; border-radius: 999px; border: 2px solid rgba(255, 248, 240, .4);
  background: transparent; color: var(--cream); padding: 0 18px; font: inherit; font-size: 15px;
}
.newsletter input::placeholder { color: rgba(255, 248, 240, .55); }
.newsletter button { min-height: 48px; border-radius: 999px; border: 0; background: var(--orange); color: var(--ink); padding: 0 22px; font-size: 15px; }
.newsletter .status { font-size: 14px; color: var(--peach); min-height: 1.2em; margin: 0; }
.hp { position: absolute; left: -9999px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; font-size: 13px; color: rgba(255, 248, 240, .62); }
.mini-stripes { display: inline-flex; gap: 6px; }
.mini-stripes i { display: inline-block; width: 28px; height: 6px; }

/* ---------- Case study page ---------- */
.cs-draft { background: var(--ink); color: var(--cream); padding: 14px var(--gutter); font-size: 14px; line-height: 1.5; display: flex; gap: 12px; align-items: center; justify-content: center; text-align: center; flex-wrap: wrap; }
.cs-draft b { background: var(--orange); color: var(--ink); letter-spacing: .1em; text-transform: uppercase; font-size: 12px; padding: 5px 10px; border-radius: 4px; }
.cs-hero { position: relative; overflow: hidden; border-bottom: 2px solid var(--ink); }
.cs-hero .wrap { padding-top: clamp(48px, 7vw, 104px); padding-bottom: clamp(120px, 12vw, 170px); }
.cs-hero .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: clamp(28px, 4vw, 48px); }
.cs-hero .meta .d { font-size: 15px; letter-spacing: .12em; text-transform: uppercase; }
.cs-hero .meta .rule { width: 40px; height: 2px; background: currentColor; display: inline-block; }
.cs-hero .meta .pill { border: 2px solid currentColor; border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 700; }
.cs-hero .client { font-size: clamp(15px, 1.3vw, 18px); font-weight: 700; letter-spacing: .04em; margin-bottom: 18px; }
.cs-hero h1 { margin: 0 0 28px; max-width: 1100px; font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 6.4vw, 96px); line-height: .98; letter-spacing: -.035em; text-transform: lowercase; }
.cs-hero .subtitle { margin: 0; max-width: 820px; font-size: clamp(22px, 2.4vw, 34px); line-height: 1.25; }
.cs-hero .stripes { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 8px; }
.cs-hero .stripes i { display: block; height: 16px; border-top: 2px solid var(--ink); }
.cs-glance { padding-top: clamp(56px, 7vw, 104px); }
.cs-glance .grid { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 72px); align-items: stretch; }
.cs-photo { flex: 1.3 1 440px; min-width: 0; min-height: 380px; border: 2px solid var(--ink); border-radius: 28px; overflow: hidden; position: relative; }
.cs-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cs-photo.empty { background: var(--sand); display: flex; align-items: flex-end; }
.cs-photo.empty .stripes-bottom { position: absolute; }
.cs-facts { flex: 1 1 320px; min-width: 0; margin: 0; display: flex; flex-direction: column; border-top: 2px solid var(--ink); }
.cs-facts > div { padding: 20px 0; border-bottom: 1px solid rgba(23, 18, 17, .2); }
.cs-facts > div:last-child { border-bottom: 0; }
.cs-facts dt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.cs-facts dd { margin: 0; font-size: 17px; line-height: 1.55; }
.cs-facts dd.big { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.2; }
.cs-facts .area { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; }
.cs-facts .area i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ink); display: inline-block; }
.cs-story { padding-top: clamp(56px, 7vw, 112px); padding-bottom: clamp(56px, 7vw, 112px); }
.cs-block { display: flex; flex-wrap: wrap; gap: 20px clamp(32px, 6vw, 96px); padding: clamp(32px, 4vw, 56px) 0; border-top: 2px solid var(--ink); }
.cs-block .head { flex: 0 1 300px; min-width: 0; display: flex; align-items: baseline; gap: 18px; }
.cs-block .head span { font-family: var(--font-display); font-weight: 700; font-size: clamp(48px, 5vw, 72px); line-height: 1; letter-spacing: -.04em; }
.cs-block h2 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -.02em; line-height: 1.05; }
.cs-block .text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.cs-block .text p { margin: 0; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.65; color: #2E2420; }
.cs-highlights { background: var(--ink); color: var(--cream); padding: clamp(64px, 8vw, 120px) 0; }
.cs-highlights .wrap { display: flex; flex-wrap: wrap; gap: 32px clamp(40px, 6vw, 96px); }
.cs-highlights .head { flex: 0 1 300px; min-width: 0; }
.cs-highlights .head .eyebrow { color: var(--orange); margin-bottom: 16px; }
.cs-highlights h2 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(36px, 4vw, 56px); line-height: 1; letter-spacing: -.03em; }
.cs-highlights ul { flex: 1 1 520px; min-width: 0; list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 248, 240, .25); }
.cs-highlights li { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 20px 0; border-bottom: 1px solid rgba(255, 248, 240, .25); }
.cs-highlights li .t { flex: 1 1 260px; min-width: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 2vw, 28px); letter-spacing: -.01em; line-height: 1.2; }
.cs-highlights li .flag { background: var(--orange); color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 4px; }
.cs-insight { border-bottom: 2px solid var(--ink); }
.cs-insight figure { max-width: 1100px; margin: 0 auto; padding: clamp(72px, 9vw, 140px) var(--gutter); display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.cs-insight blockquote { margin: 0; font-size: clamp(32px, 4.4vw, 64px); line-height: 1.1; letter-spacing: -.01em; }
.cs-insight figcaption { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; }
.cs-insight .flag { background: var(--ink); color: var(--cream); font-size: 13px; padding: 6px 12px; border-radius: 4px; }
.cs-next { display: flex; flex-wrap: wrap; gap: 20px; padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(48px, 6vw, 88px); }
.cs-next a { min-width: 0; text-decoration: none; border: 2px solid var(--ink); border-radius: 24px; padding: 28px 32px; display: flex; flex-direction: column; gap: 8px; transition: transform .3s var(--ease), box-shadow .3s; }
.cs-next a:hover { transform: translateY(-4px); box-shadow: 0 8px 0 var(--ink); }
.cs-next .prev { flex: 1 1 300px; color: var(--ink); }
.cs-next .next { flex: 1.4 1 360px; }
.cs-next small { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.cs-next .prev small { color: var(--muted); }
.cs-next b { font-family: var(--font-display); font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.02em; line-height: 1.1; }
.cs-next .next b { font-size: clamp(26px, 3vw, 42px); }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: flex; align-items: center; padding: 80px 0; }
.notfound h1 { margin: 0 0 20px; font-family: var(--font-display); font-weight: 700; font-size: clamp(44px, 7vw, 100px); line-height: .96; letter-spacing: -.035em; }
.notfound p { font-size: 19px; line-height: 1.6; max-width: 560px; margin: 0 0 32px; }
