/* =========================================================
   Eventech — Minimalist Tech Design System
   ========================================================= */

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

:root {
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --bg-card: #ffffff;
  --ink: #0a0a0a;
  --ink-soft: #1a1a1a;
  --muted: #6b6b6b;
  --muted-soft: #a3a3a3;
  --hair: #e5e5e5;
  --hair-strong: #d4d4d4;
  --accent: #0a0a0a;
  --coral: #ff5b4a;          /* one warm accent, used sparingly */
  --coral-soft: #ffe5e1;
  --container: 1280px;
  --container-px: 32px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 180ms;
  --t-base: 320ms;
  --t-slow: 600ms;
}

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  position: relative;
  min-height: 100vh;
}

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

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

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

input, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

::selection {
  background: var(--ink);
  color: var(--bg);
}

/* Container */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-px);
  position: relative;
}

/* =========================================================
   Noise overlay (subtle film grain)
   ========================================================= */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%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 dot
   ========================================================= */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--ink);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 120ms var(--ease), width 240ms var(--ease), height 240ms var(--ease);
  mix-blend-mode: difference;
  background: #fff;
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .cursor-dot { display: block; }
  a:hover ~ .cursor-dot,
  button:hover ~ .cursor-dot {
    width: 32px;
    height: 32px;
  }
}

/* =========================================================
   Navigation
   ========================================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base) var(--ease), background var(--t-base) var(--ease);
}

.nav.is-scrolled {
  border-bottom-color: var(--hair);
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.nav__logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 32px;
  color: var(--ink);
  flex-shrink: 0;
}

.nav__logo-mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.nav__logo-text {
  font-weight: 700;
  letter-spacing: -0.025em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}

.nav__links a {
  color: var(--ink-soft);
  font-weight: 500;
  position: relative;
  transition: color var(--t-fast) var(--ease);
}

.nav__links a:not(.nav__cta):hover {
  color: var(--ink);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 500;
  color: var(--ink) !important;
  background: var(--bg);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}

.nav__cta:hover {
  background: var(--ink);
  color: var(--bg) !important;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .nav__links { gap: 16px; font-size: 13px; }
  .nav__links a:not(.nav__cta) { display: none; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  padding: 180px 0 120px;
  overflow: hidden;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
  pointer-events: none;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 45%, #000 25%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 45%, #000 25%, transparent 85%);
  opacity: 0.7;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
}

.hero__eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 0 rgba(255, 91, 74, 0.5);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 91, 74, 0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(255, 91, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 91, 74, 0); }
}

.hero__title {
  margin-top: 32px;
  font-size: clamp(56px, 9.5vw, 132px);
  line-height: 0.94;
  letter-spacing: -0.05em;
  font-weight: 700;
  color: var(--ink);
}

.hero__title .line {
  display: block;
  overflow: hidden;
}

.hero__title em {
  font-style: italic;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  color: var(--ink);
  position: relative;
  display: inline-block;
}

.hero__title em::after {
  content: '';
  position: absolute;
  left: -0.04em;
  right: -0.04em;
  bottom: 0.06em;
  height: 4px;
  background: var(--coral);
  border-radius: 2px;
  transform-origin: left;
  animation: drawLine 1.4s var(--ease) 0.6s both;
}

@keyframes drawLine {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* Rotating word in hero title — min-width tracks the widest word
   (currently "scales" / "builds" / "learns" at 6 chars). Keep a real
   safety margin so nothing clips on first paint or any future word. */
.hero__rotator {
  display: inline-grid;
  grid-template-areas: "stack";
  vertical-align: baseline;
  text-align: left;
  min-width: 8ch;
}

.hero__rotator > span {
  grid-area: stack;
  opacity: 0;
  transform: translateY(0.4em);
  transition: opacity 480ms var(--ease), transform 480ms var(--ease);
  white-space: nowrap;
}

.hero__rotator > span.is-active {
  opacity: 1;
  transform: translateY(0);
}

.hero__rotator > span.is-leaving {
  opacity: 0;
  transform: translateY(-0.4em);
}

.hero__sub {
  margin-top: 32px;
  max-width: 620px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
  font-weight: 400;
}

.hero__actions {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
  white-space: nowrap;
}

.btn--primary {
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
}

.btn--primary:hover {
  transform: translateY(-2px);
  background: #1f1f1f;
}

.btn--primary svg {
  transition: transform var(--t-fast) var(--ease);
}

.btn--primary:hover svg {
  transform: translateX(3px);
}

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

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

.hero__meta {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--hair);
  padding-top: 32px;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-right: 24px;
  position: relative;
}

.meta-item + .meta-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--hair);
}

.meta-item__icon {
  width: 18px;
  height: 18px;
  color: var(--ink);
  opacity: 0.6;
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}

.meta-item:hover .meta-item__icon {
  opacity: 1;
  transform: translateX(2px);
}

.meta-item__num {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.035em;
  font-feature-settings: 'tnum';
  line-height: 1;
}

.meta-item__label {
  font-size: 13px;
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0;
}

@media (max-width: 768px) {
  .hero__meta { grid-template-columns: repeat(2, 1fr); gap: 32px 0; padding-top: 24px; }
  .meta-item + .meta-item::before { display: none; }
  .meta-item:nth-child(3)::before,
  .meta-item:nth-child(4)::before { display: block; top: -16px; bottom: auto; height: 1px; width: auto; right: 0; left: 0; background: var(--hair); }
  .hero { padding: 140px 0 60px; }
}

/* =========================================================
   Section heads
   ========================================================= */
.section-head {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 80px;
  max-width: 900px;
}

.section-head__num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-head__title {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 600;
  color: var(--ink);
}

.section-head__sub {
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 640px;
}

/* =========================================================
   Services
   ========================================================= */
.services {
  padding: 180px 0;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg);
}

.service-card {
  position: relative;
  padding: 40px;
  border-right: 1px solid var(--hair);
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--bg);
  transition: background var(--t-base) var(--ease);
  min-height: 520px;
}

.service-card:last-child {
  border-right: none;
}

.service-card:hover {
  background: var(--bg-soft);
}

.service-card--featured {
  background: var(--ink);
  color: var(--bg);
}

.service-card--featured:hover {
  background: var(--ink-soft);
}

.service-card__num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.service-card--featured .service-card__num {
  color: rgba(255, 255, 255, 0.5);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  color: var(--ink);
}

.service-card--featured .service-card__icon {
  color: var(--bg);
}

.service-card__title {
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 600;
}

.service-card__desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

.service-card--featured .service-card__desc {
  color: rgba(255, 255, 255, 0.7);
}

.service-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--hair);
}

.service-card--featured .service-card__list {
  border-top-color: rgba(255, 255, 255, 0.15);
}

.service-card__list li {
  font-size: 14px;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-card--featured .service-card__list li {
  color: rgba(255, 255, 255, 0.85);
}

.service-card__list li::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  background: currentColor;
  border-radius: 50%;
  flex-shrink: 0;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: inherit;
  width: fit-content;
  margin-top: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast) var(--ease), gap var(--t-fast) var(--ease);
}

.service-card__link:hover {
  border-bottom-color: currentColor;
  gap: 12px;
}

@media (max-width: 1024px) {
  .services__grid { grid-template-columns: 1fr; }
  .service-card { border-right: none; border-bottom: 1px solid var(--hair); }
  .service-card:last-child { border-bottom: none; }
  .service-card { min-height: auto; }
}

/* =========================================================
   Work / Showcase
   ========================================================= */
.work {
  padding: 140px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}

.work__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--hair);
}

.work__row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid var(--hair);
  transition: padding var(--t-base) var(--ease);
  align-items: center;
}

.work__row:hover {
  padding-left: 16px;
}

.work__row-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.work__row-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.work__row-title {
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 600;
}

.work__row-desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 540px;
}

.work__row-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 40px;
}

.work__row-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;
}

.work__row-stat-num {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.025em;
  font-feature-settings: 'tnum';
}

.work__row-stat-label {
  font-size: 12px;
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
}

.work__row-arrow {
  width: 48px;
  height: 48px;
  border: 1px solid var(--hair);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}

.work__row:hover .work__row-arrow {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
  transform: rotate(-45deg);
}

@media (max-width: 1024px) {
  .work__row { grid-template-columns: 1fr; gap: 24px; }
  .work__row-right { justify-content: flex-start; }
  .work__row:hover { padding-left: 0; }
}

/* =========================================================
   Process
   ========================================================= */
.process {
  padding: 180px 0;
}

.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--hair);
}

.process__step {
  padding: 32px 32px 32px 0;
  border-right: 1px solid var(--hair);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.process__step:last-child {
  border-right: none;
}

.process__step:not(:first-child) {
  padding-left: 32px;
}

.process__step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.process__step-title {
  font-size: 22px;
  letter-spacing: -0.02em;
  font-weight: 600;
  line-height: 1.2;
}

.process__step-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

@media (max-width: 1024px) {
  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .process__step { padding: 24px; border-bottom: 1px solid var(--hair); }
  .process__step:nth-child(2n) { border-right: none; }
  .process__step:nth-last-child(-n+2) { border-bottom: none; }
}

@media (max-width: 640px) {
  .process__grid { grid-template-columns: 1fr; }
  .process__step { border-right: none; border-bottom: 1px solid var(--hair); }
  .process__step:last-child { border-bottom: none; }
}

/* =========================================================
   About
   ========================================================= */
.about {
  padding: 200px 0;
  background: var(--ink);
  color: var(--bg);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 60%);
  pointer-events: none;
}

.about__quote {
  max-width: 1100px;
}

.about__quote-text {
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 500;
  color: var(--bg);
}

.about__quote-attr {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.about__quote-name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.about__quote-role {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  font-family: 'JetBrains Mono', monospace;
}

.about__pillars {
  margin-top: 120px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.about__pillar {
  padding: 32px 32px 32px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about__pillar:last-child {
  border-right: none;
}

.about__pillar:not(:first-child) {
  padding-left: 32px;
}

.about__pillar-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.04em;
}

.about__pillar h4 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.about__pillar p {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 1024px) {
  .about__pillars { grid-template-columns: 1fr; }
  .about__pillar { padding: 24px 0; border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
  .about__pillar:last-child { border-bottom: none; }
}

/* =========================================================
   CTA
   ========================================================= */
.cta {
  padding: 200px 0;
  background: var(--bg);
}

.cta__inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.cta__title {
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.cta__title .line {
  display: block;
}

.cta__title em {
  font-style: italic;
  font-weight: 300;
}

.cta__sub {
  margin: 24px auto 56px;
  max-width: 540px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
}

.cta__email {
  color: var(--ink);
  border-bottom: 1px solid var(--hair-strong);
  transition: border-color var(--t-fast) var(--ease);
}

.cta__email:hover {
  border-bottom-color: var(--ink);
}

.cta__form {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
  background: var(--bg-soft);
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  padding: 32px;
}

.cta__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.cta__form-full {
  grid-column: 1 / -1;
}

.cta__form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.02em;
}

.cta__form input,
.cta__form textarea {
  padding: 12px 14px;
  border: 1px solid var(--hair);
  border-radius: var(--r-sm);
  background: var(--bg);
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  transition: border-color var(--t-fast) var(--ease);
  resize: vertical;
}

.cta__form input:focus,
.cta__form textarea:focus {
  outline: none;
  border-color: var(--ink);
}

.cta__form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.cta__form-sent {
  font-size: 14px;
  color: var(--ink);
  font-family: 'JetBrains Mono', monospace;
}

.cta__form-error {
  font-size: 14px;
  color: var(--ink);
  font-family: 'JetBrains Mono', monospace;
}

.cta__form-error a {
  border-bottom: 1px solid var(--hair-strong);
}

.cta__form button:disabled {
  opacity: 0.6;
  cursor: wait;
}

@media (max-width: 640px) {
  .cta__form-row { grid-template-columns: 1fr; }
  .cta__form { padding: 24px; }
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
  padding: 80px 0 32px;
  background: var(--ink);
  color: var(--bg);
  border-top: 1px solid var(--ink);
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 320px;
}

.footer__brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.footer__brand .nav__logo {
  color: var(--bg);
}

.footer__brand .nav__logo-mark {
  color: var(--bg);
  width: 128px;
  height: 42px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__col-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.footer__col a,
.footer__col p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--t-fast) var(--ease);
}

.footer__col a:hover {
  color: var(--bg);
}

.footer__bottom {
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  font-family: 'JetBrains Mono', monospace;
  flex-wrap: wrap;
}

.footer__bottom-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__bottom-links a {
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--t-fast) var(--ease);
}

.footer__bottom-links a:hover {
  color: var(--bg);
}

@media (max-width: 1024px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   Reveal animation
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
  will-change: transform, opacity;
}

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

.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }
.reveal[data-delay="4"] { transition-delay: 320ms; }

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

/* =========================================================
   Service pages nav (cross-link block above footer on home)
   ========================================================= */
.service-pages-nav {
  padding: 60px 0 100px;
  border-top: 1px solid var(--hair);
  background: var(--bg-soft);
}

.service-pages-nav__head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.service-pages-nav__eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.service-pages-nav__sub {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
}

.service-pages-nav nav ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}

.service-pages-nav nav li {
  border-right: 1px solid var(--hair);
  padding: 28px 24px 28px 0;
}

.service-pages-nav nav li:last-child {
  border-right: none;
}

.service-pages-nav nav li:not(:first-child) {
  padding-left: 24px;
}

.service-pages-nav nav a {
  font-size: 17px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.015em;
  transition: color var(--t-fast) var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.service-pages-nav nav a::after {
  content: '→';
  font-size: 16px;
  color: var(--muted);
  transition: transform var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.service-pages-nav nav a:hover {
  color: var(--ink);
}

.service-pages-nav nav a:hover::after {
  transform: translateX(3px);
  color: var(--ink);
}

@media (max-width: 768px) {
  .service-pages-nav nav ul {
    grid-template-columns: 1fr;
  }
  .service-pages-nav nav li {
    border-right: none;
    border-bottom: 1px solid var(--hair);
    padding: 20px 0;
  }
  .service-pages-nav nav li:last-child {
    border-bottom: none;
  }
  .service-pages-nav nav li:not(:first-child) {
    padding-left: 0;
  }
}

/* =========================================================
   FAQ
   ========================================================= */
.faq {
  padding: 180px 0;
  border-top: 1px solid var(--hair);
}

.faq__list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--hair);
}

.faq__item {
  border-bottom: 1px solid var(--hair);
  padding: 0;
}

.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  font-size: 19px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.015em;
  transition: color var(--t-fast) var(--ease);
  position: relative;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::marker {
  content: '';
}

.faq__item summary::after {
  content: '+';
  font-family: 'JetBrains Mono', monospace;
  font-size: 22px;
  font-weight: 300;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform var(--t-base) var(--ease), color var(--t-fast) var(--ease);
  width: 16px;
  text-align: center;
}

.faq__item[open] summary::after {
  transform: rotate(45deg);
  color: var(--ink);
}

.faq__item summary:hover {
  color: var(--ink);
}

.faq__answer {
  padding: 0 48px 28px 0;
  max-width: 720px;
}

.faq__answer p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.faq__answer a {
  color: var(--ink);
  border-bottom: 1px solid var(--hair-strong);
  transition: border-color var(--t-fast) var(--ease);
}

.faq__answer a:hover {
  border-bottom-color: var(--ink);
}

@media (max-width: 768px) {
  .faq { padding: 120px 0; }
  .faq__item summary { font-size: 17px; padding: 22px 0; }
  .faq__answer { padding-right: 0; }
}

/* =========================================================
   Page hero (used on /terms, /refund, /about)
   ========================================================= */
.page-hero {
  padding: 180px 0 80px;
  border-bottom: 1px solid var(--hair);
}

.page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page-hero__num {
  color: var(--ink);
}

.page-hero__title {
  margin-top: 24px;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 700;
  color: var(--ink);
  max-width: 12ch;
}

.page-hero__sub {
  margin-top: 28px;
  max-width: 640px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--muted);
}

@media (max-width: 768px) {
  .page-hero { padding: 140px 0 60px; }
}

/* =========================================================
   Legal pages (terms, refund)
   ========================================================= */
.legal {
  padding: 80px 0 120px;
}

.legal__container {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 80px;
  align-items: start;
}

.legal__toc {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 24px;
  border-right: 1px solid var(--hair);
}

.legal__toc-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.legal__toc a {
  font-size: 14px;
  color: var(--muted);
  padding: 4px 0;
  transition: color var(--t-fast) var(--ease);
}

.legal__toc a:hover {
  color: var(--ink);
}

.legal__body {
  max-width: 720px;
}

.legal__section {
  padding: 32px 0;
  border-top: 1px solid var(--hair);
}

.legal__section:first-child {
  border-top: none;
  padding-top: 0;
}

.legal__num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.legal__h2 {
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 20px;
}

.legal__body p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.legal__body p strong {
  color: var(--ink);
  font-weight: 600;
}

.legal__body p em {
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
}

.legal__body ul {
  list-style: none;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal__body ul li {
  position: relative;
  padding-left: 24px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.legal__body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 1px;
  background: var(--ink);
}

.legal__body a {
  color: var(--ink);
  border-bottom: 1px solid var(--hair-strong);
  transition: border-color var(--t-fast) var(--ease);
}

.legal__body a:hover {
  border-bottom-color: var(--ink);
}

.legal__contact {
  list-style: none !important;
  margin-top: 8px !important;
}

.legal__contact li {
  padding-left: 0 !important;
}

.legal__contact li::before {
  display: none !important;
}

@media (max-width: 1024px) {
  .legal__container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .legal__toc {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px 20px;
    padding-right: 0;
    padding-bottom: 24px;
    border-right: none;
    border-bottom: 1px solid var(--hair);
  }
  .legal__toc-label { width: 100%; }
}

/* =========================================================
   Legal CTA (shared by /terms, /refund, /about)
   ========================================================= */
.legal-cta {
  padding: 100px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--hair);
  text-align: center;
}

.legal-cta p {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 32px;
}

.about-cta {
  background: var(--ink);
  color: var(--bg);
}

.about-cta p {
  color: var(--bg);
}

/* =========================================================
   About page sections
   ========================================================= */
.about-page {
  padding: 120px 0 80px;
}

.about-page__container {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 80px;
  align-items: start;
}

.about-page__label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-top: 8px;
}

.about-page__body {
  max-width: 720px;
}

.about-page__lead {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 24px;
}

.about-page__body p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

@media (max-width: 1024px) {
  .about-page__container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Founder */
.about-founder {
  padding: 80px 0 120px;
  background: var(--bg-soft);
  border-top: 1px solid var(--hair);
}

.about-founder__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-founder__eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.about-founder__name {
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 600;
  color: var(--ink);
}

.about-founder__role {
  margin-top: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--muted);
}

.about-founder__bio {
  margin-top: 32px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.about-founder__right {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 8px;
}

.about-founder__panel {
  border-top: 1px solid var(--hair);
  padding-top: 20px;
}

.about-founder__panel-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.about-founder__panel-value {
  font-size: 18px;
  line-height: 1.4;
  color: var(--ink);
  font-weight: 500;
}

@media (max-width: 1024px) {
  .about-founder__container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* How we work (expanded on about page) */
.about-work {
  padding: 120px 0;
}

.about-work__head {
  margin-bottom: 64px;
  max-width: 800px;
}

.about-work__label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.about-work__title {
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--ink);
}

.about-work__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--hair);
}

.about-work__step {
  padding: 32px 24px 32px 0;
  border-right: 1px solid var(--hair);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-work__step:last-child {
  border-right: none;
}

.about-work__step:not(:first-child) {
  padding-left: 24px;
}

.about-work__num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.about-work__h3 {
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--ink);
}

.about-work__step p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}

@media (max-width: 1024px) {
  .about-work__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-work__step {
    border-right: none;
    border-bottom: 1px solid var(--hair);
  }
  .about-work__step:nth-child(2n) { border-right: none; }
  .about-work__step:nth-last-child(-n+2) { border-bottom: none; }
  .about-work__step:nth-child(2) { padding-right: 0; }
}

@media (max-width: 640px) {
  .about-work__grid { grid-template-columns: 1fr; }
  .about-work__step { border-bottom: 1px solid var(--hair); }
  .about-work__step:last-child { border-bottom: none; }
  .about-work__step { padding-left: 0 !important; padding-right: 0; }
}

/* Principles */
.about-principles {
  padding: 120px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--hair);
}

.about-principles__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--hair);
}

.about-principles__item {
  padding: 32px 24px 32px 0;
  border-right: 1px solid var(--hair);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-principles__item:last-child {
  border-right: none;
}

.about-principles__item:not(:first-child) {
  padding-left: 24px;
}

.about-principles__num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.about-principles__item h3 {
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--ink);
}

.about-principles__item p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}

@media (max-width: 1024px) {
  .about-principles__grid {
    grid-template-columns: 1fr;
  }
  .about-principles__item {
    border-right: none;
    border-bottom: 1px solid var(--hair);
  }
  .about-principles__item:last-child { border-bottom: none; }
  .about-principles__item { padding-left: 0 !important; padding-right: 0; }
}
