/* yourastro.space main page.
   One-colour computer look: light grey ground, one electric blue for type, lines and images,
   compressed display capitals, small uppercase labels, flat square buttons, no shadows.
   Photos are my own, dithered to blue with an ordered (Bayer) dither in img/dither. */

:root {
    --bg: #f2f2f2;
    --panel: #fafafa;
    --blue: #141ef0;
    --blue-deep: #0a10a8;
    --blue-soft: rgba(20, 30, 240, .08);
    --blue-line: rgba(20, 30, 240, .28);
    --grey-btn: #e4e4e8;
    --grey-btn-hover: #d6d6dc;
    --surface: #ffffff;
    --display: 'Antonio', 'Arial Narrow', 'Roboto Condensed', sans-serif;
    --text: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    color-scheme: light;
}

/* dark: the same single-blue idea on a deep blue-black (system setting, or the button) */
:root[data-theme="dark"] {
    --bg: #070b2e; --panel: #0b1038; --surface: #0f1545;
    --blue: #8a92ff; --blue-deep: #c3c7ff;
    --blue-soft: rgba(138, 146, 255, .12); --blue-line: rgba(138, 146, 255, .3);
    --grey-btn: #161d55; --grey-btn-hover: #1f2770;
    color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
    margin: 0; background: var(--bg); color: var(--blue);
    font: 400 17px/1.55 var(--text);
    -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }
img { max-width: 100%; }
code { font: 0.9em var(--mono); background: var(--blue-soft); padding: 0.05em 0.35em; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
::selection { background: var(--blue); color: var(--bg); }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 12px; z-index: 30; background: var(--bg); padding: 6px 10px; border: 2px solid var(--blue); }

/* shared type */
.eyebrow {
    font: 600 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase;
    text-align: center; margin: 0 0 14px;
}
.eyebrow::before { content: '[ '; opacity: .6; }
.eyebrow::after { content: ' ]'; opacity: .6; }
.eyebrow.left { text-align: left; }
.giant {
    font: 200 clamp(72px, 15vw, 210px)/0.86 var(--display); text-transform: uppercase;
    letter-spacing: -0.01em; text-align: center; margin: 0 0 28px;
}
.mid { font: 400 clamp(34px, 4.6vw, 56px)/0.98 var(--display); text-transform: uppercase; margin: 0 0 24px; }
.small-head { font: 400 15px/1.2 var(--display); letter-spacing: .06em; text-transform: uppercase; margin: 0 0 14px; }
.sub { max-width: 60ch; margin: 0 auto 48px; text-align: center; }
.center { text-align: center; margin: 40px 0 0; }
.center-text { text-align: center; }
.meta { font: 400 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .04em; opacity: .75; margin: 4px 0 8px; }

/* buttons: flat, square, uppercase compressed */
.btn {
    display: inline-flex; align-items: center; justify-content: center; min-height: 46px;
    font: 400 17px/1 var(--display); letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
    background: var(--blue); color: var(--bg); padding: 0 16px; border: 0;
}
.btn:hover { background: var(--blue-deep); color: var(--bg); }
.btn-grey { background: var(--grey-btn); color: var(--blue); }
.btn-grey:hover { background: var(--grey-btn-hover); color: var(--blue); }
.btn-sm { min-height: 34px; font-size: 14px; padding: 0 12px; }
.btns { display: flex; gap: 0; justify-content: center; flex-wrap: wrap; margin: 0; }

/* the framed first screen */
.frame {
    position: relative; margin: 0; border: 5px solid var(--blue);
    display: flex; flex-direction: column;
    height: 100vh; height: 100svh; min-height: 620px; overflow: hidden;
}
.top {
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
    padding: 34px clamp(16px, 6vw, 92px) 18px;
}
.top nav { display: flex; justify-content: space-around; gap: 24px; }
.nav-r { display: flex; align-items: center; justify-content: flex-end; gap: 28px; }
.nav-r nav { flex: 1; }
.top nav a, footer nav a { font: 400 16px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.top nav a:hover, footer nav a:hover { text-decoration: underline; }

.mark {
    display: inline-grid; justify-items: center; text-decoration: none; border: 2px solid var(--blue);
    padding: 5px 7px 4px; font: 600 15px/0.9 var(--display); text-transform: uppercase; letter-spacing: .02em;
}
.mark span + span { border-top: 2px solid var(--blue); padding-top: 3px; margin-top: 3px; font-weight: 200; font-size: 17px; }
.mark:hover { background: var(--blue); color: var(--bg); }
.mark:hover span + span { border-color: var(--bg); }

.lang { display: inline-flex; flex: none; border: 1px solid var(--blue); }
.lang button { font: 600 12px/1 var(--mono); background: transparent; color: var(--blue); border: 0; padding: 7px 9px; min-height: 30px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--blue); color: var(--bg); }
.lang button:hover:not([aria-pressed="true"]) { background: var(--blue-soft); }
.tools { display: flex; align-items: center; gap: 8px; flex: none; }
.theme-toggle { display: inline-grid; place-items: center; width: 32px; height: 32px; padding: 0; cursor: pointer; background: transparent; color: var(--blue); border: 1px solid var(--blue); }
.theme-toggle:hover { background: var(--blue-soft); }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .t-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .t-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .t-moon { display: none; }

/* dark mode for pictures: the dithered photos swap their two colours, duotone multiplies */
:root[data-theme="dark"] .strip-row img { filter: invert(1) hue-rotate(180deg) brightness(.92); }
:root[data-theme="dark"] .duo img { mix-blend-mode: multiply; filter: grayscale(1) contrast(1.1); }

/* command bar, sticky so it works as navigation all the way down */
.cmdbar {
    position: sticky; top: 12px; z-index: 20;
    display: flex; align-items: center; gap: 14px; width: min(720px, calc(100% - 32px)); margin: 0 auto;
    background: var(--surface); border: 0; padding: 12px 14px; cursor: pointer; text-align: left;
    font: 400 14px var(--text); color: var(--blue); box-shadow: 0 0 0 1px var(--blue-line);
}
.cmdbar:hover { box-shadow: 0 0 0 1px var(--blue); }
.cmd-glyph { font: 600 14px var(--mono); }
.cmd-text { flex: 1; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cmd-text b { font-weight: 500; }
.cmd-keys { display: inline-flex; align-items: center; gap: 4px; font: 400 10px var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.cmdfloat {
    position: fixed; top: 10px; left: 50%; width: min(560px, calc(100% - 24px)); margin: 0; z-index: 25;
    transform: translate(-50%, -160%); transition: transform .25s ease; box-shadow: 0 0 0 1px var(--blue);
}
.cmdfloat.show { transform: translate(-50%, 0); }
kbd { font: 400 10px/1 var(--mono); border: 1px solid var(--blue-line); padding: 3px 5px; min-width: 18px; text-align: center; }

.frame > .sky {
    position: absolute; inset: 0; z-index: 0; margin: 0; overflow: hidden; pointer-events: none;
    -webkit-mask: radial-gradient(ellipse 34% 30% at 50% 36%, transparent 55%, #000 100%);
    mask: radial-gradient(ellipse 34% 30% at 50% 36%, transparent 55%, #000 100%);
    font: 400 14px/1.25 var(--mono); color: var(--blue); opacity: .32; white-space: pre;
}
.frame > .top { position: relative; z-index: 1; }
.hero { position: relative; z-index: 1; flex: none; display: grid; justify-items: center; text-align: center; padding: clamp(18px, 4vh, 48px) clamp(16px, 4vw, 48px) clamp(16px, 3vh, 32px); }
.hero h1 {
    font: 200 clamp(48px, min(9vw, 12vh), 140px)/0.92 var(--display); text-transform: uppercase; letter-spacing: -0.012em;
    margin: 0 0 clamp(14px, 2.4vh, 26px); text-wrap: balance;
}
.lede { max-width: 56ch; margin: 0 0 clamp(10px, 1.6vh, 16px); font-size: clamp(15px, 2vh, 18px); line-height: 1.5; }
.creds { list-style: none; padding: 0; margin: 0 0 clamp(14px, 2.6vh, 28px); display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; max-width: 70ch; }
.creds li { font: 400 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .04em; }
.creds li::before { content: '\25AA  '; }

/* dithered strip */
.strip {
    position: relative; z-index: 1; flex: 1 1 auto; min-height: 110px; display: flex; flex-direction: column;
    margin: 0; padding: 0 clamp(12px, 3vw, 40px) clamp(10px, 2vh, 22px);
}
.strip-row { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.strip-row img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: 50% 45%; image-rendering: pixelated; }
.strip figcaption { flex: none; display: flex; justify-content: space-between; font: 400 11px var(--mono); text-transform: uppercase; letter-spacing: .06em; padding-top: 8px; }

/* page body */
.page { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.sec { padding: 120px 0 0; }

/* panels: white sheet, thin blue line, title bar like a window */
.panel { background: var(--panel); box-shadow: 0 0 0 1px var(--blue-line); }
.panel-bar {
    display: flex; justify-content: space-between; gap: 12px; align-items: center;
    padding: 9px 16px; border-bottom: 1px solid var(--blue-line);
    font: 400 11px/1.2 var(--mono); text-transform: uppercase; letter-spacing: .08em;
}
.panel-bar a { text-decoration: none; }
.panel-bar a:hover { text-decoration: underline; }

/* blue duotone for real photos: grey picture screened over blue; colour comes back on hover */
.duo { background: var(--blue); }
.duo img { filter: grayscale(1) contrast(1.15) brightness(1.05); mix-blend-mode: screen; transition: filter .25s; }
.duo:hover img, .duo:focus-within img { filter: none; mix-blend-mode: normal; }

/* about */
.about { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: start; }
.about-text p { margin: 0 0 16px; max-width: 62ch; }
.carousel { margin: 0; position: sticky; top: 90px; }
.carousel .track { list-style: none; margin: 0; padding: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.carousel .track::-webkit-scrollbar { display: none; }
.carousel .slide { flex: 0 0 100%; scroll-snap-align: start; }
.carousel .slide img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.carousel figcaption { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: var(--bg); padding-top: 10px; }
.car-cap { display: grid; justify-items: center; font: 400 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.car-count { opacity: .7; }
.car-btn { font: 400 16px var(--mono); width: 40px; height: 40px; border: 0; background: var(--grey-btn); color: var(--blue); cursor: pointer; }
.car-btn:hover { background: var(--blue); color: var(--bg); }

/* spec sheet + now */
.pair { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: 32px; padding-top: 96px; align-items: stretch; }
.spec-body { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 20px 18px 6px; }
.spec-photo { align-self: start; }
.spec-photo img { display: block; width: 120px; height: 150px; object-fit: cover; }
.spec dl { margin: 0; display: grid; align-content: start; }
.spec dl div { display: grid; grid-template-columns: 92px 1fr; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--blue-line); }
.spec dt { font: 400 11px/1.6 var(--mono); text-transform: uppercase; letter-spacing: .06em; opacity: .75; }
.spec dd { margin: 0; font-weight: 500; }
.spec-motto { margin: 0; padding: 12px 18px 16px; font: 400 11px/1.6 var(--mono); text-transform: uppercase; letter-spacing: .05em; }
.now ul { list-style: none; margin: 0; padding: 14px 20px 18px; display: grid; gap: 10px; }
.now li { padding-left: 18px; position: relative; }
.now li::before { content: '>'; position: absolute; left: 0; font: 600 14px/1.7 var(--mono); }

/* experience */
.cv { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.roles { list-style: none; margin: 0; padding: 4px 20px 8px; }
.roles li { padding: 18px 0; border-bottom: 1px solid var(--blue-line); }
.roles li:last-child { border-bottom: 0; }
.roles h3 { font: 400 22px/1.1 var(--display); text-transform: uppercase; letter-spacing: .01em; margin: 0; }
.roles p { margin: 0; font-size: 15px; line-height: 1.55; }
.roles .meta { margin: 6px 0 8px; font-size: 11px; }

.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; margin-top: 72px; align-items: start; }
.pubs { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.pubs li { background: var(--panel); box-shadow: 0 0 0 1px var(--blue-line); padding: 18px; }
.pub-title { font-weight: 500; margin: 0; line-height: 1.4; }
.pub-links { display: flex; gap: 0; flex-wrap: wrap; margin: 12px 0 0; }
.quotes { display: grid; gap: 0; }
.quotes figure { margin: 0; padding: 18px 0; border-top: 1px solid var(--blue-line); }
.quotes figure:last-child { border-bottom: 1px solid var(--blue-line); }
.quotes blockquote { margin: 0 0 10px; font-size: 16px; line-height: 1.55; }
.quotes figcaption { font: 400 11px/1.5 var(--mono); text-transform: uppercase; letter-spacing: .05em; }
.quotes figcaption b { display: block; font-weight: 600; }


/* course index: two semesters, one row per map */
.courses { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.cindex { list-style: none; margin: 0; padding: 0; }
.cindex a {
    display: grid; grid-template-columns: 56px minmax(0, 1fr) 28px; align-items: center; gap: 12px;
    padding: 14px 18px; border-bottom: 1px solid var(--blue-line); text-decoration: none; transition: background .15s, color .15s;
}
.cindex li:last-child a { border-bottom: 0; }
.ci-n { font: 200 40px/0.9 var(--display); }
.ci-t strong { display: block; font: 400 20px/1.1 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.ci-t small { display: block; margin-top: 4px; font: 400 11px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .04em; opacity: .75; }
.ci-go { font: 400 18px var(--mono); text-align: right; }
.cindex a:hover, .cindex a:focus-visible { background: var(--blue); color: var(--bg); }

/* ASCII computer above the contact heading */
.pc { margin: 0 auto 28px; width: fit-content; font: 400 clamp(10px, 1.4vw, 15px)/1.2 var(--mono); color: var(--blue); white-space: pre; }

/* manifesto */
.papers { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.tenets { list-style: none; counter-reset: t; padding: 8px 20px 14px; margin: 0; }
.tenets li { counter-increment: t; display: grid; grid-template-columns: 40px 1fr; padding: 14px 0; border-bottom: 1px solid var(--blue-line); }
.tenets li:last-child { border-bottom: 0; }
.tenets li::before { content: counter(t, decimal-leading-zero); font: 400 12px/1.9 var(--mono); grid-row: span 2; }
.tenets p { margin: 0; font-size: 18px; line-height: 1.45; font-weight: 500; }
.tenets cite { font: normal 400 11px/1.5 var(--mono); text-transform: uppercase; letter-spacing: .04em; margin-top: 6px; opacity: .75; }
.tenets cite a { color: inherit; }

/* values */
.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin: 0; box-shadow: 0 0 0 1px var(--blue-line); background: var(--panel); }
.values div { padding: 22px 18px 24px; border-left: 1px solid var(--blue-line); }
.values div:first-child { border-left: 0; }
.values dt { font: 200 40px/1 var(--display); text-transform: uppercase; margin-bottom: 14px; }
.values dd { margin: 0; font-size: 15px; line-height: 1.5; }

/* terminal */
.term { border: 5px solid var(--blue); background: var(--bg); }
.term-bar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 8px 12px; background: var(--blue); color: var(--bg); font: 400 12px/1.2 var(--mono); }
.term-dots { display: flex; gap: 6px; }
.term-dots i { width: 11px; height: 11px; border: 1.5px solid var(--bg); }
.term-dots i:first-child { background: var(--bg); }
.term-title { text-align: center; letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.term-full { color: var(--bg); text-decoration: none; text-transform: uppercase; letter-spacing: .06em; border: 1px solid var(--bg); padding: 4px 8px; }
.term-full:hover { background: var(--bg); color: var(--blue); }
.term iframe { display: block; width: 100%; height: min(560px, 68vh); border: 0; background: var(--bg); }
.term-status { display: flex; justify-content: space-between; gap: 12px; padding: 6px 12px; border-top: 1px solid var(--blue-line); font: 400 11px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .05em; }

/* faq */
.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--blue-line); }
.faq details { border-bottom: 1px solid var(--blue-line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 4px; font: 400 22px/1.15 var(--display); text-transform: uppercase; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 400 18px/1.2 var(--mono); }
.faq details[open] summary::after { content: '\2212'; }
.faq summary:hover { background: var(--blue-soft); }
.faq details p { margin: 0; padding: 0 4px 22px; max-width: 70ch; }

/* contact */
.cta { padding-bottom: 120px; }
.cta .btns { margin-bottom: 48px; }
.elsewhere { list-style: none; padding: 0; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 820px; }

/* footer */
footer { border-top: 5px solid var(--blue); padding: 0 0 36px; }
.ticker { overflow: hidden; white-space: nowrap; border-bottom: 1px solid var(--blue-line); font: 400 13px/44px var(--mono); text-transform: uppercase; letter-spacing: .04em; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track { display: inline-flex; gap: 22px; padding-left: 22px; animation: ticker 50s linear infinite; }
.ticker i { font-style: normal; opacity: .5; }
.ticker-track > span[aria-hidden] { display: contents; }
@keyframes ticker { to { transform: translateX(-50%); } }
.foot-row { max-width: 1180px; margin: 0 auto; padding: 32px 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer > p { max-width: 1180px; margin: 0 auto; padding: 0 16px; font: 400 11px/1.6 var(--mono); text-transform: uppercase; letter-spacing: .04em; opacity: .75; }
.icons { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0; }
.icons a { display: block; width: 36px; height: 36px; background: var(--grey-btn); position: relative; }
.icons a::after { content: ''; position: absolute; inset: 9px; background: var(--blue); -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.icons a:hover { background: var(--blue); }
.icons a:hover::after { background: var(--bg); }

/* jump palette */
.cmdk {
    width: min(620px, calc(100% - 32px)); max-height: min(560px, 80vh); padding: 0; border: 0;
    background: var(--surface); color: var(--blue); box-shadow: 0 0 0 1px var(--blue);
    margin: 12vh auto auto;
}
.cmdk::backdrop { background: color-mix(in srgb, var(--bg) 70%, transparent); backdrop-filter: blur(3px); }
.cmdk-form { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--blue-line); }
.cmdk-label { font: 600 14px var(--mono); }
.cmdk input { flex: 1; border: 0; outline: 0; font: 400 17px var(--text); color: var(--blue); background: transparent; min-width: 0; }
.cmdk input::placeholder { color: var(--blue); opacity: .45; }
.cmdk-esc { font: 400 10px var(--mono); text-transform: uppercase; border: 1px solid var(--blue-line); background: transparent; color: var(--blue); padding: 4px 6px; cursor: pointer; }
.cmdk-list { list-style: none; margin: 0; padding: 6px; max-height: 420px; overflow: auto; }
.cmdk-list a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; text-decoration: none; font: 400 18px/1.1 var(--display); text-transform: uppercase; letter-spacing: .03em; }
.cmdk-list small { font: 400 11px/1.6 var(--mono); text-transform: lowercase; opacity: .6; }
.cmdk-list a:hover, .cmdk-list a.on { background: var(--blue); color: var(--bg); }

/* tablet */
@media (max-width: 960px) {
    .about, .cv, .split, .papers, .pair, .courses { grid-template-columns: 1fr; }
    .carousel { position: static; max-width: 460px; margin: 0 auto; width: 100%; }
    .values { grid-template-columns: 1fr 1fr; }
    .values div { border-left: 0; border-top: 1px solid var(--blue-line); }
    .values div:nth-child(-n+2) { border-top: 0; }
    .values div:nth-child(even) { border-left: 1px solid var(--blue-line); }
    .values div:last-child { grid-column: 1 / -1; border-left: 0; }
    .sec { padding-top: 96px; }
}

/* phone */
@media (max-width: 640px) {
    body { font-size: 16px; }
    .frame { border-width: 4px; }
    .top { display: flex; flex-wrap: wrap; align-items: center; padding: 14px 12px 10px; row-gap: 12px; column-gap: 0; }
    .mark { order: 1; }
    .top .nav-r, .top .nav-l, .top .nav-r nav { display: contents; }
    .tools { order: 2; margin-left: auto; }
    .top::after { content: ''; order: 3; flex-basis: 100%; }
    .top nav a { order: 4; flex: 1 1 auto; text-align: center; font-size: 14px; letter-spacing: .05em; }
    .creds { gap: 2px 12px; }
    .creds li { font-size: 10.5px; }
    .strip-row { grid-template-columns: 1fr 1fr; }
    .strip-row img:nth-child(-n+2) { display: none; }
    .strip-row img { image-rendering: auto; }
    .ci-n { font-size: 32px; }
    .cindex a { grid-template-columns: 42px minmax(0, 1fr) 20px; padding: 12px 14px; }
    .ci-t strong { font-size: 18px; }
    .cmdbar { top: 8px; padding: 10px 12px; }
    .cmd-keys { display: none; }
    .hero { padding: 14px 12px 12px; }
    .hero h1 { font-size: clamp(44px, min(16vw, 8.5vh), 72px); }
    .eyebrow { font-size: 10.5px; }
    .frame { min-height: 560px; }
    .giant { font-size: clamp(64px, 22vw, 110px); }
    .sec { padding-top: 80px; }
    .pair { padding-top: 72px; }
    .spec-body { grid-template-columns: 92px 1fr; gap: 14px; }
    .spec-photo img { width: 92px; height: 115px; }
    .spec dl div { grid-template-columns: 78px 1fr; }
    .roles { padding: 0 14px 4px; }
    .frame > .sky { font-size: 12px; }
    .term { border-width: 4px; }
    .term-title { display: none; }
    .term-status span:last-child { display: none; }
    .values { grid-template-columns: 1fr; }
    .values div:nth-child(n) { border-left: 0; border-top: 1px solid var(--blue-line); grid-column: auto; }
    .values div:first-child { border-top: 0; }
    .tenets { padding: 4px 14px 10px; }
    .tenets li { grid-template-columns: 30px 1fr; }
    .tenets p { font-size: 17px; }
    .term iframe { height: 70vh; }
    .faq summary { font-size: 19px; }
    .foot-row { justify-content: center; }
    footer nav { justify-content: center; }
    footer > p { text-align: center; }
}

/* short phones: give the photos room */
@media (max-width: 640px) and (max-height: 700px) {
    .creds { display: none; }
    .hero h1 { font-size: clamp(40px, 13vw, 60px); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .ticker-track { animation: none; }
    .duo img { transition: none; }
}
