/* =========================================================
   JOIN THE AGENCY 6IX — Recruiting Site
   Design system: Editorial / luxury / selective
   Brand: The Agency Red (Pantone 199C #ED2127), Iron, Plaster, Canvas
   ========================================================= */

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, h5, p, figure, blockquote, dl, dd, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; padding: 0; }
a { color: inherit; text-decoration: none; }

/* ---------- Tokens ---------- */
:root {
  /* Colors */
  --red: #ED2127;
  --red-deep: #C71A1F;
  --iron: #0E0D0B;
  --iron-soft: #1A1816;
  --plaster: #F7F8F6;
  --canvas: #FFFFFF;
  --ink: #14110F;
  --ink-2: #3A3633;
  --ink-3: #6B6764;
  --rule: #E2DED9;
  --rule-dark: rgba(255,255,255,0.14);

  /* Fonts */
  --font-display: "Cormorant Garamond", "EB Garamond", "Times New Roman", serif;
  --font-eyebrow: "Barlow Condensed", "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Scale */
  --container: 1340px;
  --gutter: clamp(20px, 4vw, 56px);
  --section-y: clamp(72px, 9vw, 140px);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html, body {
  background: var(--plaster);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
  letter-spacing: -0.005em;
}

body { overflow-x: hidden; }

::selection { background: var(--red); color: #fff; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0;
}
.eyebrow .num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 40px;
  color: var(--red);
  line-height: 1;
  padding-right: 22px;
  position: relative;
}
.eyebrow .num::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 32px;
  background: var(--rule);
}
.eyebrow .label {
  font-family: var(--font-eyebrow);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
  padding-left: 22px;
}
.eyebrow .label:first-child { padding-left: 0; }
.numbers-band .eyebrow .label,
.apply .eyebrow .label,
.thanks .eyebrow .label {
  color: rgba(255,255,255,0.82);
}
.numbers-band .eyebrow .num::after,
.apply .eyebrow .num::after,
.thanks .eyebrow .num::after {
  background: rgba(255,255,255,0.18);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.04;
  letter-spacing: -0.018em;
}
h1 { font-size: clamp(48px, 7.4vw, 116px); font-weight: 400; }
h2 { font-size: clamp(36px, 5vw, 72px); font-weight: 400; }
h3 { font-size: clamp(24px, 2.6vw, 36px); }
h4 { font-size: clamp(18px, 1.6vw, 22px); }
em, .italic { font-style: italic; }

p { color: var(--ink-2); }
.lede {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.1vw, 28px);
  line-height: 1.42;
  color: var(--ink);
  font-style: italic;
  font-weight: 400;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { padding: var(--section-y) 0; position: relative; }

.rule { height: 1px; background: var(--rule); border: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 30px;
  font-family: var(--font-eyebrow);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 0;
  transition: all 0.4s var(--ease);
  position: relative;
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  color: #fff;
}
.btn-primary:hover { background: var(--iron); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--plaster); }
.btn-on-dark {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
}
.btn-on-dark:hover { background: #fff; color: var(--iron); border-color: #fff; }
.btn .arrow {
  display: inline-block;
  transition: transform 0.4s var(--ease);
}
.btn:hover .arrow { transform: translateX(6px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: background 0.35s var(--ease), padding 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(247, 248, 246, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px 0;
  border-bottom-color: var(--rule);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.brand-mark .logo-mark {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: cover;
  flex-shrink: 0;
}
.brand-mark .logo-mark.footer {
  background: var(--canvas);
}
.brand-mark .wordmark {
  font-family: var(--font-eyebrow);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.15;
  color: var(--ink);
}
.brand-mark .wordmark .small { display: block; font-size: 10px; color: var(--ink-3); letter-spacing: 0.22em; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-family: var(--font-eyebrow);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
  transition: color 0.25s var(--ease);
  position: relative;
}
.nav-links a:hover { color: var(--red); }
.nav-links a.current { color: var(--ink); }
.nav-links a.current::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px; background: var(--red);
}
.nav .btn { padding: 12px 22px; font-size: 12px; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  margin-right: -10px;
}
.menu-toggle span {
  width: 24px; height: 1.5px; background: var(--ink); display: block;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .menu-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--plaster);
    flex-direction: column;
    gap: 24px;
    padding: 110px var(--gutter) 56px;
    align-items: flex-start;
    transform: translateY(-105%);
    transition: transform 0.45s var(--ease);
    visibility: hidden;
    pointer-events: none;
  }
  .nav-links a { font-size: 18px; }
  .nav-links a.current::after { display: none; }
  .menu-open .nav-links {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }
  .nav-links .btn { padding: 14px 24px; font-size: 13px; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding-top: 140px;
  padding-bottom: var(--section-y);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: end;
}
.hero-copy { max-width: 720px; }
.hero h1 .accent { color: var(--red); font-style: italic; }
.hero h1 .underlined {
  position: relative;
  display: inline-block;
  font-style: italic;
}
.hero h1 .underlined::after {
  content: "";
  position: absolute;
  left: 4%; right: 4%; bottom: 4%;
  height: 6px;
  background: var(--red);
  z-index: -1;
  opacity: 0.85;
}
.hero-meta {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  font-family: var(--font-eyebrow);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.hero-meta span strong { color: var(--ink); font-weight: 600; display: block; margin-bottom: 2px; }
.hero-cta { margin-top: 44px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-image {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--iron);
  overflow: hidden;
}
.hero-image-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transition: transform 0.8s var(--ease);
  will-change: transform;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: ken-burns 22s ease-in-out infinite alternate;
  transition: filter 0.6s var(--ease);
}
@keyframes ken-burns {
  0%   { transform: scale(1.04) translate(0, 0); }
  100% { transform: scale(1.12) translate(-1.5%, -1%); }
}
.hero-image .tag {
  position: absolute;
  top: 20px; left: 20px;
  background: var(--red);
  color: #fff;
  padding: 9px 16px;
  font-family: var(--font-eyebrow);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  z-index: 2;
}
.hero-image .tag::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  margin-right: 10px;
  vertical-align: middle;
  animation: dot-pulse 2.2s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.55; transform: scale(1.5); }
}
.hero-image .caption {
  position: absolute;
  bottom: 20px; left: 20px; right: 20px;
  color: #fff;
  font-family: var(--font-eyebrow);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 1px 12px rgba(0,0,0,0.8);
  z-index: 2;
}
.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 38%);
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-image { aspect-ratio: 3/4; max-height: 60vh; }
}

/* ---------- Marquee ---------- */
.marquee-band {
  background: var(--iron);
  color: #fff;
  padding: 22px 0;
  border-top: 1px solid var(--rule-dark);
  border-bottom: 1px solid var(--rule-dark);
  overflow: hidden;
}
.marquee {
  display: flex;
  gap: 64px;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
}
.marquee span {
  font-family: var(--font-eyebrow);
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 64px;
}
.marquee .dot { color: var(--red); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Pillars (3-up) ---------- */
.pillars-intro {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px, 6vw, 80px);
  margin-bottom: clamp(48px, 6vw, 80px);
}
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
}
.pillar {
  border-top: 1px solid var(--ink);
  padding-top: 28px;
  padding-bottom: 8px;
  transition: transform 0.5s var(--ease);
}
.pillar:hover { transform: translateY(-4px); }
.pillar .pillar-num {
  font-family: var(--font-eyebrow);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.28em;
  color: var(--ink);
  text-transform: uppercase;
  margin-bottom: 22px;
}
.pillar h3 {
  margin-bottom: 18px;
}
.pillar h3 em { color: var(--red); }
.pillar p { color: var(--ink-2); }
.pillar ul {
  margin-top: 24px;
  display: grid;
  gap: 10px;
}
.pillar ul li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
}
.pillar ul li strong {
  font-family: var(--font-eyebrow);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--red);
  font-size: 15px;
}

@media (max-width: 900px) {
  .pillars-intro { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- Numbers band ---------- */
.numbers-band {
  background: var(--iron);
  color: #fff;
}
.numbers-band .eyebrow { color: rgba(255,255,255,0.6); }
.numbers-band h2 { color: #fff; }
.numbers-band h2 em { color: var(--red); }
.numbers-band .lede { color: rgba(255,255,255,0.72); }

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule-dark);
  margin-top: 56px;
  border: 1px solid var(--rule-dark);
}
.num-cell {
  background: var(--iron);
  padding: 38px 28px;
  position: relative;
  transition: background 0.4s var(--ease), transform 0.5s var(--ease);
  overflow: hidden;
}
.num-cell::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.55s var(--ease);
}
.num-cell:hover { background: var(--iron-soft); }
.num-cell:hover::after { transform: scaleX(1); }
.num-cell .figure {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 400;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.num-cell .figure em { color: var(--red); font-style: italic; }
.num-cell .label {
  margin-top: 18px;
  font-family: var(--font-eyebrow);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  max-width: 230px;
}

@media (max-width: 900px) {
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Two-col editorial block ---------- */
.editorial-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.editorial-block.reverse { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.editorial-block.reverse .editorial-text { order: 2; }
.editorial-block.reverse .editorial-media { order: 1; }
.editorial-text .eyebrow { margin-bottom: 24px; }
.editorial-text h2 em { color: var(--red); }
.editorial-text p { margin-top: 24px; max-width: 560px; }
.editorial-text .small-list {
  margin-top: 36px;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule);
}
.editorial-text .small-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  align-items: baseline;
  font-size: 15px;
}
.editorial-text .small-list li > span:first-child {
  font-family: var(--font-eyebrow);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.22em;
  color: var(--red);
  text-transform: uppercase;
}
.editorial-media {
  position: relative;
  overflow: hidden;
  background: var(--iron);
}
.editorial-media img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter 0.6s var(--ease);
}
.editorial-media:hover img { transform: scale(1.04); }
.editorial-media.wide img { aspect-ratio: 5/4; }
.editorial-media .badge {
  position: absolute; top: 20px; right: 20px;
  background: var(--red); color: #fff;
  padding: 10px 16px;
  font-family: var(--font-eyebrow);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  z-index: 2;
}
.editorial-media .badge::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  margin-right: 10px;
  vertical-align: middle;
  animation: dot-pulse 2.2s ease-in-out infinite;
}

@media (max-width: 900px) {
  .editorial-block, .editorial-block.reverse {
    grid-template-columns: 1fr;
  }
  .editorial-block.reverse .editorial-text { order: 1; }
  .editorial-block.reverse .editorial-media { order: 2; }
}

/* ---------- Process steps ---------- */
.process {
  background: var(--canvas);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.process .section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(48px, 6vw, 80px);
}
.process .section-head h2 em { color: var(--red); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-left: 1px solid var(--rule);
}
.step {
  padding: 36px 28px;
  border-right: 1px solid var(--rule);
  position: relative;
}
.step .step-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 56px;
  color: var(--red);
  line-height: 1;
  margin-bottom: 24px;
}
.step h4 { margin-bottom: 12px; }
.step p { font-size: 14px; color: var(--ink-2); }

@media (max-width: 900px) {
  .process-steps { grid-template-columns: 1fr; border-left: 0; }
  .step { border-right: 0; border-bottom: 1px solid var(--rule); }
  .step:last-child { border-bottom: 0; }
}

/* ---------- Apply / Form ---------- */
.apply {
  background: var(--iron);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.apply::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 360px; height: 360px;
  background: var(--red);
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.3;
  pointer-events: none;
}
.apply-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
  position: relative;
}
.apply h2 { color: #fff; }
.apply h2 em { color: var(--red); }
.apply .eyebrow { color: rgba(255,255,255,0.55); }
.apply .lede { color: rgba(255,255,255,0.82); }
.apply p { color: rgba(255,255,255,0.7); }

.form-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  padding: clamp(28px, 4vw, 48px);
}
.form-card .form-eyebrow {
  font-family: var(--font-eyebrow);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 8px;
}
.form-card h3 { color: #fff; margin-bottom: 28px; }
.form-card h3 em { color: var(--red); }

form .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: span 2; }
.field label {
  font-family: var(--font-eyebrow);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.field input, .field select, .field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  padding: 12px 0 12px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 16px;
  transition: border-color 0.3s var(--ease);
  border-radius: 0;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff80' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 24px;
}
.field select option { background: var(--iron); color: #fff; }
.field textarea { resize: vertical; min-height: 100px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-bottom-color: var(--red);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.35); }

.form-submit {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.form-submit button {
  background: var(--red);
  color: #fff;
  padding: 18px 30px;
  font-family: var(--font-eyebrow);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: all 0.4s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.form-submit button:hover { background: #fff; color: var(--iron); }
.form-submit .privacy {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  max-width: 320px;
}
.honeypot { position: absolute; left: -9999px; visibility: hidden; }

.form-success {
  background: rgba(237,33,39,0.08);
  border: 1px solid rgba(237,33,39,0.3);
  padding: 28px;
  color: #fff;
}
.form-success h4 { font-family: var(--font-display); color: #fff; font-size: 24px; margin-bottom: 8px; }
.form-success h4 em { color: var(--red); }

@media (max-width: 900px) {
  .apply-grid { grid-template-columns: 1fr; }
  form .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: span 1; }
}

/* ---------- FAQ ---------- */
.faq-list {
  margin-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--rule);
}
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item button {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 28px 0;
  text-align: left;
  cursor: pointer;
}
.faq-item .q {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.1vw, 26px);
  color: var(--ink);
  font-weight: 400;
  padding-right: 32px;
}
.faq-item .q em { color: var(--red); }
.faq-item .toggle {
  width: 32px; height: 32px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.faq-item .toggle::before,
.faq-item .toggle::after {
  content: "";
  position: absolute;
  background: var(--ink);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s var(--ease), background 0.3s var(--ease);
}
.faq-item .toggle::before { width: 12px; height: 1px; }
.faq-item .toggle::after { width: 1px; height: 12px; }
.faq-item.open .toggle { background: var(--red); border-color: var(--red); transform: rotate(135deg); }
.faq-item.open .toggle::before, .faq-item.open .toggle::after { background: #fff; }
.faq-item .a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease), padding 0.5s var(--ease);
}
.faq-item .a-inner { padding-bottom: 28px; max-width: 760px; color: var(--ink-2); }
.faq-item .a-inner a { color: var(--red); border-bottom: 1px solid currentColor; }
.faq-item.open .a { max-height: 600px; }

/* ---------- Footer ---------- */
footer {
  background: var(--iron);
  color: rgba(255,255,255,0.7);
  padding: clamp(56px, 7vw, 100px) 0 32px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  padding-bottom: 56px;
  border-bottom: 1px solid var(--rule-dark);
}
.footer-grid h5 {
  font-family: var(--font-eyebrow);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}
.footer-grid p, .footer-grid li { color: rgba(255,255,255,0.6); line-height: 1.7; }
.footer-grid ul li { margin-bottom: 8px; }
.footer-grid ul li a { transition: color 0.25s var(--ease); }
.footer-grid ul li a:hover { color: var(--red); }
.footer-grid .brand-mark .wordmark { color: #fff; }
.footer-grid .brand-mark .wordmark .small { color: rgba(255,255,255,0.5); }
.footer-tagline {
  margin-top: 24px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  max-width: 360px;
}
.footer-base {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  font-family: var(--font-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.footer-base a { color: rgba(255,255,255,0.55); }
.footer-base a:hover { color: var(--red); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

/* ---------- Page-specific: Training ---------- */
.weeks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  margin-top: 56px;
}
.week {
  padding: 32px 28px;
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  transition: background 0.35s var(--ease);
}
.week:nth-child(2n) { border-right: 0; }
.week:hover { background: var(--canvas); }
.week .w-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 36px;
  color: var(--red);
  line-height: 1;
}
.week .w-num span { display: block; font-size: 11px; font-style: normal; font-family: var(--font-eyebrow); letter-spacing: 0.2em; color: var(--ink-3); margin-top: 6px; text-transform: uppercase; }
.week ul { display: grid; gap: 8px; }
.week ul li {
  font-size: 14px;
  color: var(--ink-2);
  padding-left: 16px;
  position: relative;
}
.week ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 1px;
  background: var(--red);
}

@media (max-width: 700px) {
  .weeks-grid { grid-template-columns: 1fr; }
  .week { border-right: 0; }
}

/* ---------- Page-specific: Tools cards ---------- */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: clamp(48px, 6vw, 72px);
}
.tool {
  background: var(--canvas);
  padding: 36px 28px;
  border: 1px solid var(--rule);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.tool:hover { transform: translateY(-4px); border-color: var(--ink); }
.tool .tool-eyebrow {
  font-family: var(--font-eyebrow);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.tool h4 { margin-bottom: 12px; }
.tool h4 em { color: var(--red); }
.tool p { font-size: 14px; color: var(--ink-2); }
.tool a.external {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-family: var(--font-eyebrow);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.tool a.external:hover { color: var(--red); border-color: var(--red); }

@media (max-width: 900px) {
  .tools-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .tools-grid { grid-template-columns: 1fr; }
}

/* ---------- Culture page: rules grid ---------- */
.rules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  margin-top: 56px;
}
.rule-item {
  padding: 32px 28px;
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
}
.rule-item:nth-child(2n) { border-right: 0; }
.rule-item .r-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 48px;
  line-height: 1;
  color: var(--red);
  margin-bottom: 20px;
}
.rule-item h4 { margin-bottom: 8px; }
.rule-item p { font-size: 14px; color: var(--ink-2); }

@media (max-width: 700px) {
  .rules-grid { grid-template-columns: 1fr; }
  .rule-item { border-right: 0; }
}

/* ---------- Photo strip (used on culture) ---------- */
.photo-strip {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 16px;
  margin-top: 56px;
}
.photo-strip > div {
  aspect-ratio: 3/4;
  overflow: hidden;
}
.photo-strip > div:first-child { aspect-ratio: 4/5; }
.photo-strip img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.photo-strip > div:hover img { transform: scale(1.04); }

@media (max-width: 700px) {
  .photo-strip { grid-template-columns: 1fr; }
}

/* ---------- Generic page hero (subpages) ---------- */
.sub-hero {
  padding-top: 160px;
  padding-bottom: clamp(56px, 7vw, 96px);
  border-bottom: 1px solid var(--rule);
}
.sub-hero h1 { font-size: clamp(44px, 6.2vw, 92px); max-width: 1000px; }
.sub-hero h1 em { color: var(--red); }
.sub-hero .lede { margin-top: 28px; max-width: 700px; }
.sub-hero .meta {
  margin-top: 36px;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  font-family: var(--font-eyebrow);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.sub-hero .meta span strong { color: var(--ink); margin-right: 8px; }

/* ---------- Quote/callout ---------- */
.callout {
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 80px) 0;
}
.callout .mark {
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 72px;
  color: var(--red);
  line-height: 0.4;
  margin-bottom: 24px;
}
.callout .quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.25;
  color: var(--ink);
  font-weight: 400;
}
.callout .attribution {
  margin-top: 28px;
  font-family: var(--font-eyebrow);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---------- Wide image break ---------- */
.image-break {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  position: relative;
}
.image-break img {
  width: 100%;
  aspect-ratio: 16/7;
  object-fit: cover;
}

@media (max-width: 700px) {
  .image-break img { aspect-ratio: 4/3; }
}

/* ---------- Locations ---------- */
.locations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 48px;
}
.location {
  background: var(--canvas);
  border: 1px solid var(--rule);
}
.location img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.location-body {
  padding: 28px;
}
.location-body .loc-eyebrow {
  font-family: var(--font-eyebrow);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}
.location-body h4 { margin-bottom: 8px; }
.location-body p { font-size: 14px; color: var(--ink-2); }

@media (max-width: 700px) {
  .locations { grid-template-columns: 1fr; }
}

/* ---------- Print-friendly tweaks ---------- */
@media print {
  .nav, .apply, footer { display: none; }
}

/* ---------- Brand stack (above hero headline) ---------- */
.brand-stack {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 0;
  background: transparent;
  border: 0;
  margin-bottom: 32px;
}
.brand-stack .logo-agency {
  height: 38px;
  width: auto;
  display: block;
}
.brand-stack .logo-tk {
  height: 56px;
  width: auto;
  display: block;
}
.brand-stack .sep {
  width: 1px;
  height: 40px;
  background: var(--rule);
}
@media (max-width: 560px) {
  .brand-stack { padding: 0; gap: 20px; }
  .brand-stack .logo-agency { height: 30px; }
  .brand-stack .logo-tk { height: 44px; }
  .brand-stack .sep { height: 32px; }
}

/* ---------- Brand affiliation band (after hero) ---------- */
.brand-band {
  background: var(--iron);
  color: #fff;
  padding: clamp(64px, 7vw, 100px) 0;
  border-top: 1px solid var(--rule-dark);
  border-bottom: 1px solid var(--rule-dark);
}
.brand-band-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.brand-band-cell {
  padding: 0 clamp(20px, 3vw, 40px);
  border-right: 1px solid var(--rule-dark);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 160px;
}
.brand-band-cell:last-child { border-right: 0; }
.brand-band-cell .label {
  font-family: var(--font-eyebrow);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  margin-bottom: 22px;
}
.brand-band-cell .logo-agency {
  height: 50px;
  width: auto;
  transition: transform 0.5s var(--ease);
}
.brand-band-cell .logo-tk {
  height: 78px;
  width: auto;
  transition: transform 0.5s var(--ease);
}
.brand-band-cell:hover .logo-agency,
.brand-band-cell:hover .logo-tk { transform: translateY(-2px); }
.brand-band-cell .text-mark {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 32px;
  color: #fff;
  line-height: 1.1;
}
.brand-band-cell .text-mark span {
  display: block;
  font-family: var(--font-eyebrow);
  font-style: normal;
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-top: 10px;
}

@media (max-width: 700px) {
  .brand-band-grid { grid-template-columns: 1fr; }
  .brand-band-cell {
    border-right: 0;
    border-bottom: 1px solid var(--rule-dark);
    padding: 28px 0;
    min-height: auto;
  }
  .brand-band-cell:last-child { border-bottom: 0; }
}

/* ---------- Top-producer benefit cards ---------- */
.benefit-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.benefit-card {
  padding: 40px 32px 44px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--plaster);
  transition: background 0.4s var(--ease), transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  position: relative;
  overflow: hidden;
}
.benefit-card::before {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.55s var(--ease);
}
.benefit-card:hover {
  background: var(--canvas);
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -28px rgba(237, 33, 39, 0.28), 0 12px 24px -16px rgba(0,0,0,0.08);
  z-index: 2;
}
.benefit-card:hover::before { transform: scaleX(1); }
.benefit-card .b-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 34px;
  color: var(--red);
  line-height: 1;
  margin-bottom: 26px;
  transition: transform 0.5s var(--ease);
}
.benefit-card:hover .b-num { transform: translateX(4px); }
.benefit-card h4 {
  font-family: var(--font-display);
  font-size: clamp(22px, 1.9vw, 26px);
  line-height: 1.2;
  margin-bottom: 14px;
}
.benefit-card h4 em { color: var(--red); }
.benefit-card p {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.6;
}
@media (max-width: 900px) {
  .benefit-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .benefit-cards { grid-template-columns: 1fr; }
}

/* ---------- Pillar logo header ---------- */
.pillar-logo {
  width: 56px;
  height: 56px;
  object-fit: cover;
  margin-bottom: 20px;
  display: block;
}
.pillar-portrait { border-radius: 50%; }

/* ---------- Bio chapter mark (Culture) ---------- */
.bio-mark {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.bio-mark img {
  height: 48px;
  width: auto;
}
.bio-mark .bio-label {
  font-family: var(--font-eyebrow);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---------- Footer logo lockup ---------- */
.footer-lockup {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 22px;
  padding: 16px 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  width: fit-content;
}
.footer-lockup .agency {
  height: 22px;
  width: auto;
}
.footer-lockup .tk {
  height: 38px;
  width: auto;
}
.footer-lockup .sep {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.18);
}

/* ---------- Selectivity sidebar line ---------- */
.selectivity-line {
  margin-top: 32px;
  padding: 24px 28px;
  border-left: 2px solid var(--red);
  background: rgba(237, 33, 39, 0.06);
}
.selectivity-line .sl-eyebrow {
  font-family: var(--font-eyebrow);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}
.selectivity-line p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--ink);
  line-height: 1.4;
}
.apply .selectivity-line {
  background: rgba(237, 33, 39, 0.12);
  border-left-color: var(--red);
}
.apply .selectivity-line p { color: #fff; }
.apply .selectivity-line .sl-eyebrow { color: var(--red); }

/* ---------- Accessibility: prefers-reduced-motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-image img { animation: none; transform: scale(1.04); }
  .hero-image .tag::before,
  .editorial-media .badge::before { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee { animation: none; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
