/* /about/: the person behind the work. World tokens live in world.css.
   The page's own idea: a life laid out in blocks. A route in blocks from Portland to Austin,
   five career stops stacked like landed pieces, and a mosaic where photos, his lines and
   sprites fit together like a cleared board. */

.about h2 { margin: 0 0 18px; font: 800 var(--h2)/1.08 var(--face); font-stretch: 112%; letter-spacing: -0.02em; text-wrap: balance; max-width: 26ch; }
.about h3 { margin: 0 0 6px; font: 780 clamp(1.15rem, 1.5vw, 1.4rem)/1.2 var(--face); font-stretch: 106%; }
.about section { padding-block: var(--section); }
.about q { quotes: "\201C" "\201D"; }
.ab-lead { max-width: 60ch; color: var(--ink-soft); margin: 0 0 28px; }
.ab-lead--bone { color: var(--bone); }

/* Hero: the name, the one sentence that settles which Hayden Schuster, and the facts. */
.ab-hero { padding-block: clamp(16px, 3vw, 56px) clamp(40px, 6vw, 88px) !important; }
.ab-hero-grid { display: grid; gap: 28px clamp(32px, 5vw, 96px); align-items: start; }
.ab-crumb { display: flex; align-items: center; gap: 8px; font-size: 0.92rem; color: var(--bone-soft); }
.ab-crumb a { display: inline-flex; align-items: center; min-height: 44px; color: var(--bone-soft); }
.ab-hero h1 { margin: 0; color: var(--bone); font: 800 var(--h1-hub)/0.98 var(--face); font-stretch: 118%; letter-spacing: -0.025em; }
.ab-identity { margin: 16px 0 0; max-width: 46ch; color: var(--bone); font: 500 clamp(1.15rem, 1.7vw, 1.5rem)/1.45 var(--face); }
.ab-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 0; }
.ab-hero-side { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 22px; align-items: start; }
.ab-head { margin: 0; position: relative; }
.ab-head img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; box-shadow: 8px 8px 0 var(--piece-o); }
.ab-facts { margin: 0; display: grid; gap: 4px; font-size: 0.95rem; }
.ab-facts div { padding: 10px 0; border-top: 1px solid var(--field-line); }
.ab-facts dt { color: var(--number); font-weight: 750; font-size: 0.88rem; }
.ab-facts dd { margin: 2px 0 0; color: var(--bone); line-height: 1.35; }
@media (max-width: 899px) {
  .ab-hero-side { display: block; }
  .ab-head img { aspect-ratio: 16 / 9; }
  .ab-facts { margin-top: 28px; }
}

/* Where I'm from: the route in blocks. */
.trip-heart { max-width: 46ch; margin: 0 0 32px; font: 600 clamp(1.2rem, 1.9vw, 1.6rem)/1.45 var(--face); color: var(--ink); }
.trip { display: flex; align-items: flex-end; gap: 6px; margin: 0 0 36px; padding: 18px 14px 14px; background: var(--sheet); border-radius: 4px; box-shadow: inset 0 0 0 2px #c3cad3, inset 0 -5px 0 rgba(0, 0, 0, 0.08); }
.trip-stop { display: grid; justify-items: center; gap: 4px; flex: none; text-align: center; }
.trip-stop .sprite { height: clamp(40px, 7vw, 76px); width: auto; }
.trip-name { font-weight: 800; font-stretch: 110%; line-height: 1.1; }
.trip-when { font-size: 0.8rem; color: var(--ink-soft); line-height: 1.2; max-width: 9ch; }
.trip-road { position: relative; flex: 1 1 0; min-width: 18px; height: 8px; margin-bottom: 42px; background: repeating-linear-gradient(90deg, var(--piece-i) 0 8px, transparent 8px 12px, var(--piece-o) 12px 20px, transparent 20px 24px, var(--piece-z) 24px 32px, transparent 32px 36px); }
.trip-road--long { flex-grow: 2; }
.trip-bella { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); }
.trip-bella .sprite { width: clamp(30px, 5vw, 48px); height: auto; }
/* about.js sets --road to the road's width in px, so the run is transform-only. */
.trip.is-going .trip-bella { left: 0; animation: trip-run 2600ms steps(24, end) both; }
@keyframes trip-run { from { transform: translateX(-50%); } to { transform: translateX(calc(var(--road, 0px) - 50%)); } }
.trip-story { display: grid; gap: 24px clamp(32px, 5vw, 96px); }
.trip-col p { margin: 0 0 14px; }
.trip-col h3 { color: var(--work-ink); }

/* How I ended up in SEO: stops stacked like landed pieces. */
.ab-path { padding-top: 0 !important; }
.path { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.stop { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 16px; align-items: start; padding: 16px; background: var(--sheet); border-radius: 4px; box-shadow: inset 0 0 0 2px #d3d9e0, inset 0 -4px 0 rgba(0, 0, 0, 0.06); }
.stop-years { margin: 0; display: grid; align-content: start; justify-items: center; padding: 10px 4px; border-radius: 3px; font: 800 1.05rem/1.15 var(--face); font-stretch: 112%; color: var(--ink); box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.2), inset 0 3px 0 rgba(255, 255, 255, 0.25); }
.stop-years span + span::before { content: "to "; display: block; font-size: 0.72rem; font-weight: 600; }
.stop--o .stop-years { background: var(--piece-o); }
.stop--l .stop-years { background: var(--piece-l); }
.stop--s .stop-years { background: var(--piece-s); }
.stop--j .stop-years { background: var(--piece-j); }
.stop--i .stop-years { background: var(--piece-i); }
.stop-body p { margin: 0; color: var(--ink-soft); }
.stop-body h3 { color: var(--ink); }

/* What I do for a living. */
.ab-work-grid { display: grid; gap: 28px clamp(32px, 5vw, 96px); align-items: start; }
.ab-work h2, .ab-work h3 { color: var(--bone); }
.ab-work p { color: var(--bone-soft); max-width: 60ch; }
.ab-work q { color: var(--bone); }
.ab-links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.ab-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; }
.knows { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px; }
.knows li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--field-2); border-radius: 3px; color: var(--bone); font-weight: 600; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.3); }
.knows li::before { content: ""; flex: none; width: 14px; height: 14px; background: var(--k); border-radius: 2px; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.25); }

/* The sites at night. */
.fan { display: grid; gap: 12px; }
.fan-site { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 16px; padding: 20px; border-radius: 4px; text-decoration: none; color: var(--ink); background: var(--sheet); box-shadow: inset 0 0 0 2px #c3cad3, inset 0 -5px 0 rgba(0, 0, 0, 0.08); }
.fan-mark { grid-row: span 3; }
.fan-mark .sprite { width: 56px; height: auto; }
.fan-name { font: 800 1.3rem/1.15 var(--face); font-stretch: 110%; }
.fan-why { color: var(--ink-soft); }
.fan-go { color: var(--work-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 0.18em; }
@media (hover: hover) { .fan-site:hover { background: #ffffff; } .fan-site:hover .fan-go { text-decoration-thickness: 2px; } }
.fan-after { margin: 20px 0 0; max-width: 64ch; color: var(--ink-soft); }

/* How I think. */
.ab-think { padding-top: 0 !important; }
.ab-think-grid { display: grid; gap: 8px clamp(32px, 5vw, 96px); }
.think { display: grid; gap: 14px; }
.think-q { margin: 0; padding: 22px; border-radius: 4px; color: var(--ink); box-shadow: inset 0 -6px 0 rgba(0, 0, 0, 0.2), inset 0 3px 0 rgba(255, 255, 255, 0.22); }
.think-q p { margin: 0; font: 600 clamp(1.08rem, 1.5vw, 1.3rem)/1.45 var(--face); }
.think-q footer { margin-top: 10px; font-size: 0.9rem; font-weight: 700; }
.think-q--o { background: var(--piece-o); }
.think-q--i { background: var(--piece-i); }
.think-note p { margin: 0 0 12px; max-width: 62ch; }

/* Outside work: the mosaic. Square cells; photos, his lines and sprites fill whole cells. */
.ab-life h2 { color: var(--bone); }
.mosaic-box { container-type: inline-size; max-width: 1240px; }
.mosaic { --gap: 6px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(calc((100cqi - 3 * var(--gap)) / 4), auto); grid-auto-flow: dense; gap: var(--gap); }
.tile { position: relative; margin: 0; border-radius: 3px; overflow: hidden; }
.tile::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: 3px; box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.28), inset 0 3px 0 rgba(255, 255, 255, 0.16); }
.t-1x1 { grid-column: span 1; }
.t-2x2 { grid-column: span 2; grid-row: span 2; }
.t-2x3 { grid-column: span 2; grid-row: span 3; }
.t-3x1 { grid-column: span 3; }
.t-4x1 { grid-column: span 4; }
.t-4x2 { grid-column: span 4; grid-row: span 2; }
.tile picture { position: absolute; inset: 0; }
.tile picture, .tile img { display: block; width: 100%; height: 100%; }
.tile img { object-fit: cover; }
.tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 6px 10px 9px; background: var(--field); color: var(--bone); font-size: 0.82rem; font-weight: 650; line-height: 1.25; }
.t-say { display: flex; align-items: center; padding: 14px; color: var(--ink); font: 700 clamp(1rem, 1.6vw, 1.3rem)/1.3 var(--face); font-stretch: 104%; }
.t-say--o { background: var(--piece-o); }
.t-say--s { background: var(--piece-s); }
.t-say--j { background: var(--piece-j); }
.t-chip { display: grid; place-items: center; background: var(--field-2); }
.t-chip .sprite { width: 62%; height: auto; }
.t-chip--b { background: var(--piece-t); }
.t-bella { display: flex; align-items: center; justify-content: space-around; background: var(--piece-s); }
.t-bella .sprite { height: 70%; width: auto; }
.egg-btn { position: absolute; top: 8px; right: 8px; z-index: 2; min-height: 44px; padding: 0 12px; border: 0; border-radius: var(--radius); background: var(--field); color: var(--bone); font: 700 0.85rem/1 var(--face); cursor: pointer; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.4); }
@media (hover: hover) { .egg-btn:hover { background: #242833; } }

/* Things I'm into: the chips from his old About page, rebuilt as pixel blocks. */
.likes { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; max-width: 1240px; }
.likes li { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 12px 8px; background: var(--sheet); color: var(--ink); border-radius: 3px; font-weight: 700; font-size: 0.95rem; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.14); }
.likes .sprite { height: 24px; width: auto; }
.likes-block { width: 20px; height: 20px; border-radius: 2px; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.22); }
.likes-block--z { background: var(--piece-z); }
.likes-block--j { background: var(--piece-j); }
.likes-block--o { background: var(--piece-o); }

/* Questions nobody asked: block-styled disclosures, every answer in the HTML. */
.asked-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 0 24px; }
.asked-all { margin-bottom: 28px; }
.asked { display: grid; gap: 10px; align-items: start; }
.ask { position: relative; background: var(--sheet); border-radius: 4px; box-shadow: inset 0 0 0 2px #d3d9e0, inset 0 -4px 0 rgba(0, 0, 0, 0.06); }
.ask::before { content: ""; position: absolute; top: 0; left: 20px; width: 48px; height: 10px; border-radius: 0 0 2px 2px; }
.ask--i::before { background: var(--piece-i); }
.ask--o::before { background: var(--piece-o); }
.ask--z::before { background: var(--piece-z); }
.ask--j::before { background: var(--piece-j); }
.ask--s::before { background: var(--piece-s); }
.ask--l::before { background: var(--piece-l); }
.ask summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 24px 20px 16px; cursor: pointer; list-style: none; }
.ask summary::-webkit-details-marker { display: none; }
.ask summary::after { content: ""; flex: none; width: 16px; height: 16px; background: linear-gradient(var(--ink) 0 0) center / 16px 4px no-repeat, linear-gradient(var(--ink) 0 0) center / 4px 16px no-repeat; }
.ask h3 { margin: 0; font-size: clamp(1.05rem, 1.3vw, 1.2rem); }
.ask p { margin: 0; padding: 0 20px 20px; color: var(--ink-soft); }

/* Close. */
.ab-close h2 { color: var(--bone); }
.ab-close p { color: var(--bone-soft); max-width: 52ch; }
.ab-close-grid { display: grid; gap: 8px clamp(32px, 5vw, 96px); align-items: start; }

@media (min-width: 640px) {
  .fan, .asked { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trip-story { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trip-when { max-width: none; }
}
@media (min-width: 900px) {
  .ab-hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 6fr); align-items: center; }
  .ab-work-grid, .ab-close-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .ab-think-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
  .stop { grid-template-columns: 96px minmax(0, 1fr); padding: 20px 24px; }
  .mosaic { --gap: 8px; grid-template-columns: repeat(8, minmax(0, 1fr)); grid-auto-rows: minmax(calc((100cqi - 7 * var(--gap)) / 8), auto); }
  .t-4x2, .t-end { grid-column: span 4; }
}
@media (min-width: 1100px) {
  .path { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .path .stop:last-child { grid-column: span 2; }
}
@media (prefers-reduced-motion: reduce) {
  .trip.is-going .trip-bella { animation: none; }
}

/* "Here, Bella": the run tile is a button; a tap sends the running Bella across and back to sit. */
button.t-bella { border: 0; cursor: pointer; font: inherit; }
button.t-bella:focus-visible { outline: 3px solid var(--number, #f2b33d); outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .t-bella.is-running .sprite:first-child { animation: bella-dash 2.4s steps(12, end); }
  @keyframes bella-dash { 0% { transform: translateX(0); } 45% { transform: translateX(160%); } 50% { transform: translateX(160%) scaleX(-1); } 95% { transform: translateX(0) scaleX(-1); } 100% { transform: translateX(0); } }
}
@media (max-width: 360px) { .trip { gap: 2px; padding: 14px 8px 10px; } .trip-name { font-size: .78rem; } .trip-stop .sprite { height: 34px; } }

/* Say hello form */
.ab-hello { padding-block: var(--section); }
.ab-hello-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .ab-hello-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: start; gap: 40px; } }
.ab-hello-alt { color: #47505f; }
.ab-form { display: grid; gap: 6px; padding: 18px; background: #fff; border: 2px solid var(--ink, #1d2027); border-radius: 6px; }
.ab-form label { margin-top: 8px; font-size: .88rem; font-weight: 750; }
.ab-form :is(input, select, textarea) { width: 100%; min-height: 48px; padding: 10px 12px; font: 400 1rem/1.4 var(--face); color: var(--ink, #1d2027); background: #fff; border: 2px solid #9aa1ad; border-radius: 4px; box-sizing: border-box; }
.ab-form textarea { min-height: 120px; resize: vertical; }
.ab-form :is(input, select, textarea):focus-visible { outline: 3px solid var(--number, #f2b33d); outline-offset: 1px; border-color: var(--ink, #1d2027); }
.ab-form button { justify-self: start; margin-top: 12px; }
.ab-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ab-sent { margin: 0 0 6px; padding: 10px 12px; background: #e8f3e6; border-radius: 4px; font-weight: 700; }
.ab-sent[hidden] { display: none; }

/* Questions nobody asked: two tiles a row even on phones (Hayden, 2026-10-13: "i hate single column accordians"), and an
   opened answer spans the row, so it never stretches the question beside it. "Open all" still opens every one. */
.asked { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row dense; align-items: stretch !important; }
.asked > .ask[open] { grid-column: 1 / -1; }
@media (max-width: 639px) {
  .asked { gap: 8px; }
  .ask summary { padding: 20px 12px 12px; gap: 8px; align-items: flex-start; }
  .ask::before { left: 12px; width: 36px; height: 8px; }
  .ask h3 { font-size: .98rem; line-height: 1.3; }
  .ask p { padding: 0 14px 16px; }
}
