:root {
  --ink: oklch(15% 0.008 30);
  --ink-raised: oklch(19% 0.01 30);
  --paper: oklch(94% 0.012 50);
  --paper-muted: oklch(84% 0.015 48);
  --red: oklch(62% 0.235 28);
  --red-dark: oklch(52% 0.205 28);
  --red-soft: oklch(71% 0.18 28);
  --rule-dark: oklch(32% 0.012 30);
  --rule-light: oklch(78% 0.018 48);
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Epilogue", sans-serif;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 0.75rem;
  --space-lg: 1rem;
  --space-xl: 1.5rem;
  --space-2xl: 2rem;
  --space-3xl: 3rem;
  --space-4xl: 4rem;
  --space-5xl: 6rem;
  --shell: min(100% - 3rem, 90rem);
  --hero-shift: 0px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--red); color: var(--ink); }
a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: var(--space-md);
  left: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  transform: translateY(-200%);
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 10;
  width: var(--shell);
  min-height: 5.5rem;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2xl);
  border-bottom: 1px solid var(--rule-dark);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  color: var(--paper);
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.015em;
  text-decoration: none;
}
.brand-mark {
  width: 2rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  transform: rotate(-4deg);
  background: var(--red);
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 900;
}
.brand-dot { color: var(--red); }
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.site-nav a { text-decoration: none; transition: color 180ms ease; }
.site-nav a:hover { color: var(--red-soft); }
.site-nav .nav-cta { padding: 0.7rem 0.9rem; background: var(--red); color: var(--ink); }
.site-nav .nav-cta:hover { background: var(--paper); color: var(--ink); }

.hero {
  position: relative;
  min-height: calc(100svh - 5.5rem);
  width: var(--shell);
  margin-inline: auto;
  padding: clamp(3rem, 7vw, 7rem) 0 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  isolation: isolate;
  overflow: hidden;
}
.hero-kicker, .section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}
.hero-kicker { position: relative; z-index: 3; justify-content: flex-start; color: var(--paper-muted); }
.signal {
  width: 0.55rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0.28rem color-mix(in oklch, var(--red) 18%, transparent);
}
.hero h1 {
  position: relative;
  z-index: 2;
  max-width: 13ch;
  margin: clamp(2.5rem, 6vw, 6rem) 0;
  font-family: var(--display);
  font-size: clamp(5.1rem, 13.7vw, 13.5rem);
  font-weight: 900;
  font-kerning: normal;
  font-feature-settings: "kern" 1;
  line-height: 0.735;
  text-transform: uppercase;
  transform: translate3d(0, var(--hero-shift), 0);
  will-change: transform;
}
.hero-line {
  display: block;
  overflow: hidden;
  padding: 0.09em 0.04em;
  margin: -0.09em -0.04em;
}
.hero-line > span {
  display: block;
  transform: translateY(108%);
  animation: hero-line-in 820ms var(--ease-out-expo) forwards;
}
.hero-line--one { letter-spacing: -0.037em; }
.hero-line--two {
  color: var(--red);
  font-style: italic;
  letter-spacing: -0.022em;
}
.hero-line--three { letter-spacing: -0.048em; }
.hero-line--two > span { animation-delay: 90ms; }
.hero-line--three > span { animation-delay: 180ms; }

.hero-engine {
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  contain: paint;
}
.hero-engine::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--ink) 0%, color-mix(in oklch, var(--ink) 94%, transparent) 36%, transparent 70%);
}
#hero-field { width: 100%; height: 100%; display: block; opacity: 0; animation: field-in 900ms var(--ease-out-expo) 120ms forwards; }
.scanlines {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background: repeating-linear-gradient(0deg, transparent 0 3px, var(--paper) 3px 4px);
  mix-blend-mode: overlay;
}
.hud {
  position: absolute;
  z-index: 2;
  color: color-mix(in oklch, var(--red) 77%, var(--paper));
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: clamp(0.5rem, 0.65vw, 0.65rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.55;
  text-transform: uppercase;
  opacity: 0.72;
}
.hud b { color: var(--paper); font-weight: 500; }
.hud--mode { top: 13%; right: 2%; }
.hud--coords { right: 2%; bottom: 12%; text-align: right; }
.hud--status { top: 47%; right: 17%; color: var(--paper-muted); transform: rotate(90deg); transform-origin: right top; }

@keyframes hero-line-in { to { transform: translateY(0); } }
@keyframes field-in { to { opacity: 0.9; } }
.hero-bottom {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.65fr);
  align-items: end;
  gap: clamp(2rem, 8vw, 9rem);
}
.hero-intro {
  max-width: 44rem;
  margin: 0;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.55;
}
.arrow-link {
  padding-top: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--paper);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}
.arrow-link .arrow {
  color: var(--red);
  font-family: var(--display);
  font-size: 2rem;
  line-height: 0.6;
  transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1);
}
.arrow-link:hover .arrow { transform: translate(0.3rem, 0.3rem); }
.hero-index {
  position: absolute;
  top: 45%;
  right: 0;
  color: var(--paper-muted);
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 700;
  writing-mode: vertical-rl;
}

.section-shell { padding: clamp(5rem, 10vw, 9rem) max(1.5rem, calc((100% - 90rem) / 2)); }
.services, .contact { background: var(--paper); color: var(--ink); }
.section-label { padding-bottom: var(--space-lg); border-bottom: 1px solid var(--rule-light); }
.section-label--dark { border-color: var(--rule-dark); }
.section-heading {
  padding: clamp(3rem, 7vw, 7rem) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
  gap: clamp(2rem, 7vw, 8rem);
  align-items: end;
}
.section-heading h2, .proof-statement h2, .contact-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.5rem, 8vw, 8rem);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.section-heading p, .proof-statement p, .contact-copy > p {
  max-width: 39rem;
  margin: 0;
  color: oklch(40% 0.015 35);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
}
.service-list { border-top: 1px solid var(--ink); }
.service-row {
  position: relative;
  display: grid;
  grid-template-columns: 3.5rem minmax(16rem, 1.1fr) minmax(18rem, 0.9fr) 3rem;
  align-items: center;
  gap: var(--space-xl);
  padding: 1.7rem 0;
  border-bottom: 1px solid var(--rule-light);
  transition: background-color 180ms ease, color 180ms ease;
}
.service-row:hover { background: var(--red); color: var(--ink); }
.service-row > * { position: relative; z-index: 1; }
.service-number { align-self: start; padding-top: 0.25rem; font-size: 0.65rem; font-weight: 700; }
.service-row h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}
.service-row p { margin: 0; color: oklch(40% 0.015 35); font-size: 0.9rem; line-height: 1.55; }
.service-row:hover p { color: var(--ink); }
.service-symbol {
  justify-self: end;
  color: var(--red);
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 700;
  transition: transform 180ms ease, color 180ms ease;
}
.service-row:hover .service-symbol { color: var(--ink); transform: translate(0.2rem, -0.2rem); }

.proof { background: var(--ink); }
.proof-grid {
  padding: clamp(3rem, 7vw, 7rem) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
  gap: clamp(3rem, 8vw, 9rem);
}
.proof-statement h2 { color: var(--paper); }
.proof-statement h2::first-line { color: var(--red); }
.proof-statement p { margin-top: var(--space-2xl); color: var(--paper-muted); }
.proof-facts { margin: 0; }
.proof-facts div {
  padding: 1.5rem 0;
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  align-items: baseline;
  gap: var(--space-xl);
  border-bottom: 1px solid var(--rule-dark);
}
.proof-facts div:first-child { border-top: 1px solid var(--rule-dark); }
.proof-facts dt {
  color: var(--red);
  font-family: var(--display);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 800;
  line-height: 0.8;
}
.proof-facts dd {
  margin: 0;
  color: var(--paper-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.45;
  text-transform: uppercase;
}
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule-dark);
  border: 1px solid var(--rule-dark);
}
.principles p {
  margin: 0;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--ink);
  color: var(--paper-muted);
  font-size: 0.88rem;
}
.principles strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--paper);
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1;
  text-transform: uppercase;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(25rem, 1.08fr);
  gap: clamp(3rem, 9vw, 10rem);
}
.contact-copy h2 { margin-top: clamp(3rem, 8vw, 7rem); }
.contact-copy > p { margin-top: var(--space-2xl); }
.direct-email {
  margin-top: var(--space-3xl);
  padding-bottom: 0.35rem;
  display: inline-flex;
  gap: var(--space-md);
  border-bottom: 2px solid var(--red);
  font-family: var(--display);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}
.direct-email:hover { color: var(--red-dark); }
.form-shell {
  align-self: end;
  padding: clamp(1.5rem, 4vw, 3.25rem);
  background: var(--ink);
  color: var(--paper);
}
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xl); }
.field { margin-bottom: var(--space-xl); }
.field label {
  display: block;
  margin-bottom: var(--space-sm);
  color: var(--paper-muted);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.field input, .field textarea {
  width: 100%;
  padding: 0.85rem 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule-dark);
  border-radius: 0;
  outline: 0;
  color: var(--paper);
  font: inherit;
  line-height: 1.5;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: oklch(53% 0.01 35); }
.field input:focus-visible, .field textarea:focus-visible { border-bottom-color: var(--red); }
.field input.invalid, .field textarea.invalid { border-bottom-color: var(--red); }
.trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-error {
  margin: 0 0 var(--space-xl);
  padding: var(--space-md) var(--space-lg);
  background: color-mix(in oklch, var(--red) 18%, var(--ink));
  color: var(--red-soft);
  font-size: 0.8rem;
  line-height: 1.5;
}
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: var(--space-xl); }
.form-actions p { max-width: 20rem; margin: 0; color: var(--paper-muted); font-size: 0.68rem; line-height: 1.5; }
#send {
  min-width: 11.5rem;
  padding: 0.95rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
  background: var(--red);
  border: 1px solid var(--red);
  border-radius: 0;
  color: var(--ink);
  font-family: var(--body);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease;
}
#send:hover:not(:disabled) { background: var(--paper); border-color: var(--paper); }
#send:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }
#send:disabled { opacity: 0.58; cursor: wait; }
.receipt { min-height: 26rem; padding: var(--space-xl) 0; animation: settle 450ms cubic-bezier(0.22, 1, 0.36, 1) both; }
.receipt-mark {
  width: 4.5rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: var(--red);
  color: var(--ink);
  font-family: var(--display);
  font-size: 2.8rem;
  font-weight: 900;
}
.receipt-head {
  margin: var(--space-3xl) 0 0;
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 0.85;
  text-transform: uppercase;
}
.receipt-body { color: var(--paper-muted); }
#receipt-email { color: var(--paper); border-bottom: 1px solid var(--red); }
@keyframes settle { from { opacity: 0; transform: translateY(1rem); } to { opacity: 1; transform: translateY(0); } }

.site-footer {
  width: var(--shell);
  min-height: 15rem;
  margin-inline: auto;
  padding: var(--space-3xl) 0;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
  gap: var(--space-2xl);
  border-top: 1px solid var(--rule-dark);
}
.site-footer p {
  margin: 0;
  color: var(--paper-muted);
  font-size: 0.65rem;
  letter-spacing: 0.07em;
  line-height: 1.7;
  text-transform: uppercase;
}
.site-footer p:last-child { text-align: right; }

@media (max-width: 900px) {
  .hero h1 { font-size: clamp(4.7rem, 16vw, 9rem); }
  .hero-bottom, .section-heading, .proof-grid, .contact { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 2.5rem minmax(0, 1fr) 2rem; gap: var(--space-lg); }
  .service-row p { grid-column: 2 / 3; }
  .service-symbol { grid-column: 3; grid-row: 1; }
  .contact { gap: var(--space-5xl); }
}

@media (max-width: 660px) {
  :root { --shell: min(100% - 2rem, 90rem); }
  .site-header { min-height: 4.5rem; }
  .site-nav > a:not(.nav-cta) { display: none; }
  .site-nav .nav-cta { padding: 0.65rem 0.75rem; font-size: 0.65rem; }
  .site-nav .nav-cta { min-height: 2.75rem; display: inline-flex; align-items: center; }
  .brand { font-size: 0.95rem; }
  .brand-mark { width: 1.7rem; }
  .hero { min-height: calc(100svh - 4.5rem); padding-top: 2.5rem; }
  .hero h1 {
    width: 100%;
    margin-block: 2.5rem;
    font-size: clamp(3.8rem, 18vw, 6.75rem);
    line-height: 0.82;
  }
  .hero-line--one { letter-spacing: -0.03em; }
  .hero-line--two { letter-spacing: -0.016em; }
  .hero-line--three { font-size: 0.9em; letter-spacing: -0.03em; }
  .hero-engine::after { background: linear-gradient(90deg, var(--ink) 0%, color-mix(in oklch, var(--ink) 86%, transparent) 58%, transparent 100%); }
  .hud--mode { top: 11%; right: 1%; }
  .hud--coords, .hud--status { display: none; }
  .hero-bottom { gap: var(--space-2xl); }
  .hero-index { display: none; }
  .section-label { align-items: flex-start; }
  .section-heading { padding-block: var(--space-3xl); gap: var(--space-2xl); }
  .section-heading h2, .proof-statement h2, .contact-copy h2 { font-size: clamp(3.2rem, 16vw, 5.2rem); }
  .service-row { padding-block: 1.35rem; }
  .service-row h3 { font-size: 1.8rem; }
  .proof-facts div { grid-template-columns: 6.5rem 1fr; }
  .principles { grid-template-columns: 1fr; }
  .field-grid { grid-template-columns: 1fr; gap: 0; }
  .form-actions { align-items: stretch; flex-direction: column; }
  #send { width: 100%; }
  .site-footer { grid-template-columns: 1fr; min-height: 19rem; align-content: space-between; }
  .site-footer p:last-child { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-line > span { transform: none; }
  #hero-field { opacity: 0.68; }
}
