/* Unicity — modern tech */

:root {
  --bg: #ffffff;
  --bg-subtle: #f8fafc;
  --ink: #0a0a0f;
  --ink-muted: #52525b;
  --ink-faint: #a1a1aa;
  --accent: #2563eb;
  --accent-light: #3b82f6;
  --accent-glow: rgba(37, 99, 235, 0.35);
  --accent-soft: rgba(37, 99, 235, 0.08);
  --border: rgba(10, 10, 15, 0.08);
  --border-strong: rgba(10, 10, 15, 0.14);
  --card-shadow: 0 1px 2px rgba(10, 10, 15, 0.04), 0 8px 32px rgba(10, 10, 15, 0.06);
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --wrap: min(1080px, calc(100% - 2.5rem));
  --header-h: 72px;
  --space-section: clamp(5rem, 12vw, 8rem);
  --radius: 12px;
  --radius-lg: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --marquee-duration: 42s;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .stack-track {
    animation: none !important;
  }

  .flow-packet,
  .flow-connector-path,
  .flow-ai-fill,
  .flow-ai-scan,
  .flow-node-icon--ai,
  .flow-metric--pulse strong {
    animation: none !important;
  }

  .flow-packet {
    top: 50%;
    opacity: 0.7;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--ink-muted);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-loaded .hero .reveal {
  opacity: 1;
  transform: translateY(0);
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

a {
  color: var(--accent);
  text-underline-offset: 0.2em;
}

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

h1,
h2,
h3,
.logo,
.footer-brand {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.03em;
}

h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  line-height: 1.08;
}

h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.15;
}

h3 {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  line-height: 1.3;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent) 0%, #7c3aed 50%, var(--accent-light) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-shift 8s ease infinite;
  filter: drop-shadow(0 0 20px rgba(37, 99, 235, 0.4))
    drop-shadow(0 0 40px rgba(124, 58, 237, 0.2));
}

@keyframes gradient-shift {
  0%,
  100% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.lead {
  max-width: 32rem;
  font-size: 1.0625rem;
  line-height: 1.7;
}

.fine-print,
.section-note,
.form-note,
.stack-disclaimer {
  font-size: 0.8125rem;
  color: var(--ink-faint);
  line-height: 1.6;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-faint);
  flex-shrink: 0;
}

.status-dot--live {
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  animation: pulse-ring 2s ease infinite;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

/* Background */

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.page-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 20%, transparent 70%);
  opacity: 0.7;
  animation: grid-drift 24s linear infinite;
}

@keyframes grid-drift {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(64px);
  }
}

.page-bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: glow-float 12s ease-in-out infinite;
}

.page-bg-glow--1 {
  top: -10%;
  right: -5%;
  width: min(50vw, 480px);
  height: min(50vw, 480px);
  background: rgba(37, 99, 235, 0.12);
}

.page-bg-glow--2 {
  bottom: 20%;
  left: -10%;
  width: min(40vw, 360px);
  height: min(40vw, 360px);
  background: rgba(124, 58, 237, 0.08);
  animation-delay: -6s;
}

@keyframes glow-float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(20px, -30px) scale(1.05);
  }
}

/* Reveal */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}

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

.hero .reveal {
  transition-delay: calc(var(--delay, 0) * 80ms);
}

.hero .reveal:nth-child(1) {
  --delay: 0;
}
.hero .reveal:nth-child(2) {
  --delay: 1;
}
.hero .reveal:nth-child(3) {
  --delay: 2;
}
.hero .reveal:nth-child(4) {
  --delay: 3;
}
.hero .reveal:nth-child(5) {
  --delay: 4;
}
.hero .reveal:nth-child(6) {
  --delay: 5;
}

/* Skip link */

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  border-radius: 6px;
}

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

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 24px rgba(10, 10, 15, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}

.logo-mark {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  animation: logo-pulse 3s ease infinite;
}

@keyframes logo-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.85;
  }
}

.nav {
  display: none;
  gap: 1.75rem;
}

.nav a {
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-muted);
  transition: color 0.2s ease;
}

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

.nav-cta {
  display: none;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem 1.25rem 1.25rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  padding: 0.75rem 0;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
}

@media (min-width: 768px) {
  .nav,
  .nav-cta {
    display: flex;
  }

  .nav-toggle,
  .mobile-nav {
    display: none !important;
  }
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--ink);
  color: var(--bg);
}

.btn-primary:hover {
  background: #1a1a24;
  color: var(--bg);
}

.btn-glow {
  position: relative;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.2), 0 8px 24px var(--accent-glow);
}

.btn-glow::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #7c3aed, var(--accent-light));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-glow:hover::before {
  opacity: 0.35;
  animation: border-spin 3s linear infinite;
}

@keyframes border-spin {
  to {
    filter: hue-rotate(360deg);
  }
}

.btn-ghost {
  background: transparent;
  color: var(--ink-muted);
  border: 1px solid var(--border-strong);
}

.btn-ghost:hover {
  color: var(--ink);
  border-color: var(--ink);
  background: var(--bg-subtle);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
}

.btn-full {
  width: 100%;
}

/* Hero */

.hero {
  padding: clamp(4rem, 10vw, 7rem) 0 clamp(3rem, 8vw, 5rem);
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.hero-pills li {
  padding: 0.35rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--ink-muted);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.hero-trust {
  margin: 0 0 1.75rem;
  max-width: 34rem;
}

.hero-trust-link {
  display: block;
  padding: 0.85rem 1rem;
  text-decoration: none;
  color: inherit;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-left: 3px solid #f59e0b;
  border-radius: var(--radius);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.hero-trust-link:hover {
  background: var(--bg);
  border-color: var(--border-strong);
  box-shadow: var(--card-shadow);
}

.hero-trust-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.hero-trust-rating {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
}

.hero-trust-stars {
  display: inline-flex;
  gap: 0.08rem;
  color: #f59e0b;
}

.hero-trust-rating-label {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  white-space: nowrap;
}

.hero-trust-quote {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
}

.hero-trust-cite {
  display: block;
  margin-top: 0.35rem;
  padding-left: 0.15rem;
  font-style: normal;
  font-size: 0.6875rem;
  line-height: 1.4;
  color: var(--ink-faint);
}

.hero-trust-cite::before {
  content: "— ";
}

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

/* Flow card */

.hero-visual {
  position: relative;
}

.flow-card {
  position: relative;
  padding: 1.35rem;
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 48%, #ffffff 100%);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius-lg) + 2px);
  box-shadow:
    var(--card-shadow),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  animation: card-float 6s ease-in-out infinite;
  overflow: hidden;
  isolation: isolate;
}

@keyframes card-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.flow-card-bg {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.04) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, #000 20%, transparent 75%);
  pointer-events: none;
}

.flow-card-glow {
  position: absolute;
  top: -30%;
  right: -20%;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 68%);
  pointer-events: none;
}

.flow-card-header {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid var(--border);
}

.flow-card-title {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.flow-card-sub {
  font-size: 0.6875rem;
  color: var(--ink-faint);
}

.flow-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #15803d;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.18);
  border-radius: 999px;
  flex-shrink: 0;
}

.flow-metrics {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.1rem;
}

.flow-metric {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.55rem 0.65rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) - 2px);
}

.flow-metric strong {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}

.flow-metric span {
  font-size: 0.625rem;
  color: var(--ink-faint);
}

.flow-metric--pulse strong {
  animation: flow-metric-pulse 2.8s ease-in-out infinite;
}

@keyframes flow-metric-pulse {
  0%,
  100% {
    color: var(--ink);
  }
  50% {
    color: var(--accent);
  }
}

.flow-nodes {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.flow-node {
  position: relative;
  padding: 0.85rem 0.95rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition:
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s var(--ease),
    background 0.35s ease;
}

.flow-node--active,
.flow-node:hover {
  border-color: rgba(37, 99, 235, 0.32);
  box-shadow:
    0 0 0 3px var(--accent-soft),
    0 10px 24px rgba(37, 99, 235, 0.08);
  transform: translateX(5px);
  background: #ffffff;
}

.flow-node--ai.flow-node--active {
  border-color: rgba(124, 58, 237, 0.35);
  box-shadow:
    0 0 0 3px rgba(124, 58, 237, 0.1),
    0 12px 28px rgba(124, 58, 237, 0.12);
}

.flow-node-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.65rem;
}

.flow-node-icon {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 8px;
  flex-shrink: 0;
}

.flow-node-icon svg {
  width: 1rem;
  height: 1rem;
}

.flow-node-icon--ai {
  color: #7c3aed;
  background: rgba(124, 58, 237, 0.1);
  animation: flow-ai-icon 2.8s ease-in-out infinite;
}

@keyframes flow-ai-icon {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.25);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(124, 58, 237, 0);
  }
}

.flow-node-label {
  flex: 1;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}

.flow-node-tag {
  padding: 0.15rem 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink-faint);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.flow-node-tag--ai {
  color: #7c3aed;
  background: rgba(124, 58, 237, 0.08);
  border-color: rgba(124, 58, 237, 0.18);
}

.flow-node-tag--success {
  color: #15803d;
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.18);
}

.flow-node--active .flow-node-tag--success {
  animation: flow-tag-sync 0.6s ease;
}

@keyframes flow-tag-sync {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
  100% {
    transform: scale(1);
  }
}

.flow-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.flow-chip {
  padding: 0.22rem 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  color: var(--ink-muted);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.flow-chip--accent {
  color: #5b21b6;
  background: rgba(124, 58, 237, 0.06);
  border-color: rgba(124, 58, 237, 0.14);
}

.flow-node--active .flow-chip {
  border-color: rgba(37, 99, 235, 0.16);
}

.flow-node-ai-glow {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(124, 58, 237, 0.14), rgba(37, 99, 235, 0.08), transparent 55%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.flow-node--ai.flow-node--active .flow-node-ai-glow {
  opacity: 1;
}

.flow-ai-track {
  position: relative;
  height: 4px;
  margin-bottom: 0.65rem;
  background: rgba(124, 58, 237, 0.1);
  border-radius: 999px;
  overflow: hidden;
}

.flow-ai-fill {
  display: block;
  width: 68%;
  height: 100%;
  background: linear-gradient(90deg, #7c3aed, var(--accent-light));
  border-radius: inherit;
  animation: flow-ai-fill 2.8s ease-in-out infinite;
}

.flow-ai-scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85), transparent);
  transform: translateX(-120%);
  animation: flow-ai-scan 2.8s ease-in-out infinite;
}

@keyframes flow-ai-fill {
  0%,
  100% {
    width: 52%;
  }
  50% {
    width: 88%;
  }
}

@keyframes flow-ai-scan {
  0%,
  100% {
    transform: translateX(-120%);
    opacity: 0;
  }
  20%,
  80% {
    opacity: 1;
  }
  50% {
    transform: translateX(220%);
  }
}

.flow-connector {
  position: relative;
  height: 2.25rem;
  margin: 0.15rem 0 0.15rem 1.65rem;
}

.flow-connector-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: rgba(37, 99, 235, 0.28);
}

.flow-connector-path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-dasharray: 4 6;
  animation: flow-path-dash 1.4s linear infinite;
}

@keyframes flow-path-dash {
  to {
    stroke-dashoffset: -20;
  }
}

.flow-packet {
  position: absolute;
  left: 50%;
  top: 0;
  width: 7px;
  height: 7px;
  margin-left: -3.5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow:
    0 0 10px var(--accent-glow),
    0 0 20px rgba(37, 99, 235, 0.25);
  animation: flow-packet-travel 2.8s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.flow-packet--trail {
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  opacity: 0.45;
  animation-delay: 0.18s;
}

.flow-packet--delay {
  animation-delay: 1.4s;
}

.flow-packet--delay.flow-packet--trail {
  animation-delay: 1.58s;
}

@keyframes flow-packet-travel {
  0% {
    top: 0;
    opacity: 0;
    transform: scale(0.6);
  }
  12% {
    opacity: 1;
    transform: scale(1);
  }
  88% {
    opacity: 1;
  }
  100% {
    top: calc(100% - 7px);
    opacity: 0;
    transform: scale(0.6);
  }
}

/* Sections */

.section {
  padding-block: var(--space-section);
}

.section-head {
  margin-bottom: clamp(2.5rem, 6vw, 3.5rem);
  max-width: 36rem;
}

.section-head .section-note {
  margin-top: 0.75rem;
}

/* Stack */

.stack-section {
  overflow: hidden;
}

.stack-marquee {
  margin-bottom: clamp(2.5rem, 6vw, 3.5rem);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.stack-track {
  display: flex;
  width: max-content;
  animation: marquee var(--marquee-duration) linear infinite;
  will-change: transform;
}

.stack-track-inner {
  display: flex;
  gap: 0.75rem;
  padding: 0.5rem 0.375rem;
  flex-shrink: 0;
}

@keyframes marquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.stack-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem 0.5rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-muted);
  white-space: nowrap;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--card-shadow);
}

.stack-chip img {
  display: block;
  object-fit: contain;
}

.stack-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.stack-card {
  padding: 1.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  transition:
    transform 0.35s var(--ease),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.stack-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.1);
}

.stack-card img {
  display: block;
  margin-bottom: 0.875rem;
  object-fit: contain;
}

.stack-card p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.stack-disclaimer {
  margin-top: 2rem;
  max-width: 40rem;
}

/* Approach */

.section--approach {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-subtle) 50%, var(--bg) 100%);
}

.approach-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  position: relative;
}

@media (min-width: 900px) {
  .approach-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .approach-steps::before {
    content: "";
    position: absolute;
    top: 7.5rem;
    left: 12%;
    right: 12%;
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(37, 99, 235, 0.35) 20%,
      rgba(124, 58, 237, 0.35) 80%,
      transparent
    );
    pointer-events: none;
  }
}

.approach-step {
  position: relative;
}

.approach-step-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition:
    transform 0.45s var(--ease),
    border-color 0.45s ease,
    box-shadow 0.45s ease;
}

.approach-step-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    transparent 40%,
    rgba(37, 99, 235, 0.4) 50%,
    rgba(124, 58, 237, 0.3) 60%,
    transparent 70%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.approach-step:hover .approach-step-card,
.approach-step:focus-within .approach-step-card {
  transform: translateY(-8px);
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow:
    0 4px 24px rgba(37, 99, 235, 0.08),
    0 24px 48px rgba(10, 10, 15, 0.06);
}

.approach-step:hover .approach-step-card::before {
  opacity: 1;
}

.approach-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.approach-step-index {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.approach-step-label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding: 0.25rem 0.5rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.approach-step-visual {
  margin-bottom: 1.25rem;
  min-height: 9rem;
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--bg-subtle) 0%, var(--bg) 100%);
  border: 1px solid var(--border);
  overflow: hidden;
}

.approach-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 9rem;
  padding: 1rem;
  color: var(--accent);
}

/* Clarity visual — messy stack → sift → connected workflow */

.approach-visual--clarity {
  padding: 0;
  align-items: stretch;
}

.clarity-scene {
  position: relative;
  width: 100%;
  min-height: 9rem;
  overflow: hidden;
}

.clarity-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--accent);
  pointer-events: none;
}

.clarity-line {
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 56;
  stroke-dashoffset: 56;
  opacity: 0;
  animation: clarity-connect 10s ease-in-out infinite;
  animation-delay: var(--ld, 0s);
}

@keyframes clarity-connect {
  0%,
  46%,
  100% {
    stroke-dashoffset: 56;
    opacity: 0;
  }
  54% {
    opacity: 0.35;
  }
  62%,
  78% {
    stroke-dashoffset: 0;
    opacity: 0.5;
  }
  88% {
    stroke-dashoffset: 56;
    opacity: 0;
  }
}

.clarity-scan {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -45%;
  width: 42%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(37, 99, 235, 0.06),
    rgba(124, 58, 237, 0.14),
    rgba(37, 99, 235, 0.06),
    transparent
  );
  opacity: 0;
  pointer-events: none;
  animation: clarity-sweep 10s ease-in-out infinite;
}

@keyframes clarity-sweep {
  0%,
  14%,
  46%,
  100% {
    opacity: 0;
    transform: translateX(0);
  }
  20% {
    opacity: 1;
  }
  38% {
    opacity: 1;
    transform: translateX(280%);
  }
  44% {
    opacity: 0;
  }
}

.clarity-hub {
  position: absolute;
  left: 50%;
  top: 40%;
  z-index: 2;
  transform: translate(-50%, -50%);
}

.clarity-hub-core {
  display: block;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--border);
  animation: clarity-hub 10s ease-in-out infinite;
}

.clarity-hub-ring {
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(37, 99, 235, 0.35);
  border-radius: 50%;
  opacity: 0;
  animation: clarity-hub-ring 10s ease-out infinite;
}

@keyframes clarity-hub {
  0%,
  44%,
  100% {
    transform: scale(0.88);
    border-color: var(--border);
    box-shadow: none;
  }
  58%,
  76% {
    transform: scale(1);
    border-color: transparent;
    background: linear-gradient(135deg, var(--accent), #7c3aed);
    box-shadow: 0 0 22px var(--accent-glow);
  }
  90% {
    transform: scale(0.88);
    border-color: var(--border);
    background: var(--bg);
    box-shadow: none;
  }
}

@keyframes clarity-hub-ring {
  0%,
  52%,
  100% {
    opacity: 0;
    transform: scale(0.85);
  }
  62% {
    opacity: 0.7;
    transform: scale(1);
  }
  78% {
    opacity: 0;
    transform: scale(1.45);
  }
}

.clarity-tools {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.clarity-tool {
  --mx: 0px;
  --my: 0px;
  --mr: 0deg;
  --ox: 0px;
  --oy: 0px;
  --or: 0deg;
  position: absolute;
  left: 50%;
  top: 40%;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.28rem 0.45rem;
  color: var(--ink-muted);
  white-space: nowrap;
  background: var(--bg);
  border: 1px dashed var(--border-strong);
  border-radius: 4px;
  transform: translate(calc(-50% + var(--mx)), calc(-50% + var(--my))) rotate(var(--mr));
  animation: clarity-tool 10s cubic-bezier(0.45, 0, 0.2, 1) infinite;
  animation-delay: calc(var(--i, 0) * 0.07s);
}

.clarity-tool:nth-child(1) {
  --mx: -76px;
  --my: -34px;
  --mr: -12deg;
  --ox: 0px;
  --oy: -44px;
}

.clarity-tool:nth-child(2) {
  --mx: 68px;
  --my: -36px;
  --mr: 9deg;
  --ox: 42px;
  --oy: -24px;
  --or: 4deg;
}

.clarity-tool:nth-child(3) {
  --mx: 82px;
  --my: 18px;
  --mr: -6deg;
  --ox: 42px;
  --oy: 22px;
  --or: -3deg;
}

.clarity-tool:nth-child(4) {
  --mx: 8px;
  --my: 48px;
  --mr: 5deg;
  --ox: 0px;
  --oy: 44px;
}

.clarity-tool:nth-child(5) {
  --mx: -84px;
  --my: 22px;
  --mr: -8deg;
  --ox: -42px;
  --oy: 22px;
  --or: 3deg;
}

.clarity-tool:nth-child(6) {
  --mx: -58px;
  --my: -44px;
  --mr: 11deg;
  --ox: -42px;
  --oy: -24px;
  --or: -4deg;
}

@keyframes clarity-tool {
  0%,
  12%,
  92%,
  100% {
    transform: translate(calc(-50% + var(--mx)), calc(-50% + var(--my))) rotate(var(--mr));
    border-style: dashed;
    border-color: var(--border-strong);
    color: var(--ink-muted);
    box-shadow: none;
    opacity: 0.82;
  }
  24%,
  36% {
    transform: translate(calc(-50% + var(--mx) * 0.45), calc(-50% + var(--my) * 0.45))
      rotate(calc(var(--mr) * 0.45));
    opacity: 0.95;
  }
  52%,
  54% {
    transform: translate(calc(-50% + var(--ox)), calc(-50% + var(--oy))) rotate(var(--or))
      scale(1.06);
    border-style: solid;
    border-color: rgba(37, 99, 235, 0.55);
    color: var(--accent);
    box-shadow: 0 0 14px rgba(37, 99, 235, 0.18);
    opacity: 1;
  }
  62%,
  78% {
    transform: translate(calc(-50% + var(--ox)), calc(-50% + var(--oy))) rotate(var(--or));
    border-style: solid;
    border-color: rgba(37, 99, 235, 0.4);
    color: var(--ink);
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.12);
    opacity: 1;
  }
  86% {
    transform: translate(calc(-50% + var(--mx) * 0.6), calc(-50% + var(--my) * 0.6))
      rotate(calc(var(--mr) * 0.6));
    border-style: dashed;
    opacity: 0.85;
  }
}

.clarity-tag {
  position: absolute;
  left: 50%;
  bottom: 0.65rem;
  transform: translateX(-50%);
  z-index: 3;
  animation: clarity-tag 10s ease-in-out infinite;
}

@keyframes clarity-tag {
  0%,
  50%,
  100% {
    opacity: 0.55;
    border-color: var(--border);
    color: var(--ink-faint);
  }
  64%,
  78% {
    opacity: 1;
    border-color: rgba(37, 99, 235, 0.35);
    color: var(--accent);
    box-shadow: 0 0 16px rgba(37, 99, 235, 0.1);
  }
}

.approach-visual-tag {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding: 0.35rem 0.65rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
}

/* Orchestrate visual */

.approach-visual--orchestrate {
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem 1rem;
}

.orch-layer {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: center;
  z-index: 1;
}

.orch-layer span {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.5rem;
  color: var(--ink-muted);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.orch-hub {
  position: relative;
  z-index: 2;
  margin: 0.25rem 0;
}

.orch-hub-core {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--bg);
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  border-radius: 50%;
  box-shadow: 0 0 24px var(--accent-glow);
}

.orch-pulse {
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(37, 99, 235, 0.35);
  border-radius: 50%;
  animation: orch-ring 2s ease-out infinite;
}

@keyframes orch-ring {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

.orch-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--accent);
  opacity: 0.35;
}

.orch-line {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-dasharray: 4 4;
  animation: orch-flow 3s linear infinite;
}

.orch-line-2 {
  animation-delay: 0.5s;
}
.orch-line-3 {
  animation-delay: 1s;
}
.orch-line-4 {
  animation-delay: 1.5s;
}

@keyframes orch-flow {
  to {
    stroke-dashoffset: -16;
  }
}

/* Own / handover visual */

.approach-visual--own {
  padding: 0.75rem;
  align-items: stretch;
}

.own-terminal {
  width: 100%;
  max-width: 14rem;
  background: #0c0c12;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.own-terminal-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.65rem;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.own-terminal-bar span:first-child,
.own-terminal-bar span:nth-child(2),
.own-terminal-bar span:nth-child(3) {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.own-terminal-bar span:first-child {
  background: #ff5f57;
}
.own-terminal-bar span:nth-child(2) {
  background: #febc2e;
}
.own-terminal-bar span:nth-child(3) {
  background: #28c840;
}

.own-terminal-bar .mono {
  margin-left: auto;
  font-size: 0.5625rem;
  color: rgba(255, 255, 255, 0.35);
  background: none;
  width: auto;
  height: auto;
  border-radius: 0;
}

.own-terminal-list {
  list-style: none;
  margin: 0;
  padding: 0.65rem 0.75rem;
  font-size: 0.625rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
}

.own-terminal-list li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.own-check {
  color: #22c55e;
  font-size: 0.6875rem;
}

.own-terminal-cursor {
  color: var(--accent-light);
  animation: cursor-blink 1s step-end infinite;
}

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

.approach-step-body h3 {
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

.approach-step-body p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.65;
}

@media (prefers-reduced-motion: reduce) {
  .clarity-line,
  .clarity-scan,
  .clarity-hub-core,
  .clarity-hub-ring,
  .clarity-tool,
  .clarity-tag,
  .orch-pulse,
  .orch-line,
  .own-terminal-cursor {
    animation: none;
  }

  .clarity-tool {
    transform: translate(calc(-50% + var(--ox)), calc(-50% + var(--oy))) rotate(var(--or));
    border-style: solid;
    border-color: rgba(37, 99, 235, 0.4);
  }

  .clarity-line {
    stroke-dashoffset: 0;
    opacity: 0.45;
  }

  .clarity-hub-core {
    transform: scale(1);
    background: linear-gradient(135deg, var(--accent), #7c3aed);
    box-shadow: 0 0 22px var(--accent-glow);
  }
}

/* About + Clients */

.section--about-clients {
  background: linear-gradient(180deg, var(--bg-subtle) 0%, var(--bg) 100%);
}

.about-clients-grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 3.5rem);
  align-items: start;
}

@media (min-width: 900px) {
  .about-clients-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 4vw, 3rem);
  }

  .about-col,
  .clients-col {
    display: flex;
    flex-direction: column;
  }

  .about-card,
  .testimonials--stack {
    flex: 1;
  }

  .testimonials--stack {
    display: flex;
    flex-direction: column;
  }

  .about-col {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
  }
}

.about-col .section-head,
.clients-col .section-head {
  margin-bottom: 1.25rem;
}

.about-card {
  height: 100%;
  padding: clamp(1.5rem, 3vw, 2rem);
  background: linear-gradient(165deg, #ffffff 0%, var(--bg-subtle) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
}

.about-profile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.35rem;
}

.about-photo-ring {
  position: relative;
  flex-shrink: 0;
  width: clamp(5.75rem, 14vw, 7.5rem);
  height: clamp(5.75rem, 14vw, 7.5rem);
  padding: 3px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--accent-light) 0%, #7c3aed 100%);
  box-shadow:
    0 0 0 1px rgba(37, 99, 235, 0.12),
    0 12px 32px rgba(37, 99, 235, 0.14);
}

.about-photo-frame {
  width: 100%;
  height: 100%;
  padding: 4px;
  border-radius: 50%;
  background: var(--bg);
  overflow: hidden;
}

.about-photo {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
}

.about-name {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.02em;
  color: var(--ink-faint);
}

.about-copy {
  min-width: 0;
}

.about-lead {
  margin: 0 0 1.25rem;
  font-size: clamp(0.9375rem, 2vw, 1.0625rem);
  line-height: 1.7;
  color: var(--ink);
}

.about-note {
  margin: 0;
  padding-top: 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--ink-muted);
  border-top: 1px solid var(--border);
}

.about-closer {
  display: block;
  margin-top: 0.65rem;
  font-weight: 500;
  color: var(--ink);
}

.testimonials--stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonials--stack .quote-card {
  flex: none;
  width: 100%;
  height: auto;
  grid-template-rows: auto auto auto auto;
  grid-row: auto;
}

.testimonials--stack .quote-card-role {
  min-height: 0;
}

/* Testimonials (shared) */

.testimonials {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .testimonials:not(.testimonials--stack) {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto 1fr auto auto;
    align-items: stretch;
  }
}

.quote-card {
  display: grid;
  grid-template-rows: auto auto auto auto;
  gap: 0;
  margin: 0;
  padding: clamp(1.5rem, 4vw, 2rem);
  height: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s ease;
}

@media (min-width: 768px) {
  .quote-card {
    grid-template-rows: subgrid;
    grid-row: span 4;
  }

  .testimonials--stack .quote-card {
    grid-template-rows: auto auto auto auto;
    grid-row: auto;
  }
}

.quote-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(10, 10, 15, 0.08);
}

.quote-mark {
  display: block;
  height: 2rem;
  margin: 0 0 0.5rem;
  font-size: 2rem;
  line-height: 1;
  font-weight: 600;
  color: var(--accent);
  opacity: 0.35;
}

.quote-mark::before {
  content: "\201C";
}

.quote-text {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink-muted);
}

.quote-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 1.375rem;
  margin-top: 0.625rem;
  flex-shrink: 0;
}

.quote-rating--spacer {
  margin-top: 0.625rem;
  min-height: 1.375rem;
  visibility: hidden;
  pointer-events: none;
}

.quote-card-footer {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.625rem;
  padding-top: 0.625rem;
  border-top: 1px solid var(--border);
}

@supports not (grid-template-rows: subgrid) {
  @media (min-width: 768px) {
    .quote-card {
      display: grid;
      grid-template-rows: auto auto auto 1fr auto;
    }

    .quote-card-footer {
      align-self: end;
    }
  }
}

.quote-stars {
  display: inline-flex;
  gap: 0.1rem;
  flex-shrink: 0;
  color: #f59e0b;
}

.quote-rating-label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  white-space: nowrap;
}

.quote-card-name {
  display: flex;
  align-items: center;
  min-height: 1.375rem;
  margin: 0;
  font-style: normal;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.quote-card-role {
  display: block;
  min-height: 2.25rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--ink-faint);
}

@media (min-width: 768px) {
  .quote-card-role {
    min-height: 3rem;
  }

  .testimonials--stack .quote-card-role {
    min-height: 0;
  }
}

.section--clients .fine-print,
.clients-col .fine-print {
  margin-top: 1.5rem;
  max-width: 40rem;
}

/* Work */

.section--work .section-note {
  max-width: 36rem;
}

.work-stage {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  margin-top: 0.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  outline: none;
}

@media (min-width: 768px) {
  .work-stage {
    grid-template-columns: 1.45fr 1fr;
    grid-template-rows: 1fr;
    min-height: clamp(360px, 42vh, 440px);
  }
}

.work-visual-area {
  position: relative;
  min-height: 280px;
  background:
    radial-gradient(ellipse 80% 70% at 50% 45%, var(--accent-soft), transparent 70%),
    linear-gradient(180deg, var(--bg-subtle) 0%, var(--bg) 100%);
}

@media (min-width: 768px) {
  .work-visual-area {
    min-height: 100%;
  }
}

.work-visual {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.45s var(--ease),
    visibility 0.45s;
}

.work-visual.is-active {
  opacity: 1;
  visibility: visible;
}

.work-mock {
  width: 100%;
  max-width: 34rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  box-shadow:
    0 1px 2px rgba(10, 10, 15, 0.04),
    0 12px 40px rgba(10, 10, 15, 0.08);
  overflow: hidden;
}

.work-mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #ffffff, var(--bg-subtle));
}

.work-mock-title {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.work-mock-badge {
  padding: 0.18rem 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 999px;
  flex-shrink: 0;
}

.work-mock-badge--live {
  color: #15803d;
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.18);
}

.work-mock-body {
  padding: 0.85rem;
}

/* Property — unit grid */

.work-visual--property {
  --work-accent: #2563eb;
  --work-accent2: #7c3aed;
}

.work-visual--property .work-mock-badge {
  color: var(--work-accent2);
  background: rgba(124, 58, 237, 0.08);
  border-color: rgba(124, 58, 237, 0.16);
}

.work-mock-body--property {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.65rem;
  align-items: start;
}

.work-unit-grid {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.work-unit-row {
  display: grid;
  grid-template-columns: 1.75rem repeat(5, minmax(0, 1fr));
  gap: 0.3rem;
  align-items: stretch;
}

.work-unit-level {
  display: flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  color: var(--ink-faint);
}

.work-unit {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  padding: 0.3rem 0.35rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 5px;
  min-width: 0;
}

.work-unit--active {
  border-color: rgba(124, 58, 237, 0.45);
  background: rgba(124, 58, 237, 0.06);
  box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.1);
}

.work-unit-id {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  font-weight: 600;
  color: var(--work-accent);
}

.work-unit-meta {
  font-size: 0.4375rem;
  color: var(--ink-faint);
}

.work-unit-price {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.work-unit--active .work-unit-price {
  color: var(--work-accent2);
}

.work-unit-delta {
  position: absolute;
  top: 0.2rem;
  right: 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.4375rem;
  color: #16a34a;
}

.work-finish-panel {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.45rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 6px;
  min-width: 4.5rem;
}

.work-finish-label {
  font-family: var(--font-mono);
  font-size: 0.4375rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--work-accent);
}

.work-finish-chip {
  padding: 0.15rem 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.4375rem;
  color: var(--ink-faint);
  border: 1px solid var(--border);
  border-radius: 3px;
  text-align: center;
}

.work-finish-chip--active {
  color: var(--work-accent2);
  background: rgba(124, 58, 237, 0.1);
  border-color: rgba(124, 58, 237, 0.35);
}

/* Sales — pipeline */

.work-visual--sales {
  --work-accent: #7c3aed;
  --work-accent2: #3b82f6;
}

.work-visual--sales .work-mock-badge {
  color: var(--work-accent);
  background: rgba(124, 58, 237, 0.08);
  border-color: rgba(124, 58, 237, 0.16);
}

.work-mock-body--pipeline {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0.35rem;
  align-items: stretch;
}

.work-pipe-stage {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.55rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 6px;
  min-width: 0;
}

.work-pipe-stage--ai {
  border-color: rgba(124, 58, 237, 0.28);
  background: rgba(124, 58, 237, 0.05);
}

.work-pipe-label {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--work-accent);
}

.work-pipe-sub {
  font-size: 0.4375rem;
  color: var(--ink-faint);
}

.work-pipe-detail {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  margin-top: 0.25rem;
  font-size: 0.4375rem;
  color: var(--ink-muted);
  line-height: 1.45;
}

.work-pipe-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
  margin-top: 0.2rem;
}

.work-pipe-chip {
  padding: 0.12rem 0.3rem;
  font-family: var(--font-mono);
  font-size: 0.375rem;
  color: var(--work-accent);
  background: #fff;
  border: 1px solid rgba(124, 58, 237, 0.18);
  border-radius: 999px;
}

.work-pipe-checklist {
  margin: 0.25rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.4375rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

.work-pipe-checklist li::before {
  content: "✓ ";
  color: #16a34a;
}

.work-pipe-arrow {
  align-self: center;
  width: 0.55rem;
  height: 0.55rem;
  border-top: 1.5px solid rgba(124, 58, 237, 0.35);
  border-right: 1.5px solid rgba(124, 58, 237, 0.35);
  transform: rotate(45deg);
}

/* Energy — invoice split */

.work-visual--energy {
  --work-accent: #f59e0b;
  --work-accent2: #ea580c;
}

.work-visual--energy .work-mock-badge {
  color: var(--work-accent2);
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.22);
}

.work-mock-body--split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0.65rem;
}

.work-doc {
  padding: 0.55rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.work-doc-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--work-accent2);
}

.work-doc-meta {
  display: block;
  margin: 0.15rem 0 0.45rem;
  font-size: 0.4375rem;
  color: var(--ink-faint);
}

.work-doc-fields {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.work-doc-field {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.25rem 0.35rem;
  font-size: 0.4375rem;
  border-radius: 4px;
}

.work-doc-field dt {
  color: var(--work-accent2);
  font-weight: 500;
}

.work-doc-field dd {
  margin: 0;
  color: var(--ink-muted);
  font-family: var(--font-mono);
}

.work-doc-field--highlight {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.28);
}

.work-packages {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.work-package {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.1rem 0.5rem;
  padding: 0.45rem 0.55rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
}

.work-package--selected {
  border-color: rgba(234, 88, 12, 0.4);
  background: rgba(245, 158, 11, 0.08);
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.12);
}

.work-package-name {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--work-accent2);
}

.work-package-price {
  grid-row: span 2;
  align-self: center;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: 600;
  color: var(--ink);
}

.work-package-save {
  font-size: 0.4375rem;
  color: var(--ink-faint);
}

.work-package-tag {
  position: absolute;
  top: 0.35rem;
  right: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.375rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--work-accent2);
}

/* Hospitality — hub layout */

.work-visual--hospitality {
  --work-accent: #0d9488;
  --work-accent2: #14b8a6;
}

.work-visual--hospitality .work-mock-badge--live {
  color: var(--work-accent);
  background: rgba(13, 148, 136, 0.08);
  border-color: rgba(13, 148, 136, 0.18);
}

.work-mock-body--hub {
  position: relative;
  min-height: 11.5rem;
}

.work-hub-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  width: 5.5rem;
  padding: 0.65rem;
  text-align: center;
  background: rgba(13, 148, 136, 0.08);
  border: 2px solid rgba(13, 148, 136, 0.35);
  border-radius: 999px;
  z-index: 1;
}

.work-hub-title {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--work-accent2);
}

.work-hub-sub {
  font-family: var(--font-mono);
  font-size: 0.4375rem;
  color: var(--work-accent);
}

.work-hub-metrics {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  margin-top: 0.25rem;
  font-size: 0.375rem;
  color: var(--ink-faint);
}

.work-hub-metrics strong {
  color: var(--work-accent2);
  font-family: var(--font-mono);
}

.work-hub-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  width: 5.75rem;
  padding: 0.45rem 0.5rem;
  font-size: 0.4375rem;
  color: var(--ink-muted);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  line-height: 1.35;
}

.work-hub-card-label {
  font-family: var(--font-mono);
  font-size: 0.4375rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--work-accent);
  margin-bottom: 0.1rem;
}

.work-hub-card--pos {
  top: 0.2rem;
  left: 0.2rem;
}

.work-hub-card--res {
  top: 0.2rem;
  right: 0.2rem;
}

.work-hub-card--kitchen {
  bottom: 0.2rem;
  left: 0.2rem;
}

.work-hub-card--roster {
  bottom: 0.2rem;
  right: 0.2rem;
}

/* Catering — triage */

.work-visual--catering {
  --work-accent: #e11d48;
  --work-accent2: #f43f5e;
}

.work-visual--catering .work-mock-badge {
  color: var(--work-accent);
  background: rgba(225, 29, 72, 0.08);
  border-color: rgba(225, 29, 72, 0.16);
}

.work-mock-body--triage {
  display: grid;
  grid-template-columns: 0.95fr auto 1.35fr;
  gap: 0.45rem;
  align-items: stretch;
}

.work-inbox {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.45rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 6px;
  min-width: 0;
}

.work-inbox-label {
  font-family: var(--font-mono);
  font-size: 0.4375rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--work-accent);
}

.work-inbox-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.35rem;
  font-size: 0.4375rem;
  color: var(--ink-muted);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
}

.work-inbox-item--active {
  border-color: rgba(225, 29, 72, 0.35);
  background: rgba(225, 29, 72, 0.04);
}

.work-inbox-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
}

.work-inbox-tags em {
  padding: 0.05rem 0.25rem;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.3125rem;
  text-transform: uppercase;
  color: var(--work-accent2);
  background: rgba(225, 29, 72, 0.08);
  border: 1px solid rgba(225, 29, 72, 0.16);
  border-radius: 2px;
}

.work-triage-ai {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.05rem;
  width: 2.75rem;
  padding: 0.45rem 0.35rem;
  text-align: center;
  background: rgba(225, 29, 72, 0.08);
  border: 1.5px solid rgba(225, 29, 72, 0.35);
  border-radius: 8px;
  align-self: center;
}

.work-triage-label {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  font-weight: 600;
  color: var(--work-accent2);
}

.work-triage-sub {
  font-family: var(--font-mono);
  font-size: 0.375rem;
  color: var(--work-accent);
}

.work-crm-lanes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.3rem;
}

.work-crm-lane {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.35rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  min-width: 0;
}

.work-crm-lane-label {
  font-family: var(--font-mono);
  font-size: 0.375rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--work-accent);
}

.work-crm-field {
  padding: 0.18rem 0.28rem;
  font-size: 0.375rem;
  color: var(--ink-faint);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 3px;
}

.work-crm-field--filled {
  color: var(--work-accent2);
  background: rgba(225, 29, 72, 0.06);
  border-color: rgba(225, 29, 72, 0.22);
}

/* Education — scatter + rank */

.work-visual--education {
  --work-accent: #4f46e5;
  --work-accent2: #6366f1;
}

.work-visual--education .work-mock-badge {
  color: var(--work-accent);
  background: rgba(79, 70, 229, 0.08);
  border-color: rgba(79, 70, 229, 0.16);
}

.work-mock-body--intel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0.65rem;
}

.work-scatter {
  position: relative;
  min-height: 8.5rem;
  padding: 0.45rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.work-scatter-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.4375rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--work-accent);
}

.work-scatter-dots {
  position: absolute;
  inset: 1.4rem 0.45rem 0.45rem;
}

.work-scatter-dots span {
  position: absolute;
  left: var(--x);
  bottom: var(--y);
  width: calc(0.35rem + var(--s) * 0.45rem);
  height: calc(0.35rem + var(--s) * 0.45rem);
  border-radius: 50%;
  background: rgba(79, 70, 229, calc(0.25 + var(--s) * 0.35));
  transform: translate(-50%, 50%);
}

.work-scatter-dot--hot {
  background: rgba(99, 102, 241, 0.85) !important;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.45);
}

.work-rank-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.45rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
}

.work-rank-label {
  font-family: var(--font-mono);
  font-size: 0.4375rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--work-accent);
}

.work-rank-items {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.work-rank-items li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.4375rem;
  color: var(--ink-muted);
}

.work-rank-bar {
  display: block;
  height: 3px;
  width: var(--w);
  background: linear-gradient(90deg, var(--work-accent), var(--work-accent2));
  border-radius: 999px;
}

.work-rank-footer {
  margin-top: auto;
  padding-top: 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.375rem;
  color: var(--work-accent2);
}

/* Panel + controls */

.work-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-top: 1px solid var(--border);
  background: var(--bg);
  transition: box-shadow 0.6s var(--ease);
}

@media (min-width: 768px) {
  .work-panel {
    border-top: none;
    border-left: 3px solid var(--border);
  }
}

.work-panel[data-theme="property"] {
  box-shadow: inset 3px 0 0 #2563eb;
}

.work-panel[data-theme="sales"] {
  box-shadow: inset 3px 0 0 #7c3aed;
}

.work-panel[data-theme="energy"] {
  box-shadow: inset 3px 0 0 #f59e0b;
}

.work-panel[data-theme="hospitality"] {
  box-shadow: inset 3px 0 0 #0d9488;
}

.work-panel[data-theme="catering"] {
  box-shadow: inset 3px 0 0 #e11d48;
}

.work-panel[data-theme="education"] {
  box-shadow: inset 3px 0 0 #4f46e5;
}

.work-panel-inner {
  transition:
    opacity 0.35s var(--ease),
    transform 0.35s var(--ease);
}

.work-panel-inner.is-updating {
  opacity: 0;
  transform: translateY(6px);
}

.work-sector {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  transition: color 0.5s ease;
}

.work-panel[data-theme="energy"] .work-sector {
  color: #d97706;
}

.work-panel[data-theme="hospitality"] .work-sector {
  color: #0d9488;
}

.work-panel[data-theme="catering"] .work-sector {
  color: #e11d48;
}

.work-panel[data-theme="education"] .work-sector {
  color: #4f46e5;
}

.work-panel[data-theme="sales"] .work-sector {
  color: #7c3aed;
}

.work-title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.work-client {
  margin: 0 0 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  line-height: 1.45;
  color: var(--ink-faint);
}

.work-desc {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--ink-muted);
}

.work-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.25rem;
  border-top: 1px solid var(--border);
}

.work-nav-btn {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  color: var(--ink-muted);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.work-nav-btn svg {
  width: 1rem;
  height: 1rem;
}

.work-nav-btn:hover {
  color: var(--accent);
  border-color: rgba(37, 99, 235, 0.25);
  background: #fff;
}

.work-nav-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.work-progress {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  flex: 1;
}

.work-counter {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}

.work-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
}

.work-dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--border-strong);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.work-dot.is-active {
  background: var(--accent);
  transform: scale(1.25);
}

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

@media (max-width: 767px) {
  .work-mock-body--pipeline {
    grid-template-columns: 1fr;
  }

  .work-pipe-arrow {
    justify-self: center;
    transform: rotate(135deg);
  }

  .work-mock-body--split,
  .work-mock-body--intel,
  .work-mock-body--triage {
    grid-template-columns: 1fr;
  }

  .work-mock-body--property {
    grid-template-columns: 1fr;
  }

  .work-finish-panel {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .work-crm-lanes {
    grid-template-columns: 1fr;
  }

  .work-mock-body--hub {
    min-height: 14rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .work-panel-inner,
  .work-visual {
    transition: none;
  }
}

/* FAQ */

.faq {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 40rem;
}

.faq-item {
  padding: 1.25rem 1.5rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition:
    background 0.3s ease,
    border-color 0.3s ease;
}

.faq-item:hover {
  background: var(--bg);
  border-color: var(--border-strong);
}

.faq dt {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}

.faq dd {
  margin: 0;
  font-size: 0.875rem;
}

/* Contact */

.section--contact {
  padding-bottom: clamp(4rem, 10vw, 6rem);
}

.contact-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
}

.contact-intro .lead {
  margin-bottom: 2rem;
}

.contact-direct {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-direct a {
  font-weight: 500;
  text-decoration: none;
}

.form-card {
  padding: 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field span {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font: inherit;
  color: var(--ink);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  background: var(--bg);
}

.field textarea {
  resize: vertical;
  min-height: 5.5rem;
}

.form-status {
  font-size: 0.875rem;
  color: var(--ink);
}

.form-status[data-type="error"] {
  color: #dc2626;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Footer */

.site-footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--border);
  background: var(--bg-subtle);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand {
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}

.footer-nav {
  display: flex;
  gap: 1.25rem;
}

.footer-nav a {
  font-size: 0.8125rem;
  text-decoration: none;
  color: var(--ink-muted);
}

.footer-copy {
  margin: 0;
  font-size: 0.75rem;
  color: var(--ink-faint);
}

/* Cookie */

.cookie-banner {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  z-index: 60;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  width: min(calc(100% - 2rem), 26rem);
  padding: 1rem 1.25rem;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--bg);
  font-size: 0.8125rem;
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(10, 10, 15, 0.2);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin: 0;
  flex: 1;
}

.cookie-banner a {
  color: #93c5fd;
}

.cookie-banner .btn-primary {
  background: var(--bg);
  color: var(--ink);
}

/* Legal */

.legal-body {
  padding-bottom: 4rem;
}

.legal-body .page-bg {
  display: none;
}

.legal-main {
  padding-top: clamp(2rem, 6vw, 4rem);
}

.legal-content {
  width: var(--wrap);
  margin-inline: auto;
}

.legal-content h1 {
  margin-bottom: 1.25rem;
}

.legal-content h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.25rem;
}

.legal-updated {
  font-size: 0.8125rem;
  color: var(--ink-faint);
}

.legal-lead {
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.legal-notice {
  padding: 1rem 0;
  margin-bottom: 1.5rem;
  border-block: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--ink-faint);
}

.legal-content ul {
  padding-left: 1.25rem;
  margin: 0 0 1rem;
}

.legal-content code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  color: var(--ink);
}
