/* Stellar Observatory — a quieter visual layer over the original interactions. */
:root {
  --bg: #0d0e10;
  --text: #f1efe9;
  --muted: #9c9c9e;
  --line: rgba(241, 239, 233, .11);
  --orange: #fa9155;
  --orange-2: #ffb780;
  --green: #a8c5a7;
  --shadow: 0 16px 50px rgba(0, 0, 0, .12);
  --radius: 16px;
  --max: 1180px;
  --header-h: 80px;
  color-scheme: dark;
}

html { scroll-padding-top: calc(var(--header-h) + 28px); }
body { background: var(--bg); -webkit-font-smoothing: antialiased; }
body::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 900px; z-index: -1;
  background: radial-gradient(ellipse at 78% 30%, rgba(150, 79, 44, .09), transparent 54%);
  pointer-events: none;
}
::selection { color: #fff4ea; background: #934b2d; }
a:focus-visible, button:focus-visible, [role="button"]:focus-visible {
  outline: 2px solid var(--orange); outline-offset: 6px;
}
main { padding: 0 40px; }
.nebula { opacity: .13; }
#stars { opacity: .38; }
#flame { opacity: .5; }
.scroll-progress { height: 2px; background: var(--orange); box-shadow: none; z-index: 120; }
.skip-link { position: fixed; top: -80px; left: 20px; padding: 14px 20px; background: var(--text); color: var(--bg); z-index: 150; border-radius: 8px; }
.skip-link:focus { top: 12px; }

/* Navigation is available at every screen size. */
.topbar { position: sticky; top: 0; z-index: 100; height: var(--header-h); border-bottom: 1px solid var(--line); background: rgba(13, 14, 16, .9); backdrop-filter: blur(20px); }
.topbar-inner { max-width: calc(var(--max) + 80px); height: 100%; margin: auto; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand img { object-fit: contain; width: 36px; height: 36px; }
.brand > span { font-size: 17px; font-weight: 800; letter-spacing: .04em; line-height: 1.3; }
.brand-number { color: var(--orange); font-size: 15px; margin-left: 3px; }
.brand small { display: block; color: #909093; font-size: 8px; font-weight: 400; letter-spacing: .17em; margin-top: 3px; }
.top-nav { display: flex; align-items: center; align-self: stretch; gap: 32px; }
.top-nav a { display: flex; align-items: center; position: relative; font-size: 13px; color: #a5a5a7; transition: color .2s ease; }
.top-nav a:hover, .top-nav a.active { color: var(--text); }
.top-nav a::after { content: ""; position: absolute; bottom: 19px; left: 0; width: 100%; height: 2px; background: var(--orange); transform: scaleX(0); transition: transform .2s ease; }
.top-nav a.active::after { transform: scaleX(1); }
.header-contact { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; padding: 11px 16px; border: 1px solid var(--line); border-radius: 7px; transition: border-color .2s ease, background .2s ease; }
.header-contact:hover { border-color: #7a5440; background: #201a16; }
.header-contact > span:last-child { margin-left: 10px; font-size: 17px; color: var(--orange); }
.status-dot { height: 5px; width: 5px; background: var(--green); border-radius: 50%; }

/* Opening spread. */
.hero { grid-template-columns: 1.05fr 1fr; gap: 52px; min-height: min(820px, calc(100svh - var(--header-h))); padding: 76px 0 100px; }
.hero-copy { min-width: 0; }
.hero-eyebrow { display: flex; gap: 10px; align-items: center; font-size: 9px; color: #a0a0a3; letter-spacing: .1em; margin-bottom: 28px; }
.hero-eyebrow > span { width: 18px; height: 1px; background: var(--orange); }
.pill { border: 0; padding: 0; background: none; color: #b5b0a9; font-size: 11px; letter-spacing: .06em; }
.pill .dot { width: 5px; height: 5px; background: var(--orange); box-shadow: none; animation: none; }
.hero-title { margin: 25px 0 20px; filter: none; }
.hero-line { font-size: clamp(64px, 7.3vw, 104px); font-weight: 800; letter-spacing: -.065em; line-height: 1.12; white-space: nowrap; }
.hero-line.hero-greeting { font-size: 22px; font-weight: 500; letter-spacing: -.02em; line-height: 1.5; margin-bottom: 9px; color: #c5c2bc; }
.stroke-text { display: none; }
.hero-title .char { color: var(--text); background: none; }
.hero-title .char:nth-last-child(-n+3) { color: var(--orange); font-weight: 500; }
.role { font-size: 12px; min-height: 24px; color: #bcbab5; letter-spacing: .05em; }
.role-icon { color: var(--orange); margin-right: 8px; }
.role-icon svg { width: 15px; height: 15px; }
.caret { width: 1px; background: var(--orange); margin-left: 7px; }
.hero-intro { font-size: clamp(24px, 2.4vw, 33px); line-height: 1.6; letter-spacing: -.035em; color: var(--text); margin-top: 24px; font-weight: 500; }
.hero-intro > span { color: #afaea9; }
.hero-motto { max-width: 410px; font-size: 13px; color: var(--muted); line-height: 1.9; margin: 14px 0 0; }
.hero-actions { margin-top: 28px; gap: 12px; }
.btn-primary, .btn-secondary { font-size: 12px; border-radius: 7px; font-weight: 600; padding: 14px 18px; min-height: 46px; will-change: auto; }
.btn-primary { border: 1px solid var(--orange); color: #1b140f; background: var(--orange); box-shadow: none; }
.btn-primary:hover { color: #1b140f; background: #ffac77; border-color: #ffac77; box-shadow: 0 5px 24px #fa915522; }
.btn-liquid { display: none; }
.btn-secondary { color: #d4d1ca; background: transparent; border-color: #3b3a38; }
.btn-secondary:hover { background: #1a1b1d; border-color: #74716b; }
.ic { width: 14px; height: 14px; }
.stats { gap: 0; margin-top: 35px; padding-top: 22px; flex-wrap: nowrap; }
.stat { padding: 0 28px; border-right: 1px solid var(--line); }
.stat:first-child { padding-left: 0; }
.stat:last-child { border: 0; padding-right: 0; }
.stat b { font-size: 23px; font-weight: 500; letter-spacing: -.06em; }
.stat span { display: block; margin-top: 6px; font-size: 10px; color: #969496; letter-spacing: .03em; }
.hero-bottom { position: absolute; bottom: 25px; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding-top: 22px; border-top: 1px solid var(--line); color: #8f8f91; font-size: 9px; letter-spacing: .08em; }
.hero-bottom a { color: #c8c4bc; display: inline-flex; align-items: center; gap: 20px; padding: 6px; }
.hero-bottom a span { color: var(--orange); font-size: 16px; }

/* Observatory plate around the existing interactive logo. */
.hero-visual { min-height: 540px; width: 100%; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: radial-gradient(ellipse at 50% 40%, #251b142b, transparent 62%), #101113; }
.hero-visual::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(#ffffff03 1px, transparent 1px), linear-gradient(90deg, #ffffff03 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse, #000, transparent 85%); }
.visual-topline, .visual-footer { position: absolute; left: 23px; right: 23px; display: flex; justify-content: space-between; align-items: center; color: #95928b; font-size: 8px; letter-spacing: .1em; z-index: 5; }
.visual-topline { top: 22px; }
.visual-topline > span:first-child { display: inline-flex; align-items: center; gap: 7px; }
.visual-topline i { width: 4px; height: 4px; background: var(--orange); border-radius: 50%; }
.visual-footer { bottom: 19px; padding-top: 15px; border-top: 1px solid var(--line); font-size: 8px; }
.visual-footer > span:first-child { color: var(--orange); }
.visual-cross { position: absolute; color: #77716a; font: 15px var(--mono); z-index: 5; pointer-events: none; }
.cross-tl { left: 11px; top: 52px; }
.cross-br { right: 11px; bottom: 51px; }
.orbit-caption { position: absolute; top: 67px; left: 27px; display: grid; gap: 6px; color: #a8a29a; font-size: 10px; letter-spacing: .06em; z-index: 1; }
.orbit-caption > span:last-child { font-size: 7px; color: #7e7a74; letter-spacing: .15em; }
.solar { width: 100%; max-width: 490px; margin-top: -40px; }
.solar::before, .solar::after { content: ""; position: absolute; pointer-events: none; border: 1px solid #e7c29c0d; border-radius: 50%; width: 85%; aspect-ratio: 1; }
.solar::after { width: 69%; border-style: dashed; border-color: #e7c29c14; }
.halo { width: 85%; opacity: .6; background: radial-gradient(circle, #de7d281a, transparent 62%); }
.sun-wrap { width: 41%; }
.sun-glow { opacity: .4; }
.ring1 { width: 56%; height: 35%; border-color: #d5ae792e; }
.ring2 { width: 74%; height: 47%; border: 1px solid #d5ae7920; transform: rotate(-24deg); }
.ring3 { width: 91%; height: 61%; border-color: #d5ae7920; transform: rotate(20deg); }
.sat .sat-icon { width: 43px; height: 43px; left: -21px; top: -21px; border-radius: 12px; background: #18191b; border-color: #4e4135; box-shadow: 0 6px 16px #0004; }
.sat svg { width: 21px; height: 21px; }
.sat.s1 { --rx: 165px; --ry: 106px; }
.sat.s2 { --rx: 195px; --ry: 127px; }
.sat.s3 { --rx: 128px; --ry: 81px; }
.sat:focus-visible .sat-tip { opacity: 1; transform: none; }
.terminal { right: 24px; bottom: 65px; width: 255px; border-radius: 7px; background: #141517ed; box-shadow: 0 14px 40px #0003; animation: none; }
.term-bar { color: #b3aaa0; background: #ffffff02; font-size: 9px; padding: 9px 11px; gap: 5px; }
.term-bar .dots { gap: 4px; }
.term-bar .dots i { width: 5px; height: 5px; opacity: .65; }
.term-hint { font-size: 8px; color: #a39a8f; }
.term-body { padding: 10px 12px; min-height: 97px; font-size: 8px; line-height: 1.9; color: #a6b59f; }
.term-body .dim { color: #9c958d; }
.term-body .ok { color: #a8c5a7; }
.term-body .warn { color: #d7a879; }

/* Content rhythm and a calmer surface system. */
.section { padding-top: 100px; }
.section-head { align-items: center; gap: 17px; margin-bottom: 34px; position: relative; padding-top: 28px; }
.section-head h2 { font-size: clamp(25px, 3vw, 35px); font-weight: 600; letter-spacing: -.035em; line-height: 1.45; }
.heading-period { color: var(--orange); }
.sec-index { color: #b3a18e; font-size: 9px; letter-spacing: .13em; }
.section-head > .sec-index { position: absolute; top: 0; left: 0; }
.sec-line { background: var(--line); min-width: 20px; }
.sec-line::after { display: none; }
.sec-flag { color: #96928c; font-size: 8px; letter-spacing: .05em; }
.sec-flag i { color: #b2b7a6; }
.section-divider { padding: 0; height: 1px; margin-top: 85px; background: var(--line); }
.section-divider::before, .section-divider::after, .section-divider > span { display: none; }
.section-divider + .section { padding-top: 65px; }
.panel, .project-card, .site-card, .vcard { background: #141517; box-shadow: none; border-color: var(--line); }
.panel { border-radius: 12px; }
.glass::before { opacity: 0; }
.glass:hover::before { opacity: .45; }
.about-grid { grid-template-columns: 1.35fr 1fr; gap: 24px; }
.dossier { padding: 27px; }
.dossier-head, .dossier-foot { color: #a09a92; font-size: 9px; letter-spacing: .06em; border-color: var(--line); border-style: solid; border-width: 0 0 1px; }
.dossier-main { grid-template-columns: 76px 1fr; padding: 28px 0 20px; gap: 22px; }
.avatar, .avatar-wrap { width: 76px; height: 76px; border-radius: 10px; }
.avatar { padding: 8px; background: #1b1c1e; filter: none; }
.avatar-scan { display: none; }
.dossier-name { font-size: 21px; font-weight: 600; margin-bottom: 13px; }
.dossier-name .mono { color: #a88970; font-size: 11px; margin-left: 8px; }
.dossier-body p { font-size: 13px; line-height: 2; color: #aaa7a1; }
.dossier-stats { gap: 18px; margin-top: 20px; }
.dossier-stats span { font-size: 10px; color: #a09a92; }
.dossier-stats b { font-size: 12px; color: #dfdad1; font-weight: 500; }
.live-tag { color: #b5c3a5; background: #ffffff06; font-size: 7px; }
.dossier-foot { border-width: 1px 0 0; padding-top: 16px; }
.sig-bars i { background: #b5b8a2; animation-duration: 2s; }
.about-side { padding: 0; border: 0; background: none; gap: 12px; }
.badge-card { padding: 19px 22px; grid-template-columns: 36px 1fr; gap: 5px 16px; border-radius: 10px; background: #151618; border-color: var(--line); }
.badge-icon { width: 36px; height: 36px; border: 0; border-radius: 7px; background: #ffffff05; color: #c1a88d; }
.badge-icon svg { width: 20px; height: 20px; }
.badge-card b { font-size: 13px; color: #e1dcd3; }
.badge-card > span:last-child { color: #a29e98; font-size: 11px; }
.badge-card:hover { border-color: #8b684a; box-shadow: none; }
.ticker { margin-top: 26px; border-color: var(--line); border-radius: 6px; background: none; }
.ticker-track span { font-size: 10px; color: #b0a99e; }
.ticker-track span::after { color: #946d4e; }

/* Quick routes are deliberately quieter than the authored products. */
.project-grid { gap: 16px; }
.project-card { min-height: 205px; padding: 26px; border-radius: 12px; }
.project-card.large, .project-card.small { grid-column: span 6; }
.project-card.third { grid-column: span 4; min-height: 190px; }
.project-card::after { display: none; }
.project-card:hover { border-color: #665340; box-shadow: none; }
.card-icon { width: 36px; height: 36px; border-radius: 8px; background: #ffffff04; border-color: var(--line); color: #cea67d; }
.card-icon svg { width: 19px; height: 19px; }
.card-index { margin-top: 17px; color: #a29a90; font-size: 8px; letter-spacing: .1em; }
.project-card h3 { font-size: 19px; font-weight: 500; margin: 9px 0; }
.project-card p { color: #a5a19b; font-size: 13px; line-height: 1.85; }
.card-num { top: 20px; right: 24px; font-size: 46px; color: #ffffff08; }
.card-link { margin-top: 17px; font-size: 11px; min-height: 30px; color: #e1ac7f; }
.repo-bar { margin-top: 17px; background: #24221f; }
.repo-bar .rb-fill { background: #877158; }
.repo-bar .rb-label { color: #c5b29c; font-size: 7px; }
.constellation { opacity: .2; }
.section-desc { color: #a7a29a; font-size: 12px; line-height: 1.9; }
.site-grid { gap: 20px; }
.site-card { border-radius: 12px; padding: 26px; min-height: 420px; display: flex; flex-direction: column; }
.site-card::after { display: none; }
.site-card.audio { --site: #e4a272; --site-glow: #e4a2720a; }
.site-card.workbench { --site: #9db7cc; --site-glow: #9db7cc0a; }
.site-card.aihub { --site: #afc4b0; --site-glow: #afc4b00a; }
.site-card:hover { box-shadow: 0 10px 30px #0002; }
.site-icon { width: 33px; height: 33px; border-radius: 8px; border-color: #ffffff0d; background: #ffffff04; }
.site-icon svg { width: 18px; height: 18px; }
.site-kind { font-size: 8px; letter-spacing: .07em; color: #a49c91; }
.site-card h3 { font-size: 20px; font-weight: 500; margin: 19px 0 10px; }
.site-card p { font-size: 13px; line-height: 1.85; color: #a5a19b; }
.site-domain { color: #a29a90; font-size: 10px; margin-top: 18px; }
.site-card-link { display: flex; justify-content: space-between; margin-top: auto; padding-top: 23px; font-size: 11px; }

/* Desktop keeps the original pinned screening room. Small screens use native swipe. */
.theater-scroll { height: calc(100dvh - var(--header-h) + var(--tx)); margin: 0 -40px; padding: 0; }
.section-divider + .theater-scroll { padding-top: 0; }
.theater-pin { top: var(--header-h); height: calc(100dvh - var(--header-h)); padding-top: 45px; }
.theater-pin .section-head { margin-bottom: 16px; padding-top: 28px; padding-left: max(40px, calc((100vw - var(--max)) / 2)); padding-right: max(40px, calc((100vw - var(--max)) / 2)); }
.theater-pin .section-head > .sec-index { left: max(40px, calc((100vw - var(--max)) / 2)); }
.theater-toolbar { padding: 0 max(40px, calc((100vw - var(--max)) / 2)); display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 26px; }
.theater-toolbar p { color: #a49e96; font-size: 12px; margin: 0; line-height: 1.7; }
.theater-controls { display: flex; gap: 8px; flex: none; }
.theater-controls button { width: 36px; height: 36px; border: 1px solid #45423d; border-radius: 50%; color: #d2c9bb; transition: background .2s ease; }
.theater-controls button:hover { background: #353027; }
.theater-controls button:disabled { opacity: .3; cursor: default; background: none; }
.theater-track { gap: 22px; padding: 0 max(40px, calc((100vw - var(--max)) / 2)); }
.theater-track .vcard { width: min(370px, 82vw); border-radius: 10px; }
.vthumb { border-radius: 0; aspect-ratio: 16 / 9; }
.vtag { font-size: 7px; top: 12px; left: 12px; letter-spacing: .1em; border-radius: 3px; background: #121212c9; color: #efe5d8; border-color: #ffffff22; }
.cover-title { opacity: 0; font-size: 16px; }
.vcard:hover .cover-title, .vcard:focus-visible .cover-title { opacity: 1; }
.play { width: 44px; height: 44px; border-color: #ffffff44; background: #0d0e1077; backdrop-filter: blur(8px); }
.vmeta { padding: 20px; }
.vtag-row { gap: 9px; }
.vt { color: #c0b5a5; font-size: 8px; }
.theater-track .vmeta h3 { color: #e8e2d9; font-size: 14px; font-weight: 500; line-height: 1.8; margin: 12px 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vmeta p { color: #aaa197; font-size: 11px; line-height: 1.8; }
.vstats { font-size: 9px; color: #a89e91; padding-top: 18px; }
.theater-progress { left: max(40px, calc((100vw - var(--max)) / 2)); right: max(40px, calc((100vw - var(--max)) / 2)); bottom: 32px; height: 1px; }
.theater-progress i { background: var(--orange); box-shadow: none; }
.theater-rocket { display: none; }

/* Invitation and colophon. */
.contact { margin-top: 65px; padding: 46px; border-radius: 12px; border-color: #6a503c; background: linear-gradient(115deg, #211c17, #151618 65%); box-shadow: none; }
.contact-left { max-width: 450px; }
.contact h2 { font-size: clamp(24px, 2.7vw, 34px); font-weight: 500; letter-spacing: -.04em; line-height: 1.7; margin-bottom: 15px; }
.contact h2 span { color: var(--orange); }
.contact p { color: #b6ada0; font-size: 12px; max-width: 350px; }
.contact > .radar { opacity: .18; }
.contact-inner { gap: 45px; }
.contact-right { gap: 10px; max-width: 480px; }
.status-line { padding: 0; border: 0; background: none; font-size: 9px; color: #beb5a8; gap: 8px; margin-top: 18px; }
.status-line .dot { width: 5px; height: 5px; background: #acc09e; box-shadow: none; animation: none; }
.clock { color: #aaa08f; font-size: 9px; }
.c-btn { border-radius: 8px; background: #ffffff03; padding: 14px; gap: 10px; min-height: 76px; }
.c-btn:hover { box-shadow: none !important; }
.c-btn::after { display: none; }
.c-icon { width: 32px; height: 32px; border-radius: 7px; background: #ffffff04; border: 0; }
.c-icon svg { width: 18px; height: 18px; }
.c-meta b { font-size: 12px; font-weight: 500; color: #ded6ca; }
.c-meta small { font-size: 9px; color: #b5aa9a; }
footer { padding: 40px 40px 30px; max-width: calc(var(--max) + 80px); color: #a39a8c; font-size: 9px; gap: 22px; }
.friends-label { font-size: 8px; color: #a39a8c; }
.friend { font-size: 10px; color: #b4aa9d; min-height: 30px; display: inline-flex; align-items: center; }
.footer-meta { padding-top: 22px; border-top: 1px solid var(--line); align-items: center; }
.toast { background: #e7dfd3; color: #211b15; border-color: #e7dfd3; border-radius: 8px; box-shadow: 0 8px 40px #0006; font-size: 12px; }
.reveal { transition-duration: .65s; }
.reveal[data-dir="left"] { transform: translateX(-20px); }
.reveal[data-dir="right"] { transform: translateX(20px); }
.reveal[data-dir="up"] { transform: translateY(24px); }
.reveal.show { transform: none; }

@media (min-width: 901px) and (max-width: 1100px) {
  .hero { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-line { font-size: 80px; }
  .hero-visual { min-height: 510px; }
  .sat.s1 { --rx: 128px; --ry: 87px; }
  .sat.s2 { --rx: 156px; --ry: 106px; }
  .sat.s3 { --rx: 100px; --ry: 65px; }
  .stat { padding: 0 20px; }
  .contact-inner { flex-direction: row; }
}

@media (max-width: 900px) {
  main { padding: 0 28px; }
  .topbar-inner { padding: 0 28px; gap: 20px; }
  .top-nav { gap: 24px; }
  .hero { grid-template-columns: 1fr; padding-top: 50px; gap: 48px; min-height: auto; }
  .hero-copy { max-width: 600px; }
  .hero-line { font-size: clamp(72px, 12vw, 106px); }
  .hero-eyebrow { margin-bottom: 24px; }
  .hero-visual { min-height: 530px; max-width: 600px; justify-self: center; grid-template-rows: 1fr; gap: 0; }
  .hero-visual .terminal { position: absolute; bottom: 65px; right: 24px; width: 255px; }
  .hero-bottom > span:last-child { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-side { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .badge-card { display: flex; flex-direction: column; align-items: flex-start; padding: 18px; gap: 10px; }
  .badge-card > span:last-child { line-height: 1.8; }
  .site-grid { gap: 14px; }
  .site-card { padding: 22px; }
  .site-card h3 { font-size: 17px; }
  .site-kind { font-size: 7px; }
  .contact { padding: 32px; }
  .contact-inner { flex-direction: column; align-items: stretch; gap: 25px; }
  .contact-right { max-width: none; }
  .section { padding-top: 70px; }
  .section-head h2 { font-size: 29px; }
}

@media (max-width: 900px), (max-height: 740px), (prefers-reduced-motion: reduce) {
  .theater-scroll { height: auto; margin: 0 -40px; }
  .theater-pin { position: relative; top: auto; height: auto; padding: 60px 0 8px; overflow: visible; }
  .theater-track { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: max(40px, calc((100vw - var(--max)) / 2)); padding-bottom: 18px; transform: none !important; will-change: auto; scrollbar-width: thin; scrollbar-color: #79624a #1a1918; }
  .theater-track .vcard { scroll-snap-align: start; }
  .theater-progress { display: none; }
}

@media (max-width: 900px) {
  .theater-scroll { margin: 0 -28px; }
  .theater-track { padding-inline: 28px; scroll-padding-inline: 28px; }
  .theater-pin .section-head, .theater-toolbar { padding-inline: 28px; }
  .theater-pin .section-head > .sec-index { left: 28px; }
}

@media (max-width: 600px) {
  :root { --header-h: 103px; }
  main { padding: 0 22px; }
  .topbar-inner { padding: 0 22px; display: grid; grid-template-columns: 1fr auto; grid-template-rows: 61px 41px; gap: 0; }
  .brand { gap: 8px; }
  .brand img { width: 30px; height: 30px; }
  .brand > span { font-size: 14px; }
  .brand-number { font-size: 12px; }
  .brand small { font-size: 6px; }
  .header-contact { grid-column: 2; grid-row: 1; padding: 7px 10px; font-size: 10px; gap: 6px; }
  .header-contact > span:last-child { margin-left: 4px; font-size: 14px; }
  .top-nav { grid-row: 2; grid-column: 1 / -1; justify-content: space-between; gap: 0; border-top: 1px solid #ffffff06; }
  .top-nav a { font-size: 11px; min-width: 40px; justify-content: center; }
  .top-nav a::after { bottom: 0; }
  .hero { padding: 38px 0 80px; gap: 37px; }
  .hero-eyebrow { font-size: 7px; letter-spacing: .045em; gap: 7px; margin-bottom: 24px; }
  .hero-eyebrow > span { width: 12px; }
  .pill { font-size: 9px; }
  .hero-title { margin: 22px 0 14px; }
  .hero-line { font-size: clamp(58px, 15vw, 88px); }
  .hero-line.hero-greeting { font-size: 18px; margin-bottom: 6px; }
  .role { font-size: 10px; }
  .hero-intro { margin-top: 19px; font-size: 27px; line-height: 1.55; }
  .hero-motto { font-size: 11px; max-width: 290px; }
  .hero-actions { margin-top: 23px; gap: 10px; }
  .btn-primary, .btn-secondary { padding: 12px 14px; min-height: 44px; font-size: 11px; gap: 7px; }
  .stats { margin-top: 28px; padding-top: 20px; }
  .stat { padding: 0 22px; }
  .stat b { font-size: 21px; }
  .stat span { font-size: 9px; }
  .hero-visual { min-height: 440px; aspect-ratio: auto; grid-template-rows: auto; gap: 0; }
  .solar { width: 100%; margin-top: -38px; }
  .hero-visual .terminal { position: absolute; bottom: 59px; right: 18px; width: 220px; }
  .term-body { min-height: 80px; font-size: 7px; }
  .term-bar { font-size: 8px; }
  .visual-topline, .visual-footer { left: 18px; right: 18px; font-size: 7px; }
  .visual-topline { top: 18px; }
  .orbit-caption { left: 20px; top: 58px; font-size: 9px; }
  .orbit-caption > span:last-child { font-size: 6px; }
  .sat.s1 { --rx: 95px; --ry: 63px; }
  .sat.s2 { --rx: 118px; --ry: 77px; }
  .sat .sat-icon { width: 36px; height: 36px; left: -18px; top: -18px; border-radius: 10px; }
  .sat svg { width: 18px; height: 18px; }
  .hero-bottom { bottom: 12px; font-size: 8px; padding-top: 18px; }
  .hero-bottom a { gap: 12px; }
  .section { padding-top: 56px; }
  .section-head { margin-bottom: 24px; gap: 12px; padding-top: 25px; }
  .section-head h2 { font-size: clamp(22px, 5.7vw, 29px); }
  .sec-index { font-size: 8px; }
  .sec-flag { display: none; }
  .section-divider { margin-top: 52px; }
  .section-divider + .section { padding-top: 44px; }
  .section-divider + .theater-scroll { padding-top: 0; }
  .dossier { padding: 22px; }
  .dossier-head { font-size: 8px; }
  .dossier-main { grid-template-columns: 1fr; justify-items: start; text-align: left; gap: 20px; padding-top: 23px; }
  .avatar, .avatar-wrap { width: 64px; height: 64px; }
  .dossier-body p { font-size: 12px; line-height: 1.95; }
  .dossier-stats, .dossier-foot { justify-content: flex-start; }
  .about-side { grid-template-columns: 1fr; gap: 10px; }
  .badge-card { display: grid; grid-template-columns: 36px 1fr; align-items: center; gap: 5px 15px; padding: 17px 19px; }
  .badge-card > span:last-child { font-size: 11px; }
  .ticker { margin-top: 18px; }
  .project-grid { gap: 12px; }
  .project-card.large, .project-card.small, .project-card.third { grid-column: 1 / -1; min-height: 190px; padding: 22px; }
  .project-card h3 { font-size: 18px; }
  .card-num { font-size: 44px; }
  .site-grid { grid-template-columns: 1fr; gap: 20px; }
  .site-card { min-height: 400px; }
  .site-card h3 { font-size: 21px; }
  .site-card p { font-size: 12px; }
  .site-kind { font-size: 8px; }
  .site-card-link { padding-top: 20px; }
  .section-desc { font-size: 12px; margin-top: -8px !important; }
  .theater-scroll { margin: 0 -22px; }
  .theater-pin { padding-top: 44px; }
  .theater-pin .section-head, .theater-toolbar { padding-inline: 22px; }
  .theater-pin .section-head > .sec-index { left: 22px; }
  .theater-toolbar { gap: 16px; margin-bottom: 22px; }
  .theater-toolbar p { font-size: 11px; max-width: 210px; }
  .theater-controls { gap: 6px; }
  .theater-controls button { width: 34px; height: 34px; }
  .theater-track { padding-inline: 22px; gap: 14px; scroll-padding-inline: 22px; }
  .theater-track .vcard { width: min(330px, 82vw); }
  .contact { margin-top: 44px; padding: 25px 22px; }
  .contact h2 { font-size: 25px; }
  .contact-right { grid-template-columns: 1fr; gap: 10px; }
  .c-btn { min-height: 65px; }
  .c-meta b { font-size: 13px; }
  .c-meta small { font-size: 10px; }
  footer { padding: 30px 22px 24px; gap: 18px; }
  .friends-row { gap: 13px; flex-wrap: wrap; }
  .footer-meta { justify-content: flex-start; gap: 12px; font-size: 8px; line-height: 1.8; }
  .footer-meta > span:last-child { margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero { opacity: 1 !important; transform: none !important; }
  .sat, .sun-wrap, .halo { animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
