@font-face { font-family: "Satoshi"; src: url("/assets/satoshi-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/assets/satoshi-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/assets/satoshi-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
  /* ===================== the site (fixed dark palette, matches dearhuman.design) ===================== */
  .site {
    --s-bg: #0a0a0a; --s-surface: #141414; --s-surface-2: #26262a; --s-line: rgba(255,255,255,.09);
    --s-ink: #f4f4f2; --s-ink-2: rgba(255,255,255,.72); --s-mute: #888888;
    /* gold, sampled from the Levu sun, with its glow */
    --s-accent: #ECC987; --gold-text: linear-gradient(180deg, #F8E4B8 0%, #ECC987 48%, #D4A862 100%);
    --gold-fill: radial-gradient(130% 160% at 26% 12%, #F7E1B2 0%, #EAC583 44%, #D3A661 100%); --gold-tail: #DCB16E;
    --glow-text: drop-shadow(0 0 14px rgba(236,201,135,.5)); --glow-box: drop-shadow(0 0 16px rgba(236,201,135,.26));
    --f-display: "Domine", Georgia, "Times New Roman", serif; --f-body: "Satoshi", Inter, system-ui, sans-serif;
    --f-hand: "Just Another Hand", "Bradley Hand", "Segoe Print", cursive;
    --dw: 700;
    --hero-size: 34px; --hero-lh: 1.4; --hero-ls: -.01em; --hero-max: 600px;
    --h2-size: 28px; --h2-lh: 1.3; --h2-ls: 0;
    --xt-font: 700 30px/1.2 var(--f-display); --xt-ls: -.005em;
    --st-size: 56px; --st-lh: 1.15; --st-ls: -.01em; --more-size: 28px;
    --foot-font: 700 clamp(72px, 8cqw, 120px)/1.02 var(--f-body); --foot-ls: -.03em;
    position: relative; height: 100%; display: grid; grid-template-columns: 346px minmax(0, 1fr);
    background: var(--s-bg); color: var(--s-ink); font: 400 16px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; text-align: left;
  }
  .site[data-font="template"] { --f-body: "Space Grotesk", Inter, system-ui, sans-serif; }
  .site[data-font="dhd"] {
    --f-display: "Bebas Neue", "Arial Narrow", Impact, sans-serif; --dw: 400;
    --hero-size: 62px; --hero-lh: 1.02; --hero-ls: .01em; --hero-max: 760px;
    --h2-size: 72px; --h2-lh: 1; --h2-ls: .01em;
    --xt-font: 400 60px/.95 var(--f-display); --xt-ls: .02em;
    --st-size: clamp(96px, 10.5cqw, 152px); --st-lh: .9; --st-ls: .005em; --more-size: 58px;
    --foot-font: 400 clamp(96px, 11cqw, 168px)/.9 var(--f-display); --foot-ls: .01em;
  }
  .site a { color: inherit; text-decoration: none; }
  .site a:focus-visible, .site button:focus-visible { outline: 2px solid var(--s-accent); outline-offset: 3px; border-radius: 4px; }

  /* sidebar */
  .side { display: flex; flex-direction: column; height: 100%; min-height: 0; padding: 32px 40px; border-right: 1px solid var(--s-line); background: var(--s-bg); }
  .brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--s-ink); cursor: pointer; }
  .brand img { width: 26px; height: 26px; border-radius: 5px; object-fit: cover; display: block; }
  .burger { display: none; appearance: none; background: none; border: 0; padding: 10px 4px; cursor: pointer; }
  .burger i { display: block; width: 24px; height: 1.5px; background: var(--s-ink); margin: 6px 0; }
  .drawer { flex: 1; display: flex; flex-direction: column; justify-content: space-between; margin-top: 50px; min-height: 0; }
  .nav { display: grid; gap: 12px; justify-items: start; }
  .nav a { color: var(--s-ink-2); cursor: pointer; }
  .nav a:hover { color: var(--s-ink); }
  .side-foot { display: grid; gap: 18px; }
  .icons { display: flex; gap: 10px; }
  .icons a { width: 32px; height: 32px; border: 1px solid rgba(255,255,255,.38); border-radius: 50%; display: grid; place-items: center; color: var(--s-ink-2); cursor: pointer; }
  .icons a:hover { color: var(--s-ink); border-color: rgba(255,255,255,.7); }
  .icons svg { width: 16px; height: 16px; display: block; }
  .icons svg.x { width: 13px; height: 13px; }
  .news { display: block; text-align: center; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; padding: 7px 18px; color: var(--s-ink); cursor: pointer; }
  .news:hover { background: rgba(255,255,255,.08); }

  /* main column */
  .main { position: relative; height: 100%; overflow-x: hidden; overflow-y: auto; padding: 0 64px; scroll-behavior: smooth; overscroll-behavior: contain; }
  .hero { min-height: 680px; display: flex; align-items: flex-end; padding: 32px 0 96px; }
  .hero h1 { margin: 0; max-width: var(--hero-max); font: var(--dw) var(--hero-size)/var(--hero-lh) var(--f-display); letter-spacing: var(--hero-ls); color: var(--s-ink); }
  /* the typed word: gold with the Levu glow, and a blinking cursor */
  .tw, .h-l1 { white-space: nowrap; }
  .hero em { font-style: normal; background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; filter: var(--glow-text); }
  .tw-cur { color: var(--s-accent); font-weight: 400; margin-left: 1px; animation: twblink 1s steps(1) infinite; }
  @keyframes twblink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
  .sec { padding: 128px 0 0; }
  .hero + .sec { padding-top: 64px; }
  .sec-head { display: flex; align-items: center; gap: 24px; }
  .sec-head::after { content: ""; flex: 1; height: 1px; background: var(--s-line); }
  .sec-head h2 { flex: none; }
  .sec-count { flex: none; order: 2; font-size: 14px; color: var(--s-mute); }
  .site h2 { margin: 0; font: var(--dw) var(--h2-size)/var(--h2-lh) var(--f-display); letter-spacing: var(--h2-ls); color: var(--s-ink); }

  /* experiments: the Dear Human card. Words left, picture right, one panel holding both. */
  .xcards { margin-top: 56px; display: grid; gap: 64px; }
  .xc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 420px; border-radius: 24px; overflow: hidden; background: var(--s-surface); border: 1px solid rgba(255,255,255,.07); }
  .xc-txt { padding: 56px 48px 56px 56px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-width: 0; }
  /* the theme label is the quietest thing on the card */
  .themes { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; font: 500 11px/1.5 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: #7d7d7d; }
  .themes li + li::before { content: "·"; margin: 0 .7em; }
  .site[data-themes="off"] .themes { display: none; }
  .xc h3 { margin: 0 0 16px; font: var(--xt-font); letter-spacing: var(--xt-ls); color: var(--s-ink); }
  .xc p { margin: 0 0 32px; max-width: 34ch; font-size: 17px; line-height: 1.55; color: var(--s-ink-2); }
  .acts { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px; }
  .pill { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid #ffffff; background: #ffffff; color: #0a0a0a !important; font: 700 15px/1.2 var(--f-body); padding: 12px 22px; white-space: nowrap; cursor: pointer; transition: transform .15s, background .15s; }
  .pill:hover { background: #e9e9e6; transform: translateY(-1px); }
  /* secondary: same shape, outline only */
  .pill.alt { background: transparent; border-color: rgba(255,255,255,.4); color: var(--s-ink) !important; font-weight: 500; }
  .pill.alt:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.7); }
  .lk { font-size: 15px; color: rgba(255,255,255,.72) !important; text-decoration: underline !important; text-underline-offset: 4px; text-decoration-color: rgba(255,255,255,.35) !important; cursor: pointer; white-space: nowrap; }
  .lk:hover { color: #fff !important; }
  .xc-vis { position: relative; display: block; min-height: 0; background: #111111; cursor: pointer; }
  .xc-vis img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
  .xc-vis.sc { display: flex; align-items: center; justify-content: center; padding: 56px 44px; background: radial-gradient(circle at 50% 42%, #2c2417 0%, #13110d 72%); }
  .xc-vis.sc img { position: static; width: 100%; height: auto; max-height: 100%; object-fit: contain; border-radius: 14px; box-shadow: 0 18px 40px rgba(0,0,0,.5); }
  .xc-vis.lv { background: radial-gradient(circle at 50% 38%, #1d2a48 0%, #0C1220 72%); }
  .xc-vis.lv img { inset: 30px 26px; width: calc(100% - 52px); height: calc(100% - 60px); object-fit: contain; }

  /* about: a Polaroid in the middle; story prints in four pairs around it, each pair touching at one corner */
  .about { padding-top: 160px; }
  .about-stage { position: relative; height: 640px; }
  .about-stage::before { content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(ellipse 62% 62% at 50% 50%, #000 35%, transparent 100%); mask-image: radial-gradient(ellipse 62% 62% at 50% 50%, #000 35%, transparent 100%); }
  /* Polaroid: thin even border on three sides, deep strip below with the caption written on it */
  .core { position: absolute; top: 96px; left: 50%; width: 350px; margin-left: -175px; z-index: 5; background: linear-gradient(180deg, #FDFCF8 0%, #F4F2EB 100%); color: #1B1D22; border-radius: 3px; padding: 18px 18px 0; text-align: center; box-shadow: 0 26px 60px rgba(0,0,0,.62), 0 3px 8px rgba(0,0,0,.45); }
  .core > img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 1px; outline: 1px solid rgba(0,0,0,.1); outline-offset: -1px; }
  .core-cap { padding: 22px 4px 26px; }
  .site .core h2 { font: var(--dw) 28px/1.2 var(--f-display); color: #1B1D22; }
  .site[data-font="dhd"] .core h2 { font-size: 44px; line-height: 1; }
  .core-cap p { margin: 6px 0 0; font: 400 16px/1.4 var(--f-body); color: #54575E; }
  .ph { position: absolute; left: calc(50% + var(--x)); top: var(--y); width: var(--w); height: var(--h); z-index: var(--z); display: block; cursor: pointer; }
  .ph-img { display: block; width: 100%; height: 100%; border-radius: 8px; overflow: hidden; border: 2px solid rgba(255,255,255,.9); transform: rotate(var(--r)); box-shadow: 0 8px 22px rgba(0,0,0,.55); transition: transform .3s cubic-bezier(.2,.9,.3,1.25), box-shadow .3s; background: #111; }
  .ph-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .cap { position: absolute; left: 50%; top: calc(100% + 14px); transform: translateX(-50%) translateY(-5px); opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s; background: #ffffff; color: #0a0a0a; font: 700 12px/1 var(--f-body); padding: 7px 11px; border-radius: 999px; white-space: nowrap; box-shadow: 0 6px 18px rgba(0,0,0,.45); }
  .ph:hover, .ph:focus-visible { z-index: 30; }
  .ph:hover .ph-img, .ph:focus-visible .ph-img { transform: rotate(var(--r)) scale(1.1); box-shadow: 0 22px 46px rgba(0,0,0,.75); }
  .ph:hover .cap, .ph:focus-visible .cap { opacity: 1; transform: translateX(-50%); }

  /* faq: a text thread. Questions arrive on the left, answers are sent from the right. */
  .faq { text-align: center; padding-top: 160px; }
  .faq-list { width: 520px; max-width: 100%; margin: 56px auto 0; display: grid; gap: 20px; text-align: left; }
  .q { appearance: none; background: none; border: 0; padding: 0 0 0 8px; color: inherit; font: inherit; display: flex; align-items: center; gap: 14px; cursor: pointer; text-align: left; }
  .bub { position: relative; display: block; margin: 0; padding: 9px 16px 10px; border-radius: 20px; line-height: 1.4; }
  .q, .a { isolation: isolate; }
  .bub::after { content: ""; position: absolute; z-index: -1; bottom: 0; width: 20px; height: 20px; background: var(--b-tail); clip-path: path("M0 0H13V10A10 10 0 0 0 20 19.54V20H15A15 15 0 0 1 0 5Z"); }
  .q .bub { background: var(--s-surface-2); color: var(--s-ink); --b-tail: var(--s-surface-2); }
  .q .bub::after { left: -7px; transform: scaleX(-1); }
  .tog { flex: none; width: 26px; height: 26px; border: 1px solid rgba(255,255,255,.42); border-radius: 50%; position: relative; }
  .tog::before, .tog::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: var(--s-ink-2); transform: translate(-50%, -50%); }
  .tog::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s; }
  .qa.open .tog::after { transform: translate(-50%, -50%) rotate(0deg); }
  .a { display: none; justify-content: flex-end; margin: 8px 8px 8px 72px; filter: var(--glow-box); }
  .qa.open .a { display: flex; }
  .a .bub { background: var(--gold-fill); color: #17130a; --b-tail: var(--gold-tail); padding: 11px 17px 12px; }
  .a .bub::after { right: -7px; }

  /* footer: the big name on the homepage, a small quiet version on story pages. The mark links to Dear Human. */
  .foot { padding: 200px 0 56px; }
  .foot-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
  .foot-name .ltr { display: inline-block; }
  .foot-name.armed .ltr { opacity: 0; transform: translateX(50px); }
  .foot-name.armed.in .ltr { opacity: 1; transform: none; transition: opacity .45s cubic-bezier(.16,1,.3,1), transform .45s cubic-bezier(.16,1,.3,1); transition-delay: calc(var(--i) * 125ms); }
  .foot-name { font: var(--foot-font); letter-spacing: var(--foot-ls); line-height: .9; color: var(--s-ink); }
  .foot-links { list-style: none; margin: 0 110px 14px 0; padding: 0; display: grid; gap: 12px; }
  .foot-links a { color: var(--s-ink-2); cursor: pointer; }
  .foot-links a:hover { color: var(--s-ink); }
  .foot-mark { margin: 80px 0 0; text-align: center; font-size: 14px; color: var(--s-mute); }
  .foot-mark a { cursor: pointer; text-underline-offset: 4px; }
  .foot-mark a:hover { color: var(--s-ink); text-decoration: underline !important; }
  .site[data-page="story"] .foot { padding: 36px 0 40px; border-top: 1px solid var(--s-line); }
  .site[data-page="story"] .foot-name { display: none; }
  .site[data-page="story"] .foot-top { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .site[data-page="story"] .foot-links { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; font-size: 15px; }
  .site[data-page="story"] .foot-mark { margin-top: 24px; }

  /* story page (same structure as dearhuman.design/photos/...) */
  .story { padding: 112px 0 96px; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .site .st-title { margin: 0; max-width: 100%; font: var(--dw) var(--st-size)/var(--st-lh) var(--f-display); letter-spacing: var(--st-ls); color: #ffffff; text-wrap: balance; }
  .st-body { margin-top: 84px; max-width: 600px; display: grid; gap: 1.1em; font: 500 20px/1.4 var(--f-body); color: var(--s-mute); }
  .st-body p { margin: 0; }
  .st-link { margin-top: 30px; font-size: 18px; color: #ffffff !important; cursor: pointer; text-decoration: underline !important; text-underline-offset: 5px; text-decoration-color: rgba(255,255,255,.35) !important; }
  .st-fig { margin: 60px 0 0; width: fit-content; max-width: 100%; padding: 8px; background: #111111; border-radius: 14px; }
  .st-fig img { display: block; width: auto; max-width: 680px; max-height: 460px; border-radius: 8px; }
  .site .st-more { margin-top: 190px; font-size: var(--more-size); line-height: 1; color: #ffffff; }
  .st-list { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 24px; text-align: left; }
  .st-list a { display: flex; align-items: center; gap: 10px; font-size: 18px; line-height: 1.4; color: var(--s-mute); cursor: pointer; }
  .st-list a:hover { color: #ffffff; }
  .st-list a[aria-current="page"] { color: #595959; }
  .st-list img { width: 25px; height: 25px; border-radius: 6px; object-fit: cover; display: block; }
  .st-back { margin-top: 110px; font-size: 18px; color: var(--s-mute) !important; cursor: pointer; }
  .st-back:hover { color: #ffffff !important; }

  /* ---------- tablet: top bar, cards stay side by side ---------- */
  @media (max-width: 999px) {
    .site { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
    .side { flex-direction: row; align-items: center; justify-content: space-between; height: auto; padding: 14px 28px; border-right: 0; border-bottom: 1px solid var(--s-line); position: relative; z-index: 40; }
    .burger { display: block; }
    .drawer { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; background: var(--s-bg); border-bottom: 1px solid var(--s-line); padding: 18px 28px 26px; gap: 26px; box-shadow: 0 24px 40px rgba(0,0,0,.5); }
    .site.menu-open .drawer { display: flex; }
    .nav { gap: 14px; font-size: 18px; }
    .news { max-width: 280px; }
    .main { padding: 0 40px; }
    .hero { min-height: 420px; }
    .h-l1 { white-space: normal; }
    .hero h1 br { display: none; }
    .tw { display: block; min-height: calc(var(--hero-size) * var(--hero-lh)); }
    .xc { min-height: 340px; }
    .xcards { gap: 40px; }
    .xc-vis.sc { padding: 32px 24px; }

    .xc-txt { padding: 40px 32px 40px 40px; }
    .sec { padding-top: 96px; }
    .about { padding-top: 96px; }
    .faq { padding-top: 112px; }
    .foot { padding-top: 144px; }
    .xc p { font-size: 16px; }
    .about-stage { transform: scale(.84); transform-origin: top center; margin-bottom: -102px; }
    .foot-links { margin-right: 40px; }
    .story { padding-top: 80px; }
  }
  /* ---------- phone: everything stacks ---------- */
  @media (max-width: 599px) {
    .site { --hero-size: 28px; --h2-size: 32px; --xt-font: 700 26px/1.2 var(--f-display); --st-size: 34px; }
    .site[data-font="dhd"] { --hero-size: 44px; --h2-size: 52px; --xt-font: 400 48px/.95 var(--f-display); --st-size: 66px; --more-size: 44px; }
    .side { padding: 12px 20px; }
    .drawer { padding: 16px 20px 24px; }
    .main { padding: 0 24px; }
    .hero { min-height: 0; padding: 56px 0 72px; }
    .tw { display: block; min-height: calc(var(--hero-size) * var(--hero-lh)); }
    .hero h1 br { display: none; }
    .sec { padding: 80px 0 0; }
    .hero + .sec { padding-top: 16px; }
    .about { padding-top: 88px; }
    .faq { padding-top: 96px; }
    .sec-head { gap: 16px; }
    .xcards { margin-top: 32px; gap: 40px; }
    .xc { grid-template-columns: minmax(0, 1fr); min-height: 0; border-radius: 20px; }
    .xc-vis { order: -1; aspect-ratio: 16 / 10; }
    .xc-vis.sc { padding: 18px 16px; }
    .xc-vis.sc img { border-radius: 10px; }
    .xc-vis.lv img { inset: 16px 14px; width: calc(100% - 28px); height: calc(100% - 32px); }
    .xc-txt { padding: 32px 24px 36px; align-items: stretch; }
    .xc p { margin-bottom: 28px; max-width: none; }
    .acts { display: grid; justify-items: center; gap: 12px; }
    .pill { width: 100%; }
    .about-stage { transform: none; margin-bottom: 0; height: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 22px; padding: 0 6px 24px; }
    .core { position: relative; top: 0; left: 0; width: auto; margin: 0 4px 18px; grid-column: 1 / -1; }
    .ph { position: relative; left: 0; top: 0; width: auto; height: auto; z-index: 1; display: grid; gap: 12px; justify-items: center; }
    .ph-img { aspect-ratio: 1; height: auto; transform: rotate(calc(var(--r) * .55)); }
    .cap { position: static; opacity: 1; transform: none; background: none; box-shadow: none; padding: 0; color: var(--s-ink-2); font: 500 14px/1.3 var(--f-body); white-space: normal; text-align: center; }
    .ph:hover .ph-img, .ph:focus-visible .ph-img { transform: rotate(calc(var(--r) * .55)) scale(1.03); }
    .ph:hover .cap, .ph:focus-visible .cap { transform: none; }
    .faq-list { margin-top: 28px; }
    .a { margin-left: 44px; }
    .foot { padding-top: 104px; }
    .foot-top { grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
    .foot-links { margin: 0; grid-template-columns: 1fr; justify-items: start; }
    .foot-links .fx { order: 1; }
    .foot-mark { margin-top: 40px; }
    .story { padding: 56px 0 64px; }
    .st-body { margin-top: 48px; font-size: 16px; }
    .st-link { font-size: 16px; }
    .st-fig { margin-top: 44px; padding: 0; background: none; }
    .st-fig { width: auto; }
    .st-fig img { max-width: 100%; max-height: 420px; margin: 0 auto; }
    .tw em { font-size: .86em; }
    .site .st-more { margin-top: 110px; }
    .st-list a, .st-back { font-size: 15px; }
    .st-back { margin-top: 64px; }
  }
  /* entrance motion: things settle in as they scroll into view, a few at a time */
  .rv { transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); transition-delay: var(--d, 0ms); }
  .site.anim .rv:not(.in) { opacity: 0; }
  .site.anim .sec-head.rv:not(.in), .site.anim .faq > h2.rv:not(.in) { transform: translateY(16px); }
  .site.anim .xc.rv:not(.in) { transform: translateY(40px) scale(.96); }
  .site.anim .core.rv:not(.in) { transform: translateY(28px) scale(.94); }
  .ph.rv { transition: opacity 1s ease-out, transform 1.2s cubic-bezier(.22,1,.36,1); transition-delay: var(--d, 0ms); }
  .site.anim .ph.rv:not(.in) { transform: translate(var(--fx, 0px), 30px) rotate(var(--fr, -4deg)) scale(.92); }
  .site.anim .q.rv:not(.in) { transform: translateX(-28px); }
  .a .bub.rv { transform-origin: right bottom; }
  .site.anim .qa.open .a { animation: bubin .5s cubic-bezier(.34,1.56,.64,1); transform-origin: right bottom; }
  @keyframes bubin { from { opacity: 0; transform: translateX(16px) scale(.92); } }
  .site.anim .a .bub.rv:not(.in) { transform: translateX(28px) scale(.9); }
  @media (prefers-reduced-motion: reduce) {
    .main { scroll-behavior: auto; }
    .ph-img, .cap, .pill, .toast, .tog::after { transition: none; }
    .tw-cur { animation: none; }
  }

/* ---------- real-page layout: the document scrolls, the sidebar stays put ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #0a0a0a; color-scheme: dark; }
body { margin: 0; background: #0a0a0a; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.site { height: auto; min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; align-self: start; }
.main { height: auto; overflow: visible; overflow-x: clip; }
#experiments, #about, #faq, #contact { scroll-margin-top: 24px; }
#stories { scroll-margin-top: 140px; }
.site a[href] { cursor: pointer; }
@media (max-width: 999px) {
  .side { height: auto; z-index: 40; }
  #experiments, #about, #faq, #contact { scroll-margin-top: 76px; }
  #stories { scroll-margin-top: 110px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
