/* usefife.com. Tokens and faces are the Fife design system's (design/fife-section-library/_ds_bundle.css);
   the layout is this page's own, fluid from 360px up, because the library's sections are fixed at 1440. */

@font-face { font-family: "Fife Garamond Condensed"; src: url(fonts/FifeGaramondCondensed-Medium.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Fife Garamond Condensed"; src: url(fonts/FifeGaramondCondensed-MediumItalic.woff2) format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url(fonts/EBGaramond-latin.woff2) format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "EB Garamond"; src: url(fonts/EBGaramond-latin-ext.woff2) format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "EB Garamond"; src: url(fonts/EBGaramond-Italic-latin.woff2) format("woff2"); font-weight: 400 500; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "EB Garamond"; src: url(fonts/EBGaramond-Italic-latin-ext.woff2) format("woff2"); font-weight: 400 500; font-style: italic; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Jost"; src: url(fonts/Jost-latin.woff2) format("woff2"); font-weight: 400 500; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --fife-paper: #F1EADB;
  --fife-paper-deep: #E6DDCB;
  --fife-ink: #17150F;
  --fife-navy: #121C45;
  --fife-navy-deep: #0F1838;
  --fife-blue: #1D4FA3;
  --fife-butter: #F3DE8E;
  --ink-soft: rgba(23, 21, 15, .72);
  --paper-soft: rgba(241, 234, 219, .78);
  --rule-ink: rgba(23, 21, 15, .85);
  --rule-paper: rgba(241, 234, 219, .35);
  --headline: "Fife Garamond Condensed", Georgia, serif;
  --body: "EB Garamond", Georgia, serif;
  --caps: Jost, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 4.2vw, 64px);
  --max: 1320px;
  --ease: cubic-bezier(.2, 0, 0, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --paper-grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .07 0'/></filter><rect width='220' height='220' filter='url(%23n)'/></svg>");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--fife-paper) var(--paper-grain); color: var(--fife-ink);
  font: 400 19px/1.45 var(--body); font-kerning: normal; font-variant-ligatures: common-ligatures;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
:focus-visible { outline: 2px solid var(--fife-blue); outline-offset: 3px; border-radius: 2px; }
.night :focus-visible, .blue :focus-visible { outline-color: var(--fife-butter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; background: var(--fife-butter); color: var(--fife-navy); padding: 10px 16px; border-radius: 999px; font-style: italic; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- editions: flat colour in blocks, paper texture on every ground */
.edition { position: relative; background-image: var(--paper-grain); }
.day { background-color: var(--fife-paper); color: var(--fife-ink); }
.deep { background-color: var(--fife-paper-deep); color: var(--fife-ink); }
.night { background-color: var(--fife-navy); color: var(--fife-paper); }
.blue { background-color: var(--fife-blue); color: var(--fife-paper); }
.wrap { max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type */
.h1, .h2, .h3 { font-family: var(--headline); font-weight: 500; margin: 0; letter-spacing: -.005em; text-wrap: balance; }
.h1 { font-size: clamp(54px, 7.4vw, 116px); line-height: .9; }
.h2 { font-size: clamp(42px, 5.2vw, 76px); line-height: .94; }
.h3 { font-size: clamp(30px, 2.8vw, 40px); line-height: 1; }
.night .h1, .night .h2, .blue .h2 { color: var(--fife-butter); }
.label { font: 500 11px/1.4 var(--caps); letter-spacing: .24em; text-transform: uppercase; }
.lede { font-size: clamp(20px, 1.6vw, 23px); line-height: 1.42; max-width: 34ch; margin: 0; }
.night .lede { color: var(--paper-soft); }
.it { font-style: italic; }
p { margin: 0 0 .9em; }
.copy { max-width: 62ch; }
.columns { column-count: 2; column-gap: 44px; text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.columns p { margin: 0 0 .7em; }
.dropcap::first-letter { float: left; font-family: var(--headline); font-size: 5.1em; line-height: .78; padding: .06em .08em 0 0; color: var(--fife-navy); }

/* SectionHead: a 1.5px rule, small caps on the left, an italic line on the right. Used three times. */
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; border-top: 1.5px solid currentColor; padding-top: 14px; margin-bottom: clamp(36px, 5vw, 72px); }
.section-head .it { font-size: 19px; }

/* PillButton: 54px tall, italic EB Garamond at 22px, a small drop shadow. The only button. */
.pill-button {
  display: inline-flex; align-items: center; justify-content: center; height: 54px; padding: 0 30px; border-radius: 999px; border: 0;
  font: italic 400 22px/1 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap;
  box-shadow: 0 2px 0 rgba(15, 24, 56, .28), 0 8px 18px -10px rgba(15, 24, 56, .55);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease);
}
.pill-button:hover { transform: translateY(-1px); box-shadow: 0 3px 0 rgba(15, 24, 56, .28), 0 12px 22px -10px rgba(15, 24, 56, .6); }
.pill-button:active { transform: translateY(1px) scale(.98); box-shadow: 0 1px 0 rgba(15, 24, 56, .3); }
.pill-button.butter { background: var(--fife-butter); color: var(--fife-navy); }
.pill-button.navy { background: var(--fife-navy); color: var(--fife-paper); }
.pill-button[disabled] { opacity: .6; cursor: progress; transform: none; }
.text-link { font-style: italic; text-decoration: none; white-space: nowrap; }
.text-link span { display: inline-block; transition: transform .2s var(--ease); }
.text-link:hover span { transform: translateX(4px); }

/* FramedImage: hard pixels in a clipped frame with a keyline, on a paper mat. */
.plate { position: relative; margin: 0; background: var(--fife-paper) var(--paper-grain); border: 1px solid var(--fife-navy); overflow: hidden; }
/* Plates are shown at their own pixel size and cropped by the frame, never scaled down: a dither
   scaled down by the browser turns to moire. */
.plate img { width: 100%; height: 100%; object-fit: none; object-position: 50% 50%; image-rendering: pixelated; }
.plate.mat { padding: 10px; }
.night .plate { border-color: rgba(241, 234, 219, .5); }
figcaption { font-size: 15px; font-style: italic; margin-top: 10px; color: var(--ink-soft); }

/* ---------- nav */
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; border-bottom: 1px solid var(--rule-paper); gap: 24px; }
.nav-links { display: flex; gap: 30px; font-style: italic; font-size: 19px; }
.nav-links a { text-decoration: none; }
.nav-links a:hover, .text-link:hover { opacity: .75; }
.lockup { display: inline-flex; align-items: flex-end; gap: 7px; color: var(--fife-butter); text-decoration: none; }
.lockup svg { display: block; fill: currentColor; }
.lockup .m { height: 29px; width: auto; }
.lockup .w { height: 29px; width: auto; }

/* ---------- hero */
.hero { padding-bottom: clamp(64px, 8vw, 120px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 84px); align-items: center; padding-top: clamp(48px, 6vw, 88px); }
.hero .h1 { max-width: 11.5ch; font-size: clamp(54px, 6.6vw, 104px); line-height: .92; }
.hero .lede { margin-top: 28px; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.hero-actions .text-link { font-size: 20px; color: var(--paper-soft); }
.stage { position: relative; }
.stage .plate { aspect-ratio: 4 / 3; }
.stage .plate img { opacity: .92; }
.stage-floor { position: relative; margin-top: calc(-34px * var(--pill-scale, 1.7)); display: flex; flex-direction: column; align-items: center; gap: 18px; z-index: 1; }
.said { min-height: 2.7em; max-width: 34ch; margin: 0; text-align: center; font: italic 400 clamp(19px, 1.6vw, 23px)/1.32 var(--body); color: var(--fife-paper); transition: opacity .3s var(--ease); }
.said .w { color: rgba(241, 234, 219, .3); transition: color .14s var(--ease); }
.said .w.on { color: var(--fife-paper); }
.said.quiet { opacity: 0; }
.stage-caption { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 14px; color: var(--paper-soft); }
.stage-toggle { font: italic 17px/1 var(--body); color: var(--fife-paper); background: none; border: 1px solid var(--rule-paper); border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.how-caption { display: flex; justify-content: center; margin-top: 12px; color: var(--ink-soft); }
.stage-toggle:hover { border-color: var(--fife-paper); }
.stage { margin: 0; }
.stage-note { position: absolute; right: -12px; top: -16px; max-width: 18em; transform: rotate(3deg); background: var(--fife-butter); color: var(--fife-navy); padding: 8px 14px 9px; font: italic 17px/1.2 var(--body); box-shadow: 0 10px 22px -14px rgba(0,0,0,.6); }

/* ---------- the pill (values from pill/renderer/index.html) */
.pill-host { --pill-scale: 1.7; width: 100%; align-self: stretch; display: flex; justify-content: center; align-items: center; min-height: calc(68px * var(--pill-scale)); }
.pill {
  position: relative; width: 96px; height: 10px; border-radius: calc(18px * var(--pill-scale)); overflow: hidden;
  background: rgba(28, 28, 32, .82); border: 1px solid rgba(255, 255, 255, .18); color: #e9eaee;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 -1px 0 rgba(0, 0, 0, .18);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; -webkit-font-smoothing: antialiased;
  transition: width .34s cubic-bezier(.2, .9, .25, 1.15), height .34s cubic-bezier(.2, .9, .25, 1.15);
}
.pill canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .16s var(--ease); }
.pill.listening canvas { opacity: 1; }
.pill.hud { background: rgba(28, 28, 32, .92); }
.pill-line, .pill-card { position: absolute; inset: 0; display: none; padding: 0 calc(14px * var(--pill-scale)); font-size: calc(13px * var(--pill-scale)); }
.pill.working .pill-line { display: flex; align-items: center; color: rgba(233, 234, 238, .5); white-space: nowrap; overflow: hidden; }
.stage.paused .pill-line::after { animation-play-state: paused; }
.pill.working .pill-line::after { content: ""; flex: 0 0 auto; width: calc(22px * var(--pill-scale)); height: calc(6px * var(--pill-scale)); margin-left: calc(6px * var(--pill-scale));
  background: radial-gradient(circle, #e9eaee 45%, transparent 50%) 0 50% / calc(8px * var(--pill-scale)) 100% repeat-x; animation: dots 1.1s steps(4) infinite; }
.pill-line { text-overflow: ellipsis; mask-image: linear-gradient(90deg, #000 78%, transparent); }
@keyframes dots { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.pill.result .pill-card { display: flex; flex-direction: column; justify-content: center; gap: calc(6px * var(--pill-scale)); padding-top: calc(4px * var(--pill-scale)); }
.pill-card-text { line-height: 1.32; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pill-card-text::before { content: "\2713\00a0\00a0"; color: #fff; }
.pill-chips { display: flex; gap: calc(6px * var(--pill-scale)); }
.pill-chip { font-size: calc(10px * var(--pill-scale)); line-height: 1; padding: calc(3px * var(--pill-scale)) calc(8px * var(--pill-scale)); border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .10); color: #fff; }
.pill-chip.default { background: #fff; color: #1c1c20; border-color: #fff; }

/* ---------- problem */
.problem { padding: clamp(80px, 10vw, 150px) 0; }
.problem-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); grid-template-areas: "head head" "plate copy"; gap: clamp(28px, 3.4vw, 52px) clamp(36px, 5vw, 80px); align-items: start; }
.problem .h2 { max-width: 16ch; margin-bottom: clamp(8px, 1vw, 16px); }
.problem-head { grid-area: head; }
.problem-plate { grid-area: plate; }
.problem-copy { grid-area: copy; }
.evidence { margin: 22px 0 0; padding-top: 16px; border-top: 1.5px solid var(--fife-navy); font: 500 clamp(22px, 1.9vw, 27px)/1.2 var(--headline); color: var(--fife-navy); max-width: 30em; }
.problem .plate { aspect-ratio: 3 / 2; margin-top: 8px; }

/* ---------- how it works: a sticky stage, three movements beside it */
.how { padding: clamp(80px, 10vw, 140px) 0 clamp(40px, 5vw, 72px); }
.how-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); }
.how-stage { position: sticky; top: 12vh; height: 76vh; min-height: 460px; display: flex; flex-direction: column; justify-content: center; }
.screen { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; background: var(--fife-navy-deep) var(--paper-grain); box-shadow: inset 0 0 0 1px rgba(241,234,219,.14), 0 30px 60px -40px rgba(0,0,0,.8); overflow: hidden; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 7%; }
.screen-plate { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: none; image-rendering: pixelated; opacity: .5; transition: opacity .6s var(--ease); background: var(--fife-paper); mix-blend-mode: normal; }
.screen-frame { position: absolute; inset: 10px; border: 2px solid var(--fife-butter); border-radius: 6px; opacity: 0; transition: opacity .4s var(--ease); pointer-events: none; }
.screen-frame span { position: absolute; left: 12px; top: 10px; background: var(--fife-butter); color: var(--fife-navy); font: 500 10px/1 var(--caps); letter-spacing: .2em; text-transform: uppercase; padding: 6px 9px; border-radius: 999px; }
.how-stage[data-step="2"] .screen-frame { opacity: 1; }
.how-stage[data-step="2"] .screen-plate { opacity: .95; }
.how-stage[data-step="3"] .screen-plate { opacity: .35; }
.screen .pill-host { --pill-scale: 1.25; position: relative; z-index: 1; min-height: 0; }
.how-steps { padding: 14vh 0 8vh; }
.move { min-height: 50vh; display: flex; flex-direction: column; justify-content: center; max-width: 30em; opacity: .55; transition: opacity .5s var(--ease); }
.move.is-on { opacity: 1; }
.move .num { font: italic 400 26px/1 var(--body); color: var(--fife-blue); margin-bottom: 14px; }
.move .h2 { margin-bottom: 22px; }
.move p { font-size: 20px; max-width: 33ch; }

/* ---------- everyday */
.everyday { padding: clamp(80px, 10vw, 140px) 0; }
.everyday .h2 { max-width: 16ch; }
.asks { list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 32px; }
.ask { border-top: 1px solid var(--rule-ink); padding: 22px 0 34px; }
.ask:nth-child(1) { grid-column: 1 / span 7; }
.ask:nth-child(2) { grid-column: 5 / span 8; }
.ask:nth-child(3) { grid-column: 2 / span 7; }
.ask q { display: block; font: italic 400 clamp(26px, 2.6vw, 38px)/1.15 var(--body); quotes: "\201C" "\201D"; color: var(--fife-navy); }
.ask .done { margin-top: 12px; font: 500 12px/1.4 var(--caps); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.ask .done::before { content: "\2713"; margin-right: 10px; color: var(--fife-blue); }

/* ---------- leaders */
.leaders { padding: clamp(80px, 10vw, 150px) 0; overflow: hidden; }
.leaders-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.leaders .h2 { max-width: 13ch; margin-bottom: 30px; }
.leaders p { color: var(--paper-soft); font-size: 20px; max-width: 36ch; }
.brief { position: relative; background: var(--fife-paper) var(--paper-grain); color: var(--fife-ink); padding: clamp(26px, 3vw, 40px); rotate: -2.2deg; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); max-width: 560px; justify-self: center; width: 100%; }
.brief::after { content: ""; position: absolute; inset: 10px; border: 1px dashed rgba(18, 28, 69, .45); pointer-events: none; }
.brief-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.brief-top svg { height: 26px; width: auto; fill: var(--fife-navy); }
.brief .h3 { color: var(--fife-blue); margin-bottom: 20px; }
.brief dl { margin: 0; }
.brief dt { font: 500 11px/1.4 var(--caps); letter-spacing: .2em; text-transform: uppercase; margin-top: 16px; color: var(--ink-soft); }
.brief dd { margin: 4px 0 0; font-size: 18px; line-height: 1.38; }
.brief .sample { position: absolute; left: 22px; top: -13px; z-index: 1; background: var(--fife-butter); color: var(--fife-navy); font: 500 11px/1 var(--caps); letter-spacing: .2em; text-transform: uppercase; padding: 8px 12px; }

/* ---------- discovery */
.discovery { padding: clamp(80px, 10vw, 150px) 0; }
.discovery-top { display: grid; gap: 26px; }
.discovery .h2 { max-width: 15ch; }
.discovery .lede { max-width: 46ch; }
.discovery .plate.wide { margin-top: clamp(40px, 5vw, 72px); height: clamp(220px, 32vw, 460px); }
.timeline { list-style: none; padding: 0; margin: clamp(40px, 5vw, 64px) 0 0; display: grid; grid-template-columns: 1fr 1fr 1.25fr; border-top: 1.5px solid var(--fife-ink); }
.timeline li { padding: 22px 28px 0 0; position: relative; }
.timeline li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--fife-paper); border: 1.5px solid var(--fife-ink); }
.timeline li:last-child::before { background: var(--fife-navy); }
.timeline .when { font: italic 400 20px/1.2 var(--body); color: var(--fife-blue); margin-bottom: 10px; }
.timeline .h3 { margin-bottom: 12px; }
.timeline p { font-size: 18px; max-width: 30ch; }

/* ---------- questions */
.questions { padding: clamp(80px, 10vw, 140px) 0; }
.q-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(36px, 6vw, 96px); }
.questions .section-head { margin-bottom: 28px; }
.questions { background-color: var(--fife-paper-deep); }
.q-list details { border-top: 1px solid var(--rule-ink); }
.q-list details:last-child { border-bottom: 1px solid var(--rule-ink); }
.q-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font: 500 clamp(24px, 2.1vw, 30px)/1.1 var(--headline); }
.q-list summary::-webkit-details-marker { display: none; }
.q-list summary::after { content: "+"; font: 300 28px/1 var(--caps); transition: transform .25s var(--ease); flex: 0 0 auto; color: var(--fife-blue); }
.q-list details[open] summary::after { transform: rotate(45deg); }
.q-list .a { padding: 0 0 24px; max-width: 54ch; font-size: 19px; }

/* ---------- reply */
.reply { padding: clamp(80px, 10vw, 140px) 0 0; overflow: hidden; }
.reply-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.reply .h2 { max-width: 12ch; }
.reply .lede { color: var(--paper-soft); margin-top: 24px; }
.moon { position: relative; margin-top: clamp(48px, 7vw, 110px); width: min(560px, 100%); }
.moon img { image-rendering: pixelated; }
.moon .sky { width: 62%; margin: 0 auto; aspect-ratio: 2 / 1; overflow: hidden; }
.moon .sun { width: 100%; height: auto; }
.moon .sea { width: 100%; margin-top: 4px; }
.card { position: relative; background: var(--fife-paper) var(--paper-grain); color: var(--fife-ink); padding: clamp(26px, 3vw, 44px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); rotate: 1.2deg; margin-bottom: clamp(60px, 8vw, 120px); }
.card::before { content: ""; position: absolute; inset: 10px; border: 1.5px dashed rgba(18, 28, 69, .5); pointer-events: none; }
.card-top { display: flex; justify-content: space-between; align-items: center; }
.card-top svg { height: 24px; width: auto; fill: var(--fife-navy); }
.card .h3 { color: var(--fife-blue); font-size: clamp(36px, 3.4vw, 50px); margin: 18px 0 8px; }
.card .sub { font-size: 18px; margin-bottom: 18px; }
.field { display: grid; gap: 4px; margin-top: 14px; position: relative; z-index: 1; }
.field label { font: 500 12px/1.4 var(--caps); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field select, .field textarea { font: italic 400 20px/1.35 var(--body); color: var(--fife-ink); background: transparent; border: 0; border-bottom: 1.5px solid var(--fife-ink); padding: 6px 0 7px; border-radius: 0; width: 100%; }
.field textarea { resize: vertical; min-height: 84px; border: 1.5px solid var(--fife-ink); padding: 8px 10px; border-radius: 2px; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--fife-ink) 50%), linear-gradient(135deg, var(--fife-ink) 50%, transparent 50%); background-position: calc(100% - 14px) 55%, calc(100% - 8px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--fife-blue); box-shadow: 0 1.5px 0 var(--fife-blue); }
.field .err { font: italic 500 16px/1.3 var(--body); color: var(--fife-blue); display: none; }
.field .err::before { content: "Missing: "; font-style: normal; }
.opt { text-transform: none; letter-spacing: 0; font: italic 14px var(--body); }
.field.bad .err { display: block; }
.field.bad input, .field.bad select { border-color: var(--fife-blue); border-bottom-width: 3px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 26px; position: relative; z-index: 1; flex-wrap: wrap; }
.card-foot small { font-size: 15px; color: var(--ink-soft); max-width: 24ch; line-height: 1.3; }
.sent { display: none; position: relative; z-index: 1; outline: none; }
.card.is-sent form { display: none; }
.card.is-sent .sent { display: block; }
.sent .h3 { margin-top: 10px; }
.form-error { color: var(--fife-blue); font-style: italic; font-size: 16px; margin: 12px 0 0; position: relative; z-index: 1; }

/* ---------- footer */
.footer { padding: clamp(64px, 8vw, 110px) 0 28px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; padding-bottom: clamp(36px, 4vw, 56px); border-bottom: 1px solid var(--rule-ink); }
.footer .lockup { color: var(--fife-ink); gap: clamp(10px, 1.6vw, 24px); }
.footer .lockup .m, .footer .lockup .w { height: clamp(90px, 13vw, 200px); }
.footer-top p { font-style: italic; font-size: 21px; max-width: 26ch; text-align: right; margin: 0; }
.folio { display: flex; justify-content: space-between; gap: 18px; padding-top: 16px; font: 500 11px/1.4 var(--caps); letter-spacing: .24em; text-transform: uppercase; flex-wrap: wrap; }
.folio a { text-decoration: none; }

/* ---------- motion: entrances are small and only where reading order matters */
@media (prefers-reduced-motion: no-preference) {
  /* If site.js never starts (html.site-ok missing), everything shows after 2.5s anyway. */
  html.js:not(.site-ok) .reveal { animation: failsafe 0s 2.5s forwards; }
  @keyframes failsafe { to { opacity: 1; transform: none; } }
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
  .js .reveal.in { opacity: 1; transform: none; }
  .hero .reveal { transition-duration: 1s; }
  .hero .reveal:nth-child(2) { transition-delay: .08s; }
  .hero .reveal:nth-child(3) { transition-delay: .16s; }
}
@media (prefers-reduced-motion: reduce) {
  .pill, .pill canvas, .move, .screen-plate, .screen-frame { transition: none !important; }
  .stage.paused .pill-line::after { animation-play-state: paused; }
.pill.working .pill-line::after { animation: none; }
}

/* ---------- responsive */
@media (max-width: 1080px) {
  .nav-links { gap: 20px; }
  .columns { column-count: 1; }
}
@media (max-width: 900px) {
  .problem-grid { grid-template-areas: "head" "copy" "plate"; }
  .hero-grid, .problem-grid, .leaders-grid, .discovery-top, .reply-grid, .q-grid { grid-template-columns: minmax(0, 1fr); }
  .hero .h1 { max-width: 11ch; }
  .stage { margin-top: 12px; }
  .how-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .how-stage { top: 0; height: auto; min-height: 0; padding: 14px 0; z-index: 2; background: var(--fife-paper) var(--paper-grain); margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); }
  .screen { aspect-ratio: 16 / 9; }
  .screen .pill-host { --pill-scale: .95; }
  .how-steps { padding: 6vh 0 10vh; }
  .move { min-height: 0; padding: 7vh 0; opacity: 1; }
  .asks { grid-template-columns: minmax(0, 1fr); }
  .ask:nth-child(n) { grid-column: 1 / -1; }
  .timeline { grid-template-columns: minmax(0, 1fr); border-top: 0; border-left: 1.5px solid var(--fife-ink); padding-left: 24px; }
  .timeline li { padding: 0 0 34px; }
  .timeline li::before { top: 6px; left: -31px; }
  .footer-top p { text-align: left; }
  .card { rotate: none; }
  .brief { rotate: -1deg; }
}
@media (max-width: 640px) {
  body { font-size: 18px; }
  .nav { height: 68px; }
  .nav-links { display: none; }
  .lockup .m, .lockup .w { height: 24px; }
  .pill-host { --pill-scale: 1; }
  .stage-floor { left: 3%; right: 3%; bottom: 6%; gap: 12px; }
  .said { font-size: 16px; padding: 8px 12px; }
  .stage-note { right: 6px; top: -12px; font-size: 15px; }
  .two { grid-template-columns: minmax(0, 1fr); }
  .section-head { flex-direction: column; gap: 6px; }
}
.plate img.focus-right { object-position: 78% 45%; }
.notfound { min-height: 100dvh; padding-bottom: 80px; }
.notfound .h1 { margin-top: clamp(64px, 10vw, 140px); }
.notfound .lede { margin: 28px 0 40px; }
