/* Andy Dunne · site styles */

:root {
  --paper: #f5f2ec;
  --paper-2: #ebe6dc;
  --card: #fffdf9;
  --ink: #0b1324;
  --ink-2: #172036;
  --ink-3: #243049;
  --muted: #586174;
  --muted-light: #a9b1c2;
  --line: rgba(11, 19, 36, 0.12);
  --line-light: rgba(255, 255, 255, 0.14);
  --blue: #0058a5;
  --blue-2: #1d74d6;
  --blue-soft: #dce8f6;
  --sun: #ffc83d;
  --sun-2: #ffb703;

  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(11, 19, 36, 0.06), 0 12px 32px -12px rgba(11, 19, 36, 0.22);
  --shadow-lg: 0 2px 4px rgba(11, 19, 36, 0.06), 0 30px 60px -20px rgba(11, 19, 36, 0.35);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--sun); color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* Type */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; letter-spacing: -0.025em; line-height: 1.05; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 5vw, 3.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); letter-spacing: -0.015em; line-height: 1.2; }
p { margin: 0 0 1em; text-wrap: pretty; }
.serif { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -0.01em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.dark .eyebrow { color: var(--sun); }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--muted); max-width: 60ch; }
.dark .lede { color: var(--muted-light); }
.hl { background: linear-gradient(transparent 62%, var(--sun) 62%, var(--sun) 92%, transparent 92%); padding: 0 0.08em; }

/* Buttons */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 22px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--bg); color: var(--fg);
  font: 600 15px/1 var(--sans); text-decoration: none; letter-spacing: -0.005em;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s;
  box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 8px 20px -10px rgba(11,19,36,.5);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 14px 28px -12px rgba(11,19,36,.55); }
.btn svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.btn:hover svg.arrow { transform: translateX(3px); }
.btn--blue { --bg: var(--blue); }
.btn--blue:hover { --bg: #00498a; }
.btn--sun { --bg: var(--sun); --fg: var(--ink); }
.btn--sun:hover { --bg: var(--sun-2); }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.dark .btn--ghost { --fg: #fff; box-shadow: inset 0 0 0 1.5px var(--line-light); }
.dark .btn--ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--blue); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translate(2px, -2px); }
.dark .link-arrow { color: var(--sun); }

/* Preview bar */
.preview-bar {
  background: var(--ink); color: #c9d1e0; font-size: 13px;
}
.preview-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; }
.preview-bar strong { color: #fff; font-weight: 600; }
.preview-bar .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); margin-right: 8px; box-shadow: 0 0 0 4px rgba(255,200,61,.18); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(255,200,61,0); } }
.review-toggle {
  display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; cursor: pointer; color: #fff; font-size: 13px; font-weight: 500; padding: 6px 0;
}
.review-toggle .switch { width: 30px; height: 18px; border-radius: 99px; background: var(--ink-3); position: relative; transition: background .2s; }
.review-toggle .switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); }
.review-toggle[aria-pressed="true"] .switch { background: var(--sun); }
.review-toggle[aria-pressed="true"] .switch::after { transform: translateX(12px); }
.review-count { font-variant-numeric: tabular-nums; color: var(--sun); }
@media (max-width: 640px) { .preview-bar .hide-sm { display: none; } }

/* Review mode: highlights everything that needs checking with Andy */
body.review [data-confirm] {
  background: rgba(255, 200, 61, 0.38); outline: 2px dashed var(--sun-2); outline-offset: 2px; border-radius: 4px; cursor: help; position: relative;
}
body.review .dark [data-confirm] { background: rgba(255, 200, 61, 0.18); }
body.review [data-confirm]:hover::after {
  content: "To confirm: " attr(data-confirm);
  position: absolute; left: 0; top: calc(100% + 8px); z-index: 50; width: max-content; max-width: min(320px, 80vw);
  background: var(--ink); color: #fff; font: 500 13px/1.4 var(--sans); letter-spacing: 0; text-transform: none; font-style: normal;
  padding: 10px 12px; border-radius: 10px; box-shadow: var(--shadow-lg); white-space: normal; text-align: left;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(245, 242, 236, 0.78); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 700 20px/1 var(--display); letter-spacing: -0.03em; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 12px; background: var(--ink); color: var(--sun);
  display: grid; place-items: center; font: 700 15px/1 var(--display); letter-spacing: -0.04em;
  transition: transform .4s var(--ease);
}
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.05); }
.brand small { display: block; font: 500 12px/1.2 var(--sans); letter-spacing: 0; color: var(--muted); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  text-decoration: none; font-weight: 500; font-size: 15px; padding: 9px 13px; border-radius: 99px; color: var(--ink-3);
  transition: background .2s, color .2s;
}
.nav a:not(.btn):hover { background: rgba(11,19,36,.06); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); background: rgba(11,19,36,.07); }
.nav .btn { margin-left: 10px; padding: 12px 18px; }
.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; border-radius: 12px; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.menu-btn span:nth-child(1) { top: 16px; } .menu-btn span:nth-child(2) { top: 21px; } .menu-btn span:nth-child(3) { top: 26px; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 960px) {
  .menu-btn { display: block; }
  .nav {
    position: fixed; inset: 0; top: 0; z-index: -1; flex-direction: column; align-items: stretch; justify-content: center; gap: 4px;
    background: var(--paper); padding: 100px var(--gutter) 40px;
    opacity: 0; pointer-events: none; transition: opacity .3s var(--ease);
  }
  .nav a:not(.btn) { font: 700 clamp(2rem, 9vw, 3rem)/1.1 var(--display); letter-spacing: -0.03em; padding: 8px 0; background: none !important; }
  .nav .btn { margin: 24px 0 0; justify-content: center; padding: 18px; font-size: 17px; }
  .menu-open .nav { opacity: 1; pointer-events: auto; }
  .menu-open { overflow: hidden; }
  .menu-open .site-header { background: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* Sections */
section { position: relative; }
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.dark { background: var(--ink); color: #fff; }
.dark p { color: #c9d1e0; }
.tint { background: var(--paper-2); }
.section-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px 40px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .lede { margin: 18px 0 0; }
@media (max-width: 760px) { .section-head { grid-template-columns: 1fr; } }

/* Hero */
.hero { padding: clamp(36px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 {
  font-size: clamp(4rem, 13vw, 10.5rem); line-height: 0.86; letter-spacing: -0.055em; font-weight: 800;
  margin: 0 0 28px;
}
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise 1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .1s; }
.hero h1 .blue { color: var(--blue); }
@keyframes rise { to { transform: none; } }
.hero-role { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; background: var(--card); border: 1px solid var(--line); padding: 8px 14px 8px 8px; border-radius: 99px; margin-bottom: 26px; box-shadow: var(--shadow); }
.hero-role img { height: 22px; width: auto; background: #fff; border-radius: 6px; padding: 3px 6px; box-sizing: content-box; }
.hero-sub { font: 500 clamp(1.3rem, 2.3vw, 1.75rem)/1.3 var(--display); letter-spacing: -0.02em; max-width: 26ch; margin-bottom: 16px; }
.hero-support { color: var(--muted); max-width: 52ch; margin-bottom: 32px; }
.hero-art { position: relative; aspect-ratio: 4 / 5; max-width: 520px; justify-self: end; width: 100%; }
.hero-photo {
  position: absolute; inset: 0 8% 6% 0; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg);
  transform: rotate(-2deg); transition: transform .6s var(--ease);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 20%; }
.hero-art:hover .hero-photo { transform: rotate(0deg); }
.hero-inset {
  position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 4/3; border-radius: 18px; overflow: hidden;
  border: 6px solid var(--paper); box-shadow: var(--shadow-lg); transform: rotate(3deg);
}
.hero-inset img { width: 100%; height: 100%; object-fit: cover; }
.hero-inset figcaption { position: absolute; left: 8px; bottom: 8px; right: 8px; font-size: 11px; font-weight: 600; color: #fff; background: rgba(11,19,36,.7); backdrop-filter: blur(6px); padding: 5px 8px; border-radius: 8px; line-height: 1.3; }
.hero-chip {
  position: absolute; left: -6%; top: 14%; background: var(--card); border-radius: 18px; padding: 14px 18px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px; animation: float 6s ease-in-out infinite;
}
.hero-chip b { font: 800 30px/1 var(--display); letter-spacing: -0.04em; color: var(--blue); }
.hero-chip > span { font-size: 13px; line-height: 1.3; color: var(--muted); font-weight: 500; }
@keyframes float { 50% { transform: translateY(-10px); } }

.badge-spin { position: absolute; right: 2%; top: -4%; width: 132px; height: 132px; z-index: 3; }
.badge-spin svg { width: 100%; height: 100%; animation: spin 22s linear infinite; }
.badge-spin text { font: 700 9px var(--sans); letter-spacing: 0.08em; text-transform: uppercase; fill: var(--ink); }
.badge-spin .peace { position: absolute; inset: 0; display: grid; place-items: center; font-size: 40px; }
.badge-spin::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--sun); box-shadow: var(--shadow); z-index: -1; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { justify-self: center; max-width: 440px; margin-top: 12px; }
  .hero-chip { left: 0; }
  .badge-spin { width: 108px; height: 108px; }
}

/* Marquee */
.marquee { border-block: 1px solid var(--line); background: var(--card); overflow: hidden; padding: 20px 0; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font: 600 clamp(1.1rem, 2vw, 1.5rem)/1 var(--display); letter-spacing: -0.02em; white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.marquee span::after { content: "✌"; color: var(--blue); font-size: .8em; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Big quote intro */
.statement { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.statement blockquote { margin: 0; font: 400 clamp(2.4rem, 5.5vw, 4.6rem)/1 var(--serif); font-style: italic; letter-spacing: -0.02em; }
.statement blockquote::before { content: "“"; display: block; font-size: 1.6em; line-height: .6; color: var(--blue); }
.statement cite { display: block; margin-top: 22px; font: 600 14px/1.4 var(--sans); font-style: normal; color: var(--muted); }
.statement-body p { font-size: 1.15rem; }
.statement-body p:first-child { font: 500 clamp(1.35rem, 2.2vw, 1.7rem)/1.35 var(--display); letter-spacing: -0.02em; color: var(--ink); }
@media (max-width: 860px) { .statement { grid-template-columns: 1fr; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-light); }
.stat { padding: 34px 28px 30px 0; border-bottom: 1px solid var(--line-light); }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line-light); }
.stat:nth-child(4n + 1) { padding-left: 0; border-left: 0; }
.stat b { display: block; font: 800 clamp(2.8rem, 5.5vw, 4.6rem)/0.95 var(--display); letter-spacing: -0.05em; color: #fff; font-variant-numeric: tabular-nums; }
.stat b em { font-style: normal; color: var(--sun); }
.stat b small { display: block; font: 600 13px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--sun); margin-bottom: 10px; }
.stat > span { display: block; margin-top: 12px; color: var(--muted-light); font-size: 15px; line-height: 1.45; max-width: 24ch; }
@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(odd) { padding-left: 0; border-left: 0; }
  .stat:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line-light); }
}
.stats-note { margin-top: 22px; font-size: 13px; color: var(--muted-light); }

/* Career seats */
.seats-wrap { position: relative; }
.seats {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 340px); gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px var(--gutter) 30px; margin: 0 calc(var(--gutter) * -1);
  scrollbar-width: none; cursor: grab;
}
.seats::-webkit-scrollbar { display: none; }
.seats.dragging { cursor: grabbing; scroll-snap-type: none; }
.seat {
  scroll-snap-align: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column; min-height: 330px; position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
  user-select: none;
}
.seat:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.seat .yr { font: 600 13px/1 var(--sans); color: var(--blue); letter-spacing: 0.04em; background: var(--blue-soft); padding: 7px 10px; border-radius: 99px; align-self: flex-start; }
.seat .num { position: absolute; right: 18px; top: 10px; font: 800 74px/1 var(--display); color: rgba(11,19,36,.05); letter-spacing: -0.06em; }
.seat h3 { margin: 22px 0 6px; }
.seat .org { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.seat .proves { margin-top: auto; padding-top: 18px; border-top: 1px dashed var(--line); font-size: 15px; line-height: 1.45; }
.seat .proves small { display: block; font: 600 11px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.seat--now { background: var(--blue); color: #fff; border-color: var(--blue); }
.seat--now .yr { background: rgba(255,255,255,.16); color: #fff; }
.seat--now .org, .seat--now .proves small { color: rgba(255,255,255,.75); }
.seat--now .proves { border-color: rgba(255,255,255,.3); }
.seat--now .num { color: rgba(255,255,255,.1); }
.seat--member { background: var(--sun); border-color: var(--sun); }
.seat--member .yr { background: rgba(11,19,36,.08); color: var(--ink); }
.seat--member .org, .seat--member .proves small { color: rgba(11,19,36,.7); }
.seats-ctrl { display: flex; align-items: center; gap: 14px; }
.seats-ctrl button {
  width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--card); cursor: pointer;
  display: grid; place-items: center; transition: background .2s, border-color .2s, transform .2s;
}
.seats-ctrl button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.seats-ctrl svg { width: 20px; height: 20px; }
.seats-progress { height: 3px; background: var(--line); border-radius: 3px; margin-top: 4px; overflow: hidden; }
.seats-progress i { display: block; height: 100%; width: 20%; background: var(--blue); border-radius: 3px; transition: width .15s linear; }

/* Mosaic */
.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(90px, 11vw, 150px); gap: 14px; }
.mosaic figure { margin: 0; border-radius: var(--radius-sm); overflow: hidden; position: relative; background: var(--ink-2); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mosaic figure:hover img { transform: scale(1.05); }
.mosaic figcaption {
  position: absolute; left: 12px; bottom: 12px; right: 12px; color: #fff; font-size: 13px; font-weight: 600; line-height: 1.35;
  text-shadow: 0 1px 12px rgba(0,0,0,.6); opacity: 0; transform: translateY(6px); transition: .4s var(--ease);
}
.mosaic figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(11,19,36,.7)); opacity: 0; transition: opacity .4s; }
.mosaic figure:hover figcaption, .mosaic figure:hover::after { opacity: 1; transform: none; }
.mosaic figcaption { z-index: 1; }
.m1 { grid-column: span 7; grid-row: span 3; }
.m2 { grid-column: span 5; grid-row: span 2; }
.m3 { grid-column: span 5; grid-row: span 1; }
.m3 img { object-position: center 30%; }
.m4 { grid-column: span 4; grid-row: span 2; }
.m5 { grid-column: span 4; grid-row: span 2; }
.m6 { grid-column: span 4; grid-row: span 2; }
@media (max-width: 760px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 10px; }
  .m1 { grid-column: span 2; grid-row: span 2; }
  .m2, .m3, .m4, .m5, .m6 { grid-column: span 1; grid-row: span 1; }
  .m3 { grid-column: span 2; }
  .mosaic figcaption { opacity: 1; transform: none; font-size: 12px; }
  .mosaic figure::after { opacity: 1; }
}

/* Feature cards (TEAM) */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature .ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); margin-bottom: 26px; }
.feature .ico svg { width: 26px; height: 26px; }
.feature h3 { margin-bottom: 10px; }
.feature p { color: var(--muted); margin: 0; font-size: 16px; }
.feature .big { font: 800 2.4rem/1 var(--display); letter-spacing: -0.04em; color: var(--blue); margin-bottom: 8px; display: block; }
.feature--accent { background: var(--ink); color: #fff; border-color: var(--ink); }
.feature--accent p { color: var(--muted-light); }
.feature--accent .ico { background: rgba(255,200,61,.16); color: var(--sun); }
.feature--accent .big { color: var(--sun); }
.feature a { position: absolute; inset: 0; z-index: 1; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } }

/* Testimonials */
.quotes-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; align-items: stretch; }
.quote-feature {
  background: var(--blue); color: #fff; border-radius: var(--radius); padding: clamp(30px, 4vw, 52px); display: flex; flex-direction: column; justify-content: space-between; min-height: 420px; position: relative; overflow: hidden;
}
.quote-feature::before { content: "“"; position: absolute; right: 24px; top: -40px; font: 400 260px/1 var(--serif); color: rgba(255,255,255,.12); }
.quote-feature blockquote { margin: 0; font: 400 clamp(1.7rem, 3vw, 2.4rem)/1.18 var(--serif); letter-spacing: -0.01em; position: relative; }
.quote-stack { display: grid; gap: 16px; }
.quote {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; margin: 0;
}
.quote blockquote { margin: 0 0 18px; font-size: 16.5px; line-height: 1.55; }
.who { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 1.35; }
.who .av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 700 14px/1 var(--display); background: var(--blue-soft); color: var(--blue); flex: none; }
.quote-feature .who .av { background: rgba(255,255,255,.18); color: #fff; }
.who b { display: block; font-weight: 600; }
.who span { color: var(--muted); }
.quote-feature .who span { color: rgba(255,255,255,.75); }
@media (max-width: 860px) { .quotes-grid { grid-template-columns: 1fr; } .quote-feature { min-height: 0; } }

.pulls { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.pull { background: var(--card); border: 1px solid var(--line); border-radius: 99px; padding: 10px 16px; font-size: 14.5px; transition: transform .25s var(--ease), background .2s; }
.pull:hover { transform: translateY(-2px) rotate(-1deg); background: #fff; }
.pull q { font-family: var(--serif); font-style: italic; font-size: 1.15em; }
.pull span { color: var(--muted); }
.quotes-wall { columns: 3 300px; column-gap: 16px; }
.quotes-wall .quote { break-inside: avoid; margin-bottom: 16px; }

/* Writing */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post {
  display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-decoration: none; min-height: 250px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
}
.post:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.post time { font-size: 13px; font-weight: 600; color: var(--blue); letter-spacing: .02em; }
.post h3 { margin: 14px 0 auto; font-size: clamp(1.2rem, 1.8vw, 1.4rem); }
.post .meta { display: flex; justify-content: space-between; align-items: center; padding-top: 22px; color: var(--muted); font-size: 14px; }
.post .meta svg { width: 20px; height: 20px; transition: transform .3s var(--ease); }
.post:hover .meta svg { transform: translate(3px, -3px); color: var(--blue); }
.post--feature { background: var(--ink); color: #fff; border-color: var(--ink); }
.post--feature time { color: var(--sun); }
.post--feature .meta { color: var(--muted-light); }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .posts { grid-template-columns: 1fr; } }

.list { border-top: 1px solid var(--line); }
.list a, .list .row { display: grid; grid-template-columns: 140px 1fr auto; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .3s var(--ease), background .3s; }
.list a:hover { padding-left: 12px; padding-right: 12px; background: var(--card); }
.list time, .list .when { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.list h3 { font-size: clamp(1.1rem, 1.7vw, 1.3rem); }
.list .src { font-size: 14px; color: var(--muted); margin-top: 4px; }
.list svg { width: 22px; height: 22px; color: var(--blue); transition: transform .3s var(--ease); }
.list a:hover svg { transform: translate(3px, -3px); }
.dark .list { border-color: var(--line-light); }
.dark .list a, .dark .list .row { border-color: var(--line-light); }
.dark .list a:hover { background: var(--ink-2); }
.dark .list time, .dark .list .src, .dark .list .when { color: var(--muted-light); }
.dark .list svg { color: var(--sun); }
@media (max-width: 640px) { .list a, .list .row { grid-template-columns: 1fr auto; gap: 6px 16px; } .list time, .list .when { grid-column: 1 / -1; } }

/* Media / speaking strip */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.photo-frame { border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow-lg); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-frame figcaption { position: absolute; left: 14px; bottom: 14px; background: rgba(11,19,36,.72); backdrop-filter: blur(8px); color: #fff; font-size: 13px; font-weight: 500; padding: 8px 12px; border-radius: 10px; max-width: calc(100% - 28px); }
.topics { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 32px; padding: 0; list-style: none; }
.topics li { border: 1.5px solid var(--line); border-radius: 99px; padding: 9px 15px; font-size: 15px; font-weight: 500; background: var(--card); }
.dark .topics li { border-color: var(--line-light); background: var(--ink-2); color: #fff; }

/* Final CTA */
.cta-final { position: relative; overflow: hidden; color: #fff; text-align: center; padding: clamp(110px, 14vw, 200px) 0; isolation: isolate; }
.cta-final > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.08); }
.cta-final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(0,58,110,.82), rgba(11,19,36,.94)); }
.cta-final h2 { font-size: clamp(2.6rem, 7vw, 6rem); letter-spacing: -0.045em; max-width: 14ch; margin: 0 auto 22px; }
.cta-final p { color: #d6deeb; font-size: 1.2rem; max-width: 46ch; margin: 0 auto 36px; }
.cta-final .btn-row { justify-content: center; }

/* Page hero (inner pages) */
.page-hero { padding: clamp(56px, 9vw, 120px) 0 clamp(40px, 6vw, 72px); }
.page-hero h1 { font-size: clamp(3rem, 9vw, 7rem); letter-spacing: -0.05em; font-weight: 800; line-height: .92; margin-bottom: 24px; }
.page-hero h1 .serif { font-weight: 400; color: var(--blue); letter-spacing: -0.03em; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 26px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

/* Prose */
.prose { max-width: 68ch; }
.prose p { font-size: 1.1rem; line-height: 1.7; }
.prose p.big { font: 500 clamp(1.35rem, 2.2vw, 1.65rem)/1.4 var(--display); letter-spacing: -0.02em; }
.prose h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin: 56px 0 20px; }
.prose h3 { margin: 36px 0 12px; }

/* Timeline */
.timeline { position: relative; list-style: none; margin: 0; padding: 0; }
.timeline::before { content: ""; position: absolute; left: 150px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { display: grid; grid-template-columns: 150px 1fr; gap: 0 44px; padding: 0 0 44px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 144px; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 3px solid var(--blue); }
.timeline li.now::before { background: var(--blue); box-shadow: 0 0 0 6px rgba(0,88,165,.18); }
.timeline li.member::before { border-color: var(--sun-2); background: var(--sun); }
.timeline .when { font: 600 14px/1.5 var(--sans); color: var(--muted); padding-right: 24px; text-align: right; font-variant-numeric: tabular-nums; }
.timeline h3 { font-size: 1.35rem; margin-bottom: 4px; }
.timeline .org { color: var(--blue); font-weight: 600; margin-bottom: 10px; }
.timeline p { color: var(--muted); margin: 0; max-width: 60ch; }
@media (max-width: 700px) {
  .timeline::before { left: 6px; }
  .timeline li { grid-template-columns: 1fr; padding-left: 36px; }
  .timeline li::before { left: 0; }
  .timeline .when { text-align: left; margin-bottom: 6px; padding: 0; }
}

/* Results panel */
.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-light); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-light); }
.results div { background: var(--ink-2); padding: 28px; }
.results b { display: block; font: 800 clamp(2rem, 4vw, 3rem)/1 var(--display); letter-spacing: -0.04em; color: #fff; }
.results span { display: block; color: var(--muted-light); font-size: 14.5px; margin-top: 8px; }
.results .hot { background: var(--sun); }
.results .hot b, .results .hot span { color: var(--ink); }
@media (max-width: 760px) { .results { grid-template-columns: 1fr 1fr; } }

/* Fact cards */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fact { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.fact .emoji { font-size: 34px; margin-bottom: 12px; display: block; }
.fact h3 { font-size: 1.15rem; margin-bottom: 6px; }
.fact p { color: var(--muted); margin: 0; font-size: 15.5px; }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr; } }

/* Audience cards */
.audiences { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.aud {
  display: flex; flex-direction: column; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; min-height: 230px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s;
}
.aud:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); background: var(--blue); color: #fff; }
.aud:hover p { color: rgba(255,255,255,.8); }
.aud .n { font: 800 15px/1 var(--display); color: var(--blue); margin-bottom: 40px; }
.aud:hover .n { color: var(--sun); }
.aud h3 { margin-bottom: 8px; }
.aud p { color: var(--muted); font-size: 15px; margin: 0 0 18px; }
.aud .go { margin-top: auto; font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 6px; }
.aud .go svg { width: 16px; height: 16px; }
@media (max-width: 960px) { .audiences { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .audiences { grid-template-columns: 1fr; } }

/* Tables */
.kv { width: 100%; border-collapse: collapse; font-size: 16px; }
.kv th, .kv td { text-align: left; padding: 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.kv th { width: 34%; font-weight: 600; color: var(--muted); padding-right: 24px; }
.dark .kv th, .dark .kv td { border-color: var(--line-light); }

/* Bio tabs */
.tabs { display: flex; gap: 6px; background: var(--paper-2); border-radius: 99px; padding: 5px; width: max-content; max-width: 100%; overflow-x: auto; margin-bottom: 20px; }
.tabs button { border: 0; background: none; padding: 10px 18px; border-radius: 99px; font-weight: 600; font-size: 14.5px; cursor: pointer; white-space: nowrap; color: var(--muted); transition: background .2s, color .2s; }
.tabs button[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.bio-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); position: relative; }
.bio-panel p { font-size: 1.05rem; line-height: 1.7; }
.bio-panel p:last-of-type { margin-bottom: 0; }
.copy-btn { position: absolute; top: 16px; right: 16px; border: 1px solid var(--line); background: var(--paper); border-radius: 99px; padding: 8px 14px; font-size: 13px; font-weight: 600; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.copy-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.bio-panel .words { display: block; font-size: 13px; color: var(--muted); margin-bottom: 14px; font-weight: 600; }

/* Forms */
.form { display: grid; gap: 16px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form .two { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,88,165,.15); }
.form-note { font-size: 13.5px; color: var(--muted); }
.form-done { display: none; background: var(--blue-soft); border-radius: 14px; padding: 18px; font-weight: 500; }
.form.sent .form-done { display: block; }

.contact-cards { display: grid; gap: 14px; }
.ccard { display: flex; gap: 18px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s; }
a.ccard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.ccard .ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--blue); color: #fff; flex: none; }
.ccard .ico svg { width: 24px; height: 24px; }
.ccard b { display: block; font: 700 1.15rem/1.2 var(--display); letter-spacing: -0.01em; }
.ccard span { color: var(--muted); font-size: 15px; }
.ccard--sun .ico { background: var(--sun); color: var(--ink); }

.callout { border-left: 4px solid var(--sun); background: var(--card); padding: 22px 26px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 1.05rem; }
.callout q { font-family: var(--serif); font-style: italic; font-size: 1.3em; line-height: 1.3; }

/* Footer */
.site-footer { background: var(--ink); color: #c9d1e0; padding: 80px 0 36px; font-size: 15px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line-light); }
.footer-big { font: 800 clamp(2.2rem, 4vw, 3.2rem)/0.95 var(--display); letter-spacing: -0.045em; color: #fff; margin-bottom: 18px; }
.footer-big span { color: var(--sun); }
.site-footer h4 { font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; color: #e7ecf4; }
.site-footer a:hover { color: var(--sun); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 28px; font-size: 13.5px; color: var(--muted-light); }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > :first-child { grid-column: 1 / -1; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero h1 .line > span { transform: none; }
}

/* Facts page */
.facts-doc { max-width: 820px; }
.facts-doc h2 { font-size: 1.6rem; margin: 48px 0 16px; }
.facts-doc ul { padding-left: 1.2em; }
.facts-doc li { margin-bottom: 8px; }
.facts-doc code { background: var(--paper-2); padding: 2px 6px; border-radius: 6px; font-size: .9em; }

/* Utilities */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.muted { color: var(--muted); }
.stack-lg > * + * { margin-top: clamp(56px, 7vw, 96px); }

/* Small phones */
.stat { min-width: 0; }
@media (max-width: 520px) {
  .stat b { font-size: 2.15rem; }
  .stat > span { font-size: 14px; }
  .stat:nth-child(even) { padding-left: 16px; }
  .hero-role { font-size: 13px; gap: 8px; padding: 6px 12px 6px 6px; }
  .hero-role img { height: 16px; }
  .results div { padding: 20px; }
  .results b { font-size: 1.8rem; }
}
