/* ─────────────────────────────────────────────
   Adcrate — v3 Design System
   Concept A · "The Growth Partner" (sans display)
   ───────────────────────────────────────────── */

:root {
  --blue: #1E3FD3;
  --blue-deep: #0E1F7A;
  --blue-ink: #0A1550;
  --yellow: #F5C518;
  --yellow-deep: #E6B200;
  --ink: #0A0A0C;
  --paper: #F7F5EF;
  --paper-alt: #EFECE2;
  --paper-cool: #F2F3F5;
  --line: #E5E2D8;
  --line-cool: #E2E4E8;
  --mute: #6B6B6B;

  --display: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Inter Display", "Inter", "Söhne", system-ui, sans-serif;
  --body: "Söhne", "Neue Haas Grotesk", "Inter", -apple-system, system-ui, sans-serif;
  --serif: "Fraunces", Georgia, serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;

  --pad-x: 96px;
  --pad-y: 96px;
  --max-w: 1440px;
}

/* ─── ULTRA-WIDE CONTENT CAP ───
   Backgrounds (sections, footer, CTAs) stay full-bleed via section padding.
   Inner content blocks cap at --max-w and center, so on ultra-wide displays
   text and grids don't sprawl edge-to-edge. */
.page-head > *,
.stats-grid,
.marquee-head,
.sec-head,
.faq-body,
.cta-grid,
.process,
.timeline,
.footer-row {
  max-width: var(--max-w);
  margin-left: auto !important;
  margin-right: auto !important;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; }
em { font-style: italic; }

/* ─── utilities ─── */
.mono { font-family: var(--mono); }
.serif { font-family: var(--serif); }
.display { font-family: var(--display); }
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--mute);
  text-transform: uppercase;
}
.eyebrow-block { margin-bottom: 20px; }
.container { padding: var(--pad-y) var(--pad-x); }
.divider { border-bottom: 1px solid var(--line); }

/* ─── NAV ─── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--pad-x);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: var(--paper);
  z-index: 20;
  backdrop-filter: saturate(140%) blur(6px);
}
.nav-links {
  display: flex;
  gap: 32px;
  font-size: 13px;
  font-weight: 500;
}
.nav-links a { color: var(--ink); transition: color .15s; }
.nav-links a:hover { color: var(--blue); }
.nav-links a.is-current { color: var(--blue); }
.nav-links a.is-current::after {
  content: " ●";
  color: var(--yellow);
  letter-spacing: 0;
}

/* ─── BUTTONS ─── */
.btn {
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  transition: transform .12s, background .15s, color .15s, border-color .15s;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn-ink {
  background: var(--ink);
  color: var(--paper);
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
}
.btn-ink:hover { background: var(--blue); }
.btn-yellow {
  background: var(--yellow);
  color: var(--ink);
  padding: 16px 24px;
  font-size: 14px;
  font-weight: 600;
}
.btn-yellow:hover { background: var(--yellow-deep); }
.btn-yellow-lg {
  background: var(--yellow);
  color: var(--ink);
  padding: 20px 32px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2px;
}
.btn-yellow-lg:hover { background: var(--yellow-deep); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 16px 24px;
  font-size: 14px;
  font-weight: 500;
}
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-outline-sm {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 500;
}
.btn-outline-sm:hover { background: var(--ink); color: var(--paper); }

/* ─── PAGE HEADER (non-home pages) ─── */
.page-head {
  padding: 80px var(--pad-x) 64px;
  border-bottom: 1px solid var(--line);
}
.page-head-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 48px;
}
.page-head h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 84px;
  line-height: 0.94;
  letter-spacing: -2.2px;
  margin: 0;
  max-width: var(--max-w);
}
.page-head h1 em { color: var(--blue); }
.page-head p.lead {
  font-size: 19px;
  line-height: 1.45;
  max-width: var(--max-w);
  margin: 32px 0 0;
  color: #2a2a2a;
}

/* ─── STATS BAND ─── */
.stats-band { border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat {
  padding: 48px 40px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
.stat-big {
  font-family: var(--display);
  font-weight: 600;
  font-size: 62px;
  letter-spacing: -1.8px;
  line-height: 1;
  color: var(--blue);
}
.stat-label {
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 500;
}
.stat-sub {
  margin-top: 4px;
  font-size: 12px;
  color: var(--mute);
  font-family: var(--mono);
}

/* ─── MARQUEE ─── */
.marquee-section {
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.marquee-head { padding: 0 var(--pad-x) 18px; }
.marquee { overflow: hidden; width: 100%; }
.marquee-track {
  display: flex;
  gap: 48px;
  animation: adcrate-marquee 50s linear infinite;
  width: max-content;
}
@keyframes adcrate-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-item {
  font-family: var(--display);
  font-style: italic;
  font-size: 40px;
  color: var(--ink);
  flex-shrink: 0;
  letter-spacing: -0.5px;
}
.marquee-dot { color: var(--blue); margin-left: 48px; }

/* ─── CREATIVE PLACEHOLDER (striped) ─── */
.cp {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}
.cp--dark {
  background:
    repeating-linear-gradient(135deg, #0E1226 0 14px, rgba(255,255,255,.04) 14px 15px),
    #0E1226;
  color: rgba(255,255,255,.55);
}
.cp--light {
  background:
    repeating-linear-gradient(135deg, #E8E5DB 0 14px, rgba(10,10,12,.035) 14px 15px),
    #E8E5DB;
  color: rgba(10,10,12,.55);
}
.cp--blue {
  background:
    repeating-linear-gradient(135deg, var(--blue) 0 14px, rgba(255,255,255,.08) 14px 15px),
    var(--blue);
  color: rgba(255,255,255,.75);
}
.cp-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  text-align: center;
}
.cp-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.cp-meta {
  font-family: var(--mono);
  font-size: 9px;
  opacity: .6;
}
.cp--916 { aspect-ratio: 9 / 16; }
.cp--11  { aspect-ratio: 1 / 1; }
.cp--169 { aspect-ratio: 16 / 9; }
.cp--43  { aspect-ratio: 4 / 3; }

/* Unmute affordance for autoplayed (muted) Stream/YouTube embeds */
.sound-on-btn {
  position: absolute; top: 10px; right: 10px; z-index: 10;
  background: rgba(10,10,12,0.82); color: #fff; border: 0;
  padding: 7px 12px; cursor: pointer;
  font-family: var(--mono); font-size: 10px; letter-spacing: 1.2px;
  text-transform: uppercase; border-radius: 999px;
  backdrop-filter: blur(8px);
  display: inline-flex; align-items: center;
  transition: background 0.15s;
}
.sound-on-btn:hover { background: var(--blue); }

/* Real media inside placeholder shells */
.cp video,
.cp img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.cp--media { background: var(--ink); }
.cp-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(10, 10, 12, 0.65);
  color: var(--paper);
  padding: 3px 7px;
  border-radius: 2px;
  backdrop-filter: blur(4px);
}
.cp-stat {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.5px;
  color: var(--paper);
  display: flex;
  justify-content: space-between;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* ─── SECTION HEAD (eyebrow + h2 + intro) ─── */
.sec-head {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  margin-bottom: 56px;
  align-items: end;
}
.sec-head--center { align-items: start; }
.sec-h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 55px;
  letter-spacing: -1.5px;
  line-height: 0.95;
  margin: 0;
}
.sec-h2 em { color: var(--blue); }
.sec-intro {
  font-size: 16px;
  line-height: 1.6;
  color: #3a3a3a;
  margin: 0;
  max-width: 520px;
}

/* ─── TAGS ─── */
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag {
  font-size: 11px;
  padding: 3px 8px;
  border: 1px solid var(--mute);
  color: var(--mute);
  border-radius: 999px;
}
.tag--solid {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* ─── PILLS (status) ─── */
.pill {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1px;
  padding: 3px 8px;
  font-weight: 600;
  display: inline-block;
}
.pill--scaling { background: var(--yellow); color: var(--ink); }
.pill--active { background: #E6EDFF; color: var(--blue); }
.pill--alumni { background: #eee; color: var(--mute); }

/* ─── TESTIMONIAL ─── */
.quote-block .quote-mark {
  font-family: var(--display);
  font-size: 100px;
  line-height: 0.4;
  height: 36px;
  color: var(--blue);
}
.quote-block blockquote {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 34px;
  letter-spacing: -0.7px;
  line-height: 1.25;
  margin: 16px 0 0;
}
.quote-block .quote-author {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.quote-block .quote-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--line);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.quote-block .quote-name { font-size: 14px; font-weight: 600; }
.quote-block .quote-role { font-size: 13px; color: var(--mute); }

/* ─── FAQ ─── */
.faq-body { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; }
.faq-h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 48px;
  letter-spacing: -1.3px;
  line-height: 0.95;
  margin: 0;
}
.faq-h2 em { color: var(--blue); }
.faq-list { border-top: 1px solid var(--ink); }
.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.faq-list summary {
  font-family: var(--display);
  font-size: 22px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  letter-spacing: -0.3px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  color: var(--mute);
  font-size: 18px;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { margin: 12px 0 0; font-size: 15px; line-height: 1.55; color: #3a3a3a; }

/* ─── CTA (blue) ─── */
.cta-blue {
  padding: 120px var(--pad-x);
  background: var(--blue);
  color: var(--paper);
}
.cta-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: end;
}
.cta-h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 81px;
  line-height: 0.95;
  letter-spacing: -2.3px;
  margin: 0;
}
.cta-h2 em { color: var(--yellow); }
.cta-copy {
  font-size: 18px;
  line-height: 1.5;
  color: rgba(247,245,239,.8);
  margin: 0 0 32px;
}
.cta-note {
  margin-top: 16px;
  font-size: 12px;
  color: rgba(247,245,239,.6);
  font-family: var(--mono);
}

/* ─── CTA (paper-alt · unified close) ─── */
.cta-final {
  padding: 112px var(--pad-x);
  background: var(--paper-alt);
  color: var(--ink);
  border-top: 1px solid var(--line);
}
.cta-final-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: center;
}
.cta-final h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(48px, 6vw, 80px);
  letter-spacing: -2.2px;
  line-height: 0.98;
  margin: 0;
}
.cta-final h2 em {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  color: var(--blue);
}
.cta-final p {
  font-size: 17px;
  line-height: 1.5;
  color: #2a2a2a;
  margin: 0 0 24px;
  max-width: 440px;
}

/* ─── FOOTER ─── */
.footer {
  background: var(--blue);
  color: var(--paper);
  padding: 96px var(--pad-x) 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 96px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(247,245,239,.16);
}
.footer-brand-col { max-width: 360px; }
.footer-logo {
  width: 140px;
  height: auto;
  margin-bottom: 20px;
  opacity: 0.95;
}
.footer-tagline {
  font-family: var(--display);
  font-size: 19px;
  line-height: 1.35;
  color: var(--paper);
  margin: 0 0 28px;
  letter-spacing: -0.2px;
}
.footer-apply {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  font-size: 14px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; min-width: 140px; }
.footer-col-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247,245,239,.55);
  margin-bottom: 8px;
}
.footer-col a {
  color: rgba(247,245,239,.88);
  font-size: 14.5px;
  transition: color .15s;
}
.footer-col a:hover { color: var(--yellow); }
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 12px;
  color: rgba(247,245,239,.55);
  font-family: var(--mono);
  letter-spacing: 0.3px;
}
.footer-row a { color: rgba(247,245,239,.55); transition: color .15s; }
.footer-row a:hover { color: var(--paper); }
.footer-links { display: flex; gap: 24px; }

/* ─── PROCESS STEPS (1,2,3) ─── */
.process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  margin-top: 64px;
}
.process-step {
  padding: 32px 32px 32px 0;
  border-right: 1px solid var(--line);
  padding-left: 32px;
}
.process-step:first-child { padding-left: 0; }
.process-step:last-child  { border-right: none; padding-right: 0; }
.process-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--blue);
  margin-bottom: 12px;
}
.process-title {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}
.process-copy {
  font-size: 13px;
  color: var(--mute);
  line-height: 1.5;
  margin: 0;
}

/* ─── CHECKLIST ─── */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: #3a3a3a;
}
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist li::before {
  content: "✓";
  color: var(--blue);
  font-weight: 600;
  flex-shrink: 0;
}

/* ─── FORM ─── */
.form-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 8px;
  display: block;
}
.form-field {
  margin-bottom: 24px;
}
.input, .select, .textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .15s, box-shadow .15s;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(30,63,211,.12);
}
.select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none'><path d='M1 1l5 5 5-5' stroke='%236B6B6B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 12px 8px;
  padding-right: 44px;
}
.textarea {
  min-height: 120px;
  resize: vertical;
  font-family: var(--body);
}
.form-submit {
  background: var(--ink);
  color: var(--paper);
  border: none;
  width: 100%;
  padding: 18px 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.2px;
  transition: background .15s;
}
.form-submit:hover { background: var(--blue); }

/* ─── TIMELINE (horizontal weeks) ─── */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--ink);
}
.timeline-week {
  padding: 28px 24px;
  border-right: 1px solid var(--line);
}
.timeline-week:last-child { border-right: none; }
.timeline-week--highlight { background: var(--yellow); }
.timeline-period {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 10px;
}
.timeline-week--highlight .timeline-period { color: var(--ink); }
.timeline-title {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -0.3px;
  margin-bottom: 12px;
}
.timeline-copy { font-size: 13px; color: #3a3a3a; line-height: 1.5; margin: 0; }
.timeline-week--highlight .timeline-copy { color: var(--ink); }

/* ─── BAR NAV (mirrors Adcrate Homepage-v1 Concept A v3) ─── */
.nav-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 56px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
}
.nav-bar .nav-logo {
  display: inline-flex;
  align-items: center;
}
.nav-bar .nav-logo svg {
  display: block;
  height: 22px;
  width: auto;
}
.nav-bar .nav-logo .nav-logo-mark { fill: var(--ink); }
.nav-bar .nav-logo .nav-logo-dot { fill: var(--yellow); }
.nav-bar .nav-links {
  display: flex;
  gap: 32px;
}
.nav-bar .nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.15s ease;
}
.nav-bar .nav-link:hover { color: var(--blue); }
.nav-bar .nav-link.active { color: var(--blue); }
.nav-bar .nav-cta {
  display: inline-flex;
  align-items: center;
  background: var(--yellow);
  color: var(--ink);
  border: none;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--display);
  cursor: pointer;
  transition: background 0.15s ease;
}
.nav-bar .nav-cta:hover { background: var(--ink); color: var(--paper); }

/* When shared bar nav is in use, hide any legacy in-page nav */
body.has-bar-nav .nav { display: none; }
body.has-pill-nav .nav { display: none; }

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  :root { --pad-x: 24px; --pad-y: 56px; }
  .nav { padding: 16px var(--pad-x); }
  .nav-bar { padding: 14px var(--pad-x); }
  .nav-bar .nav-links { display: none; }
  .nav-bar .nav-logo svg { height: 18px; }
  .nav-bar .nav-cta { padding: 8px 14px; font-size: 12px; }

  .page-head { padding: 48px var(--pad-x) 40px; }
  .page-head h1 { font-size: 44px; letter-spacing: -1.2px; }
  .page-head-meta { flex-direction: column; gap: 8px; margin-bottom: 24px; }
  .page-head p.lead { font-size: 17px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 28px 20px; border-bottom: 1px solid var(--line); }
  .stat:nth-child(2n) { border-right: none; }
  .stat-big { font-size: 44px; }

  .marquee-head { padding: 0 var(--pad-x) 12px; }
  .marquee-item { font-size: 28px; }

  .sec-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 32px; }
  .sec-h2 { font-size: 36px; letter-spacing: -1px; }

  .faq-body { grid-template-columns: 1fr; gap: 24px; }
  .faq-h2 { font-size: 32px; }
  .faq-list summary { font-size: 18px; }

  .cta-blue { padding: 64px var(--pad-x); }
  .cta-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-h2 { font-size: 44px; letter-spacing: -1.2px; }
  .cta-final { padding: 64px var(--pad-x); }
  .cta-final-grid { grid-template-columns: 1fr; gap: 32px; }

  .footer { padding: 56px var(--pad-x) 28px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; padding-bottom: 40px; }
  .footer-brand-col { grid-column: 1 / -1; }
  .footer-tagline { font-size: 17px; }
  .footer-row { flex-direction: column; gap: 12px; align-items: start; }

  .quote-block blockquote { font-size: 24px; letter-spacing: -0.4px; }

  .process { grid-template-columns: 1fr; margin-top: 32px; }
  .process-step {
    padding: 24px 0 !important;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .timeline { grid-template-columns: 1fr; }
  .timeline-week { border-right: none; border-bottom: 1px solid var(--line); }
}
