/* ==========================================================================
   Webvane — Design System
   Noir/Paper base, Acid Lime accent, Fraunces + Plus Jakarta Sans
   ========================================================================== */

:root {
  /* ---- Color: roles, not swatches ---- */
  --noir: #0b0c0e;
  --noir-raised: #15181c;
  --noir-border: #26292e;
  --paper: #f7f7f8;
  --paper-raised: #ffffff;
  --paper-dim: #ececed;
  --paper-border: #dcdcdf;
  --ink: #0b0c0e;
  --ink-soft: #53565c;
  --bone: #f7f7f8;
  --bone-soft: #c7c8cc;
  --accent: #0ea968;
  --accent-ink: #0b0c0e;
  --accent-dim: #0b7a46;
  --accent-on-light: #0b6b3e;
  --danger: #ff5a4e;
  --success: #23c16b;

  /* ---- Type ---- */
  --font-display: "Fraunces", "Iowan Old Style", ui-serif, serif;
  --font-body: "Plus Jakarta Sans", "Inter", ui-sans-serif, system-ui, sans-serif;

  /* fluid type scale */
  --fs-label: 0.8125rem;
  --fs-body: 1rem;
  --fs-body-lg: clamp(1.0625rem, 0.98rem + 0.35vw, 1.25rem);
  --fs-h3: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem);
  --fs-h2: clamp(2rem, 1.6rem + 1.8vw, 3.25rem);
  --fs-h1: clamp(2.75rem, 1.9rem + 4vw, 6rem);
  --fs-stat: clamp(2.5rem, 1.8rem + 3.2vw, 5rem);

  /* ---- Spacing (4pt system) ---- */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;
  --sp-32: 8rem;

  /* ---- Motion ---- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 150ms;
  --dur-base: 250ms;
  --dur-slow: 450ms;

  /* ---- Shape / elevation ---- */
  --radius-sm: 4px;
  --radius-md: 12px;
  --radius-lg: 28px;
  --radius-full: 999px;
  --container: 1360px;
  --edge: clamp(1.25rem, 4vw, 4rem);

  /* ---- Layering ---- */
  --z-nav: 100;
  --z-overlay: 500;

  color-scheme: dark light;
}

/* ==========================================================================
   Reset
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--noir);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

/* Grain texture — cheap single-layer atmosphere, no image request */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Accessibility primitives
   ========================================================================== */

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--sp-4);
  z-index: 1200;
  background: var(--accent);
  color: var(--accent-ink);
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top var(--dur-base) var(--ease-out);
}

.skip-link:focus {
  top: var(--sp-4);
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

/* ==========================================================================
   Layout helpers
   ========================================================================== */

.wrap {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--edge);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
}

section {
  position: relative;
  padding-block: var(--sp-24);
  /* keeps the fixed header from covering a section jumped to via #anchor */
  scroll-margin-top: 6rem;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  margin-bottom: var(--sp-12);
}

@media (min-width: 768px) {
  .section-head {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: end;
  }
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.section-head p {
  color: var(--bone-soft);
  font-size: var(--fs-body-lg);
  max-width: 46ch;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-4) var(--sp-8);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  transition: transform var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
  min-height: 44px;
  white-space: nowrap;
  overflow: hidden;
}

/* Shine sweep — a diagonal streak of light passes through on hover/tap */
.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 45%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  transition: left var(--dur-slow) var(--ease-out);
  pointer-events: none;
  z-index: 1;
}

.btn:hover::before,
.btn:active::before {
  left: 125%;
}

.btn > * {
  position: relative;
  z-index: 2;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--bone);
}

.btn-primary:active {
  transform: translateY(0) scale(0.97);
}

.btn-ghost {
  background: transparent;
  color: var(--bone);
  border: 1px solid var(--noir-border);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-ghost .arrow,
.btn-primary .arrow {
  transition: transform var(--dur-base) var(--ease-out);
}

.btn:hover .arrow {
  transform: translateX(3px);
}

/* Underline-reveal link, used inline in copy/nav */
.link-reveal {
  position: relative;
  display: inline-block;
}

.link-reveal::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur-base) var(--ease-out);
}

.link-reveal:hover::after,
.link-reveal:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ==========================================================================
   Native cursors — no custom follower, ever
   ========================================================================== */

body {
  cursor: auto;
}

a,
button,
.nav-toggle,
.reel-controls button,
.pill-group label,
[role="button"],
[role="tab"] {
  cursor: pointer;
}

.reel {
  cursor: grab;
}

.reel.is-dragging {
  cursor: grabbing;
}

/* ==========================================================================
   Language switch (EN / BG)
   ========================================================================== */

.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--noir-border);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  min-width: 38px;
  min-height: 34px;
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--bone-soft);
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}

.lang-btn.is-active {
  background: var(--accent);
  color: var(--accent-ink);
}

.mobile-nav .lang-switch {
  margin-top: var(--sp-8);
  border-color: var(--noir-border);
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--accent-dim), var(--accent));
  z-index: calc(var(--z-nav) + 1);
  pointer-events: none;
}

.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: var(--z-nav);
  padding-block: var(--sp-6);
  transition: padding var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  padding-block: var(--sp-3);
  background: rgba(11, 12, 14, 0.82);
  backdrop-filter: blur(14px);
  border-color: var(--noir-border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.brand svg {
  width: 34px;
  height: 34px;
}

.brand strong {
  font-weight: 600;
}

.nav-links {
  display: none;
  align-items: center;
  gap: var(--sp-8);
  font-size: 0.9375rem;
  font-weight: 500;
}

@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  border: 1px solid var(--noir-border);
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }
}

.nav-toggle span {
  position: relative;
  width: 16px;
  height: 10px;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform var(--dur-base) var(--ease-out), top var(--dur-base) var(--ease-out);
}

.nav-toggle span::before {
  top: 0;
}

.nav-toggle span::after {
  top: 100%;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-nav) - 1);
  background: var(--noir);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--edge);
  transform: translateY(-100%);
  transition: transform var(--dur-slow) var(--ease-in-out);
}

.mobile-nav.is-open {
  transform: translateY(0);
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 10vw, 3rem);
  font-weight: 500;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(8rem, 20vh, 12rem);
  padding-bottom: var(--sp-24);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin-block: var(--sp-6);
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-lede {
  font-size: var(--fs-body-lg);
  color: var(--bone-soft);
  max-width: 52ch;
  margin-inline: auto;
  margin-bottom: var(--sp-8);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-4);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3) var(--sp-6);
  margin-top: var(--sp-10, var(--sp-8));
}

.hero-fact {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--bone-soft);
}

.hero-fact svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

.scroll-cue {
  position: absolute;
  bottom: var(--sp-8);
  left: var(--edge);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--fs-label);
  color: var(--bone-soft);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-cue .line {
  width: 1px;
  height: 40px;
  background: linear-gradient(var(--bone-soft), transparent);
  animation: scroll-cue 2.2s var(--ease-in-out) infinite;
}

@keyframes scroll-cue {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
  50.1% {
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* marquee strip */
.marquee {
  border-block: 1px solid var(--noir-border);
  overflow: hidden;
  padding-block: var(--sp-6);
}

.marquee-track {
  display: flex;
  gap: var(--sp-16);
  width: max-content;
  animation: marquee 32s linear infinite;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.marquee-track span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--bone-soft);
  white-space: nowrap;
}

/* ==========================================================================
   Laptop device mockup — CSS-built bezel, no stock photography needed.
   Screen slot holds a .mock-ui (hand-built fake interface, see below).
   ========================================================================== */

.laptop-mock {
  position: relative;
  max-width: 920px;
  margin-inline: auto;
}

.laptop-mock::before {
  content: "";
  position: absolute;
  inset: -18% -12%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(212, 255, 0, 0.12), transparent 72%);
  filter: blur(20px);
}

.laptop-mock__screen {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #000;
  padding: 10px 10px 16px;
  border-radius: 16px 16px 4px 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 60px 100px -35px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.laptop-mock__notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 16%;
  height: 9px;
  background: #000;
  border-radius: 0 0 8px 8px;
  z-index: 2;
}


.laptop-mock__base {
  height: 16px;
  margin-inline: -3%;
  background: linear-gradient(180deg, #dcdcdf, #b7b7ba 60%, #9c9ca0);
  border-radius: 0 0 10px 10px;
  position: relative;
  box-shadow: 0 14px 28px -8px rgba(0, 0, 0, 0.5);
}

.laptop-mock__base::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 12%;
  height: 4px;
  background: #8f8f93;
  border-radius: 0 0 5px 5px;
}

/* Smaller variant used inside portfolio cards */
.case-art {
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-art .laptop-mock {
  width: 80%;
}

.case-art .laptop-mock__screen {
  box-shadow: 0 30px 60px -22px rgba(0, 0, 0, 0.65);
}

/* ==========================================================================
   Mock UI — hand-built fake interface for laptop screens.
   No photography, no external images: a self-contained, always-correct
   stand-in for a real product screenshot, built entirely from CSS.
   ========================================================================== */

.mock-ui {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  border-radius: 6px;
  overflow: hidden;
}

.mu-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 10px;
  background: var(--paper-dim);
  border-bottom: 1px solid var(--paper-border);
  flex-shrink: 0;
}

.mu-bar span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--paper-border);
}

.mu-url {
  margin-left: 6px;
  width: 40%;
  max-width: 110px;
  height: 10px;
  border-radius: 4px;
  background: var(--paper-border);
}

.mu-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--paper-border);
  flex-shrink: 0;
}

.mu-logo {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--ink);
  flex-shrink: 0;
}

.mu-navlink {
  width: 26px;
  height: 5px;
  border-radius: 3px;
  background: var(--paper-border);
}

.mu-cta {
  margin-left: auto;
  width: 44px;
  height: 14px;
  border-radius: var(--radius-full);
  background: var(--accent);
  flex-shrink: 0;
}

.mu-body {
  flex: 1;
  min-height: 0;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mu-line {
  display: block;
  height: 7px;
  border-radius: 4px;
  background: var(--paper-border);
}

.mu-line--big {
  height: 14px;
  border-radius: 5px;
}

.mu-line--accent {
  background: var(--accent);
}

.mu-line--dim {
  opacity: 0.5;
}

.mu-card {
  border: 1px solid var(--paper-border);
  border-radius: var(--radius-sm);
  background: var(--paper-raised);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 4px 10px -4px rgba(11, 12, 14, 0.18);
}

/* Photo-simulation thumbnails: distinct multi-stop gradients per tone so a
   row of "product photos" doesn't read as one repeated placeholder swatch. */
.mu-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--accent), var(--paper-border));
}

.mu-thumb--a {
  background: linear-gradient(150deg, #e8c9a3 0%, #c98f5e 45%, #7a4a32 100%);
}

.mu-thumb--b {
  background: linear-gradient(150deg, #c9d6c9 0%, #7fa189 45%, #3f5a48 100%);
}

.mu-thumb--c {
  background: linear-gradient(150deg, #e3ded2 0%, #b6a98f 45%, #6b5d47 100%);
}

.mu-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--paper-border));
  flex-shrink: 0;
}

.mu-avatar--a {
  background: linear-gradient(150deg, #f0c9b0, #b5673f);
}

.mu-avatar--b {
  background: linear-gradient(150deg, #cbd8e6, #5b7a99);
}

.mu-avatar--c {
  background: linear-gradient(150deg, #e6d6b8, #a98a4f);
}

.mu-stars {
  display: flex;
  gap: 2px;
}

.mu-stars span {
  width: 7px;
  height: 7px;
  background: var(--accent);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.mu-grid {
  display: grid;
  gap: 8px;
}

.mu-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mu-chart {
  flex: 1;
  min-height: 0;
}

.mu-chart svg {
  display: block;
  width: 100%;
  height: 100%;
}

.mu-hero {
  border-radius: 4px;
  background: linear-gradient(155deg, #1b2a22 0%, #234a35 40%, #2f7a54 75%, #0ea968 130%);
  flex-shrink: 0;
}

.mu-split {
  flex: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 10px;
  min-height: 0;
}

.mu-code {
  background: var(--noir);
  border-radius: var(--radius-sm);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mu-code .mu-line {
  background: var(--noir-border);
}

.mu-code .mu-line--accent {
  background: var(--accent);
}

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

/* Cascade delay for card grids — same reveal trigger, staggered playback */
.reel .case-card:nth-child(2) {
  transition-delay: 90ms;
}

.reel .case-card:nth-child(3) {
  transition-delay: 180ms;
}

.reel .case-card:nth-child(4) {
  transition-delay: 270ms;
}

.services-grid .service:nth-child(2) {
  transition-delay: 80ms;
}

.services-grid .service:nth-child(3) {
  transition-delay: 160ms;
}

.services-grid .service:nth-child(4) {
  transition-delay: 240ms;
}

.build-grid .build-card:nth-child(2) {
  transition-delay: 70ms;
}

.build-grid .build-card:nth-child(3) {
  transition-delay: 140ms;
}

.build-grid .build-card:nth-child(4) {
  transition-delay: 210ms;
}

.build-grid .build-card:nth-child(5) {
  transition-delay: 280ms;
}

/* ==========================================================================
   Portfolio reel
   ========================================================================== */

.reel-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-6);
  margin-bottom: var(--sp-10, var(--sp-8));
  flex-wrap: wrap;
}

.reel-controls {
  display: flex;
  gap: var(--sp-3);
}

.reel-controls button {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  border: 1px solid var(--noir-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out);
}

.reel-controls button:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}

.reel {
  display: flex;
  gap: var(--sp-6);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: var(--sp-4);
  margin: 0 calc(var(--edge) * -1);
  padding-inline: var(--edge);
  cursor: grab;
  scrollbar-width: none;
}

.reel.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.reel::-webkit-scrollbar {
  display: none;
}

.case-card {
  flex: 0 0 clamp(280px, 34vw, 420px);
  scroll-snap-align: start;
  border: 1px solid var(--noir-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--noir-raised);
  transition: border-color var(--dur-base) var(--ease-out), transform 0.5s var(--ease-out), opacity 0.5s var(--ease-out);
}

.case-card:hover {
  border-color: var(--accent-dim);
  transform: translateY(-4px);
}

.case-art {
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
}

.case-tag {
  position: absolute;
  top: var(--sp-4);
  left: var(--sp-4);
  background: var(--noir);
  color: var(--bone);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-full);
}

.case-body {
  padding: var(--sp-6);
}

.case-body h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 500;
  margin-bottom: var(--sp-2);
}

.case-meta {
  display: flex;
  justify-content: space-between;
  color: var(--bone-soft);
  font-size: 0.875rem;
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--noir-border);
}

.case-meta strong {
  color: var(--accent);
  font-weight: 600;
}

/* ==========================================================================
   Spotlight
   ========================================================================== */

.spotlight-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-16);
  align-items: center;
}

@media (min-width: 900px) {
  .spotlight-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.spotlight-art .laptop-mock {
  max-width: 620px;
}

.spotlight-body h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-top: var(--sp-3);
}

.spotlight-body > p {
  color: var(--bone-soft);
  font-size: var(--fs-body-lg);
  margin-top: var(--sp-4);
  max-width: 46ch;
}

.spotlight-steps {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  margin-block: var(--sp-8);
  border-top: 1px solid var(--noir-border);
  padding-top: var(--sp-6);
}

.spotlight-steps dt {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-1);
}

.spotlight-steps dd {
  margin: 0;
  color: var(--bone-soft);
  font-size: 0.9375rem;
  max-width: 52ch;
}

/* ==========================================================================
   Trusted-by strip
   ========================================================================== */

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3) var(--sp-6);
  padding-block: var(--sp-8);
  border-block: 1px solid var(--noir-border);
  text-align: center;
}

.trust-label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bone-soft);
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3);
}

.trust-pills span {
  padding: 0.4rem 1.1rem;
  border: 1px solid var(--noir-border);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--bone-soft);
  transition: border-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
}

.trust-pills span:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ==========================================================================
   Stats
   ========================================================================== */

.stats-band {
  background: var(--noir);
  color: var(--bone);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-8);
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat {
  border-top: 1px solid var(--noir-border);
  padding-top: var(--sp-6);
}

.stat .num {
  font-family: var(--font-display);
  font-size: var(--fs-stat);
  font-weight: 500;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  display: block;
}

.stat .num sup {
  font-size: 0.4em;
  top: -0.5em;
}

.stat .label {
  color: var(--bone-soft);
  font-size: 0.9375rem;
  margin-top: var(--sp-2);
  display: block;
}

/* ==========================================================================
   Story / manifesto
   ========================================================================== */

.story-wrap {
  max-width: 900px;
  text-align: center;
}

.story-wrap .eyebrow {
  justify-content: center;
}

.story-text {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.1rem + 2vw, 2.5rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin-top: var(--sp-8);
}

.story-text em {
  font-style: italic;
  color: var(--accent);
}

/* ==========================================================================
   Team
   ========================================================================== */

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
}

@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.team-card {
  padding: var(--sp-8);
  border: 1px solid var(--noir-border);
  border-radius: var(--radius-lg);
  transition: border-color var(--dur-base) var(--ease-out), transform 0.5s var(--ease-out), opacity 0.5s var(--ease-out);
}

.team-grid .team-card:nth-child(2) {
  transition-delay: 90ms;
}

.team-grid .team-card:nth-child(3) {
  transition-delay: 180ms;
}

.team-card:hover {
  border-color: var(--accent-dim);
  transform: translateY(-3px);
}

.team-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  margin-bottom: var(--sp-6);
}

.team-icon svg {
  width: 24px;
  height: 24px;
}

.team-card h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 500;
  margin-bottom: var(--sp-2);
}

.team-card p {
  color: var(--bone-soft);
  font-size: 0.9375rem;
}

/* ==========================================================================
   Services — asymmetric bento grid
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--noir-border);
  border: 1px solid var(--noir-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .service:nth-child(1) {
    grid-column: span 4;
  }
  .service:nth-child(2) {
    grid-column: span 2;
  }
  .service:nth-child(3) {
    grid-column: span 3;
  }
  .service:nth-child(4) {
    grid-column: span 3;
  }
}

.service {
  background: var(--noir);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--sp-12);
  min-height: 260px;
  transition: background var(--dur-base) var(--ease-out), transform 0.5s var(--ease-out), opacity 0.5s var(--ease-out);
}

.service:hover {
  background: var(--noir-raised);
  transform: translateY(-3px);
}

.service .service-index {
  transition: color var(--dur-base) var(--ease-out);
}

.service:hover .service-index {
  color: var(--accent);
}

.service-index {
  font-size: 0.8125rem;
  color: var(--bone-soft);
  font-variant-numeric: tabular-nums;
}

.service h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 500;
  margin-bottom: var(--sp-3);
}

.service p {
  color: var(--bone-soft);
  font-size: 0.9375rem;
  max-width: 40ch;
}

.service .link-reveal {
  margin-top: var(--sp-4);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--accent);
}

/* ==========================================================================
   Process
   ========================================================================== */

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
  counter-reset: process;
  position: relative;
}

@media (min-width: 900px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-8);
  }

  .process-grid::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 5%;
    right: 5%;
    height: 1px;
    background: var(--noir-border);
    z-index: 0;
  }
}

.process-step {
  position: relative;
  z-index: 1;
  transition: transform 0.5s var(--ease-out), opacity 0.5s var(--ease-out);
}

.process-grid .process-step:nth-child(2) {
  transition-delay: 90ms;
}

.process-grid .process-step:nth-child(3) {
  transition-delay: 180ms;
}

.process-grid .process-step:nth-child(4) {
  transition-delay: 270ms;
}

.process-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--noir);
  border: 1px solid var(--noir-border);
  font-family: var(--font-display);
  font-weight: 500;
  margin-bottom: var(--sp-6);
  transition: border-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}

.process-step:hover .process-index {
  border-color: var(--accent);
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  transform: scale(1.08);
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 500;
  margin-bottom: var(--sp-2);
}

.process-step p {
  color: var(--bone-soft);
  font-size: 0.9375rem;
  max-width: 34ch;
}

/* ==========================================================================
   Comparison table
   ========================================================================== */

.compare-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--noir-border);
  border-radius: var(--radius-lg);
}

.compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.compare-table th,
.compare-table td {
  text-align: left;
  padding: var(--sp-5, var(--sp-4)) var(--sp-6);
  vertical-align: top;
}

.compare-table thead th {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--bone-soft);
  border-bottom: 1px solid var(--noir-border);
}

.compare-table thead th:first-child {
  color: transparent;
}

.compare-table tbody th {
  font-weight: 600;
  color: var(--bone);
  white-space: nowrap;
}

.compare-table tbody tr:not(:last-child) th,
.compare-table tbody tr:not(:last-child) td {
  border-bottom: 1px solid var(--noir-border);
}

.compare-table td {
  color: var(--bone-soft);
}

.compare-table .is-featured {
  background: color-mix(in srgb, var(--accent) 7%, transparent);
  color: var(--bone);
  font-weight: 600;
  position: relative;
}

.compare-table thead th.is-featured {
  color: var(--accent);
}

/* ==========================================================================
   What We Build
   ========================================================================== */

.build-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--noir-border);
  border: 1px solid var(--noir-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

@media (min-width: 640px) {
  .build-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .build-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.build-card {
  background: var(--noir);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  transition: background var(--dur-base) var(--ease-out), transform 0.5s var(--ease-out), opacity 0.5s var(--ease-out);
}

.build-card:hover {
  background: var(--noir-raised);
  transform: translateY(-3px);
}

.build-index {
  font-size: 0.8125rem;
  color: var(--bone-soft);
  font-variant-numeric: tabular-nums;
  transition: color var(--dur-base) var(--ease-out);
}

.build-card:hover .build-index {
  color: var(--accent);
}

.build-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out);
}

.build-card:hover .build-icon {
  transform: scale(1.1) rotate(-4deg);
  background: color-mix(in srgb, var(--accent) 22%, transparent);
}

.build-icon svg {
  width: 22px;
  height: 22px;
}

.build-card h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 500;
  margin-top: var(--sp-2);
}

.build-card p {
  color: var(--bone-soft);
  font-size: 0.9375rem;
}

/* ==========================================================================
   Our Promise
   ========================================================================== */

.promise-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--noir-border);
  border: 1px solid var(--noir-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

@media (min-width: 768px) {
  .promise-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.promise-item {
  background: var(--noir);
  padding: var(--sp-8);
  display: flex;
  gap: var(--sp-5, var(--sp-4));
  align-items: flex-start;
  transition: background var(--dur-base) var(--ease-out), transform 0.5s var(--ease-out), opacity 0.5s var(--ease-out);
}

.promise-list .promise-item:nth-child(2) {
  transition-delay: 70ms;
}

.promise-list .promise-item:nth-child(3) {
  transition-delay: 140ms;
}

.promise-list .promise-item:nth-child(4) {
  transition-delay: 210ms;
}

.promise-list .promise-item:nth-child(5) {
  transition-delay: 280ms;
}

.promise-item:hover {
  background: var(--noir-raised);
}

.promise-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--accent-dim);
  color: var(--accent);
  margin-top: 2px;
}

.promise-icon svg {
  width: 16px;
  height: 16px;
}

.promise-item h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: var(--sp-1);
}

.promise-item p {
  color: var(--bone-soft);
  font-size: 0.9375rem;
}

/* ==========================================================================
   Built to a Standard
   ========================================================================== */

.standards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}

@media (min-width: 640px) {
  .standards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .standards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.standard-chip {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-5, var(--sp-4)) var(--sp-6);
  border: 1px solid var(--noir-border);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  transition: border-color var(--dur-base) var(--ease-out), transform 0.5s var(--ease-out), opacity 0.5s var(--ease-out);
}

.standard-chip:hover {
  border-color: var(--accent-dim);
}

.standard-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
}

.standard-icon svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   Calculator
   ========================================================================== */

.calculator {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: var(--sp-12) var(--edge);
  box-shadow: 0 60px 100px -50px rgba(0, 0, 0, 0.65);
  display: grid;
  gap: var(--sp-12);
}

@media (min-width: 1024px) {
  .calculator {
    grid-template-columns: 1.4fr 1fr;
  }
}

.calc-field {
  margin-bottom: var(--sp-8);
}

.calc-field > span {
  display: block;
  font-weight: 600;
  margin-bottom: var(--sp-3);
}

.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.pill-group input {
  position: absolute;
  opacity: 0;
  width: 44px;
  height: 44px;
}

.pill-group label {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: var(--sp-2) var(--sp-6);
  border-radius: var(--radius-full);
  border: 1px solid var(--paper-border);
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}

.pill-group input:checked + label {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.pill-group input:focus-visible + label {
  outline: 2px solid var(--accent-dim);
  outline-offset: 2px;
}

.calc-range {
  width: 100%;
  accent-color: var(--ink);
  height: 44px;
}

.calc-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--ink-soft);
}

.calc-output {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-md);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: sticky;
  top: var(--sp-24);
}

.calc-output .label {
  font-size: var(--fs-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bone-soft);
}

.calc-output .price {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.6rem + 2vw, 3rem);
  font-variant-numeric: tabular-nums;
  margin-block: var(--sp-3);
}

.calc-output .price .accent {
  color: var(--accent);
}

.calc-output p {
  color: var(--bone-soft);
  font-size: 0.875rem;
  margin-bottom: var(--sp-6);
}

/* ==========================================================================
   FAQ accordion
   ========================================================================== */

.faq-list {
  max-width: 860px;
  border-top: 1px solid var(--noir-border);
}

.faq-item {
  border-bottom: 1px solid var(--noir-border);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  padding-block: var(--sp-6);
  text-align: left;
  font-family: var(--font-display);
  font-size: var(--fs-body-lg);
  font-weight: 500;
}

.faq-icon {
  position: relative;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--bone-soft);
  transition: transform var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out);
}

.faq-icon::before {
  width: 14px;
  height: 1px;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 1px;
  height: 14px;
  transform: translate(-50%, -50%);
}

.faq-item.is-open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-item.is-open .faq-icon::before,
.faq-item:hover .faq-icon::before,
.faq-item:hover .faq-icon::after {
  background: var(--accent);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease-out);
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer-inner p {
  color: var(--bone-soft);
  font-size: 0.9375rem;
  max-width: 62ch;
  padding-bottom: var(--sp-6);
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

/* ==========================================================================
   What Happens Next
   ========================================================================== */

.next-steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10, var(--sp-8));
}

@media (min-width: 768px) {
  .next-steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.next-step {
  transition: transform 0.5s var(--ease-out), opacity 0.5s var(--ease-out);
}

.next-steps-grid .next-step:nth-child(2) {
  transition-delay: 90ms;
}

.next-steps-grid .next-step:nth-child(3) {
  transition-delay: 180ms;
}

.next-step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--noir-border);
  margin-bottom: var(--sp-3);
  transition: color var(--dur-base) var(--ease-out);
}

.next-step:hover .next-step-num {
  color: var(--accent);
}

.next-step h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 500;
  margin-bottom: var(--sp-2);
}

.next-step p {
  color: var(--bone-soft);
  font-size: 0.9375rem;
  max-width: 34ch;
}

/* ==========================================================================
   CTA Footer
   ========================================================================== */

.cta-band {
  position: relative;
  overflow: hidden;
  text-align: left;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-size: 60px 60px;
  background-image: linear-gradient(to right, color-mix(in srgb, var(--bone) 4%, transparent) 1px, transparent 1px), linear-gradient(to bottom, color-mix(in srgb, var(--bone) 4%, transparent) 1px, transparent 1px);
  mask-image: radial-gradient(ellipse 65% 60% at 30% 40%, black, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 65% 60% at 30% 40%, black, transparent 80%);
}

.cta-band::after {
  content: "";
  position: absolute;
  top: 10%;
  left: 15%;
  width: 55vw;
  height: 55vh;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 14%, transparent) 0%, transparent 70%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

.cta-band .wrap {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 1.8rem + 4.5vw, 6.5rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.02em;
  max-width: 16ch;
}

.cta-band h2 em {
  font-style: italic;
  color: var(--accent);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-8);
  margin-top: var(--sp-10, var(--sp-8));
}

.cta-email {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  border-bottom: 1px solid var(--noir-border);
  padding-bottom: var(--sp-2);
  transition: color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}

.cta-email:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ==========================================================================
   Contact form
   ========================================================================== */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5, var(--sp-4));
  max-width: 480px;
  margin-top: var(--sp-10, var(--sp-8));
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.form-row label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--bone-soft);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  background: var(--noir-raised);
  border: 1px solid var(--noir-border);
  border-radius: var(--radius-md);
  padding: var(--sp-3) var(--sp-4);
  color: var(--bone);
  font-family: inherit;
  font-size: 0.9375rem;
  resize: vertical;
  min-height: 44px;
  transition: border-color var(--dur-base) var(--ease-out);
}

.contact-form textarea {
  min-height: 110px;
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: none;
  border-color: var(--accent);
}

.contact-form button {
  align-self: flex-start;
  margin-top: var(--sp-2);
}

.contact-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-status {
  font-size: 0.875rem;
  min-height: 1.2em;
  margin: 0;
}

.form-status.is-success {
  color: var(--accent);
}

.form-status.is-error {
  color: var(--danger);
}

.form-status.is-pending {
  color: var(--bone-soft);
}

.form-alt {
  font-size: 0.875rem;
  color: var(--bone-soft);
  margin: 0;
}

/* ==========================================================================
   Contact panel — slide-in drawer opened from any "Start a Project" trigger
   ========================================================================== */

.contact-panel-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  display: flex;
  justify-content: flex-end;
  background: rgba(5, 6, 7, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-slow) var(--ease-out);
}

.contact-panel-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.contact-panel {
  position: relative;
  width: min(480px, 100%);
  height: 100%;
  background: var(--noir-raised);
  border-left: 1px solid var(--noir-border);
  padding: var(--sp-16) var(--sp-8) var(--sp-8);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--dur-slow) var(--ease-out);
  box-shadow: -50px 0 90px -30px rgba(0, 0, 0, 0.6);
}

.contact-panel-overlay.is-open .contact-panel {
  transform: translateX(0);
}

.contact-panel-close {
  position: absolute;
  top: var(--sp-6);
  right: var(--sp-6);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--noir-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bone);
  transition: border-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}

.contact-panel-close:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: rotate(90deg);
}

.contact-panel-close svg {
  width: 16px;
  height: 16px;
}

.contact-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.25rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-top: var(--sp-4);
}

.contact-panel h2 em {
  font-style: italic;
  color: var(--accent);
}

.contact-panel .contact-form {
  max-width: none;
}

/* ==========================================================================
   Cinematic Hero — pinned GSAP ScrollTrigger reveal (entry experience only)
   ========================================================================== */

.cinema-hero-aurora {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80vw;
  height: 60vh;
  transform: translate(calc(-50% + var(--px, 0px)), calc(-50% + var(--py, 0px)));
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--accent) 16%, transparent) 0%, color-mix(in srgb, var(--accent-dim) 12%, transparent) 40%, transparent 72%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: hero-breathe 8s var(--ease-in-out) infinite alternate;
}

@keyframes hero-breathe {
  0% {
    transform: translate(calc(-50% + var(--px, 0px)), calc(-50% + var(--py, 0px))) scale(1);
    opacity: 0.55;
  }
  100% {
    transform: translate(calc(-50% + var(--px, 0px)), calc(-50% + var(--py, 0px))) scale(1.12);
    opacity: 1;
  }
}

/*
  Soft lime "scan" band that sweeps slowly through the hero — a
  premium bloom-light beat, standing in for the reference component's
  WebGPU scan-line/bloom shader without needing a GPU render pipeline.
*/
.cinema-hero-scan {
  position: absolute;
  left: -10%;
  right: -10%;
  top: -34%;
  height: 34%;
  background: linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--accent) 30%, transparent) 45%, transparent 100%);
  filter: blur(28px);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;
  animation: hero-scan 10s ease-in-out infinite;
}

@keyframes hero-scan {
  0%,
  100% {
    transform: translateY(0%);
  }
  50% {
    transform: translateY(430%);
  }
}


.cinema-hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
  background-size: 60px 60px;
  background-image: linear-gradient(to right, color-mix(in srgb, var(--bone) 4%, transparent) 1px, transparent 1px), linear-gradient(to bottom, color-mix(in srgb, var(--bone) 4%, transparent) 1px, transparent 1px);
  mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
}

.cinema-hero-giant {
  position: absolute;
  bottom: -5vh;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  font-family: var(--font-body);
  font-size: 22vw;
  line-height: 0.75;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: transparent;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(180deg, color-mix(in srgb, var(--bone) 14%, transparent) 0%, transparent 60%);
  -webkit-background-clip: text;
  background-clip: text;
}

/*
  Pulled out of the flex flow entirely (position:absolute) so it never
  competes for vertical space with the centered heading — it sits inert
  and invisible at rest; GSAP fades it in as a scroll-driven transition
  device only, never overlapping the initial-screen content.
*/
.cinema-hero-marquee {
  position: absolute;
  left: 50%;
  bottom: 16%;
  z-index: 1;
  width: min(1100px, 88vw);
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  border-block: 1px solid var(--noir-border);
  background: color-mix(in srgb, var(--noir) 60%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding-block: var(--sp-3);
  transform: translateX(-50%) rotate(-1.5deg);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
}

.cinema-hero-marquee-track {
  display: flex;
  width: max-content;
  gap: var(--sp-2);
  animation: hero-marquee 36s linear infinite;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bone-soft);
}

.cinema-hero-marquee-track span {
  padding-inline: var(--sp-3);
}

.cinema-hero-marquee-track .dot {
  color: var(--accent);
}

@keyframes hero-marquee {
  to {
    transform: translateX(-50%);
  }
}

.cinema-hero-content {
  position: relative;
  z-index: 2;
}

@media (max-width: 640px) {
  .cinema-hero-giant {
    font-size: 32vw;
  }
}

/* ==========================================================================
   Minimal Footer
   ========================================================================== */

.site-footer-mini {
  border-top: 1px solid var(--noir-border);
  padding-block: var(--sp-16) var(--sp-8);
}

.footer-mini-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--sp-8);
  padding-bottom: var(--sp-10, var(--sp-8));
}

.footer-mini-brand p {
  color: var(--bone-soft);
  font-size: 0.875rem;
  margin-top: var(--sp-3);
  max-width: 32ch;
}

.footer-mini-nav,
.footer-mini-social {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-6);
  font-size: 0.9375rem;
  align-content: start;
}

.footer-mini-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-top: var(--sp-8);
  border-top: 1px solid var(--noir-border);
  color: var(--bone-soft);
  font-size: 0.8125rem;
}

.footer-mini-bottom span {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1) var(--sp-3);
}

.footer-mini-bottom a:hover {
  color: var(--accent);
}
