/* ============================================================
   VOLUME PATH — industrial signal aesthetic
   ink base / volt accent / warm paper sections
   type: Clash Display (display) · Archivo (body) · Fragment Mono (labels)
   ============================================================ */

:root {
  --ink: #0c0e0b;
  --ink-2: #131611;
  --ink-3: #1c201a;
  --paper: #f2efe6;
  --paper-2: #e8e4d6;
  --volt: #d7fb2e;
  --volt-deep: #a8c916;
  --white: #f7f6f1;
  --mute: rgba(247, 246, 241, 0.62);
  --mute-ink: rgba(12, 14, 11, 0.66);
  --line: rgba(247, 246, 241, 0.14);
  --line-ink: rgba(12, 14, 11, 0.16);

  --font-display: "Clash Display", "Archivo", sans-serif;
  --font-body: "Archivo", sans-serif;
  --font-mono: "Fragment Mono", monospace;

  --wrap: 1200px;
  --pad: clamp(20px, 4vw, 48px);
  --radius: 2px;
}

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

html { scroll-behavior: smooth; }

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

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

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

a { color: inherit; }

.mono { font-family: var(--font-mono); }

/* ---------- type ---------- */
.h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.015em;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--volt);
  margin-bottom: 22px;
}
.kicker--ink { color: var(--ink); }
.kicker__dot {
  width: 8px; height: 8px;
  background: currentColor;
  flex: none;
  animation: blink 2.4s steps(2, start) infinite;
}
@keyframes blink { 50% { opacity: 0.25; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn--lg { padding: 17px 32px; font-size: 14px; }
.btn--volt {
  background: var(--volt);
  color: var(--ink);
  box-shadow: 4px 4px 0 rgba(215, 251, 46, 0.18);
}
.btn--volt:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 rgba(215, 251, 46, 0.28); }
.btn--volt:active { transform: translate(0, 0); box-shadow: 2px 2px 0 rgba(215, 251, 46, 0.2); }
.btn--ghost { border-color: var(--line); color: var(--white); }
.btn--ghost:hover { border-color: var(--volt); color: var(--volt); }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(12, 14, 11, 0.88);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.nav__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 18px var(--pad);
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
}
.nav__mark { width: 26px; height: 26px; color: var(--volt); }
.nav__word, .footer__word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.01em;
}
.nav__word em, .footer__word em { font-style: normal; color: var(--volt); }
.nav__links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav__links a {
  font-family: var(--font-mono);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: var(--mute);
  transition: color 0.15s ease;
}
.nav__links a:hover { color: var(--volt); }
.nav__toggle { display: none; }
.nav__mobile { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 140px 0 120px;
  overflow: hidden;
}
.hero__flow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.85;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(247, 246, 241, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 246, 241, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, black 30%, transparent 75%);
  pointer-events: none;
}
.hero__ghost {
  position: absolute;
  top: 6%;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(140px, 24vw, 380px);
  letter-spacing: 0.02em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(247, 246, 241, 0.07);
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}
.hero__inner {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
  width: 100%;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(56px, 9.5vw, 128px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 8px 0 32px;
}
.hero__line { display: block; }
.hero__line--volt { color: var(--volt); }
.hero__sub {
  max-width: 620px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--mute);
  margin-bottom: 44px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__path {
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  width: 100%;
  height: 220px;
  opacity: 0.9;
}
#heroPath {
  stroke-dasharray: 2400;
  stroke-dashoffset: 2400;
  animation: draw 3.2s cubic-bezier(0.6, 0, 0.2, 1) 0.5s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero__node {
  fill: var(--volt);
  opacity: 0;
  animation: nodein 0.4s ease forwards;
}
.hero__node:nth-of-type(1) { animation-delay: 1.4s; }
.hero__node:nth-of-type(2) { animation-delay: 2.0s; }
.hero__node:nth-of-type(3) { animation-delay: 2.6s; }
.hero__node:nth-of-type(4) { animation-delay: 3.2s; }
@keyframes nodein { from { opacity: 0; r: 0; } to { opacity: 1; r: 5; } }

/* hero load-in */
.anim {
  opacity: 0;
  transform: translateY(26px);
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
  animation-delay: calc(var(--d, 0) * 0.14s + 0.1s);
}
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- ticker ---------- */
.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink-2);
  overflow: hidden;
  padding: 16px 0;
}
.ticker__track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: ticker 36s linear infinite;
}
.ticker__track span {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--mute);
  white-space: nowrap;
}
.ticker__track i { color: var(--volt); font-style: normal; font-family: var(--font-mono); font-size: 13px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- shared sections ---------- */
section { padding: clamp(80px, 10vw, 140px) 0; }
.section--paper { background: var(--paper); color: var(--ink); }
.section-head { margin-bottom: clamp(44px, 6vw, 72px); }

/* scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: calc(var(--rd, 0) * 0.1s);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- intro ---------- */
.intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.intro__right p { color: var(--mute-ink); margin-bottom: 18px; font-size: 18px; }
.intro__right p:last-child { margin-bottom: 0; }

.intro__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-ink);
  border: 1px solid var(--line-ink);
  margin-top: clamp(56px, 7vw, 96px);
}
.stat {
  background: var(--paper);
  padding: 30px 26px 34px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 0.2s ease;
}
.stat:hover { background: var(--paper-2); }
.stat__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 3.4vw, 44px);
  letter-spacing: -0.01em;
}
.stat__label {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mute-ink);
  line-height: 1.5;
}

/* ---------- services ---------- */
.services { background: var(--ink); }
.services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.card {
  position: relative;
  border: 1px solid var(--line);
  padding: 36px 32px 40px;
  background: var(--ink-2);
  transition: border-color 0.25s ease, transform 0.25s ease;
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--volt);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.card:hover { border-color: rgba(215, 251, 46, 0.4); transform: translateY(-4px); }
.card:hover::after { transform: scaleX(1); }
.card__num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--volt);
  letter-spacing: 0.1em;
}
.card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 2.4vw, 30px);
  margin: 14px 0 14px;
  letter-spacing: -0.01em;
}
.card__body { color: var(--mute); margin-bottom: 22px; }
.card__list { list-style: none; display: grid; gap: 9px; }
.card__list li {
  font-family: var(--font-mono);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--mute);
  padding-left: 20px;
  position: relative;
}
.card__list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--volt);
}

/* ---------- process ---------- */
.process__track {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 40px);
  counter-reset: step;
  position: relative;
}
.process__track::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 4%;
  right: 4%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 8px, transparent 8px 16px);
  opacity: 0.35;
}
.step { position: relative; padding-top: 72px; }
.step__num {
  position: absolute;
  top: 0;
  left: 0;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 14px;
  background: var(--ink);
  color: var(--volt);
  border-radius: 50%;
}
.step__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  margin-bottom: 10px;
}
.step p { color: var(--mute-ink); font-size: 15.5px; }

/* ---------- standards ---------- */
.standards { background: var(--ink); }
.standards__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.standards__lede { color: var(--mute); margin-top: 20px; font-size: 18px; max-width: 460px; }
.standards__list { list-style: none; display: grid; }
.standards__list li {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  color: var(--mute);
  font-size: 16.5px;
  line-height: 1.65;
}
.standards__list li:first-child { border-top: 1px solid var(--line); }
.standards__list strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--white);
  margin-bottom: 6px;
  letter-spacing: 0;
}

/* ---------- compliance ---------- */
.compliance__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.compliance__body p { color: var(--mute-ink); font-size: 17.5px; margin-bottom: 22px; }
.check-list { list-style: none; display: grid; gap: 14px; margin-bottom: 28px; }
.check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  background: var(--ink);
  color: var(--volt);
  border-radius: 50%;
}
.compliance__links a { color: var(--ink); font-weight: 600; text-decoration-color: var(--volt-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.compliance__links a:hover { color: var(--volt-deep); }

/* ---------- contact ---------- */
.contact {
  background: var(--ink);
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(100px, 14vw, 180px) 0;
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 55% at 50% 110%, rgba(215, 251, 46, 0.13), transparent 70%);
  pointer-events: none;
}
.contact__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.contact__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(52px, 8.5vw, 110px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.contact__title em { font-style: normal; color: var(--volt); }
.contact__sub { max-width: 520px; color: var(--mute); margin-bottom: 40px; font-size: 18px; }
.contact__actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.contact__meta {
  margin-top: 40px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mute);
}

/* ---------- footer ---------- */
.footer {
  position: relative;
  border-top: 1px solid var(--line);
  background: var(--ink-2);
  overflow: hidden;
  padding: 64px 0 40px;
}
.footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.footer__brand { display: inline-flex; align-items: center; gap: 10px; }
.footer__mark { width: 24px; height: 24px; color: var(--volt); }
.footer__nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__nav a {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--mute);
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer__nav a:hover { color: var(--volt); }
.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--mute);
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.footer__legal { font-size: 12px; opacity: 0.7; max-width: 640px; }
.footer__ghost {
  position: absolute;
  right: -1%;
  bottom: -34%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(120px, 18vw, 280px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(247, 246, 241, 0.05);
  pointer-events: none;
  user-select: none;
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal {
  max-width: 780px;
  margin: 0 auto;
  padding: 160px var(--pad) 100px;
}
.legal h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(38px, 5vw, 56px);
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}
.legal .legal__updated {
  font-family: var(--font-mono);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--volt);
  margin-bottom: 48px;
  display: block;
}
.legal h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  margin: 44px 0 14px;
}
.legal p, .legal li { color: var(--mute); font-size: 16px; }
.legal p { margin-bottom: 16px; }
.legal ul { margin: 0 0 16px 22px; display: grid; gap: 8px; }
.legal a { color: var(--volt); text-underline-offset: 3px; }
.legal strong { color: var(--white); }
.legal .callout {
  border: 1px solid rgba(215, 251, 46, 0.35);
  background: rgba(215, 251, 46, 0.05);
  padding: 22px 24px;
  margin: 24px 0;
}
.legal .callout p { margin-bottom: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-left: auto;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
  }
  .nav__toggle span {
    width: 26px;
    height: 2px;
    background: var(--white);
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav__mobile {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 12px var(--pad) 28px;
    background: rgba(12, 14, 11, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
  }
  .nav__mobile.is-open { display: flex; }
  .nav__mobile a {
    font-family: var(--font-mono);
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    color: var(--white);
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }
  .nav__mobile-cta { color: var(--volt) !important; }

  .intro__grid, .standards__grid, .compliance__grid { grid-template-columns: 1fr; }
  .intro__stats { grid-template-columns: 1fr 1fr; }
  .services__grid { grid-template-columns: 1fr; }
  .process__track { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .process__track::before { display: none; }
}

@media (max-width: 560px) {
  .intro__stats { grid-template-columns: 1fr; }
  .process__track { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .hero__actions .btn { width: 100%; }
  .contact__actions .btn { width: 100%; max-width: 360px; }
}

/* ---------- grain, progress, magnetic ---------- */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 997;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 7s steps(8) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-3%, 2%); }
  50% { transform: translate(2%, -3%); }
  75% { transform: translate(-2%, -2%); }
}
.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  transform-origin: left;
  transform: scaleX(0);
  background: var(--volt);
  z-index: 300;
  box-shadow: 0 0 12px rgba(215, 251, 46, 0.6);
}
.btn--volt, .btn--ghost { will-change: transform; }

/* ---------- design version switcher (review tool) ---------- */
.vswitch {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  background: rgba(12, 14, 11, 0.92);
  border: 1px solid rgba(215, 251, 46, 0.35);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.vswitch__label {
  text-transform: uppercase;
  color: rgba(247, 246, 241, 0.5);
  margin-right: 6px;
}
.vswitch a {
  color: rgba(247, 246, 241, 0.65);
  text-decoration: none;
  padding: 3px 7px;
  border: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.vswitch a:hover { color: #d7fb2e; }
.vswitch a.is-active { color: #0c0e0b; background: #d7fb2e; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .anim, .reveal { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  #heroPath { animation: none; stroke-dashoffset: 0; }
  .hero__node { animation: none; opacity: 1; }
  .ticker__track { animation-duration: 90s; }
  body::after { animation: none; }
  .hero__flow { display: none; }
}
