/* GraceGoudreau.com — quiet system
   Light type, lots of air, color only in small splashes.
   Each project owns one shade (set --shade / --dot / --deep on the page body). */

:root {
  --ink: #33302b;
  --body: #55514a;
  --muted: #6b675f;
  --line: #e9e6df;
  --bg: #ffffff;
  --shade: #f3f1ec;
  --dot: #b9b4aa;
  --deep: #55514a;
  --max: 1328px;
  --pad: clamp(20px, 4vw, 56px);
}

.t-butter { --shade: #f7edd2; --dot: #e9c46a; --deep: #7a5d12; }
.t-blue   { --shade: #e2e8f5; --dot: #8fa6d8; --deep: #3a4c80; }
.t-blush  { --shade: #f6e3e3; --dot: #e3a3a8; --deep: #873743; }
.t-sage   { --shade: #e3eee2; --dot: #9cc3a2; --deep: #3b6646; }
.t-peach  { --shade: #f9e7da; --dot: #e8a87c; --deep: #87481f; }
.t-teal   { --shade: #dfeeee; --dot: #86bfbf; --deep: #2c6161; }
.t-lilac  { --shade: #ece6f6; --dot: #b49bd9; --deep: #57468a; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: #000; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
strong { font-weight: 400; color: var(--ink); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--pad); top: 12px; background: #fff; padding: 8px 12px; z-index: 10; }

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

/* Header & footer */
.site-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; margin-bottom: 20px;
  position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 95%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 0 0 100vmax color-mix(in srgb, var(--bg) 95%, transparent); clip-path: inset(0 -100vmax); }
.site-header .name { font-size: 16px; font-weight: 400; text-decoration: none; }
.site-header nav { display: flex; gap: clamp(20px, 3vw, 32px); font-size: 15px; }
.site-header nav a { text-decoration: none; color: var(--muted); }
.site-header nav a[aria-current="page"] { color: var(--ink); }
.site-footer { border-top: 1px solid var(--line); margin-top: clamp(72px, 9vw, 128px); padding: 44px 0 56px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 20px; }
.site-footer .hello { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.015em; line-height: 1.3; }
.site-footer .hello a { color: var(--muted); }
.site-footer nav { display: flex; gap: 28px; font-size: 15px; }
.site-footer nav a { text-decoration: none; color: var(--muted); }

/* Type */
.display { font-weight: 300; font-size: clamp(36px, 4.4vw, 62px); line-height: 1.12; letter-spacing: -0.025em; max-width: 1000px; text-wrap: balance; }
.lede { font-size: clamp(18px, 1.4vw, 20px); line-height: 1.6; color: var(--muted); max-width: 720px; }
.label { font-size: 15px; font-weight: 400; color: var(--muted); }
.statement { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.3; letter-spacing: -0.015em; text-wrap: balance; }
.prose p { color: var(--body); line-height: 1.7; }
.prose p + p { margin-top: 18px; }
.hl { background: var(--shade); color: inherit; padding: 0 0.12em; border-radius: 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--dot); flex: none; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--muted); }

/* Home */
.hero { padding: clamp(64px, 8vw, 128px) 0 clamp(48px, 6vw, 88px); display: flex; flex-direction: column; gap: 32px; }
.hero .dots { display: inline-flex; gap: 6px; }
.hero .dots span { width: 10px; height: 10px; border-radius: 50%; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(20px, 3vw, 40px); row-gap: clamp(40px, 5vw, 64px); }
@media (max-width: 640px) { .grid { grid-template-columns: minmax(0, 1fr); } }
.card { text-decoration: none; display: flex; flex-direction: column; gap: 16px; }
.card .frame { background: var(--shade); border-radius: 16px; aspect-ratio: 16 / 10; padding: 7% 7% 0; display: flex; align-items: flex-end; overflow: hidden; }
.card .frame img { width: 100%; height: 92%; object-fit: cover; object-position: top left; border-radius: 8px 8px 0 0; box-shadow: 0 12px 40px rgba(40, 36, 30, 0.08); transition: transform 0.4s ease; }
.card:hover .frame img { transform: translateY(-6px); }
@media (prefers-reduced-motion: reduce) { .card:hover .frame img { transform: none; } }
.card .row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.card .title { font-size: clamp(17px, 1.5vw, 20px); font-weight: 400; }
.card .result { font-size: 15px; color: var(--muted); white-space: nowrap; }
.card p { font-size: clamp(15px, 1.2vw, 16px); line-height: 1.55; color: var(--muted); max-width: 540px; margin-top: -10px; }
.more { margin-top: 72px; font-size: 17px; }

/* Work list */
.list { border-bottom: 1px solid var(--line); }
.list a { display: grid; grid-template-columns: 20px minmax(0, 1.2fr) minmax(0, 1.6fr) minmax(0, 0.9fr); gap: 20px; align-items: baseline; padding: 28px 0; border-top: 1px solid var(--line); text-decoration: none; }
.list .dot { align-self: center; width: 12px; height: 12px; }
.list .name { font-size: clamp(21px, 2vw, 28px); letter-spacing: -0.015em; }
.list .ctx { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; letter-spacing: 0; }
.list .line { font-size: 16px; line-height: 1.5; color: var(--muted); }
.list .status { font-size: 15px; color: var(--muted); text-align: right; }
@media (max-width: 760px) {
  .list a { grid-template-columns: 16px minmax(0, 1fr); row-gap: 6px; }
  .list .line, .list .status { grid-column: 2; text-align: left; }
}

/* Case study */
.cs-head { padding: clamp(56px, 7vw, 112px) 0 56px; display: flex; flex-direction: column; gap: 28px; }
.cs-head .back { font-size: 15px; text-decoration: none; color: var(--muted); }
.meta { display: flex; flex-wrap: wrap; gap: 14px 44px; padding-top: 22px; border-top: 1px solid var(--line); margin: 0 0 56px; }
.meta div { display: flex; flex-direction: column; gap: 4px; }
.meta dt { font-size: 13px; color: var(--muted); }
.meta dd { font-size: 15px; color: var(--ink); margin: 0; }
.shot { background: var(--shade); border-radius: 16px; padding: clamp(28px, 6vw, 96px) clamp(28px, 6vw, 96px) 0; overflow: hidden; }
.shot img, .shot video { width: 100%; border-radius: 10px 10px 0 0; box-shadow: 0 16px 48px rgba(40, 36, 30, 0.10); background: #fff; }
.shot.full { padding-bottom: clamp(28px, 6vw, 96px); }
.shot.full img, .shot.full video { border-radius: 10px; }
.caption { font-size: 14px; color: var(--muted); margin-top: 14px; }
.block { padding-top: clamp(72px, 8vw, 120px); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px 64px; }
.split > .label { padding-top: 8px; }
.split > .body { grid-column: span 2; display: flex; flex-direction: column; gap: 20px; max-width: 780px; }
@media (max-width: 700px) { .split > .body { grid-column: auto; } }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 40px; margin-top: 32px; }
.cols > div { padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.cols .k { font-size: 14px; color: var(--muted); }
.cols .v { font-size: 18px; line-height: 1.5; }
.cols .h { font-size: 20px; line-height: 1.35; letter-spacing: -0.01em; }
.cols p { font-size: 16px; line-height: 1.65; color: var(--muted); }
.cols .num { font-size: 14px; color: var(--deep); }

.decisions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 48px; margin-top: 36px; }
.decision { padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.decision h3 { font-size: 21px; font-weight: 400; line-height: 1.35; letter-spacing: -0.01em; }
.decision p { font-size: 16px; line-height: 1.6; color: var(--body); }
.decision .k { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.decision .no { color: var(--muted); }

/* Experience model (line diagram) */
.model { margin-top: 36px; }
.flow { display: flex; align-items: stretch; gap: 14px; }
.node { flex: 1 1 0; min-width: 0; border: 1px solid var(--ink); border-radius: 14px; padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; background: #fff; }
.node .k { font-size: 13px; color: var(--muted); }
.node .t { font-size: 19px; line-height: 1.3; letter-spacing: -0.01em; }
.node p, .node li { font-size: 15px; line-height: 1.55; color: var(--body); }
.node ul { padding-left: 18px; }
.node.fill { background: var(--shade); }
.node.fill .k { color: var(--deep); }
.node.dash { border-style: dashed; }
.arrow { align-self: center; font-size: 22px; color: var(--ink); flex: none; line-height: 1; }
.loop { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: step; }
.loop .node { position: relative; }
.loop-note { display: flex; align-items: center; gap: 12px; margin-top: 16px; font-size: 15px; color: var(--muted); }
.loop-note::before { content: ""; flex: 0 0 48px; height: 1px; background: var(--ink); }
.gates { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.gate { border: 1px solid var(--ink); border-radius: 40px; padding: 8px 16px; font-size: 14px; background: #fff; }
.gate.fill { background: var(--shade); }
.gates .sep { flex: 0 0 20px; height: 1px; background: var(--ink); }
@media (max-width: 760px) {
  .flow { flex-direction: column; }
  .arrow { transform: rotate(90deg); }
  .loop { grid-template-columns: minmax(0, 1fr); }
  .gates .sep { display: none; }
}

.columns2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 16px; margin-top: 32px; }
.panel { border-radius: 16px; padding: clamp(26px, 3vw, 40px); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 16px; }
.panel.fill { background: var(--shade); box-shadow: none; }
.panel .k { font-size: 14px; color: var(--muted); }
.panel.fill .k { color: var(--deep); }
.panel ul { padding-left: 20px; display: flex; flex-direction: column; gap: 10px; }
.panel li { line-height: 1.55; }
.panel li span { color: var(--muted); }

.quote { font-size: clamp(22px, 2vw, 27px); line-height: 1.4; letter-spacing: -0.01em; max-width: 860px; }
.quote + .quote { margin-top: 28px; }
.quote cite { display: block; margin-top: 10px; font-size: 14px; font-style: normal; color: var(--muted); letter-spacing: 0; }

.impact { margin-top: clamp(72px, 8vw, 120px); background: color-mix(in srgb, var(--shade) 55%, #fff); border-radius: 16px; padding: clamp(44px, 7vw, 104px) clamp(26px, 6vw, 96px); display: flex; flex-direction: column; gap: 20px; }
.impact .big { font-size: clamp(42px, 6vw, 84px); line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance; }
.impact p { max-width: 680px; color: var(--body); line-height: 1.7; }
.impact .status { font-size: 15px; color: var(--deep); }

.request { margin-top: 48px; font-size: 17px; color: var(--muted); }
.next { margin-top: clamp(72px, 8vw, 120px); text-decoration: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; background: var(--shade); border-radius: 16px; padding: clamp(28px, 4vw, 56px); }
.next .k { display: block; font-size: 15px; color: var(--deep); }
.next .t { display: block; font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.02em; line-height: 1.2; }
.next .d { font-size: 17px; color: var(--deep); }

/* Resume */
.resume h2 { font-size: 15px; font-weight: 400; color: var(--muted); }
.job { padding: 24px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 12px 64px; }
.job h3 { font-size: 19px; font-weight: 400; }
.job .when { font-size: 15px; color: var(--muted); }
.job ul { grid-column: span 2; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; color: var(--body); }
@media (max-width: 700px) { .job ul { grid-column: auto; } }
.button { display: inline-block; font-size: 15px; text-decoration: none; padding: 13px 24px; border-radius: 40px; border: 1px solid var(--ink); }
.button:hover { background: var(--ink); color: #fff; }

/* Numbers strip (process evidence) */
.numbers { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; margin-top: 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.numbers > div { padding: 24px 20px 24px 0; display: flex; flex-direction: column; gap: 6px; }
.numbers .n { font-size: clamp(32px, 3.4vw, 46px); line-height: 1; letter-spacing: -0.03em; }
.numbers .d { font-size: 14px; line-height: 1.45; color: var(--muted); }

/* Finding -> change rows */
.changes { margin-top: 32px; border-bottom: 1px solid var(--line); }
.changes .head, .changes .r { display: grid; grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr); gap: 16px; align-items: baseline; }
.changes .head { font-size: 13px; color: var(--muted); padding-bottom: 10px; }
.changes .r { padding: 18px 0; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.5; }
.changes .r .from { color: var(--body); }
.changes .r .to::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--dot); margin-right: 10px; vertical-align: 2px; }
.changes .r .ar { color: var(--muted); text-align: center; }
@media (max-width: 700px) {
  .changes .head { display: none; }
  .changes .r { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .changes .r .ar { display: none; }
  .changes .r .from { color: var(--muted); font-size: 15px; }
}

/* Annotated product stills */
.annot { position: relative; }
.annot img { display: block; width: 100%; }
.pin { position: absolute; transform: translate(-50%, -50%); width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; font-weight: 400; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 4px rgba(255,255,255,0.85); }
@media (max-width: 600px) { .pin { width: 20px; height: 20px; font-size: 11px; box-shadow: 0 0 0 3px rgba(255,255,255,0.85); } }
.notes { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px 32px; padding: 0; list-style: none; counter-reset: n; }
.notes li { counter-increment: n; display: flex; gap: 12px; font-size: 15px; line-height: 1.55; color: var(--body); }
.notes li::before { content: counter(n); flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.still-title { font-size: 19px; font-weight: 400; letter-spacing: -0.01em; margin-top: 22px; }

/* Grouped numbers */
.numgroups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); column-gap: 16px; row-gap: 16px; margin-top: 32px; }
.numgroup { border-radius: 16px; padding: 24px 26px; box-shadow: inset 0 0 0 1px var(--line); display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 14px; align-content: start; }
.numgroup.fill { background: var(--shade); box-shadow: none; }
.numgroup .k { font-size: 14px; color: var(--muted); }
.numgroup.fill .k { color: var(--deep); }
.numgroup ul { display: contents; list-style: none; }
.numgroup li { display: grid; grid-template-columns: 84px minmax(0, 1fr); column-gap: 16px; align-items: baseline; font-size: 15px; line-height: 1.4; color: var(--body); }
.numgroup li b { font-weight: 300; font-size: 30px; line-height: 1; letter-spacing: -0.03em; color: var(--ink); white-space: nowrap; }
.resultline { display: inline-flex; align-items: center; gap: 12px; font-size: clamp(18px, 1.6vw, 21px); padding: 12px 20px; border-radius: 40px; background: var(--shade); color: var(--ink); width: fit-content; }
html { scroll-padding-top: 88px; }
/* At-a-glance strip */
.glance { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 28px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.glance > div { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 8px; box-shadow: -1px 0 0 var(--line); }
.glance > div:first-child { box-shadow: none; }
.glance .k { font-size: 13px; color: var(--muted); }
.glance .big { font-size: clamp(24px, 2.2vw, 30px); font-weight: 300; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); }
.glance .sub { font-size: 15px; line-height: 1.45; color: var(--body); }
.glance .res { background: var(--shade); box-shadow: none; }
@media (max-width: 900px) { .glance { grid-template-columns: repeat(2, minmax(0, 1fr)); } .glance > div { box-shadow: 0 -1px 0 var(--line); } .glance > div:nth-child(2n) { box-shadow: -1px 0 0 var(--line), 0 -1px 0 var(--line); } .glance > div:nth-child(-n+2) { box-shadow: none; } .glance > div:nth-child(2) { box-shadow: -1px 0 0 var(--line); } }
@media (max-width: 520px) { .glance { grid-template-columns: minmax(0, 1fr); } .glance > div, .glance > div:nth-child(2n) { box-shadow: 0 -1px 0 var(--line); } .glance > div:first-child { box-shadow: none; } }
/* Decisions as rows */
.decs { margin-top: 32px; }
.decs-head, .dec { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, 1fr); column-gap: 16px; }
.decs-head { padding-bottom: 14px; font-size: 13px; color: var(--muted); }
.decs-head span:nth-child(2) { padding-left: 20px; } .decs-head span:nth-child(3) { padding-left: 20px; }
.dec { padding: 18px 0; border-top: 1px solid var(--line); align-items: stretch; }
.dec .dt { display: flex; flex-direction: column; gap: 10px; padding: 10px 24px 10px 0; }
.dec .n { font-size: 13px; color: var(--deep); letter-spacing: 0.04em; }
.dec h3 { font-size: clamp(20px, 1.7vw, 23px); font-weight: 400; line-height: 1.3; letter-spacing: -0.015em; color: var(--ink); }
.dec .yes, .dec .nope { display: flex; gap: 14px; align-items: flex-start; border-radius: 14px; padding: 20px; }
.dec .yes { background: var(--shade); }
.dec .nope { box-shadow: inset 0 0 0 1px var(--line); }
.dec .ic { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; line-height: 1; margin-top: 1px; }
.dec .yes .ic { background: var(--ink); color: #fff; }
.dec .nope .ic { box-shadow: inset 0 0 0 1px var(--muted); color: var(--muted); }
.dec .yes p { font-size: 16px; line-height: 1.55; color: var(--ink); }
.dec .nope p { font-size: 16px; line-height: 1.55; color: var(--muted); }
.dec .m { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 760px) {
  .decs-head { display: none; }
  .dec { grid-template-columns: minmax(0, 1fr); row-gap: 10px; padding: 24px 0; }
  .dec .dt { padding: 0 0 4px; }
  .dec .m { position: static; width: auto; height: auto; clip: auto; display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
}
/* Research: pull quote + finding cards */
.rquote { margin-top: 36px; background: var(--shade); border-radius: 16px; padding: clamp(28px, 4.5vw, 56px); }
.rquote blockquote { font-size: clamp(24px, 2.6vw, 34px); font-weight: 300; line-height: 1.3; letter-spacing: -0.02em; color: var(--ink); max-width: 980px; }
.rquote .cite { margin-top: 18px; font-size: 14px; color: var(--deep); }
.rquote .rans { margin-top: 28px; padding-top: 22px; border-top: 1px solid color-mix(in srgb, var(--deep) 22%, transparent); font-size: 17px; line-height: 1.5; color: var(--ink); display: flex; gap: 10px; }
.rcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.rcard { border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; display: flex; flex-direction: column; }
.rcard .thumb { background: #f4f4f2; padding: 16px 16px 0; aspect-ratio: 2 / 1; overflow: hidden; }
.rcard .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top left; border-radius: 8px 8px 0 0; box-shadow: 0 6px 24px rgba(40, 36, 30, 0.08); display: block; }
.rcard .rbody { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.rcard .heard { font-size: 15px; line-height: 1.5; color: var(--muted); }
.rcard .changed { font-size: 17px; line-height: 1.45; color: var(--ink); display: flex; gap: 10px; }
.rcard .ar, .rquote .ar { color: var(--deep); flex: none; }
@media (max-width: 640px) { .rcards { grid-template-columns: minmax(0, 1fr); } }
.rquote blockquote { margin: 0; }
/* What made it work */
.brought { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.brought > div { border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); padding: 24px 26px; display: flex; flex-direction: column; gap: 10px; }
.brought .k, .moment .k { font-size: 13px; color: var(--muted); }
.brought p { font-size: 17px; line-height: 1.5; color: var(--ink); }
.moment { margin-top: 16px; background: var(--shade); border-radius: 16px; padding: clamp(28px, 4vw, 48px); }
.moment .k { color: var(--deep); }
.moment .lead { margin-top: 14px; font-size: clamp(20px, 1.9vw, 25px); font-weight: 300; line-height: 1.4; letter-spacing: -0.01em; color: var(--ink); max-width: 900px; }
.moment .after { margin-top: 16px; font-size: 16px; line-height: 1.6; color: var(--body); }
@media (max-width: 640px) { .brought { grid-template-columns: minmax(0, 1fr); } }
/* Side-by-side proof screens */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.duo figure { margin: 0; }
.duo .shot { padding: clamp(20px, 3vw, 40px) clamp(20px, 3vw, 40px) 0; }
.duo .pin { width: 24px; height: 24px; font-size: 12px; }
@media (max-width: 760px) { .duo { grid-template-columns: minmax(0, 1fr); gap: 48px; } }
.duo .pin { display: none; }
.duo .notes { display: flex; flex-direction: column; gap: 6px; }
.duo .notes li { padding-left: 0; }
.duo .notes li::before { display: none; }
/* Stakes: what planners needed to see */
.ask { margin-top: 32px; font-size: 15px; color: var(--muted); }
.asks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.asks span { border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); padding: 22px 22px; font-size: clamp(20px, 2vw, 26px); font-weight: 300; letter-spacing: -0.015em; color: var(--ink); }
.ask-note { margin-top: 16px; font-size: 15px; color: var(--body); }
@media (max-width: 640px) { .asks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stakes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; margin-top: 24px; }
.stakes .statement { max-width: 520px; }
.stakes .k { display: block; font-size: 13px; color: var(--muted); }
.stakes .asks { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 12px; }
.stakes .asks span { padding: 18px 20px; font-size: clamp(19px, 1.7vw, 22px); }
@media (max-width: 860px) { .stakes { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
/* Case-study jump links + reading progress (built by assets/js/case.js) */
.jump { flex-basis: 100%; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; margin: 2px -10px -8px; padding: 0 0 2px; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
.jump::-webkit-scrollbar { display: none; }
.jump a { flex: none; font-size: 13px; color: var(--muted); padding: 6px 10px; border-radius: 20px; text-decoration: none; white-space: nowrap; transition: background 0.2s ease, color 0.2s ease; }
.jump a:hover { color: var(--ink); }
.jump a.on { background: var(--shade); color: var(--ink); }
.site-header .progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--line); }
.site-header .progress span { display: block; height: 100%; background: var(--dot); transform-origin: left; transform: scaleX(0); }
@media (prefers-reduced-motion: reduce) { .jump a { transition: none; } }
.brought.cards3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.brought.cards3 p { font-size: 16px; }
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.quotes .q { background: var(--shade); border-radius: 16px; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.quotes .q p { font-size: clamp(19px, 1.7vw, 23px); font-weight: 300; line-height: 1.4; letter-spacing: -0.01em; color: var(--ink); }
.quotes .q .k { font-size: 13px; color: var(--deep); }
.stakes .ask-note { margin-top: 14px; }
@media (max-width: 760px) { .brought.cards3, .quotes { grid-template-columns: minmax(0, 1fr); } }
/* Jump links appear once the reader scrolls past the case-study opening */
.site-header .jump { max-height: 0; opacity: 0; margin-top: 0; margin-bottom: 0; overflow: hidden; transition: max-height 0.3s ease, opacity 0.25s ease, margin 0.3s ease; visibility: hidden; }
.site-header.show-jump .jump { max-height: 48px; opacity: 1; margin: 2px -10px -8px; overflow-x: auto; visibility: visible; }
.site-header .progress { opacity: 0; transition: opacity 0.25s ease; }
.site-header.show-jump .progress { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .site-header .jump, .site-header .progress { transition: none; } }
.duo .shot { aspect-ratio: 4 / 3; }
.duo .shot .annot, .duo .shot img { height: 100%; }
.duo .shot img { width: 100%; object-fit: cover; object-position: top left; }
.cs-head { padding-top: clamp(32px, 4vw, 64px); }

/* Never crop screenshots from the side: always fit the full width, trim only the bottom */
.card .frame { align-items: flex-start; }
.card .frame img,
.rcard .thumb img,
.duo .shot img,
section[aria-labelledby="flowstrip"] .shot img { width: 100% !important; height: auto !important; object-fit: fill !important; }
.duo .shot .annot { height: auto; }
/* ATLAS additions */
.brought.cards4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.brought.cards4 p { font-size: 16px; }
.brought .why-t { font-size: clamp(20px, 1.8vw, 24px); font-weight: 300; letter-spacing: -0.015em; line-height: 1.3; }
.brought .why-s { font-size: 16px; color: var(--body); }
.brought .prio-built { background: var(--shade); box-shadow: none; }
ol.plain { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
ol.plain li { font-size: 16px; line-height: 1.45; color: var(--ink); padding-left: 16px; position: relative; }
ol.plain li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--dot); }
.loop.loop5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1000px) { .brought.cards4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .loop.loop5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .brought.cards4, .loop.loop5 { grid-template-columns: minmax(0, 1fr); } }
.numgroups.wide .numgroup li { grid-template-columns: 124px minmax(0, 1fr); }
ol.plain { padding-left: 0; margin-left: 0; }
.duo.wide .shot { aspect-ratio: 16 / 10.4; }
