/* Agency Pathways — Recruiting site (v2) */

:root {
  --ink: #111111;
  --paper: #FAF8F2;
  --paper-dim: #EFEBDD;
  --gold: #F2BC01;
  --gold-deep: #C99A00;
  --slate: #6B6862;
  --line: #DEDACB;

  --display: "Archivo", "Arial Narrow", sans-serif;
  --body: "IBM Plex Sans", -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 242, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.wordmark img { height: 30px; display: block; }
.wordmark { text-decoration: none; }

.nav-cta {
  font-family: var(--body);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 20px;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.15s ease;
}
.nav-cta:hover { background: var(--gold-deep); color: var(--ink); }
.nav-cta:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- Hero ---------- */

.hero {
  background: var(--ink);
  color: var(--paper);
  padding: 100px 0 130px;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
}

.hero-bg-word {
  position: absolute;
  top: -0.12em;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--display);
  font-weight: 900;
  font-size: min(22vw, 260px);
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242,188,1,0.09);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

.hero .wrap { position: relative; z-index: 1; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 20px;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(42px, 7vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0 0 26px;
}

.hero h1 .line { display: block; }
.hero h1 .gold-line { color: var(--gold); }

/* ---------- Hero animated lockup ---------- */

.hero-anim-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.hero-anim-icon { width: 40px; height: 40px; overflow: visible; flex: none; }

.hero-anim-icon .ha-arrow-top,
.hero-anim-icon .ha-arrow-bottom {
  stroke: var(--gold); fill: none; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 200; stroke-dashoffset: 200;
}
.hero-anim-icon .ha-arrowhead-top,
.hero-anim-icon .ha-arrowhead-bottom {
  stroke: var(--gold); fill: none; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round;
  opacity: 0;
}

.hero-anim.play .ha-arrow-top { animation: haDraw 0.7s ease forwards; animation-delay: 0.15s; }
.hero-anim.play .ha-arrowhead-top { animation: haPop 0.25s ease forwards; animation-delay: 0.75s; }
.hero-anim.play .ha-arrow-bottom { animation: haDraw 0.7s ease forwards; animation-delay: 1.7s; }
.hero-anim.play .ha-arrowhead-bottom { animation: haPop 0.25s ease forwards; animation-delay: 2.3s; }

@keyframes haDraw { to { stroke-dashoffset: 0; } }
@keyframes haPop {
  from { opacity: 0; transform: scale(0.5); transform-origin: center; }
  to { opacity: 1; transform: scale(1); }
}

.hero-anim-word {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(16px, 2vw, 22px);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0;
}
.hero-anim-word.gold { color: var(--gold); }
.hero-anim.play .hero-anim-word { animation: haWordFadeIn 0.5s ease forwards; animation-delay: 3.3s; }

@keyframes haWordFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-anim h1 .line { opacity: 0; transform: translateY(10px); }
.hero-anim.play h1 .ha-line-1 { animation: haLineIn 0.4s ease forwards; animation-delay: 0.15s; }
.hero-anim.play h1 .ha-line-2 { animation: haLineIn 0.4s ease forwards; animation-delay: 1.7s; }
.hero-anim.play h1 .ha-line-3 { animation: haLineIn 0.5s cubic-bezier(.2,.9,.3,1.3) forwards; animation-delay: 3.5s; }

@keyframes haLineIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero p.lede {
  font-size: 18.5px;
  color: #D8D5C8;
  max-width: 46ch;
  margin: 0 0 38px;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  font-family: var(--body);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  padding: 15px 26px;
  border-radius: 2px;
  text-decoration: none;
  display: inline-block;
  border: 1.5px solid transparent;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { background: #FFD23A; transform: translateY(-2px); }

.btn-ghost { background: transparent; color: var(--paper); border-color: rgba(250,248,242,0.35); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.section-head { max-width: 58ch; margin: 0 0 56px; }
.section-head .eyebrow { color: var(--gold-deep); }

.section-head h2 {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  line-height: 1.02;
}

.section-head p { color: var(--slate); font-size: 16px; margin: 0; }

/* ---------- Roles ---------- */

.roles-section {
  padding: 20px 0 100px;
  background: var(--paper-dim);
  clip-path: polygon(0 6%, 100% 0, 100% 100%, 0 100%);
  margin-top: -40px;
}

.roles-section .wrap { padding-top: 90px; }

.services-section { padding: 90px 0 40px; }

.path-kicker {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 20px;
}
.services-section .roles-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.role-card {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.role-card:hover { transform: translateY(-4px); box-shadow: 6px 6px 0 var(--gold); }

.role-card-top { display: flex; justify-content: space-between; align-items: flex-start; padding: 22px 24px 20px; }

.role-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  padding: 5px 10px;
}

.role-num { font-family: var(--mono); font-size: 12px; color: var(--slate); }

.role-perf { border-top: 2px dashed var(--line); position: relative; margin: 0 24px; }
.role-perf::before, .role-perf::after {
  content: "";
  position: absolute;
  top: -9px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--paper-dim);
  border: 2px solid var(--ink);
}
.role-perf::before { left: -33px; }
.role-perf::after { right: -33px; }

.role-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }

.role-body h3 {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 6px;
  line-height: 1.05;
}

.role-loc { font-size: 13.5px; color: var(--slate); margin: 0 0 18px; }
.role-pay { font-family: var(--mono); font-size: 16px; font-weight: 700; color: var(--ink); margin: 0 0 4px; }
.role-pay-note { font-size: 12.5px; color: var(--slate); margin: 0 0 18px; }

.role-body ul { list-style: none; padding: 0; margin: 0 0 24px; font-size: 14px; color: var(--slate); }
.role-body li { padding-left: 16px; position: relative; margin-bottom: 7px; }
.role-body li::before { content: "\2192"; position: absolute; left: 0; top: 0; color: var(--gold-deep); font-weight: 700; }

.role-apply {
  margin-top: auto;
  font-family: var(--body);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--paper);
  text-decoration: none;
  padding: 13px 0;
  text-align: center;
  background: var(--ink);
  transition: background 0.15s ease;
}
.role-apply:hover { background: var(--gold-deep); color: var(--ink); }
.role-apply:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- Why / training ---------- */

.why-section { background: var(--ink); color: var(--paper); padding: 96px 0 90px; }
.why-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: start; }

.why-grid h2 {
  font-family: var(--display);
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.02;
  margin: 0 0 18px;
  max-width: 13ch;
}

.why-grid > div:first-child p { color: #D8D5C8; font-size: 16px; max-width: 42ch; }

.why-list { list-style: none; padding: 0; margin: 0; counter-reset: why; }

.why-list li {
  padding: 22px 0 22px 52px;
  border-top: 1px solid rgba(250,248,242,0.14);
  font-size: 15px;
  color: #E9E7DC;
  position: relative;
  counter-increment: why;
}
.why-list li:last-child { border-bottom: 1px solid rgba(250,248,242,0.14); }
.why-list li::before {
  content: "0" counter(why);
  position: absolute;
  left: 0;
  top: 20px;
  font-family: var(--mono);
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
}

.why-list strong { font-family: var(--display); display: block; color: var(--gold); font-size: 16px; margin-bottom: 5px; text-transform: uppercase; letter-spacing: 0.01em; }

.fill-time-heading {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}
.fill-time-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(250,248,242,0.14);
}
.fill-time-cell { background: var(--ink); padding: 16px 18px; }
.fill-time-cell .ft-role {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #B9B6AA;
  margin-bottom: 6px;
}
.fill-time-cell .ft-weeks {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 800;
  color: var(--paper);
}

/* ---------- Credibility ---------- */

.credibility-section { padding: 90px 0 100px; }

.credibility-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.credibility-stat { border: 2px solid var(--ink); padding: 26px 22px; }

.cred-num {
  font-family: var(--display);
  font-size: 34px;
  font-weight: 900;
  color: var(--gold-deep);
  line-height: 1;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.cred-label { font-size: 13.5px; color: var(--slate); line-height: 1.4; }

/* ---------- FAQ ---------- */

.faq-section { padding: 90px 0 100px; background: var(--paper-dim); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 4px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 16.5px;
  text-transform: uppercase;
  letter-spacing: -0.005em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: none;
  font-family: var(--mono);
  font-size: 20px;
  color: var(--gold-deep);
  transition: transform 0.15s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0 4px 22px; color: var(--slate); font-size: 15px; max-width: 62ch; }

/* ---------- Get started form ---------- */

.form-section { padding: 96px 0 100px; }

.form-shell {
  max-width: 640px;
  margin: 0 auto;
  background: var(--paper);
  border: 2px solid var(--ink);
  padding: 44px 44px 38px;
  position: relative;
}

.form-shell::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  right: -10px;
  bottom: -10px;
  border: 2px solid var(--gold);
  z-index: -1;
}

.form-shell h2 { font-family: var(--display); font-size: 28px; font-weight: 800; text-transform: uppercase; margin: 0 0 8px; text-align: center; }
.form-shell > p.intro { text-align: center; color: var(--slate); font-size: 15px; margin: 0 0 32px; }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 7px; }

.field input, .field select {
  width: 100%;
  font-family: var(--body);
  font-size: 15px;
  padding: 12px 13px;
  border: 1.5px solid var(--line);
  border-radius: 0;
  background: var(--paper-dim);
  color: var(--ink);
}
.field input:focus, .field select:focus { outline: none; border-color: var(--gold-deep); background: #fff; }

.consent {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin: 22px 0 26px;
  padding: 16px 16px;
  background: var(--paper-dim);
  font-size: 13px;
  color: var(--slate);
  line-height: 1.5;
}
.consent input { margin-top: 3px; flex: none; width: 16px; height: 16px; accent-color: var(--gold-deep); }
.consent a { color: var(--ink); text-decoration: underline; }

.form-shell .btn-primary { width: 100%; text-align: center; padding: 15px; font-size: 15px; border: none; cursor: pointer; }
.form-note { text-align: center; font-size: 12.5px; color: var(--slate); margin: 14px 0 0; }

.form-success { display: none; text-align: center; padding: 20px 0 4px; }
.form-success h3 { font-family: var(--display); font-size: 22px; text-transform: uppercase; margin: 0 0 8px; }
.form-success p { color: var(--slate); font-size: 14.5px; margin: 0; }

.talk-now {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px dashed var(--line);
  text-align: center;
}
.talk-now p {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate);
  margin: 0 0 14px;
  font-weight: 700;
}
.talk-now-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn-ghost-dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost-dark:hover { border-color: var(--gold-deep); color: var(--gold-deep); }

/* ---------- Footer ---------- */

footer { border-top: 1px solid var(--line); padding: 34px 0; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--slate); }
footer img { height: 20px; opacity: 0.8; }
footer a { color: var(--slate); text-decoration: underline; }
footer nav { display: flex; gap: 22px; align-items: center; }

footer .call-btn {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  background: var(--gold);
  padding: 7px 14px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
footer .call-btn:hover { background: var(--gold-deep); }

/* ---------- Responsive ---------- */

@media (max-width: 640px) {
  .hero { clip-path: polygon(0 0, 100% 0, 100% 96%, 0 100%); padding: 84px 0 90px; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-shell { padding: 34px 22px 28px; }
  .form-shell::before { display: none; }
  footer .wrap { flex-direction: column; align-items: flex-start; }
  .roles-section { clip-path: polygon(0 3%, 100% 0, 100% 100%, 0 100%); }
  .fill-time-grid { grid-template-columns: 1fr; }
  .credibility-stats { grid-template-columns: 1fr; }
}
