/* ============================================================
   Aspiring Surgeons Academy — Design System v3
   Bright, professional course-platform style (Medset-inspired)
   ============================================================ */

:root {
  --bg: #F6F8FB;
  --paper-raised: #FFFFFF;
  --ink: #101828;
  --steel: #5B6474;
  --steel-light: #EDF1F6;
  --line: #E3E8EF;
  --primary: #0B2E5C;
  --primary-dim: #071D3D;
  --accent: #8E1B24;
  --accent-dim: #6B1219;
  --badge-bg: #F5DCDD;

  --font-display: 'Work Sans', sans-serif;
  --font-body: 'Work Sans', sans-serif;
  --font-label: 'Work Sans', sans-serif;

  --container: 1180px;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0 0 0.5em 0;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

h1 { font-weight: 800; letter-spacing: -0.03em; }
h3 { font-weight: 600; letter-spacing: -0.01em; }

em, i, .italic { font-style: italic; font-weight: 500; }

h1 em, h2 em {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}

p { margin: 0 0 1em 0; }
a { color: inherit; text-decoration: none; }

.eyebrow {
  font-family: var(--font-label);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--accent-dim);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1em;
}

.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

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

img { max-width: 100%; display: block; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------------- Header ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 248, 251, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  height: 80px;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--primary);
}

.wordmark .mark {
  height: 52px;
  width: auto;
  aspect-ratio: 888 / 281;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.wordmark .mark img { height: 100%; width: auto; object-fit: contain; display: block; }

.wordmark small {
  display: block;
  font-family: var(--font-label);
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--steel);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}

nav.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

nav.primary-nav a {
  font-family: var(--font-label);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--steel);
  position: relative;
  padding: 8px 11px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

nav.primary-nav a:hover {
  background: var(--steel-light);
  color: var(--primary);
}

nav.primary-nav a[aria-current="page"] {
  background: var(--primary);
  color: #fff;
}

.btn {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.87rem;
  padding: 13px 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid transparent;
  transition: transform 0.2s cubic-bezier(.22,1,.36,1), box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-solid { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -8px rgba(142,27,36,0.5); }
.btn-solid:hover { background: var(--accent-dim); transform: translateY(-2px) scale(1.02); box-shadow: 0 14px 26px -10px rgba(142,27,36,0.55); }
.btn-solid:active { transform: translateY(0) scale(0.98); }
.btn-outline { background: #fff; color: var(--primary); border-color: var(--line); }
.btn-outline:hover { border-color: var(--primary); transform: translateY(-2px); }
.btn-outline:active { transform: translateY(0); }

.nav-toggle { display: none; }

/* ---------------- Hero ---------------- */

.hero {
  padding: 56px 0 40px;
  position: relative;
  overflow: hidden;
}

.hero::before, .hero::after,
.page-hero::before, .page-hero::after {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 0;
  pointer-events: none;
}

.hero::before, .page-hero::before {
  background: var(--primary);
  opacity: 0.14;
  top: -180px;
  left: -140px;
  animation: floatA 24s ease-in-out infinite alternate;
}

.hero::after, .page-hero::after {
  background: var(--accent);
  opacity: 0.13;
  bottom: -200px;
  right: -160px;
  animation: floatB 28s ease-in-out infinite alternate;
}

@keyframes floatA {
  from { transform: translate(0, 0); }
  to { transform: translate(50px, 36px); }
}

@keyframes floatB {
  from { transform: translate(0, 0); }
  to { transform: translate(-40px, -46px); }
}

.hero .wrap { position: relative; z-index: 1; }

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: start;
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  letter-spacing: -0.01em;
  white-space: nowrap;
  line-height: 1;
  color: var(--primary);
  margin: 0 0 0.5em 0;
}

.hero .eyebrow {
  flex-wrap: nowrap;
  white-space: nowrap;
  font-size: clamp(0.6rem, 1vw, 0.74rem);
  letter-spacing: 0.06em;
}
@media (max-width: 900px) {
  .hero .eyebrow { font-size: clamp(0.5rem, 1.8vw, 0.74rem); letter-spacing: 0.04em; }
}
@media (max-width: 420px) {
  .hero .eyebrow { white-space: normal; align-items: flex-start; }
  .hero .eyebrow::before { flex-shrink: 0; margin-top: 0.4em; }
}

.hero h1 {
  font-size: clamp(3.2rem, 6vw, 5.2rem);
  color: var(--primary);
}

.hero .lede {
  font-size: 1.22rem;
  color: var(--steel);
  max-width: 46ch;
  margin-bottom: 1.7em;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero-actions .note {
  font-family: var(--font-label);
  font-size: 0.8rem;
  color: var(--steel);
}

/* Hero photo frame */

.hero-photo {
  aspect-ratio: 4 / 5;
  background: var(--steel-light);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 30px 60px -30px rgba(16,24,40,0.25);
}

.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.hero-photo .placeholder-note {
  font-family: var(--font-label);
  font-size: 0.8rem;
  color: var(--steel);
  text-align: center;
  padding: 24px;
}

/* Trust / credential badge strip */

.badge-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 28px 0 8px;
}

.badge {
  background: var(--badge-bg);
  color: var(--accent-dim);
  font-family: var(--font-label);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.badge::before { content: "✓"; font-weight: 800; }

.badge-strip-stacked {
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  margin-top: 20px;
}

.badge-strip-stacked .badge { width: 100%; }

/* Scorecard signature component — card style */

.scorecard {
  background: var(--paper-raised);
  border-radius: var(--radius);
  padding: 28px 28px 22px;
  box-shadow: 0 24px 48px -24px rgba(16,24,40,0.22);
  border: 1px solid var(--line);
}

.scorecard-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  margin-bottom: 16px;
}

.scorecard-head .label {
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 600;
}

.scorecard-head .total {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--primary);
  font-weight: 800;
}

.score-row {
  display: grid;
  grid-template-columns: 22px 1fr 78px;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
}

.score-row + .score-row { border-top: 1px solid var(--steel-light); }

.score-row .num {
  font-family: var(--font-label);
  font-size: 0.72rem;
  color: var(--steel);
  font-weight: 600;
}

.score-row .domain { font-size: 0.9rem; font-weight: 600; font-family: var(--font-body); }

.score-row .bar {
  height: 7px;
  background: var(--steel-light);
  border-radius: 999px;
  overflow: hidden;
  grid-column: 2;
  margin-top: 5px;
}

.score-row .bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  border-radius: 999px;
  animation: fillbar 1.1s ease-out both;
}

@keyframes fillbar {
  from { transform: scaleX(0); transform-origin: left; }
  to { transform: scaleX(1); transform-origin: left; }
}

.score-row .pts {
  font-family: var(--font-label);
  font-size: 0.78rem;
  text-align: right;
  color: var(--steel);
  font-weight: 600;
}

.scorecard-foot {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--steel);
}

/* ---------------- Sections ---------------- */

section { padding: 64px 0; }
section.tight { padding: 44px 0; }
.bleed-dark { background: var(--primary); color: #fff; }
.bleed-dark .eyebrow { color: #7FE0DE; }
.bleed-dark .eyebrow::before { background: #7FE0DE; }
.bleed-dark .steel-text { color: #B7C4DA; }

.section-head { max-width: 640px; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(2.1rem, 3.6vw, 3.1rem); color: var(--primary); }
.section-head .lede { font-style: italic; }
.section-head .lede { color: var(--steel); font-size: 1.04rem; }
.bleed-dark .section-head h2 { color: #fff; }
.bleed-dark .section-head .lede { color: #B7C4DA; }

/* Offer grid — rounded cards */

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.offer-card {
  background: var(--paper-raised);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  min-height: 200px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.offer-card:hover { box-shadow: 0 20px 40px -20px rgba(16,24,40,0.25); transform: translateY(-3px); }

.offer-card .station {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--badge-bg);
  color: var(--accent-dim);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.offer-card h3 { font-size: 1.42rem; font-weight: 700; margin-bottom: 10px; color: var(--primary); }
.offer-card p { color: var(--steel); font-size: 0.93rem; flex-grow: 1; }
.offer-card .go {
  font-family: var(--font-label);
  font-size: 0.82rem;
  font-weight: 700;
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-dim);
  transition: transform 0.25s cubic-bezier(.22,1,.36,1);
}

.offer-card:hover .go { transform: translateX(5px); }

/* How it works */

.howitworks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.hiw-item {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 26px;
}

.hiw-item .num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent);
  margin-bottom: 10px;
}

.hiw-item h4 { font-size: 1.05rem; color: var(--primary); }
.hiw-item p { color: var(--steel); font-size: 0.92rem; margin-bottom: 0; }

/* Testimonial — review card */

.testimonial {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  max-width: 780px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 32px;
  box-shadow: 0 24px 48px -30px rgba(16,24,40,0.2);
}

.testimonial-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--steel-light);
}

.testimonial-avatar-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}

.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }

.testimonial-body { flex: 1; }

.testimonial blockquote {
  margin: 0 0 14px 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1.38;
  color: var(--ink);
}

.testimonial cite {
  font-family: var(--font-label);
  font-size: 0.8rem;
  color: var(--steel);
  font-style: normal;
  font-weight: 600;
}

/* CTA banner */

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-banner h2 { font-size: clamp(2.3rem, 4.2vw, 3.3rem); font-weight: 800; margin-bottom: 8px; color: #fff; }
.cta-banner p { color: #B7C4DA; margin-bottom: 0; }

/* ---------------- Service page ---------------- */

.page-hero {
  padding: 40px 0 44px;
  position: relative;
  overflow: hidden;
}

.page-hero .wrap { position: relative; z-index: 1; }

.page-hero .kicker {
  font-family: var(--font-label);
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  background: var(--primary);
  display: inline-block;
  padding: 9px 18px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.page-hero h1 { font-size: clamp(2.8rem, 5vw, 4.2rem); max-width: 16ch; color: var(--primary); }
.page-hero .lede { font-style: italic; }
.page-hero .lede { color: var(--steel); font-size: 1.06rem; max-width: 58ch; }

.included-list {
  display: grid;
  gap: 18px;
}

.included-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  padding: 26px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.included-row .tag {
  font-family: var(--font-label);
  font-size: 0.72rem;
  color: var(--accent-dim);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
  padding-top: 3px;
}

.included-row h4 { font-size: 1.08rem; margin-bottom: 8px; color: var(--primary); }
.included-row p { color: var(--steel); font-size: 0.93rem; margin: 0; }

.who-for {
  background: var(--badge-bg);
  border-radius: var(--radius);
  padding: 30px 32px;
}

.who-for h4 { font-size: 1rem; color: var(--primary); }
.who-for ul { margin: 0; padding-left: 18px; color: var(--steel); font-size: 0.93rem; }
.who-for li { margin-bottom: 8px; }

/* ---------------- About page ---------------- */

.about-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 44px;
  align-items: start;
}

.about-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 20px;
  overflow: hidden;
  background: var(--steel-light);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 24px 48px -28px rgba(16,24,40,0.25);
}

.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo .placeholder-note {
  font-family: var(--font-label);
  font-size: 0.72rem;
  color: var(--steel);
  text-align: center;
  padding: 20px;
}

.credentials {
  margin-top: 16px;
  font-family: var(--font-label);
  font-size: 0.8rem;
  color: var(--steel);
  line-height: 1.9;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.about-body p { color: var(--steel); font-size: 1.02rem; }
.about-body p:first-of-type { color: var(--ink); font-size: 1.12rem; font-weight: 500; }

/* ---------------- Contact page ---------------- */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
}

.contact-layout form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
}

.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-family: var(--font-label);
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  color: var(--steel);
  margin-bottom: 8px;
  font-weight: 600;
}

.field input, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
}

.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}

.field textarea { min-height: 120px; resize: vertical; }

.interest-group { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.interest-group legend {
  font-family: var(--font-label);
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  color: var(--steel);
  margin-bottom: 10px;
  font-weight: 600;
  padding: 0;
}
.field .check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 10px;
  cursor: pointer;
}
.field .check input {
  width: 18px;
  height: 18px;
  padding: 0;
  margin: 0;
  flex: none;
  accent-color: var(--accent);
  cursor: pointer;
}

.contact-info h4 {
  font-family: var(--font-label);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 700;
}

.contact-info .info-block {
  margin-bottom: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.contact-info a.link { color: var(--accent-dim); font-weight: 700; }

/* ---------------- Footer ---------------- */

.site-footer {
  background: var(--primary-dim);
  color: #C4CEE0;
  padding: 56px 0 28px;
  margin-top: 0;
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 32px;
}

.site-footer .wordmark { color: #fff; }
.site-footer .wordmark small { color: #94A3C4; }

.footer-note {
  font-size: 0.86rem;
  color: #94A3C4;
  max-width: 42ch;
  margin-top: 14px;
}

.footer-col h5 {
  font-family: var(--font-label);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
  font-weight: 700;
}

.footer-col a {
  display: block;
  font-size: 0.87rem;
  color: #94A3C4;
  margin-bottom: 10px;
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-family: var(--font-label);
  font-size: 0.78rem;
  color: #7E8CB0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------------- Responsive ---------------- */

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

@media (max-width: 1220px) {
  nav.primary-nav { gap: 2px; }
  nav.primary-nav a { font-size: 0.74rem; padding: 8px 10px; }
}

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .offer-grid { grid-template-columns: 1fr 1fr; }
  .howitworks { gap: 14px; }
  .hiw-item { padding: 18px; }
  .about-layout { grid-template-columns: 1fr; }
  .about-photo { width: 200px; }
  .contact-layout { grid-template-columns: 1fr; }
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1140px) {
  nav.primary-nav { display: none; }
  .site-header .wrap {
    height: 68px;
    grid-template-columns: auto auto;
    justify-content: space-between;
  }
}

@media (max-width: 420px) {
  .wordmark .mark { height: 34px; }
  .site-header .btn-solid { padding: 9px 13px; font-size: 0.72rem; }
  .site-header .wrap { padding-left: 20px; padding-right: 20px; }
}

@media (max-width: 680px) {
  .offer-grid { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .included-row { grid-template-columns: 1fr; gap: 6px; }
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------------- Scroll reveal ---------------- */

.has-js .reveal-target {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(.22,1,.36,1), transform 0.7s cubic-bezier(.22,1,.36,1);
}

.has-js .reveal-target.is-visible {
  opacity: 1;
  transform: none;
}

.has-js .offer-grid .reveal-target:nth-child(1) { transition-delay: 0s; }
.has-js .offer-grid .reveal-target:nth-child(2) { transition-delay: 0.08s; }
.has-js .offer-grid .reveal-target:nth-child(3) { transition-delay: 0.16s; }
.has-js .offer-grid .reveal-target:nth-child(4) { transition-delay: 0.24s; }
.has-js .offer-grid .reveal-target:nth-child(5) { transition-delay: 0.32s; }
.has-js .offer-grid .reveal-target:nth-child(6) { transition-delay: 0.4s; }

.has-js .howitworks .reveal-target:nth-child(1) { transition-delay: 0s; }
.has-js .howitworks .reveal-target:nth-child(2) { transition-delay: 0.1s; }
.has-js .howitworks .reveal-target:nth-child(3) { transition-delay: 0.2s; }

.has-js .included-list .reveal-target:nth-child(1) { transition-delay: 0s; }
.has-js .included-list .reveal-target:nth-child(2) { transition-delay: 0.08s; }
.has-js .included-list .reveal-target:nth-child(3) { transition-delay: 0.16s; }
.has-js .included-list .reveal-target:nth-child(4) { transition-delay: 0.24s; }
.has-js .included-list .reveal-target:nth-child(5) { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .has-js .reveal-target { opacity: 1; transform: none; transition: none; }
  .hero::before, .hero::after, .page-hero::before, .page-hero::after { animation: none; }
}

/* ---------------- Section banding ---------------- */

section:not(.hero):not(.page-hero):not(.bleed-dark) {
  background: var(--bg);
}

body > section:not(.hero):not(.page-hero):not(.bleed-dark):nth-of-type(even) {
  background: var(--paper-raised);
}

section:has(.testimonial) { background: var(--badge-bg); }

/* ---------------- Worked example + competition ratios ---------------- */

.worked-example-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.ratio-panel {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px 28px 22px;
  display: flex;
  flex-direction: column;
}

.ratio-panel-head {
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: #9FC2E8;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.18);
}

.ratio-stat {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 14px 0;
}

.ratio-stat + .ratio-stat { border-top: 1px solid rgba(255,255,255,0.14); }

.ratio-figure {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  flex-shrink: 0;
  min-width: 108px;
}

.ratio-figure small {
  font-size: 1.3rem;
  font-weight: 600;
  color: #9FC2E8;
}

.ratio-label {
  font-size: 0.86rem;
  color: #C7D9EE;
  line-height: 1.5;
}

.ratio-panel-foot {
  margin-top: auto;
  padding-top: 16px;
  font-size: 0.74rem;
  color: #7FA0C8;
}

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

/* Compact ratio panel + gameplan */
.ratio-col { display: flex; flex-direction: column; gap: 20px; }
.ratio-col .ratio-panel { padding: 20px 22px 16px; }
.ratio-col .ratio-panel-head { padding-bottom: 10px; margin-bottom: 6px; }
.ratio-col .ratio-stat { padding: 10px 0; }
.ratio-col .ratio-figure { font-size: 2rem; min-width: 88px; }
.ratio-col .ratio-figure small { font-size: 1rem; }
.ratio-col .ratio-label { font-size: 0.8rem; }
.ratio-col .ratio-panel-foot { padding-top: 10px; font-size: 0.7rem; }

.gameplan {
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--radius);
  padding: 22px;
  background: #fff;
}
.gameplan h3 { color: var(--primary); margin: 16px 0 8px; font-size: 1.15rem; }
.gameplan p { color: var(--steel); font-size: 0.92rem; margin: 0; }
.dot-row { display: flex; align-items: center; gap: 6px; padding: 5px 0; }
.dot-label {
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--steel);
  width: 36px;
}
.dot { width: 18px; height: 18px; border-radius: 50%; background: #D5DEEA; }
.dot.win { background: var(--primary); box-shadow: 0 0 0 3px rgba(159,194,232,0.6); }
.dot-note { margin-left: 8px; font-size: 0.8rem; font-weight: 700; color: var(--primary); }

/* Feedback slider */
.t-slider { max-width: 780px; }
.t-viewport { overflow: hidden; border-radius: var(--radius); }
.t-track { display: flex; transition: transform 0.6s ease; }
.t-track > .testimonial { flex: 0 0 100%; max-width: none; box-shadow: none; }
.t-controls { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.t-controls[hidden] { display: none; }
.t-btn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--primary);
  font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.t-btn:hover { background: var(--primary); color: #fff; }
.t-dots { display: flex; gap: 8px; }
.t-dot { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: #C9D3E0; cursor: pointer; }
.t-dot.active { background: var(--primary); }

/* Hero match rate */
.match-rate {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  padding: 14px 20px;
  max-width: 520px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.match-figure {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--primary);
  line-height: 1;
}
.match-text { font-size: 0.88rem; color: var(--steel); line-height: 1.45; }
.match-text strong {
  display: block;
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

/* Centred ratio stats */
.ratio-panel-head, .ratio-panel-foot { text-align: center; }
.ratio-stat { flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.ratio-col .ratio-figure, .ratio-figure { min-width: 0; }

/* Larger red odds graphic + larger ratio figures */
.gameplan-graphic { display: flex; flex-direction: column; gap: 6px; }
.dot-row { gap: 9px; padding: 6px 0; }
.dot-label { font-size: 0.9rem; width: 48px; }
.dot { width: 28px; height: 28px; background: #F3C9C9; }
.dot.win { background: #C62828; box-shadow: 0 0 0 4px rgba(198,40,40,0.25); }
.dot-note { margin-left: 12px; font-size: 1.05rem; color: #C62828; }
@media (max-width: 480px) {
  .dot { width: 22px; height: 22px; }
  .dot-row { gap: 6px; }
}

.ratio-col .ratio-figure { font-size: 3rem; }
.ratio-col .ratio-figure small { font-size: 1.4rem; }

/* ---------------- 1-to-1 interview training ---------------- */

.one2one {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px;
  box-shadow: 0 18px 40px -28px rgba(11,46,92,0.35);
}
.one2one-copy h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); color: var(--primary); margin: 10px 0 12px; }
.one2one-copy .lede { color: var(--steel); font-size: 1.04rem; max-width: 60ch; }
.one2one-copy .lede strong { color: var(--accent); }
.one2one-list { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 10px; }
.one2one-list li { position: relative; padding-left: 28px; color: var(--ink); }
.one2one-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--badge-bg); color: var(--accent);
  font-size: 0.72rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.one2one-stat {
  background: var(--primary); color: #fff;
  border-radius: var(--radius);
  padding: 40px 28px; text-align: center;
  display: flex; flex-direction: column; gap: 10px; align-items: center;
}
.one2one-num { font-size: clamp(3.4rem, 7vw, 5rem); font-weight: 700; line-height: 1; color: #fff; }
.one2one-label { color: #B7C4DA; font-size: 0.95rem; letter-spacing: 0.02em; }
@media (max-width: 900px) {
  .one2one { grid-template-columns: 1fr; padding: 28px; gap: 28px; }
}

/* Wide section head — heading and intro sit on a single line on desktop */
.section-head-wide { max-width: none; }
.section-head-wide h2 { font-size: clamp(1.6rem, 2.75vw, 2rem); }
.section-head-wide .lede { font-size: clamp(0.92rem, 1.25vw, 0.98rem); }

/* Split page hero with graphic (Interview Mastery) */
.page-hero-split .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.page-hero-graphic { aspect-ratio: 1535 / 1024; }
.page-hero-graphic img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .page-hero-split .wrap { grid-template-columns: 1fr; gap: 32px; }
  .page-hero-graphic { max-width: 640px; }
}

/* Footer legal links & legal pages */
.footer-legal a { color: #B7C4DA; text-decoration: none; }
.footer-legal a:hover { color: #fff; text-decoration: underline; }
.legal { max-width: 760px; }
.legal h3 { color: var(--primary); font-size: 1.25rem; margin-top: 1.8em; }
.legal p { color: var(--steel); line-height: 1.7; }
.legal a { color: var(--accent); }

.hiw-item p a { color: var(--primary); overflow-wrap: anywhere; }
.hiw-icon { width: 2.6rem; height: 2.6rem; display: block; }

@media (max-width: 680px) {
  .howitworks { gap: 8px; }
  .hiw-item { padding: 12px 10px; }
  .hiw-item .num { font-size: 1.8rem; margin-bottom: 6px; }
  .hiw-icon { width: 1.8rem; height: 1.8rem; }
  .hiw-item h4 { font-size: 0.85rem; }
  .hiw-item p { font-size: 0.74rem; }
}

/* Align icon, heading and text rows across the three How it works boxes */
.hiw-item {
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
  row-gap: 0;
  align-content: start;
}
.hiw-item .num { display: flex; align-items: center; height: 3.2rem; }
.hiw-item h4 { margin-top: 0; align-self: start; }
.hiw-item p { align-self: start; }
@media (max-width: 680px) {
  .hiw-item .num { height: 2.2rem; }
}

.one2one-for {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 12px;
  border-left: 3px solid var(--accent);
  background: rgba(0,0,0,0.03);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.98rem;
}
.one2one-for strong { color: var(--accent); }
.one2one-num-sm { font-size: clamp(2.4rem, 5vw, 3.4rem); }
.one2one-divider { display: block; width: 48px; height: 1px; background: rgba(255,255,255,0.25); margin: 16px auto; }
.one2one-proof { margin: -8px 0 24px; color: var(--primary); font-size: 1rem; }
.one2one-proof strong { color: var(--accent); }

@media (max-width: 900px) {
  .hero-brand { font-size: min(5vw, 2.2rem); }
}

/* Eyebrow under the hero brand stays on one line; its size is fitted by js/fit-brand.js */
.hero .eyebrow { white-space: nowrap; }
@media (max-width: 420px) {
  .hero .eyebrow { white-space: nowrap; align-items: center; }
  .hero .eyebrow::before { margin-top: 0; }
}
/* Tighter tracking so the fitted eyebrow line renders with a larger font at the same width */
.hero .eyebrow { letter-spacing: 0.01em; gap: 10px; }
@media (max-width: 900px) { .hero .eyebrow { letter-spacing: 0.01em; } }

/* Scorecard note matches the gameplan paragraph text in the box beside it */
.worked-example-grid .scorecard .scorecard-foot,
.worked-example-grid .gameplan p {
  font-family: var(--font-body, inherit);
  font-size: 0.98rem;
  line-height: 1.65;
  letter-spacing: 0;
  color: var(--steel);
}

.badge-two-line { border-radius: 18px; line-height: 1.35; }

/* Career pathway graphic under the About photo */
.career-path {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.career-path li {
  position: relative;
  background: #fff;
  border: none;
  box-shadow: 0 2px 8px -3px rgba(16,24,40,0.15);
  border-radius: 8px;
  padding: 6px 10px;
  text-align: center;
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--primary);
}
.career-path li + li { margin-top: 18px; }
.career-path li + li::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -14px;
  width: 1.5px;
  height: 8px;
  background: var(--accent);
  transform: translateX(-50%);
}
.career-path li + li::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -7px;
  transform: translateX(-50%);
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--accent);
}

@media (max-width: 900px) { .career-path { max-width: 260px; } }

/* About heading: keep the first line on one line, scaling down on narrow screens */
.page-hero h1.h1-oneline { max-width: none; }
@media (max-width: 1100px) {
  .page-hero h1.h1-oneline { font-size: min(clamp(2.8rem, 5vw, 4.2rem), calc((100vw - 64px) / 16)); }
}
.page-hero h1.h1-oneline .nowrap { white-space: nowrap; }

/* Pricing page */
.price-card {
  background: var(--paper-raised);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
}
.price-card-featured { border: 2px solid var(--accent); box-shadow: 0 20px 40px -24px rgba(142,27,36,0.35); }
.price-label {
  font-family: var(--font-label);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dim);
  margin-bottom: 12px;
}
.price-card h3 { font-size: 1.42rem; color: var(--primary); margin-bottom: 6px; }
.price { margin: 0 0 14px; }
.price-amount { font-family: var(--font-display); font-size: 2.8rem; font-weight: 800; letter-spacing: -0.03em; color: var(--primary); line-height: 1; }
.price-desc { color: var(--steel); font-size: 0.93rem; flex-grow: 1; margin: 0 0 22px; }
.price-card .btn { align-self: flex-start; }
.price-note { color: var(--steel); font-size: 0.9rem; margin: 24px 0 0; max-width: 70ch; }
.pricing-link { margin: 22px 0 0; font-weight: 600; }
.pricing-link a { color: var(--accent-dim); }
.price-duration { display: block; color: var(--accent-dim); font-size: 0.95rem; font-weight: 700; margin-bottom: 12px; }

/* Top bar: keep all eight links (including Pricing) on one line on smaller laptop screens */
@media (max-width: 1320px) {
  .site-header .wrap { gap: 16px; }
  nav.primary-nav { gap: 0; }
  nav.primary-nav a { font-size: 0.72rem; padding: 8px 8px; letter-spacing: 0.01em; }
}
.price-tiers { list-style: none; margin: 0 0 18px; padding: 0; }
.price-tiers li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.price-tiers li:last-child { border-bottom: 1px solid var(--line); }
.tier-who { color: var(--steel); font-size: 0.9rem; font-weight: 600; line-height: 1.3; }
.tier-amount { font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; letter-spacing: -0.03em; color: var(--primary); line-height: 1; white-space: nowrap; }

/* Mobile & tablet: section links become a swipeable bar under the logo row */
@media (max-width: 1140px) {
  .site-header .wrap {
    height: auto;
    grid-template-columns: auto auto;
    grid-template-areas: "brand cta" "nav nav";
    row-gap: 0;
    padding-top: 10px;
  }
  .site-header .wordmark { grid-area: brand; }
  .site-header .wrap > .btn { grid-area: cta; justify-self: end; }
  nav.primary-nav {
    display: flex;
    grid-area: nav;
    justify-content: flex-start;
    gap: 6px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 20px;
    scrollbar-width: none;
    margin: 8px -32px 0;
    padding: 10px 32px;
    border-top: 1px solid var(--line);
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 28px), transparent 100%);
    mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 28px), transparent 100%);
  }
  nav.primary-nav::-webkit-scrollbar { display: none; }
  nav.primary-nav a {
    flex: 0 0 auto;
    scroll-snap-align: start;
    font-size: 0.74rem;
    padding: 8px 14px;
    background: #fff;
    border: 1px solid var(--line);
  }
  nav.primary-nav a[aria-current="page"] { border-color: var(--primary); }
}
@media (max-width: 420px) {
  nav.primary-nav { margin-left: -20px; margin-right: -20px; padding-left: 20px; padding-right: 20px; scroll-padding-inline: 20px; }
}
