/* X-opus cinematic HUD visual system.
   Direction inspired by dark filmic studio sites (ice-blue, chrome, side rails).
   No HoneyArt assets, fonts, bee/honeycomb, or copy. */

:root {
  --navy-0: #03060c;
  --navy-1: #070d18;
  --navy-2: #0c1626;
  --navy-3: #122036;
  --navy-4: #1a2c48;
  --ice: #7cb3ff;
  --ice-soft: #a8ceff;
  --ice-deep: #4d8ae6;
  --chrome: #d7dee8;
  --chrome-dim: #8b96a8;
  --snow: #e8eef4;
  --snow-2: #d5dee8;
  --snow-card: #f3f6fa;
  --ink: #0a1220;
  --ink-soft: #3a4a63;
  --bar: #3e5c80;
  --bar-hot: #5d82ad;
  --text: #f3f7fc;
  --text-muted: #9aabc2;
  --text-dim: #6d7e94;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 80px;
  --rail: 56px;
  --wrap: 1120px;
  --font-cn: "Noto Sans SC", "Noto Sans CJK SC", sans-serif;
  --font-hud: "Orbitron", "Noto Sans SC", sans-serif;
  --space-50: 4px;
  --space-75: 8px;
  --space-100: 12px;
  --space-200: 16px;
  --space-300: 24px;
  --space-400: 32px;
  --space-500: 40px;
  --space-600: 48px;
  --space-700: 64px;
  --space-800: 80px;
  --space-900: 96px;
}

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

html {
  font-size: 16px;
  background: var(--navy-0);
  color: var(--text);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--navy-0);
  color: var(--text);
  font-family: var(--font-cn);
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  font-synthesis: none;
}

body.menu-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select {
  font: inherit;
  font-style: normal;
  color: inherit;
}
button { background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
em, i, cite, address { font-style: normal; }

.heading-1 { font-size: 60px; line-height: 60px; font-weight: 600; text-wrap: balance; }
.heading-2 { font-size: 48px; line-height: 48px; font-weight: 600; text-wrap: balance; }
.heading-3 { font-size: 36px; line-height: 40px; font-weight: 600; text-wrap: balance; }
.heading-4 { font-size: 30px; line-height: 36px; font-weight: 600; text-wrap: balance; }
.heading-5 { font-size: 24px; line-height: 32px; font-weight: 600; text-wrap: balance; }
.heading-6 { font-size: 20px; line-height: 28px; font-weight: 600; text-wrap: balance; }
.title-1 { font-size: 20px; line-height: 28px; font-weight: 500; }
.title-2 { font-size: 18px; line-height: 28px; font-weight: 500; }
.title-3 { font-size: 16px; line-height: 24px; font-weight: 500; }
.title-5 { font-size: 12px; line-height: 16px; font-weight: 500; }
.body-3 { font-size: 16px; line-height: 24px; font-weight: 400; text-wrap: pretty; }
.body-6 { font-size: 14px; line-height: 20px; font-weight: 400; text-wrap: pretty; }
.button-md { font-size: 16px; line-height: 24px; font-weight: 600; }
.button-sm { font-size: 14px; line-height: 20px; font-weight: 600; }
.caption-3 { font-size: 12px; line-height: 16px; font-weight: 600; }
.caption-4 { font-size: 12px; line-height: 16px; font-weight: 500; }
.caption-5 { font-size: 12px; line-height: 16px; font-weight: 400; }
.hud-label {
  font-family: var(--font-hud);
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ice);
}

.skip {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 90;
  padding: 8px 12px;
  background: var(--ice);
  color: var(--navy-0);
  border-radius: 2px;
  transform: translateY(-80px);
  transition: transform 500ms var(--ease);
}
.skip:focus { transform: translateY(0); }

:focus-visible {
  outline: 2px solid var(--ice);
  outline-offset: 2px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 96px);
  margin: 0 auto;
  padding-left: 80px;
  padding-right: 80px;
}

/* Rails */
.rail {
  position: fixed;
  top: 0;
  bottom: 0;
  width: var(--rail);
  z-index: 40;
  pointer-events: none;
  border-color: rgba(124, 179, 255, 0.16);
  border-style: solid;
}
.rail-left { left: 0; border-width: 0 1px 0 0; }
.rail-right { right: 0; border-width: 0 0 0 1px; }
.rail-progress {
  position: absolute;
  top: 96px;
  bottom: 96px;
  left: 50%;
  width: 1px;
  background: rgba(124, 179, 255, 0.14);
  transform: translateX(-50%);
}
.rail-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--ice);
  box-shadow: 0 0 8px rgba(124, 179, 255, 0.55);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 200ms linear;
}
.rail-tick {
  position: absolute;
  left: 50%;
  width: 8px;
  height: 1px;
  background: rgba(124, 179, 255, 0.4);
  transform: translateX(-50%);
}
.rail-tick-top { top: 88px; }
.rail-tick-bot { bottom: 88px; }

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: var(--header-h);
  background: linear-gradient(to bottom, rgba(3, 6, 12, 0.72), rgba(3, 6, 12, 0));
  pointer-events: none;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  pointer-events: none;
}
.header-inner > * { pointer-events: auto; }
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-mark {
  display: block;
  width: 86px;
  height: 24px;
  flex-shrink: 0;
  background-color: #ffffff;
  -webkit-mask: url("../assets/logo/opus-logo-wordmark-current.svg") center / contain no-repeat;
  mask: url("../assets/logo/opus-logo-wordmark-current.svg") center / contain no-repeat;
}
.brand-rule {
  display: block;
  width: 1px;
  height: 16px;
  background: rgba(124, 179, 255, 0.35);
  flex-shrink: 0;
}
.brand-name {
  font-family: var(--font-hud);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text);
  white-space: nowrap;
}

.hud-toggle {
  position: fixed;
  top: 16px;
  right: 4px;
  z-index: 70;
  width: 48px;
  height: 48px;
  color: var(--chrome);
  display: grid;
  place-items: center;
  transition: color 300ms var(--ease);
}
.header-inner { justify-content: flex-start; }
.hud-toggle:hover { color: var(--ice-soft); }
.hud-toggle-shape {
  position: absolute;
  inset: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
}
.hud-toggle-bars,
.hud-toggle-bars::before,
.hud-toggle-bars::after {
  display: block;
  width: 16px;
  height: 1px;
  background: currentColor;
  position: relative;
  transition: transform 500ms var(--ease), opacity 300ms var(--ease);
}
.hud-toggle-bars::before,
.hud-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.hud-toggle-bars::before { top: -5px; }
.hud-toggle-bars::after { top: 5px; }
.hud-toggle.is-open { color: var(--ice); }
.hud-toggle.is-open .hud-toggle-bars { background: transparent; }
.hud-toggle.is-open .hud-toggle-bars::before { transform: translateY(5px) rotate(45deg); }
.hud-toggle.is-open .hud-toggle-bars::after { transform: translateY(-5px) rotate(-45deg); }

/* Fullscreen HUD menu */
.hud-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(5, 10, 20, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
}
.hud-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.hud-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124, 179, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 179, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.hud-menu-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px 80px 64px;
  max-width: 960px;
}
.hud-menu-status {
  margin-bottom: 32px;
  color: var(--text-dim);
  font-family: var(--font-hud);
  font-size: 12px;
  letter-spacing: 0.12em;
}
.hud-menu-list { display: flex; flex-direction: column; gap: 0; }
.hud-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 56px;
  padding: 8px 16px;
  color: var(--text-muted);
  border-left: 2px solid transparent;
  transition: color 300ms var(--ease), background-color 300ms var(--ease), border-color 300ms var(--ease);
}
.hud-item:hover,
.hud-item:focus-visible {
  color: var(--text);
  background: rgba(124, 179, 255, 0.06);
}
.hud-item[aria-current="page"] {
  color: var(--text);
  border-left-color: var(--ice);
  background: linear-gradient(90deg, rgba(124, 179, 255, 0.16), rgba(124, 179, 255, 0.02) 55%, transparent);
  box-shadow: inset 0 0 0 1px rgba(124, 179, 255, 0.08);
}
.hud-num {
  font-family: var(--font-hud);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--ice);
}
.hud-item .hud-text {
  font-size: 24px;
  line-height: 32px;
  font-weight: 500;
}
.hud-sub {
  margin: 0 0 8px 80px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hud-sub a {
  display: block;
  padding: 6px 12px;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 20px;
  transition: color 300ms var(--ease);
}
.hud-sub a:hover,
.hud-sub a:focus-visible { color: var(--ice-soft); }
.hud-menu.is-open .hud-item,
.hud-menu.is-open .hud-group {
  animation: hud-in 500ms var(--ease) both;
}
.hud-menu.is-open .hud-group:nth-child(1) .hud-item,
.hud-menu.is-open > .hud-menu-inner .hud-menu-list > :nth-child(1) { animation-delay: 0ms; }
.hud-menu.is-open .hud-menu-list > :nth-child(2) { animation-delay: 60ms; }
.hud-menu.is-open .hud-menu-list > :nth-child(3) { animation-delay: 120ms; }
.hud-menu.is-open .hud-menu-list > :nth-child(4) { animation-delay: 180ms; }
.hud-menu.is-open .hud-menu-list > :nth-child(5) { animation-delay: 240ms; }
@keyframes hud-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: background-color 300ms var(--ease), color 300ms var(--ease), border-color 300ms var(--ease), box-shadow 300ms var(--ease), transform 300ms var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--ice);
  color: var(--navy-0);
  border-color: var(--ice);
  box-shadow: 0 0 24px rgba(124, 179, 255, 0.25);
}
.btn-primary:hover {
  background: var(--ice-soft);
  border-color: var(--ice-soft);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(124, 179, 255, 0.35);
}
.btn-ghost:hover {
  border-color: var(--ice);
  color: var(--ice-soft);
  box-shadow: 0 0 16px rgba(124, 179, 255, 0.12);
}
.theme-snow .btn-ghost {
  color: var(--ink);
  border-color: rgba(18, 32, 54, 0.2);
}
.theme-snow .btn-ghost:hover {
  color: var(--ice-deep);
  border-color: var(--ice-deep);
}

/* Placeholders */
.ph {
  display: inline-block;
  color: var(--text-dim);
  border: 1px dashed rgba(124, 179, 255, 0.28);
  border-radius: 2px;
  padding: 2px 8px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
}
.ph-block {
  display: block;
  color: var(--text-dim);
  border: 1px dashed rgba(124, 179, 255, 0.28);
  border-radius: 8px;
  padding: 16px;
  font-size: 14px;
  line-height: 20px;
  background: rgba(7, 13, 24, 0.5);
}
.theme-snow .ph {
  color: var(--ink-soft);
  border-color: rgba(18, 32, 54, 0.25);
}
.theme-snow .ph-block {
  color: var(--ink-soft);
  border-color: rgba(18, 32, 54, 0.25);
  background: rgba(255, 255, 255, 0.5);
}

/* Hero — product-only sheen; no page-level light */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy-0);
}
.hero-scene,
.hero-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-scene { z-index: 0; overflow: hidden; }
.hero-shade { z-index: 1; }

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
  transform: scale(1.04);
}

/* Sheen / caustics clipped to the metal by luminance of the still */
.hero-shimmer,
.hero-sheen,
.product-shimmer,
.product-sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  -webkit-mask-image: url("../assets/hero/ic-chrome-hero.jpg");
  mask-image: url("../assets/hero/ic-chrome-hero.jpg");
  -webkit-mask-size: cover;
  mask-size: cover;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  mask-mode: luminance;
  -webkit-mask-mode: luminance;
}
.hero-shimmer,
.hero-sheen {
  -webkit-mask-position: 50% 55%;
  mask-position: 50% 55%;
}
.product-shimmer,
.product-sheen {
  -webkit-mask-position: 50% 50%;
  mask-position: 50% 50%;
  border-radius: inherit;
}
.hero-shimmer,
.product-shimmer {
  background:
    radial-gradient(circle at 28% 36%, rgba(168, 206, 255, 0.28), transparent 26%),
    radial-gradient(circle at 68% 58%, rgba(255, 255, 255, 0.14), transparent 22%),
    radial-gradient(circle at 48% 72%, rgba(124, 179, 255, 0.16), transparent 24%);
  background-size: 140% 140%;
  mix-blend-mode: screen;
  animation: shimmer-drift 24s ease-in-out infinite alternate;
  opacity: 0.85;
}
.hero-sheen,
.product-sheen { overflow: hidden; }
.hero-sheen-sweep {
  position: absolute;
  top: -50%;
  left: -45%;
  width: 42%;
  height: 200%;
  background: linear-gradient(
    118deg,
    transparent 32%,
    rgba(124, 179, 255, 0.0) 40%,
    rgba(168, 206, 255, 0.28) 48%,
    rgba(255, 255, 255, 0.62) 51.5%,
    rgba(124, 179, 255, 0.32) 56%,
    transparent 68%
  );
  mix-blend-mode: screen;
  filter: blur(1.5px);
  animation: sheen-travel 20s cubic-bezier(0.37, 0, 0.63, 1) infinite;
  will-change: transform, opacity;
}

.hero-shade {
  background:
    radial-gradient(ellipse at 50% 48%, rgba(3, 6, 12, 0.15) 10%, rgba(3, 6, 12, 0.55) 52%, rgba(3, 6, 12, 0.92) 100%),
    linear-gradient(to top, var(--navy-0) 0%, rgba(3, 6, 12, 0.2) 32%, transparent 50%);
}

@keyframes shimmer-drift {
  0% { background-position: 0% 10%, 80% 60%, 40% 80%; opacity: 0.55; }
  100% { background-position: 70% 40%, 10% 30%, 60% 10%; opacity: 0.95; }
}
@keyframes sheen-travel {
  0% { transform: translate3d(-20%, 10%, 0) rotate(18deg); opacity: 0; }
  6% { opacity: 1; }
  88% { opacity: 1; }
  96% { transform: translate3d(270%, -16%, 0) rotate(18deg); opacity: 0; }
  100% { transform: translate3d(270%, -16%, 0) rotate(18deg); opacity: 0; }
}
.hero-copy {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 680px;
  padding: 120px 24px 80px;
}
.hero-copy::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 720px;
  height: 420px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(3, 6, 12, 0.62) 0%, rgba(3, 6, 12, 0.28) 48%, transparent 72%);
  pointer-events: none;
  z-index: -1;
}
.hero-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}
.hero-brand .brand-mark {
  width: 144px;
  height: 40px;
  background-color: #fff;
}
.hero-brand .brand-name {
  font-size: 16px;
  line-height: 24px;
}
.hero-title {
  color: var(--text);
  text-shadow: 0 2px 24px rgba(3, 6, 12, 0.55), 0 0 32px rgba(124, 179, 255, 0.2);
  margin-bottom: 24px;
}
.hero-title .latin {
  font-family: var(--font-hud);
  font-weight: 600;
  letter-spacing: 0.06em;
}
.hero-intro { margin-bottom: 40px; }
.hero-actions { display: flex; justify-content: center; }

/* Page hero */
.page-hero {
  position: relative;
  padding: 160px 0 64px;
  overflow: hidden;
  border-bottom: 1px solid rgba(124, 179, 255, 0.12);
  background:
    radial-gradient(ellipse at 80% 0%, rgba(124, 179, 255, 0.08), transparent 46%),
    var(--navy-0);
}
.page-kicker { display: block; margin-bottom: 16px; }
.page-hero .hero-title {
  text-align: left;
  margin-bottom: 16px;
  text-shadow: none;
}

/* Sections */
.section {
  padding: 80px 0;
  position: relative;
}
.section-dark {
  background: var(--navy-0);
  border-top: 1px solid rgba(124, 179, 255, 0.1);
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}
.section-lead { max-width: 480px; }
.section-index { margin-bottom: 16px; }

.theme-snow {
  color: var(--ink);
  background-color: var(--snow);
  background-image:
    linear-gradient(rgba(18, 32, 54, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 32, 54, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  border-top: 0;
}
.theme-snow .heading-3,
.theme-snow .heading-6,
.theme-snow .title-2 { color: var(--ink); }
.theme-snow .body-6 { color: var(--ink-soft); }

/* Product stage */
.stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  min-height: 520px;
  align-items: stretch;
}
.stage-main-slot { position: relative; min-height: 520px; }
.stage-panel {
  position: absolute;
  inset: 0;
  display: none;
  background: var(--snow-card);
  border-radius: 24px;
  border: 1px solid rgba(124, 179, 255, 0.28);
  box-shadow: 0 24px 64px rgba(10, 18, 32, 0.08);
  overflow: hidden;
  padding: 40px;
}
.stage-panel.is-active { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, 42%); gap: 24px; align-items: stretch; }
.stage-copy { position: relative; z-index: 1; align-self: center; }
.stage-visual {
  position: relative;
  min-height: 240px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--navy-0);
}
.stage-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.stage-rails {
  display: flex;
  gap: 12px;
  align-items: stretch;
}
.stage-tab {
  width: 80px;
  border-radius: 24px;
  background: var(--bar);
  color: #eef4fb;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 24px 8px;
  transition: background-color 300ms var(--ease), transform 500ms var(--ease), box-shadow 300ms var(--ease);
}
.stage-tab:hover { background: var(--bar-hot); }
.stage-tab.is-current {
  background: var(--ice-deep);
  box-shadow: 0 0 20px rgba(124, 179, 255, 0.25);
}
.stage-tab-num {
  font-family: var(--font-hud);
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.stage-tab-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  background: var(--navy-2);
  border: 1px solid rgba(124, 179, 255, 0.14);
  border-radius: 16px;
  min-height: 200px;
  transition: border-color 300ms var(--ease), box-shadow 300ms var(--ease), transform 500ms var(--ease), background-color 300ms var(--ease);
}
a.card:hover {
  border-color: rgba(124, 179, 255, 0.45);
  box-shadow: 0 0 28px rgba(124, 179, 255, 0.1);
  transform: translateY(-2px);
  background: var(--navy-3);
}
a.card:active { transform: scale(0.98); }

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.cap-item {
  padding: 32px 24px;
  background: var(--navy-1);
  border: 1px solid rgba(124, 179, 255, 0.14);
  border-radius: 16px;
  min-height: 200px;
}
.cap-item h3 { margin: 12px 0 16px; }

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.cta-note { margin-top: 24px; }

/* Forms */
.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field input,
.field textarea {
  width: 100%;
  background: var(--navy-2);
  border: 1px solid rgba(124, 179, 255, 0.2);
  border-radius: 4px;
  padding: 8px 12px;
  color: var(--text);
  transition: border-color 300ms var(--ease);
}
.field input:hover,
.field textarea:hover { border-color: rgba(124, 179, 255, 0.45); }
.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--ice);
  outline-offset: 2px;
  border-color: var(--ice);
}
.field textarea { min-height: 160px; resize: vertical; }
.field-error { color: var(--ice-soft); display: none; }
.field.is-error .field-error { display: block; }
.form-status {
  display: none;
  padding: 16px;
  border: 1px solid rgba(124, 179, 255, 0.2);
  border-radius: 8px;
  background: var(--navy-2);
  color: var(--text-muted);
}
.form-status.is-visible { display: block; }

/* Footer */
.site-footer {
  padding: 64px 0 48px;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(124, 179, 255, 0.08), transparent 42%),
    var(--navy-1);
  border-top: 1px solid rgba(124, 179, 255, 0.12);
}
.footer-panel {
  background: rgba(12, 22, 38, 0.9);
  border: 1px solid rgba(124, 179, 255, 0.16);
  border-radius: 16px;
  padding: 40px 32px;
  box-shadow: 0 0 40px rgba(124, 179, 255, 0.05);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: 48px;
  padding-bottom: 0;
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-meta { color: var(--text-dim); }
.footer-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}
.footer-nav h2 {
  color: var(--ice);
  margin-bottom: 16px;
  font-family: var(--font-hud);
  letter-spacing: 0.12em;
}
.footer-nav a {
  display: block;
  padding: 4px 0;
  color: var(--text-muted);
  transition: color 300ms var(--ease);
}
.footer-nav a:hover { color: var(--ice-soft); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  color: var(--text-dim);
}

/* Inner */
.content-blocks { display: flex; flex-direction: column; gap: 16px; }
.content-block {
  padding: 32px 24px;
  border: 1px solid rgba(124, 179, 255, 0.14);
  border-radius: 16px;
  background: var(--navy-2);
}
.content-block h2 { margin-bottom: 16px; }
.content-block[id],
.company-section[id] { scroll-margin-top: 96px; }

.page-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}
.page-subnav a {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid rgba(124, 179, 255, 0.25);
  border-radius: 2px;
  color: var(--text-muted);
  background: transparent;
  transition: color 300ms var(--ease), border-color 300ms var(--ease), background-color 300ms var(--ease);
}
.page-subnav a:hover,
.page-subnav a:focus-visible {
  color: var(--ice-soft);
  border-color: var(--ice);
  background: rgba(124, 179, 255, 0.08);
}

.timeline {
  display: flex;
  flex-direction: column;
  margin: 24px 0 0 4px;
  padding-left: 32px;
  border-left: 1px solid rgba(124, 179, 255, 0.25);
}
.timeline-item { position: relative; padding-bottom: 32px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -36px;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--navy-2);
  border: 1px solid var(--ice);
  box-shadow: 0 0 8px rgba(124, 179, 255, 0.35);
}
.timeline-item .ph { margin-top: 8px; }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.photo-slot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  min-height: 160px;
  padding: 16px;
  background: var(--navy-0);
  border: 1px dashed rgba(124, 179, 255, 0.28);
  border-radius: 12px;
  color: var(--text-dim);
}

.cat-list { display: flex; flex-direction: column; gap: 16px; }
.cat-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 24px;
  border: 1px solid rgba(124, 179, 255, 0.14);
  border-radius: 16px;
  background: var(--navy-2);
  transition: border-color 300ms var(--ease), box-shadow 300ms var(--ease);
}
a.cat-row:hover {
  border-color: rgba(124, 179, 255, 0.4);
  box-shadow: 0 0 24px rgba(124, 179, 255, 0.08);
}
.cat-id { color: var(--ice); font-family: var(--font-hud); }

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-photo { transform: none; }
  .hero-shimmer,
  .product-shimmer,
  .hero-sheen-sweep {
    animation: none !important;
  }
  .hero-shimmer,
  .product-shimmer { opacity: 0.6; background-position: 40% 30%, 60% 50%, 50% 40%; }
  .hero-sheen-sweep {
    transform: translate3d(90%, -4%, 0) rotate(18deg);
    opacity: 0.55;
  }
}

@media (max-width: 1024px) {
  .wrap, .hud-menu-inner { padding-left: 64px; padding-right: 64px; }
  .cta-band, .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .card-grid, .cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .heading-1 { font-size: 48px; line-height: 48px; }
  .stage { grid-template-columns: 1fr; min-height: 0; }
  .stage-main-slot { min-height: 420px; }
  .stage-rails { justify-content: stretch; }
  .stage-tab { width: 100%; flex: 1; flex-direction: row; border-radius: 16px; padding: 16px 12px; }
  .stage-tab-label { writing-mode: horizontal-tb; transform: none; letter-spacing: 0; }
  .stage-panel.is-active { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .rail { display: none; }
  .wrap, .hud-menu-inner { padding-left: 24px; padding-right: 24px; }
  .heading-1 { font-size: 36px; line-height: 40px; }
  .heading-2, .heading-3 { font-size: 30px; line-height: 36px; }
  .hud-item .hud-text { font-size: 20px; line-height: 28px; }
  .hud-sub { margin-left: 24px; }
  .hud-item { grid-template-columns: 48px minmax(0, 1fr); padding-left: 8px; }
  .section { padding: 64px 0; }
  .page-hero { padding: 128px 0 48px; }
  .hero-brand .brand-mark { width: 108px; height: 30px; }
  .card-grid, .cap-grid, .footer-nav, .photo-grid { grid-template-columns: 1fr; }
  .cat-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .stage-main-slot { min-height: 0; }
  .stage-panel { position: static; display: none; padding: 24px; }
  .stage-panel.is-active { display: block; }
  .stage-rails { flex-wrap: wrap; gap: 8px; }
  .stage-tab { width: auto; flex: 1 1 calc(50% - 8px); min-height: 56px; }
}

@media (max-width: 390px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .brand-name { font-size: 12px; line-height: 16px; }
}

.theme-snow .cat-row {
  background: var(--snow-card);
  border-color: rgba(18, 32, 54, 0.1);
  color: var(--ink);
}
.theme-snow .cat-row .body-6 { color: var(--ink-soft); }
.theme-snow a.cat-row:hover {
  border-color: rgba(77, 138, 230, 0.45);
  box-shadow: 0 8px 24px rgba(10, 18, 32, 0.06);
}
.theme-snow .content-block .card { background: var(--navy-1); }
@media (max-width: 720px) {
  .hud-toggle { right: 8px; top: 16px; }
}

.stage-tab[hidden] { display: none; }

