:root {
  --bg: #050505;
  --bg-elevated: #0c0c0c;
  --surface: #111111;
  --surface-hover: #161616;
  --border: rgba(212, 175, 55, 0.18);
  --border-strong: rgba(212, 175, 55, 0.35);
  --text: #f5f5f5;
  --muted: #9a9a9a;
  --gold: #d4af37;
  --gold-light: #f0c14b;
  --gold-dark: #9a7b2f;
  --gold-glow: rgba(212, 175, 55, 0.35);
  --success: #4ade80;
  --error: #f87171;
  --max: 72rem;
  --max-narrow: 42rem;
  --header-h: 4.5rem;
  --radius: 1rem;
  --radius-sm: 0.625rem;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --font-display: "Segoe UI", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.container-narrow {
  width: min(100% - 2.5rem, var(--max-narrow));
  margin-inline: auto;
}

/* Canvas backdrop */
#grid-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

.page-shell {
  position: relative;
  z-index: 1;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    backdrop-filter 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(5, 5, 5, 0.82);
  border-color: var(--border);
  backdrop-filter: blur(16px);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.logo-visual {
  position: relative;
  width: 2.85rem;
  height: 2.85rem;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  --logo-tilt-x: 0deg;
  --logo-tilt-y: 0deg;
  transform: perspective(500px) rotateX(var(--logo-tilt-x)) rotateY(var(--logo-tilt-y));
  transition: transform 0.35s ease;
}

.logo-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(212, 175, 55, 0.45);
  pointer-events: none;
}

.logo-orbit--1 {
  inset: -2px;
  animation: spin-ellipse-a 18s linear infinite;
}

.logo-orbit--2 {
  inset: -7px;
  animation: spin-ellipse-b 14s linear infinite reverse;
  opacity: 0.7;
}

.logo-orbit--3 {
  inset: -12px;
  animation: spin-ellipse-c 24s linear infinite;
  opacity: 0.45;
}

.logo-mark {
  position: relative;
  z-index: 1;
  width: 2.35rem;
  height: 2.35rem;
  flex-shrink: 0;
}

.logo-wordmark {
  white-space: nowrap;
  letter-spacing: -0.03em;
}

.logo-wordmark .logo-accent {
  margin-left: 0.18em;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a:not(.btn) {
  color: var(--muted);
  font-size: 0.925rem;
  transition: color 0.2s;
}

.nav a:not(.btn):hover {
  color: var(--gold-light);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-size: 0.925rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    background 0.2s,
    border-color 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: #0a0a0a;
  box-shadow: 0 0 24px var(--gold-glow);
}

.btn-primary:hover {
  box-shadow: 0 0 36px var(--gold-glow);
}

.btn-secondary {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
}

.hero-glow {
  position: absolute;
  top: 15%;
  left: 50%;
  width: min(90vw, 48rem);
  height: 24rem;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(40px);
  animation: hero-glow-pulse 8s ease-in-out infinite;
}

@keyframes hero-glow-pulse {
  0%,
  100% {
    opacity: 0.75;
    transform: translateX(-50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.08);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.06);
}

.eyebrow-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
}

.hero h1 .gradient-text {
  background: linear-gradient(
    120deg,
    var(--gold-light) 0%,
    var(--gold) 35%,
    #fff 50%,
    var(--gold-light) 65%,
    var(--gold-dark) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer-text 10s linear infinite;
}

@keyframes shimmer-text {
  to {
    background-position: 200% center;
  }
}

.lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 38rem;
  margin: 0 0 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-visual,
.visual-panel {
  position: relative;
  aspect-ratio: 1;
  max-width: 28rem;
  margin-inline: auto;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition: transform 0.45s ease;
  transform-style: preserve-3d;
}

.visual-panel--md {
  max-width: 22rem;
}

.visual-panel--sm {
  max-width: 18rem;
  aspect-ratio: 4 / 3;
}

.hero-orbit,
.visual-panel__orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed var(--border);
  pointer-events: none;
}

.hero-orbit:nth-child(1),
.visual-panel__orbit:nth-child(1) {
  animation: spin-ellipse-a 36s linear infinite;
}

.hero-orbit:nth-child(2),
.visual-panel__orbit:nth-child(2) {
  inset: 12%;
  animation: spin-ellipse-b 28s linear infinite reverse;
}

.hero-orbit:nth-child(3),
.visual-panel__orbit:nth-child(3) {
  inset: 24%;
  animation: spin-ellipse-c 20s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes spin-ellipse-a {
  from {
    transform: rotate(0deg) scale(1, 1.1);
  }
  to {
    transform: rotate(360deg) scale(1, 1.1);
  }
}

@keyframes spin-ellipse-b {
  from {
    transform: rotate(0deg) scale(1.12, 1);
  }
  to {
    transform: rotate(360deg) scale(1.12, 1);
  }
}

@keyframes spin-ellipse-c {
  from {
    transform: rotate(0deg) scale(1.06, 1.06);
  }
  to {
    transform: rotate(360deg) scale(1.06, 1.06);
  }
}

.hero-card,
.visual-panel__card {
  position: absolute;
  inset: 18%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: 1.75rem;
  border-radius: var(--radius);
  background: rgba(17, 17, 17, 0.75);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(20px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 24px 48px rgba(0, 0, 0, 0.5);
  animation: panel-breathe 6s ease-in-out infinite;
}

@keyframes panel-breathe {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.03) inset,
      0 24px 48px rgba(0, 0, 0, 0.5);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(212, 175, 55, 0.12) inset,
      0 24px 56px rgba(212, 175, 55, 0.08),
      0 24px 48px rgba(0, 0, 0, 0.5);
  }
}

.visual-panel__card--image {
  inset: 14%;
  padding: 1rem;
  align-items: center;
}

.visual-panel__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 100%;
  min-height: 3.5rem;
  object-fit: contain;
}

.hero-card-stat {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.hero-card-stat svg {
  width: 1.35rem;
  height: 1.35rem;
  color: var(--gold);
  flex-shrink: 0;
}

.hero-card-stat strong {
  display: block;
  font-size: 0.95rem;
}

.hero-card-stat span {
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-float,
.visual-panel__float {
  position: absolute;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold-light);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  animation: float 6s ease-in-out infinite;
}

.hero-float--1,
.visual-panel__float--1 {
  top: 8%;
  right: 0;
  animation-delay: 0s;
}

.hero-float--2,
.visual-panel__float--2 {
  bottom: 12%;
  left: -4%;
  animation-delay: -2s;
}

.hero-float--3,
.visual-panel__float--3 {
  top: 42%;
  right: -8%;
  animation-delay: -4s;
}

.visual-panel__float--4 {
  bottom: 8%;
  right: 4%;
  animation-delay: -1s;
}

/* Section layouts with visuals */
.section-intro {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem 2rem;
  align-items: center;
  margin-bottom: 2rem;
}

.section-intro--center .section-intro-copy {
  text-align: center;
}

.section-intro-copy h1,
.section-intro-copy h2 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.section-intro-copy h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.section-intro-copy .lead {
  margin-bottom: 0;
}

.section-intro-copy > p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0;
}

.philosophy-code-wrap {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.visual-panel--inline {
  max-width: 9.5rem;
  width: 9.5rem;
  aspect-ratio: 1;
  margin: 0;
}

.visual-panel--inline .visual-panel__orbit:nth-child(2) {
  inset: 10%;
}

.visual-panel--inline .visual-panel__orbit:nth-child(3) {
  inset: 18%;
}

.visual-panel--inline .visual-panel__card {
  inset: 12%;
  padding: 0.5rem;
  animation-duration: 5s;
}

.visual-panel--inline .visual-panel__float {
  display: block;
  font-size: 0.6rem;
  padding: 0.35rem 0.5rem;
  white-space: nowrap;
  animation-duration: 4.5s;
}

.visual-panel--inline .visual-panel__float--1 {
  top: 2%;
  right: -12%;
}

.visual-panel--inline .visual-panel__float--2,
.visual-panel--inline .visual-panel__float--3,
.visual-panel--inline .visual-panel__float--4 {
  display: none;
}

.section-visual-inline {
  display: flex;
  justify-content: center;
  margin: -0.5rem 0 1.75rem;
}

.section-visual-inline .visual-panel--inline {
  max-width: 11rem;
  width: 11rem;
}

.philosophy-aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Sections */
.section {
  padding: 5.5rem 0;
}

.section-header {
  max-width: 40rem;
  margin-bottom: 3rem;
}

.section-header.center {
  text-align: center;
  margin-inline: auto;
}

.section-header h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
}

.section-header p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card {
  position: relative;
  padding: 1.75rem;
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(22, 22, 22, 0.9), rgba(12, 12, 12, 0.95));
  border: 1px solid var(--border);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 0%), rgba(212, 175, 55, 0.08), transparent 55%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1.25rem;
  border-radius: 0.75rem;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border);
  color: var(--gold);
  animation: icon-float 5s ease-in-out infinite;
}

.card:nth-child(2) .card-icon {
  animation-delay: -1.5s;
}

.card:nth-child(3) .card-icon {
  animation-delay: -3s;
}

@keyframes icon-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

.card-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Philosophy band */
.philosophy-band {
  position: relative;
  padding: 4rem 0;
  border-block: 1px solid var(--border);
  background:
    linear-gradient(90deg, rgba(212, 175, 55, 0.04), transparent 40%, rgba(212, 175, 55, 0.04)),
    var(--bg-elevated);
  background-size: 200% 100%;
  animation: philosophy-shift 16s ease-in-out infinite;
}

@keyframes philosophy-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.philosophy-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.code-block {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: #0a0a0a;
  border: 1px solid var(--border);
  font-family: "Cascadia Code", "Consolas", monospace;
  font-size: 0.875rem;
  line-height: 1.7;
  overflow-x: auto;
}

.code-block .kw {
  color: var(--gold-light);
}

.code-block .str {
  color: #86efac;
}

.code-block .cm {
  color: #666;
}

.code-block .fn {
  color: #93c5fd;
}

/* Process timeline */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 2rem;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dark), transparent);
}

.process-step {
  text-align: center;
  padding: 0 1rem;
}

.process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--gold-dark);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-light);
  position: relative;
  z-index: 1;
  animation: process-ring 4s ease-in-out infinite;
}

.process-num:nth-child(1) {
  animation-delay: 0s;
}

.process-step:nth-child(2) .process-num {
  animation-delay: -1.3s;
}

.process-step:nth-child(3) .process-num {
  animation-delay: -2.6s;
}

@keyframes process-ring {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.35);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
    transform: scale(1.04);
  }
}

.process-step h3 {
  font-size: 1.1rem;
}

.process-step p {
  color: var(--muted);
  font-size: 0.925rem;
  margin: 0;
}

/* Metrics strip */
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 2.5rem;
  border-radius: var(--radius);
  background: rgba(212, 175, 55, 0.04);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.metrics-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(212, 175, 55, 0.07) 50%,
    transparent 60%
  );
  transform: translateX(-100%);
  animation: metrics-sweep 7s ease-in-out infinite;
  pointer-events: none;
}

@keyframes metrics-sweep {
  0% {
    transform: translateX(-100%);
  }
  45%,
  100% {
    transform: translateX(100%);
  }
}

.metric {
  text-align: center;
}

.metric-value {
  display: block;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.metric-label {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Forms */
.form-section {
  position: relative;
}

.form-panel {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
  padding: 2.5rem;
  border-radius: calc(var(--radius) + 0.25rem);
  background: linear-gradient(160deg, rgba(17, 17, 17, 0.95), rgba(8, 8, 8, 0.98));
  border: 1px solid var(--border-strong);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.45);
}

.form-panel-intro h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.form-panel-intro p {
  color: var(--muted);
}

.form-panel-intro ul {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.form-panel-intro li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
  font-size: 0.925rem;
  color: var(--muted);
}

.form-panel-intro li svg {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.inquiry-form,
.contact-form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
}

input,
select,
textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.4);
  color: var(--text);
  font: inherit;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

textarea {
  min-height: 7rem;
  resize: vertical;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  font-size: 0.925rem;
  margin: 0;
}

.form-status--success {
  color: var(--success);
}

.form-status--error {
  color: var(--error);
}

.form-status--pending {
  color: var(--gold-light);
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--gold-light);
}

/* Content pages */
.content-page main {
  padding: calc(var(--header-h) + 3rem) 0 4rem;
}

.page-hero {
  margin-bottom: 2.5rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.contact-card {
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
}

.contact-card svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--gold);
  margin-bottom: 0.65rem;
}

.contact-card strong {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}

.contact-card a,
.contact-card span {
  font-size: 0.925rem;
  color: var(--muted);
}

.contact-card a:hover {
  color: var(--gold-light);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .philosophy-inner,
  .form-panel,
  .section-intro,
  .philosophy-code-wrap {
    grid-template-columns: 1fr;
  }

  .philosophy-code-wrap .visual-panel--inline {
    justify-self: center;
  }

  .section-intro--center {
    justify-items: stretch;
  }

  .section-intro--center .section-intro-copy {
    text-align: left;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .visual-panel {
    max-width: min(100%, 20rem);
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .process-steps::before {
    display: none;
  }

  .metrics-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 3.75rem;
  }

  .container,
  .container-narrow {
    width: min(100% - 1.5rem, var(--max));
  }

  .site-header-inner {
    gap: 0.65rem;
  }

  .logo {
    font-size: 0.95rem;
    gap: 0.5rem;
    min-width: 0;
  }

  .logo-wordmark .logo-accent {
    display: none;
  }

  .logo-visual {
    width: 2.35rem;
    height: 2.35rem;
    transform: none;
  }

  .logo-orbit--2 {
    inset: -5px;
  }

  .logo-orbit--3 {
    inset: -8px;
  }

  .logo-mark {
    width: 1.9rem;
    height: 1.9rem;
  }

  .nav {
    gap: 0.5rem;
    flex-shrink: 0;
  }

  .nav-cta-mobile-hide {
    display: none;
  }

  .nav .btn-primary {
    padding: 0.5rem 0.85rem;
    font-size: 0.8125rem;
    white-space: nowrap;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--header-h) + 1.25rem) 0 2.5rem;
  }

  .hero-grid {
    gap: 2rem;
  }

  .hero h1 {
    font-size: clamp(1.85rem, 8vw, 2.5rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn-lg {
    width: 100%;
  }

  .hero-visual,
  .visual-panel {
    max-width: min(100%, 17.5rem);
    width: 100%;
    overflow: hidden;
    transform: none;
  }

  .hero-card {
    inset: 15%;
    padding: 1rem;
    gap: 0.65rem;
  }

  .hero-card-stat strong {
    font-size: 0.85rem;
  }

  .hero-card-stat span {
    font-size: 0.72rem;
  }

  .hero-float {
    font-size: 0.62rem;
    padding: 0.4rem 0.55rem;
  }

  .hero-float--1 {
    top: 4%;
    right: 3%;
  }

  .hero-float--2 {
    bottom: 6%;
    left: 3%;
  }

  .hero-float--3 {
    top: 40%;
    right: 3%;
  }

  .visual-panel--inline {
    max-width: 8.5rem;
    width: 8.5rem;
    overflow: hidden;
    transform: none;
  }

  .visual-panel--inline .visual-panel__float--1 {
    right: 2%;
    top: auto;
    bottom: 2%;
    font-size: 0.55rem;
  }

  .philosophy-code-wrap {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .philosophy-code-wrap .code-block {
    width: 100%;
    font-size: 0.78rem;
  }

  .form-panel {
    padding: 1.5rem;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .metrics-strip {
    grid-template-columns: 1fr;
  }

  .nav a:not(.btn) {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .nav-cta-extra {
    display: none;
  }
}

@media (hover: none), (pointer: coarse) {
  .hero-visual,
  .visual-panel,
  .logo-visual {
    transform: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
