/* ============================================================
   THE ORGANIZER
   Think . Plan . Execute.
   ============================================================ */

/* ── Tokens ────────────────────────────────────────────────── */
:root {
  --bg: #0a0a0a;           /* deep ink (now background) */
  --bg-soft: #161616;      /* slight elevation */
  --bg-deep: #050505;      /* deeper recess */
  --ink: #f3f0e7;          /* warm paper (now text) */
  --ink-soft: #c8c4b6;     /* dimmer text */
  --muted: #7a7568;        /* mid muted */
  --rule: rgba(243, 240, 231, 0.14);  /* subtle borders on dark */
  --rule-strong: rgba(243, 240, 231, 0.28);
  --accent: #d4ff00;       /* electric chartreuse */
  --accent-deep: #b4dd00;

  --font-display: "Archivo Black", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-serif: "Fraunces", "Times New Roman", serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --maxw: 1480px;
  --pad-x: clamp(1.25rem, 4vw, 4rem);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-mono);
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.5;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

/* ── Custom cursor (desktop only) ─────────────────────────── */
@media (pointer: fine) {
  body { cursor: none; }
  a, button, [data-magnetic], .service { cursor: none; }
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  mix-blend-mode: difference;
  display: none;
}
@media (pointer: fine) {
  .cursor-dot, .cursor-ring { display: block; }
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--ease-out), height 0.25s var(--ease-out), background 0.25s;
}
.cursor-ring {
  width: 38px; height: 38px;
  border: 1px solid #fff;
  transform: translate(-50%, -50%);
  transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out), background 0.35s;
}
.cursor-ring.is-hovering {
  width: 70px; height: 70px;
  background: rgba(212, 255, 0, 0.18);
  border-color: var(--accent);
}
.cursor-dot.is-hovering { width: 0; height: 0; }

/* ── Cursor-following glow (atmospheric spotlight) ────────── */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 600px; height: 600px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle,
    rgba(212, 255, 0, 0.08) 0%,
    rgba(212, 255, 0, 0.03) 30%,
    transparent 70%);
  filter: blur(30px);
  opacity: 0;
  transition: opacity 0.8s ease;
  will-change: transform;
  mix-blend-mode: screen;
}
.cursor-glow.is-active { opacity: 1; }

/* ── Reactive grid background ─────────────────────────────── */
/* Two layers: base grid visible everywhere + bright chartreuse layer
   masked to a soft circle around the cursor. As you move, the grid
   "lights up" beneath you. */
.grid-overlay {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    linear-gradient(to right, rgba(243,240,231,0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(243,240,231,0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: 0 0;
}

.grid-overlay__reactive {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(212, 255, 0, 0.55) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(212, 255, 0, 0.55) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: 0 0;
  -webkit-mask-image: radial-gradient(circle 260px at var(--mx, 50vw) var(--my, 50vh),
    rgba(0,0,0,1) 0%, rgba(0,0,0,0.7) 30%, rgba(0,0,0,0) 70%);
  mask-image: radial-gradient(circle 260px at var(--mx, 50vw) var(--my, 50vh),
    rgba(0,0,0,1) 0%, rgba(0,0,0,0.7) 30%, rgba(0,0,0,0) 70%);
  transition: opacity 0.4s ease;
}

/* ── Loader ───────────────────────────────────────────────── */
.loader {
  position: fixed; inset: 0;
  background: var(--bg);
  color: var(--ink);
  z-index: 10000;
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: var(--pad-x);
  transition: transform 0.9s var(--ease-in-out);
}
.loader.is-done { transform: translateY(-101%); }
.loader-inner {
  width: 100%;
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-mono);
  font-size: clamp(1rem, 2vw, 1.4rem);
  letter-spacing: 0.1em;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(243,240,231,0.2);
}
.loader-count {
  font-family: var(--font-display);
  font-size: clamp(4rem, 18vw, 14rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--ink);
}

/* ── Nav ──────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 1.25rem var(--pad-x);
  display: flex; justify-content: space-between; align-items: center;
  backdrop-filter: blur(10px);
  background: linear-gradient(to bottom, rgba(10,10,10,0.92), rgba(10,10,10,0));
  mix-blend-mode: normal;
}

/* ── Logo image (used in nav, hero, footer) ───────────────── */
/* PNG is already cream on transparent — no filter needed. */
.logo-img {
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

/* ── Nav logo ─────────────────────────────────────────────── */
.nav-mark {
  display: inline-flex; align-items: center;
}
.nav-logo {
  height: clamp(28px, 3.4vw, 44px);
  width: auto;
}

.nav-links {
  display: flex; gap: clamp(1rem, 2.5vw, 2.4rem);
  list-style: none;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.nav-links a {
  position: relative;
  padding: 0.4rem 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease-out);
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  padding: 7rem var(--pad-x) 4rem;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg); /* solid fallback before video paints */
}

/* Video backdrop */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-video {
  position: absolute;
  top: 50%; left: 50%;
  width: 100%; height: 100%;
  min-width: 100%; min-height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  filter: grayscale(1);
}

/* Flat 50% black overlay on top of the video */
.hero-scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

/* Lift everything else above the video layer */
.hero-meta,
.hero-stage,
.hero-bg-type,
.scroll-cue { position: relative; z-index: 2; }

.hero-meta {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  animation: rise 1s var(--ease-out) 0.4s forwards;
}
.rev { font-variant-numeric: tabular-nums; }

.hero-stage {
  flex: 1;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: clamp(2rem, 6vw, 5rem) 0;
  position: relative;
  z-index: 2;
}

.hero-logo-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-logo {
  width: 100%;
  max-width: min(1300px, 88vw);
  height: auto;
  /* clip-path mask reveal — left to right wipe */
  clip-path: inset(0 100% 0 0);
  animation: heroLogoReveal 1.4s var(--ease-out) 0.85s forwards;
  will-change: clip-path;
}
@keyframes heroLogoReveal {
  to { clip-path: inset(0 0 0 0); }
}

/* Big background type that scrolls/parallaxes */
.hero-bg-type {
  position: absolute;
  bottom: -3vw; right: -2vw;
  font-family: var(--font-display);
  font-size: clamp(12rem, 32vw, 36rem);
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 2px rgba(243,240,231,0.12);
  letter-spacing: -0.05em;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  mix-blend-mode: overlay;
}

.scroll-cue {
  position: relative;
  width: 1px; height: 60px;
  background: var(--rule);
  margin: 0 auto;
  overflow: hidden;
}
.scroll-cue span {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 40%;
  background: var(--ink);
  animation: scrollCue 2s var(--ease-in-out) infinite;
}
@keyframes scrollCue {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(250%); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Generic section bits ─────────────────────────────────── */
.section-tag {
  display: flex; gap: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: clamp(2rem, 5vw, 4rem);
}
.section-tag span:first-child { font-weight: 700; color: var(--ink); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}

/* ── Manifesto ────────────────────────────────────────────── */
.manifesto {
  padding: clamp(5rem, 10vw, 9rem) var(--pad-x);
  max-width: var(--maxw);
  margin: 0 auto;
}
.manifesto-text {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.5vw, 3rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  max-width: 22ch;
}
.manifesto-text em {
  font-style: italic;
}
.manifesto-text .hl {
  background: linear-gradient(120deg, transparent 0% 6%, var(--accent) 6% 94%, transparent 94% 100%);
  color: var(--bg);
  padding: 0.05em 0.15em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ── Marquee ──────────────────────────────────────────────── */
.marquee {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  overflow: hidden;
  background: var(--ink);
  color: var(--bg);
  padding: 1.25rem 0;
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: -0.02em;
  animation: marquee 38s linear infinite;
}
.marquee-track span { padding-right: 1rem; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Services ─────────────────────────────────────────────── */
.services {
  padding: clamp(5rem, 10vw, 9rem) var(--pad-x);
  max-width: var(--maxw);
  margin: 0 auto;
}
.service-list {
  list-style: none;
  border-top: 1px solid var(--ink);
}
.service {
  display: grid;
  grid-template-columns: 80px 1fr 60px;
  gap: clamp(1rem, 3vw, 3rem);
  align-items: center;
  padding: clamp(1.75rem, 3vw, 2.5rem) 0;
  border-bottom: 1px solid var(--ink);
  position: relative;
  transition: padding 0.4s var(--ease-out);
}
.service::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.5s var(--ease-out);
  z-index: -1;
}
.service:hover { padding-left: clamp(1rem, 2vw, 2rem); }
.service:hover::before { transform: scaleY(1); transform-origin: top; }
.service:hover,
.service:hover h3,
.service:hover p,
.service:hover .service-num,
.service:hover .service-tag { color: var(--bg); }

.service-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  transition: color 0.4s;
}
.service-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.8rem);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.6rem;
  transition: color 0.4s;
}
.service-body p {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 62ch;
  color: var(--ink-soft);
  transition: color 0.4s;
}
.service-tag {
  font-family: var(--font-display);
  font-size: 1.4rem;
  text-align: right;
  transition: transform 0.45s var(--ease-out), color 0.4s;
}
.service:hover .service-tag {
  transform: translateX(10px) rotate(-45deg);
}

/* ── Process ──────────────────────────────────────────────── */
.process {
  padding: clamp(5rem, 10vw, 9rem) var(--pad-x);
  max-width: var(--maxw);
  margin: 0 auto;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}
.step {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--bg-soft);
  transition: background 0.4s, color 0.4s;
  position: relative;
  overflow: hidden;
}
.step::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 0;
  background: var(--accent);
  transition: height 0.5s var(--ease-out);
  z-index: 0;
}
.step:hover::after { height: 100%; }
.step:hover { color: var(--bg); }
.step:hover .step-num { color: var(--bg); }
.step > * { position: relative; z-index: 1; }

.step header {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--ink);
}
.step-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--muted);
}
.step-verb {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
}
.step p {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.4;
  margin-bottom: 1.5rem;
}
.step p em { font-style: italic; }
.step-list {
  list-style: none;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}
.step-list li {
  padding: 0.5rem 0;
  border-top: 1px dashed var(--rule-strong);
  display: flex; align-items: center; gap: 0.6rem;
}
.step-list li::before {
  content: "→";
  color: var(--ink);
}
.step:hover .step-list li::before { color: var(--bg); }

/* ── Team ─────────────────────────────────────────────────── */
.team {
  padding: clamp(5rem, 10vw, 9rem) var(--pad-x);
  max-width: var(--maxw);
  margin: 0 auto;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
}

.team-member {
  display: flex; flex-direction: column;
  gap: 1.5rem;
}

/* Founder gets a subtle elevation — sits a touch higher than the others
   and gains a chartreuse accent rule above the role label. */
.team-member--founder {
  transform: translateY(-2.5rem);
}
.team-member--founder .team-role { color: var(--accent); }
.team-member--founder .team-portrait-rule { background: var(--accent); }

.team-portrait {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--bg-soft);
}
.team-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(1) contrast(1.05);
  transition: transform 1.4s var(--ease-out), filter 0.6s ease;
  will-change: transform;
}
.team-member:hover .team-portrait img {
  transform: scale(1.04);
  filter: grayscale(1) contrast(1.15) brightness(1.05);
}

/* The thin rule that sits below each portrait — accent on the founder,
   cream on the others. Animates in on reveal. */
.team-portrait-rule {
  position: absolute;
  left: 0; bottom: 0;
  height: 3px;
  width: 100%;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s var(--ease-out) 0.2s;
}
.team-member.is-visible .team-portrait-rule,
[data-reveal].is-visible .team-portrait-rule {
  transform: scaleX(1);
}

.team-info {
  display: flex; flex-direction: column;
  gap: 1rem;
}
.team-role {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}
.team-name {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.team-info p {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 38ch;
}
.team-skills {
  list-style: none;
  display: flex; flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.team-skills li {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--rule-strong);
  color: var(--ink-soft);
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.team-member:hover .team-skills li {
  border-color: var(--ink);
  color: var(--ink);
}
.team-member--founder .team-skills li {
  border-color: rgba(212, 255, 0, 0.4);
}
.team-member--founder:hover .team-skills li {
  border-color: var(--accent);
  color: var(--accent);
}

/* ── Stats ────────────────────────────────────────────────── */
.stats {
  background: var(--bg-soft);
  color: var(--ink);
  padding: clamp(4rem, 8vw, 7rem) var(--pad-x);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.stat {
  display: flex; flex-direction: column;
  gap: 0.5rem;
  border-left: 1px solid var(--rule);
  padding-left: clamp(1rem, 2vw, 2rem);
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 8rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--accent);
}

/* ── Contact ──────────────────────────────────────────────── */
.contact {
  padding: clamp(6rem, 12vw, 10rem) var(--pad-x);
  max-width: var(--maxw);
  margin: 0 auto;
  text-align: left;
}
.cta-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 11vw, 10rem);
  line-height: 0.88;
  letter-spacing: -0.05em;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.cta-btn {
  display: inline-flex; align-items: center; gap: 1.25rem;
  padding: 1.6rem 2.4rem;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: background 0.3s, color 0.3s, transform 0.5s var(--ease-out);
  will-change: transform;
}
.cta-btn:hover { background: var(--accent); color: var(--bg); }
.cta-btn .cta-arrow {
  font-family: var(--font-display);
  font-size: 1.4rem;
  transition: transform 0.4s var(--ease-out);
}
.cta-btn:hover .cta-arrow { transform: translateX(6px); }

.contact-grid {
  margin-top: clamp(3rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  border-top: 1px solid var(--rule);
  padding-top: 2rem;
}
.contact-grid > div {
  display: flex; flex-direction: column; gap: 0.5rem;
}
.contact-key {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-grid a, .contact-grid span:not(.contact-key) {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  line-height: 1.3;
}
.contact-grid a:hover { color: var(--accent); }

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--bg);
  color: var(--ink);
  padding: clamp(3rem, 6vw, 5rem) var(--pad-x) 2rem;
  display: grid;
  gap: 2rem;
  border-top: 1px solid var(--rule);
}
.footer-logo {
  width: 100%;
  max-width: min(900px, 90vw);
  height: auto;
  margin: 0 auto;
}
.footer-legal {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}

/* ── Reveal on scroll ─────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 860px) {
  .nav-links { gap: 1rem; font-size: 0.7rem; }
  .nav-links li:nth-child(2) { display: none; }
  .service { grid-template-columns: 50px 1fr 30px; }
  .process-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; gap: clamp(2.5rem, 6vw, 4rem); }
  .team-member--founder { transform: none; order: -1; }
  .stats { grid-template-columns: 1fr; gap: 1.5rem; }
  .stat { border-left: 0; border-top: 1px solid var(--rule); padding-left: 0; padding-top: 1.5rem; }
  .stat:first-child { border-top: 0; padding-top: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-legal { flex-direction: column; gap: 0.5rem; }
}

@media (max-width: 520px) {
  .hero-meta { font-size: 0.62rem; }
  .nav { padding: 1rem var(--pad-x); }
  .nav-mark { font-size: 0.95rem; }
  .service-num { font-size: 0.72rem; }
  .service-body p { font-size: 0.82rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .cursor-glow { display: none; }
}
