@font-face {
  font-family: "Press Start 2P";
  src: url("/assets/fonts/press-start-2p-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --ink: #171917;
  --paper: #e4e2da;
  --dim: #b4b6ad;
  --faint: #92988d;
  --hair: #373c35;
  --accent: #c4d0b8;
  --blue: #c4d0b8;
  --surface: #20241f;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; }

.mono {
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.13em;
  line-height: 1.5;
  text-transform: uppercase;
}

.site-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 22px clamp(18px, 3vw, 42px);
  border-bottom: 1px solid var(--hair);
}

.brand {
  font-weight: 750;
  font-size: 15px;
  line-height: 1.25;
  text-decoration: none;
}

.brand span {
  color: var(--dim);
  font-weight: 500;
}

.nav {
  display: flex;
  gap: clamp(15px, 2.4vw, 34px);
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  color: var(--dim);
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] { color: var(--paper); }

.nav .nav-cta {
  border: 1px solid var(--paper);
  color: var(--paper);
  padding: 9px 13px;
}

.nav .nav-cta:hover { background: var(--paper); color: var(--ink); }

.section {
  position: relative;
  border-bottom: 1px solid var(--hair);
  padding: clamp(64px, 8vw, 112px) clamp(20px, 4vw, 64px);
}

.section-label,
.section h2.section-label {
  display: block;
  color: var(--paper);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.13em;
  margin: 0 0 clamp(28px, 4vw, 52px);
}

.section-label b { color: var(--paper); font-weight: 600; }

.hero {
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding-top: clamp(64px, 7vw, 106px);
  padding-bottom: clamp(52px, 6vw, 88px);
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 12em;
  font-size: clamp(48px, 9vw, 138px);
  line-height: 0.99;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.hero h1 em {
  color: var(--accent);
  font-style: normal;
  -webkit-text-stroke: 0;
}

.hero-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: clamp(32px, 7vw, 120px);
  align-items: end;
  margin-top: clamp(32px, 5vw, 68px);
}

.lede {
  margin: 0;
  max-width: 34em;
  color: var(--dim);
  font-size: clamp(18px, 1.9vw, 26px);
  line-height: 1.4;
}

.actions { display: flex; gap: 12px; flex-wrap: wrap; }

.button {
  display: inline-block;
  padding: 13px 16px;
  border: 1px solid var(--paper);
  text-decoration: none;
  transition: 0.18s ease;
}

.button.primary { background: var(--paper); color: var(--ink); }
.button.primary:hover { background: var(--accent); border-color: var(--accent); }
.button.secondary:hover { background: rgba(244, 244, 241, 0.1); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }

.statement {
  margin: 0;
  max-width: 24em;
  font-size: clamp(28px, 4.6vw, 66px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 540;
}

.statement strong { font-weight: 800; }

.statement-followup { margin-top: 36px; }
.section-intro { margin: 0 0 40px; max-width: 33em; font-size: clamp(23px, 2.7vw, 38px); line-height: 1.3; letter-spacing: -0.025em; }

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

.card {
  min-height: 260px;
  padding: 22px;
  border-right: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card h3 {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 37px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.card p {
  margin: 32px 0 0;
  color: var(--dim);
  line-height: 1.55;
  max-width: 29em;
}

.system-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; border: 0; }
.system-card { padding: 28px; border: 1px solid var(--hair); background: var(--surface); justify-content: flex-start; }
.system-card h3 { font-size: clamp(24px, 2.4vw, 34px); min-height: 2.15em; }
.system-card p { margin-top: 26px; font-size: 16px; }
.system-visual { min-height: 174px; margin-top: 22px; display: flex; flex-direction: column; justify-content: center; font-size: 12px; color: var(--paper); }
.flow-row { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.flow-row li { position: relative; text-align: center; padding: 14px 3px; background: var(--ink); border: 1px solid #5c6956; border-radius: 4px; }
.flow-row li + li::before { content: '→'; position: absolute; left: -15px; top: 13px; color: var(--accent); }
.return-path { position: relative; height: 43px; margin: 0 13%; border: 1px solid #5c6956; border-top: 0; border-radius: 0 0 8px 8px; text-align: center; }
.return-path::before { content: '↑'; position: absolute; left: -4px; top: 0; color: var(--accent); }
.return-path span { position: relative; display: inline-block; top: 32px; padding: 2px 6px; background: var(--surface); color: var(--dim); font-size: 11px; }
.flow-source { border: 1px solid #5c6956; background: var(--ink); border-radius: 4px; padding: 12px 16px; align-self: center; text-align: center; max-width: 100%; }
.channel-branches { position: relative; display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; padding: 0; margin: 28px 0 0; list-style: none; }
.channel-branches::before { content: ''; position: absolute; top: -14px; left: 16%; right: 16%; height: 14px; border-top: 1px solid #5c6956; border-left: 1px solid #5c6956; border-right: 1px solid #5c6956; }
.channel-branches::after { content: ''; position: absolute; left: 50%; top: -28px; height: 28px; border-left: 1px solid #5c6956; }
.channel-branches li { padding: 12px 2px; border: 1px solid #5c6956; border-radius: 4px; text-align: center; background: var(--ink); }
.flow-caption { display: block; margin-top: 16px; text-align: center; color: var(--dim); font-size: 11px; }
.account-types { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; color: var(--dim); font-size: 11px; }
.account-types span { border-bottom: 1px solid #5c6956; padding-bottom: 5px; }
.system-card:not(.sales-card) .system-visual { max-width: 410px; width: 100%; align-self: center; }
.sales-card { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 0 48px; align-items: start; }
.sales-card h3 { grid-column: 1; grid-row: 1; min-height: 0; }
.sales-card > p { grid-column: 1; grid-row: 2; margin-top: 26px; max-width: 35em; }
.sales-card .sales-flow { grid-column: 2; grid-row: 1 / 3; margin: 0; min-height: 0; max-width: none; width: 100%; }
.sales-loop { position: relative; display: flex; flex-direction: column; padding: 0 0 0 22px; }
.sales-loop::before { content: ''; position: absolute; left: 0; top: 22px; bottom: 8px; width: 50%; border: 1px solid #7b8d70; border-right: 0; border-radius: 8px 0 0 8px; pointer-events: none; }
.sales-loop > .flow-source { position: relative; z-index: 1; }
.sales-loop > .flow-source::before { content: '→'; color: var(--accent); position: absolute; left: -13px; top: 12px; }
.outreach-lanes { position: relative; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; padding: 0; margin: 32px 0; list-style: none; }
.outreach-lanes::before, .outreach-lanes::after { content: ''; position: absolute; left: 16%; right: 16%; height: 16px; border: 1px solid #5c6956; }
.outreach-lanes::before { top: -16px; border-bottom: 0; }
.outreach-lanes::after { bottom: -16px; border-top: 0; }
.outreach-lanes li { position: relative; border: 1px solid #5c6956; border-radius: 4px; background: var(--ink); text-align: center; }
.outreach-lanes li:nth-child(2)::before, .outreach-lanes li:nth-child(2)::after { content: ''; position: absolute; height: 32px; left: 50%; border-left: 1px solid #5c6956; }
.outreach-lanes li:nth-child(2)::before { top: -33px; }
.outreach-lanes li:nth-child(2)::after { bottom: -33px; }
.outreach-lanes strong { display: block; color: var(--accent); font-weight: 600; padding: 10px 4px; border-bottom: 1px solid var(--hair); }
.outreach-lanes span { display: block; padding: 12px 4px; line-height: 1.45; }
.revenue-pipeline { position: relative; background: var(--ink); border: 1px solid #7b8d70; border-radius: 4px; text-align: center; padding: 14px 10px; }
.revenue-pipeline > strong { display: block; font-size: 13px; font-weight: 600; }
.revenue-pipeline ol { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; list-style: none; margin: 10px 0 0; padding: 0; color: var(--dim); font-size: 11px; }
.revenue-pipeline li + li::before { content: '→'; margin-right: 7px; color: var(--accent); }
.sales-feedback { position: relative; align-self: center; background: var(--surface); color: var(--dim); margin-top: 24px; padding: 2px 8px; font-size: 11px; }
.sales-feedback::before { content: ''; position: absolute; left: 50%; top: -24px; height: 24px; border-left: 1px solid #7b8d70; }
.case-heading { margin-bottom: clamp(32px,4vw,52px); }

.proof-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 1px;
  background: var(--hair);
  border: 1px solid var(--hair);
}

.proof {
  background: var(--ink);
  padding: clamp(24px, 4vw, 54px);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.proof .number {
  font-size: clamp(60px, 7.8vw, 128px);
  line-height: 0.82;
  letter-spacing: -0.06em;
  font-weight: 800;
}

.proof .number.outline {
  color: var(--accent);
  -webkit-text-stroke: 0;
}

.proof p { margin: 28px 0 0; color: var(--dim); font-size: 18px; line-height: 1.5; }

.track-record {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(36px, 8vw, 140px);
  align-items: end;
}

.record-number {
  font-size: clamp(130px, 22vw, 340px);
  line-height: 0.76;
  letter-spacing: -0.075em;
  font-weight: 800;
  color: var(--paper);
  -webkit-text-stroke: 0;
  white-space: nowrap;
}

.statement-stack { display: grid; gap: 28px; }

.statement-stack p {
  margin: 0;
  font-size: clamp(46px, 7.5vw, 120px);
  line-height: 0.92;
  letter-spacing: -0.05em;
  font-weight: 760;
  text-wrap: balance;
}

.statement-stack .statement-answer {
  margin-top: 38px;
  max-width: 25em;
  color: var(--dim);
  font-size: clamp(22px, 3.4vw, 48px);
  line-height: 1.15;
  font-weight: 520;
}

.work-title {
  display: block;
  max-width: 15em;
  color: var(--paper);
  -webkit-text-stroke: 0;
  font-size: clamp(34px, 5vw, 72px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.work-title:hover { color: var(--blue); -webkit-text-stroke-color: var(--blue); }
.work-meta { margin-top: 22px; color: var(--dim); }
.work-meta a { text-decoration: none; border-bottom: 1px solid var(--hair); }

.fit-layout,
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(34px, 8vw, 140px);
}

.fit-layout h2,
.two-col h2,
.section h2 {
  margin: 0;
  font-size: clamp(38px, 6vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.copy { color: var(--dim); font-size: 18px; line-height: 1.65; }
.copy p:first-child { margin-top: 0; }
.copy strong { color: var(--paper); }

.plain-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--hair);
}

.plain-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--hair);
  color: var(--dim);
}

.plain-list li strong { color: var(--paper); }

.page-hero { padding-top: clamp(56px, 7vw, 106px); }
.page-hero h1 { max-width: 10em; }
.page-hero .lede { margin-top: 48px; }

.step {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  border-top: 1px solid var(--hair);
  padding: 28px 0;
}

.step:last-child { border-bottom: 1px solid var(--hair); }
.step h3 { margin: 0 0 8px; font-size: 25px; letter-spacing: -0.02em; }
.step p { margin: 0; color: var(--dim); line-height: 1.6; max-width: 52em; }
.step .mono { color: var(--faint); }

.contact h2 { max-width: 12em; }
.contact .mail {
  display: inline-block;
  margin-top: 55px;
  color: transparent;
  -webkit-text-stroke: 1.3px var(--paper);
  font-weight: 800;
  font-size: clamp(31px, 6.2vw, 98px);
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.contact .mail:hover { color: var(--paper); }

.footer {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 36px;
  padding: 30px clamp(18px, 3vw, 42px) 42px;
}

.footer .mono { color: var(--dim); }
.footer a { text-decoration: none; }

.form-card {
  border: 1px solid var(--hair);
  padding: clamp(22px, 4vw, 48px);
  max-width: 820px;
}

.form-card .button { margin-top: 28px; }

.application-form {
  display: grid;
  gap: 30px;
  max-width: 920px;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.application-form label { display: grid; gap: 10px; }

.application-form input,
.application-form textarea {
  width: 100%;
  border: 1px solid var(--hair);
  border-radius: 0;
  background: rgba(244, 244, 241, 0.035);
  color: var(--paper);
  font: inherit;
  font-size: 17px;
  line-height: 1.5;
  padding: 14px;
  resize: vertical;
}

.application-form input:focus,
.application-form textarea:focus {
  outline: 1px solid var(--paper);
  outline-offset: 2px;
}

.application-form button { width: fit-content; cursor: pointer; }
.hidden-field { display: none; }

.experience-brands { margin-top: 56px; }
.brand-caption { color: var(--dim); font-size: 14px; margin: 0 0 24px; }
.brand-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 24px; align-items: center; margin: 0; padding: 28px 0; list-style: none; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.brand-grid li { min-height: 94px; display: flex; align-items: center; justify-content: center; }
.brand-grid img { max-width: 100%; width: 150px; height: 72px; object-fit: contain; }
.brand-grid .brand-supercell { width: 90px; height: 80px; }
.brand-grid .brand-razer { width: 80px; height: 76px; }
.brand-giganoob { color: #fff; font-family: "Press Start 2P", monospace; font-size: clamp(12px,4vw,17px); font-weight: 400; text-decoration: none; line-height: 1.4; white-space: nowrap; }

@media (max-width: 1100px) { .brand-grid { grid-template-columns: repeat(3,1fr); } }

@media (max-width: 820px) {
  .site-header { grid-template-columns: 1fr auto; gap: 16px; padding: 18px 20px; }
  .nav { justify-content: flex-end; }
  .hero { min-height: 0; padding-top: 48px; padding-bottom: 48px; }
  .hero-bottom { margin-top: 30px; gap: 28px; }
  .hero h1, .page-hero h1 { font-size: clamp(44px, 8.7vw, 72px); line-height: 1.02; }
  .hero-bottom,
  .fit-layout,
  .two-col { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
  .track-record { grid-template-columns: 1fr; }
  .field-grid { grid-template-columns: 1fr; }
  .proof { min-height: 220px; }
  .system-card { padding: 24px; }
  .system-card h3 { min-height: 0; }
  .sales-card { display: flex; gap: 0; }
  .sales-card .sales-flow { margin-top: 28px; max-width: 520px; }
  .system-visual { max-width: 380px; width: 100%; align-self: center; min-height: 146px; }
  .brand-grid { grid-template-columns: repeat(3,1fr); }
  .footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .nav a:not(.nav-cta) { display: none; }
  .section { padding: 52px 20px; }
  .section.hero { padding-top: 42px; padding-bottom: 44px; }
  .section-label, .section h2.section-label { font-size: 12px; margin-bottom: 26px; }
  .page-hero .lede { margin-top: 26px; }
  .statement-followup { margin-top: 26px; }
  .proof { min-height: 0; padding: 28px; }
  .proof .number { font-size: 76px; }
  .proof p { margin-top: 20px; }
  .track-record { gap: 32px; }
  .record-number { font-size: clamp(130px, 43vw, 210px); line-height: .9; }
  .brand-grid { grid-template-columns: repeat(2,1fr); gap: 20px; }
  .step { grid-template-columns: 44px 1fr; }
  .footer { grid-template-columns: 1fr; }
}
