/* =========================================================
   PEXOVAR — design system
   Void black + Off-white + Pexovar violet + Signal teal + Deep indigo
   ========================================================= */

:root {
  --void: #0a0a0f;
  --indigo: #1a0a3d;
  --violet: #7c6fff;
  --violet-soft: #e8e6ff;
  --teal: #00e5b0;
  --paper: #f5f4f0;

  --ink: #0a0a0f;
  --ink-60: rgba(10, 10, 15, .6);
  --ink-40: rgba(10, 10, 15, .4);
  --ink-20: rgba(10, 10, 15, .14);
  --ink-10: rgba(10, 10, 15, .08);
  --line: rgba(10, 10, 15, .1);

  --snow-80: rgba(245, 244, 240, .8);
  --snow-60: rgba(245, 244, 240, .6);
  --snow-40: rgba(245, 244, 240, .4);
  --snow-20: rgba(245, 244, 240, .18);
  --snow-10: rgba(245, 244, 240, .09);

  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  --shadow-soft: 0 1px 2px rgba(10, 10, 15, .04), 0 24px 60px rgba(10, 10, 15, .06);
  --shadow-card: 0 1px 2px rgba(10, 10, 15, .04), 0 30px 80px rgba(10, 10, 15, .08);
  --shadow-float: 0 30px 90px rgba(124, 111, 255, .25);

  --font-sans: 'Inter', 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-display: 'DM Sans', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  background: var(--paper);
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
  letter-spacing: -0.005em;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

::selection { background: var(--violet); color: var(--paper); }

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

.mono { font-family: var(--font-mono); font-weight: 500; letter-spacing: 0; }
.muted { color: var(--ink-40); }
.teal { color: var(--teal); }

.gradient-text {
  background: linear-gradient(100deg, var(--violet) 0%, var(--teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline;
}

/* ===== ambient background ===== */
.bg-aura {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: var(--paper);
}
.aura {
  position: absolute;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .22;
  will-change: transform;
}
.aura--violet { background: radial-gradient(circle, var(--violet) 0%, transparent 60%); top: -10vw; left: -10vw; }
.aura--indigo { background: radial-gradient(circle, var(--indigo) 0%, transparent 55%); top: 30%; right: -15vw; opacity: .15; }
.aura--teal   { background: radial-gradient(circle, var(--teal) 0%, transparent 60%); bottom: -15vw; left: 20%; opacity: .12; }

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--ink-10) 1px, transparent 1px),
    linear-gradient(to bottom, var(--ink-10) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: .35;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
}

/* grain / noise texture — instant premium feel */
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .06;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.9 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 300px;
}

/* top scroll progress */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--violet), var(--teal));
  z-index: 9999;
  transition: width .1s linear;
}

/* side chapter rail */
.chapter-rail {
  position: fixed;
  top: 50%; right: 24px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 80;
  mix-blend-mode: difference;
  color: #fff;
}
.chapter-rail a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: inherit;
  opacity: .4;
  transition: opacity .3s;
  padding: 6px 0;
}
.chapter-rail a::before {
  content: '';
  width: 20px;
  height: 1px;
  background: currentColor;
  transition: width .3s var(--ease);
}
.chapter-rail a.is-active,
.chapter-rail a:hover { opacity: 1; }
.chapter-rail a.is-active::before { width: 36px; }
.chapter-rail span { opacity: .8; }
@media (max-width: 1100px) { .chapter-rail { display: none; } }

/* ===== loader ===== */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--void);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 24px;
  transition: opacity .6s var(--ease), visibility .6s;
}
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__mark {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px;
  width: 42px; height: 42px;
}
.loader__mark span {
  background: var(--violet);
  border-radius: 4px;
  animation: pulse 1.2s ease-in-out infinite;
}
.loader__mark span:nth-child(2) { animation-delay: .15s; opacity: .55; }
.loader__mark span:nth-child(3) { animation-delay: .3s; opacity: .35; }
.loader__mark span:nth-child(4) { animation-delay: .45s; opacity: .25; }
@keyframes pulse { 0%, 100% { transform: scale(.85); } 50% { transform: scale(1); } }
.loader__bar {
  width: 140px; height: 2px;
  background: rgba(255, 255, 255, .1);
  overflow: hidden;
}
.loader__bar i {
  display: block; width: 30%; height: 100%;
  background: linear-gradient(90deg, var(--violet), var(--teal));
  animation: slide 1.1s ease-in-out infinite;
}
@keyframes slide { 0% { margin-left: -30%; } 100% { margin-left: 100%; } }

/* ===== cursor ===== */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 28px; height: 28px;
  border: 1.5px solid var(--violet);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 10000;
  transition: width .28s var(--ease), height .28s var(--ease), border-color .2s, background .2s;
  display: none;
  background: rgba(124, 111, 255, .08);
  backdrop-filter: invert(1);
  -webkit-backdrop-filter: invert(1);
}
.cursor span {
  position: absolute; top: 50%; left: 50%;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--violet);
  transform: translate(-50%, -50%);
}
@media (pointer: fine) { .cursor { display: block; } }
.cursor.is-hover { width: 54px; height: 54px; background: rgba(124, 111, 255, .15); border-color: var(--violet); }
.cursor.is-case {
  width: 96px; height: 96px;
  background: var(--violet);
  border-color: var(--violet);
  color: var(--paper);
}
.cursor.is-case span { display: none; }
.cursor.is-case::after {
  content: 'VIEW →';
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--paper);
  font-weight: 600;
}
.cursor.is-case { display: flex; align-items: center; justify-content: center; }

/* ===== nav ===== */
.nav {
  position: fixed;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: calc(100% - 32px);
  max-width: 1280px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 10px 18px;
  background: rgba(245, 244, 240, .72);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border: 1px solid var(--line);
  border-radius: 100px;
  box-shadow: var(--shadow-soft);
}
.nav__brand { display: flex; align-items: center; gap: 10px; }
.nav__wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.nav__wordmark em { font-style: normal; color: var(--ink-40); font-weight: 600; }
.nav__links { display: flex; gap: 28px; font-weight: 500; font-size: 14px; }
.nav__links a {
  color: var(--ink-60);
  transition: color .2s;
  position: relative;
  padding: 8px 2px;
  cursor: pointer;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 2px; right: 2px; bottom: 2px;
  height: 1px;
  background: var(--violet);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__links a.is-active { color: var(--ink); }
.nav__links a.is-active::after { transform: scaleX(1); }
.nav__cta { padding: 10px 16px; font-size: 13.5px; gap: 6px; }

/* Hamburger (mobile only) */
.nav__burger {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--ink-10);
  border-radius: 50%;
  background: rgba(255, 255, 255, .5);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0;
  transition: background .2s;
}
.nav__burger span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .35s var(--ease), opacity .2s;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }

/* Mobile overlay menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--void);
  color: var(--paper);
  padding: 100px 28px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .35s var(--ease), visibility .35s, transform .35s var(--ease);
  overflow-y: auto;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu__links { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu__links a {
  font-family: var(--font-display);
  font-size: clamp(36px, 10vw, 56px);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--paper);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.mobile-menu__links a span {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255, 255, 255, .35);
  letter-spacing: 0.1em;
  font-weight: 400;
}
.mobile-menu__links a:hover { color: var(--violet); }
.mobile-menu__links a.is-active { color: var(--violet); }

.mobile-menu__foot {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex; flex-direction: column; gap: 18px;
}
.mobile-menu__foot a {
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
  letter-spacing: 0.04em;
  display: inline-block;
}
.mobile-menu__foot a:hover { color: var(--teal); }
.mobile-menu__foot .cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  background: var(--violet);
  color: var(--paper);
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  width: max-content;
}
.mobile-menu__socials { display: flex; gap: 10px; flex-wrap: wrap; }
.mobile-menu__socials a {
  width: 40px; height: 40px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, .65);
  font-size: 0;
}
.mobile-menu__socials a:hover { color: var(--teal); border-color: rgba(0, 229, 176, .4); }
.mobile-menu__socials a svg { width: 16px; height: 16px; }

body.menu-open { overflow: hidden; }

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav {
    padding: 8px 8px 8px 12px;
    gap: 6px;
    /* Use grid so items distribute cleanly: brand | time | burger | cta */
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .nav__brand { flex: 1; min-width: 0; }
  .nav__brand .nav__logo { width: 28px; height: 28px; flex-shrink: 0; }
  .nav__wordmark { font-size: 16px; }
  .nav__cta span { display: none; }
  .nav__cta {
    padding: 0;
    width: 40px; height: 40px;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    min-height: 40px;
  }
  .nav__burger { display: flex; flex-shrink: 0; }
}
@media (max-width: 420px) {
  /* ultra-tight: hide time, shrink brand to just the logo */
  .nav { padding: 8px 10px; }
  .nav__wordmark { font-size: 15px; }
  .nav__brand { gap: 8px; }
}

/* =========================================================
   DEDICATED MOBILE REFINEMENTS
   ========================================================= */
@media (max-width: 768px) {
  /* prevent any horizontal overflow — belt + braces */
  html, body { overflow-x: hidden; max-width: 100vw; }
  main { overflow-x: hidden; }

  /* Nav spacing — tighter */
  .nav { top: 12px; width: calc(100% - 20px); }

  /* Hero */
  .hero { padding: 120px 20px 64px; min-height: auto; }
  .hero__title { font-size: clamp(44px, 12vw, 72px); line-height: 1; letter-spacing: -0.035em; }
  .hero__eyebrow { gap: 8px; margin-bottom: 28px; }
  .hero__eyebrow .pill { font-size: 11.5px; padding: 6px 12px 6px 10px; }
  .hero__lede { font-size: 16px; margin-top: 32px; line-height: 1.5; }
  .hero__cta { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 32px; }
  .hero__cta .btn { justify-content: center; }
  .hero__meta { gap: 16px; margin-top: 48px; flex-direction: row; justify-content: space-between; }
  .hero__meta .meta__item { flex: 1; min-width: 0; }
  .meta__divider { display: none; }
  .meta__num { font-size: 28px; }
  .meta__label { font-size: 11px; }

  /* Marquee */
  .marquee__track { gap: 28px; font-size: 36px; padding-left: 28px; }

  /* Section spacing */
  section { padding: 72px 20px; }
  .section-head { margin-bottom: 40px; }
  .section-head__title { font-size: clamp(28px, 8vw, 44px); }
  .section-head__lede { font-size: 15.5px; }

  /* Pillars */
  .pillars { gap: 14px; }
  .pillar { padding: 28px 24px; }
  .pillar__num { margin-bottom: 48px; }
  .pillar__icon { width: 44px; height: 44px; margin-bottom: 20px; }
  .pillar h3 { font-size: 28px; }
  .pillar p { font-size: 15px; margin-bottom: 20px; }
  .pillar__badge { top: 20px; right: 20px; }
  .pillar--ai { padding: 32px 24px; }

  /* Meaning */
  .meaning { padding: 64px 24px; margin: 0 12px; border-radius: 20px; }
  .meaning__stack { gap: 40px; }
  .meaning__word { font-size: clamp(52px, 18vw, 96px); }
  .meaning__label { font-size: 12px; }
  .meaning__note { font-size: 14px; }
  .meaning__equation h3 { font-size: clamp(26px, 7vw, 40px); line-height: 1.2; }

  /* Process cards */
  .process__steps { gap: 14px; }
  .step { padding: 28px 24px; min-height: auto; }
  .step__title { font-size: 32px; }

  /* Work */
  .work__grid { gap: 14px; }
  .case__meta { padding: 22px 22px 24px; }
  .case__meta h3 { font-size: 19px; }
  .case__meta p { font-size: 14.5px; }
  .case__arrow { top: 22px; right: 22px; width: 36px; height: 36px; }

  /* Beliefs */
  .beliefs__list li { grid-template-columns: 40px 1fr; gap: 12px; padding: 22px 0; }
  .beliefs__list li:hover { padding-left: 0; }
  .beliefs__list p { font-size: 18px; line-height: 1.35; }

  /* CTA */
  .cta { padding: 48px 14px 80px; }
  .cta__card { padding: 72px 24px; border-radius: 22px; }
  .cta__title { font-size: clamp(36px, 10vw, 56px); }
  .cta__lede { font-size: 15.5px; }
  .cta__actions { flex-direction: column; width: 100%; }
  .cta__actions .btn { justify-content: center; width: 100%; }
  .cta__logos { gap: 18px 24px; font-size: 14px; }

  /* Mega mark — keep on ONE line, scale down so no horizontal overflow */
  .mega-mark { margin-top: 80px; padding: 0 20px; }
  .mega-mark__word { font-size: clamp(64px, 28vw, 120px); letter-spacing: -0.05em; }
  .mega-mark__footline { font-size: 11px; letter-spacing: 0.04em; }
  .type-suggest { font-size: 11px; padding: 8px 12px; }
  .build-status { padding: 0 20px; font-size: 12px; }

  /* Footer */
  .footer { padding: 56px 20px 24px; gap: 40px; }
  .footer__cols { gap: 32px 20px; }
  .footer__wordmark { font-size: 24px; }
  .footer__head { font-size: 11px; }
  .footer__col a { font-size: 14px; }
  .footer__contact { font-size: 13.5px; }
  .footer__legal { gap: 14px; }
  .socials a { width: 34px; height: 34px; }

  /* SUB-PAGE hero */
  .page-hero { padding: 120px 20px 56px; }
  .page-hero__title { font-size: clamp(40px, 11vw, 64px); line-height: .98; }
  .page-hero__lede { font-size: 15.5px; }
  .page-hero__crumb { font-size: 11px; margin-bottom: 20px; }

  /* Services detail cards */
  .service-detail { padding: 40px 0; gap: 24px; }
  .service-detail__title { font-size: clamp(28px, 7vw, 40px); }
  .service-detail__desc { font-size: 15.5px; }
  .service-detail__grid > div { padding: 16px 18px; font-size: 14.5px; }
  .service-detail__stack span { font-size: 11.5px; padding: 5px 10px; }
  .service-detail--ai { padding: 40px 22px; margin: 20px 0; border-radius: 22px; max-width: 100%; }

  /* Process phase */
  .phase { padding: 48px 0; gap: 20px; }
  .phase__num { font-size: clamp(72px, 22vw, 120px); }
  .phase__title { font-size: clamp(32px, 8vw, 48px); }
  .phase__desc { font-size: 16px; }
  .phase__list { gap: 10px; }
  .phase__list li { padding: 14px 16px; font-size: 14px; }
  .phase__meta > div { padding: 14px 16px; }
  .phase__meta strong { font-size: 16px; }

  /* Work table */
  .work-table { padding: 56px 20px 80px; }
  .work-table__row { padding: 22px 0; }
  .work-table__row:hover { padding-left: 0; }
  .work-table__num { font-size: 11px; }
  .work-table__title { font-size: 18px; }
  .work-table__desc { font-size: 13px; }

  /* Statement block */
  .statement { padding: 56px 20px; }
  .statement p { font-size: clamp(20px, 5.5vw, 28px); }

  /* Buttons — full height comfortable tap targets */
  .btn { padding: 13px 20px; min-height: 44px; }
  .btn--lg { padding: 15px 22px; font-size: 15px; }

  /* Hero scene scales down on small screens */
  .hero__scene { opacity: .9; }

  /* Hide chapter rail (already 1100 but reinforce) */
  .chapter-rail { display: none !important; }
}

/* =========================================================
   CONTACT PAGE — lead capture system
   ========================================================= */
.contact-page { padding: 0 24px 140px; }
.contact-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 1024px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Left column — the form card */
.contact-form-wrap {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--ink-10);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-card);
}
@media (max-width: 768px) { .contact-form-wrap { padding: 28px 22px; border-radius: 24px; } }

.contact-form__progress {
  display: flex;
  gap: 6px;
  margin-bottom: 36px;
}
.contact-form__progress div {
  flex: 1;
  height: 3px;
  background: var(--ink-10);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.contact-form__progress div::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--violet), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.contact-form__progress div.is-filled::after { transform: scaleX(1); }

.contact-form__section { margin-bottom: 44px; }
.contact-form__section:last-of-type { margin-bottom: 24px; }
.contact-form__legend {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--violet);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}
.contact-form__legend b { color: var(--ink-40); font-weight: 500; }
.contact-form__legend h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
  text-transform: none;
}

/* Pill select group (budget / timeline / service etc.) */
.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill-group input { position: absolute; opacity: 0; pointer-events: none; }
.pill-group label {
  cursor: pointer;
  padding: 11px 18px;
  border: 1px solid var(--ink-10);
  border-radius: 100px;
  font-size: 14px;
  color: var(--ink-60);
  background: rgba(255, 255, 255, .5);
  transition: all .2s var(--ease);
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}
.pill-group label:hover { border-color: var(--ink-40); color: var(--ink); }
.pill-group input:checked + label {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  box-shadow: 0 4px 20px rgba(10, 10, 15, .18);
}
.pill-group input:focus-visible + label { outline: 2px solid var(--violet); outline-offset: 2px; }
.pill-group label .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-20); }
.pill-group input:checked + label .dot { background: var(--teal); }

/* Text inputs */
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .field__row { grid-template-columns: 1fr; } }
.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-40);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.field label .required { color: var(--violet); margin-left: 2px; }
.field input,
.field textarea,
.field select {
  font: inherit;
  width: 100%;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--ink-10);
  border-radius: 12px;
  color: var(--ink);
  font-size: 15px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:hover,
.field textarea:hover { border-color: var(--ink-20); }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 4px rgba(124, 111, 255, .12);
  background: #fff;
}
.field textarea {
  min-height: 140px;
  resize: vertical;
  font-family: inherit;
  line-height: 1.5;
}
.field--error input,
.field--error textarea { border-color: #ff3d6e; box-shadow: 0 0 0 4px rgba(255, 61, 110, .1); }
.field__error {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #ff3d6e;
  display: none;
}
.field--error .field__error { display: block; }

.field__counter {
  align-self: flex-end;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-40);
}

/* Honeypot — hide from humans, catch bots */
.hp-trap {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Submit area */
.contact-form__submit {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--ink-10);
  flex-wrap: wrap;
}
.contact-form__submit button {
  appearance: none;
  border: 0;
  padding: 16px 26px;
  border-radius: 100px;
  background: var(--ink);
  color: var(--paper);
  font-size: 15px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
  min-height: 48px;
}
.contact-form__submit button:hover {
  background: var(--violet);
  box-shadow: 0 12px 40px rgba(124, 111, 255, .35);
}
.contact-form__submit button[disabled] { opacity: .6; cursor: progress; }
.contact-form__submit button .spinner {
  display: none;
  width: 14px; height: 14px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.contact-form__submit.is-loading button .spinner { display: inline-block; }
.contact-form__submit.is-loading button .label-default { display: none; }
.contact-form__submit .privacy {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-40);
  letter-spacing: 0.04em;
  flex: 1;
  min-width: 180px;
  max-width: 320px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Success + error states */
.contact-feedback {
  display: none;
  margin-top: 24px;
  padding: 20px 22px;
  border-radius: 14px;
  font-size: 15px;
  line-height: 1.5;
}
.contact-feedback.is-show { display: block; animation: fb-in .4s var(--ease-out); }
.contact-feedback--ok {
  background: rgba(0, 229, 176, .08);
  border: 1px solid rgba(0, 229, 176, .3);
  color: var(--ink);
}
.contact-feedback--ok strong { color: var(--teal); }
.contact-feedback--err {
  background: rgba(255, 61, 110, .06);
  border: 1px solid rgba(255, 61, 110, .3);
  color: var(--ink);
}
@keyframes fb-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Right column — alt contact options */
.contact-side { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 110px; }
@media (max-width: 1024px) { .contact-side { position: static; } }

.contact-tile {
  padding: 28px;
  border: 1px solid var(--ink-10);
  border-radius: 20px;
  background: var(--paper);
  transition: border-color .2s, transform .2s, box-shadow .3s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-tile:hover { border-color: var(--ink-20); transform: translateY(-2px); box-shadow: var(--shadow-card); }
.contact-tile__head {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--ink-40); letter-spacing: 0.12em; text-transform: uppercase;
}
.contact-tile__head .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 0 4px rgba(0, 229, 176, .2);
  animation: breathe 2.4s ease-in-out infinite;
}
.contact-tile h3 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 600;
  letter-spacing: -0.02em; margin: 0;
}
.contact-tile p { color: var(--ink-60); margin: 0; font-size: 14px; }
.contact-tile__link {
  font-family: var(--font-mono); font-size: 13px;
  color: var(--violet); display: inline-flex; align-items: center; gap: 6px;
  margin-top: 8px; letter-spacing: 0.02em; font-weight: 500;
}
.contact-tile__link svg { transition: transform .25s var(--ease); }
.contact-tile:hover .contact-tile__link svg { transform: translateX(4px); }

.contact-tile--dark { background: var(--void); color: var(--paper); border-color: transparent; }
.contact-tile--dark .contact-tile__head { color: rgba(255, 255, 255, .5); }
.contact-tile--dark p { color: rgba(255, 255, 255, .65); }
.contact-tile--dark .contact-tile__link { color: var(--teal); }

/* Trust strip inside contact page */
.contact-trust {
  max-width: 1280px;
  margin: 64px auto 0;
  padding: 40px 24px 0;
  border-top: 1px solid var(--ink-10);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
@media (max-width: 768px) { .contact-trust { grid-template-columns: repeat(2, 1fr); gap: 24px; padding: 32px 20px 0; } }
.contact-trust__item {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-60);
  letter-spacing: 0.05em;
}
.contact-trust__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 4px;
}
.contact-trust__item strong .teal { color: var(--teal); }

/* very small phones (≤400px) */
@media (max-width: 400px) {
  .nav__wordmark { font-size: 15.5px; }
  .hero__title { font-size: 40px; }
  .cta__card { padding: 56px 20px; }
  .mega-mark__word { font-size: 60px; }
  .meaning__word { font-size: 48px; }
}

/* ===== buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  transition: transform .2s var(--ease), background .2s, color .2s, box-shadow .3s;
  will-change: transform;
  border: 1px solid transparent;
}
.btn--primary {
  background: var(--ink);
  color: var(--paper);
}
.btn--primary:hover {
  background: var(--violet);
  box-shadow: 0 12px 40px rgba(124, 111, 255, .45);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink-20);
}
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--lg { padding: 16px 26px; font-size: 15px; }

/* ===== pill ===== */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  background: var(--snow-20);
  border: 1px solid var(--ink-10);
  color: var(--ink-60);
  background-color: rgba(255, 255, 255, .6);
}
.pill--ghost { background: transparent; }
.pill--teal { background: rgba(0, 229, 176, .08); border-color: rgba(0, 229, 176, .25); color: var(--teal); }
.pill__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 0 4px rgba(124, 111, 255, .2);
  animation: breathe 2.4s ease-in-out infinite;
}
.pill__dot--teal { background: var(--teal); box-shadow: 0 0 0 4px rgba(0, 229, 176, .2); }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }

/* ===== layout ===== */
main { position: relative; z-index: 1; }
section { padding: 140px 24px; position: relative; }
@media (max-width: 768px) { section { padding: 96px 20px; } }

.section-head {
  max-width: 1280px;
  margin: 0 auto 64px;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 64px;
  align-items: end;
}
.section-head__tag { color: var(--ink-40); }
.section-head__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0;
}
.section-head__title .muted { color: var(--ink-40); font-weight: 500; }
.section-head__lede {
  grid-column: 2;
  margin: 20px 0 0;
  max-width: 640px;
  color: var(--ink-60);
  font-size: 17px;
  line-height: 1.55;
}
@media (max-width: 860px) {
  .section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 48px; }
  .section-head__lede { grid-column: 1; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 140px 24px 80px;
  position: relative;
  overflow: hidden;
}
.hero__scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero__scene canvas { width: 100% !important; height: 100% !important; }

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.hero__eyebrow {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(48px, 9vw, 144px);
  line-height: .96;
  letter-spacing: -0.045em;
  font-weight: 600;
  margin: 0;
  color: var(--ink);
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .word { display: inline-block; transform: translateY(110%); }
.hero__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--violet);
}
.hero__title .gradient-text { font-weight: 600; }

.hero__lede {
  max-width: 620px;
  margin: 40px 0 0;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-60);
}
.hero__lede strong { color: var(--ink); font-weight: 600; }
.hero__lede strong.teal { color: var(--teal); }
.hero__lede em { font-style: normal; color: var(--ink-40); letter-spacing: 0.02em; }

.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.hero__meta {
  margin-top: 96px;
  display: flex;
  gap: 40px;
  align-items: flex-end;
  flex-wrap: wrap;
}
.meta__item { display: flex; flex-direction: column; gap: 4px; }
.meta__num {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.meta__label {
  font-size: 13px;
  color: var(--ink-40);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}
.meta__divider { width: 1px; height: 48px; background: var(--ink-20); }

.hero__scroll {
  position: absolute;
  bottom: 32px; right: 32px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--ink-40);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 2;
}
.hero__scroll-line { width: 1px; height: 48px; background: var(--ink-20); overflow: hidden; position: relative; }
.hero__scroll-line i { position: absolute; top: 0; left: 0; width: 100%; height: 40%; background: var(--ink); animation: scroll-dot 2s ease-in-out infinite; }
@keyframes scroll-dot { 0% { top: -40%; } 100% { top: 100%; } }

@media (max-width: 768px) {
  .hero__meta { gap: 20px; margin-top: 56px; }
  .meta__divider { display: none; }
  .meta__num { font-size: 34px; }
  .hero__scroll { display: none; }
}

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: rgba(255, 255, 255, .4);
}
.marquee__track {
  display: inline-flex;
  gap: 48px;
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 64px);
  font-weight: 500;
  letter-spacing: -0.02em;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  padding-left: 48px;
}
.marquee__track i {
  color: var(--violet);
  font-style: normal;
  font-size: 0.6em;
  transform: translateY(-0.2em);
  align-self: center;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =========================================================
   SERVICES (pillars)
   ========================================================= */
.services { background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, .5) 100%); }

.pillars {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }

.pillar {
  position: relative;
  padding: 40px;
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--ink-10);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
  cursor: pointer;
}
.pillar:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: var(--ink-20);
}
.pillar__num {
  color: var(--ink-40);
  font-size: 13px;
  margin-bottom: 80px;
}
.pillar__icon {
  width: 56px; height: 56px;
  color: var(--violet);
  margin-bottom: 32px;
  transition: transform .4s var(--ease);
}
.pillar__icon--teal { color: var(--teal); }
.pillar:hover .pillar__icon { transform: rotate(-6deg) scale(1.1); }
.pillar h3 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.pillar p {
  font-size: 16px;
  color: var(--ink-60);
  max-width: 480px;
  margin: 0 0 28px;
}
.pillar__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex; flex-direction: column; gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-40);
  border-top: 1px dashed var(--ink-20);
  padding-top: 20px;
}
.pillar__glow {
  position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--violet) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .5s;
  pointer-events: none;
  filter: blur(40px);
}
.pillar__glow--teal { background: radial-gradient(circle, var(--teal) 0%, transparent 60%); }
.pillar:hover .pillar__glow { opacity: .2; }
.pillar--ai { background: var(--void); color: var(--paper); border-color: transparent; }
.pillar--ai .pillar__num { color: var(--snow-40); }
.pillar--ai p { color: var(--snow-60); }
.pillar--ai .pillar__list { color: var(--snow-40); border-color: rgba(255, 255, 255, .1); }
.pillar--ai .teal { color: var(--teal); }
.pillar__badge { position: absolute; top: 32px; right: 32px; }

/* =========================================================
   MEANING
   ========================================================= */
.meaning { background: var(--void); color: var(--paper); border-radius: 40px; margin: 0 24px; overflow: hidden; }
.meaning .section-head__tag { color: var(--snow-40); }

.meaning__stack {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.meaning__row {
  display: grid;
  grid-template-columns: 120px 1fr 1fr;
  gap: 32px;
  align-items: baseline;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.meaning__row--right { grid-template-columns: 1fr 1fr 120px; }
.meaning__row--right .meaning__label { order: 3; text-align: right; }
.meaning__row--right .meaning__word { order: 1; text-align: right; }
.meaning__row--right .meaning__note { order: 2; }

.meaning__label {
  color: var(--violet);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.meaning__word {
  font-family: var(--font-display);
  font-size: clamp(64px, 12vw, 180px);
  font-weight: 500;
  line-height: .9;
  letter-spacing: -0.05em;
}
.meaning__prefix { color: var(--snow-40); }
.meaning__note {
  color: var(--snow-60);
  max-width: 360px;
  font-size: 16px;
  line-height: 1.5;
}

.meaning__equation {
  margin-top: 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.meaning__equation .mono {
  font-size: 13px;
  color: var(--snow-40);
  letter-spacing: 0.1em;
}
.meaning__equation h3 {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 80px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0;
  max-width: 1000px;
}
.meaning__equation em { font-style: italic; color: var(--violet); }

@media (max-width: 860px) {
  .meaning { border-radius: 24px; margin: 0 12px; }
  .meaning__row, .meaning__row--right { grid-template-columns: 1fr; gap: 12px; padding-bottom: 40px; }
  .meaning__row--right .meaning__label,
  .meaning__row--right .meaning__word { text-align: left; order: unset; }
}

/* =========================================================
   PROCESS
   ========================================================= */
.process__steps {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}
@media (max-width: 860px) { .process__steps { grid-template-columns: 1fr; } }

.step {
  padding: 40px 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--ink-10);
  background: rgba(255, 255, 255, .5);
  backdrop-filter: blur(12px);
  display: flex; flex-direction: column; gap: 16px;
  min-height: 360px;
  position: relative;
  overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.step:hover { transform: translateY(-4px); border-color: var(--violet); background: var(--paper); }
.step__index {
  font-size: 13px;
  color: var(--violet);
  letter-spacing: 0.08em;
}
.step__title {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0;
}
.step__desc { color: var(--ink-60); margin: 0; }
.step__meta {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px dashed var(--ink-20);
  list-style: none;
  padding-left: 0;
  display: flex; flex-direction: column; gap: 8px;
  font-size: 13px;
  color: var(--ink-60);
}
.step__meta .mono { color: var(--ink-40); margin-right: 10px; }

/* =========================================================
   WORK
   ========================================================= */
.work__grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 860px) { .work__grid { grid-template-columns: 1fr; } }

.case {
  grid-column: span 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--ink-10);
  display: flex;
  flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s, border-color .3s;
  color: inherit;
}
.case:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); border-color: var(--ink-20); }
.case--large { grid-column: span 2; }
@media (max-width: 860px) { .case--large { grid-column: span 1; } }

.case__media {
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--indigo);
  color: var(--paper);
}
.case--large .case__media { aspect-ratio: 21/9; }
.case__media--1 { background: radial-gradient(ellipse at 30% 20%, #2a1a5d 0%, var(--indigo) 60%); }
.case__media--2 { background: radial-gradient(ellipse at 70% 80%, #0d3b2f 0%, var(--void) 60%); }
.case__media--3 { background: var(--void); }
.case__media--4 { background: linear-gradient(135deg, var(--indigo) 0%, #0a0a0f 100%); }

.case__device {
  width: 72%;
  max-width: 620px;
  aspect-ratio: 16/10;
  background: var(--paper);
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .4), 0 0 0 1px rgba(255, 255, 255, .05);
  transform: rotateX(12deg) rotateY(-6deg);
  transform-style: preserve-3d;
  transition: transform .6s var(--ease);
}
.case:hover .case__device { transform: rotateX(6deg) rotateY(-3deg) scale(1.02); }
.case__screen { background: #fff; border-radius: 8px; height: 100%; overflow: hidden; border: 1px solid var(--line); }
.case__screen-bar { display: flex; gap: 4px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.case__screen-bar i { width: 8px; height: 8px; border-radius: 50%; background: #ddd; }
.case__screen-body { padding: 20px; display: flex; flex-direction: column; gap: 16px; height: calc(100% - 30px); }
.case__kpi .mono { font-size: 10px; color: var(--ink-40); letter-spacing: 0.1em; text-transform: uppercase; }
.case__kpi-val { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.case__kpi-val .teal { font-size: 13px; margin-left: 6px; }
.case__chart { flex: 1; }
.case__chart svg { width: 100%; height: 100%; }

.case__phone {
  width: 180px;
  aspect-ratio: 9/19;
  background: #0a0a0f;
  border-radius: 28px;
  padding: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  position: relative;
  transform: rotate(-8deg) translateY(10px);
  transition: transform .6s var(--ease);
}
.case:hover .case__phone { transform: rotate(-4deg) translateY(4px) scale(1.04); }
.case__phone-notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 60px; height: 18px; background: #000; border-radius: 100px; z-index: 2; }
.case__phone-screen { height: 100%; background: var(--paper); border-radius: 22px; padding: 36px 12px 16px; display: flex; flex-direction: column; gap: 10px; }
.case__phone-title { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--ink); }
.case__phone-card { background: #fff; border-radius: 10px; padding: 10px; border: 1px solid var(--line); font-size: 11px; line-height: 1.4; display: flex; flex-direction: column; gap: 4px; }
.case__phone-card .mono { font-size: 9px; color: var(--ink-40); text-transform: uppercase; letter-spacing: 0.08em; }
.case__phone-card--teal { border-color: rgba(0, 229, 176, .4); background: rgba(0, 229, 176, .06); }

.case__terminal {
  width: 80%;
  max-width: 500px;
  background: #060608;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .05);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
  overflow: hidden;
  font-family: var(--font-mono);
}
.case__terminal-bar { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid rgba(255, 255, 255, .05); align-items: center; }
.case__terminal-bar i { width: 9px; height: 9px; border-radius: 50%; background: #333; }
.case__terminal-bar span { margin-left: 12px; color: var(--snow-40); font-size: 11px; }
.case__terminal-body { padding: 16px; color: #d6d6d6; font-size: 11.5px; line-height: 1.9; }
.case__terminal-body .muted { color: rgba(255, 255, 255, .35); }
.cursor-blink { animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.case__brand { display: flex; align-items: center; justify-content: center; gap: 40px; }
.case__brand-grid { display: grid; grid-template-columns: repeat(3, 18px); gap: 6px; }
.case__brand-grid div { width: 18px; height: 18px; background: var(--violet); border-radius: 4px; opacity: .3; animation: brandPulse 2s ease-in-out infinite; animation-delay: calc(var(--d) * 1s); }
.case__brand-grid div:nth-child(1) { opacity: 1; }
@keyframes brandPulse { 0%, 100% { opacity: .3; } 50% { opacity: .7; } }
.case__brand-mark { font-family: var(--font-display); font-size: 64px; font-weight: 700; color: var(--paper); letter-spacing: -0.04em; }
.case__brand-mark span { color: var(--teal); }

.case__meta { padding: 28px 32px 32px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.case__tags { display: flex; gap: 6px; font-family: var(--font-mono); font-size: 11px; color: var(--ink-40); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }
.case__tags span { padding: 3px 8px; border: 1px solid var(--ink-10); border-radius: 100px; }
.case__tags .teal { color: var(--teal); border-color: rgba(0, 229, 176, .3); }
.case__meta h3 { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin: 0; line-height: 1.2; max-width: 640px; }
.case__meta p { margin: 0; color: var(--ink-60); font-size: 15px; max-width: 560px; }
.case__arrow { position: absolute; top: 32px; right: 32px; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--paper); display: flex; align-items: center; justify-content: center; transition: transform .3s var(--ease), background .3s; }
.case:hover .case__arrow { background: var(--violet); transform: rotate(-45deg); }

/* =========================================================
   BELIEFS
   ========================================================= */
.beliefs__list {
  max-width: 1280px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
  counter-reset: b;
}
.beliefs__list li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid var(--ink-10);
  align-items: baseline;
}
.beliefs__list li:last-child { border-bottom: 1px solid var(--ink-10); }
.beliefs__list li .mono { color: var(--ink-40); font-size: 13px; letter-spacing: 0.1em; }
.beliefs__list p { font-family: var(--font-display); font-size: clamp(22px, 3vw, 34px); font-weight: 500; line-height: 1.3; letter-spacing: -0.02em; margin: 0; }
.beliefs__list strong { font-weight: 600; }

/* =========================================================
   CTA
   ========================================================= */
.cta { padding: 80px 24px 140px; }
.cta__card {
  max-width: 1280px;
  margin: 0 auto;
  background: var(--void);
  color: var(--paper);
  border-radius: var(--radius-xl);
  padding: 120px 64px;
  position: relative;
  overflow: hidden;
}
.cta__bg { position: absolute; inset: 0; pointer-events: none; }
.cta__orb {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .35;
}
.cta__orb--violet { background: var(--violet); top: -200px; left: -150px; }
.cta__orb--teal { background: var(--teal); bottom: -250px; right: -150px; opacity: .18; }

.cta__inner { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.cta__tag .pill { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .1); color: var(--paper); }
.cta__title { font-family: var(--font-display); font-size: clamp(44px, 8vw, 112px); font-weight: 600; line-height: 1; letter-spacing: -0.04em; margin: 0; }
.cta__lede { font-size: 18px; color: var(--snow-60); max-width: 600px; margin: 0; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.cta__actions .btn--primary { background: var(--violet); color: var(--paper); }
.cta__actions .btn--primary:hover { background: var(--paper); color: var(--ink); }
.cta__actions .btn--ghost { border-color: rgba(255, 255, 255, .2); color: var(--paper); background: transparent; }
.cta__actions .btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .4); }

.cta__trust { margin-top: 40px; display: flex; flex-direction: column; gap: 18px; align-items: center; }
.cta__trust .mono { font-size: 11px; color: var(--snow-40); letter-spacing: 0.15em; text-transform: uppercase; }
.cta__logos { display: flex; gap: 36px; flex-wrap: wrap; justify-content: center; font-family: var(--font-display); font-size: 18px; font-weight: 600; letter-spacing: -0.02em; color: var(--snow-60); }

@media (max-width: 768px) { .cta__card { padding: 80px 32px; border-radius: 24px; } }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  max-width: 1280px;
  margin: 0 auto 48px;
  padding: 80px 24px 32px;
  border-top: 1px solid var(--ink-10);
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 80px;
}
.footer__wordmark { font-family: var(--font-display); font-weight: 700; font-size: 28px; letter-spacing: -0.03em; margin-top: 16px; }
.footer__wordmark em { font-style: normal; color: var(--ink-40); font-weight: 600; }
.footer__tag { color: var(--ink-40); margin-top: 4px; font-size: 14px; letter-spacing: 0.05em; }

.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__head { font-size: 12px; color: var(--ink-40); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }
.footer__col a { color: var(--ink-60); transition: color .2s; }
.footer__col a:hover { color: var(--violet); }

.footer__bottom {
  grid-column: 1 / -1;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--ink-10);
  font-size: 12px;
  color: var(--ink-40);
}

@media (max-width: 768px) {
  .footer { grid-template-columns: 1fr; gap: 48px; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
}

/* The enormous "PEXOVAR" closer — sits before the footer cols */
.mega-mark {
  max-width: 1280px;
  margin: 120px auto 0;
  padding: 0 24px;
  position: relative;
  overflow: hidden;
}
.mega-mark__word {
  font-family: var(--font-display);
  font-size: clamp(80px, 22vw, 360px);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: .85;
  color: var(--ink);
  margin: 0;
  line-height: 1;
  white-space: nowrap;
  display: block;
  overflow: hidden;
}
.mega-mark__word em {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(100deg, var(--violet) 0%, var(--teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mega-mark__footline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0 0;
  border-top: 1px solid var(--ink-10);
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-40);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex-wrap: wrap;
  gap: 12px;
}
.mega-mark__footline a:hover { color: var(--violet); }

/* ============ Typewriter v2 (dramatic) ============ */
.mega-mark__word {
  position: relative;
  min-height: .85em;
  transition: transform .5s var(--ease), filter .5s;
  display: inline-block;
}
.mega-mark__word .type-text {
  display: inline-block;
  position: relative;
}
.mega-mark__word .type-caret {
  display: inline-block;
  width: 0.06em;
  height: 0.78em;
  background: var(--violet);
  vertical-align: baseline;
  margin-left: 6px;
  animation: caret-blink 0.75s steps(2) infinite;
  transform: translateY(0.04em);
}
.mega-mark__word.is-done .type-caret { display: none; }
@keyframes caret-blink { 50% { opacity: 0; } }

/* Spell-check squiggle under mistyped text */
.type-text.is-mistake {
  text-decoration: underline wavy #ff3d6e;
  text-decoration-thickness: 3px;
  text-underline-offset: 0.08em;
  animation: word-shake .5s cubic-bezier(.36, .07, .19, .97) both;
}
@keyframes word-shake {
  10%, 90% { transform: translateX(-2px); }
  20%, 80% { transform: translateX(4px); }
  30%, 50%, 70% { transform: translateX(-6px); }
  40%, 60% { transform: translateX(6px); }
}

/* Suggestion tooltip like browser spellcheck */
.type-suggest {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translate(-50%, -100%) translateY(12px);
  background: var(--void);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  opacity: 0;
  transition: opacity .3s var(--ease), transform .4s var(--ease);
  pointer-events: none;
  box-shadow: 0 10px 30px rgba(10, 10, 15, .25);
  z-index: 5;
}
.type-suggest b { color: var(--teal); font-weight: 500; }
.type-suggest::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px; height: 10px;
  background: var(--void);
}
.type-suggest.is-show {
  opacity: 1;
  transform: translate(-50%, -100%) translateY(-6px);
}

/* Key-press "tap" flash on the caret */
.mega-mark__word.is-typing .type-caret {
  animation: caret-tap .15s ease-out;
}
@keyframes caret-tap {
  0% { transform: translateY(0.04em) scaleY(1); background: var(--violet); }
  50% { transform: translateY(0.04em) scaleY(1.3); background: var(--teal); }
  100% { transform: translateY(0.04em) scaleY(1); background: var(--violet); }
}

/* Final reveal: pulse + burst */
.mega-mark__word.is-complete {
  animation: word-pop 0.8s cubic-bezier(.2, 1.4, .4, 1);
}
@keyframes word-pop {
  0%   { transform: scale(1); filter: brightness(1); }
  40%  { transform: scale(1.04); filter: brightness(1.2); }
  100% { transform: scale(1); filter: brightness(1); }
}

/* Particle burst container */
.mega-mark__burst {
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  pointer-events: none;
  z-index: 4;
}
.mega-mark__burst i {
  position: absolute;
  top: 0; left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
}
.mega-mark__burst.is-fire i {
  animation: particle 1s cubic-bezier(.2, .8, .3, 1) forwards;
}
@keyframes particle {
  0%   { transform: translate(-50%, -50%) scale(0); opacity: 1; }
  30%  { opacity: 1; }
  100% {
    transform:
      translate(calc(-50% + var(--dx)), calc(-50% + var(--dy)))
      scale(var(--s, 0.4));
    opacity: 0;
  }
}

/* Build status line under the wordmark */
.build-status {
  max-width: 1280px;
  margin: 32px auto 0;
  padding: 0 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--ink-40);
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 120px;
}
.build-status__line { display: flex; align-items: center; gap: 10px; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; }
.build-status__line.is-in { opacity: 1; transform: none; }
.build-status__line i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ink-20);
  flex-shrink: 0;
}
.build-status__line--err i { background: #ff3d6e; box-shadow: 0 0 0 4px rgba(255, 61, 110, .15); }
.build-status__line--warn i { background: #f5a623; }
.build-status__line--ok i { background: var(--teal); box-shadow: 0 0 0 4px rgba(0, 229, 176, .2); }
.build-status__line--ok { color: var(--ink); font-weight: 500; }
.build-status__line .teal { color: var(--teal); }
.build-status__line .time { color: var(--ink-20); margin-left: auto; font-size: 11px; }

/* Expanded footer */
.footer {
  grid-template-columns: 1.2fr 3fr;
}
.footer__cols { grid-template-columns: repeat(4, 1fr); gap: 32px; }
@media (max-width: 1024px) { .footer__cols { grid-template-columns: repeat(2, 1fr); gap: 40px; } }
@media (max-width: 768px) { .footer { grid-template-columns: 1fr; } .footer__cols { grid-template-columns: repeat(2, 1fr); } }

.footer__col a { display: flex; align-items: center; gap: 8px; }
.footer__col a svg { width: 14px; height: 14px; opacity: .55; transition: opacity .2s; flex-shrink: 0; }
.footer__col a:hover svg { opacity: 1; }

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 20px;
  font-size: 14px;
  color: var(--ink-60);
}
.footer__contact a { color: var(--ink); font-weight: 500; transition: color .2s; }
.footer__contact a:hover { color: var(--violet); }
.footer__contact .mono { font-size: 11px; color: var(--ink-40); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 10px; }

.footer__legal {
  display: flex; gap: 20px; flex-wrap: wrap;
  font-size: 11px;
  color: var(--ink-40);
  letter-spacing: 0.04em;
}
.footer__legal a:hover { color: var(--violet); }

.footer__bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
}
.footer__bottom > :last-child { text-align: right; }
@media (max-width: 768px) {
  .footer__bottom { grid-template-columns: 1fr; text-align: left; }
  .footer__bottom > :last-child { text-align: left; }
}

/* Bento socials row */
.socials {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.socials a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--ink-10);
  border-radius: 10px;
  color: var(--ink-60);
  transition: color .2s, border-color .2s, background .2s, transform .2s;
  background: rgba(255, 255, 255, .4);
}
.socials a:hover { color: var(--violet); border-color: var(--violet); transform: translateY(-2px); background: var(--paper); }
.socials a svg { width: 16px; height: 16px; }

/* Studio corner marker on hero */
.hero__marker {
  position: absolute;
  top: 92px;
  right: 28px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--ink-40);
  text-transform: uppercase;
  text-align: right;
  line-height: 1.6;
}
.hero__marker b { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) { .hero__marker { display: none; } }

/* "Live" time indicator in nav — extra micro-detail */
.nav__time {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-40);
  letter-spacing: 0.06em;
  padding: 0 12px;
  border-left: 1px solid var(--ink-10);
  margin-left: 4px;
  white-space: nowrap;
}
.nav__time i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 229, 176, .2);
  animation: breathe 2.4s ease-in-out infinite;
  flex-shrink: 0;
}
/* Hide the "· Available" part on narrower screens, keep the dot + clock */
@media (max-width: 1100px) {
  .nav__time span:last-child { display: none; }
  .nav__time { padding: 0 10px; margin-left: 0; border-left: none; }
}
/* On small phones, hide the time widget completely — not enough room */
@media (max-width: 520px) { .nav__time { display: none; } }

/* Marquee — second inverted track */
.marquee { position: relative; }
.marquee__track--slow { animation-duration: 60s; opacity: .7; }

/* Split-text base state (JS turns lines into spans) */
.split-line { display: block; overflow: hidden; }
.split-line__inner { display: block; transform: translateY(110%); }

/* Improved pillar hover: subtle border accent line */
.pillar::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--violet);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .5s var(--ease);
}
.pillar:hover::before { transform: scaleY(1); }
.pillar--ai::before { background: var(--teal); }

/* Case arrow stronger animation */
.case { position: relative; }
.case::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s var(--ease);
}
.case:hover::after { transform: scaleX(1); }

/* Beliefs: better hover */
.beliefs__list li { transition: padding-left .3s var(--ease); }
.beliefs__list li:hover { padding-left: 20px; }
.beliefs__list li:hover .mono { color: var(--violet); }

/* Meta stats: slightly richer */
.meta__num {
  position: relative;
  display: inline-block;
}
.meta__num::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, var(--ink-20), transparent);
}

/* Small visual: section tag → gets a dot prefix */
.section-head__tag .mono::before {
  content: '●';
  color: var(--violet);
  margin-right: 10px;
  font-size: 8px;
  vertical-align: middle;
}

/* =========================================================
   SUB-PAGE HERO (shared by /services, /philosophy, /process, /work)
   ========================================================= */
.page-hero {
  padding: 180px 24px 100px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--ink-10);
}
.page-hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: end;
}
@media (max-width: 860px) { .page-hero__inner { grid-template-columns: 1fr; gap: 32px; } }

.page-hero__crumb {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink-40);
  font-size: 12.5px;
  margin-bottom: 28px;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}
.page-hero__crumb a { color: var(--ink-60); transition: color .2s; }
.page-hero__crumb a:hover { color: var(--violet); }
.page-hero__crumb svg { color: var(--ink-40); }

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 120px);
  font-weight: 600;
  line-height: .96;
  letter-spacing: -0.045em;
  margin: 0;
}
.page-hero__title em { font-style: italic; color: var(--violet); font-weight: 500; }

.page-hero__lede {
  max-width: 440px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-60);
  margin: 0;
}

/* SERVICES page expanded detail rows */
.service-detail {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  padding: 80px 0;
  border-top: 1px solid var(--ink-10);
}
.service-detail:first-of-type { border-top: none; }
.service-detail__tag { color: var(--violet); font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.08em; margin-bottom: 10px; }
.service-detail__title { font-family: var(--font-display); font-size: clamp(36px, 5vw, 64px); font-weight: 600; letter-spacing: -0.03em; margin: 0 0 20px; line-height: 1; }
.service-detail__desc { color: var(--ink-60); font-size: 17px; max-width: 420px; margin: 0; }
.service-detail__body h4 { font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--ink-40); margin: 0 0 14px; text-transform: uppercase; letter-spacing: 0.08em; }
.service-detail__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 40px; }
.service-detail__grid > div {
  padding: 20px 22px;
  border: 1px solid var(--ink-10);
  border-radius: 14px;
  background: rgba(255, 255, 255, .5);
  font-size: 15px;
  line-height: 1.45;
}
.service-detail__grid strong { display: block; margin-bottom: 4px; font-weight: 600; }
.service-detail__grid span { color: var(--ink-60); font-size: 14px; }
.service-detail__stack { display: flex; gap: 8px; flex-wrap: wrap; }
.service-detail__stack span {
  padding: 6px 12px;
  border: 1px solid var(--ink-10);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-60);
  background: rgba(255, 255, 255, .5);
}
.service-detail--ai { background: var(--void); color: var(--paper); border-radius: var(--radius-xl); padding: 80px; margin: 40px 0; border: none; max-width: calc(1280px - 80px); }
.service-detail--ai .service-detail__tag { color: var(--teal); }
.service-detail--ai .service-detail__desc { color: var(--snow-60); }
.service-detail--ai .service-detail__body h4 { color: var(--snow-40); }
.service-detail--ai .service-detail__grid > div { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .08); }
.service-detail--ai .service-detail__grid span { color: var(--snow-60); }
.service-detail--ai .service-detail__stack span { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); color: var(--snow-60); }
@media (max-width: 860px) {
  .service-detail { grid-template-columns: 1fr; gap: 32px; padding: 48px 0; }
  .service-detail__grid { grid-template-columns: 1fr; }
  .service-detail--ai { padding: 48px 24px; margin: 24px 0; }
}

.services-page { padding: 80px 24px 140px; }
.services-page__inner { max-width: 1280px; margin: 0 auto; }

/* WORK page table */
.work-table {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 24px 140px;
}
.work-table__row {
  display: grid;
  grid-template-columns: 80px 1.5fr 1fr 100px;
  gap: 40px;
  padding: 32px 0;
  border-top: 1px solid var(--ink-10);
  align-items: center;
  color: inherit;
  position: relative;
  transition: padding .3s var(--ease);
}
.work-table__row:last-child { border-bottom: 1px solid var(--ink-10); }
.work-table__row:hover { padding-left: 20px; }
.work-table__row:hover .work-table__arrow { color: var(--violet); transform: translateX(6px); }
.work-table__num { font-family: var(--font-mono); font-size: 13px; color: var(--ink-40); }
.work-table__title { font-family: var(--font-display); font-size: clamp(22px, 3vw, 32px); font-weight: 600; letter-spacing: -0.02em; margin: 0; line-height: 1.15; }
.work-table__desc { color: var(--ink-60); font-size: 14px; margin-top: 6px; }
.work-table__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.work-table__tags span { padding: 3px 10px; border: 1px solid var(--ink-10); border-radius: 100px; font-family: var(--font-mono); font-size: 11px; color: var(--ink-60); }
.work-table__tags .teal { color: var(--teal); border-color: rgba(0, 229, 176, .3); }
.work-table__arrow { color: var(--ink-40); transition: color .3s, transform .3s var(--ease); justify-self: end; }
@media (max-width: 860px) {
  .work-table__row { grid-template-columns: 60px 1fr; gap: 16px; }
  .work-table__tags, .work-table__arrow { display: none; }
}

/* PROCESS page — phase blocks */
.phase {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  padding: 100px 0;
  border-top: 1px solid var(--ink-10);
}
.phase:first-of-type { border-top: none; padding-top: 0; }
.phase__label { font-family: var(--font-mono); color: var(--violet); font-size: 13px; letter-spacing: 0.1em; margin-bottom: 16px; }
.phase__num { font-family: var(--font-display); font-size: clamp(80px, 12vw, 180px); font-weight: 600; letter-spacing: -0.06em; line-height: .85; color: var(--ink); margin: 0 0 20px; }
.phase__num em { font-style: normal; color: var(--violet); }
.phase__title { font-family: var(--font-display); font-size: clamp(36px, 5vw, 56px); font-weight: 600; letter-spacing: -0.03em; margin: 0 0 20px; line-height: 1; }
.phase__desc { color: var(--ink-60); font-size: 18px; line-height: 1.6; max-width: 640px; margin: 0 0 36px; }
.phase__list { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.phase__list li {
  padding: 18px 20px;
  border: 1px solid var(--ink-10);
  border-radius: 14px;
  background: rgba(255, 255, 255, .4);
  font-size: 14.5px;
  line-height: 1.5;
  display: flex;
  gap: 12px;
}
.phase__list li::before { content: ''; flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--violet); margin-top: 8px; }
.phase__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--ink-10);
  border-radius: 14px;
  overflow: hidden;
}
.phase__meta > div { padding: 16px 20px; border-right: 1px solid var(--ink-10); }
.phase__meta > div:last-child { border-right: none; }
.phase__meta .mono { display: block; font-size: 11px; color: var(--ink-40); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 6px; }
.phase__meta strong { font-family: var(--font-display); font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
@media (max-width: 860px) {
  .phase { grid-template-columns: 1fr; gap: 24px; padding: 64px 0; }
  .phase__list { grid-template-columns: 1fr; }
  .phase__meta { grid-template-columns: 1fr; }
  .phase__meta > div { border-right: none; border-bottom: 1px solid var(--ink-10); }
  .phase__meta > div:last-child { border-bottom: none; }
}

/* PHILOSOPHY page big statement */
.statement {
  max-width: 1000px;
  margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
}
.statement p {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 32px;
}
.statement p:last-child { margin-bottom: 0; color: var(--ink-60); }
.statement em { font-style: italic; color: var(--violet); }

/* =========================================================
   reveal animation defaults (JS adds .is-in)
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero__title .word { transform: none; }
}
