/* =========================================================
   Digital Choice EG — brand site
   ========================================================= */

:root {
  --orange: #f4552e;
  --orange-deep: #d8401b;
  --orange-soft: #fdede7;
  --ink: #14100f;
  --ink-2: #241e1c;
  --muted: #6d6460;
  --paper: #ffffff;
  --cream: #faf6f1;
  --cream-2: #f2ebe3;
  --line: rgba(20, 16, 15, 0.09);
  --line-strong: rgba(20, 16, 15, 0.16);

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(64px, 9vw, 120px);

  --font-display: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --shadow-sm: 0 1px 2px rgba(20, 16, 15, 0.06), 0 8px 24px -12px rgba(20, 16, 15, 0.16);
  --shadow-md: 0 2px 6px rgba(20, 16, 15, 0.05), 0 30px 60px -30px rgba(20, 16, 15, 0.35);
  --shadow-lg: 0 40px 80px -40px rgba(20, 16, 15, 0.5);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.028em; line-height: 1.08; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--orange); color: #fff; }

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ---------- Type helpers ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-deep);
}
.eyebrow.light { color: rgba(255, 255, 255, 0.62); }

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(244, 85, 46, 0.5);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(244, 85, 46, 0.45); }
  70% { box-shadow: 0 0 0 9px rgba(244, 85, 46, 0); }
  100% { box-shadow: 0 0 0 0 rgba(244, 85, 46, 0); }
}

.accent {
  color: var(--orange);
  position: relative;
  white-space: nowrap;
}

/* ---------- Buttons ---------- */

.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    box-shadow 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  --btn-bg: var(--orange);
  box-shadow: 0 10px 24px -12px rgba(244, 85, 46, 0.9);
}
.btn-primary:hover {
  --btn-bg: var(--orange-deep);
  box-shadow: 0 16px 30px -14px rgba(244, 85, 46, 0.95);
}

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { --btn-bg: var(--ink); --btn-fg: #fff; border-color: var(--ink); }

.btn-light { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn-light:hover { --btn-bg: var(--orange); --btn-fg: #fff; }

.btn-sm { padding: 10px 18px; font-size: 14px; }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease),
    backdrop-filter 0.35s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(250, 246, 241, 0.82);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-mark {
  width: 50px;
  height: auto;
  transition: transform 0.4s var(--ease);
}
.brand-wordmark {
  width: 112px;
  height: auto;
}
.brand:hover .brand-mark { transform: scale(1.04); }

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav > a:not(.btn) {
  position: relative;
  font-size: 14.5px;
  color: var(--ink-2);
  padding-block: 6px;
  transition: color 0.2s var(--ease);
}
.nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}
.nav > a:not(.btn):hover { color: var(--ink); }
.nav > a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 50%;
  width: 16px;
  height: 1.6px;
  background: var(--ink);
  transform: translateX(-50%);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 18px; }
.menu-toggle span:nth-child(2) { bottom: 18px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: translateX(-50%) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { bottom: 21px; transform: translateX(-50%) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-top: clamp(120px, 15vw, 168px);
  padding-bottom: clamp(56px, 7vw, 88px);
  background: var(--cream);
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(20, 16, 15, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 16, 15, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 90% at 70% 10%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 90% at 70% 10%, #000 20%, transparent 78%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  right: -180px;
  top: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 85, 46, 0.16), transparent 65%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero-copy h1 {
  margin-top: 22px;
  font-size: clamp(2.4rem, 4.4vw, 3.85rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: 600;
  max-width: 21ch;
}

.hero-copy .lead {
  margin-top: 22px;
  max-width: 46ch;
  font-size: clamp(1rem, 1.15vw, 1.075rem);
  color: var(--muted);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
}
.hero-points li {
  position: relative;
  padding-left: 18px;
}
.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 1px;
}

/* Hero visual */

.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}

.pixel-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.pixel-field span {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--ice, var(--orange));
  border-radius: 2px;
  opacity: 0.22;
  animation: drift 7s ease-in-out infinite;
}
.pixel-field span:nth-child(3n) { background: var(--ink); opacity: 0.12; }
.pixel-field span:nth-child(1)  { top: 6%;  left: 10%; width: 8px;  height: 8px; }
.pixel-field span:nth-child(2)  { top: 3%;  left: 52%; width: 6px;  height: 6px; animation-delay: -1s; }
.pixel-field span:nth-child(3)  { top: 16%; left: 88%; width: 12px; height: 12px; animation-delay: -2s; }
.pixel-field span:nth-child(4)  { top: 38%; left: 2%;  width: 14px; height: 14px; animation-delay: -3s; }
.pixel-field span:nth-child(5)  { top: 44%; left: 94%; width: 7px;  height: 7px; animation-delay: -1.5s; }
.pixel-field span:nth-child(6)  { top: 72%; left: 6%;  width: 9px;  height: 9px; animation-delay: -4s; }
.pixel-field span:nth-child(7)  { top: 88%; left: 30%; width: 8px;  height: 8px; animation-delay: -2.5s; }
.pixel-field span:nth-child(8)  { top: 94%; left: 70%; width: 12px; height: 12px; animation-delay: -3.5s; }
.pixel-field span:nth-child(9)  { top: 62%; left: 97%; width: 5px;  height: 5px; animation-delay: -0.5s; }
.pixel-field span:nth-child(10) { top: 24%; left: 30%; width: 5px;  height: 5px; animation-delay: -5s; }
.pixel-field span:nth-child(11) { top: 8%;  left: 76%; width: 5px;  height: 5px; animation-delay: -2.2s; }
.pixel-field span:nth-child(12) { top: 80%; left: 88%; width: 6px;  height: 6px; animation-delay: -4.5s; }

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(4px, -10px, 0); }
}

.mock-window {
  position: relative;
  width: min(100%, 440px);
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid rgba(20, 16, 15, 0.07);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transform: rotate(-1.5deg);
  animation: floaty 9s ease-in-out infinite;
}

@keyframes floaty {
  0%, 100% { transform: rotate(-1.5deg) translateY(0); }
  50% { transform: rotate(-1.5deg) translateY(-12px); }
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: #fdfbf9;
}
.mock-dots { display: inline-flex; gap: 5px; }
.mock-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line-strong);
}
.mock-dots i:first-child { background: var(--orange); }
.mock-url {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted);
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--cream-2);
}

.mock-body { padding: 22px; }

.mock-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.mock-lines { display: grid; gap: 7px; flex: 1; }
.line { display: block; border-radius: 3px; background: var(--cream-2); }
.line.lg { height: 14px; width: 78%; background: var(--ink); opacity: 0.85; }
.line.md { height: 8px; width: 60%; }
.line.sm { height: 8px; width: 40%; }
.mock-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1a7f4b;
  background: #e8f7ee;
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
}

.mock-chart {
  position: relative;
  height: 108px;
  margin-top: 22px;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--orange-soft), rgba(253, 237, 231, 0.25));
  overflow: hidden;
}
.chart-bars {
  position: absolute;
  inset: auto 14px 14px;
  height: 76px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.chart-bars span {
  flex: 1;
  height: var(--h);
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, var(--orange), rgba(244, 85, 46, 0.35));
  transform: scaleY(0.05);
  transform-origin: bottom;
  opacity: 0.9;
  transition: transform 0.9s var(--ease);
}
.chart-bars span:nth-child(2n) { opacity: 0.55; }
.is-visible .chart-bars span { transform: scaleY(1); }
.is-visible .chart-bars span:nth-child(1) { transition-delay: 0.05s; }
.is-visible .chart-bars span:nth-child(2) { transition-delay: 0.1s; }
.is-visible .chart-bars span:nth-child(3) { transition-delay: 0.15s; }
.is-visible .chart-bars span:nth-child(4) { transition-delay: 0.2s; }
.is-visible .chart-bars span:nth-child(5) { transition-delay: 0.25s; }
.is-visible .chart-bars span:nth-child(6) { transition-delay: 0.3s; }
.is-visible .chart-bars span:nth-child(7) { transition-delay: 0.35s; }
.is-visible .chart-bars span:nth-child(8) { transition-delay: 0.4s; }

.chart-line {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 16px;
  width: calc(100% - 28px);
  height: 60px;
  overflow: visible;
}
.chart-line path {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.65;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  transition: stroke-dashoffset 1.6s var(--ease) 0.2s;
}
.is-visible .chart-line path { stroke-dashoffset: 0; }

.mock-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}
.mock-card {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fdfbf9;
  display: grid;
  gap: 8px;
}
.chip { width: 18px; height: 18px; border-radius: 6px; display: block; }
.chip.a { background: var(--orange); }
.chip.b { background: var(--ink); }
.chip.c { background: #f6c2b2; }
.line.xs { height: 6px; width: 90%; }
.line.xxs { height: 6px; width: 55%; }

.code-card {
  position: absolute;
  right: -6px;
  top: 4%;
  width: 236px;
  border-radius: 14px;
  background: #1c1715;
  color: #f6efe8;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(2.5deg);
  animation: floaty2 8s ease-in-out infinite;
}
@keyframes floaty2 {
  0%, 100% { transform: rotate(2.5deg) translateY(0); }
  50% { transform: rotate(2.5deg) translateY(10px); }
}
.code-head {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.code-head span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}
.code-head span:first-child { background: var(--orange); }
.code-head em {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-style: normal;
  color: rgba(255, 255, 255, 0.45);
}
.code-card pre {
  margin: 0;
  padding: 14px 14px 16px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.85;
  overflow: hidden;
}
.code-card code { white-space: pre; }
.c-key { color: #f6a58e; }
.c-attr { color: #f5c78a; }
.c-str { color: #a8d4a0; }

.float-badge {
  position: absolute;
  left: -4px;
  bottom: 4%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-md);
  animation: floaty3 10s ease-in-out infinite;
}
@keyframes floaty3 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
.float-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--orange);
}
.float-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.float-badge strong { display: block; font-size: 13px; font-weight: 600; letter-spacing: -0.01em; }
.float-badge small { display: block; font-size: 11.5px; color: var(--muted); }

/* ---------- Partners ---------- */

.partners {
  background: var(--cream);
  border-top: 1px solid var(--line);
  padding-block: 26px;
}
.partners-inner {
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
}
.partners-label {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-right: clamp(16px, 3vw, 40px);
  border-right: 1px solid var(--line-strong);
  line-height: 1.5;
}
.marquee {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}
.partner {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  opacity: 0.55;
  white-space: nowrap;
  transition: opacity 0.25s var(--ease);
}
.partner:hover { opacity: 1; }
.partner em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--orange);
  vertical-align: super;
  margin-left: 2px;
}

/* ---------- Sections ---------- */

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

.section-head { margin-bottom: clamp(36px, 5vw, 56px); max-width: 720px; }
.section-head.split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 24px 48px;
  align-items: end;
  max-width: none;
}
.section-head h2 {
  margin-top: 18px;
  font-size: clamp(1.9rem, 3.5vw, 2.85rem);
  letter-spacing: -0.038em;
  line-height: 1.06;
  max-width: 20ch;
}
.section-sub {
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 42ch;
  padding-bottom: 6px;
}

/* ---------- About ---------- */

.about { background: var(--paper); }

.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.mission-card {
  position: relative;
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--radius);
  background: var(--cream);
  border: 1px solid var(--line);
  overflow: hidden;
}
.mission-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--orange);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s var(--ease);
}
.mission-card:hover::before { transform: scaleY(1); }
.mission-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 14px;
}
.mission-card p {
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  line-height: 1.5;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.values {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.values li {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 13.5px;
  color: var(--ink-2);
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.values li:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  transform: translateY(-2px);
}

/* ---------- Services ---------- */

.services { background: var(--cream); border-block: 1px solid var(--line); }

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

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.6vw, 34px);
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(244, 85, 46, 0.28);
}
.service-card:hover .service-icon { background: var(--orange); border-color: var(--orange); color: #fff; }

.service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.service-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.service-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: var(--cream);
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.service-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.32rem);
  letter-spacing: -0.03em;
  line-height: 1.25;
  max-width: 24ch;
}
.service-card p {
  margin-top: 12px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 44ch;
}
.service-list {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed var(--line-strong);
  display: grid;
  gap: 8px;
}
.service-list li {
  position: relative;
  padding-left: 20px;
  font-size: 13.5px;
  color: var(--ink-2);
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: var(--orange);
}

.service-card-feature {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  overflow: hidden;
}
.service-card-feature:hover { border-color: var(--ink); }
.service-card-feature .service-icon {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.service-card-feature:hover .service-icon { background: var(--orange); border-color: var(--orange); }
.service-card-feature .service-num { color: rgba(255, 255, 255, 0.45); }
.service-card-feature p { color: rgba(255, 255, 255, 0.66); max-width: 52ch; }
.service-card-feature h3 { max-width: 22ch; }
.service-card-feature .service-list { border-top-color: rgba(255, 255, 255, 0.16); }
.service-card-feature .service-list li { color: rgba(255, 255, 255, 0.82); }

.feature-art {
  position: relative;
  min-height: 220px;
  display: grid;
  place-items: center;
}
.art-window {
  width: min(100%, 330px);
  padding: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  gap: 12px;
  transform: rotate(-2deg);
  backdrop-filter: blur(4px);
}
.art-row { display: flex; gap: 6px; }
.art-row i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); }
.art-row i:first-child { background: var(--orange); }
.art-block {
  height: 46px;
  border-radius: 8px;
  background: linear-gradient(100deg, rgba(244, 85, 46, 0.55), rgba(244, 85, 46, 0.12));
}
.art-block.short { height: 12px; width: 62%; background: rgba(255, 255, 255, 0.16); }
.art-bar { display: flex; align-items: flex-end; gap: 7px; height: 44px; margin-top: 2px; }
.art-bar b {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: rgba(255, 255, 255, 0.28);
  height: 45%;
}
.art-bar b:nth-child(2) { height: 70%; background: rgba(244, 85, 46, 0.8); }
.art-bar b:nth-child(3) { height: 55%; }
.art-bar b:nth-child(4) { height: 88%; background: rgba(244, 85, 46, 0.55); }
.art-bar b:nth-child(5) { height: 64%; }
.art-pixels {
  position: absolute;
  right: 6%;
  bottom: 12%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}
.art-pixels span {
  width: 7px;
  height: 7px;
  background: var(--orange);
  border-radius: 1px;
  opacity: 0.6;
}
.art-pixels span:nth-child(2n) { background: #fff; opacity: 0.25; }
.art-pixels span:nth-child(3) { opacity: 0.9; }

/* ---------- Work ---------- */

.work { background: var(--paper); }

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.work-card {
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
}
.work-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(20, 16, 15, 0.16);
}
.work-link { display: flex; flex-direction: column; height: 100%; }
.work-card-static { cursor: default; }
.work-card-static .work-title svg { display: none; }
.work-card-static:hover .shot-img { transform: none; }

.work-shot {
  display: block;
  padding: 18px 18px 0;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.shot-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  border-radius: 10px 10px 0 0;
  background: #fff;
  border: 1px solid var(--line);
  border-bottom: 0;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--muted);
}
.shot-bar i { width: 5px; height: 5px; border-radius: 50%; background: var(--line-strong); }
.shot-bar i:first-child { background: var(--orange); }
.shot-bar em {
  margin-left: 6px;
  font-style: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shot-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 577;
  object-fit: cover;
  object-position: top center;
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 10px 10px;
  transition: transform 0.6s var(--ease);
}
.work-card:hover .shot-img { transform: scale(1.035); }

.work-meta {
  display: grid;
  gap: 8px;
  padding: 20px 22px 24px;
  flex: 1;
  align-content: start;
}
.work-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.work-tags em {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: var(--cream-2);
  border-radius: 4px;
  padding: 3px 7px;
}
.work-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 17.5px;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.work-title svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.4;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.work-card:hover .work-title svg { transform: translate(2px, -2px); opacity: 1; color: var(--orange); }
.work-desc { font-size: 13.5px; color: var(--muted); line-height: 1.6; max-width: 48ch; }

/* ---------- Results ---------- */

.results {
  background: var(--ink);
  color: var(--cream);
}
.results h2 { color: var(--cream); }
.results .section-sub { color: rgba(255, 255, 255, 0.58); }
.results .eyebrow { color: var(--orange); }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 36px;
}
.stat-card {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.stat-value {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-unit { color: var(--orange); }
.stat-label {
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.68);
  max-width: 22ch;
}
.stat-meta {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.34);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 20px;
  margin-top: clamp(40px, 5vw, 60px);
}
.proof {
  display: flex;
  flex-direction: column;
  margin: 0;
}
.proof-frame {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
a.proof-frame:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.32);
}
.proof-frame .shot-bar {
  background: #f7f7f8;
  border-color: rgba(20, 16, 15, 0.08);
}
.proof-img {
  display: block;
  width: 100%;
  height: auto;
  border-top: 1px solid rgba(20, 16, 15, 0.08);
}
.proof figcaption {
  margin-top: auto;
  padding-top: 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}
.proof figcaption span { color: rgba(255, 255, 255, 0.9); }

/* ---------- Why ---------- */

.why { background: var(--cream); border-block: 1px solid var(--line); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.why-card {
  padding: clamp(22px, 2.4vw, 30px);
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 85, 46, 0.3);
  box-shadow: var(--shadow-sm);
}
.why-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--orange-soft);
  color: var(--orange-deep);
  margin-bottom: 18px;
}
.why-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.why-card h3 { font-size: 16.5px; letter-spacing: -0.025em; }
.why-card p { margin-top: 9px; font-size: 13.8px; color: var(--muted); line-height: 1.6; }

/* ---------- CTA ---------- */

.cta {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding-block: clamp(64px, 8vw, 104px);
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  width: 700px;
  height: 700px;
  right: -220px;
  bottom: -380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 85, 46, 0.35), transparent 62%);
  pointer-events: none;
}
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(90% 80% at 20% 20%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(90% 80% at 20% 20%, #000, transparent 75%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.cta-copy h2 {
  margin-top: 16px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  letter-spacing: -0.04em;
  line-height: 1.02;
  max-width: 18ch;
}
.cta-copy p:not(.eyebrow) {
  margin-top: 18px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.62);
  max-width: 44ch;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 30px;
}
.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.25s var(--ease);
}
.cta-link svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--orange);
}
.cta-link:hover { color: #fff; }

.cta-panel {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
  padding: 8px clamp(18px, 2vw, 26px);
}
.cta-panel-row {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 14px;
  align-items: baseline;
  padding-block: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}
.cta-panel-row:last-child { border-bottom: 0; }
.cta-panel-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}
.cta-panel-row a { color: #fff; transition: color 0.2s var(--ease); }
.cta-panel-row a:hover { color: var(--orange); }
.cta-panel-row > span:not(.cta-panel-label):not(.cta-socials) { color: rgba(255, 255, 255, 0.8); }
.cta-socials { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.cta-socials a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.cta-socials a:hover { color: var(--orange); border-color: var(--orange); }

/* ---------- Footer ---------- */

.site-footer {
  background: #0d0a09;
  color: rgba(255, 255, 255, 0.62);
  padding-top: clamp(48px, 6vw, 72px);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 0.9fr));
  gap: 40px 32px;
  padding-bottom: 48px;
}
.brand-footer .brand-mark { width: 52px; }
.footer-tagline {
  margin-top: 18px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: -0.01em;
}
.footer-loc { margin-top: 6px; font-size: 13px; color: rgba(255, 255, 255, 0.42); }

.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h3 {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 6px;
}
.footer-col a {
  font-size: 13.8px;
  color: rgba(255, 255, 255, 0.68);
  width: fit-content;
  transition: color 0.2s var(--ease);
}
.footer-col a:hover { color: var(--orange); }

.footer-socials { display: flex; gap: 8px; margin-top: 10px; }
.footer-socials a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.7);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease),
    color 0.25s var(--ease), transform 0.25s var(--ease);
}
.footer-socials a:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  transform: translateY(-2px);
}
.footer-socials svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  align-items: center;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.4);
}
.footer-handle { font-family: var(--font-mono); letter-spacing: 0.04em; }

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 1040px) {
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-copy h1 { max-width: 22ch; }
  .hero-visual { width: min(100%, 560px); margin-inline: auto; }
  .section-head.split { grid-template-columns: 1fr; align-items: start; }
  .section-sub { max-width: 56ch; padding-bottom: 0; }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-panel-row { grid-template-columns: 1fr; gap: 4px; }
  .cta-panel-row > a { font-size: 13.5px; }
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    inset: 78px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--gutter) 26px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -30px rgba(20, 16, 15, 0.4);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
      visibility 0.3s var(--ease);
  }
  .nav > a:not(.btn) {
    padding-block: 15px;
    font-size: 17px;
    border-bottom: 1px solid var(--line);
  }
  .nav > a:not(.btn)::after { display: none; }
  .nav .nav-cta { margin-top: 18px; align-self: flex-start; }
  .site-header.is-open .nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .site-header.is-scrolled .nav { background: var(--cream); }
  .menu-toggle { display: block; }

  .service-card-feature { grid-template-columns: 1fr; }
  .feature-art { min-height: 190px; order: -1; }
  .cta-inner { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .mission-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .code-card { right: -4px; top: -2%; width: 196px; }
  .float-badge { left: 0; bottom: -2%; }
  .partners-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .partners-label { border-right: 0; padding-right: 0; }
  .marquee { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .hero-points { gap: 8px 16px; font-size: 13px; }
}

@media (max-width: 520px) {
  .hero-visual { aspect-ratio: auto; padding-bottom: 40px; }
  .mock-window { transform: none; animation: none; }
  .code-card {
    position: static;
    width: 100%;
    margin-top: 14px;
    transform: none;
    animation: none;
  }
  .float-badge { position: static; margin-top: 14px; width: 100%; animation: none; }
  .pixel-field { display: none; }
  .cta-panel-row { grid-template-columns: 1fr; gap: 6px; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand-mark { width: 44px; }
  .brand-wordmark { width: 96px; }
  .stat-grid { gap: 18px 20px; }
  .stat-value { font-size: 1.85rem; }
  .stat-label { font-size: 12.5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .chart-bars span { transform: none; }
  .chart-line path { stroke-dashoffset: 0; }
}
