:root {
  --bg: #04070d;
  --bg-soft: #08111a;
  --surface: rgba(8, 18, 28, 0.78);
  --surface-strong: rgba(7, 17, 27, 0.92);
  --surface-contrast: rgba(10, 22, 34, 0.98);
  --line: rgba(125, 210, 255, 0.14);
  --line-strong: rgba(125, 210, 255, 0.24);
  --text: #f3f8ff;
  --muted: rgba(243, 248, 255, 0.7);
  --soft: rgba(243, 248, 255, 0.46);
  --accent: #7dd2ff;
  --success: #72ffc7;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  --radius-xl: 26px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --shell: min(100% - 40px, 1220px);
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-sans);
  background:
    radial-gradient(circle at 14% 20%, rgba(24, 88, 119, 0.16), transparent 22%),
    radial-gradient(circle at 82% 10%, rgba(104, 160, 121, 0.12), transparent 20%),
    linear-gradient(180deg, #02050a, #050a10 38%, #04070d 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(125, 210, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 210, 255, 0.045) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, 0.85) 16%, rgba(0, 0, 0, 0.9) 100%);
}

::selection {
  background: rgba(125, 210, 255, 0.22);
}

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

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

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

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 0;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(3, 7, 12, 0.88), rgba(3, 7, 12, 0.38));
  border-bottom: 1px solid rgba(125, 210, 255, 0.04);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--soft);
}

.brand-mark {
  color: rgba(243, 248, 255, 0.92);
  font-weight: 600;
  letter-spacing: 0.18em;
}

.brand-divider {
  color: rgba(243, 248, 255, 0.34);
}

.brand-meta {
  color: var(--soft);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.nav a {
  position: relative;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(243, 248, 255, 0.68);
}

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

.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 4px;
  background: var(--accent);
}

.page {
  padding-bottom: 36px;
}

.hero {
  padding: 112px 0 96px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
  gap: 42px;
  align-items: center;
}

.eyebrow,
.section-kicker,
.panel-title,
.meta-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-copy {
  display: grid;
  gap: 26px;
  max-width: 760px;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(54px, 8vw, 112px);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.hero-strap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.hero-strap-line {
  width: 42px;
  height: 2px;
  background: rgba(125, 210, 255, 0.7);
}

.hero-title {
  max-width: 8.4ch;
}

.hero-title .outline {
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(243, 248, 255, 0.2);
  text-shadow: none;
}

.hero h1 span {
  display: block;
}

.hero h1 .accent {
  color: var(--accent);
  text-shadow: 0 0 36px rgba(125, 210, 255, 0.16);
}

.hero h1 .solid {
  color: var(--text);
}

.hero-lede,
.page-hero p,
.section-head p,
.contact-copy p,
.project-summary p,
.project-panel p,
.detail-list,
.project-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.66;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--text);
  background: rgba(7, 17, 27, 0.56);
  transition: transform 180ms ease, border-color 200ms ease, background 200ms ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  background: rgba(10, 22, 34, 0.78);
}

.button-primary {
  border-color: rgba(125, 210, 255, 0.24);
  background: linear-gradient(180deg, rgba(24, 88, 119, 0.34), rgba(8, 20, 30, 0.9));
}

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

.hero-stat {
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(7, 17, 27, 0.62);
  box-shadow: inset 0 0 0 1px rgba(125, 210, 255, 0.04);
}

.hero-stat strong {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 34px;
  line-height: 0.92;
}

.hero-stat p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.56;
}

.hero-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.hero-stage {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.hero-terminal,
.terminal-panel {
  position: absolute;
  top: 48px;
  left: 16px;
  z-index: 2;
  width: 270px;
  padding: 16px;
  border: 1px solid rgba(125, 210, 255, 0.16);
  border-radius: 24px;
  background: rgba(5, 14, 22, 0.56);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
}

.hero-terminal .panel-title {
  color: rgba(243, 248, 255, 0.72);
}

.terminal-lines {
  display: grid;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.52;
}

.terminal-lines span {
  color: var(--muted);
}

.terminal-lines span strong {
  color: var(--accent);
  font-weight: 500;
}

.type-row {
  color: var(--success);
  min-height: 20px;
}

.type-row::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 14px;
  margin-left: 6px;
  background: currentColor;
  animation: blink 1s step-end infinite;
}

.hero-card-home {
  width: min(430px, 84%);
  min-height: 368px;
}

.project-image::after,
.hero-card.has-media::after,
.project-card.has-media::after,
.related-card.has-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 10, 17, 0.1), rgba(4, 10, 17, 0.88));
  pointer-events: none;
}

.catalog-card::after {
  display: none;
}

.hero-card.has-media img,
.project-card.has-media img,
.project-image img,
.related-card.has-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card-copy {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  display: grid;
  gap: 12px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(4, 10, 17, 0) 0%, rgba(4, 10, 17, 0.78) 18%, rgba(4, 10, 17, 0.96) 100%);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(125, 210, 255, 0.08);
}

.hero-card-text {
  display: grid;
  align-content: end;
  background:
    linear-gradient(180deg, rgba(7, 17, 27, 0.9), rgba(7, 17, 27, 0.96)),
    radial-gradient(circle at top right, rgba(125, 210, 255, 0.12), transparent 38%),
    radial-gradient(circle at bottom left, rgba(114, 255, 199, 0.08), transparent 32%);
}

.hero-card-copy-static {
  position: relative;
  inset: auto;
  min-height: 100%;
  align-content: end;
  background: none;
  backdrop-filter: none;
  border-top: 0;
}

.hero-fact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-fact-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(125, 210, 255, 0.12);
  border-radius: var(--radius-md);
  background: rgba(10, 22, 34, 0.56);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(243, 248, 255, 0.74);
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  width: fit-content;
  padding: 0 12px;
  border: 1px solid rgba(125, 210, 255, 0.14);
  border-radius: 14px;
  background: rgba(7, 17, 27, 0.72);
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(243, 248, 255, 0.82);
}

.hero-card h2,
.contact-card h2,
.page-hero h1 {
  margin: 0;
}

.section {
  padding: 92px 0;
}

.section-head {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
  max-width: 760px;
}

.section-head h2 {
  margin: 0;
  max-width: 17ch;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.section-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 24px;
  align-items: start;
}

.section-side-note {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(7, 17, 27, 0.6);
}

.section-side-note strong {
  display: block;
  margin-bottom: 12px;
  font-size: 28px;
  line-height: 1;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.project-card,
.catalog-card,
.related-card {
  position: relative;
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(7, 17, 27, 0.74);
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.2);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.project-card:hover,
.catalog-card:hover,
.related-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: 0 28px 74px rgba(0, 0, 0, 0.28);
}

.project-card {
  min-height: 100%;
}

.project-card-copy {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 16px;
  padding: 22px 22px 20px;
}

.project-card-text,
.related-card-text {
  background:
    linear-gradient(180deg, rgba(7, 17, 27, 0.92), rgba(7, 17, 27, 0.84)),
    radial-gradient(circle at top left, rgba(125, 210, 255, 0.06), transparent 42%);
}

.project-card-text .project-card-copy,
.related-card-text .related-card-copy {
  min-height: 100%;
  align-content: start;
}

.project-topline,
.catalog-topline,
.project-page-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--soft);
}

.project-name,
.catalog-name,
.related-name,
.project-page-title {
  margin: 0;
  font-size: clamp(28px, 2.6vw, 40px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--success);
}

.project-overview,
.catalog-overview,
.related-overview {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  line-height: 1.5;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(125, 210, 255, 0.12);
  border-radius: 14px;
  background: rgba(10, 22, 34, 0.72);
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(243, 248, 255, 0.74);
}

.project-link,
.catalog-link,
.related-link {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

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

.capability-grid-wide {
  margin-top: 36px;
  gap: 22px;
}

.capability-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(7, 17, 27, 0.62);
}

.capability-card h3,
.project-panel h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.08;
}

.capability-card p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.archive-list {
  display: grid;
  gap: 12px;
}

.archive-row {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(7, 17, 27, 0.5);
}

.archive-row strong {
  font-size: 24px;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--success);
}

.archive-row p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.54;
}

.archive-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: end;
}

.archive-meta span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--soft);
}

.catalog-hero,
.page-hero {
  padding: 110px 0 46px;
}

.page-hero {
  padding: 122px 0 60px;
}

.catalog-layout {
  display: grid;
  gap: 28px;
}

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

.catalog-card {
  min-height: 100%;
}

.catalog-card-copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 100%;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(7, 17, 27, 0.92), rgba(7, 17, 27, 0.82)),
    radial-gradient(circle at top left, rgba(125, 210, 255, 0.06), transparent 48%);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(7, 17, 27, 0.52);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

.pagination .is-active {
  border-color: rgba(125, 210, 255, 0.28);
  background: rgba(125, 210, 255, 0.08);
  color: var(--text);
}

.project-summary {
  display: grid;
  gap: 34px;
}

.project-summary-full {
  max-width: none;
}

.project-intro {
  max-width: 54rem;
}

.project-glance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 2px;
}

.project-glance-item {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 18px 18px 16px;
  border-top: 1px solid rgba(125, 210, 255, 0.14);
  background: linear-gradient(180deg, rgba(7, 17, 27, 0.54), rgba(7, 17, 27, 0.28));
}

.project-glance-item strong {
  display: block;
  margin: 0;
  font-size: 20px;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--text);
}

.project-glance-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.page-hero h1 {
  max-width: 14ch;
  font-size: clamp(44px, 6vw, 86px);
  line-height: 0.92;
}

.project-actions {
  margin-top: 2px;
}

.project-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 18px;
}

.project-meta-card,
.project-panel,
.contact-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(7, 17, 27, 0.64);
}

.project-meta-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 28px;
  color: var(--success);
  line-height: 1;
}

.project-body {
  padding: 52px 0 116px;
}

.project-body-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 42px;
  align-items: start;
}

.project-copy {
  display: grid;
  gap: 24px;
  align-content: start;
}

.project-copy-block {
  display: grid;
  gap: 20px;
}

.project-copy-result {
  padding-top: 26px;
  border-top: 1px solid rgba(125, 210, 255, 0.12);
}

.project-copy h3 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.detail-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

.stack-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

.related-card {
  min-height: 100%;
}

.related-card-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  padding: 20px;
}

.contact-strip {
  padding: 0 0 96px;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.52fr);
  gap: 36px;
  align-items: stretch;
}

.contact-copy {
  max-width: 920px;
}

.contact-card h2 {
  margin: 8px 0 10px;
  max-width: 17.5ch;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.contact-actions {
  display: grid;
  align-content: center;
  min-width: 0;
  padding-left: 28px;
  border-left: 1px solid rgba(125, 210, 255, 0.08);
}

.contact-actions .button-row {
  display: grid;
  gap: 14px;
}

.contact-actions .button {
  width: 100%;
}

@keyframes stagePulse {
  0%,
  100% {
    transform: scale(0.92);
    opacity: 0.72;
  }
  45% {
    transform: scale(1);
    opacity: 1;
  }
  70% {
    transform: scale(1.08);
    opacity: 0.84;
  }
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes visualFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-12px) scale(1.012);
  }
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 28px 0 38px;
  color: var(--soft);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-mark {
  color: rgba(243, 248, 255, 0.9);
  font-weight: 600;
}

.footer-divider {
  color: rgba(243, 248, 255, 0.34);
}

.footer-meta {
  color: var(--soft);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 560ms ease, transform 560ms ease;
}

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

[data-tilt] {
  transform-style: preserve-3d;
  transition: transform 180ms ease;
  will-change: transform;
}

.hero-stage [data-depth="2"] {
  transform: translateZ(42px);
}

.hero-stage [data-depth="3"] {
  transform: translateZ(76px);
}

@media (prefers-reduced-motion: reduce) {
  .hero-stage::after,
  .hero-terminal,
  .hero-card-home,
  .type-row::after {
    animation: none;
  }
}

@media (max-width: 1120px) {
  .hero-grid,
  .section-split,
  .project-body-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .featured-grid,
  .catalog-grid,
  .related-grid,
  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-card {
    min-height: 420px;
  }

  .hero-stage {
    min-height: 460px;
    margin-top: 8px;
  }

  .hero-terminal,
  .terminal-panel {
    top: auto;
    right: 24px;
    bottom: 18px;
    left: 24px;
    width: auto;
  }
}

@media (max-width: 820px) {
  :root {
    --shell: min(100% - 24px, 1220px);
  }

  .topbar-inner {
    flex-direction: column;
    align-items: start;
  }

  .nav {
    gap: 14px;
  }

  .hero,
  .catalog-hero,
  .page-hero {
    padding-top: 104px;
  }

  .hero h1 {
    max-width: 10ch;
    font-size: clamp(46px, 12vw, 72px);
  }

  .hero-title {
    max-width: 7.8ch;
  }

  .page-hero h1 {
    max-width: 8.8ch;
    font-size: clamp(38px, 10.8vw, 56px);
    line-height: 0.94;
  }

  .hero-stats,
  .project-meta-grid,
  .project-glance,
  .featured-grid,
  .catalog-grid,
  .related-grid,
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .capability-grid-wide {
    margin-top: 28px;
  }

  .archive-row {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .archive-meta {
    justify-content: start;
  }

  .contact-card {
    gap: 18px;
  }

  .contact-actions {
    padding-left: 0;
    padding-top: 18px;
    border-left: 0;
    border-top: 1px solid rgba(125, 210, 255, 0.08);
  }

  .hero-stage {
    min-height: 400px;
  }

  .hero-terminal,
  .terminal-panel {
    display: none;
  }

  .hero-card-home {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .hero,
  .catalog-hero,
  .page-hero,
  .section {
    padding-top: 92px;
    padding-bottom: 72px;
  }

  .hero-copy,
  .page-hero .project-summary,
  .section-head,
  .project-copy,
  .contact-copy {
    gap: 18px;
  }

  .eyebrow,
  .section-kicker,
  .panel-title,
  .meta-label {
    font-size: 10px;
    letter-spacing: 0.14em;
  }

  .hero h1 {
    max-width: 9.8ch;
    font-size: clamp(40px, 13vw, 58px);
  }

  .hero-title {
    max-width: 7.1ch;
  }

  .page-hero h1 {
    max-width: 8.2ch;
    font-size: clamp(34px, 10.5vw, 46px);
    line-height: 0.95;
  }

  .hero-lede,
  .page-hero p,
  .section-head p,
  .contact-copy p,
  .project-summary p,
  .project-copy-result p,
  .project-panel p,
  .detail-list,
  .project-copy p {
    font-size: 16px;
    line-height: 1.62;
  }

  .button-row {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-stat,
  .project-glance-item,
  .project-meta-card,
  .project-panel,
  .contact-card,
  .section-side-note,
  .capability-card,
  .project-card-copy,
  .catalog-card-copy,
  .hero-card-copy {
    padding: 18px;
  }

  .hero-card {
    min-height: 320px;
  }

  .project-name,
  .catalog-name,
  .related-name {
    font-size: 28px;
  }

  .project-overview,
  .catalog-overview,
  .related-overview {
    font-size: 16px;
  }

  .contact-card h2 {
    font-size: clamp(30px, 10vw, 42px);
  }

  .footer {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation: none !important;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
