

:root {
  --black: #000000; --blue: #9AB9FF; --coral: #FF4F6A; --cream: #F2EADF; --charcoal: #141210; --ink: #1C1714;
  
  --red: #E64343; --red-deep: #A32929; --fp-cream: #EEEBE5; --fp-light: #FDFCFA; --fp-card-light: #F8F7F4; --fp-card-dark: #E4E0D8; --fp-ink: #3A2A20; --red-ink: #120D0B;
  --m: clamp(16px, 3.9vw, 56px);          
  --col: calc((100vw - 2 * var(--m)) / 12);
  --bar: 64px;
  --row: 33.333vh;                        
  --ox: 10px; --oy: 8px;                  
  --sp: min(88px, 10vh);                  
  --h2: clamp(40px, 5vw, 76px);           
  --display: "Bricolage Grotesque", "Arial Narrow", sans-serif;
  --mono: "DM Mono", ui-monospace, Menlo, monospace;
  --serif: "Fraunces", Georgia, serif;
  --tile-night: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Cpath d='M8.5 0V4000M0 8.5H4000' stroke='%239AB9FF' stroke-opacity='0.26'/%3E%3Cpath d='M8.5 2v13M2 8.5h13' stroke='%239AB9FF' stroke-opacity='1'/%3E%3C/svg%3E");
  --tile-about: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Cpath d='M8.5 0V4000M0 8.5H4000' stroke='%231C1714' stroke-opacity='0.2'/%3E%3Cpath d='M8.5 2v13M2 8.5h13' stroke='%231C1714' stroke-opacity='1'/%3E%3C/svg%3E");
  --tile-spec: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Cpath d='M8.5 0V4000M0 8.5H4000' stroke='%233A2A20' stroke-opacity='0.14'/%3E%3Cpath d='M8.5 2v13M2 8.5h13' stroke='%233A2A20' stroke-opacity='1'/%3E%3C/svg%3E");
  --tile-char: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Cpath d='M8.5 0V4000M0 8.5H4000' stroke='%23F2EADF' stroke-opacity='0.13'/%3E%3Cpath d='M8.5 2v13M2 8.5h13' stroke='%23F2EADF' stroke-opacity='0.7'/%3E%3C/svg%3E");
}
@media (max-width: 760px) { :root { --sp: 56px; --col: calc((100vw - 2 * var(--m)) / 4); --bar: 56px; --ox: 6px; --oy: 5px; } }

[data-sheet="work"]  { --bg: var(--charcoal); --fg: var(--cream); --rule: var(--cream); --hair: rgba(242, 234, 223, .3); --tile: var(--tile-char); --acc: var(--red); --acc-s: var(--red); --plate: var(--red); --box: #221D1A; --boxline: transparent; --sel-bg: var(--red); --sel-fg: var(--black); }
[data-sheet="paper"] { --bg: var(--black); --fg: var(--cream); --rule: var(--blue); --hair: color-mix(in srgb, var(--blue) 40%, transparent); --tile: var(--tile-night); --acc: var(--red); --acc-s: var(--red); --plate: var(--red); --edge: color-mix(in srgb, var(--blue) 45%, transparent); --box: var(--charcoal); --boxline: color-mix(in srgb, var(--blue) 40%, transparent); --sel-bg: var(--red); --sel-fg: var(--black); }
[data-sheet="about"] { --bg: var(--blue); --fg: var(--ink); --rule: var(--ink); --hair: rgba(28, 23, 20, .4); --tile: var(--tile-about); --acc: var(--ink); --acc-s: var(--ink); --plate: var(--ink); --box: #BDD1FF; --boxline: transparent; --sel-bg: var(--ink); --sel-fg: var(--blue); }
[data-sheet="spec"]  { --plate: var(--red); --bg: var(--fp-cream); --fg: var(--fp-ink); --rule: var(--fp-ink); --hair: rgba(58, 42, 32, .22); --tile: var(--tile-spec); --acc: var(--red); --acc-s: var(--red-deep); --box: var(--fp-card-dark); --boxline: transparent; --sel-bg: var(--red); --sel-fg: var(--red-ink); }
[data-sheet="light"] { --plate: var(--red); --bg: var(--fp-light); --fg: var(--fp-ink); --rule: var(--fp-ink); --hair: rgba(58, 42, 32, .22); --tile: var(--tile-spec); --acc: var(--red); --acc-s: var(--red-deep); --box: var(--fp-card-light); --boxline: transparent; --sel-bg: var(--red); --sel-fg: var(--red-ink); }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-padding-top: var(--bar); }
body { margin: 0; font-family: var(--display); font-variation-settings: "opsz" 14; font-size: 18px; line-height: 27px; color: var(--fg); overflow-x: clip; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, ol, ul, figure { margin: 0; padding: 0; font-weight: inherit; font-size: inherit; }
ol, ul { list-style: none; }
img, svg { display: block; }
img { max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--sel-bg, var(--red)); color: var(--sel-fg, #000); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 4px; }

.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.display { font-family: var(--display); font-weight: 800; font-stretch: 75%; font-variation-settings: "opsz" 96; text-transform: uppercase; line-height: .86; letter-spacing: -.005em; }
.mono { font-family: var(--mono); font-weight: 500; font-variation-settings: normal; font-style: normal; text-transform: uppercase; letter-spacing: .06em; font-size: 13px; line-height: 16px; }
.mono b { font-weight: 500; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; font-stretch: 100%; font-variation-settings: "opsz" 48, "SOFT" 60, "WONK" 1; text-transform: none; letter-spacing: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

main > *, .hero-hold > * { position: relative; z-index: 1; background: var(--bg); color: var(--fg); }

.hero-hold { z-index: 0; }
@media (prefers-reduced-motion: no-preference) and (min-width: 761px) {   
  .hero-hold::after { content: ""; display: block; height: 150vh; height: 150svh; }
  .hero-hold > .hero { position: sticky; top: min(var(--bar), calc(100svh - var(--hh, 0px))); }
}
.sheet { position: relative; isolation: isolate; }

.sheet::before {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: calc(var(--m) - 9px); right: calc(var(--m) - 9px); padding: 0 9px;
  background-image: var(--tile); background-origin: content-box; background-position: -8.5px calc(var(--row) - 8.5px); background-size: 25% var(--row);
  pointer-events: none; opacity: .65;
}
@media (max-width: 760px) { .sheet::before { background-size: 50% var(--row); } }

.sheet::after { content: ""; position: absolute; z-index: 1; left: 0; top: 0; bottom: 0; width: 8px; opacity: .55; background: repeating-linear-gradient(to bottom, var(--rule) 0 1px, transparent 1px 10px); pointer-events: none; }

.reg { width: 18px; height: 18px; color: var(--rule); flex: none; }
.sec__reg { position: absolute; z-index: 2; right: calc((var(--m) - 18px) / 2); top: calc(var(--bar) + 5px); }

.g { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.h2 { font-size: var(--h2); }
.h3 { font-size: 32px; line-height: 30px; }

.box { background: var(--box); box-shadow: inset 0 0 0 1px var(--boxline, transparent); }
@keyframes turn { to { transform: rotate(360deg); } }

.bar { position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: var(--bar); padding: 0 var(--m); display: flex; align-items: center; background: var(--bg); color: var(--fg); border-bottom: 1px solid var(--hair); transition: background-color .2s, color .2s, border-color .2s; }
.bar__who { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.bar__mark { width: 26px; height: 26px; fill: currentColor; animation: turn 40s linear infinite; }
.bar__name { font-size: 26px; line-height: 1; white-space: nowrap; }
.bar__nav { display: flex; gap: clamp(14px, 2.6vw, 40px); font-size: 14px; }
.bar__nav a { padding: 6px 0; border-bottom: 2px solid transparent; }
.bar__nav a:hover { border-bottom-color: currentColor; }

.go { position: fixed; z-index: 40; right: var(--m); bottom: 32px; display: inline-flex; align-items: center; gap: 14px; white-space: nowrap; padding: 18px 28px 17px; background: var(--coral); color: #000;
  font-size: clamp(28px, 2.6vw, 40px); line-height: 1; box-shadow: 0 0 40px -6px rgba(255, 79, 106, .55); transition: box-shadow .3s cubic-bezier(.2, .7, .1, 1), transform .3s cubic-bezier(.2, .7, .1, 1) }
.go svg { width: .9em; height: .9em; fill: none; stroke: currentColor; stroke-width: 2.5; transition: transform .3s cubic-bezier(.2, .7, .1, 1); }
.go:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 4px; }
@media (hover: hover) { .go:hover { transform: translateY(-2px); box-shadow: 0 0 56px -4px rgba(255, 79, 106, .8); } .go:hover svg { transform: translateX(6px); } }

.hero { z-index: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));   
  padding: calc(var(--bar) + var(--sp)) var(--m) 0; --fs: min(calc((100vw - 2 * var(--m)) * .108), 16vh); }
.hero__title { grid-area: 1 / 1 / 2 / 9; margin: 0 0 32px -.012em; font-size: var(--fs); white-space: nowrap; }
.hero__tag { grid-area: 2 / 1 / 3 / 9; white-space: nowrap; font-size: clamp(28px, 2.6vw, 40px); line-height: 1.12; }
.hero__lede { grid-area: 3 / 1 / 4 / 7; margin-top: 32px; font-size: 18px; line-height: 27px; text-wrap: pretty; }

.hero__facts { grid-area: 4 / 1 / 5 / 9; align-self: end; display: flex; gap: 10px; margin: 40px 0 var(--sp);
  font-family: var(--display); font-weight: 800; font-stretch: 75%; font-variation-settings: "opsz" 96; letter-spacing: 0; font-size: clamp(16px, 1.4vw, 20px); line-height: 1; }
.hero__facts li { flex: none; white-space: nowrap; padding: 14px 16px 15px; background: var(--box); }

.sec { padding: var(--sp) var(--m); }
.sec > .h2 { margin-bottom: 48px; }

.sec > .h2:has(+ .sec__lead) { margin-bottom: 0; }
.sec__lead { width: calc((100% + 16px) / 2 - 16px); margin: 20px 0 48px; font-size: 18px; line-height: 26px; text-wrap: pretty; }
#two-ways .sec__lead, #design .sec__lead { width: auto; max-width: none; }   

.fp-panel {
  --ink: #3A2A20; --ink-body: rgba(58, 42, 32, .74); --ink-caption: rgba(58, 42, 32, .74); --bg: var(--fp-cream); --panel: var(--fp-cream); --border: rgba(58, 42, 32, .22);
  --accent: oklch(0.62 0.20 25); --cta-bg: #3A2A20; --cta-fg: #FDF5EC;
  --fp-heading: 760 30px/1.14 "Newsreader", serif; --fp-heading-spacing: -0.022em; --fp-body: 400 17px/1.55 "Newsreader", serif;
  --fp-small: 400 15px/1.45 "Newsreader", serif; --fp-label: 700 11px/1.2 "Space Mono", monospace; --fp-label-spacing: 0.12em;
  background: var(--bg); color: var(--ink); text-transform: none; letter-spacing: 0;
}

[data-sheet="spec"] .box.fp-panel { --bg: var(--fp-card-dark); --panel: var(--fp-card-dark); }

section[data-sheet="light"] .box .fp-panel { --bg: var(--fp-card-light); --panel: var(--fp-card-light); }
section[data-sheet="spec"] .box .fp-panel { --bg: var(--fp-card-dark); --panel: var(--fp-card-dark); }   
[data-sheet="light"] .st__fig.box.fp-panel { --bg: var(--fp-card-light); --panel: var(--fp-card-light); }   
[data-sheet="paper"] .box.fp-panel { box-shadow: none; }

.fp-ref { display: inline-block; margin-left: 3px; font: 500 11px/1 var(--mono); font-style: normal; vertical-align: super; opacity: .75; }
.fp-ref:hover { opacity: 1; text-decoration: underline; text-underline-offset: 2px; }

.studies { min-height: calc(100vh - var(--bar)); min-height: calc(100svh - var(--bar)); display: flex; flex-direction: column; padding: var(--sp) var(--m); }
.st__head { padding-bottom: 32px; }
.st { flex: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; gap: 16px; align-content: start; }
.st[hidden] { display: none; }
.st__text, .st__fig { display: flex; flex-direction: column; justify-content: center; }
.st__text { padding: 20px 28px 22px; }
.st__text p, .st__end p { font-size: 18px; line-height: 26px; text-wrap: pretty; }
.st strong { font-weight: 650; }
.fp-cs-q { font-style: italic; font-weight: 500; }
.fp-cs-q .fp-ref { font-style: normal; }
.st__fig { padding: 28px 40px 30px; }
.st__fig .fp-cs-line:not(.fp-cs-line--harvard) { padding-bottom: 20px; }   
.st__end { grid-column: 1 / -1; padding: 20px 28px 22px; background: var(--box); box-shadow: inset 0 0 0 1px var(--boxline, transparent); }   

.fp-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.fp-tabs__tab { padding: 14px 16px 15px; background: var(--box); color: var(--fg); font-size: clamp(16px, 1.4vw, 20px); line-height: 1; letter-spacing: 0; transition: background-color .15s, color .15s; }
.fp-tabs__tab[aria-selected="true"] { background: var(--fg); color: var(--bg); }
@media (hover: hover) { .fp-tabs__tab[aria-selected="false"]:hover { box-shadow: inset 0 0 0 2px var(--fg); } }
.fp-tabs__panel { animation: fadeUp .45s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.fp-cs-line { width: 100%; margin: 0; }
.fp-cs-line__ends { display: flex; justify-content: space-between; margin-bottom: 6px; font: var(--fp-label); letter-spacing: var(--fp-label-spacing); color: var(--ink-caption); }
.fp-cs-line__track { position: relative; height: 8px; border-radius: 4px; background: color-mix(in oklab, var(--ink) 9%, transparent); }
.fp-cs-line__band { position: absolute; top: 0; bottom: 0; left: 81%; width: 9%; background: color-mix(in oklab, var(--ink) 38%, transparent); }
.fp-cs-line__mark { position: absolute; top: -5px; bottom: 0; left: 9%; width: 3px; margin-left: -1.5px; border-radius: 2px 2px 0 0; background: var(--accent); }
.fp-cs-line__notes { position: relative; display: flex; justify-content: space-between; align-items: flex-start; }
.fp-cs .fp-cs-line__note { margin: 0; padding-top: 9px; font: var(--fp-small); color: var(--ink-body); }
.fp-cs-line__note b { display: block; font: 760 18px/1.2 "Newsreader", serif; color: var(--ink); }
.fp-cs .fp-cs-line__note--answer { margin-left: calc(9% - 1.5px); padding-left: 12px; border-left: 3px solid var(--accent); }
.fp-cs-line__band i { position: absolute; top: calc(100% + 6px); left: -1px; right: -1px; height: 7px; border: 1.5px solid var(--ink-body); border-top: none; }
.fp-cs .fp-cs-line__note--doctors { position: absolute; top: 8px; left: 85.5%; transform: translateX(-50%); width: 190px; text-align: center; }
.fp-cs-line:not(.fp-cs-line--harvard) { padding-bottom: 72px; }
.fp-cs-line--after .fp-cs-line__band { background: transparent; border: 1.5px dashed color-mix(in oklab, var(--ink) 50%, transparent); border-radius: 2px; }
.fp-cs-line--after .fp-cs-line__band i { border-style: dashed; border-color: color-mix(in oklab, var(--ink) 45%, transparent); border-top: none; }
.fp-cs .fp-cs-line--after .fp-cs-line__note--doctors, .fp-cs-line--after .fp-cs-line__note--doctors b { color: var(--ink-caption); }
.fp-cs-line--harvard .fp-cs-line__mark { left: 2%; }
.fp-cs-line--harvard .fp-cs-line__mark--dark { left: 95%; background: color-mix(in oklab, var(--ink) 60%, transparent); }
.fp-cs .fp-cs-line--harvard .fp-cs-line__note--answer { margin-left: calc(2% - 1.5px); }
.fp-cs .fp-cs-line__note--point { margin-right: calc(5% - 1.5px); padding-right: 12px; border-right: 3px solid color-mix(in oklab, var(--ink) 60%, transparent); text-align: right; }

[data-sheet="spec"] .fp-cs-match__side, [data-sheet="spec"] .fp-cs-match__legend { --bg: var(--fp-card-dark); --panel: var(--fp-card-dark); }
.fp-cs-label { display: block; margin: 0; font: var(--fp-label); letter-spacing: var(--fp-label-spacing); text-transform: uppercase; color: var(--ink-caption); }
.fp-cs-match { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.fp-cs-match__side { position: relative; display: flex; flex-direction: column; margin: 0; padding: 20px 24px 24px; }
.fp-cs .fp-cs-match__side .fp-cs-label { color: var(--ink); margin: 14px 0 4px; font: 760 clamp(26px, 2.2vw, 32px)/1.2 "Newsreader", serif; letter-spacing: var(--fp-heading-spacing); text-transform: none; text-align: center; }
.fp-cs .fp-cs-match__side .fp-cs-label b { color: #e64343; }
.fp-cs .fp-cs-frac { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; margin: 0; padding: 30px 0 28px; }
.fp-cs-frac__top, .fp-cs-frac__bottom { display: flex; align-items: center; justify-content: center; gap: 8px; }
.fp-cs-frac__top { min-height: 42px; align-items: flex-end; padding-bottom: 14px; }
.fp-cs-frac__step { margin-top: 22px; font: 400 14px/1.3 "Space Mono", monospace; color: var(--ink-body); }
.fp-cs-frac__bottom { min-width: min(100%, 250px); padding-top: 14px; border-top: 2px solid var(--ink); }
.fp-cs-frac__bottom i { font: 400 15px/1 "Space Mono", monospace; font-style: normal; color: var(--ink); }
.fp-cs-frac svg { display: block; max-width: 100%; height: auto; }
.fp-cs-term { display: inline-block; padding: 5px 9px 4px; border-radius: 6px; font: 700 14px/1.3 "Space Mono", monospace; color: var(--ink); white-space: nowrap; }
.fp-cs-term--red { background: color-mix(in oklab, #e64343 20%, transparent); box-shadow: inset 0 -2px 0 #e64343; }
.fp-cs-term--dark { background: color-mix(in oklab, var(--ink) 13%, transparent); box-shadow: inset 0 -2px 0 var(--ink); }

.fp-cs .fp-cs-match__note { position: absolute; top: calc(100% + 4px); left: 50%; transform: translateX(-50%) rotate(-2deg); display: flex; align-items: flex-start; gap: 6px; margin: 0; font: 600 23px/1.15 "Caveat", cursive; color: var(--fg); white-space: nowrap; }
.fp-cs-match__side:last-of-type .fp-cs-match__note { transform: translateX(-50%) rotate(2deg); }
.fp-cs-match__note svg { width: 32px; height: 35px; flex: none; margin-top: -14px; }
.fp-cs-match__legend { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 32px; margin: 72px 0 0; padding: 16px 20px; font: var(--fp-small); color: var(--ink-body); }
.fp-cs-match__legend li { display: flex; align-items: center; gap: 9px; }
.fp-cs-match__legend b { font-weight: 600; color: var(--ink); }
.fp-cs-match__sw { flex: none; width: 11px; height: 11px; border-radius: 50%; background: #3a2a20; }
.fp-cs-match__sw--red { background: #e64343; }

.dtiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.dtile { display: grid; grid-template-rows: subgrid; grid-row: span 3; row-gap: 0; align-content: start; padding: 28px; }
.dtile .h3 { font-size: 28px; line-height: 28px; margin: 24px 0 12px; }
.dtile p { font-size: 16px; line-height: 24px; text-wrap: pretty; }
.fp-cs-tiles__art { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 150px; padding: 16px; }
.fp-cs-dots { display: block; width: 120px; height: auto; }
.fp-cs-tiles__art--move { flex-direction: row; gap: 10px; }
.fp-cs-tiles__art--move .fp-cs-dots { width: 96px; }
.fp-cs-tiles__art--move > i { font-style: normal; color: var(--accent); font-size: 18px; }
.fp-cs-swap { display: inline-flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 8px; font: var(--fp-small); color: var(--ink-body); }
.fp-cs-swap s { color: var(--ink-caption); text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; }
.fp-cs-swap i { font-style: normal; color: var(--accent); }
.fp-cs-swap b { font-weight: 600; color: var(--ink); }
.fp-cs-swap--stack { flex-direction: column; align-items: flex-start; gap: 4px; }
.fp-cs-swap--stack > span { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.fp-cs-slider { position: relative; display: block; width: 78%; height: 4px; border-radius: 2px; background: color-mix(in oklab, var(--ink) 20%, transparent); }
.fp-cs-slider i { position: absolute; top: 50%; left: 50%; width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 2px var(--panel), 0 0 0 3.5px var(--ink); }
.fp-cs-tiles__art .fp-cs-label { color: var(--ink-body); }
.fp-steps__bar { display: flex; align-items: center; gap: 12px; margin: 0; padding: 3px 0; }
.fp-steps__bar li { width: 9px; height: 9px; border-radius: 50%; background: color-mix(in oklab, var(--ink) 18%, transparent); }
.fp-steps__bar li.is-done { background: var(--ink); }
.fp-steps__bar li.is-now { background: var(--ink); box-shadow: 0 0 0 2px var(--panel), 0 0 0 3.5px var(--ink); }
.fp-cs-key { display: grid; justify-content: center; gap: 7px; font: var(--fp-small); color: var(--ink-body); }
.fp-cs-key li { display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.fp-dot { flex: none; width: 12px; height: 12px; border-radius: 50%; }
.fp-dot--tp { background: #e64343; }
.fp-dot--fn { border: 1.5px solid #e64343; }
.fp-dot--fp { background: #3a2a20; }
.fp-dot--tn { background: rgba(58, 42, 32, 0.2); }

.versions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.vbox { display: grid; grid-template-rows: subgrid; grid-row: span 3; row-gap: 0; padding: 28px; }
.vbox .h3 { margin-bottom: 24px; }
.wf-tile { display: flex; justify-content: center; align-items: flex-start; padding: 24px; }
.wf-tile .fp-wf__page { max-width: 300px; }
.vbox p { margin-top: 20px; text-wrap: pretty; }

.fp-wf__page { --w-line: color-mix(in oklab, var(--ink) 26%, transparent); --w-fill: color-mix(in oklab, var(--ink) 9%, transparent); --w-mute: color-mix(in oklab, var(--ink) 55%, transparent);
  width: 100%; min-height: 212px; border: 2px solid color-mix(in oklab, var(--ink) 45%, transparent); border-radius: 14px; background: #FFFFFF; padding: 14px 16px; display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.fp-wf__page--center { align-items: center; text-align: center; }
.fp-wf__back { width: 26px; height: 9px; border-radius: 5px; background: var(--w-fill); }
.fp-wf__h1 { font: 760 13px/1.2 "Newsreader", serif; letter-spacing: -0.01em; color: var(--ink); }
.fp-wf__h2 { margin-top: 5px; font: 600 10.5px/1.2 "Newsreader", serif; color: var(--ink); }
.fp-wf__bar { display: block; height: 6px; border-radius: 3px; background: var(--w-fill); }
.fp-wf__head { display: flex; align-items: center; gap: 9px; }
.fp-wf__tile { flex: none; width: 24px; height: 24px; border-radius: 6px; background: var(--w-fill); }
.fp-wf__stack { display: grid; gap: 4px; }
.fp-wf__pills { display: flex; gap: 4px; }
.fp-wf__pills i { font: 700 6.5px/1 "Space Mono", monospace; font-style: normal; letter-spacing: 0.08em; text-transform: uppercase; color: var(--w-mute); border: 1px solid var(--w-line); border-radius: 999px; padding: 2.5px 5px; }
.fp-wf__rule { width: 100%; border-top: 1px solid var(--w-line); margin: 3px 0; }
.fp-wf__split { width: 100%; display: grid; grid-template-columns: 1.25fr 1fr; gap: 12px; align-items: start; }
.fp-wf__cell { display: grid; gap: 8px; justify-items: flex-start; }
.fp-wf__cell--facts { gap: 9px; padding-top: 3px; }
.fp-wf__cell--facts .fp-wf__bar { width: 100%; }
.fp-wf__q { font: 600 10px/1.4 "Newsreader", serif; color: var(--ink); }
.fp-wf__q--big { font: 760 11.5px/1.3 "Newsreader", serif; max-width: 200px; text-wrap: balance; }
.fp-wf__page--center .fp-wf__q { max-width: 210px; }
.fp-wf__slider { position: relative; width: 82%; height: 10px; }
.fp-wf__slider::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 2px; border-radius: 1px; background: var(--w-line); }
.fp-wf__slider::after { content: ""; position: absolute; left: 46%; top: 0.5px; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.fp-wf__slider--center { width: 56%; }
.fp-wf__btn { display: inline-flex; align-items: center; justify-content: center; min-width: 68px; padding: 5px 12px; border-radius: 999px; background: var(--cta-bg); color: var(--cta-fg); font: 700 6.5px/1 "Space Mono", monospace; letter-spacing: 0.16em; text-transform: uppercase; }
.fp-wf__btn--center { margin-top: 2px; }
.fp-wf__dots { display: flex; gap: 5px; justify-content: center; padding: 2px 0 3px; }
.fp-wf__dots i { width: 4.5px; height: 4.5px; border-radius: 50%; background: var(--w-line); }
.fp-wf__dots i:first-child { background: var(--ink); }

.outcome { padding: var(--sp) var(--m); }
.outcome .h2 { margin-bottom: 32px; }
.cards, .sources { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { padding: 22px 24px 26px; }
.card .h3 { font-size: 28px; line-height: 28px; margin-bottom: 12px; }
.card p { font-size: 16px; line-height: 24px; text-wrap: pretty; }

.source { display: flex; flex-direction: column; gap: 14px; padding: 20px 24px 24px; background: var(--box); }
.source__n { font-family: var(--display); font-weight: 800; font-stretch: 75%; font-variation-settings: "opsz" 96; font-size: 44px; line-height: .86; color: var(--acc); }
.source p { font-size: 16px; line-height: 24px; text-wrap: pretty; overflow-wrap: anywhere; }
.source a { text-decoration-line: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--red); }
.source a:hover { text-decoration-thickness: 2px; }
.source:target { box-shadow: inset 0 0 0 2px var(--fg); }

.end { padding: var(--sp) var(--m); display: flex; flex-direction: column; }
.end__next { align-self: flex-end; text-align: right; font-size: clamp(30px, 4.4vw, 64px); transition: text-shadow .18s ease-out; }

.end__row { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 88px; }
.end__name { font-size: 28px; line-height: 32px; }
.end__row nav { display: flex; gap: clamp(14px, 2.6vw, 40px); font-size: 14px; }
.end__row nav a { padding: 6px 0; border-bottom: 2px solid transparent; }
.end__row nav a:hover { border-bottom-color: currentColor; }
.end { padding-bottom: calc(var(--sp) + 96px); }
@media (hover: hover) { .end__next:hover { text-shadow: calc(var(--ox) * .5) calc(var(--oy) * .5) 0 var(--red); } }

.cols { position: fixed; inset: 0; z-index: 60; pointer-events: none; padding: 0 var(--m); display: none; grid-template-columns: repeat(12, 1fr); }
.show-grid .cols { display: grid; }
.cols i:nth-child(odd) { background: color-mix(in srgb, var(--blue) 22%, transparent); }
.cols i:nth-child(even) { background: color-mix(in srgb, var(--blue) 10%, transparent); }

@media (max-width: 1100px) {
  .dtiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .versions { grid-template-columns: 1fr; }
  .vbox { grid-row: auto; }
  .sec__lead { width: auto; max-width: 40em; }
}

@media (max-width: 760px) {
  body { font-size: 17px; line-height: 25px; }
  .bar__mark { width: 20px; height: 20px; }
  .bar__who { gap: 7px; }
  .bar__name { font-size: 20px; }
  .bar__nav { font-size: 11px; line-height: 14px; gap: 11px; }
  .sheet::after { width: 5px; }
  .sec__reg { display: none; }
  .cols { grid-template-columns: repeat(4, 1fr); }
  .cols i:nth-child(n + 5) { display: none; }
  .g { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .h2 { font-size: 11.5vw; }
  .h3 { font-size: 28px; line-height: 26px; }
  .sec { padding: var(--sp) var(--m); }
  .sec > .h2 { margin-bottom: 32px; }
  .sec__lead { width: auto; margin: 20px 0 32px; font-size: 17px; line-height: 25px; }

  .go { left: var(--m); right: var(--m); bottom: 16px; justify-content: center; font-size: 26px; padding: 16px 20px 15px; }

  .hero { display: block; min-height: 0; padding-bottom: var(--sp); --fs: 15vw; }
  .hero__title { margin: 0; white-space: normal; }
  .hero__tag { margin-top: 20px; font-size: 27px; white-space: normal; text-wrap: balance; }
  .hero__lede { margin-top: 20px; font-size: 17px; line-height: 25px; }
  .hero__facts { flex-wrap: wrap; gap: 8px; margin: 28px 0 0; font-size: 17px; }
  .hero__facts li { flex: 1 1 auto; padding: 12px 14px 13px; text-align: center; }

  .studies { min-height: 0; padding: var(--sp) var(--m); }
  .st__head { padding-bottom: 24px; }
  .st { display: flex; flex-direction: column; gap: 10px; }
  .st__text, .st__end { padding: 18px 18px 20px; }
  .st__text p, .st__end p { font-size: 16px; line-height: 23px; }
  .st__fig { padding: 22px 18px 24px; }
  .fp-tabs { gap: 8px; }
  .fp-tabs__tab { flex: 1 1 auto; font-size: 17px; padding: 12px 14px 13px; }
  .fp-cs-line:not(.fp-cs-line--harvard) { padding-bottom: 0; }
  .fp-cs-line:not(.fp-cs-line--harvard) .fp-cs-line__notes { flex-direction: column; align-items: stretch; gap: 10px; }
  .fp-cs .fp-cs-line:not(.fp-cs-line--harvard) .fp-cs-line__note--doctors { position: static; transform: none; width: auto; text-align: right; }

  .fp-cs-match { grid-template-columns: 1fr; row-gap: 64px; }
  .fp-cs-match__legend { margin-top: 64px; flex-direction: column; align-items: flex-start; }

  .dtiles { display: flex; flex-direction: column; gap: 12px; }
  .dtile { display: block; padding: 18px; }
  .dtile .h3 { font-size: 26px; line-height: 25px; margin: 20px 0 10px; }

  .vbox { display: block; padding: 18px; }
  .vbox .h3 { margin-bottom: 18px; }
  .wf-tile { padding: 16px; }

  .outcome { padding: var(--sp) var(--m); }
  .outcome .h2 { margin-bottom: 24px; }
  .cards, .sources { grid-template-columns: 1fr; gap: 12px; }
  .card, .source { padding: 18px 18px 22px; }
  .card .h3 { font-size: 26px; line-height: 25px; }

  .end { padding: var(--sp) var(--m) calc(var(--sp) + 72px); }
  .end__next { font-size: 9vw; }
  .end__row { flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 64px; }
  .end__name { font-size: 22px; line-height: 24px; }
  .end__row nav { font-size: 12px; gap: 20px; }
}

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

@media (max-width: 760px) {   
  html { background: var(--charcoal); }   
  .end { padding: 40px var(--m) calc(24px + env(safe-area-inset-bottom)); }
  .end__next { align-self: stretch; text-align: center; padding: 17px 16px 18px; font-size: 22px; }
  .end__row { flex-direction: column; align-items: center; text-align: center; gap: 2px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--hair); }   
  .end__name { font-size: 22px; line-height: 26px; }
  .end__row nav { justify-content: center; gap: 24px; font-size: 13px; }
  .end__row nav a { padding: 12px 0; }   
}

.bar__menu, .bar__pop { display: none; }
@media (max-width: 760px) {
  .bar__nav { display: none; }
  .bar__name { font-size: 24px; }
  .bar__mark { width: 24px; height: 24px; }
  .bar__who { min-height: 44px; }
  .bar__menu { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -10px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; touch-action: manipulation; }
  .bar__menu svg { width: 24px; height: 24px; }
  .bar__menu .i-close, .bar:has(.bar__pop:popover-open) .bar__menu .i-open { display: none; }
  .bar:has(.bar__pop:popover-open) .bar__menu .i-close { display: block; }
  .bar__pop:popover-open { display: block; position: fixed; inset: var(--bar) 0 auto; width: auto; height: auto; margin: 0; padding: 4px var(--m) 12px; border: 0; border-bottom: 1px solid var(--hair); background: var(--bg); color: var(--fg); }
  .bar__pop a { display: block; padding: 14px 0 14px 12px; border-bottom: 1px solid color-mix(in oklab, currentColor 25%, transparent); color: inherit; text-decoration: none; font-size: 44px; }
  .bar__pop a:last-child { border-bottom: 0; }
  .bar__pop::backdrop { top: var(--bar, 56px); background: rgb(0 0 0 / .4); }   
}
@media (max-width: 359px) { .bar__name { font-size: 21px; } }

.go { background: oklch(0.52 0.19 25); color: #FDF5EC; box-shadow: 0 0 40px -6px oklch(0.52 0.19 25 / .55); }
@media (hover: hover) { .go:hover { box-shadow: 0 0 56px -4px oklch(0.52 0.19 25 / .8); } }
.wf-tile { padding: 12px; }
.wf-tile .fp-wf__page { max-width: none; zoom: 1.15; }   
.fp-cs-tiles__art > * { zoom: 1.4; }
.fp-cs-tiles__art--move > * { zoom: 1.2; }   
.fp-cs-tiles__art .fp-cs-swap--stack { zoom: 1.12; }   
@media (max-width: 900px) and (min-width: 761px) { .wf-tile .fp-wf__page { max-width: 300px; zoom: 1.5; } }
@media (max-width: 760px) { .wf-tile { padding: 0; } .wf-tile .fp-wf__page { zoom: 1.12; } }

.go::before { content: ""; flex: none; width: .9em; }
.go, .go:hover { box-shadow: none; }
@media (max-width: 760px) { .go { font-size: 21px; padding: 13px 16px 12px; } }   
@media (max-width: 760px) { .go { bottom: 4px; } }   

.cover { height: 74vh; min-height: 360px; overflow: hidden; }
.cover::before { content: none; }
.cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
@media (prefers-reduced-motion: no-preference) { .cover { position: sticky; top: 0; z-index: 0; } }
@media (max-width: 760px) { .cover { position: relative; } .hero-hold { display: flow-root; } }   
.hero-hold { background: var(--fp-cream); }   
.hero { padding-top: var(--sp); }   
