/* ==========================================================================
   WAVEFORM — shared stylesheet
   Display: Space Grotesk / Body: Inter / Utility: JetBrains Mono
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --bg: #FBFBFA;
  --bg-elevated: #F2F3F5;
  --bg-card: #FFFFFF;
  --bg-dark: #0B1220;
  --line: rgba(15, 23, 42, 0.10);
  --line-strong: rgba(15, 23, 42, 0.18);
  --text: #0F172A;
  --text-dim: #48526B;
  --text-faint: #8892A6;
  --text-on-dark: #F2F3F5;
  --text-on-dark-dim: #97A2BC;
  --indigo: #2454E0;
  --indigo-dim: #2454E01a;
  --coral: #C2540E;
  --coral-dim: #C2540E1a;
  --success: #1E8E5A;
  --grid-line: rgba(15, 23, 42, 0.06);

  --display: 'Space Grotesk', sans-serif;
  --body: 'Inter', -apple-system, sans-serif;
  --mono: 'JetBrains Mono', monospace;

  --container: 1180px;
  --edge: clamp(24px, 5vw, 64px);
  --radius: 12px;
  --radius-sm: 8px;
  --ease: cubic-bezier(.16,.84,.44,1);
  --shadow-card: 0 1px 2px rgba(15,23,42,.04), 0 14px 30px -16px rgba(15,23,42,.14);
  --shadow-lg: 0 4px 8px rgba(15,23,42,.04), 0 30px 60px -20px rgba(15,23,42,.22);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

@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;
    scroll-behavior: auto !important;
  }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }

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

/* subtle grain / noise texture over everything */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  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");
}

/* ---------- cursor glow ---------- */
.cursor-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, var(--indigo-dim) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: opacity .3s ease;
  opacity: 0;
  will-change: transform;
}
@media (hover: hover) {
  .cursor-glow.active { opacity: 1; }
}

/* ---------- layout helpers ---------- */
.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--edge);
  padding-right: var(--edge);
  position: relative;
  z-index: 1;
}

section { position: relative; z-index: 1; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--coral);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--coral);
}

/* ---------- nav ---------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 22px var(--edge);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, rgba(252,251,249,.94), rgba(252,251,249,0));
  backdrop-filter: blur(6px);
  transition: padding .3s var(--ease), background .3s var(--ease);
}
.site-nav.scrolled {
  padding-top: 14px;
  padding-bottom: 14px;
  background: rgba(252,251,249,.88);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(16,24,40,.03);
}
.brand {
  font-family: var(--display);
  font-weight: 600;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -.01em;
}
.brand-mark {
  width: 26px; height: 26px;
  position: relative;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  color: var(--text-dim);
  position: relative;
  padding: 4px 0;
  transition: color .2s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: var(--coral);
}
.nav-cta {
  font-family: var(--mono);
  font-size: 13px;
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  transition: border-color .25s ease, background .25s ease;
}
.nav-cta:hover { border-color: var(--coral); background: var(--coral-dim); }

.nav-toggle {
  display: none;
  width: 32px; height: 22px;
  position: relative;
  background: none;
  border: none;
}
.nav-toggle span {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: var(--text);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle span:nth-child(3) { bottom: 0; }

@media (max-width: 860px) {
  .nav-links { 
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(320px, 80vw);
    background: var(--bg-elevated);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px;
    gap: 28px;
    transform: translateX(100%);
    transition: transform .4s var(--ease);
    border-left: 1px solid var(--line);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 20px; }
  .nav-toggle { display: block; z-index: 600; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 14px;
  padding: 15px 26px;
  border-radius: 100px;
  border: 1px solid transparent;
  transition: transform .3s var(--ease), background .3s ease, border-color .3s ease;
  position: relative;
}
.btn-primary {
  background: var(--text);
  color: var(--bg);
}
.btn-primary:hover { transform: translateY(-2px); background: var(--coral); }
.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--indigo); background: var(--indigo-dim); transform: translateY(-2px); }
.btn svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translate(3px,-3px); }

/* ---------- reveal on scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].in { opacity: 1; transform: translateY(0); }
[data-reveal="fade"] { transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }
[data-reveal-delay="5"] { transition-delay: .4s; }

/* ---------- hero ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 120px;
  padding-bottom: 60px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.8fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
}
.hv-browser {
  position: absolute;
  top: 6%; left: 0;
  width: 88%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-card);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hv-browser .win-chrome { padding: 9px 10px; }
.hv-browser .win-chrome .dot:nth-child(1) { background: #E4A24A; }
.hv-browser .win-chrome .dot:nth-child(2) { background: #4FAE6A; }
.hv-browser .win-chrome .dot:nth-child(3) { background: #D65B5B; }
.hv-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}
.hv-kpis div {
  background: var(--bg-card);
  padding: 12px 14px;
}
.hv-kpis .lbl { font-family: var(--mono); font-size: 9px; color: var(--text-faint); text-transform: uppercase; letter-spacing: .05em; }
.hv-kpis .val { font-family: var(--display); font-weight: 600; font-size: 17px; margin-top: 4px; }
.hv-kpis .val.up { color: var(--success); }
.hv-chart-wrap {
  position: relative;
  height: 150px;
  background:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 32px 30px;
}
#waveform-canvas { width: 100%; height: 100%; display: block; }

.hv-phone {
  position: absolute;
  right: -2%; bottom: -4%;
  width: 42%;
  aspect-ratio: 9/18.5;
  background: var(--bg-dark);
  border-radius: 26px;
  padding: 8px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(15,23,42,.3);
}
.hv-phone-screen {
  width: 100%; height: 100%;
  background: var(--bg-card);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.hv-phone-bar {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px 4px;
  font-family: var(--mono);
  font-size: 8px;
  color: var(--text-faint);
}
.hv-phone-head {
  padding: 6px 14px 10px;
  border-bottom: 1px solid var(--line);
}
.hv-phone-head .t1 { font-family: var(--display); font-weight: 600; font-size: 13px; }
.hv-phone-head .t2 { font-family: var(--mono); font-size: 8px; color: var(--success); margin-top: 2px; display:block; }
.hv-phone-rows { padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.hv-phone-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 8px;
  background: var(--bg-elevated);
}
.hv-phone-row .sw { width: 20px; height: 20px; border-radius: 6px; flex-shrink: 0; }
.hv-phone-row .lines { flex: 1; }
.hv-phone-row .lines span { display: block; height: 5px; border-radius: 3px; background: var(--line-strong); }
.hv-phone-row .lines span:first-child { width: 70%; margin-bottom: 5px; }
.hv-phone-row .lines span:last-child { width: 40%; background: var(--line); }
.hv-phone-nav {
  display: flex;
  justify-content: space-around;
  padding: 10px 8px;
  border-top: 1px solid var(--line);
}
.hv-phone-nav span { width: 16px; height: 16px; border-radius: 5px; background: var(--line-strong); }
.hv-phone-nav span.on { background: var(--coral); }

.hv-tag {
  position: absolute;
  left: -10px; bottom: 14%;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--text-dim);
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-card);
  padding: 6px 12px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 7px;
  z-index: 4;
}
.hv-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { aspect-ratio: 6/5; order: -1; margin-top: 10px; }
  .hv-browser { width: 92%; }
  .hv-phone { width: 34%; }
}
@media (max-width: 480px) {
  .hero-visual { aspect-ratio: 4/5; }
}

.hero-kicker {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: .08em;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(74,222,128,.6);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(74,222,128,.5); }
  70% { box-shadow: 0 0 0 10px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}

.hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(38px, 6.6vw, 88px);
  line-height: 1.04;
  letter-spacing: -.03em;
  max-width: 15ch;
}
.hero h1 em {
  font-style: normal;
  font-weight: 400;
  color: var(--text-faint);
}
.hero h1 .accent {
  font-style: normal;
  position: relative;
  color: var(--coral);
  white-space: nowrap;
}
.hero h1 .accent::after {
  content: '';
  position: absolute;
  left: 2px; right: 2px; bottom: 6px;
  height: 10px;
  background: var(--coral-dim);
  z-index: -1;
  border-radius: 2px;
}

.hero-sub {
  margin-top: 28px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-dim);
  max-width: 46ch;
}
.hero-actions {
  margin-top: 44px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-meta {
  margin-top: 90px;
  display: flex;
  gap: clamp(24px, 5vw, 64px);
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-meta div span { display: block; }
.hero-meta .num {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 500;
}
.hero-meta .label {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-faint);
  margin-top: 4px;
}

/* ---------- section basics ---------- */
.section { padding: 130px 0; }
.section-tight { padding: 90px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 70px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(30px, 4vw, 52px);
  letter-spacing: -.01em;
  line-height: 1.1;
  max-width: 16ch;
}
.section-head p {
  color: var(--text-dim);
  max-width: 38ch;
  font-size: 16px;
}
.divider {
  height: 1px;
  background: var(--line);
  border: none;
  margin: 0;
}

/* ---------- pillars / services grid ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.pillar {
  background: var(--bg);
  padding: 44px 36px;
  transition: background .4s ease;
  position: relative;
}
.pillar:hover { background: var(--bg-card); box-shadow: var(--shadow-card); z-index: 2; }
.pillar .num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-faint);
}
.pillar h3 {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 500;
  margin: 22px 0 14px;
}
.pillar p { color: var(--text-dim); font-size: 15px; margin-bottom: 22px; }
.pillar-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pillar-list li {
  font-size: 13px;
  color: var(--text-faint);
  font-family: var(--mono);
  display: flex;
  align-items: center;
  gap: 8px;
}
.pillar-list li::before {
  content: '';
  width: 4px; height: 4px;
  background: var(--coral);
  border-radius: 50%;
  flex-shrink: 0;
}
@media (max-width: 860px) {
  .pillars { grid-template-columns: 1fr; }
}

/* ---------- marquee ---------- */
.marquee-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: marquee 32s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-track span {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--text-faint);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 60px;
}
.marquee-track span::after {
  content: '◆';
  color: var(--coral);
  font-size: 8px;
}

/* ---------- work / case study cards ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.work-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 0 32px;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  justify-content: space-between;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-card);
}
.work-card:hover { transform: translateY(-6px); box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 24px 40px -16px rgba(16,24,40,.18); }
.work-card-media {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-elevated);
  position: relative;
}
.work-card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.15) saturate(1.05);
  transition: transform .6s var(--ease);
}
.work-card:hover .work-card-media img { transform: scale(1.05); }

/* ---- technical mock-panel thumbnails (replace photography) ---- */
.mock-panel {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 20px 20px;
  background-color: var(--bg-card);
  transition: transform .6s var(--ease);
}
.work-card:hover .mock-panel { transform: scale(1.035); }
.mock-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-card);
}
.mock-bar span { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); }
.mock-tab {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-faint);
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  padding: 2px 9px;
}
.mock-body { flex: 1; display: flex; align-items: flex-end; padding: 18px 20px 16px; gap: 8px; }
.mock-web .mock-body { align-items: flex-end; }
.mock-web .bars { display: flex; align-items: flex-end; gap: 7px; width: 100%; height: 100%; }
.mock-web .bars i { flex: 1; background: linear-gradient(180deg, var(--indigo), var(--indigo-dim)); border-radius: 3px 3px 0 0; opacity: .85; }
.mock-web .bars i:nth-child(6) { opacity: 1; }

.mock-mobile .mock-body { align-items: stretch; justify-content: center; }
.mock-mobile .mpm { width: 84px; background: var(--bg-dark); border-radius: 14px; padding: 5px; box-shadow: var(--shadow-card); }
.mock-mobile .mpm-screen { background: var(--bg-card); border-radius: 9px; overflow: hidden; padding: 8px 7px; }
.mock-mobile .mpm-head { height: 8px; width: 60%; background: var(--coral); border-radius: 3px; margin-bottom: 8px; }
.mock-mobile .mpm-row { height: 14px; background: var(--bg-elevated); border-radius: 4px; margin-bottom: 5px; }
.mock-mobile .mpm-row:last-child { margin-bottom: 0; width: 65%; }

.mock-marketing .mock-body { flex-direction: column; align-items: stretch; justify-content: center; gap: 7px; }
.mock-marketing .funnel i { display: block; height: 12px; border-radius: 3px; background: linear-gradient(90deg, var(--coral), var(--indigo)); }
.mock-marketing .funnel i:nth-child(1) { width: 92%; opacity: 1; }
.mock-marketing .funnel i:nth-child(2) { width: 70%; opacity: .8; }
.mock-marketing .funnel i:nth-child(3) { width: 48%; opacity: .6; }
.mock-marketing .funnel i:nth-child(4) { width: 27%; opacity: .4; }

.work-tag.tag-web { color: var(--indigo); border-color: var(--indigo-dim); }
.work-tag.tag-marketing { color: var(--coral); border-color: var(--coral-dim); }
.work-tag.tag-mobile { color: var(--success); border-color: #1E8E5A2a; }
.work-card-body { padding: 28px 32px 0; display: flex; flex-direction: column; flex: 1; justify-content: space-between; }
.work-card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.work-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--indigo);
  border: 1px solid var(--indigo-dim);
  padding: 5px 10px;
  border-radius: 100px;
}
.work-card h3 {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
  margin-top: 26px;
}
.work-card .client { font-family: var(--mono); font-size: 12px; color: var(--text-faint); margin-top: 6px; }
.work-card p { color: var(--text-dim); font-size: 14.5px; margin-top: 16px; max-width: 46ch; }
.work-stats {
  display: flex;
  gap: 28px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.work-stats div span { display: block; }
.work-stats .v { font-family: var(--display); font-size: 22px; }
.work-stats .l { font-family: var(--mono); font-size: 10.5px; color: var(--text-faint); margin-top: 2px; }
.work-card-glow {
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .12;
  top: -80px; right: -80px;
  pointer-events: none;
}
@media (max-width: 860px) {
  .work-grid { grid-template-columns: 1fr; }
}

/* ---------- process ---------- */
.process-list { display: flex; flex-direction: column; }
.process-item {
  display: grid;
  grid-template-columns: 90px 1fr 1fr;
  gap: 32px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.process-item:last-child { border-bottom: 1px solid var(--line); }
.process-item .step {
  font-family: var(--mono);
  color: var(--text-faint);
  font-size: 13px;
  padding-top: 6px;
}
.process-item h4 {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 500;
}
.process-item p { color: var(--text-dim); font-size: 15px; }
@media (max-width: 720px) {
  .process-item { grid-template-columns: 1fr; gap: 12px; }
}

/* ---------- stats strip ---------- */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat-block {
  padding: 44px 30px;
  border-left: 1px solid var(--line);
  text-align: left;
}
.stat-block:first-child { border-left: none; }
.stat-block .num {
  font-family: var(--display);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 500;
  color: var(--text);
}
.stat-block .lbl {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-faint);
  margin-top: 8px;
}
@media (max-width: 860px) {
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-block:nth-child(3) { border-left: none; }
}
@media (max-width: 500px) {
  .stats-strip { grid-template-columns: 1fr; }
  .stat-block { border-left: none !important; border-top: 1px solid var(--line); }
  .stat-block:first-child { border-top: none; }
}

/* ---------- cta band ---------- */
.cta-band {
  padding: 130px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2 {
  font-family: var(--display);
  font-size: clamp(34px, 6vw, 68px);
  font-weight: 500;
  letter-spacing: -.02em;
  max-width: 18ch;
  margin: 0 auto 40px;
}
.cta-band .actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-on-dark-dim);
  padding: 80px 0 30px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer-brand .brand { color: var(--text-on-dark); }
.footer-brand .brand svg path { stroke: var(--coral); }
.footer-brand p { color: var(--text-on-dark-dim); font-size: 14px; margin-top: 18px; max-width: 30ch; }
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(243,241,236,0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
  color: var(--text-on-dark-dim);
}
.footer-social a:hover {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
  transform: translateY(-2px);
}
.footer-social svg { width: 16px; height: 16px; }
.footer-col h5 {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(243,241,236,0.45);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--text-on-dark-dim); font-size: 14.5px; transition: color .2s ease; }
.footer-col a:hover { color: var(--coral); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(243,241,236,0.12);
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(243,241,236,0.4);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: rgba(243,241,236,0.55); }
.footer-bottom a:hover { color: var(--coral); }
@media (max-width: 960px) {
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 640px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 460px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* ---------- page hero (interior pages) ---------- */
.page-hero {
  padding: 160px 0 80px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(38px, 6vw, 74px);
  letter-spacing: -.02em;
  max-width: 18ch;
}
.page-hero p {
  margin-top: 24px;
  color: var(--text-dim);
  font-size: 18px;
  max-width: 48ch;
}
.crumb {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-faint);
  margin-bottom: 20px;
}
.crumb a { color: var(--text-dim); }
.crumb a:hover { color: var(--coral); }

/* ---------- generic cards for about/values ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.value-card {
  border: 1px solid var(--line);
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-card);
}
.value-card .idx { font-family: var(--mono); color: var(--coral); font-size: 12px; }
.value-card h4 { font-family: var(--display); font-size: 21px; margin: 16px 0 10px; }
.value-card p { color: var(--text-dim); font-size: 14px; }
@media (max-width: 860px) { .value-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .value-grid { grid-template-columns: 1fr; } }

/* ---------- timeline (about) ---------- */
.timeline { border-left: 1px solid var(--line); margin-left: 8px; }
.timeline-item { position: relative; padding: 0 0 56px 40px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -5px; top: 4px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--coral);
}
.timeline-item .yr { font-family: var(--mono); font-size: 13px; color: var(--text-faint); }
.timeline-item h4 { font-family: var(--display); font-size: 24px; margin: 8px 0 10px; }
.timeline-item p { color: var(--text-dim); font-size: 15px; max-width: 56ch; }

/* ---------- team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-card); box-shadow: var(--shadow-card); }
.team-photo {
  aspect-ratio: 4/5;
  background: var(--bg-elevated);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.team-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.35) contrast(1.02);
  transition: filter .4s ease, transform .5s var(--ease);
}
.team-card:hover .team-photo img { filter: grayscale(0); transform: scale(1.04); }
.team-photo .initials {
  font-family: var(--display);
  font-size: 42px;
  color: var(--text-faint);
  opacity: .5;
}
.team-info { padding: 18px 20px 22px; }
.team-info h4 { font-family: var(--display); font-size: 18px; }
.team-info span { font-family: var(--mono); font-size: 12px; color: var(--text-faint); display: block; margin-top: 4px; }
@media (max-width: 860px) { .team-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- faq ---------- */
.faq-item {
  border-top: 1px solid var(--line);
  padding: 26px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--display);
  font-size: 19px;
  gap: 20px;
}
.faq-q .plus {
  font-family: var(--mono);
  font-size: 20px;
  color: var(--coral);
  flex-shrink: 0;
  transition: transform .3s var(--ease);
}
.faq-item.open .plus { transform: rotate(135deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease), padding .4s var(--ease);
  color: var(--text-dim);
  font-size: 15px;
}
.faq-item.open .faq-a { max-height: 300px; padding-top: 16px; }

/* ---------- contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 70px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-faint);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.field input, .field textarea, .field select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  padding: 10px 2px;
  transition: border-color .25s ease;
}
.field select option { background: var(--bg-elevated); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--coral);
}
.field textarea { resize: vertical; min-height: 100px; }
.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  height: fit-content;
  box-shadow: var(--shadow-card);
}
.contact-info-card h4 {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 6px;
  letter-spacing: .06em;
}
.contact-info-card .big { font-family: var(--display); font-size: 22px; margin-bottom: 30px; }
.contact-info-card .big:last-of-type { margin-bottom: 0; }
.form-status {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--success);
  opacity: 0;
  transition: opacity .3s ease;
}
.form-status.show { opacity: 1; }
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- back to top ---------- */
.back-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 400;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease, border-color .3s ease;
}
.back-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-top:hover { border-color: var(--coral); }
.back-top svg { width: 16px; height: 16px; }

/* ---------- banner photo (about/contact) ---------- */
.banner-photo {
  margin-top: 60px;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 21/8;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
}
.banner-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.2) contrast(1.03);
}
@media (max-width: 700px) { .banner-photo { aspect-ratio: 4/3; } }

/* ---------- status banner (technical readout, About / Contact) ---------- */
.status-banner {
  margin-top: 60px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  background: var(--bg-card);
}
.status-banner .win-chrome .url { max-width: 260px; }
.status-readout {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 28px 28px;
}
.status-readout div {
  padding: 28px 26px;
  border-left: 1px solid var(--line);
}
.status-readout div:first-child { border-left: none; }
.status-readout .lbl {
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-faint);
  display: flex;
  align-items: center;
  gap: 6px;
}
.status-readout .lbl .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--success); }
.status-readout .val {
  font-family: var(--display);
  font-weight: 600;
  font-size: 26px;
  margin-top: 10px;
}
@media (max-width: 760px) {
  .status-readout { grid-template-columns: repeat(2, 1fr); }
  .status-readout div:nth-child(3) { border-left: none; }
  .status-readout div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- service-banner (technical mockups on services page) ---------- */
.service-banner {
  margin-bottom: 56px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.service-banner .mock-bar { padding: 12px 16px; }
.service-banner .mock-tab { font-size: 10.5px; padding: 3px 11px; }
.service-banner .mock-body { padding: 28px 40px 34px; min-height: 190px; }
.service-banner.mock-web .bars i { border-radius: 5px 5px 0 0; }
.service-banner.mock-mobile .mock-body { gap: 20px; }
.service-banner.mock-mobile .mpm { width: 120px; }
.service-banner.mock-mobile .mpm-head { height: 11px; margin-bottom: 12px; }
.service-banner.mock-mobile .mpm-row { height: 20px; margin-bottom: 8px; }
.service-banner.mock-marketing .funnel i { height: 20px; border-radius: 5px; }
.service-banner.mock-marketing .funnel { gap: 12px; }
@media (max-width: 700px) { .service-banner .mock-body { padding: 22px 20px 26px; min-height: 150px; } }

/* ---------- share row on work cards ---------- */
.card-share {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.card-share .lbl {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .04em;
  color: var(--text-faint);
  margin-right: 4px;
  text-transform: uppercase;
}
.card-share a {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.card-share a:hover { background: var(--coral); border-color: var(--coral); color: #fff; transform: translateY(-2px); }
.card-share svg { width: 13px; height: 13px; }

/* ---------- legal pages (privacy / refund policy) ---------- */
.legal-body {
  max-width: 74ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-dim);
}
.legal-intro {
  font-size: 18px;
  color: var(--text);
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.legal-body h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 24px;
  color: var(--text);
  margin: 44px 0 16px;
  letter-spacing: -.01em;
}
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body p { margin-bottom: 16px; }
.legal-body ul {
  margin: 0 0 20px;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.legal-body li {
  list-style: none;
  padding-left: 26px;
  position: relative;
}
.legal-body li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--coral);
}
.legal-body strong { color: var(--text); font-weight: 600; }
.legal-body a { color: var(--indigo); text-decoration: underline; text-underline-offset: 3px; }
.legal-body a:hover { color: var(--coral); }

/* ---------- technical UI system ---------- */
.grid-bg {
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 44px 44px;
}
.corner-brackets { position: relative; }
.corner-brackets::before,
.corner-brackets::after {
  content: '';
  position: absolute;
  width: 14px; height: 14px;
  border: 1.5px solid var(--coral);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.corner-brackets::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.corner-brackets::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.corner-brackets:hover::before,
.corner-brackets:hover::after { opacity: 1; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--text-dim);
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  padding: 5px 11px 5px 9px;
  border-radius: 100px;
}
.status-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); flex-shrink: 0; }
.status-pill.warn .dot { background: var(--coral); }
.status-pill.info .dot { background: var(--indigo); }

/* terminal / window chrome used across technical mockups */
.win-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-elevated);
}
.win-chrome .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.win-chrome .url {
  margin-left: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--text-faint);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 3px 10px;
  flex: 1;
}

/* generic tech-mockup card frame used for service illustrations + work thumbnails */
.tech-mock {
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.tech-mock-body { padding: 18px; position: relative; }

/* ---------- misc ---------- */
.text-dim { color: var(--text-dim); }
.mono { font-family: var(--mono); }
