/* ==========================================================================
   Unfair Advantage — Flagship Design System & Layout Architecture (R26)
   Aesthetic: Machined Carbon Obsidian, Brushed Titanium & Anodized Crimson
   ========================================================================== */

@font-face {
  font-family: 'Atlas';
  src: url(assets/montserrat.woff2) format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: 'Atlas Fallback';
  src: local('Arial'), local('Helvetica'), local('ArialMT');
  size-adjust: 110.13%;
  ascent-override: 88.08%;
  descent-override: 22.70%;
  line-gap-override: 0%;
}

:root {
  color-scheme: dark;

  /* Core Palette — Machined Carbon, Brushed Titanium & Racing Crimson */
  --void: #07080b;
  --base: #0a0c10;
  --chassis: #0f1218;
  --surface: #141821;
  --panel: #191e29;
  --raised: #202634;

  --text: #f4f5f8;
  --text-soft: #cfd4df;
  --muted: #939cad;
  --dim: #667085;

  --crimson: #e8112d;
  --signal: #ff2e46;
  --crimson-hot: #ff5468;
  --crimson-deep: #8f0b1d;
  --crimson-glow: rgba(232, 17, 45, 0.24);
  --accent: var(--signal);
  --red: var(--crimson);

  --line: rgba(255, 255, 255, 0.085);
  --line-strong: rgba(255, 255, 255, 0.16);
  --line-crimson: rgba(255, 46, 70, 0.42);
  --rule: var(--line);
  --strong: rgba(255, 255, 255, 0.22);
  --specular: rgba(255, 255, 255, 0.11);

  /* Typography */
  --font-display: 'Space Grotesk', 'Atlas', 'Atlas Fallback', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Atlas', 'Atlas Fallback', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Consolas, monospace;

  /* Motion Curves */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --snap: cubic-bezier(0.19, 0.86, 0.22, 1);
  --spring: cubic-bezier(0.22, 1.15, 0.36, 1);
  --sine: cubic-bezier(0.4, 0, 0.2, 1);

  /* Spatial Scale */
  --space: clamp(20px, 4.6vw, 76px);
  --wrap-max: 1420px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  font-family: var(--font-body);
  background: var(--void);
  color: var(--text);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  background: var(--void);
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100svh;
  background:
    radial-gradient(ellipse 90% 55% at 72% -8%, rgba(232, 17, 45, 0.11) 0%, transparent 62%),
    radial-gradient(ellipse 65% 45% at 12% 28%, rgba(64, 86, 128, 0.08) 0%, transparent 58%),
    var(--void);
  color: var(--text);
  overflow-x: clip;
  line-height: 1.55;
}

/* Subtle precision architectural surface grain */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1, h2, h3, p, figure, dl {
  margin: 0;
}

h1, h2, h3 {
  font-family: var(--font-display);
}

button, summary, a, input, select {
  touch-action: manipulation;
}

:is(button, a, summary, canvas, input, select, #plot):focus-visible {
  outline: 2px solid var(--crimson-hot);
  outline-offset: 3px;
}

::selection {
  background: var(--crimson);
  color: #ffffff;
}

[hidden] {
  display: none !important;
}

/* Prevent unstyled rotate-gate flash before rotate.css applies */
.rotate-gate {
  display: none;
}

.wrap {
  width: min(
    calc(100% - 2 * var(--space) - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)),
    var(--wrap-max)
  );
  margin-inline: auto;
  min-width: 0;
}

.skip {
  position: fixed;
  left: 16px;
  top: -120px;
  background: var(--crimson);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  border-radius: 8px;
  z-index: 200;
  padding: 12px 18px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
  transition: top 0.25s var(--ease);
}

.skip:focus {
  top: 14px;
}

/* Global Scroll Progress Telemetry Rail */
.scroll-rail {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 120;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.04);
}

.scroll-rail i {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--crimson-deep), var(--signal) 65%, #ff8a97);
  box-shadow: 0 0 14px rgba(255, 46, 70, 0.7);
  transform-origin: left center;
  transform: scaleX(var(--scroll-progress, 0));
  will-change: transform;
}

/* Precision Monospace Telemetry Utility */
.micro,
.eyebrow,
.stage-index,
.instrument-code,
.console-label,
.screen-head,
.screen-foot,
.annotation {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   Floating Command Header (Machined Titanium Glass Dock)
   ========================================================================== */

.mast {
  position: sticky;
  top: 0;
  z-index: 90;
  padding-top: 12px;
  pointer-events: none;
  transition: padding 0.35s var(--ease);
}

.mast.scrolled {
  padding-top: 10px;
}

.mast-in {
  pointer-events: auto;
  height: 64px;
  padding: 0 14px 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-radius: 16px;
  background: rgba(12, 15, 21, 0.72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 34px -14px rgba(0, 0, 0, 0.65);
  transition:
    background-color 0.35s var(--ease),
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    max-width 0.45s var(--ease);
}

.mast.scrolled .mast-in {
  background: rgba(10, 12, 17, 0.86);
  border-color: rgba(255, 255, 255, 0.13);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 18px 44px -14px rgba(0, 0, 0, 0.82),
    0 0 0 1px rgba(232, 17, 45, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: -0.035em;
  color: var(--text);
  white-space: nowrap;
}

.brand img {
  object-fit: contain;
  width: 36px;
  height: auto;
  filter: drop-shadow(0 2px 8px rgba(232, 17, 45, 0.24));
}

.mast nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-pill {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.085);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.38s var(--ease), width 0.38s var(--ease), opacity 0.25s var(--sine);
}

.mast nav a {
  position: relative;
  z-index: 1;
  font-weight: 550;
  font-size: 13px;
  letter-spacing: -0.01em;
  color: var(--muted);
  padding: 8px 16px;
  border-radius: 999px;
  transition: color 0.2s var(--sine);
}

.mast nav a:hover,
.mast nav a:focus-visible,
.mast nav a.is-active {
  color: var(--text);
}

.access {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -0.01em;
  color: var(--text);
  padding: 9px 16px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: border-color 0.22s var(--sine), background-color 0.22s var(--sine), transform 0.22s var(--ease), box-shadow 0.22s var(--sine);
}

.access:hover {
  border-color: rgba(255, 46, 70, 0.55);
  background: linear-gradient(180deg, rgba(232, 17, 45, 0.16), rgba(232, 17, 45, 0.06));
  box-shadow:
    inset 0 1px 0 rgba(255, 130, 145, 0.22),
    0 6px 22px -6px rgba(232, 17, 45, 0.4);
}

/* ==========================================================================
   Hero Hangar — Flagship Kinetic Stage + Impulse Core Chamber
   ========================================================================== */

.hangar {
  position: relative;
  isolation: isolate;
  margin-top: -76px;
  padding-top: 96px;
  border-bottom: 1px solid var(--line);
  overflow: clip;
  background:
    radial-gradient(ellipse 52% 62% at 74% 52%, rgba(232, 17, 45, 0.12) 0%, rgba(232, 17, 45, 0.025) 42%, transparent 72%),
    radial-gradient(ellipse 46% 52% at 22% 42%, rgba(88, 112, 160, 0.075) 0%, transparent 66%),
    linear-gradient(180deg, #07080b 0%, #0b0d12 58%, #090b10 100%);
}

/* Precision architectural grid lines receding into hangar floor */
.hangar::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 84% 78% at 54% 44%, #000 18%, transparent 82%);
  -webkit-mask-image: radial-gradient(ellipse 84% 78% at 54% 44%, #000 18%, transparent 82%);
}

/* Ambient telemetry particle field canvas */
#hero-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.85;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(28px, 4.5vw, 72px);
  min-height: clamp(600px, calc(100svh - 86px), 860px);
  padding-block: clamp(32px, 4vw, 64px) clamp(44px, 5vw, 76px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.eyebrow-line {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 13px 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--text-soft);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.eyebrow-line i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 3px rgba(255, 46, 70, 0.22), 0 0 12px var(--signal);
  animation: pulse-dot 2.4s ease-in-out infinite;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(60px, 7.3vw, 124px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.94;
  margin: 22px 0 26px;
  color: var(--text);
  text-wrap: balance;
}

.hero h1 span {
  display: block;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
  background: linear-gradient(178deg, #ffffff 18%, #ebeff7 66%, #adb7cb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.45));
}

.lede {
  font-size: clamp(16px, 1.25vw, 19.5px);
  line-height: 1.64;
  color: #d8dde8;
  max-width: 44ch;
  letter-spacing: -0.012em;
  font-weight: 420;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 34px;
}

/* Flagship Primary CTA — Machined Anodized Crimson with Specular Sheen */
.cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 13px 24px;
  border-radius: 12px;
  border: 1px solid rgba(255, 118, 134, 0.45);
  background: linear-gradient(180deg, #f11b36 0%, #c80e26 100%);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.01em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 1px 2px rgba(0, 0, 0, 0.6),
    0 12px 30px -8px rgba(232, 17, 45, 0.58);
  overflow: hidden;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), filter 0.22s var(--sine);
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 22%, rgba(255, 255, 255, 0.28) 50%, transparent 78%);
  transform: translateX(-125%);
  transition: transform 0.65s var(--ease);
  pointer-events: none;
}

.cta:hover {
  filter: brightness(1.07);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 16px 38px -8px rgba(255, 46, 70, 0.72);
}

.cta:hover::before {
  transform: translateX(125%);
}

.cta:active {
  transform: scale(0.98);
}

/* Secondary Ghost Hardware Button */
.text-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: border-color 0.22s var(--sine), background-color 0.22s var(--sine), color 0.22s var(--sine), transform 0.26s var(--ease);
}

.text-cta:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.065);
  color: #ffffff;
}

.text-cta b {
  font-weight: 500;
  transition: transform 0.28s var(--ease);
}

.text-cta:hover b {
  transform: translateY(2px);
}

/* Creator Credit & Live Telemetry Strip */
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  margin-top: clamp(32px, 4vw, 56px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.byline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.byline strong {
  color: var(--text-soft);
  font-weight: 600;
}

.hero-telemetry {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
  font-variant-numeric: tabular-nums;
}

.hero-telemetry span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-telemetry b {
  color: var(--text-soft);
  font-weight: 500;
}

/* ==========================================================================
   Impulse Core Specimen Stage (Machined Glass Instrument Bay)
   ========================================================================== */

.specimen {
  position: relative;
  margin: 0;
  min-width: 0;
  padding: 20px 22px 18px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 50% 48%, rgba(232, 17, 45, 0.16) 0%, rgba(20, 25, 37, 0.72) 48%, rgba(11, 14, 20, 0.94) 100%);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 34px 86px -24px rgba(0, 0, 0, 0.88),
    0 0 90px -28px rgba(232, 17, 45, 0.3);
  isolation: isolate;
  overflow: hidden;
  transition: border-color 0.35s var(--sine), box-shadow 0.45s var(--ease);
}

/* Precision studio specular gleam along machined top bevel */
.specimen::before,
.instrument::before,
.console::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32) 38%, rgba(255, 84, 104, 0.55) 52%, transparent);
  pointer-events: none;
  z-index: 5;
}

/* Drive-mode energetic crimson core bloom */
.specimen::after {
  content: '';
  position: absolute;
  inset: 14% 18%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 42, 68, 0.28) 0%, rgba(232, 17, 45, 0.08) 45%, transparent 72%);
  filter: blur(28px);
  opacity: calc(0.45 + var(--core-energy, 0) * 0.55);
  transform: scale(calc(0.92 + var(--core-energy, 0) * 0.18));
  transition: opacity 0.45s var(--ease), transform 0.6s var(--ease);
  pointer-events: none;
}

.spec-top,
.spec-foot,
.model-readout {
  display: flex;
  align-items: center;
  gap: 12px;
}

.spec-top {
  justify-content: space-between;
  flex-wrap: wrap;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.spec-top > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.spec-top strong {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 14.5px;
  letter-spacing: -0.02em;
  color: var(--text);
}

.spec-badge {
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #ff94a0;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(232, 17, 45, 0.15);
  border: 1px solid rgba(255, 46, 70, 0.3);
}

.core-aside {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 500;
  opacity: 0.9;
}

.core-aside svg {
  flex: none;
  color: var(--signal);
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.render-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1.38;
  isolation: isolate;
  margin-block: 4px;
}

.reticle,
.render-box canvas,
.render-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.reticle {
  color: rgba(196, 208, 232, 0.42);
  pointer-events: none;
}

.render-poster {
  object-fit: contain;
}

.rendering .render-poster {
  visibility: hidden;
}

.render-box canvas {
  touch-action: pan-y;
  cursor: grab;
  filter: drop-shadow(0 24px 36px rgba(0, 0, 0, 0.55));
}

.render-box canvas:active {
  cursor: grabbing;
}

.model-readout {
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  margin-bottom: 10px;
  padding-inline: 2px;
}

.model-readout .micro {
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.gesture::before {
  content: '↔';
  font: 14px/1 var(--mono);
  color: var(--crimson-hot);
}

.core-live-stats {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--dim);
  font-variant-numeric: tabular-nums;
}

.core-live-stats b {
  color: var(--text-soft);
  font-weight: 500;
}

.pause {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 7px;
  padding: 5px 10px;
  min-height: 30px;
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}

.pause:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.07);
}

.spec-foot {
  border-top: 1px solid var(--line);
  justify-content: space-between;
  padding-top: 12px;
}

.spec-foot > .micro {
  color: var(--muted);
  font-size: 10px;
}

.view-name {
  font-weight: 600;
  color: var(--text);
  margin-left: 8px;
}

.modes {
  position: relative;
  display: flex;
  gap: 3px;
  background: rgba(7, 8, 11, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px;
  border-radius: 11px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.5);
}

.modes button {
  position: relative;
  z-index: 1;
  border: 1px solid transparent;
  border-radius: 7px;
  background: none;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  padding: 6px 13px;
  min-height: 32px;
  transition: color 0.2s var(--sine), background-color 0.22s var(--sine), border-color 0.22s var(--sine);
}

.modes button:hover {
  color: var(--text);
}

.modes button[aria-pressed='true'] {
  color: #ffffff;
  border-color: rgba(255, 46, 70, 0.45);
  background: linear-gradient(180deg, rgba(232, 17, 45, 0.26), rgba(160, 12, 32, 0.22));
  box-shadow: inset 0 1px 0 rgba(255, 160, 170, 0.2);
}

/* ==========================================================================
   Section Rhythm & Editorial Headings
   ========================================================================== */

.block {
  position: relative;
  padding-block: clamp(72px, 7.5vw, 128px) 0;
  scroll-margin-top: 84px;
}

.secthead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(28px, 3vw, 42px);
}

.block h2,
.broadcast h2,
.policy h1,
.port h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.1vw, 62px);
  font-weight: 700;
  letter-spacing: -0.048em;
  line-height: 1.02;
  color: var(--text);
  text-wrap: balance;
}

.secthead > p,
.broadcast p,
.policy p,
.port-content > p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 44ch;
  text-wrap: pretty;
}

/* ==========================================================================
   Kinetic Features Hardware Deck (#features)
   ========================================================================== */

.catalog {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.study {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(22px, 2.2vw, 32px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.09);
  background:
    radial-gradient(360px circle at var(--mx, 50%) var(--my, 30%), rgba(255, 46, 70, 0.11), transparent 65%),
    linear-gradient(165deg, rgba(24, 29, 40, 0.9) 0%, rgba(14, 17, 24, 0.96) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 20px 44px -24px rgba(0, 0, 0, 0.85);
  overflow: hidden;
  transition: transform 0.36s var(--ease), border-color 0.28s var(--sine), box-shadow 0.36s var(--ease);
}

.study::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 84, 104, 0.65), transparent 65%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s var(--sine);
  pointer-events: none;
}

.study:is(:hover, :focus-visible) {
  transform: translateY(-5px);
  border-color: rgba(255, 46, 70, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 28px 56px -22px rgba(0, 0, 0, 0.9),
    0 0 38px -18px rgba(232, 17, 45, 0.35);
}

.study:is(:hover, :focus-visible)::before {
  opacity: 1;
}

.small-stage {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  perspective: 680px;
  min-height: clamp(134px, 12.5vw, 184px);
  margin-bottom: 20px;
  border-radius: 14px;
  background:
    radial-gradient(ellipse at 50% 60%, rgba(255, 46, 70, 0.07), transparent 68%),
    radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px) 0 0 / 16px 16px,
    rgba(8, 10, 14, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.study-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.study-title {
  font-family: var(--font-display);
  font-weight: 680;
  font-size: clamp(22px, 2vw, 29px);
  letter-spacing: -0.04em;
  color: var(--text);
}

.study-arrow {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  transition: transform 0.3s var(--ease), background-color 0.22s, border-color 0.22s, color 0.22s;
}

.study:is(:hover, :focus-visible) .study-arrow {
  transform: translate(2px, -2px);
  background: rgba(232, 17, 45, 0.2);
  border-color: rgba(255, 46, 70, 0.5);
  color: #ffffff;
}

.study-detail {
  font-size: 13.5px;
  line-height: 1.5;
  margin-top: 8px;
  color: var(--muted);
}

/* ==========================================================================
   Instrument & Console Framing (Hub + Labs)
   ========================================================================== */

.instrument,
.console {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(17, 21, 30, 0.94), rgba(11, 13, 19, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 34px 90px -28px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  min-width: 0;
}

.stage-bar,
.console-header,
.screen-head,
.screen-foot,
.readout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.stage-bar,
.console-header {
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 12, 17, 0.65);
}

.stage-bar .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text-soft);
}

.signal {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 10px var(--signal);
}

.stage-index,
.console-label,
.instrument-code {
  color: var(--muted);
  font-size: 10px;
}

.stage-foot {
  border-bottom: 0;
  border-top: 1px solid var(--line);
  min-height: 46px;
  padding: 10px 22px;
  background: rgba(9, 11, 15, 0.72);
}

/* ==========================================================================
   FAQ Editorial Split
   ========================================================================== */

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 4.5vw, 72px);
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 104px;
}

.faq-intro p {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 34ch;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 6px;
  font-family: var(--font-display);
  font-size: clamp(16px, 1.35vw, 19px);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--text);
  transition: color 0.2s var(--sine);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary:hover {
  color: #ffffff;
}

.faq-answer {
  padding: 0 6px 24px;
}

.faq-answer p {
  font-size: 15px;
  line-height: 1.68;
  color: var(--muted);
  max-width: 62ch;
}

/* ==========================================================================
   Discord Closing Monolith (#discord)
   ========================================================================== */

.broadcast {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-xl);
  margin-block: clamp(72px, 7.5vw, 124px);
  padding: clamp(38px, 5.4vw, 84px);
  background:
    radial-gradient(620px circle at var(--mx, 78%) var(--my, 40%), rgba(232, 17, 45, 0.2), transparent 64%),
    linear-gradient(125deg, #131620 0%, #0c0e14 55%, #170e14 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 36px 90px -28px rgba(0, 0, 0, 0.9);
}

.broadcast > div:last-child {
  position: relative;
  z-index: 2;
  max-width: 540px;
}

.broadcast p {
  margin-top: 16px;
  color: var(--text-soft);
  max-width: 40ch;
}

.broadcast .cta {
  margin-top: 28px;
}

.broadcast-rings {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.broadcast-rings::before {
  content: '';
  position: absolute;
  right: 4%;
  top: 50%;
  width: min(56vw, 620px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  border-radius: 50%;
  background: repeating-radial-gradient(
    circle at center,
    transparent 0 28px,
    rgba(255, 46, 70, 0.14) 28px 29px,
    transparent 29px 56px
  );
  mask-image: radial-gradient(circle, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle, #000 10%, transparent 70%);
}

.broadcast-rings::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -2%;
  width: min(52%, 520px);
  height: 115%;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.11), rgba(232, 17, 45, 0.22));
  -webkit-mask: url(assets/ua-mark.png) center / contain no-repeat;
  mask: url(assets/ua-mark.png) center / contain no-repeat;
  transform: translateY(-50%) rotate(-8deg);
  transition: transform 0.7s var(--ease), opacity 0.5s var(--ease);
}

.broadcast:is(:hover, :focus-within) .broadcast-rings::after {
  transform: translateY(-50%) rotate(-4deg) translateX(-14px) scale(1.03);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.foot {
  border-top: 1px solid var(--line);
  padding-block: 36px 56px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
}

.foot > span {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
}

.foot > div {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.foot a:not(.brand) {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s var(--sine);
}

.foot a:not(.brand):hover {
  color: var(--text);
}

/* ==========================================================================
   Account & Login Portal + 3D Layered Emblem Stage
   ========================================================================== */

.port {
  min-height: clamp(500px, 68vh, 720px);
  margin-block: clamp(36px, 5.5vw, 84px);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: stretch;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(160deg, #131722 0%, #0d1017 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 34px 90px -26px rgba(0, 0, 0, 0.9);
}

.port-art {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-width: 0;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background:
    radial-gradient(ellipse 75% 65% at 50% 45%, rgba(232, 17, 45, 0.15) 0%, transparent 66%),
    radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(135deg, #121620 0%, #090b10 70%);
}

.emblem-stage {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 360px;
  perspective: 960px;
}

.score-lines {
  position: absolute;
  inset: -60% 2%;
  z-index: -1;
  transform: rotate(24deg);
  background: linear-gradient(
    90deg,
    transparent 12%, rgba(255, 255, 255, 0.08) 12.1%, transparent 12.3%,
    transparent 24%, rgba(255, 46, 70, 0.14) 24.1%, transparent 24.3%,
    transparent 52%, rgba(255, 255, 255, 0.06) 52.1%, transparent 52.3%,
    transparent 80%, rgba(255, 255, 255, 0.05) 80.1%, transparent 80.3%
  );
}

.emblem {
  position: relative;
  width: min(64%, 390px);
  aspect-ratio: 512 / 281;
  transform-style: preserve-3d;
  transform:
    rotateX(calc(10deg + var(--tilt-x, 0deg)))
    rotateY(calc(-13deg + var(--tilt-y, 0deg)))
    rotateZ(-6deg);
  will-change: transform;
}

.ink,
.ink i,
.ink b {
  position: absolute;
  inset: 0;
  display: block;
}

.ink {
  transform-style: preserve-3d;
}

.ink i,
.ink b {
  -webkit-mask: var(--cut) center / 100% 100% no-repeat;
  mask: var(--cut) center / 100% 100% no-repeat;
}

.ink.white {
  --cut: url(assets/mark-white.png);
}

.ink.red {
  --cut: url(assets/mark-red.png);
}

.ink i {
  transform: translate3d(3px, 8px, -6px);
  background: #676c7a;
}

.ink.red i {
  background: #6e0817;
}

.ink b {
  background: linear-gradient(148deg, #ffffff 14%, #cfd5e3 64%, #ffffff 94%);
}

.ink.red b {
  background: linear-gradient(134deg, #ff2e46 0%, #e5112c 54%, #a8081c 100%);
}

.emblem::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #020305;
  opacity: 0.62;
  filter: blur(14px);
  transform: translate3d(2%, 15%, -26px);
  -webkit-mask: url(assets/ua-mark.png) center / contain no-repeat;
  mask: url(assets/ua-mark.png) center / contain no-repeat;
}

.logo-replay {
  position: absolute;
  bottom: 18px;
  left: 20px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 12, 17, 0.72);
  backdrop-filter: blur(10px);
  color: var(--text-soft);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}

.logo-replay:hover {
  color: #ffffff;
  border-color: rgba(255, 46, 70, 0.45);
  background: rgba(20, 24, 34, 0.9);
}

.port-content {
  align-self: center;
  padding: clamp(28px, 4.8vw, 76px);
  max-width: 560px;
}

.port-content > p,
.port-content form {
  margin-top: 18px;
}

.inset {
  border-left: 2px solid var(--signal);
  padding: 14px 16px;
  border-radius: 0 10px 10px 0;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-soft);
  font-size: 13.5px;
  margin-top: 24px;
}

.port-content .text-cta {
  margin-top: 20px;
}

.policy-link {
  display: inline-block;
  margin-top: 28px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  transition: color 0.2s;
}

.policy-link:hover {
  color: var(--text);
}

.port dl {
  margin-top: 24px;
}

.port dl div {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.port dt {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.port dd {
  margin: 5px 0 0;
  font-size: 15.5px;
  font-weight: 550;
  color: var(--text);
  overflow-wrap: anywhere;
}

/* ==========================================================================
   Privacy Policy Editorial Layout
   ========================================================================== */

.policy {
  max-width: 760px;
  padding-block: clamp(54px, 7vw, 100px);
}

.policy h2 {
  margin: 42px 0 12px;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 650;
  letter-spacing: -0.035em;
  color: var(--text);
}

.policy p {
  max-width: 68ch;
  color: var(--text-soft);
  line-height: 1.72;
}

.policy p a {
  color: var(--crimson-hot);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ==========================================================================
   Keyframe Choreography
   ========================================================================== */

@keyframes pulse-dot {
  0%, 100% {
    box-shadow: 0 0 0 3px rgba(255, 46, 70, 0.22), 0 0 12px var(--signal);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(255, 46, 70, 0.04), 0 0 18px var(--signal);
  }
}

@media (prefers-reduced-motion: no-preference) {
  /* Hero text stays immediately legible from first paint while animating spatial depth */
  .hero .eyebrow-line,
  .hero h1 span,
  .hero .lede,
  .hero-actions,
  .hero-meta {
    animation: hero-settle 0.65s var(--ease) both;
  }

  .hero h1 span:nth-child(1) { animation-delay: 0.03s; }
  .hero h1 span:nth-child(2) { animation-delay: 0.07s; }
  .hero .lede { animation-delay: 0.11s; }
  .hero-actions { animation-delay: 0.15s; }
  .hero-meta { animation-delay: 0.18s; }

  .specimen {
    animation: chamber-expose 0.72s var(--ease) 0.04s both;
  }

  @keyframes hero-settle {
    from {
      opacity: 1;
      transform: translateY(14px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }

  @keyframes chamber-expose {
    from {
      opacity: 1;
      transform: translateY(10px) scale(0.988);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

/* ==========================================================================
   Responsive Architecture (Desktop, Tablet, Portrait Mobile & Landscape Mobile)
   ========================================================================== */

/* Disable fixed turbulence grain on touch/mobile GPUs for locked 60-120fps scroll */
@media (pointer: coarse), (max-width: 900px) {
  body::before {
    display: none;
  }

  .mast-in {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
}

@media (max-width: 1020px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 32px;
    padding-top: 28px;
  }

  .specimen {
    width: min(100%, 620px);
    justify-self: center;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .faq-intro {
    position: static;
  }
}

@media (max-width: 820px) {
  .catalog {
    grid-template-columns: 1fr;
  }

  .port {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .port-art {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .emblem-stage {
    min-height: clamp(210px, 40vw, 290px);
  }

  .secthead {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 740px) {
  .mast {
    position: relative;
    padding-top: 10px;
  }

  .mast-in {
    height: auto;
    min-height: 54px;
    flex-wrap: wrap;
    padding: 10px 12px;
    gap: 8px;
  }

  .brand {
    font-size: 14.5px;
    gap: 9px;
  }

  .brand img {
    width: 30px;
  }

  .access {
    padding: 8px 12px;
    font-size: 12px;
    gap: 7px;
  }

  .mast nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .mast nav a {
    flex: 1;
    text-align: center;
    padding: 8px 6px;
    font-size: 12.5px;
  }

  .hangar {
    margin-top: 0;
    padding-top: 16px;
  }

  .core-live-stats {
    display: none;
  }

  .broadcast {
    padding: 28px 22px;
  }

  .broadcast-rings::after {
    right: -18%;
    opacity: 0.3;
  }

  .foot > div {
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  :root {
    --space: 14px;
  }

  .eyebrow-line {
    font-size: 9.5px;
    padding: 5px 10px 5px 9px;
    gap: 8px;
  }

  .hero {
    padding-block: 16px 32px;
    gap: 24px;
  }

  .hero h1 {
    font-size: clamp(42px, 12.2vw, 58px);
    margin: 16px 0 18px;
  }

  .lede {
    font-size: 14.5px;
  }

  .hero-actions {
    width: 100%;
    margin-top: 22px;
    gap: 10px;
  }

  .hero-actions .cta,
  .hero-actions .text-cta {
    width: 100%;
    min-height: 46px;
    justify-content: space-between;
  }

  .hero-meta {
    margin-top: 22px;
    padding-top: 16px;
    gap: 10px 18px;
  }

  .specimen {
    padding: 14px;
    border-radius: 18px;
  }

  .spec-top {
    gap: 8px;
  }

  .core-aside {
    font-size: 11px;
  }

  .spec-foot {
    flex-wrap: wrap;
    gap: 8px;
  }

  .modes {
    width: 100%;
    justify-content: space-between;
  }

  .modes button {
    flex: 1;
    padding: 6px 8px;
    min-height: 36px;
  }

  .block {
    padding-block: 52px 0;
  }

  .block h2,
  .broadcast h2 {
    font-size: clamp(28px, 8.5vw, 38px);
  }

  .foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/* Dedicated Mobile Landscape Architecture (667x375 — 932x430 phones turned sideways) */
@media (orientation: landscape) and (max-height: 540px) {
  :root {
    --space: clamp(14px, 3vw, 28px);
  }

  /* Slim single-row non-sticky header so vertical scroll space stays 100% open */
  .mast {
    position: relative;
    padding-top: 8px;
  }

  .mast-in {
    height: 48px;
    min-height: 48px;
    flex-wrap: nowrap;
    padding: 0 10px 0 14px;
    gap: 12px;
    border-radius: 12px;
  }

  .brand {
    font-size: 13.5px;
    gap: 8px;
  }

  .brand img {
    width: 28px;
  }

  .mast nav {
    order: 0;
    width: auto;
    padding: 2px;
    gap: 2px;
  }

  .mast nav a {
    flex: none;
    padding: 5px 11px;
    font-size: 12px;
  }

  .access {
    padding: 6px 12px;
    font-size: 11.5px;
    border-radius: 8px;
  }

  .hangar {
    margin-top: 0;
    padding-top: 10px;
  }

  /* Side-by-side 2-column hero fitting cleanly in a 375-430px tall screen */
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
    min-height: 0;
    gap: 18px;
    padding-block: 10px 22px;
    align-items: center;
  }

  .eyebrow-line {
    font-size: 9px;
    padding: 4px 10px 4px 8px;
    gap: 7px;
  }

  .hero h1 {
    font-size: clamp(32px, 5vw, 50px);
    margin: 10px 0 10px;
    line-height: 0.94;
  }

  .lede {
    font-size: 12.5px;
    line-height: 1.48;
  }

  .hero-actions {
    margin-top: 14px;
    gap: 10px;
    width: auto;
  }

  .hero-actions .cta,
  .hero-actions .text-cta {
    width: auto;
    min-height: 40px;
    padding: 8px 14px;
    font-size: 12px;
    border-radius: 9px;
  }

  .hero-meta {
    margin-top: 14px;
    padding-top: 10px;
    gap: 8px 16px;
  }

  .byline {
    font-size: 11.5px;
  }

  .hero-telemetry {
    display: none;
  }

  .specimen {
    width: 100%;
    padding: 10px 12px;
    border-radius: 16px;
  }

  .spec-top {
    padding-bottom: 6px;
    gap: 6px;
  }

  .spec-top strong {
    font-size: 12.5px;
  }

  .spec-badge {
    font-size: 8.5px;
    padding: 2px 6px;
  }

  .core-aside {
    font-size: 10.5px;
  }

  .render-box {
    aspect-ratio: 1.98;
    margin-block: 0;
  }

  .model-readout {
    margin-bottom: 6px;
  }

  .model-readout .micro {
    font-size: 8.5px;
  }

  .core-live-stats {
    display: none;
  }

  .pause {
    font-size: 9px;
    min-height: 26px;
    padding: 3px 8px;
  }

  .spec-foot {
    padding-top: 7px;
  }

  .spec-foot > .micro {
    font-size: 9px;
  }

  .modes {
    padding: 2px;
  }

  .modes button {
    font-size: 10px;
    padding: 4px 9px;
    min-height: 28px;
  }

  /* Compact vertical rhythm for sections below hero */
  .block {
    padding-block: 36px 0;
  }

  .secthead {
    flex-direction: row;
    align-items: flex-end;
    margin-bottom: 18px;
  }

  .block h2,
  .broadcast h2 {
    font-size: clamp(26px, 4vw, 38px);
  }

  .secthead > p {
    font-size: 12.5px;
  }

  .catalog {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .study {
    padding: 14px;
    border-radius: 14px;
  }

  .small-stage {
    min-height: 86px;
    margin-bottom: 10px;
  }

  .study-title {
    font-size: 17px;
  }

  .study-detail {
    font-size: 11.5px;
  }

  .port {
    grid-template-columns: 1fr 1fr;
    min-height: 280px;
    margin-block: 16px;
  }

  .port-art {
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .emblem-stage {
    min-height: 240px;
  }

  .port-content {
    padding: 20px 24px;
  }

  .port-content h1 {
    font-size: 30px;
  }

  .broadcast {
    margin-block: 36px;
    padding: 26px 28px;
  }

  .foot {
    padding-block: 20px 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
