@charset "UTF-8";

:root {
  color-scheme: light;
  --backstory-ground: #FCEAE4;
  --backstory-ink: #22292B;
  --backstory-accent: #3D8391;
  --backstory-deep: #245762;
  --backstory-support: #E5E7E6;
  --backstory-white: #FFFFFF;
  --backstory-reading: 68ch;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; scroll-padding-top: 24px; }
body { margin: 0; background: var(--backstory-white); color: var(--backstory-ink); font-family: "Sansation", "Trebuchet MS", sans-serif; font-size: 19px; line-height: 1.6; }
body, button, input { font-synthesis: none; }
img { max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 3px; }
a:focus-visible { outline: 3px solid var(--backstory-deep); outline-offset: 5px; background: var(--backstory-ground); }
::selection { background: var(--backstory-deep); color: var(--backstory-white); }
.gb-skip { position: absolute; left: 20px; top: -100px; padding: 10px 16px; z-index: 10; background: var(--backstory-white); }
.gb-skip:focus { top: 12px; }
.gb-billing { height: 176px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 14px 24px 20px; background: var(--backstory-ground); }
.gb-billing-nav { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; font-size: 16px; line-height: 1.25; }
.gb-billing-nav::before, .gb-billing-nav::after { content: ""; position: absolute; top: 29px; width: 46px; height: 8px; background: var(--backstory-accent); }
.gb-billing-nav::before { right: calc(100% + 100px); }
.gb-billing-nav::after { left: calc(100% + 100px); }
.gb-billing-nav a { display: flex; align-items: center; gap: 8px; text-decoration: none; padding: 2px 10px; }
.gb-billing-nav i, .gb-billing-nav svg { width: 16px; height: 16px; flex-shrink: 0; }
.gb-billing-nav a:hover { background: var(--backstory-ink); color: var(--backstory-white); }
.gb-billing-nav a[aria-current="page"] span { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.gb-name { color: var(--backstory-ink); font-family: "Autour One", "Trebuchet MS", sans-serif; font-size: 39px; line-height: 1.2; text-decoration: none; }
.gb-name:hover { text-decoration: underline; text-underline-offset: .15em; text-decoration-thickness: 2px; }
h1, h2, .gb-passage { font-family: "Autour One", "Trebuchet MS", sans-serif; font-weight: 400; }
h1 { font-size: clamp(36px, 3.65vw, 52px); line-height: 1.23; letter-spacing: -.035em; }

/* A sign-width title band, exposed photograph, then an open standfirst. */
.gb-home-opening { position: relative; isolation: isolate; padding-top: 26px; }
.gb-exposure { position: absolute; inset: 0; z-index: -1; margin: 0; }
.gb-exposure-view { position: absolute; inset: 0; background-image: url("opening.webp"); background-size: cover; background-position: center 53%; background-color: var(--backstory-support); }
.gb-title-band { position: relative; width: min(1160px, calc(100% - 80px)); margin: 0; padding: 24px 64px 40px; color: var(--backstory-white); background: var(--backstory-deep); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 64px) calc(100% - 20px), calc(100% - 64px) 100%, 0 100%); }
.gb-home-h1 { max-width: 21ch; margin: 0 auto; font-size: clamp(40px, 4vw, 58px); line-height: 1.16; text-align: center; text-wrap: balance; }
.gb-fixing { position: absolute; width: 86px; height: 57px; right: 6%; top: -14px; object-fit: cover; clip-path: polygon(13% 0, 92% 0, 100% 100%, 0 100%); box-shadow: 8px 8px 0 var(--backstory-accent); }
.gb-opening-copy { display: grid; grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr); column-gap: 64px; position: relative; margin-top: 198px; padding: 26px max(40px, calc((100% - 1060px) / 2)) 30px; background: var(--backstory-ground); }
.gb-home-lead { margin: 0; font-size: 22px; line-height: 1.45; max-width: 24ch; }
.gb-standfirst { color: var(--backstory-ink); text-align: right; }
.gb-standfirst p { margin: 0; font-size: 17px; line-height: 1.3; }
.gb-standfirst p + p { margin: 12px 0 0 auto; max-width: 48ch; font-size: 16px; line-height: 1.35; }

/* The profile stays continuous; its large passages spill beyond the measure. */
.gb-profile-body { margin-top: 84px; }
.gb-reading { width: min(var(--backstory-reading), calc(100% - 60px)); margin: 0 auto; }
.gb-reading h2 { position: relative; font-size: 31px; line-height: 1.3; letter-spacing: -.025em; margin: 0 0 24px; max-width: 32ch; }
.gb-reading h2 i, .gb-reading h2 svg { position: absolute; right: calc(100% + 22px); top: 5px; width: 28px; height: 28px; color: var(--backstory-deep); }
.gb-reading p { margin: 0 0 24px; }
.gb-reading p:last-child { margin-bottom: 0; }
.gb-reading p:first-of-type::first-letter { color: var(--backstory-deep); font-weight: 700; }
.gb-reading a, .gb-inner-lead a { text-decoration-color: var(--backstory-accent); text-decoration-thickness: 2px; }
.gb-reading a:hover, .gb-inner-lead a:hover { background: var(--backstory-ground); text-decoration-color: var(--backstory-ink); text-decoration-thickness: 3px; }
.gb-splice { width: min(1120px, calc(100% - 60px)); margin: 62px auto; display: flex; justify-content: space-between; align-items: center; height: 8px; }
.gb-splice::before, .gb-splice::after { content: ""; width: 48px; height: 8px; background: var(--backstory-accent); }
.gb-passage { position: relative; width: min(1260px, calc(100% - 80px)); margin: 112px auto; padding: 0 18px; text-align: center; color: var(--backstory-deep); font-size: clamp(38px, 5.4vw, 78px); line-height: 1.24; letter-spacing: -.045em; }
.gb-passage::before, .gb-passage::after { content: ""; position: absolute; width: 84px; height: 12px; background: var(--backstory-accent); }
.gb-passage::before { left: 0; top: -32px; }
.gb-passage::after { right: 0; bottom: -32px; }
.gb-passage p { margin: 0; }
.gb-intercut { margin: 84px 0 96px; }
.gb-intercut-view { height: 250px; background-size: cover; background-position: center; background-color: var(--backstory-support); }
.gb-intercut figcaption { position: relative; width: min(760px, calc(100% - 100px)); margin: -28px max(50px, calc((100% - 1060px) / 2)) 0 auto; padding: 22px 28px; background: var(--backstory-ground); box-shadow: 12px 12px 0 var(--backstory-accent); font-size: 16px; line-height: 1.5; }
.gb-scene-intercut { background-image: url("intercut.webp"); }

/* Chapter openers carry the same panoramic photograph and a square splice. */
.gb-inner-opening { margin: 0 auto; padding-top: 32px; background: var(--backstory-ground); }
.gb-breadcrumb { width: min(1060px, calc(100% - 60px)); margin: 0 auto 28px; display: flex; align-items: center; gap: 12px; font-size: 16px; }
.gb-breadcrumb i, .gb-breadcrumb svg { width: 18px; height: 18px; flex-shrink: 0; }
.gb-inner-opening h1 { width: min(25ch, calc(100% - 80px)); margin: 0 auto 28px; text-align: center; font-size: clamp(34px, 3.6vw, 49px); }
.gb-inner-lead { width: min(50ch, calc(100% - 60px)); margin: 0 auto; padding-bottom: 40px; text-align: center; font-size: 22px; line-height: 1.5; }
.gb-inner-scene { position: relative; height: 220px; margin: 0; background-size: cover; background-position: center; background-color: var(--backstory-support); }
.gb-inner-scene::after { content: ""; position: absolute; width: 112px; height: 20px; right: max(30px, calc((100% - 1060px) / 2)); top: -10px; background: var(--backstory-accent); box-shadow: 12px 10px 0 var(--backstory-deep); }
.gb-scene-research { background-image: url("research.webp"); }
.gb-scene-genes { background-image: url("genes.webp"); }
.gb-scene-beyond { background-image: url("beyond.webp"); }
.gb-scene-dosage { background-image: url("dosage.webp"); }
.gb-scene-care { background-image: url("care.webp"); }
.gb-afterword { position: relative; margin: 96px auto 0; width: min(1060px, calc(100% - 84px)); background: var(--backstory-support); padding: 32px 40px; display: flex; align-items: center; gap: 22px; box-shadow: 14px 14px 0 var(--backstory-accent); }
.gb-afterword i, .gb-afterword svg { width: 36px; height: 36px; flex-shrink: 0; color: var(--backstory-deep); }
.gb-afterword p { margin: 0; font-size: 19px; }
.gb-afterword a { font-weight: 700; }
.gb-afterword a:hover { color: var(--backstory-deep); }
.gb-footer { margin: 108px auto 0; padding: 1px 30px 36px; background: var(--backstory-ground); }
.gb-footer-nav { max-width: 1060px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; font-size: 17px; }
.gb-footer-nav a { padding: 2px 0; }
.gb-footer-nav a:hover { color: var(--backstory-deep); }
.gb-footer-sentence { text-align: center; font-size: 17px; max-width: 60ch; margin: 36px auto 10px; }
.gb-copyright { text-align: center; font-size: 16px; margin: 0; }
.gb-missing { min-height: 45vh; padding-top: 48px; }
.gb-missing h1 { font-size: 44px; }

/* One entrance, decoration only. The title and every word start fully visible. */
@media (prefers-reduced-motion: no-preference) and (min-width: 601px) {
  .gb-fixing { animation: backstory-settle 700ms ease-out 1; }
  @keyframes backstory-settle {
    from { transform: translateY(-9px) rotate(-5deg); }
    to { transform: translateY(0) rotate(0); }
  }
}

@media (max-width: 1000px) {
  .gb-name { font-size: 34px; }
  .gb-title-band { padding-left: 40px; padding-right: 40px; }
  .gb-opening-copy { column-gap: 32px; padding-left: 40px; padding-right: 40px; }
  .gb-home-lead { font-size: 20px; }
  .gb-reading h2 i, .gb-reading h2 svg { position: static; display: inline-block; vertical-align: -.13em; width: 24px; height: 24px; margin-right: 12px; }
}

@media (max-width: 600px) {
  html { scroll-padding-top: 16px; }
  body { font-size: 18px; line-height: 1.6; }
  .gb-billing { height: 84px; padding: 4px 20px 0; }
  .gb-billing-nav { font-size: 16px; line-height: 16px; }
  .gb-billing-nav a { padding: 0 5px; gap: 6px; }
  .gb-billing-nav i, .gb-billing-nav svg { width: 14px; height: 14px; }
  .gb-billing-nav::before, .gb-billing-nav::after { width: 22px; height: 5px; top: 21px; }
  .gb-billing-nav::before { right: calc(100% + 32px); }
  .gb-billing-nav::after { left: calc(100% + 32px); }
  .gb-name { font-size: 21px; line-height: 1.15; letter-spacing: -.025em; }
  .gb-home-opening { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "promise" "exposure" "lead"; padding-top: 12px; background: var(--backstory-ground); }
  .gb-title-band { grid-area: title; width: calc(100% - 32px); margin: 0 16px; padding: 12px 16px 22px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 28px) calc(100% - 12px), calc(100% - 28px) 100%, 0 100%); }
  .gb-home-h1 { font-size: 32px; line-height: 1.19; letter-spacing: -.04em; max-width: none; }
  .gb-opening-copy { display: contents; }
  .gb-standfirst { grid-area: promise; text-align: left; margin: 14px 30px 18px; }
  .gb-standfirst p { font-size: 17px; line-height: 21px; }
  .gb-standfirst p + p { font-size: 16px; line-height: 21px; max-width: none; margin-top: 10px; }
  .gb-exposure { grid-area: exposure; position: relative; inset: auto; z-index: auto; height: 92px; }
  .gb-exposure-view { background-position: center 52%; }
  .gb-fixing { width: 52px; height: 34px; left: calc(50% - 26px); right: auto; top: 8px; box-shadow: none; }
  .gb-home-lead { grid-area: lead; margin: 14px 30px 20px; max-width: none; font-size: 18px; line-height: 1.4; }
  .gb-profile-body { margin-top: 52px; }
  .gb-reading { width: calc(100% - 60px); }
  .gb-reading h2 { font-size: 26px; line-height: 1.35; margin-bottom: 22px; }
  .gb-reading h2 i, .gb-reading h2 svg { width: 22px; height: 22px; margin-right: 9px; }
  .gb-reading p { margin-bottom: 22px; }
  .gb-splice { width: calc(100% - 60px); margin: 44px auto; }
  .gb-splice::before, .gb-splice::after { width: 32px; height: 7px; }
  .gb-passage { width: calc(100% - 44px); padding: 0; font-size: 36px; line-height: 1.28; letter-spacing: -.035em; margin: 76px auto; }
  .gb-passage::before, .gb-passage::after { width: 48px; height: 8px; }
  .gb-passage::before { top: -24px; }
  .gb-passage::after { bottom: -24px; }
  .gb-intercut { margin: 52px 0 64px; }
  .gb-intercut-view { height: 140px; }
  .gb-intercut figcaption { width: calc(100% - 60px); margin: -14px 30px 0; padding: 18px 20px; box-shadow: 8px 8px 0 var(--backstory-accent); }
  .gb-inner-opening { padding-top: 22px; }
  .gb-breadcrumb { font-size: 16px; gap: 9px; margin-bottom: 26px; }
  .gb-inner-opening h1 { width: calc(100% - 60px); font-size: 33px; line-height: 1.25; margin-bottom: 22px; }
  .gb-inner-lead { font-size: 19px; text-align: left; padding-bottom: 32px; }
  .gb-inner-scene { height: 140px; }
  .gb-inner-scene::after { width: 72px; height: 14px; right: 32px; top: -7px; box-shadow: 8px 7px 0 var(--backstory-deep); }
  .gb-afterword { width: calc(100% - 68px); padding: 26px 22px; margin-top: 64px; align-items: flex-start; gap: 14px; box-shadow: 8px 8px 0 var(--backstory-accent); }
  .gb-afterword p { font-size: 17px; }
  .gb-afterword i, .gb-afterword svg { width: 24px; height: 24px; margin-top: 3px; }
  .gb-footer { margin-top: 72px; padding-left: 30px; padding-right: 30px; }
  .gb-footer-nav { gap: 12px 20px; font-size: 16px; }
  .gb-footer-sentence { text-align: left; font-size: 16px; margin-top: 28px; }
  .gb-copyright { text-align: left; }
  .gb-missing h1 { font-size: 33px; }
}

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