/* ========================================================================
   Aligned Recruit — shared styles
   ======================================================================== */

:root {
  --navy: #17374F;
  --navy-dark: #0E2841;
  --navy-b: #274B63;
  --teal: #467886;
  --slate: #668591;
  --sage: #C9D7D2;
  --blue-grey: #D7DEE1;
  --off-white: #F9FAF8;
  --panel: #F1F5F3;
  --gold: #E3A93E;
  --white: #FFFFFF;

  --font-head: 'Jost', 'Century Gothic', 'Poppins', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max: 1280px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--navy);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-head); margin: 0; font-weight: 600; }
p { margin: 0; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--navy); }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  white-space: nowrap;
}
.btn-primary { background: var(--navy); color: var(--off-white); }
.btn-primary:hover { background: var(--navy-dark); color: var(--off-white); }
.btn-gold { background: var(--gold); color: var(--navy); font-weight: 700; }
.btn-gold:hover { filter: brightness(0.96); }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); padding: 13.5px 28.5px; }
.btn-outline:hover { background: var(--navy); color: var(--off-white); }

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
}
.eyebrow.gold { color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: var(--off-white);
  border-bottom: 1px solid var(--blue-grey);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .logo img { height: 58px; width: auto; }
.site-header nav.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.site-header nav.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
}
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 6px;
}
.nav-toggle svg { display: block; }

@media (max-width: 900px) {
  .site-header nav.main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--off-white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-bottom: 1px solid var(--blue-grey);
    box-shadow: 0 8px 16px rgba(23,55,79,0.08);
  }
  .site-header nav.main-nav.open { display: flex; }
  .site-header nav.main-nav a {
    width: 100%;
    padding: 14px 24px;
    border-top: 1px solid var(--blue-grey);
  }
  .nav-toggle { display: block; }
}
@media (max-width: 420px) {
  .header-actions { gap: 6px; }
  .header-actions .btn { padding: 9px 14px !important; font-size: 13px !important; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 72px;
}
.hero-inner { max-width: 640px; position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.5px;
}
.hero p.lead {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--teal);
  max-width: 540px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 36px;
}
.hero-phone { display: flex; align-items: center; gap: 9px; font-size: 15.5px; color: var(--teal); font-weight: 500; }

.hero .wrap { position: relative; }

.hero-graphic {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-52%);
  width: 400px;
  height: 466px;
  z-index: 0;
  pointer-events: none;
}
.hero-graphic .circ { position: absolute; border-radius: 50%; }
.hero-graphic .badge { position: absolute; width: 121px; height: auto; }

@media (max-width: 1150px) {
  .hero-graphic { transform: translateY(-52%) scale(0.78); transform-origin: top right; }
}
@media (max-width: 900px) {
  .hero-graphic { opacity: 0.5; transform: translateY(-52%) scale(0.62); }
}
@media (max-width: 640px) {
  .hero-graphic { display: none; }
}

/* ---------- Proof strip ---------- */
.proof-strip {
  background: var(--panel);
  padding: 44px 0;
  border-top: 1px solid var(--blue-grey);
  border-bottom: 1px solid var(--blue-grey);
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.stat-num { font-family: var(--font-head); font-size: 40px; font-weight: 600; color: var(--navy); }
.stat-label { margin-top: 8px; font-size: 14px; color: var(--teal); line-height: 1.5; }

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

/* ---------- Section shell ---------- */
section.block { padding: 84px 0; }
section.block.panel-bg { background: var(--panel); }
section.block#process { padding-top: 48px; }
.block-head { max-width: 620px; }
.block-head h2 { margin-top: 12px; font-size: clamp(26px, 3.4vw, 32px); }
.block-head p { margin-top: 14px; font-size: 16px; line-height: 1.6; color: var(--teal); }

/* ---------- Meet Finn ---------- */
.finn-grid {
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.finn-media { display: flex; align-items: flex-end; gap: 18px; flex-wrap: wrap; }

.finn-video {
  width: 230px; max-width: 100%; aspect-ratio: 16/9; border-radius: 8px; overflow: hidden;
  background: var(--navy); flex-shrink: 0; position: relative;
}
.finn-video iframe { width: 100%; height: 100%; border: 0; display: block; }
.finn-video .video-poster {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0;
  cursor: pointer; background: none;
}
.finn-video .video-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.finn-video .play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(23,55,79,0.65); border: 1.5px solid rgba(249,250,248,0.7);
  display: flex; align-items: center; justify-content: center;
}

.finn-portrait {
  width: 170px; aspect-ratio: 4/5; flex-shrink: 0; border-radius: 8px; overflow: hidden;
}
.finn-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }

.finn-copy h2 { margin-top: 14px; font-size: clamp(26px, 3.4vw, 32px); }
.finn-copy p.bio { margin-top: 18px; font-size: 17px; line-height: 1.7; color: var(--teal); max-width: 500px; }

.testimonial-card {
  margin-top: 28px;
  padding: 22px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(23,55,79,0.08), 0 1px 2px rgba(23,55,79,0.06);
  max-width: 480px;
}
.stars { display: flex; gap: 2px; }
.stars svg { width: 15px; height: 15px; }
.testimonial-card blockquote {
  margin: 10px 0 0; font-size: 15px; line-height: 1.6; color: var(--navy); font-style: italic;
}
.testimonial-card cite { margin-top: 8px; display: block; font-size: 13px; color: var(--slate); font-style: normal; }

@media (max-width: 860px) {
  .finn-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 480px) {
  .finn-media { flex-direction: column; align-items: stretch; }
  .finn-video { width: 100%; }
  .finn-portrait { width: 100%; aspect-ratio: 4/3; }
}

/* ---------- Process ---------- */
.process-track { margin-top: 56px; position: relative; }
.process-line { position: absolute; top: 19px; left: 0; right: 0; height: 1.5px; background: var(--blue-grey); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  position: relative;
}
.process-step .dot {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--panel); border: 1.5px solid var(--slate);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600; color: var(--navy);
}
.process-step.active .dot { background: var(--gold); border-color: var(--gold); font-weight: 700; }
.process-step .label { margin-top: 16px; font-size: 14.5px; font-weight: 600; color: var(--navy); line-height: 1.35; }

@media (max-width: 860px) {
  .process-grid { grid-template-columns: repeat(3, minmax(0,1fr)); row-gap: 32px; }
  .process-line { display: none; }
}
@media (max-width: 500px) {
  .process-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* ---------- Candidate summary teaser ---------- */
.summary-section { background: var(--navy); color: var(--off-white); }
.summary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: 56px;
  align-items: center;
}
.summary-copy p { margin-top: 18px; font-size: 16px; line-height: 1.7; color: var(--sage); max-width: 440px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip {
  padding: 9px 16px; border: 1px solid var(--teal); border-radius: 20px;
  font-size: 13px; font-weight: 500; color: var(--sage);
}
.summary-footnote { margin-top: 28px; font-size: 15px; color: var(--slate); }

.summary-card {
  background: var(--off-white); color: var(--navy); border-radius: 10px; padding: 28px;
  box-shadow: 0 20px 40px rgba(14,40,63,0.35);
}
.summary-card .sc-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; color: var(--slate); text-transform: uppercase; }
.summary-card .sc-name { margin-top: 6px; font-size: 18px; font-weight: 600; }
.summary-card .sc-role { margin-top: 2px; font-size: 13px; color: var(--teal); }
.summary-rows { margin-top: 20px; display: flex; flex-direction: column; gap: 13px; }
.summary-row {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 12px; border-bottom: 1px solid var(--blue-grey);
  font-size: 14px; font-weight: 500;
}
.summary-row:last-child { border-bottom: none; padding-bottom: 0; }
.dots { display: flex; gap: 3px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; display: block; background: var(--blue-grey); }
.dots i.on { background: var(--navy); }

@media (max-width: 860px) {
  .summary-grid { grid-template-columns: 1fr; gap: 36px; }
  .summary-card { max-width: 420px; }
}

/* ---------- Commercial decision ---------- */
.cards-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.card {
  padding: 28px; background: var(--white); border-radius: 10px;
  box-shadow: 0 1px 3px rgba(23,55,79,0.08), 0 1px 2px rgba(23,55,79,0.06);
}
.card h3 { margin-top: 16px; font-size: 17px; font-weight: 600; }
.card p { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--slate); }
.card.stat { background: var(--panel); box-shadow: none; display: flex; flex-direction: column; justify-content: center; }
.card.stat .stat-num { font-size: 34px; }
.card.stat .stat-label { color: var(--teal); }

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

/* ---------- Final CTA ---------- */
.final-cta {
  background: var(--navy);
  padding: 64px 0;
}
.final-cta .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.final-cta h2 { font-size: 28px; color: var(--off-white); }
.final-cta p { margin-top: 10px; font-size: 15px; color: var(--blue-grey); }
.final-cta-right { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.final-cta-contact { text-align: right; }
.final-cta-contact .fc-phone { font-size: 14px; color: var(--off-white); font-weight: 600; }
.final-cta-contact .fc-email { font-size: 14px; color: var(--blue-grey); }

/* ---------- Footer ---------- */
footer.site-footer { padding: 44px 0 32px; background: var(--off-white); border-top: 1px solid var(--blue-grey); }
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.footer-top img { height: 60px; }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-nav a { font-size: 14px; color: var(--teal); }
.footer-contact { text-align: right; font-size: 14px; color: var(--slate); }
.footer-bottom {
  margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--blue-grey);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  font-size: 12.5px; color: var(--slate);
}

/* ---------- Candidates page ---------- */
.candidates-hero { max-width: 620px; margin: 0 auto; text-align: center; padding: 72px 24px 0; }
.candidates-hero h1 { margin-top: 14px; font-size: clamp(28px, 4vw, 36px); }
.candidates-hero p { margin-top: 16px; font-size: 16px; line-height: 1.6; color: var(--teal); }

.cv-form-wrap { max-width: 620px; margin: 0 auto; padding: 48px 24px 90px; }
.cv-form {
  background: var(--white); border-radius: 10px; padding: 36px;
  box-shadow: 0 1px 3px rgba(23,55,79,0.08), 0 1px 2px rgba(23,55,79,0.06);
}
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
@media (max-width: 480px) {
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .field-row .field { margin-top: 18px; }
}
.field { margin-top: 18px; }
.field:first-child { margin-top: 0; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--blue-grey); border-radius: 6px;
  background: var(--off-white); font-family: var(--font-body); font-size: 14.5px; color: var(--navy);
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; }

.file-drop {
  border: 1.5px dashed var(--slate); border-radius: 6px; background: var(--off-white);
  padding: 22px; text-align: center; cursor: pointer;
}
.file-drop input[type="file"] { display: none; }
.file-drop .fd-label { font-size: 13px; color: var(--slate); margin-top: 8px; }
.file-drop .fd-filename { margin-top: 6px; font-size: 13px; color: var(--navy); font-weight: 600; }

.cv-submit {
  margin-top: 26px; width: 100%; justify-content: center; padding: 15px;
}
.form-note { margin-top: 24px; text-align: center; font-size: 13.5px; color: var(--slate); }

.form-success {
  display: none; text-align: center; padding: 60px 24px;
}
.form-success.show { display: block; }
.form-success h2 { font-size: 26px; }
.form-success p { margin-top: 12px; color: var(--teal); font-size: 15px; }
