/* Ashley Rousseau case files. Depth design system: deep sea, aqua, Host Grotesk and DM Mono. */

@import url("https://fonts.googleapis.com/css2?family=Host+Grotesk:ital,wght@0,300..800;1,300..800&family=DM+Mono:wght@300;400;500&display=swap");

:root {
  /* Depth palette */
  --abyss: #0A1E24;
  --sea: #0F2A33;
  --current: #163B46;
  --tide: #2B4A54;
  --slate: #5E747B;
  --aqua: #27C2B7;
  --aqua-deep: #086B66;
  --aqua-soft: rgba(39, 194, 183, 0.16);
  --haze: #B9CCD0;
  --mist: #8FAAB0;
  --porcelain: #F8FAFA;
  --fog: #E3E9E8;
  --line: #D5DEDD;
  --hair: rgba(255, 255, 255, 0.12);

  /* Role tokens. Names kept from v1 so every page and inline style follows the palette. */
  --paper: #FFFFFF;
  --paper-2: var(--porcelain);
  --paper-3: var(--fog);
  --ink: var(--sea);
  --ink-2: var(--tide);
  --ink-3: var(--slate);
  --rule: var(--line);
  --signal: var(--aqua-deep);
  --signal-deep: var(--aqua-deep);
  --signal-soft: var(--aqua-soft);
  --night: var(--abyss);
  --night-2: var(--sea);
  --night-rule: #1F3E48;
  --night-text: #F3F7F7;
  --night-dim: var(--haze);

  --display: "Host Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body: "Host Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "DM Mono", "SFMono-Regular", Menlo, monospace;

  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");

  --max: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--signal-deep);
}

::selection {
  background: var(--signal);
  color: var(--paper);
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.mono {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Reading progress */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
  background: var(--signal);
  z-index: 60;
}

/* Masthead */
.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}

.masthead .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 56px;
}

.brand {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand em {
  color: var(--signal);
  font-style: normal;
}

.masthead nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

.masthead nav a {
  text-decoration: none;
  color: var(--ink-2);
}

.masthead nav a:hover {
  color: var(--signal-deep);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}

.btn:hover {
  background: var(--signal);
  border-color: var(--signal);
  color: var(--paper);
  transform: translateY(-1px);
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
}

.btn.ghost:hover {
  color: var(--paper);
}

.btn .arrow {
  transition: transform 0.3s var(--ease);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* Placeholder links the owner fills in later */
.placeholder {
  border-style: dashed !important;
}

.placeholder::after {
  content: "link to add";
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--signal-soft);
  color: var(--signal-deep);
  font-size: 0.6rem;
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  padding: clamp(48px, 8vw, 110px) 0 clamp(40px, 6vw, 80px);
  overflow: hidden;
}

.hero > .wrap {
  position: relative;
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  right: -8vw;
  top: -12vw;
  width: 46vw;
  height: 46vw;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, var(--signal-soft), transparent 62%);
  opacity: 0.75;
  pointer-events: none;
  z-index: 0;
}

.casefile {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
  color: var(--ink-2);
  margin-bottom: clamp(22px, 3vw, 36px);
}

.casefile .tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
}

.casefile .tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3.1rem, 10.5vw, 9.6rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
  max-width: 11ch;
}

.hero h1 em {
  font-style: normal;
  color: var(--signal);
}

.hero h1 .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}

.hero h1 .line > span {
  display: inline-block;
  transform: translateY(105%);
  animation: rise 1.1s var(--ease) forwards;
}

.hero h1 .line:nth-child(2) > span { animation-delay: 0.12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: 0.24s; }

@keyframes rise {
  to { transform: translateY(0); }
}

.dek {
  margin: clamp(24px, 3vw, 40px) 0 0;
  max-width: 34ch;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.1vw, 1.85rem);
  line-height: 1.3;
  font-weight: 350;
  color: var(--ink-2);
  opacity: 0;
  animation: fade 1s var(--ease) 0.5s forwards;
}

@keyframes fade {
  to { opacity: 1; }
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
}

/* Stat ledger */
.ledger {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
}

.ledger .stat {
  padding: 18px 16px 18px 0;
  border-bottom: 1px solid var(--rule);
}

.ledger .stat:nth-child(odd) {
  border-right: 1px solid var(--rule);
}

.ledger .stat:nth-child(even) {
  padding-left: 18px;
}

.stat .num {
  display: block;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.3rem, 4.6vw, 3.9rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums lining-nums;
}

.stat .num small {
  font-size: 0.45em;
  letter-spacing: 0;
  margin-left: 2px;
  color: var(--signal);
}

.stat .label {
  display: block;
  margin-top: 8px;
  font-size: 0.92rem;
  line-height: 1.35;
  color: var(--ink-2);
}

/* Evidence stamps */
.ev {
  display: inline-block;
  margin-top: 8px;
  padding: 2px 7px;
  border: 1px solid currentColor;
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}

.ev.verified { color: #3f6b3a; }
.ev.agency { color: #8a5a12; }
.ev.estimate { color: var(--signal-deep); }
.ev.email { color: #3b5578; }

/* Ticker band */
.ticker {
  background: var(--night);
  color: var(--night-text);
  border-block: 1px solid var(--night-rule);
  overflow: hidden;
  padding: 18px 0;
}

.ticker .track {
  display: flex;
  width: max-content;
  gap: 48px;
  animation: ticker 38s linear infinite;
}

.ticker:hover .track {
  animation-play-state: paused;
}

.ticker span {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  font-style: normal;
  font-weight: 350;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 48px;
}

.ticker span::after {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--signal);
  transform: rotate(45deg);
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* Sections */
.section {
  padding: clamp(64px, 9vw, 128px) 0;
  border-bottom: 1px solid var(--rule);
}

.section.tight {
  padding: clamp(48px, 6vw, 88px) 0;
}

.section.dark {
  background: var(--night);
  color: var(--night-text);
  border-bottom-color: var(--night-rule);
}

.section.dark .kicker,
.section.dark .lede,
.section.dark p {
  color: var(--night-dim);
}

.section.dark h2,
.section.dark h3 {
  color: var(--night-text);
}

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

.sec-head {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 24px;
  margin-bottom: clamp(32px, 5vw, 64px);
}

.sec-num {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--signal);
  padding-top: 0.9em;
  border-top: 2px solid var(--signal);
  align-self: start;
}

.kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--ink-3);
}

h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 4.8vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  max-width: 18ch;
}

h2 em {
  font-style: normal;
  color: var(--signal);
}

h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.25rem, 1.9vw, 1.6rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.lede {
  margin: 18px 0 0;
  max-width: 58ch;
  font-size: 1.08em;
  color: var(--ink-2);
}

.body-cols {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px clamp(24px, 4vw, 56px);
}

.body-cols > :first-child {
  grid-column: 2;
}

.body-cols p {
  margin: 0 0 1em;
}

.dropcap::first-letter {
  float: left;
  font-family: var(--display);
  font-size: 4.4em;
  line-height: 0.82;
  padding: 0.06em 0.1em 0 0;
  color: var(--signal);
}

.callout {
  position: relative;
  padding: 28px 28px 26px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 2px;
}

.callout .mono {
  color: var(--signal);
}

.callout p {
  margin: 10px 0 0;
  font-family: var(--display);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  line-height: 1.3;
  font-weight: 350;
}

/* Snapshot */
.snapshot {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--rule);
}

.snapshot div {
  padding: 18px 18px 20px 0;
}

.snapshot div + div {
  padding-left: 18px;
  border-left: 1px solid var(--rule);
}

.snapshot dt {
  color: var(--ink-3);
  margin-bottom: 6px;
}

.snapshot dd {
  margin: 0;
  font-weight: 500;
  line-height: 1.4;
}

/* Role split */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 2px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.split > div {
  background: var(--paper);
  padding: clamp(22px, 3vw, 36px);
}

.split > div:last-child {
  background: var(--paper-2);
}

.split ul {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.split li {
  position: relative;
  padding: 10px 0 10px 26px;
  border-top: 1px solid var(--rule);
  line-height: 1.45;
}

.split li::before {
  position: absolute;
  left: 0;
  top: 10px;
  font-family: var(--mono);
  font-size: 0.8rem;
}

.split .mine li::before {
  content: "\2192";
  color: var(--signal);
}

.split .theirs li::before {
  content: "+";
  color: var(--ink-3);
}

/* Decision cards */
.decisions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.decision {
  position: relative;
  padding: 26px 24px 24px;
  background: var(--night-2);
  border: 1px solid var(--night-rule);
  border-radius: 2px;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease);
}

.decision:hover {
  transform: translateY(-4px);
  border-color: var(--signal);
}

.decision .n {
  font-family: var(--display);
  font-size: 3.4rem;
  line-height: 1;
  font-style: normal;
  color: var(--signal);
}

.decision h3 {
  margin-top: 12px;
}

.decision p {
  margin: 0 0 14px;
  font-size: 0.96rem;
  line-height: 1.55;
}

.decision .trade {
  margin: 0;
  padding-top: 12px;
  border-top: 1px dashed var(--night-rule);
  font-size: 0.86rem;
  color: var(--night-text);
}

.decision .trade b {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--signal);
  font-weight: 500;
  margin-right: 6px;
}

.decision.wide {
  grid-column: span 2;
}

/* Funnel chart */
.chart {
  border-top: 2px solid var(--ink);
  padding-top: 22px;
}

.chart .title {
  font-family: var(--display);
  font-size: clamp(1.2rem, 1.9vw, 1.55rem);
  line-height: 1.2;
  margin: 0 0 22px;
}

.bar {
  margin-bottom: 18px;
}

.bar .row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.92rem;
  margin-bottom: 6px;
}

.bar .track {
  position: relative;
  height: 44px;
  background: var(--paper-3);
  overflow: hidden;
}

.bar .fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: var(--ink);
  transition: transform 1.4s var(--ease);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 14px;
  color: var(--paper);
  font-family: var(--display);
  font-size: 1.35rem;
  font-variant-numeric: tabular-nums;
}

.bar:nth-child(3) .fill { transition-delay: 0.18s; }
.bar:nth-child(4) .fill { transition-delay: 0.36s; }
.bar.hot .fill { background: var(--signal); }

.is-in .bar .fill {
  transform: scaleX(1);
}

.chart .source {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--ink-3);
}

/* Media */
.media-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.frame {
  position: relative;
  margin: 0;
  background: var(--night);
  border: 1px solid var(--ink);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(22, 19, 15, 0.45);
}

.frame .chrome {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  background: var(--night-2);
  border-bottom: 1px solid var(--night-rule);
}

.frame .chrome i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--night-rule);
}

.frame .chrome i:first-child {
  background: var(--signal);
}

figure {
  margin: 0;
}

figcaption {
  margin-top: 10px;
  font-size: 0.82rem;
  color: var(--ink-3);
  line-height: 1.45;
}

.section.dark figcaption {
  color: var(--night-dim);
}

.reel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.reel video,
.reel img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--night-rule);
  background: var(--night-2);
}

.deliverables {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--night-rule);
  margin-top: clamp(36px, 5vw, 64px);
}

.deliverables div {
  padding: 18px 14px 6px 0;
}

.deliverables div + div {
  padding-left: 14px;
  border-left: 1px solid var(--night-rule);
}

.deliverables .num {
  display: block;
  font-family: var(--display);
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1;
  color: var(--night-text);
  font-variant-numeric: tabular-nums;
}

.deliverables span:last-child {
  display: block;
  margin-top: 6px;
  font-size: 0.86rem;
  color: var(--night-dim);
}

.section:not(.dark) .deliverables {
  border-top-color: var(--ink);
}

.section:not(.dark) .deliverables div + div {
  border-left-color: var(--rule);
}

.section:not(.dark) .deliverables .num {
  color: var(--ink);
}

.section:not(.dark) .deliverables span:last-child {
  color: var(--ink-2);
}

/* Timeline */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--cols, 6), minmax(0, 1fr));
  gap: 48px 0;
}

.tl {
  position: relative;
  padding: 26px 16px 0 0;
  border-top: 2px solid var(--ink);
}

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

.timeline.is-in .tl::after {
  transform: scaleX(1);
}

.timeline.is-in .tl:nth-child(2)::after { transition-delay: 0.15s; }
.timeline.is-in .tl:nth-child(3)::after { transition-delay: 0.3s; }
.timeline.is-in .tl:nth-child(4)::after { transition-delay: 0.45s; }
.timeline.is-in .tl:nth-child(5)::after { transition-delay: 0.6s; }
.timeline.is-in .tl:nth-child(6)::after { transition-delay: 0.75s; }
.timeline.is-in .tl:nth-child(7)::after { transition-delay: 0.9s; }
.timeline.is-in .tl:nth-child(8)::after { transition-delay: 1.05s; }

.tl::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--ink);
}

.tl.hot::before {
  background: var(--signal);
  border-color: var(--signal);
  box-shadow: 0 0 0 6px var(--signal-soft);
}

.tl .date {
  display: block;
  color: var(--signal-deep);
  margin-bottom: 6px;
}

.tl p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
}

.tl b {
  display: block;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.08rem;
  margin-bottom: 4px;
}

/* Clip cards (press) */
.clips {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 20px;
}

.clip {
  display: block;
  position: relative;
  padding: 26px 24px;
  background: var(--paper);
  border: 1px solid var(--ink);
  text-decoration: none;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.clip:hover {
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 var(--ink);
  color: inherit;
}

.clip .outlet {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
}

.clip .when {
  display: block;
  margin: 6px 0 16px;
  color: var(--signal-deep);
}

.clip blockquote {
  margin: 0;
  font-family: var(--display);
  font-style: normal;
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  line-height: 1.25;
  font-weight: 350;
}

.clip.lead {
  background: var(--ink);
  color: var(--paper);
}

.clip.lead .when {
  color: var(--signal);
}

.clip.lead:hover {
  box-shadow: 6px 6px 0 var(--signal);
  color: var(--paper);
}

/* Social pickup card */
.social-pickup {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) auto minmax(0, 1.3fr);
  grid-template-areas: "head reach body";
  gap: 36px;
  align-items: center;
  margin-top: 20px;
  padding: 26px 24px;
  border: 1px solid var(--ink);
  border-left: 6px solid var(--signal);
  background: var(--paper);
  text-decoration: none;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.social-pickup:hover {
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 var(--ink);
  color: inherit;
}

.social-pickup .kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--signal-deep);
}

.social-head {
  grid-area: head;
}

.social-who {
  display: block;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.25;
}

.social-reach {
  grid-area: reach;
  display: flex;
  gap: 32px;
  padding: 0 36px;
  border-left: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
}

.social-reach .num {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--signal);
}

.social-reach .lbl {
  display: block;
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--ink-2);
}

.social-body {
  grid-area: body;
}

.social-quote {
  margin: 0 0 8px;
  font-family: var(--display);
  font-style: normal;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  line-height: 1.25;
  font-weight: 350;
}

.social-meta {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink-2);
}

.social-cta {
  display: inline-block;
  margin-top: 14px;
  white-space: nowrap;
  color: var(--signal-deep);
}

.brief-cover {
  border: 1px solid var(--rule);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

/* Roadmap variant of the lessons grid */
.roadmap .lesson::before {
  display: none;
}

.roadmap .lesson {
  border-top-width: 2px;
}

.roadmap .lesson h3 {
  margin-top: 6px;
}

/* Pipeline (open conversations) */
.pipeline {
  margin-top: 56px;
  padding: clamp(24px, 3.4vw, 44px);
  background: var(--paper);
  border: 1px dashed var(--ink-3);
}

.pipeline-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 26px;
}

.pipeline-head h3 {
  margin: 8px 0 12px;
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  max-width: 22ch;
}

.pipeline-head h3 em {
  color: var(--signal);
}

.pipeline-head p {
  margin: 0;
  max-width: 60ch;
  color: var(--ink-2);
}

.stamp {
  flex: none;
  padding: 12px 16px;
  border: 2px solid var(--signal-deep);
  border-radius: 4px;
  color: var(--signal-deep);
  font-size: 0.7rem;
  line-height: 1.5;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  transform: rotate(-4deg);
}

.pipe-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--ink);
}

.pipe-list li {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 170px minmax(0, 2fr);
  gap: 20px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}

.pipe-list .outlet {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.pipe-list .stage {
  justify-self: start;
  padding: 3px 8px;
  border: 1px solid var(--ink-3);
  border-radius: 999px;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
  white-space: nowrap;
}

.pipe-list .stage.hot {
  border-color: var(--signal);
  color: var(--signal-deep);
}

.pipe-list .stage.booked {
  background: var(--signal);
  border-color: var(--signal);
  color: var(--paper);
}

.pipe-list .what {
  color: var(--ink-2);
  font-size: 0.95rem;
}

.pipeline .source {
  margin: 18px 0 0;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}

.pipeline .source .ev {
  margin: 0 0 0 8px;
}

/* Note cards (light decision cards) */
.amp-notes {
  display: grid;
  gap: 16px;
}

.note {
  padding: 22px 22px 18px;
  background: var(--paper-2);
  border-left: 3px solid var(--signal);
}

.note-tag {
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--signal-deep);
}

.note h3 {
  margin: 6px 0 8px;
}

.note p {
  margin: 0 0 10px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-2);
}

.note .note-trade {
  margin: 0;
  padding-top: 10px;
  border-top: 1px dashed var(--rule);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}

/* Results table */
.results {
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid var(--ink);
}

.results th,
.results td {
  text-align: left;
  vertical-align: top;
  padding: 18px 16px 18px 0;
  border-bottom: 1px solid var(--rule);
}

.results th {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.results td.big {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.results td .ev {
  margin-top: 0;
}

/* Quote */
.pull {
  position: relative;
  margin: 0;
  padding-left: clamp(0px, 8vw, 140px);
}

.pull::before {
  content: "\201C";
  position: absolute;
  left: 0;
  top: -0.32em;
  font-family: var(--display);
  font-size: clamp(6rem, 16vw, 14rem);
  line-height: 1;
  color: var(--signal);
}

.pull p {
  margin: 0;
  font-family: var(--display);
  font-weight: 350;
  font-size: clamp(1.6rem, 3.6vw, 3rem);
  line-height: 1.16;
  letter-spacing: -0.015em;
  max-width: 24ch;
}

.pull cite {
  display: block;
  margin-top: 22px;
  font-style: normal;
  color: var(--ink-3);
}

.quote-pair {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
}

.mini-quote {
  border-left: 2px solid var(--signal);
  padding-left: 20px;
}

.mini-quote p {
  margin: 0;
  font-family: var(--display);
  font-size: 1.25rem;
  line-height: 1.3;
  font-style: normal;
}

.mini-quote cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  color: var(--ink-3);
}

/* Lessons */
.lessons {
  counter-reset: l;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px clamp(24px, 4vw, 56px);
}

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

.poster-print {
  display: none;
}

.lesson {
  counter-increment: l;
  padding-top: 18px;
  border-top: 1px solid var(--ink);
}

.lesson::before {
  content: "0" counter(l);
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--signal);
  margin-bottom: 8px;
}

.lesson p {
  margin: 0;
  color: var(--ink-2);
}

/* Expandable method notes */
details.method {
  margin-top: clamp(28px, 4vw, 44px);
  border: 1px solid var(--rule);
  background: var(--paper);
}

details.method summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
}

details.method summary::-webkit-details-marker {
  display: none;
}

details.method summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 1.1rem;
  color: var(--signal);
  transition: transform 0.3s var(--ease);
}

details.method[open] summary::after {
  transform: rotate(45deg);
}

details.method .inner {
  padding: 0 20px 18px;
  color: var(--ink-2);
  font-size: 0.94rem;
}

details.method .inner ul {
  margin: 0;
  padding-left: 18px;
}

details.method .inner li {
  margin-bottom: 6px;
}

/* Offer / CTA */
.offer {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.offer .steps {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--night-rule);
}

.offer .steps li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--night-rule);
  color: var(--night-text);
}

.offer .steps li span {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--signal);
  padding-top: 3px;
}

.section.dark .btn {
  background: var(--signal);
  border-color: var(--signal);
}

.section.dark .btn:hover {
  background: var(--night-text);
  border-color: var(--night-text);
  color: var(--night);
}

.section.dark .btn.ghost {
  background: transparent;
  border-color: var(--night-text);
  color: var(--night-text);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* Footer and next case */
.next {
  display: block;
  padding: clamp(48px, 7vw, 96px) 0;
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
}

.next:hover {
  color: inherit;
}

.next .big {
  display: block;
  margin-top: 10px;
  font-family: var(--display);
  font-size: clamp(2rem, 6vw, 5.2rem);
  line-height: 1;
  letter-spacing: -0.03em;
  transition: color 0.4s var(--ease), transform 0.6s var(--ease);
}

.next:hover .big {
  color: var(--signal);
  transform: translateX(10px);
}

.footer {
  padding: 32px 0 48px;
  color: var(--ink-3);
  font-size: 0.86rem;
}

.footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

/* Hub */
.hub-hero h1 {
  max-width: 13ch;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 340px;
  padding: clamp(24px, 3vw, 40px);
  background: var(--paper);
  text-decoration: none;
  overflow: hidden;
  transition: background 0.5s var(--ease), color 0.5s var(--ease);
}

.card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.6s var(--ease);
}

.card:hover {
  background: var(--ink);
  color: var(--paper);
}

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

.card:hover .card-meta,
.card:hover .card-dek {
  color: var(--night-dim);
}

.card-meta {
  display: flex;
  justify-content: space-between;
  color: var(--ink-3);
}

.card-num {
  font-family: var(--display);
  font-style: normal;
  color: var(--signal);
  font-size: 1.1rem;
}

.card h3 {
  margin: auto 0 10px;
  padding-top: 40px;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 400;
}

.card-dek {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.96rem;
  max-width: 44ch;
}

.card.soon {
  cursor: default;
}

.card.soon h3 {
  opacity: 0.55;
}

.card.soon:hover {
  background: var(--paper);
  color: var(--ink);
}

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

.card.soon .card-meta .status {
  color: var(--signal-deep);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

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

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal-stagger.is-in > * {
  opacity: 1;
  transform: none;
}

.reveal-stagger.is-in > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.is-in > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.is-in > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.is-in > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.is-in > *:nth-child(6) { transition-delay: 0.4s; }

/* ==========================================================================
   Depth layer: section rhythm, texture, light and component treatments
   ========================================================================== */

body {
  font-weight: 400;
  letter-spacing: -0.005em;
}

a:hover {
  color: var(--signal);
}

::selection {
  background: var(--aqua);
  color: var(--abyss);
}

.mono {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

/* Dark contexts swap the accent to bright aqua and the text roles to light */
.hero,
.masthead,
.section.dark,
.ticker,
.callout,
.clip.lead {
  --signal: var(--aqua);
  --signal-deep: var(--aqua);
  --ink: var(--night-text);
  --ink-2: var(--haze);
  --ink-3: var(--mist);
  --rule: var(--hair);
}

/* Texture and light on every dark band */
.hero,
.section.dark {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--abyss);
  color: var(--night-text);
}

.hero::before,
.section.dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: var(--grain);
  opacity: 0.07;
}

.hero::after,
.section.dark::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  width: 760px;
  height: 760px;
  right: -240px;
  top: -320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(39, 194, 183, 0.22), rgba(39, 194, 183, 0.06) 42%, transparent 68%);
  opacity: 1;
  animation: drift 24s ease-in-out infinite alternate;
}

.section.dark:nth-of-type(even)::after {
  right: auto;
  left: -300px;
  top: auto;
  bottom: -420px;
  animation-duration: 30s;
}

.hero .glow-b {
  position: absolute;
  z-index: -1;
  left: 8%;
  bottom: -520px;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 59, 70, 0.9), transparent 64%);
  pointer-events: none;
  animation: drift 30s ease-in-out infinite alternate-reverse;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-60px, 50px, 0) scale(1.08); }
}

.section.dark > .wrap,
.hero > .wrap {
  position: relative;
  z-index: 1;
}

/* Masthead floats on the dark hero */
.masthead {
  background: rgba(10, 30, 36, 0.94);
  border-bottom: 1px solid var(--hair);
  color: var(--night-text);
}

.brand {
  font-weight: 500;
  letter-spacing: -0.02em;
}

.brand em {
  color: var(--aqua);
  font-weight: 300;
}

.masthead nav a {
  color: var(--haze);
  transition: color 0.3s var(--ease);
}

.masthead nav a:hover {
  color: var(--aqua);
}

/* Progress line with a soft glow */
.progress {
  height: 2px;
  background: var(--aqua);
  box-shadow: 0 0 12px rgba(39, 194, 183, 0.7);
}

/* Buttons fill from below */
.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 13px 22px;
  border: 1px solid var(--sea);
  background: var(--sea);
  color: #FFFFFF;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  transition: color 0.45s var(--ease), border-color 0.45s var(--ease);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--aqua);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
}

.btn:hover {
  background: var(--sea);
  border-color: var(--aqua);
  color: var(--abyss);
  transform: none;
}

.btn:hover::before {
  transform: none;
}

.btn.ghost {
  background: transparent;
  color: var(--sea);
}

.btn.ghost:hover {
  color: var(--abyss);
}

.masthead .btn.ghost,
.section.dark .btn.ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--night-text);
}

.masthead .btn.ghost:hover,
.section.dark .btn.ghost:hover {
  color: var(--abyss);
  border-color: var(--aqua);
}

.section.dark .btn {
  background: var(--aqua);
  border-color: var(--aqua);
  color: var(--abyss);
}

.section.dark .btn::before {
  background: #FFFFFF;
}

.section.dark .btn:hover {
  background: var(--aqua);
  border-color: #FFFFFF;
  color: var(--abyss);
}

.placeholder::after {
  background: var(--aqua-soft);
  color: inherit;
  font-family: var(--mono);
}

/* Hero */
.hero {
  padding: clamp(64px, 9vw, 132px) 0 clamp(56px, 7vw, 96px);
}

.casefile {
  color: var(--mist);
}

.casefile .tag {
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--aqua);
}

.casefile .tag::before {
  display: none;
}

.casefile > span + span {
  padding-left: 22px;
  border-left: 1px solid var(--hair);
}

.hero h1 {
  font-weight: 300;
  font-size: clamp(3rem, 8.2vw, 7.4rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
  color: #FFFFFF;
}

.hero h1 em,
h2 em,
.pipeline-head h3 em {
  font-style: normal;
  color: var(--signal);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
  padding-bottom: 0.04em;
}

.hero h1 em {
  background-position: 0 84%;
  animation: grow 1.2s var(--ease) 1s forwards;
}

@keyframes grow {
  to { background-size: 100% 2px; }
}

h2 em,
.pipeline-head h3 em {
  transition: background-size 1.2s var(--ease) 0.45s;
}

.is-in h2 em,
.is-in .pipeline-head h3 em,
.pipeline.is-in h3 em {
  background-size: 100% 2px;
}

.dek {
  font-family: var(--display);
  font-weight: 300;
  color: var(--haze);
  letter-spacing: -0.015em;
}

/* Stat ledger on the dark hero */
.ledger {
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.ledger .stat {
  border-bottom-color: var(--hair);
}

.ledger .stat:nth-child(odd) {
  border-right-color: var(--hair);
}

.stat .num {
  font-weight: 300;
  letter-spacing: -0.05em;
  color: #FFFFFF;
}

.stat .num small {
  color: var(--aqua);
}

.stat .label {
  color: var(--haze);
}

/* Evidence stamps */
.ev {
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 0.56rem;
  letter-spacing: 0.12em;
}

.ev.verified { color: var(--aqua-deep); }
.ev.agency { color: #7A5D12; }
.ev.estimate { color: var(--slate); }
.ev.email { color: #2C5A7E; }

.hero .ev.verified,
.section.dark .ev.verified { color: var(--aqua); }
.hero .ev.agency,
.section.dark .ev.agency { color: #E2C77E; }
.hero .ev.estimate,
.section.dark .ev.estimate { color: var(--haze); }
.hero .ev.email,
.section.dark .ev.email { color: #9CC8EA; }

/* Ticker: a thin aqua rule between outlets, no shapes */
.ticker {
  background: var(--sea);
  border-block: 1px solid var(--hair);
  padding: 20px 0;
}

.ticker .track {
  gap: 44px;
  animation-duration: 46s;
}

.ticker span {
  font-weight: 300;
  font-size: clamp(1.3rem, 2.3vw, 1.9rem);
  letter-spacing: -0.03em;
  color: var(--haze);
  gap: 44px;
}

.ticker span::after {
  width: 22px;
  height: 1px;
  background: var(--aqua);
  transform: none;
  opacity: 0.8;
}

.ticker.labelled {
  position: relative;
}

.ticker .tk-lbl {
  position: absolute;
  z-index: 2;
  left: 0;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  padding: 0 120px 0 var(--gutter);
  background: linear-gradient(90deg, var(--sea) calc(100% - 110px), rgba(15, 42, 51, 0));
  font-family: var(--mono);
  font-weight: 400;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--aqua);
  white-space: nowrap;
}

/* Section rhythm: white, porcelain and deep sea */
.section {
  border-bottom: 1px solid var(--line);
}

.section.dark,
.section.tint {
  border-bottom: 0;
}

.section.tint {
  background: var(--porcelain);
}

.section.dark .kicker,
.section.dark .lede,
.section.dark p {
  color: var(--haze);
}

.section.dark h2,
.section.dark h3 {
  color: #FFFFFF;
}

.sec-num {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--signal);
  border-top: 1px solid var(--signal);
  max-width: 64px;
}

.kicker {
  color: var(--slate);
}

h2 {
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

h3 {
  font-weight: 500;
  letter-spacing: -0.025em;
}

.lede {
  color: var(--tide);
}

.dropcap::first-letter {
  font-weight: 300;
  color: var(--signal);
}

/* Callout: a deep sea panel with light */
.callout {
  overflow: hidden;
  isolation: isolate;
  padding: 30px 30px 28px;
  background: var(--sea);
  color: #FFFFFF;
  border-radius: 16px;
}

.callout::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -120px;
  top: -160px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(39, 194, 183, 0.28), transparent 66%);
}

.callout p {
  font-weight: 300;
  letter-spacing: -0.02em;
}

/* Snapshot */
.snapshot {
  border-top: 1px solid var(--sea);
}

.snapshot dd {
  font-weight: 500;
}

/* Role split: two panels instead of a ruled grid */
.split {
  gap: 16px;
  background: none;
  border: 0;
}

.split > div {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.split > div:last-child {
  background: var(--porcelain);
}

.section.tint .split > div:last-child {
  background: var(--fog);
  border-color: transparent;
}

.split li {
  border-top-color: var(--line);
}

/* Decision cards on deep sea, with a light that follows the pointer */
.decision {
  overflow: hidden;
  isolation: isolate;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hair);
  border-radius: 16px;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), background 0.5s var(--ease);
}

.decision::before,
.clip::before,
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(39, 194, 183, 0.16), transparent 60%);
  transition: opacity 0.5s var(--ease);
}

.decision:hover,
.clip:hover,
.card:hover {
  --lit: 1;
}

.decision:hover::before,
.clip:hover::before,
.card:hover::before {
  opacity: 1;
}

.decision:hover {
  transform: translateY(-4px);
  border-color: rgba(39, 194, 183, 0.45);
  background: rgba(255, 255, 255, 0.05);
}

.decision .n {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--aqua);
}

.decision .n::before {
  content: "0";
}

.decision h3 {
  margin-top: 18px;
}

.decision .trade {
  border-top: 1px solid var(--hair);
  color: #FFFFFF;
}

.decision .trade b {
  font-family: var(--mono);
  color: var(--aqua);
}

/* Charts */
.chart {
  border-top: 1px solid var(--sea);
}

.chart .title {
  font-weight: 400;
  letter-spacing: -0.025em;
}

.bar .track {
  height: 40px;
  background: var(--fog);
  border-radius: 8px;
}

.section.tint .bar .track {
  background: #EAF0EF;
}

.bar .fill {
  background: var(--sea);
  border-radius: 8px;
  color: #FFFFFF;
  font-family: var(--mono);
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
}

.bar.hot .fill {
  background: linear-gradient(90deg, var(--aqua-deep), var(--aqua));
  color: var(--abyss);
}

.section.dark .chart {
  border-top-color: rgba(255, 255, 255, 0.28);
}

.section.dark .bar .track {
  background: var(--current);
}

.section.dark .bar .fill {
  background: var(--aqua);
  color: var(--abyss);
}

/* Frames */
.frame {
  background: var(--sea);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 40px 80px -44px rgba(10, 30, 36, 0.55);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}

.frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 52px 90px -44px rgba(10, 30, 36, 0.6);
}

.section.dark .frame {
  border-color: var(--hair);
}

.frame .chrome {
  background: var(--current);
  border-bottom: 1px solid var(--hair);
}

.frame .chrome i,
.frame .chrome i:first-child {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.22);
}

figcaption {
  color: var(--slate);
}

.section.dark figcaption {
  color: var(--mist);
}

.reel video,
.reel img {
  border-radius: 14px;
  border: 1px solid var(--hair);
  background: var(--sea);
}

/* Deliverable counts */
.deliverables {
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.deliverables div + div {
  border-left-color: var(--hair);
}

.deliverables .num {
  font-weight: 300;
  letter-spacing: -0.05em;
  color: #FFFFFF;
}

.deliverables span:last-child {
  color: var(--haze);
}

.section:not(.dark) .deliverables {
  border-top-color: var(--sea);
}

.section:not(.dark) .deliverables div + div {
  border-left-color: var(--line);
}

.section:not(.dark) .deliverables .num {
  color: var(--sea);
}

.section:not(.dark) .deliverables span:last-child {
  color: var(--tide);
}

/* Timeline: a route that fills with light, each stop a short tick */
.tl {
  border-top: 1px solid var(--line);
}

.tl::after {
  top: -1px;
  height: 1px;
  background: var(--aqua);
  box-shadow: 0 0 10px rgba(39, 194, 183, 0.8);
  transition: transform 0.8s var(--ease);
}

.tl::before {
  top: -7px;
  width: 2px;
  height: 13px;
  border: 0;
  border-radius: 1px;
  background: var(--line);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.timeline.is-in .tl::before {
  background: var(--sea);
}

.timeline.is-in .tl.hot::before,
.tl.hot::before {
  background: var(--aqua);
  border: 0;
  box-shadow: 0 0 0 4px var(--aqua-soft), 0 0 14px rgba(39, 194, 183, 0.7);
}

.timeline.is-in .tl:nth-child(2)::before { transition-delay: 0.15s; }
.timeline.is-in .tl:nth-child(3)::before { transition-delay: 0.3s; }
.timeline.is-in .tl:nth-child(4)::before { transition-delay: 0.45s; }
.timeline.is-in .tl:nth-child(5)::before { transition-delay: 0.6s; }
.timeline.is-in .tl:nth-child(6)::before { transition-delay: 0.75s; }
.timeline.is-in .tl:nth-child(7)::before { transition-delay: 0.9s; }
.timeline.is-in .tl:nth-child(8)::before { transition-delay: 1.05s; }

.tl b {
  font-weight: 500;
  letter-spacing: -0.02em;
}

.tl p {
  color: var(--tide);
}

/* Press clips */
.clip {
  overflow: hidden;
  isolation: isolate;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}

.clip:hover {
  transform: translateY(-4px);
  border-color: var(--aqua);
  box-shadow: 0 30px 60px -36px rgba(10, 30, 36, 0.45);
}

.clip .outlet {
  display: block;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.clip blockquote {
  font-weight: 300;
  letter-spacing: -0.02em;
}

.clip.lead {
  background: var(--sea);
  border-color: var(--sea);
  color: #FFFFFF;
}

.clip.lead::after {
  content: "";
  position: absolute;
  z-index: -2;
  right: -140px;
  bottom: -180px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(39, 194, 183, 0.3), transparent 66%);
}

.clip.lead:hover {
  box-shadow: 0 30px 60px -30px rgba(10, 30, 36, 0.6);
  border-color: var(--aqua);
  color: #FFFFFF;
}

/* Social pickup */
.social-pickup {
  border: 1px solid var(--line);
  border-left: 2px solid var(--aqua);
  border-radius: 4px 16px 16px 4px;
  background: #FFFFFF;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.social-pickup:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -36px rgba(10, 30, 36, 0.45);
}

.social-who {
  font-weight: 500;
  letter-spacing: -0.02em;
}

.social-reach .num {
  font-weight: 300;
  letter-spacing: -0.05em;
  color: var(--aqua-deep);
}

.social-quote {
  font-weight: 300;
  letter-spacing: -0.02em;
}

.brief-cover {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 48px -30px rgba(10, 30, 36, 0.45);
  transition: transform 0.6s var(--ease);
}

.brief-fig:hover .brief-cover {
  transform: translateY(-6px);
}

/* Pipeline of open conversations */
.pipeline {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.pipeline-head h3 {
  font-weight: 300;
  letter-spacing: -0.04em;
}

.stamp {
  padding: 12px 18px;
  border: 1px solid var(--aqua-deep);
  border-radius: 12px;
  color: var(--aqua-deep);
  background: var(--aqua-soft);
  font-family: var(--mono);
  letter-spacing: 0.12em;
  transform: none;
  opacity: 0;
  scale: 1.12;
  transition: opacity 0.6s var(--ease) 0.4s, scale 0.6s var(--ease) 0.4s;
}

.is-in .stamp {
  opacity: 1;
  scale: 1;
}

.pipe-list {
  border-top: 1px solid var(--sea);
}

.pipe-list .outlet {
  font-weight: 500;
  letter-spacing: -0.02em;
}

.pipe-list .stage {
  border-color: var(--line);
  color: var(--tide);
}

.pipe-list .stage.hot {
  border-color: var(--aqua);
  color: var(--aqua-deep);
}

.pipe-list .stage.booked {
  background: var(--aqua-deep);
  border-color: var(--aqua-deep);
  color: #FFFFFF;
}

/* Notes */
.note {
  background: var(--porcelain);
  border-left: 2px solid var(--aqua);
  border-radius: 0 14px 14px 0;
  transition: transform 0.5s var(--ease);
}

.section.tint .note {
  background: #FFFFFF;
}

.note:hover {
  transform: translateX(4px);
}

.note .note-trade {
  border-top: 1px solid var(--line);
  color: var(--sea);
}

/* Results table */
.results {
  border-top: 1px solid var(--sea);
}

.results th,
.results td {
  border-bottom-color: var(--line);
}

.results td.big {
  font-weight: 300;
  letter-spacing: -0.045em;
}

.results tbody tr {
  transition: background 0.3s var(--ease);
}

.results tbody tr:hover {
  background: var(--porcelain);
}

/* Pull quote: the mark rises, words build, emphasis underlines */
.pull::before {
  font-weight: 300;
  color: var(--aqua);
  opacity: 0;
  transform: translateY(24px) scale(0.75);
  transform-origin: 0 100%;
  transition: opacity 0.9s var(--ease), transform 1.1s var(--ease);
}

.pull.is-in::before {
  opacity: 1;
  transform: none;
}

.pull p {
  font-weight: 300;
  letter-spacing: -0.04em;
}

.pull p em {
  font-style: normal;
  color: var(--signal);
  background: linear-gradient(var(--aqua), var(--aqua)) 0 100% / 0 2px no-repeat;
  transition: background-size 1s var(--ease) 1.1s;
}

.pull.is-in p em {
  background-size: 100% 2px;
}

.pull .wd {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.4em);
  filter: blur(8px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), filter 0.8s var(--ease);
}

.pull.is-in .wd {
  opacity: 1;
  transform: none;
  filter: none;
}

.pull cite {
  opacity: 0;
  transition: opacity 0.8s var(--ease) 1.4s;
}

.pull.is-in cite {
  opacity: 1;
}

.mini-quote {
  border-left: 2px solid var(--aqua);
}

.mini-quote p {
  font-weight: 300;
  letter-spacing: -0.02em;
}

/* Lessons */
.lesson {
  border-top: 1px solid var(--sea);
}

.section.dark .lesson {
  border-top-color: rgba(255, 255, 255, 0.28);
}

.lesson::before {
  color: var(--signal);
}

.lesson p {
  color: var(--tide);
}

.section.dark .lesson p {
  color: var(--haze);
}

/* Method notes */
details.method {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #FFFFFF;
  transition: border-color 0.3s var(--ease);
}

details.method:hover,
details.method[open] {
  border-color: var(--aqua);
}

details.method summary::after {
  color: var(--aqua-deep);
}

details.method .inner {
  color: var(--tide);
}

/* Offer */
.offer .steps {
  border-top-color: var(--hair);
}

.offer .steps li {
  border-bottom-color: var(--hair);
  transition: padding-left 0.4s var(--ease), color 0.4s var(--ease);
}

.offer .steps li:hover {
  padding-left: 8px;
}

.offer .steps li span {
  color: var(--aqua);
}

/* Next case */
.next {
  position: relative;
  background: var(--porcelain);
  border-bottom: 1px solid var(--line);
}

.next::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 100%;
  background: var(--aqua);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.8s var(--ease);
}

.next:hover::after {
  transform: none;
}

.next .mono {
  color: var(--aqua-deep);
}

.next .big {
  font-weight: 300;
  letter-spacing: -0.05em;
  color: var(--sea);
}

.next:hover .big {
  color: var(--aqua-deep);
}

.footer {
  color: var(--slate);
}

/* Hub cards */
.cards {
  gap: 20px;
  background: none;
  border: 0;
}

.card {
  isolation: isolate;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #FFFFFF;
  transition: background 0.5s var(--ease), color 0.5s var(--ease), transform 0.5s var(--ease), border-color 0.5s var(--ease);
}

.card::after {
  height: 2px;
  background: var(--aqua);
  box-shadow: 0 0 12px rgba(39, 194, 183, 0.8);
}

.card:hover {
  background: var(--sea);
  border-color: var(--sea);
  color: #FFFFFF;
  transform: translateY(-4px);
}

.card:hover .card-meta,
.card:hover .card-dek {
  color: var(--haze);
}

.card-num {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--aqua-deep);
}

.card:hover .card-num {
  color: var(--aqua);
}

.card h3 {
  font-weight: 300;
  letter-spacing: -0.045em;
}

.card-dek {
  color: var(--tide);
}

.card.soon:hover {
  background: #FFFFFF;
  color: var(--sea);
  transform: none;
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid,
  .quote-pair,
  .offer {
    grid-template-columns: 1fr;
  }

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

  .decision.wide {
    grid-column: span 2;
  }

  .clips {
    grid-template-columns: 1fr 1fr;
  }

  .clip.lead {
    grid-column: span 2;
  }

  .media-grid > * {
    grid-column: 1 / -1 !important;
  }

  .media-grid > .brief-fig {
    grid-column: span 6 !important;
  }

  .social-pickup {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "head" "reach" "body";
    gap: 20px;
  }

  .social-reach {
    flex-wrap: wrap;
    gap: 18px 28px;
    padding: 20px 0;
    border: 0;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
  }

  .timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 32px;
  }

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

  .deliverables div:nth-child(4) {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 720px) {
  .social-reach .num {
    font-size: 2.3rem;
  }

  .masthead nav a:not(.btn) {
    display: none;
  }

  .pipeline-head {
    flex-direction: column-reverse;
    gap: 16px;
  }

  .pipe-list li {
    grid-template-columns: 1fr auto;
    gap: 6px 12px;
  }

  .pipe-list .what {
    grid-column: 1 / -1;
  }

  .brand {
    white-space: nowrap;
  }

  .masthead .btn {
    padding: 8px 14px;
    white-space: nowrap;
  }

  .masthead .placeholder::after {
    display: none;
  }

  .sec-head,
  .body-cols {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .body-cols > :first-child {
    grid-column: auto;
  }

  .sec-num {
    width: 64px;
  }

  .snapshot {
    grid-template-columns: 1fr 1fr;
  }

  .snapshot div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .snapshot div:nth-child(n + 3) {
    border-top: 1px solid var(--rule);
  }

  .split,
  .decisions,
  .clips,
  .lessons,
  .lessons.three,
  .cards,
  .reel {
    grid-template-columns: 1fr;
  }

  .decision.wide,
  .clip.lead {
    grid-column: auto;
  }

  .timeline {
    grid-template-columns: 1fr;
    border-top: 0;
    border-left: 2px solid var(--ink);
    padding-left: 22px;
    gap: 26px;
  }

  .tl {
    padding-top: 0;
    border-top: 0;
  }

  .tl::after {
    display: none;
  }

  .tl::before {
    top: 4px;
    left: -31px;
  }

  .deliverables {
    grid-template-columns: 1fr 1fr;
  }

  .deliverables div:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .deliverables div:nth-child(even) {
    padding-left: 14px;
    border-left: 1px solid var(--night-rule);
  }

  .results td.big {
    white-space: normal;
  }

  .pull {
    padding-left: 0;
    padding-top: 56px;
  }

  .pull::before {
    top: -0.2em;
  }
}

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

  .reveal,
  .reveal-stagger > *,
  .hero h1 .line > span,
  .dek {
    opacity: 1 !important;
    transform: none !important;
  }

  .bar .fill,
  .tl::after {
    transform: scaleX(1) !important;
  }

  .ticker .track {
    flex-wrap: wrap;
    width: auto;
    padding: 0 var(--gutter);
  }
}

/* Depth layer: small screens and reduced motion */
@media (max-width: 720px) {
  .casefile > span + span {
    padding-left: 0;
    border-left: 0;
  }

  .timeline {
    border-left: 1px solid var(--line);
  }

  .tl {
    border-top: 0;
  }

  .tl::before {
    top: 3px;
    left: -24px;
    width: 13px;
    height: 2px;
  }

  .deliverables div:nth-child(even) {
    border-left-color: var(--hair);
  }

  .section:not(.dark) .deliverables div:nth-child(even) {
    border-left-color: var(--line);
  }

  .hero::after,
  .section.dark::after {
    width: 520px;
    height: 520px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero h1 em,
  h2 em,
  .pipeline-head h3 em,
  .pull p em {
    background-size: 100% 2px !important;
  }

  .wd,
  .pull::before,
  .pull cite,
  .stamp {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    scale: 1 !important;
  }

  .timeline .tl::before {
    background: var(--sea);
  }
}

/* Three-up snapshot and four-up deliverables */
.snapshot.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

/* Chart pack: published charts on white cards over deep sea */
.chartpack {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid var(--hair);
}

.cp-head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 14px 48px;
  align-items: end;
  margin-bottom: 28px;
}

.cp-head .kicker {
  grid-column: 1 / -1;
}

.cp-head h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #FFFFFF;
}

.cp-num {
  color: var(--aqua);
}

.cp-head p {
  margin: 0;
  color: var(--haze);
  font-size: 0.98rem;
  line-height: 1.55;
}

.cp-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.cp-grid figure {
  margin: 0;
}

.cp-grid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  padding: 10px;
  background: #FFFFFF;
  border: 1px solid var(--hair);
  border-radius: 12px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.cp-grid figure:hover img {
  transform: translateY(-4px);
  box-shadow: 0 34px 60px -34px rgba(0, 0, 0, 0.7);
}

.cp-grid figcaption {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--haze);
}

/* What I owned: capability tiles around one creative feature tile */
.owned {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.own {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 24px 22px 26px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.own::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 2px;
  background: var(--aqua);
  transition: width 0.7s var(--ease);
}

.own::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(39, 194, 183, 0.12), transparent 60%);
  transition: opacity 0.5s var(--ease);
}

.own:hover {
  transform: translateY(-4px);
  border-color: rgba(8, 107, 102, 0.35);
  box-shadow: 0 34px 60px -40px rgba(10, 30, 36, 0.45);
}

.own:hover::after {
  width: 100%;
}

.own:hover::before {
  opacity: 1;
}

.own-tag {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal);
}

.own h3 {
  margin: 16px 0 8px;
  font-size: 1.12rem;
  line-height: 1.25;
}

.own p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--ink-2);
}

.own.feature {
  grid-column: span 2;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3vw, 40px);
  background: var(--abyss);
  border-color: transparent;
  color: #FFFFFF;
}

.own.feature::before {
  opacity: 1;
  background:
    radial-gradient(520px circle at 85% 0%, rgba(39, 194, 183, 0.22), transparent 62%),
    radial-gradient(360px circle at var(--mx, 20%) var(--my, 100%), rgba(39, 194, 183, 0.12), transparent 60%);
}

.own.feature .own-tag {
  color: var(--aqua);
}

.own.feature h3 {
  margin: 22px 0 16px;
  max-width: 14em;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #FFFFFF;
}

.own.feature p {
  max-width: 32em;
  margin-bottom: 32px;
  font-size: 1.02rem;
  color: var(--haze);
}

.own-count {
  display: flex;
  gap: clamp(24px, 4vw, 48px);
  margin: auto 0 0;
  padding: 24px 0 0;
  list-style: none;
  border-top: 1px solid var(--hair);
}

.own-count b {
  display: block;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2.2rem, 3.6vw, 3.1rem);
  line-height: 1;
  letter-spacing: -0.05em;
  color: #FFFFFF;
}

.own-count span {
  display: block;
  margin-top: 8px;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--haze);
}

.own.partner {
  background: var(--porcelain);
}

.own.partner p {
  margin-top: 16px;
  font-weight: 500;
  color: var(--ink);
}

@media (max-width: 980px) {
  .cp-head {
    grid-template-columns: 1fr;
  }

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

  .own.feature {
    grid-row: auto;
  }
}

@media (max-width: 720px) {
  .snapshot.three {
    grid-template-columns: 1fr 1fr;
  }

  .deliverables.four {
    grid-template-columns: 1fr 1fr;
  }

  .owned {
    grid-template-columns: 1fr;
  }

  .own.feature {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .own,
  .own::after,
  .cp-grid img {
    transition: none;
  }
}

/* Short snapshots, single quotes and the owned list on its own */
.snapshot:has(> div:only-child) {
  grid-template-columns: minmax(0, 1fr);
}

.snapshot:has(> div:nth-child(2):last-child) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quote-pair:not(:has(.mini-quote)) {
  grid-template-columns: minmax(0, 1fr);
  max-width: 980px;
}

.split.solo {
  grid-template-columns: minmax(0, 1fr);
}

.split.solo .mine ul {
  columns: 2;
  column-gap: clamp(28px, 4vw, 56px);
}

.split.solo .mine li {
  break-inside: avoid;
}

@media (max-width: 720px) {
  .snapshot:has(> div:nth-child(2):last-child) {
    grid-template-columns: minmax(0, 1fr);
  }

  .snapshot:has(> div:nth-child(2):last-child) div + div {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--rule);
  }

  .split.solo .mine ul {
    columns: 1;
  }
}

.ledger .stat:nth-child(3):last-child {
  grid-column: 1 / -1;
  border-right: 0;
}

@media (min-width: 981px) {
  .decisions:has(> .decision:nth-child(4):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .decisions:has(> .decision:nth-child(5):last-child) {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .decisions:has(> .decision:nth-child(5):last-child) > .decision {
    grid-column: span 2;
  }

  .decisions:has(> .decision:nth-child(5):last-child) > .decision:nth-child(n + 4) {
    grid-column: span 3;
  }
}

.deliverables:has(> div:nth-child(3):last-child) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards > .card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}
