/* ============================================================
   河南致玖科技 — 「一束光，足够开始」
   ============================================================ */

:root {
  --bg: #050505;
  --bg-elevated: #0c0c0c;
  --bg-card: #111111;
  --bg-card-hover: #161616;
  --text: #f5f5f5;
  --text-muted: #a3a3a3;
  --text-dim: #737373;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --accent: #e11d48;
  --accent-soft: rgba(225, 29, 72, 0.18);
  --accent-glow: rgba(225, 29, 72, 0.45);
  --beam: rgba(236, 242, 255, 0.28);
  --beam-cool: rgba(220, 230, 255, 0.14);
  --beam-soft: rgba(210, 225, 255, 0.06);
  --beam-core: rgba(245, 248, 255, 0.18);
  --radius: 12px;
  --radius-lg: 20px;
  --max: 1120px;
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Noto Sans SC", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.intro-active {
  overflow: hidden;
  height: 100vh;
  height: 100dvh;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

a:hover {
  color: var(--accent);
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* ---------- Cinematic intro ---------- */
.intro {
  position: fixed;
  inset: 0;
  z-index: 500;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}

body.intro-active .intro {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.intro-void {
  position: absolute;
  inset: 0;
  background: #000;
  transition: opacity 1.6s var(--ease);
}

/* Soft diagonal cool-white beam: top-left → bottom-right, no hard edges */
.intro-beam {
  position: absolute;
  inset: -18%;
  opacity: 0;
  mix-blend-mode: screen;
  will-change: opacity, filter, transform;
  pointer-events: none;
}

.intro-beam-core {
  position: absolute;
  top: 50%;
  left: 50%;
  /* Long soft shaft: wide + short before -40° → TL→BR across the frame */
  width: 290%;
  height: 26%;
  transform: translate(-50%, -50%) rotate(-40deg) scale(0.35);
  transform-origin: center center;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(214, 226, 255, 0.035) 10%,
    rgba(232, 238, 255, 0.11) 30%,
    rgba(245, 248, 255, 0.18) 50%,
    rgba(232, 238, 255, 0.11) 70%,
    rgba(214, 226, 255, 0.035) 90%,
    transparent 100%
  );
  filter: blur(46px);
  border-radius: 50%;
}

.intro-beam-bloom {
  position: absolute;
  inset: 0;
  background:
    /* Soft origin (TL) and destination (BR) blooms — same cool white */
    radial-gradient(
      ellipse 42% 34% at 12% 8%,
      rgba(240, 245, 255, 0.12) 0%,
      transparent 68%
    ),
    radial-gradient(
      ellipse 48% 38% at 88% 92%,
      rgba(220, 230, 255, 0.08) 0%,
      transparent 70%
    ),
    /* Soft diagonal fill band */
    linear-gradient(
      135deg,
      transparent 0%,
      transparent 18%,
      rgba(214, 226, 255, 0.02) 32%,
      rgba(232, 238, 255, 0.055) 46%,
      rgba(245, 248, 255, 0.07) 50%,
      rgba(232, 238, 255, 0.055) 54%,
      rgba(214, 226, 255, 0.02) 68%,
      transparent 82%,
      transparent 100%
    );
  filter: blur(56px);
  opacity: 0;
}

.intro-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 48% at 42% 38%, rgba(220, 230, 255, 0.05), transparent 72%),
    radial-gradient(ellipse 50% 40% at 68% 70%, rgba(210, 225, 255, 0.035), transparent 70%);
  opacity: 0;
  transition: opacity 2.4s var(--ease);
  pointer-events: none;
}

.intro-skip {
  position: absolute;
  top: max(1rem, env(safe-area-inset-top));
  right: max(1rem, env(safe-area-inset-right));
  z-index: 2;
  padding: 0.5rem 0.95rem;
  font-family: var(--font);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  cursor: pointer;
  pointer-events: auto;
  opacity: 0;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease),
    background 0.25s var(--ease), opacity 0.4s var(--ease);
}

.intro-skip:hover,
.intro-skip:focus-visible {
  color: #fff;
  border-color: rgba(225, 29, 72, 0.55);
  background: rgba(225, 29, 72, 0.12);
}

/* Phase A: black (default while intro-active) */
/* Phase B: beam illuminates — soft grow / breathe */
body.intro-phase-b .intro-beam {
  animation: intro-beam-grow 4.2s cubic-bezier(0.33, 0.1, 0.25, 1) forwards;
}

body.intro-phase-b .intro-beam-core {
  animation: intro-core-expand 4.2s cubic-bezier(0.33, 0.1, 0.25, 1) forwards;
}

body.intro-phase-b .intro-beam-bloom {
  animation: intro-bloom-in 3.2s cubic-bezier(0.33, 0.1, 0.25, 1) 0.6s forwards;
}

body.intro-phase-b .intro-veil {
  opacity: 1;
}

body.intro-phase-b .intro-skip,
body.intro-phase-a .intro-skip {
  opacity: 1;
}

/* Phase C: dissolve intro, reveal site */
body.intro-phase-c .intro-void {
  opacity: 0;
}

body.intro-phase-c .intro-beam {
  opacity: 0;
  transition: opacity 1.6s var(--ease);
  animation: none;
  filter: blur(28px);
}

body.intro-phase-c .intro-beam-core {
  animation: none;
  transform: translate(-50%, -50%) rotate(-40deg) scale(1);
  filter: blur(56px);
}

body.intro-phase-c .intro-beam-bloom {
  animation: none;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}

body.intro-phase-c .intro-veil {
  opacity: 0;
}

body.intro-phase-c .intro-skip {
  opacity: 0;
  pointer-events: none;
}

body.intro-phase-c .site-chrome {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

@keyframes intro-beam-grow {
  0% {
    opacity: 0;
    filter: blur(72px);
    transform: scale(0.92);
  }
  35% {
    opacity: 0.35;
    filter: blur(60px);
    transform: scale(0.97);
  }
  70% {
    opacity: 0.55;
    filter: blur(48px);
    transform: scale(1);
  }
  100% {
    opacity: 0.55;
    filter: blur(46px);
    transform: scale(1);
  }
}

@keyframes intro-core-expand {
  0% {
    transform: translate(-50%, -50%) rotate(-40deg) scale(0.28);
    filter: blur(64px);
    opacity: 0.4;
  }
  45% {
    transform: translate(-50%, -50%) rotate(-40deg) scale(0.72);
    filter: blur(56px);
    opacity: 0.85;
  }
  100% {
    transform: translate(-50%, -50%) rotate(-40deg) scale(1);
    filter: blur(52px);
    opacity: 1;
  }
}

@keyframes intro-bloom-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 0.85;
  }
}

/* Hide site until intro finishes (or reduced-motion skip) */
body.intro-active .site-chrome {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: none;
}

body.intro-done .intro {
  display: none;
}

body.intro-done .site-chrome {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

body.intro-phase-c .site-chrome {
  transition: opacity 1.6s var(--ease), transform 1.6s var(--ease),
    visibility 1.6s;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease),
    opacity 1.6s var(--ease), transform 1.6s var(--ease), visibility 1.6s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(5, 5, 5, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
}

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

.logo-mark {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow), 0 0 28px var(--accent-soft);
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  gap: 2rem;
}

.site-nav a {
  position: relative;
  font-size: 0.9375rem;
  color: var(--text-muted);
  transition: color 0.25s var(--ease);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

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

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 62% 38%, rgba(220, 230, 255, 0.035), transparent 58%),
    radial-gradient(ellipse 50% 40% at 18% 82%, rgba(255, 255, 255, 0.02), transparent 50%),
    linear-gradient(180deg, #050505 0%, #080808 50%, #050505 100%);
}

/* Continuous soft diagonal beam (same TL→BR cool-white language as intro) */
.hero-beam {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 290%;
  height: 26%;
  transform: translate(-50%, -50%) rotate(-40deg) scale(0.85);
  transform-origin: center center;
  background:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(214, 226, 255, 0.03) 10%,
      rgba(232, 238, 255, 0.09) 30%,
      rgba(245, 248, 255, 0.15) 50%,
      rgba(232, 238, 255, 0.09) 70%,
      rgba(214, 226, 255, 0.03) 90%,
      transparent 100%
    );
  filter: blur(48px);
  opacity: 0;
  mix-blend-mode: screen;
  border-radius: 50%;
  will-change: opacity, transform, filter;
}

body.intro-done .hero-beam {
  animation: beam-appear 3.4s cubic-bezier(0.33, 0.1, 0.25, 1) 0.15s forwards;
}

/* Soft wash along the same diagonal — no hard edges, no rose */
.hero-beam::before {
  content: "";
  position: absolute;
  /* Page-space diagonal wash (not rotated with shaft) via separate glow layer;
     here reinforce soft falloff along the shaft length */
  inset: -40% -8%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(220, 230, 255, 0.04) 22%,
    rgba(236, 242, 255, 0.07) 50%,
    rgba(220, 230, 255, 0.04) 78%,
    transparent 100%
  );
  filter: blur(44px);
  opacity: 0.75;
  border-radius: 50%;
}

/* Gentle breathe bloom (cool white only) */
.hero-beam::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 55%;
  height: 120%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse 60% 40% at 50% 50%,
    rgba(240, 245, 255, 0.08) 0%,
    rgba(220, 230, 255, 0.03) 50%,
    transparent 78%
  );
  filter: blur(40px);
  transform: translate(-50%, -50%);
  opacity: 0;
}

body.intro-done .hero-beam::after {
  animation: beam-breathe 6.5s ease-in-out 1.8s infinite;
  opacity: 0.55;
}

.hero-glow {
  position: absolute;
  inset: -5%;
  background:
    radial-gradient(
      ellipse 38% 30% at 10% 6%,
      rgba(240, 245, 255, 0.08) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 42% 34% at 90% 94%,
      rgba(220, 230, 255, 0.055) 0%,
      transparent 72%
    ),
    linear-gradient(
      135deg,
      transparent 0%,
      transparent 22%,
      rgba(214, 226, 255, 0.02) 38%,
      rgba(232, 238, 255, 0.045) 50%,
      rgba(214, 226, 255, 0.02) 62%,
      transparent 78%,
      transparent 100%
    );
  filter: blur(60px);
  opacity: 0;
  mix-blend-mode: screen;
}

body.intro-done .hero-glow {
  animation: glow-fade 2.8s var(--ease) 0.35s forwards;
}

.hero-particles {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 28%, rgba(255, 255, 255, 0.28), transparent),
    radial-gradient(1px 1px at 78% 18%, rgba(230, 238, 255, 0.22), transparent),
    radial-gradient(1.5px 1.5px at 88% 62%, rgba(220, 230, 255, 0.2), transparent),
    radial-gradient(1px 1px at 32% 72%, rgba(255, 255, 255, 0.16), transparent),
    radial-gradient(1px 1px at 55% 88%, rgba(255, 255, 255, 0.12), transparent),
    radial-gradient(1.5px 1.5px at 42% 22%, rgba(236, 242, 255, 0.24), transparent);
  opacity: 0;
}

body.intro-done .hero-particles {
  animation: particles-in 2.6s ease 1s forwards;
}

@keyframes beam-appear {
  from {
    opacity: 0;
    filter: blur(72px);
    transform: translate(-50%, -50%) rotate(-40deg) scale(0.72);
  }
  to {
    opacity: 0.52;
    filter: blur(50px);
    transform: translate(-50%, -50%) rotate(-40deg) scale(1);
  }
}

@keyframes beam-breathe {
  0%,
  100% {
    opacity: 0.4;
    transform: translate(-50%, -50%) scale(0.96);
  }
  50% {
    opacity: 0.62;
    transform: translate(-50%, -50%) scale(1.04);
  }
}

@keyframes glow-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.75;
  }
}

@keyframes particles-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.55;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.hero-eyebrow {
  margin: 0 0 1.25rem;
  font-size: 0.8125rem;
  letter-spacing: 0.18em;
  text-transform: none;
  color: var(--text-dim);
}

.hero-title {
  margin: 0 0 1.5rem;
  font-size: clamp(2.5rem, 6.5vw, 4.25rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.hero-title .line {
  display: inline-block;
}

.hero-title .accent {
  color: var(--text);
  position: relative;
}

.hero-title .accent::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.1em;
  width: 100%;
  height: 0.08em;
  background: var(--accent);
  border-radius: 2px;
  box-shadow: 0 0 16px var(--accent-glow);
  transform: scaleX(0);
  transform-origin: left;
}

body.intro-done .hero-title .accent::after {
  animation: underline-draw 1s var(--ease) 0.9s forwards;
}

@keyframes underline-draw {
  to {
    transform: scaleX(1);
  }
}

.hero-tagline {
  margin: 0 0 2.5rem;
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--text-muted);
  max-width: 34em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 0 transparent;
}

.btn-primary:hover {
  color: #fff;
  background: #be123c;
  box-shadow: 0 0 24px var(--accent-soft);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.04);
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.scroll-hint:hover {
  opacity: 0.9;
  color: inherit;
}

.scroll-hint span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 3px;
  height: 8px;
  margin-left: -1.5px;
  background: var(--text-muted);
  border-radius: 2px;
  animation: scroll-dot 1.8s ease-in-out infinite;
}

@keyframes scroll-dot {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(14px);
  }
}

/* ---------- Sections ---------- */
.section {
  padding: 7rem 0;
}

.section-header {
  max-width: 36rem;
  margin-bottom: 3.5rem;
}

.section-eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-weight: 500;
}

.section-title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.section-desc {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.0625rem;
}

/* ---------- Services ---------- */
.services {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.card {
  padding: 1.75rem 1.75rem 1.85rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease),
    transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.card:hover {
  border-color: rgba(225, 29, 72, 0.35);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(225, 29, 72, 0.08);
}

.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  color: var(--accent);
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

.card-title {
  margin: 0 0 0.65rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.card-text {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---------- About + Contact (merged) ---------- */
.about-contact {
  position: relative;
  /* Own most of a viewport: tall about + short contact strip */
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elevated) 38%, var(--bg) 100%);
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.about-contact::before {
  content: "";
  position: absolute;
  top: 38%;
  left: 50%;
  width: min(880px, 95vw);
  height: 340px;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    ellipse at center,
    rgba(220, 230, 255, 0.06) 0%,
    rgba(255, 255, 255, 0.03) 42%,
    transparent 72%
  );
  pointer-events: none;
  filter: blur(10px);
}

.about-contact-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, 860px);
  margin-inline: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  min-height: 100dvh;
}

/* --- TOP: ~70–80% spatial share --- */
.about-statement {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 720px;
  min-height: 72vh;
  min-height: 72dvh;
  padding: calc(var(--header-h) + 2rem) 0 3rem;
  box-sizing: border-box;
}

.about-statement .section-eyebrow {
  margin-bottom: 1.35rem;
  font-size: 0.875rem;
  letter-spacing: 0.2em;
}

.about-headline {
  margin: 0 0 2.25rem;
  font-size: clamp(2.35rem, 6.5vw, 3.75rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.28;
  color: var(--text);
}

.about-accent {
  position: relative;
  display: inline-block;
}

.about-accent::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.08em;
  width: 100%;
  height: 0.09em;
  background: var(--accent);
  border-radius: 2px;
  box-shadow: 0 0 18px var(--accent-glow);
}

.about-lead {
  margin: 0 0 1.35rem;
  max-width: 34em;
  font-size: clamp(1.1rem, 2.2vw, 1.25rem);
  line-height: 1.9;
  color: var(--text-muted);
}

.about-note {
  margin: 0;
  max-width: 26em;
  font-size: 1rem;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

/* --- BOTTOM: compact strip --- */
.bottom-strip {
  flex: 0 0 auto;
  width: 100%;
  max-width: 860px;
  margin-inline: auto;
  margin-top: auto;
  padding: 1.15rem 0 1.5rem;
  border-top: 1px solid var(--border);
  scroll-margin-top: calc(var(--header-h) + 1rem);
  text-align: center;
}

.bottom-strip-label {
  margin: 0 0 0.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 600;
}

.contact-inline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.35rem 1.75rem;
}

.contact-inline li {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  white-space: nowrap;
}

.contact-inline .contact-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 600;
}

.contact-inline a,
.contact-inline span:not(.contact-label) {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #ffffff;
}

.contact-inline a:hover {
  color: var(--accent);
}

.bottom-address {
  margin: 0.9rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #e5e5e5;
}

.bottom-copy {
  margin: 0.35rem 0 0;
  font-size: 0.7rem;
  color: #737373;
}

main.site-chrome {
  transition: opacity 1.6s var(--ease), transform 1.6s var(--ease), visibility 1.6s;
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero .reveal {
  transition-delay: 0s;
}

.hero .hero-eyebrow.reveal.is-visible {
  transition-delay: 0.15s;
}
.hero .hero-title.reveal.is-visible {
  transition-delay: 0.35s;
}
.hero .hero-tagline.reveal.is-visible {
  transition-delay: 0.55s;
}
.hero .hero-actions.reveal.is-visible {
  transition-delay: 0.75s;
}

.cards .reveal:nth-child(1).is-visible {
  transition-delay: 0.05s;
}
.cards .reveal:nth-child(2).is-visible {
  transition-delay: 0.15s;
}
.cards .reveal:nth-child(3).is-visible {
  transition-delay: 0.25s;
}
.cards .reveal:nth-child(4).is-visible {
  transition-delay: 0.35s;
}


@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-beam,
  .hero-glow,
  .hero-particles,
  .hero-title .accent::after,
  .hero-beam::after {
    animation: none !important;
    opacity: 1;
  }
  .hero-beam {
    opacity: 0.55;
    filter: blur(56px);
    transform: translate(-50%, -50%) rotate(-40deg) scale(1);
  }
  .hero-title .accent::after {
    transform: scaleX(1);
  }

  /* Instant / near-instant intro for reduced motion */
  body.intro-active .site-chrome {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
  .intro {
    transition: opacity 0.25s ease;
  }
  body.intro-phase-b .intro-beam,
  body.intro-phase-b .intro-beam-core,
  body.intro-phase-b .intro-beam-bloom {
    animation: none !important;
    opacity: 0;
  }
  body.intro-phase-c .intro-void {
    transition-duration: 0.2s;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0 1rem;
    background: rgba(5, 5, 5, 0.96);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease),
      visibility 0.35s;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .site-nav a {
    padding: 0.9rem 1.5rem;
  }

  .site-nav a::after {
    display: none;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: calc(var(--header-h) + 2.5rem);
    padding-bottom: 4rem;
  }

  .hero-beam {
    width: 310%;
    height: 30%;
    filter: blur(52px);
  }

  .intro-beam-core {
    width: 310%;
    height: 30%;
  }

  .hero-title {
    font-size: clamp(2.1rem, 9vw, 3rem);
  }

  .section {
    padding: 5rem 0;
  }

  .about-contact.section {
    padding: 0;
    min-height: auto;
  }

  .about-contact-inner {
    width: min(100% - 2rem, 860px);
    min-height: auto;
  }

  .about-statement {
    min-height: 68vh;
    min-height: 68dvh;
    padding: calc(var(--header-h) + 1.5rem) 0 2.25rem;
  }

  .about-headline {
    margin-bottom: 1.5rem;
  }

  .bottom-strip {
    padding: 1rem 0 1.35rem;
    max-width: none;
  }

  .contact-inline {
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
  }

  .contact-inline li {
    white-space: normal;
    justify-content: center;
  }

  .container {
    width: min(100% - 2rem, var(--max));
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .hero-tagline br {
    display: none;
  }
}
