/* Palette: cyber dark — cyan + violet on deep space */
:root {
  --accent: hsl(186, 100%, 50%);
  --accent-two: hsl(270, 85%, 65%);
  --accent-warm: hsl(330, 90%, 60%);
  --bg: hsl(230, 25%, 5%);
  --bg-elevated: hsl(230, 22%, 9%);
  --text: hsl(220, 20%, 96%);
  --panel: hsla(230, 20%, 12%, 0.75);
  --muted: hsla(220, 15%, 70%, 0.75);
  --line: hsla(220, 20%, 100%, 0.08);
  --glow: hsla(186, 100%, 50%, 0.35);
  --font: "Outfit", system-ui, sans-serif;
  --mono: "JetBrains Mono", monospace;
  --radius: 20px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --header-h: 76px;
  --max: 1200px;
  --gap: clamp(1.25rem, 3vw, 2.5rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3 {
  line-height: 1.15;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

/* Background effects */
.bg-effects {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float 18s ease-in-out infinite;
}

.orb-1 {
  width: 50vw;
  height: 50vw;
  max-width: 600px;
  max-height: 600px;
  top: -10%;
  left: -10%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  animation-delay: 0s;
}

.orb-2 {
  width: 40vw;
  height: 40vw;
  max-width: 500px;
  max-height: 500px;
  top: 40%;
  right: -15%;
  background: radial-gradient(circle, var(--accent-two) 0%, transparent 70%);
  animation-delay: -6s;
}

.orb-3 {
  width: 35vw;
  height: 35vw;
  max-width: 400px;
  max-height: 400px;
  bottom: -5%;
  left: 30%;
  background: radial-gradient(circle, var(--accent-warm) 0%, transparent 70%);
  animation-delay: -12s;
  opacity: 0.3;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 20%, transparent 70%);
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 200;
  background: transparent;
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-two));
  box-shadow: 0 0 12px var(--glow);
  transition: width 0.1s linear;
}

/* Reveal animations */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s var(--ease-out),
    transform 0.8s var(--ease-out);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }

/* Header */
.header {
  position: sticky;
  top: 16px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: var(--max);
  width: calc(100% - 2rem);
  margin: 16px auto 0;
  padding: 0.55rem 0.55rem 0.55rem 1.1rem;
  background: hsla(230, 22%, 8%, 0.65);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  transition: box-shadow 0.3s, border-color 0.3s;
}

.header.is-scrolled {
  box-shadow: 0 8px 40px hsla(0, 0%, 0%, 0.4);
  border-color: hsla(186, 100%, 50%, 0.15);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
  min-width: 0;
}

.logo-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--accent), var(--accent-two));
  color: var(--bg);
  font-weight: 900;
  font-size: 1.15rem;
  overflow: hidden;
}

.logo-pulse {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, hsla(0, 0%, 100%, 0.4) 50%, transparent 60%);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

.logo-text {
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: auto;
}

.nav a {
  position: relative;
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.25s, background 0.25s;
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-two));
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.3s var(--ease-out);
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

.nav a:hover::after {
  width: 60%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.lang-toggle,
.menu-toggle {
  border: 1px solid var(--line);
  background: hsla(230, 20%, 14%, 0.6);
  color: var(--text);
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.75rem;
  cursor: pointer;
  border-radius: var(--radius-pill);
  transition: border-color 0.25s, background 0.25s, transform 0.2s;
}

.lang-toggle {
  padding: 0.45rem 0.85rem;
}

.lang-toggle:hover,
.menu-toggle:hover {
  border-color: hsla(186, 100%, 50%, 0.4);
  transform: scale(1.04);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.25s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Main */
main {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem 1rem 5rem;
}

section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.section-head {
  margin-bottom: var(--gap);
}

.section-index {
  display: block;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.section-head h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--text) 60%, var(--muted));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Tag */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding: 0.4rem 1rem 0.4rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: hsla(230, 20%, 12%, 0.6);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--glow);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--gap);
  align-items: center;
  min-height: calc(100vh - var(--header-h) - 3rem);
  padding-top: 1rem;
}

.hero-content h1 {
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 1.25rem;
}

.hero-line {
  display: inline;
  background: linear-gradient(135deg, var(--text) 0%, var(--text) 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: gradient-shift 6s ease infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.hero-text {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 50ch;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: box-shadow 0.3s, transform 0.2s;
  position: relative;
  overflow: hidden;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-two));
  color: var(--bg);
  box-shadow: 0 4px 24px var(--glow);
}

.btn.primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, hsla(0, 0%, 100%, 0.25), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s;
}

.btn.primary:hover::before {
  transform: translateX(100%);
}

.btn.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.btn.ghost:hover {
  border-color: hsla(186, 100%, 50%, 0.4);
  box-shadow: 0 0 20px hsla(186, 100%, 50%, 0.1);
}

/* Hero orbit visual */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.hero-orbit {
  position: relative;
  width: min(380px, 80vw);
  height: min(380px, 80vw);
  display: grid;
  place-items: center;
  transition: transform 0.15s ease-out;
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--line);
}

.orbit-ring-1 {
  inset: 0;
  animation: spin 20s linear infinite;
  border-color: hsla(186, 100%, 50%, 0.2);
}

.orbit-ring-2 {
  inset: 15%;
  animation: spin 15s linear infinite reverse;
  border-style: dashed;
  border-color: hsla(270, 85%, 65%, 0.25);
}

.orbit-ring-3 {
  inset: 30%;
  animation: spin 25s linear infinite;
  border-color: hsla(330, 90%, 60%, 0.15);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.orbit-core {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 42%;
  height: 42%;
  border-radius: 50%;
  background: linear-gradient(145deg, hsla(230, 20%, 14%, 0.9), hsla(230, 25%, 8%, 0.95));
  border: 1px solid var(--line);
  box-shadow:
    0 0 60px hsla(186, 100%, 50%, 0.15),
    inset 0 0 40px hsla(186, 100%, 50%, 0.05);
  animation: core-glow 4s ease-in-out infinite;
}

@keyframes core-glow {
  0%, 100% { box-shadow: 0 0 60px hsla(186, 100%, 50%, 0.15), inset 0 0 40px hsla(186, 100%, 50%, 0.05); }
  50% { box-shadow: 0 0 80px hsla(270, 85%, 65%, 0.2), inset 0 0 50px hsla(270, 85%, 65%, 0.08); }
}

.orbit-letter {
  font-size: clamp(2.5rem, 8vw, 3.5rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent), var(--accent-two));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.orbit-sub {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.2em;
  margin-top: 0.25rem;
}

.orbit-node {
  position: absolute;
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-pill);
  background: hsla(230, 20%, 12%, 0.9);
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--accent);
  backdrop-filter: blur(8px);
}

.orbit-node-1 {
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  animation: orbit-bob 3s ease-in-out infinite;
}

.orbit-node-2 {
  bottom: 15%;
  left: 5%;
  animation: orbit-bob 3s ease-in-out infinite 1s;
}

.orbit-node-3 {
  bottom: 15%;
  right: 5%;
  animation: orbit-bob 3s ease-in-out infinite 2s;
}

@keyframes orbit-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Marquee */
.marquee-section {
  padding: 0;
  margin: -1rem 0 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.marquee {
  display: flex;
  width: 100%;
}

.marquee-track {
  display: flex;
  gap: 3rem;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
  padding: 1.25rem 0;
}

.marquee-track span {
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.marquee-track span::before {
  content: "◆";
  margin-right: 1rem;
  color: var(--accent);
  font-size: 0.5rem;
  vertical-align: middle;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* Stats */
.stats {
  padding-top: 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stat-card {
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(12px);
  text-align: center;
  transition: transform 0.3s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
  transform: translateY(-6px);
  border-color: hsla(186, 100%, 50%, 0.25);
  box-shadow: 0 12px 40px hsla(0, 0%, 0%, 0.3);
}

.stat-num {
  display: block;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-two));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-text {
  font-family: var(--mono);
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}

/* Bento profile */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}

.bento-main {
  grid-column: 1 / 3;
  grid-row: 1;
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, hsla(230, 20%, 12%, 0.8), hsla(230, 25%, 8%, 0.6));
  position: relative;
  overflow: hidden;
}

.bento-main::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-two), var(--accent-warm));
}

.bento-main p {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 60ch;
}

.bento-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(12px);
  transition: transform 0.35s var(--ease-out), border-color 0.3s;
}

.bento-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: hsla(186, 100%, 50%, 0.2);
}

.bento-wide {
  grid-column: 2 / 4;
}

.bento-icon {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.bento-icon svg {
  width: 100%;
  height: 100%;
}

.bento-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.bento-card p {
  font-size: 0.875rem;
  color: var(--muted);
}

/* Areas mosaic */
.areas-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.area-card {
  position: relative;
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), border-color 0.3s, box-shadow 0.4s;
}

.area-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, hsla(186, 100%, 50%, 0.06), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}

.area-card:hover {
  transform: translateY(-8px);
  border-color: hsla(186, 100%, 50%, 0.3);
  box-shadow: 0 20px 50px hsla(0, 0%, 0%, 0.35);
}

.area-card:hover::before {
  opacity: 1;
}

.area-featured {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(160deg, hsla(186, 100%, 50%, 0.12), hsla(230, 20%, 10%, 0.9));
  border-color: hsla(186, 100%, 50%, 0.2);
}

.area-accent {
  background: linear-gradient(160deg, hsla(270, 85%, 65%, 0.1), hsla(230, 20%, 10%, 0.9));
}

.area-glow {
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, hsla(186, 100%, 50%, 0.15), transparent 60%);
  animation: float 10s ease-in-out infinite;
  pointer-events: none;
}

.area-num {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
}

.area-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  position: relative;
}

.area-card p {
  font-size: 0.85rem;
  color: var(--muted);
  position: relative;
}

.area-arrow {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.5rem;
  color: var(--accent);
  opacity: 0;
  transform: translate(-10px, 10px);
  transition: opacity 0.3s, transform 0.3s var(--ease-out);
}

.area-card:hover .area-arrow {
  opacity: 1;
  transform: translate(0, 0);
}

/* Timeline process */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.timeline-line {
  position: absolute;
  top: 28px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: var(--line);
  z-index: 0;
}

.timeline-progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-two));
  box-shadow: 0 0 10px var(--glow);
  transition: width 1.2s var(--ease-out);
}

.timeline-step {
  position: relative;
  z-index: 1;
}

.timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
  margin: 0 auto 1.25rem;
  box-shadow: 0 0 12px var(--glow);
  transition: transform 0.3s var(--ease-spring), background 0.3s;
}

.timeline-step.is-active .timeline-dot {
  background: var(--accent);
  transform: scale(1.3);
}

.timeline-content {
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(8px);
  transition: transform 0.3s var(--ease-out), border-color 0.3s;
}

.timeline-step:hover .timeline-content {
  transform: translateY(-4px);
  border-color: hsla(186, 100%, 50%, 0.25);
}

.step-num {
  display: block;
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--accent-two);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.timeline-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.timeline-content p {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.value-card {
  padding: 2rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out);
}

.value-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-two));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}

.value-card:hover {
  transform: translateY(-6px);
}

.value-card:hover::after {
  transform: scaleX(1);
}

.value-card-highlight {
  background: linear-gradient(160deg, hsla(186, 100%, 50%, 0.1), hsla(230, 20%, 10%, 0.9));
  border-color: hsla(186, 100%, 50%, 0.2);
}

.value-num {
  font-family: var(--mono);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 1rem;
  color: hsla(186, 100%, 50%, 0.15);
  transition: color 0.3s;
}

.value-card:hover .value-num {
  color: hsla(186, 100%, 50%, 0.35);
}

.value-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Contact */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--gap);
  padding: 2.5rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--line);
  background: linear-gradient(145deg, hsla(230, 20%, 10%, 0.8), hsla(230, 25%, 6%, 0.6));
  position: relative;
  overflow: hidden;
}

.contact-wrapper::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, hsla(186, 100%, 50%, 0.08), transparent 70%);
  pointer-events: none;
}

.contact-left h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.contact-lead {
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 40ch;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.contact-chip {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: hsla(230, 20%, 8%, 0.5);
  transition: border-color 0.3s, transform 0.3s var(--ease-out), box-shadow 0.3s;
}

a.contact-chip:hover {
  border-color: hsla(186, 100%, 50%, 0.3);
  transform: translateX(6px);
  box-shadow: -4px 0 20px hsla(186, 100%, 50%, 0.08);
}

.chip-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: hsla(230, 22%, 8%, 0.7);
  backdrop-filter: blur(16px);
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: hsla(230, 25%, 5%, 0.6);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: hsla(186, 100%, 50%, 0.5);
  box-shadow: 0 0 0 3px hsla(186, 100%, 50%, 0.1);
}

.contact-form textarea {
  resize: vertical;
  min-height: 110px;
}

.contact-form .btn {
  align-self: flex-start;
  margin-top: 0.25rem;
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 1.75rem 1rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.footer-top {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  font-size: 1rem;
  transition: border-color 0.25s, transform 0.3s var(--ease-spring), box-shadow 0.25s;
}

.footer-top:hover {
  border-color: hsla(186, 100%, 50%, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px hsla(186, 100%, 50%, 0.15);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .marquee-track {
    animation: none;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: calc(var(--header-h) + 12px);
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: hsla(230, 22%, 8%, 0.95);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px) scale(0.98);
    transition: opacity 0.3s, transform 0.3s var(--ease-out), visibility 0.3s;
    margin-left: 0;
    z-index: 99;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }

  .nav a {
    padding: 0.85rem 1rem;
  }

  .nav a::after {
    display: none;
  }

  .logo-text {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    text-align: center;
  }

  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-orbit {
    width: min(280px, 70vw);
    height: min(280px, 70vw);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento {
    grid-template-columns: 1fr;
  }

  .bento-main,
  .bento-wide {
    grid-column: 1;
  }

  .areas-mosaic {
    grid-template-columns: repeat(2, 1fr);
  }

  .area-featured {
    grid-row: span 1;
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .timeline-line {
    display: none;
  }

  .timeline-dot {
    margin: 0 0 1rem;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    padding: 1.75rem;
  }
}

@media (max-width: 600px) {
  .stats-grid,
  .areas-mosaic {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .contact-form .btn {
    width: 100%;
    align-self: stretch;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
