/* pouriagh.com — Light Scope. A pale radar scope: sage glass, deep green ink, one teal for the sweep and current state, signal red only on the selected blip. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
}

:root {
  --ground: #eef0ee;    /* scope glass */
  --field: #f7f8f7;     /* inputs sit a step lighter than the glass */
  --ink: #13201c;
  --ink-2: #33433d;     /* body copy under headings */
  --grey: #55635d;      /* secondary text, 5.5:1 on ground */
  --ring: #c9d0cc;      /* hairlines and range rings, never text */
  --ring-strong: #a6b2ac;
  --teal: #2a6f6a;      /* sweep, links, current state, 5.0:1 on ground */
  --teal-tint: #dce7e3;
  --signal: #b4472f;    /* the selected blip only */

  --font: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: clamp(20px, 4vw, 56px);
  --col-gap: clamp(16px, 2vw, 28px);
  --wrap: 1328px;
  --bar-h: 60px;
  --sec: clamp(80px, 10vw, 144px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ticks: repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 12px);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { background: var(--ground); scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 24px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--ground); color: var(--ink);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; font-weight: 400;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; text-decoration-color: var(--ring-strong); transition: color .2s var(--ease), text-decoration-color .2s var(--ease); }
a:hover { color: var(--teal); text-decoration-color: currentColor; }
h1, h2, h3, h4 { font-weight: 650; letter-spacing: -.01em; line-height: 1.15; text-wrap: balance; }
p { text-wrap: pretty; }

::selection { background: var(--teal); color: #fff; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
input, textarea { caret-color: var(--teal); }
html { scrollbar-color: var(--ring-strong) var(--ground); scrollbar-width: thin; }

.ico { width: 1em; height: 1em; flex: none; vertical-align: -.12em; }

.skip { position: absolute; left: var(--gutter); top: -100px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 10px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px;
  font: 600 .9375rem/1 var(--font); text-decoration: none; border: 1.5px solid var(--ink); border-radius: 0;
  cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn--solid { background: var(--ink); color: var(--ground); }
.btn--solid:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--ground); }
.btn--sm { height: 38px; padding: 0 14px; font-size: .875rem; gap: 8px; }
.btn:disabled { background: var(--ring); border-color: var(--ring); color: var(--grey); cursor: default; }

/* ---------- top bar ---------- */
.bar { position: sticky; top: 0; z-index: 20; background: var(--ground); border-bottom: 1px solid var(--ink); }
.bar__row { height: var(--bar-h); display: flex; align-items: center; gap: 24px; }
.bar__name { font-weight: 650; text-decoration: none; margin-right: auto; white-space: nowrap; }
.bar__nav { display: flex; gap: clamp(14px, 2.4vw, 36px); font-size: .9375rem; }
.bar__nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--grey); padding: 0; border-bottom: 1.5px solid transparent; }
.bar__init { display: none; letter-spacing: .04em; }
.bar__nav a:hover { color: var(--ink); }
.bar__nav a.is-current { color: var(--teal); border-bottom-color: var(--teal); }

/* ---------- hero: identity, scope, readout ---------- */
.hero { padding: clamp(28px, 5vw, 72px) 0 clamp(24px, 4vw, 56px); }
.hero__grid {
  display: grid; column-gap: var(--col-gap);
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-areas: "id scope" "readout scope";
  grid-template-rows: auto 1fr;
}
.hero__id { grid-area: id; }
.hero__name { font-size: clamp(2.875rem, 11.5vw, 6rem); line-height: .9; letter-spacing: -.035em; font-weight: 700; }
.hero__name span { display: block; }
.hero__role { font-size: clamp(1.125rem, 2vw, 1.625rem); font-weight: 600; color: var(--teal); letter-spacing: -.01em; margin-top: clamp(14px, 2vw, 24px); }
.hero__sub { color: var(--grey); font-size: .9375rem; margin-top: 4px; }
.hero__lede { font-size: clamp(1.0625rem, 1.5vw, 1.3125rem); line-height: 1.4; max-width: 30ch; margin-top: 18px; color: var(--ink-2); }
.hero__acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.scope-fig { grid-area: scope; justify-self: end; width: min(100%, 680px); align-self: center; }
.scope { position: relative; aspect-ratio: 1; container-type: inline-size; }
.scope__face { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.scope__face circle { fill: none; stroke: var(--ring); stroke-width: 1; vector-effect: non-scaling-stroke; }
.scope__face .scope__rim { stroke: var(--ink); }
.scope__cross { stroke: var(--ring); stroke-width: 1; vector-effect: non-scaling-stroke; }
.scope__ticks { stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; }

/* the sweep: a teal wedge whose leading edge is the arm; JS turns --a, CSS draws it */
.scope { --a: 40deg; }
.scope__sweep {
  position: absolute; inset: 2%; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from calc(var(--a) - 100deg), transparent 0deg, color-mix(in srgb, var(--teal) 4%, transparent) 30deg, color-mix(in srgb, var(--teal) 30%, transparent) 100deg, transparent 100.5deg);
}
.scope__arm {
  position: absolute; left: 50%; top: 50%; width: 48%; height: 1.5px; background: var(--ink); transform-origin: 0 50%;
  transform: rotate(calc(var(--a) - 90deg)); pointer-events: none;
}

.scope__blips { position: absolute; inset: 0; }
.blip {
  --g: 0; position: absolute; left: var(--x); top: var(--y);
  display: flex; align-items: center; gap: 0; min-width: 44px; min-height: 44px; transform: translate(-22px, -50%);
  text-decoration: none; color: var(--ink); font-size: clamp(.75rem, 2.9cqi, .9375rem); font-weight: 600; letter-spacing: .005em; line-height: 1.1;
}
.blip--left { flex-direction: row-reverse; transform: translate(calc(-100% + 22px), -50%); }
.blip__dot { position: relative; flex: none; width: 44px; height: 44px; display: grid; place-items: center; }
.blip__dot::before { content: ""; width: var(--d); height: var(--d); border-radius: 50%; background: var(--ink); transition: background-color .25s var(--ease); }
.blip__dot::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: calc(var(--d) + 14px); height: calc(var(--d) + 14px); margin: calc((var(--d) + 14px) / -2);
  border-radius: 50%; border: 1.5px solid var(--teal); opacity: var(--g); transform: scale(calc(1.5 - var(--g) * .5));
}
.blip--role { --d: 15px; } .blip--proj { --d: 10px; } .blip--qual { --d: 7px; }
@container (max-width: 300px) { .blip__more { display: none; } }
.blip__label { white-space: nowrap; padding: 2px 4px; background: color-mix(in srgb, var(--ground) 82%, transparent); }
.blip:hover .blip__dot::before { background: var(--teal); }
.blip:hover .blip__label { color: var(--teal); }
.blip[aria-current="true"] .blip__dot::before { background: var(--signal); }
.blip[aria-current="true"] .blip__dot::after { border-color: var(--signal); opacity: 1; transform: none; }
.blip[aria-current="true"] .blip__label { color: var(--signal); }
.blip:focus-visible { outline: none; }
.blip:focus-visible .blip__label { outline: 2px solid var(--teal); outline-offset: 2px; }

.scope__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 10px; color: var(--grey); font-size: .8125rem; }
.scope__key { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.k { display: inline-block; border-radius: 50%; background: var(--ink); margin-left: 6px; }
.k:first-child { margin-left: 0; }
.k--l { width: 11px; height: 11px; } .k--m { width: 8px; height: 8px; } .k--s { width: 5px; height: 5px; }
.scope__pause { font: 600 .8125rem/1 var(--font); color: var(--ink); background: none; border: 0; border-bottom: 1px solid var(--ring-strong); min-height: 44px; padding: 14px 0 6px; cursor: pointer; }
.scope__pause:hover { color: var(--teal); border-color: currentColor; }

.readout { grid-area: readout; align-self: end; border-top: 1px solid var(--ink); background: var(--ticks) top left / 100% 6px no-repeat; padding-top: 18px; margin-top: 36px; max-width: 46ch; }
.readout__title { font-size: clamp(1.375rem, 2.2vw, 1.75rem); font-weight: 650; letter-spacing: -.02em; line-height: 1.15; }
.readout__meta { color: var(--teal); font-size: .875rem; font-weight: 600; margin-top: 6px; }
.readout__line { color: var(--ink-2); margin-top: 8px; }
.readout__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-weight: 600; font-size: .9375rem; text-decoration: none; min-height: 44px; }

/* load: rings, then blips, then labels register once */
.scope.is-ready .scope__face { animation: reg-face .7s var(--ease) both; }
.scope.is-ready .blip__dot { animation: reg-in .5s var(--ease) both; animation-delay: calc(.35s + var(--i) * 60ms); }
.scope.is-ready .blip__label { animation: reg-label .5s var(--ease) both; animation-delay: calc(.6s + var(--i) * 60ms); }
@keyframes reg-face { from { opacity: .35; transform: scale(.97); } }
@keyframes reg-in { from { transform: scale(.55); } }
@keyframes reg-label { from { opacity: .4; transform: translateX(-4px); } }
@media (prefers-reduced-motion: reduce) { .scope.is-ready .scope__face, .scope.is-ready .blip__dot, .scope.is-ready .blip__label { animation: none; } }

/* thumb dock: phones only */
.dock { display: none; }

/* ---------- sections: heading in the left four columns, content in the right eight ---------- */
.sec { padding-top: var(--sec); }
.sec--last { padding-bottom: var(--sec); }
.sec > .grid { border-top: 1px solid var(--ink); background: var(--ticks) top left / 100% 6px no-repeat; padding-top: 28px; }
.sec__body + .sec__body { margin-top: clamp(56px, 7vw, 96px); }
.sec__head { grid-column: 1 / 5; grid-row: 1 / span 8; align-self: start; position: sticky; top: calc(var(--bar-h) + 28px); padding-right: 24px; }
.sec__head h2 { font-size: clamp(2.25rem, 4vw, 3.5rem); font-weight: 700; letter-spacing: -.035em; line-height: 1; }
.sec__head p { color: var(--grey); margin-top: 14px; max-width: 30ch; }
.sec__body { grid-column: 5 / 13; min-width: 0; }

.lead { font-size: clamp(1.375rem, 2.2vw, 1.875rem); line-height: 1.25; letter-spacing: -.015em; max-width: 30ch; }
.meta { color: var(--grey); font-size: .9375rem; }
.sub { font-size: 1.1875rem; font-weight: 650; letter-spacing: -.01em; }
.status { display: inline-flex; align-items: center; gap: 10px; color: var(--teal); font-weight: 600; font-size: .9375rem; }
.status__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.status__dot::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1.5px solid var(--teal); animation: echo 2.4s var(--ease) infinite; }
@keyframes echo { from { transform: scale(1); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .status__dot::after { animation: none; opacity: 0; } }
.sec__head .status { margin-top: 16px; }

/* ---------- Ultron ---------- */
.ultron__top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.ultron__top h3 { font-size: clamp(1.75rem, 2.6vw, 2.25rem); font-weight: 700; letter-spacing: -.025em; }
.ultron__cols { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--col-gap); margin-top: 32px; }
.ultron__cols > p { color: var(--ink-2); max-width: 62ch; }
.spec { border-top: 1px solid var(--ink); }
.spec div { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--ring); font-size: .9375rem; }
.spec dt { color: var(--grey); }

.run { margin-top: 56px; }
.run__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-bottom: 14px; }
.run__title { font-size: 1.1875rem; font-weight: 650; letter-spacing: -.01em; }
.run__controls { display: flex; gap: 8px; }
.stages { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 var(--col-gap); counter-reset: st; }
.stage { border-top: 1px solid var(--ink); padding-top: 14px; position: relative; counter-increment: st; }
.stage::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.stage h4 { font-size: 1.0625rem; font-weight: 650; }
.stage h4::before { content: counter(st) " "; color: var(--grey); font-weight: 400; }
.stage__by { color: var(--grey); font-size: .8125rem; margin: 2px 0 8px; }
.stage p:last-child { font-size: .875rem; line-height: 1.5; color: var(--ink-2); }
.run.is-armed .stage { color: var(--grey); }
.run.is-armed .stage p:last-child { color: var(--grey); }
.run.is-armed .stage.is-done, .run.is-armed .stage.is-active { color: var(--ink); }
.run.is-armed .stage.is-done p:last-child, .run.is-armed .stage.is-active p:last-child { color: var(--ink-2); }
.run.is-armed .stage.is-active::before { transform: scaleX(1); }
.run.is-armed .stage.is-active h4 { color: var(--teal); }

.runlog { margin-top: 32px; border-top: 1px solid var(--ink); }
.runlog__label { font-size: .8125rem; color: var(--grey); padding: 10px 0; border-bottom: 1px solid var(--ring); }
.runlog li { display: grid; grid-template-columns: 6.5em 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--ring); font-size: .9375rem; line-height: 1.45; }
.runlog b { font-weight: 600; color: var(--teal); }
.run.is-armed .runlog li { opacity: 0; transform: translateY(4px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.run.is-armed .runlog li.is-shown { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .stage::before, .run.is-armed .runlog li { transition: none; } }

.points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--col-gap); margin-top: 56px; }
.points div { border-top: 1px solid var(--ring); padding: 16px 0 22px; }
.points dt { font-weight: 650; margin-bottom: 4px; }
.points dd { color: var(--ink-2); font-size: .9375rem; }

/* ---------- other builds ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--col-gap); align-items: start; }
.feature__shot img { border: 1px solid var(--ring); }
.feature__text h3 { font-size: 1.375rem; margin-bottom: 10px; }
.feature__text p { color: var(--ink-2); }
.feature__text .meta { margin-top: 12px; }
.more { margin-top: 10px; font-weight: 600; }
.more a { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }

.builds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--col-gap); }
.builds li { border-top: 1px solid var(--ring); padding: 18px 0 24px; }
.builds h3 { font-size: 1.125rem; margin-bottom: 6px; }
.builds h3 a { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.builds p { font-size: .9375rem; color: var(--ink-2); }
.builds .meta { margin-top: 8px; color: var(--grey); }

/* ---------- work ---------- */
.tl-fig figcaption { color: var(--grey); font-size: .875rem; margin-top: 12px; }
.tl { --months: 48; position: relative; }
.tl__axis { display: grid; grid-template-columns: 8.5rem repeat(4, 1fr); font-size: .8125rem; color: var(--grey); border-bottom: 1px solid var(--ink); }
.tl__axis::before { content: ""; }
.tl__axis span { border-left: 1px solid var(--ink); padding: 0 0 6px 6px; }
.tl__row { display: grid; grid-template-columns: 8.5rem 1fr; align-items: center; height: 32px; border-bottom: 1px solid var(--ring); }
.tl__label { font-size: .875rem; }
.tl__bar { position: relative; height: 100%; background: linear-gradient(90deg, var(--ring) 1px, transparent 1px) 0 0 / 25% 100% repeat-x; }
.tl__bar::after {
  content: ""; position: absolute; top: 50%; height: 8px; margin-top: -4px;
  left: calc(var(--s) / var(--months) * 100%); width: calc((var(--e) - var(--s)) / var(--months) * 100%); background: var(--ink);
}
.tl__bar--now::after { background: var(--teal); }
.tl__bar--approx::after { background: linear-gradient(90deg, var(--ring-strong) 0 18%, var(--teal) 18%); }

.roles { margin-top: 48px; border-top: 1px solid var(--ink); }
.roles li { display: grid; grid-template-columns: 10em minmax(0, 1fr); gap: var(--col-gap); padding: 20px 0 24px; border-bottom: 1px solid var(--ring); }
.roles__when { color: var(--grey); font-size: .9375rem; padding-top: 2px; }
.roles h3 { font-size: 1.1875rem; margin-bottom: 6px; }
.roles h3 a { text-decoration: none; }
.roles h3 .ico { margin-left: 4px; }
.roles li p:not(.roles__when) { color: var(--ink-2); max-width: 66ch; }
.earlier { color: var(--grey); font-size: .9375rem; margin-top: 18px; max-width: 70ch; }

.edu-block { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 18px; }
.edu-block .sub { grid-column: 1 / -1; border-top: 1px solid var(--ink); padding-top: 14px; }
.edu__photo { grid-column: 1 / 4; }
.edu { grid-column: 4 / -1; }
.edu li { border-top: 1px solid var(--ring); padding: 14px 0 16px; }
.edu li:first-child { border-top: 0; padding-top: 0; }
.edu h4 { font-size: 1.0625rem; }
.edu p { color: var(--grey); font-size: .9375rem; }
figcaption { color: var(--grey); font-size: .875rem; margin-top: 10px; }

/* ---------- character ---------- */
.character { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); column-gap: var(--col-gap); }
.character .lead { grid-column: 1 / -1; margin-bottom: 40px; }
.character__photo--a { grid-column: 1 / 4; }
.character__photo--b { grid-column: 4 / 7; }
.character__photo img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.traits { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--col-gap); margin-top: 48px; border-top: 1px solid var(--ink); }
.traits > div { border-bottom: 1px solid var(--ring); padding: 18px 0 22px; scroll-margin-top: calc(var(--bar-h) + 24px); }
.traits dt { font-size: 1.1875rem; font-weight: 650; letter-spacing: -.01em; margin-bottom: 6px; }
.traits dd { color: var(--ink-2); font-size: .9375rem; }
.traits .traits__in { color: var(--grey); font-size: .875rem; margin-top: 10px; }
.traits__in a { color: var(--teal); text-decoration-color: color-mix(in srgb, var(--teal) 35%, transparent); }
.traits > div:target dt { color: var(--teal); }
.roles li:target h3, .builds li:target h3, #ultron:target h3, .edu-block:target .sub { color: var(--signal); }

/* ---------- contact ---------- */
.statement { font-size: clamp(1.5rem, 2.8vw, 2.25rem); line-height: 1.2; letter-spacing: -.02em; font-weight: 500; max-width: 30ch; }
.looking { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px var(--col-gap); margin-top: 48px; }
.looking .sub { border-top: 1px solid var(--ink); padding-top: 14px; margin-bottom: 8px; }
.looking li { padding: 6px 0; border-bottom: 1px solid var(--ring); }
.note { grid-column: 1 / -1; color: var(--grey); max-width: 66ch; }

.reach { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: var(--col-gap); margin-top: 64px; border-top: 1px solid var(--ink); padding-top: 24px; }
.reach__mail { font-size: clamp(1.125rem, 1.6vw, 1.375rem); font-weight: 600; overflow-wrap: anywhere; }
.links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 12px; font-weight: 600; font-size: .9375rem; }
.links a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }

.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--col-gap); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: .875rem; font-weight: 600; }
.field input, .field textarea {
  font: inherit; color: var(--ink); background: var(--field); border: 1px solid var(--ring-strong); border-radius: 0; padding: 12px 14px;
  transition: border-color .2s var(--ease);
}
.field input { height: 48px; }
.field textarea { resize: vertical; min-height: 132px; }
.field input:hover, .field textarea:hover { border-color: var(--grey); }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--teal); outline-offset: 0; border-color: var(--teal); }
.form__foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form__status { font-size: .9375rem; color: var(--grey); }
.form__status[data-state="ok"] { color: var(--teal); font-weight: 600; }
.form__status[data-state="error"] { color: #9b2c2c; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--ink); }
.foot__row { display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 28px; font-size: .875rem; color: var(--grey); }
.foot a { text-decoration: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .sec__head { grid-column: 1 / -1; grid-row: auto; position: static; padding-right: 0; }
  .sec__body { grid-column: 1 / -1; }
  .sec__head + .sec__body { margin-top: 40px; }
}
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
}
@media (max-width: 820px) {
  /* phone order: who, the scope, what the selected blip proves, then the summary line */
  .hero__grid { display: flex; flex-direction: column; }
  .hero__id { display: contents; }
  .hero__name { order: 1; } .hero__role { order: 2; } .hero__sub { order: 3; }
  .scope-fig { order: 4; align-self: center; margin-top: 22px; }
  .readout { order: 5; margin-top: 18px; max-width: none; }
  .hero__lede { order: 6; margin-top: 28px; }
  .hero__acts { display: none; }
  .scope-fig { width: min(100%, 480px); }
  .hero__name { font-size: clamp(2.875rem, 11.5vw, 4.5rem); }
  .bar__cv { display: none; }
  .bar__nav a[data-nav="contact"] { display: none; }
  .dock {
    display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--ground); border-top: 1px solid var(--ink);
  }
  .dock .btn { flex: 1; height: 50px; white-space: nowrap; padding: 0 14px; }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .ultron__cols, .feature, .points, .builds, .traits, .reach, .looking { grid-template-columns: 1fr; }
  .stages { grid-template-columns: 1fr; gap: 14px; }
  .stage { display: grid; grid-template-columns: 7.5em 1fr; column-gap: 12px; padding-bottom: 4px; }
  .stage h4, .stage .stage__by { grid-column: 1; }
  .stage p:last-child { grid-column: 2; grid-row: 1 / span 2; }
  .roles li { grid-template-columns: 1fr; gap: 4px; }
  .edu__photo { grid-column: 1 / 5; }
  .edu { grid-column: 1 / -1; }
  .character__photo--a { grid-column: 1 / 5; }
  .character__photo--b { grid-column: 5 / -1; }
}
@media (max-width: 400px) {
  .bar__full { display: none; }
  .bar__init { display: inline; }
}
@media (max-width: 520px) {
  /* the readout names each blip's kind, so the legend goes; pause tucks into the empty corner so the proof clears the dock */
  .scope-fig { position: relative; margin-top: 12px; }
  .scope__key { display: none; }
  .scope__foot { position: absolute; right: 0; bottom: 0; margin: 0; }
  .readout { margin-top: 10px; padding-top: 14px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .runlog li { grid-template-columns: 1fr; gap: 0; }
  .tl__axis { grid-template-columns: 6.5rem repeat(4, 1fr); }
  .tl__row { grid-template-columns: 6.5rem 1fr; }
  .tl__label { font-size: .8125rem; }
}
