:root {
  color-scheme: dark;
  --navy: #020b20;
  --blue: #078dff;
  --cyan: #00e5f4;
  --text: #f8fbff;
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--navy);
  color: var(--text);
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; background: radial-gradient(ellipse at 0 0, #0757b966, transparent 55%), radial-gradient(ellipse at 100% 85%, #006fe744, transparent 45%); }
.motif { position: fixed; inset: 100px auto auto -70px; font-size: min(85vw, 1000px); line-height: 1; font-weight: 900; color: #1265c312; pointer-events: none; }
.banner { position: absolute; inset: 0 0 auto; height: 330px; overflow: hidden; pointer-events: none; mask-image: linear-gradient(#000 65%, transparent 100%); }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #020b2020, #020b2055 45%, var(--navy) 100%); }
.track { --tile-width: max(340px, 34vw); --gap: 14px; display: flex; gap: var(--gap); position: absolute; left: 0; top: -12px; height: 285px; width: max-content; will-change: transform; }
.tile { width: var(--tile-width); height: 100%; flex: none; overflow: hidden; border: 1px solid #279fff88; border-radius: 14px; background: #08264c; }
.tile video, .tile canvas { display: block; width: 100%; height: 100%; object-fit: cover; filter: brightness(.62) saturate(.85); }
.motion-control { position: absolute; right: 20px; top: 18px; z-index: 5; display: flex; align-items: center; gap: 8px; min-height: 44px; max-width: calc(100% - 40px); border: 1px solid #90cfffaa; border-radius: 30px; padding: 10px 16px; background: #031633ee; color: white; font: inherit; font-size: .875rem; cursor: pointer; }
.motion-control[hidden] { display: none; }
.motion-control svg { width: 16px; height: 16px; flex: none; }
.motion-control[data-playing="false"] svg { display: none; }
:where(a, button):focus-visible { outline: 3px solid #8ff8ff; outline-offset: 5px; }
main { position: relative; width: min(450px, calc(100% - 40px)); margin: auto; padding: 140px 0 32px; text-align: center; }
.avatar { display: block; width: 160px; height: 160px; object-fit: contain; margin: auto; filter: drop-shadow(0 0 18px #009dff55); }
h1 { font-size: clamp(2.25rem, 6vw, 3rem); margin: 10px 0 13px; letter-spacing: -.035em; line-height: 1.1; }
.accent { width: 34px; height: 4px; background: var(--cyan); border-radius: 3px; margin: 0 auto 18px; }
.intro { color: #d1eaff; font-size: 1rem; letter-spacing: .15em; margin: 0 0 25px; }
.links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; text-align: left; }
.link { min-height: 60px; display: flex; align-items: center; gap: 20px; border: 1px solid var(--blue); border-radius: 13px; background: linear-gradient(115deg, #06346a, #031a3e); padding: 14px 22px; color: var(--text); font-size: 1.0625rem; text-decoration: none; transition: background .18s, border-color .18s, transform .18s; }
.link:hover { background: #0b3971; border-color: #6eefff; transform: translateY(-2px); }
.link:active { transform: translateY(0); }
.icon { display: flex; align-items: center; justify-content: center; width: 27px; height: 27px; flex: none; }
.icon svg { width: 27px; height: 27px; fill: currentColor; }
.arrow { margin-left: auto; color: #d4efff; font-size: 1.5rem; line-height: 1; }
.tagline { font-size: 1rem; line-height: 1.65; letter-spacing: .08em; color: #e2f2ff; margin: 22px 0 0; }
.tagline span { display: block; }
.skip { position: fixed; left: 12px; top: 12px; transform: translateY(-200%); z-index: 10; background: white; color: #03112c; padding: 14px; border-radius: 6px; }
.skip:focus { transform: none; }
/* Keep the same type, avatar, and content width; reclaim vertical whitespace. */
@media (min-width: 601px) {
  main { padding-top: clamp(24px, calc(100svh - 880px), 140px); padding-bottom: 20px; }
  h1 { margin: 8px 0 10px; }
  .accent { margin-bottom: 14px; }
  .intro { margin-bottom: 18px; }
  .links { gap: 8px; }
  .tagline { margin-top: 18px; }
}
@media (min-width: 601px) and (max-height: 850px) {
  main { padding-top: 12px; padding-bottom: 12px; }
  h1 { margin: 6px 0 8px; }
  .accent { margin-bottom: 10px; }
  .intro { margin-bottom: 12px; }
  .links { gap: 6px; }
  .link { min-height: 52px; padding-block: 10px; }
  .tagline { margin-top: 14px; }
}
@media (min-width: 601px) and (max-height: 760px) {
  h1 { margin: 4px 0; }
  .intro { margin-bottom: 8px; }
  .links { gap: 4px; }
  .link { min-height: 48px; padding-block: 8px; }
  .tagline { margin-top: 10px; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 600px) {
  .banner { height: 280px; }
  .track { --tile-width: 270px; height: 240px; }
  main { padding-top: 135px; }
  .avatar { width: 142px; height: 142px; }
  .motion-control { top: 12px; right: 12px; }
  .link { min-height: 58px; padding-inline: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
