/* GOATED Ads v2 — AI Creative Lab identity */
:root {
  --paper: #fbfbf9;
  --ink: #101010;
  --acid: #c6f542;
  --fog: #e8e8e2;
  --mid: #4a4a46;
  --gray: #6e6e69;
  --line: #dcdcd6;

  --disp: "Archivo Black", "Archivo", Arial, sans-serif;
  --sans: "Inter", -apple-system, "Segoe UI", Arial, sans-serif;
  --mono: "JetBrains Mono", "Courier New", monospace;

  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
::selection { background: var(--acid); color: var(--ink); }
::-moz-selection { background: var(--acid); color: var(--ink); }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* display font: never synthetic-bold Archivo Black */
h1, h2, .logo, .clogo-text, .footer-inner span:first-child { font-weight: 400; font-synthesis: none; }

/* type helpers */
.kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 18px;
}
.kicker--center { text-align: center; }
.kicker--light { color: #9a9a94; }

.hl { background: var(--acid); padding: 0 0.18em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hl-under { box-shadow: inset 0 -0.28em 0 var(--acid); }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; }
.logo__lockup { height: 44px; width: auto; display: block; }
@media (max-width: 640px) {
  .header-inner { height: 60px; }
  .logo__lockup { height: 34px; }
}
.nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 500; }
.nav a:not(.nav__cta):hover { box-shadow: inset 0 -2px 0 var(--acid); }
.nav__cta {
  background: var(--ink); color: var(--paper);
  padding: 9px 18px; border-radius: 999px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.nav__cta:hover { background: var(--acid); color: var(--ink); }

/* buttons */
.btn {
  display: inline-block; font-weight: 600; font-size: 15px;
  padding: 14px 28px; border-radius: 999px;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: var(--acid); color: var(--ink); }
.btn--ghost { border: 1.5px solid var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--lg { font-size: 17px; padding: 18px 36px; font-family: var(--mono); font-weight: 500; }

/* hero */
.hero { padding: 110px 0 70px; }
.hero__title {
  font-family: var(--disp);
  font-size: clamp(40px, 7vw, 92px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  max-width: 17ch;
  margin-bottom: 48px;
}
.hero__sub { font-size: 18px; color: var(--mid); max-width: 54ch; margin-bottom: 36px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }
.ticker {
  display: flex; flex-wrap: wrap; gap: 12px 0;
  font-family: var(--mono); font-size: 13.5px; color: var(--mid);
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.ticker { gap: 12px 26px; }
.ticker span::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--acid); margin-right: 10px; }

/* clients */
.clients { padding: 34px 0 60px; }
.clients__row {
  list-style: none;
  display: flex; align-items: center; justify-content: center;
  gap: clamp(28px, 6vw, 72px);
  flex-wrap: wrap;
  opacity: 0.85;
}
.clogo--svr { height: 44px; width: auto; }
.clogo--laz { height: 20px; width: auto; }
.clogo--skin { height: 34px; width: auto; }
.clogo-text { font-family: var(--disp); font-size: 19px; letter-spacing: 0.06em; color: var(--ink); }

/* sections */
.section__title {
  font-family: var(--disp);
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.15;
  margin-bottom: 16px;
  max-width: 24ch;
}
.section__title--light { color: var(--paper); }
.section__sub { color: var(--mid); max-width: 58ch; margin-bottom: 40px; }

/* work */
.work { padding: 96px 0; }
.work__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.work-card__media {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 10px;
  background: var(--fog);
}
.work-card__video {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.work-card:hover .work-card__video { transform: scale(1.03); }
.work-card__tag {
  position: absolute; left: 12px; bottom: 12px;
  font-family: var(--mono); font-size: 12px;
  background: var(--paper); color: var(--ink);
  padding: 6px 12px; border-radius: 999px;
}
.work__hint { margin-top: 18px; font-family: var(--mono); font-size: 12.5px; line-height: 1.7; color: var(--mid); max-width: 60ch; }

/* results */
.results { background: var(--ink); color: var(--paper); padding: 96px 0; }
.results__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 44px; margin: 52px 0 44px;
}
.result__num {
  font-family: var(--mono); font-weight: 700;
  font-size: clamp(42px, 5vw, 62px);
  color: var(--acid);
  line-height: 1;
  margin-bottom: 14px;
}
.result__label { color: #c9c9c4; font-size: 15px; max-width: 34ch; }
.results__grid { border-bottom: 1px solid #2a2a26; padding-bottom: 48px; }
.results__note {
  padding-top: 4px;
  color: #c9c9c4;
  max-width: 74ch;
  font-size: 15px;
}

/* case study */
.case { padding: 96px 0 0; }
.case__grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 56px; align-items: center; }
.case__p { color: var(--mid); font-size: 17px; max-width: 58ch; margin-bottom: 18px; }
.case__statwrap { background: var(--fog); border-radius: 10px; padding: 48px 20px; text-align: center; }
.case__stat { font-family: var(--mono); font-weight: 700; font-size: clamp(64px, 6.5vw, 96px); line-height: 1; color: var(--ink); }
.case__statlabel { font-family: var(--mono); font-size: 12.5px; color: var(--mid); margin-top: 14px; }

/* engine */
.engine { padding: 96px 0; }
.steps { display: grid; gap: 10px; margin: 44px 0; }
.step {
  display: grid;
  grid-template-columns: 56px 170px 1fr;
  align-items: center;
  gap: 10px;
  background: var(--ink); color: var(--paper);
  border-radius: 10px;
  padding: 18px 24px;
  transition: transform 0.25s var(--ease);
}
.step:hover { transform: translateX(6px); }
.step__n { font-family: var(--mono); font-size: 13px; color: var(--acid); }
.step__name { font-weight: 600; font-size: 16px; }
.step__desc { color: #c9c9c4; font-size: 14px; }
.engine__note {
  background: var(--fog);
  border-radius: 10px;
  padding: 30px 34px;
  max-width: 760px;
}
.engine__note p { color: var(--ink); font-size: 16px; }

/* contact */
.contact { padding: 110px 0 120px; text-align: center; }
.contact__title {
  font-family: var(--disp);
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1.12;
  margin-bottom: 16px;
}
.contact__sub { color: var(--mid); margin-bottom: 36px; max-width: 60ch; margin-left: auto; margin-right: auto; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 26px 0; }
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 12px; color: var(--gray);
}
.footer-brand { display: inline-flex; align-items: center; }
.footer-brand__lockup { height: 30px; width: auto; display: block; }

/* v3 funnel sections */
.hero__lower { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.hero__body { max-width: 54ch; }
.hero__body p { font-size: 17.5px; color: var(--mid); margin-bottom: 18px; }
.hero__body p:last-child { margin-bottom: 0; }

.offer {
  background: var(--fog);
  border-radius: 12px;
  padding: 36px 34px;
}
.offer__lead { font-family: var(--disp); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; margin-bottom: 14px; }
.offer__p { color: var(--mid); font-size: 15.5px; margin-bottom: 22px; max-width: 56ch; }
.offer__p--fine { margin-top: 22px; margin-bottom: 10px; font-size: 14.5px; }
.offer__slots { font-family: var(--mono); font-size: 13px; font-weight: 500; }
.offer__slots::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--acid); margin-right: 10px; }

.section__cta { margin-top: 40px; }
.btn--acid { background: var(--acid); color: var(--ink); }
.btn--acid:hover { background: var(--paper); }

.why { background: var(--ink); color: var(--paper); padding: 96px 0; }
.why__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 12px; }
.why__p { color: #c9c9c4; font-size: 16.5px; max-width: 58ch; }

.who { padding: 96px 0; }
.who__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 64px; align-items: start; }
.who__p { color: var(--mid); font-size: 16.5px; max-width: 60ch; margin-bottom: 18px; }
.who__link { box-shadow: inset 0 -2px 0 var(--acid); font-weight: 500; }
.who__photowrap { position: sticky; top: 100px; }
.who__photo { width: 100%; border-radius: 12px; }
.who__caption { font-family: var(--mono); font-size: 12.5px; color: var(--mid); margin-top: 12px; }

.start { padding: 96px 0; background: var(--paper); }
.qtable { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; max-width: 860px; }
.qtable__head, .qtable__row { display: grid; grid-template-columns: 1fr 1.3fr; }
.qtable__head { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; background: var(--fog); }
.qtable__head span, .qtable__row span { padding: 14px 20px; }
.qtable__row { border-top: 1px solid var(--line); font-size: 15.5px; }
.qtable__row span:first-child { font-weight: 600; }
.qtable__row span:last-child { color: var(--mid); }
.start__note { color: var(--mid); font-size: 15.5px; max-width: 58ch; margin-top: 22px; }

.stop { background: var(--ink); color: var(--paper); padding: 96px 0; }
.stop__list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 40px; margin: 40px 0 28px; max-width: 860px; }
.stop__list li { font-size: 16.5px; color: #c9c9c4; padding-left: 22px; position: relative; }
.stop__list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 10px; height: 2.5px; background: var(--acid); }
.stop__note { color: #c9c9c4; font-size: 16.5px; max-width: 58ch; }

.faq { padding: 96px 0; }
.faq__list { max-width: 760px; }
.faq__item { border-top: 1px solid var(--line); padding: 6px 0; }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16.5px;
  padding: 16px 34px 16px 0;
  list-style: none;
  position: relative;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute; right: 4px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono); font-size: 20px; color: var(--gray);
}
.faq__item[open] summary::after { content: "\2013"; }
.faq__item p { color: var(--mid); font-size: 15.5px; max-width: 58ch; padding: 0 0 20px; }

.lead-form { max-width: 640px; margin: 0 auto; text-align: left; }
.lead-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.lead-form__field { display: block; margin-bottom: 18px; }
.lead-form__field span {
  display: block;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--mid); margin-bottom: 7px;
}
/* 16px is the floor: iOS Safari auto-zooms on focus below it */
.lead-form__field input, .lead-form__field textarea {
  width: 100%;
  font-family: var(--sans); font-size: 16px; color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
}
.lead-form__field input:focus, .lead-form__field textarea:focus { outline: none; border-color: var(--ink); }
.lead-form .btn--lg { width: 100%; margin-top: 8px; }
.hp { position: absolute; left: -9999px; }

/* reveal on scroll */
html.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
html.js .reveal.is-in { opacity: 1; transform: none; }

a:focus-visible, .work-card__media:focus-visible { outline: 2.5px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .work-card__video, .step, .btn { transition: none; }
}

/* responsive */
@media (max-width: 900px) {
  .work__grid { grid-template-columns: repeat(2, 1fr); }
  .case__grid { grid-template-columns: 1fr; gap: 32px; }
  .results__grid { grid-template-columns: 1fr; gap: 36px; }
  .step { grid-template-columns: 44px 1fr; }
  .step__desc { grid-column: 2; }
  .hero__lower { grid-template-columns: 1fr; gap: 40px; }
  .hero__body { max-width: 62ch; }
  .offer { max-width: 640px; }
  .why__cols { grid-template-columns: 1fr; gap: 18px; }
  .who__grid { grid-template-columns: 1fr; gap: 36px; }
  .who__photowrap { position: static; max-width: 340px; order: -1; }
  .stop__list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav a:not(.nav__cta) { display: none; }
  /* 44px minimum touch targets */
  .nav__cta { padding: 12px 18px; }
  .logo { padding: 6px 0; }
  .who__caption { font-size: 13px; }
  .hero { padding: 72px 0 56px; }
  .hero__title { font-size: clamp(34px, 9vw, 46px); max-width: none; margin-bottom: 32px; }
  .work__grid { grid-template-columns: 1fr; }
  .work-card__media { max-width: 420px; margin: 0 auto; }
  .ticker span { padding: 0 14px; }
  .offer { padding: 28px 22px; }
  /* stacked rows keep their column labels, or the pairing is unreadable */
  .qtable__head { display: none; }
  .qtable__row { grid-template-columns: 1fr; padding: 14px 16px; gap: 10px; }
  .qtable__row span { padding: 0; }
  .qtable__row span::before {
    display: block;
    font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--gray); margin-bottom: 3px;
  }
  .qtable__row span:first-child::before { content: "You"; }
  .qtable__row span:last-child::before { content: "Us"; }
  .lead-form__row { grid-template-columns: 1fr; gap: 0; }
}

/* v3 showcase: landscape commercial block */
.work__grid--land { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.work-card--land .work-card__media { aspect-ratio: 16 / 9; max-width: none; }
.work-card--feat { grid-column: 1 / -1; }
.work__grid + .work__grid { margin-top: 20px; }
@media (max-width: 720px) {
  .work__grid--land { grid-template-columns: 1fr; }
  .work-card--land .work-card__media { max-width: 100%; margin: 0 auto; }
}

/* v3.1: added client logos, grayscale to match strip */
.clogo--tendar { height: 48px; width: auto; filter: grayscale(1); opacity: .8; }
.clogo--melaxin { height: 24px; width: auto; filter: grayscale(1); opacity: .8; }
.clogo--celladix { height: 22px; width: auto; filter: grayscale(1); opacity: .8; }
