/* ==========================================================
   Pavi & Arul | Growth Mentors
   Clean white layout. Blue is used only for accents and buttons.
   All colours live in the :root tokens below.
   ========================================================== */

:root {
  --blue: #173090;          /* brand blue: buttons, headings accents */
  --blue-hover: #10236E;
  --blue-soft: #EEF1FA;     /* light blue backgrounds (badges, avatars) */
  --blue-line: #C9D2EE;
  --marigold: #F4A71D;      /* brand gold: shapes, lines, highlights (never small text on white) */
  --gold-soft: #FFF4DE;     /* light gold backgrounds */
  --gold-line: #F6D08A;     /* gold borders */
  --gold-text: #7A4B00;     /* readable gold-brown text on light gold */

  --bg: #FFFFFF;
  --tint: #F7F8FC;          /* very light grey-blue for alternate sections */
  --surface: #FFFFFF;
  --text: #14182B;
  --muted: #5A6074;
  --border: #E4E7EF;
  --shadow: 0 1px 2px rgba(20, 24, 43, .04), 0 6px 20px rgba(20, 24, 43, .06);

  --radius: 14px;
  --font-head: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}
h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
}
h2 { font-size: clamp(1.6rem, 5vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--blue); }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: 64px; }   /* keep headings clear of the sticky header */

.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.container.narrow { max-width: 760px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }

.muted { color: var(--muted); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--surface); color: var(--text); border: 1px solid var(--border);
  padding: 10px 14px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  border-radius: 10px; border: 1.5px solid transparent;
  font: 700 1rem/1 var(--font-body);
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); }
.btn-ghost { background: #fff; color: var(--blue); border-color: var(--blue-line); }
.btn-ghost:hover { border-color: var(--blue); background: var(--blue-soft); }
.btn[aria-disabled="true"] { opacity: .7; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-top: 3px solid var(--marigold);
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 800 1.1rem var(--font-head); }
.brand-mark { width: 30px; height: 30px; }
.brand-mark rect { fill: var(--blue); }
.brand-mark path { fill: none; stroke: var(--marigold); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.site-header nav { display: none; gap: 24px; }
.site-header nav a { color: var(--muted); text-decoration: none; font-weight: 600; }
.site-header nav a:hover { color: var(--blue); }
@media (min-width: 720px) { .site-header nav { display: flex; } }

/* ---------- Hero ---------- */
.hero { background: var(--bg); padding: 40px 0 0; overflow: hidden; border-bottom: 1px solid var(--border); }
.hero-inner { display: grid; gap: 24px; align-items: end; }
.eyebrow {
  display: inline-block;
  font: 700 .82rem var(--font-body); letter-spacing: .06em; text-transform: uppercase;
  color: var(--blue); background: var(--blue-soft);
  padding: 6px 12px; border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2.1rem, 8vw, 3.5rem); font-weight: 800; max-width: 16ch; color: var(--text); }
.hero h1 .accent {
  color: var(--blue);
  background: linear-gradient(transparent 68%, var(--gold-line) 68%, var(--gold-line) 92%, transparent 92%);
  padding: 0 2px;
}
.eyebrow::before {
  content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px;
  border-radius: 50%; background: var(--marigold); vertical-align: 1px;
}
.hero {
  background:
    radial-gradient(600px 300px at 100% 100%, rgba(244, 167, 29, .10), transparent 70%),
    radial-gradient(500px 260px at 0% 0%, rgba(23, 48, 144, .05), transparent 70%),
    var(--bg);
}
.lead { color: var(--muted); font-size: 1.125rem; max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 8px; }

.stairs { width: 78%; max-width: 400px; height: auto; justify-self: end; margin-top: 8px; display: block; }
@media (min-width: 860px) { .stairs { width: 100%; } }
.stairs .s1 { fill: #D6DDF4; }
.stairs .s2 { fill: #A9B7E6; }
.stairs .s3 { fill: var(--marigold); }
.stairs .s4 { fill: var(--blue); }
.stairs .step-labels text { font: 700 13px var(--font-body); fill: #24306A; text-anchor: middle; }
.stairs .step-labels text:nth-child(4) { fill: #fff; }
.stairs .climber { fill: var(--marigold); stroke: #fff; stroke-width: 3; }
/* Without animation the ball rests on the top step */
.stairs .climber { transform: translate(240px, -150px); }

@media (min-width: 860px) {
  .hero { padding-top: 72px; }
  .hero-inner { grid-template-columns: 1.15fr 1fr; gap: 40px; }
  .hero-copy { padding-bottom: 72px; }
}

@media (prefers-reduced-motion: no-preference) {
  .stairs .step { transform-box: fill-box; transform-origin: bottom; animation: rise .6s cubic-bezier(.2, .8, .2, 1) both; }
  .stairs .s2 { animation-delay: .1s; }
  .stairs .s3 { animation-delay: .2s; }
  .stairs .s4 { animation-delay: .3s; }
  @keyframes rise { from { transform: scaleY(0); } to { transform: scaleY(1); } }

  /* The ball hops up the staircase: Resume → HR round → Tech round → Offer,
     rests at the top, fades, and starts again. */
  .stairs .climber { animation: climb 7s 1s infinite both; }
  @keyframes climb {
    0%   { transform: translate(0, 0); opacity: 0; }
    5%   { transform: translate(0, 0); opacity: 1; animation-timing-function: cubic-bezier(.2, .6, .4, 1); }
    12%  { transform: translate(40px, -84px);   animation-timing-function: cubic-bezier(.6, 0, .8, .4); }
    19%  { transform: translate(80px, -50px); }
    22%  { transform: translate(80px, -50px);   animation-timing-function: cubic-bezier(.2, .6, .4, 1); }
    29%  { transform: translate(120px, -134px); animation-timing-function: cubic-bezier(.6, 0, .8, .4); }
    36%  { transform: translate(160px, -100px); }
    39%  { transform: translate(160px, -100px); animation-timing-function: cubic-bezier(.2, .6, .4, 1); }
    46%  { transform: translate(200px, -184px); animation-timing-function: cubic-bezier(.6, 0, .8, .4); }
    53%  { transform: translate(240px, -150px); opacity: 1; }
    82%  { transform: translate(240px, -150px); opacity: 1; }
    90%  { transform: translate(240px, -150px); opacity: 0; }
    100% { transform: translate(0, 0); opacity: 0; }
  }
  /* A gold ring pulses on the "Offer" step when the ball lands */
  .stairs .landing { animation: land 7s 1s infinite both; transform-box: fill-box; transform-origin: center; }
  @keyframes land {
    0%, 52%  { opacity: 0; transform: scale(.4); }
    55%      { opacity: .9; transform: scale(1); }
    70%, 100% { opacity: 0; transform: scale(1.8); }
  }
}

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section-tint { background: var(--tint); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-intro { color: var(--muted); margin-top: -4px; }
.free { color: var(--blue); }
@media (min-width: 860px) { .section { padding: 80px 0; } }

/* ---------- Mentors ---------- */
.mentors { display: grid; gap: 16px; margin-top: 24px; }
@media (min-width: 720px) { .mentors { grid-template-columns: 1fr 1fr; gap: 24px; } }
.mentor {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
}
.mentor-head { display: flex; gap: 16px; align-items: center; }
.bio { margin: 0; color: var(--muted); }
.ask-label { margin: 4px 0 -6px; font-size: .85rem; font-weight: 700; color: var(--text); }
.topics { list-style: none; padding: 0; margin: 2px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.topics li {
  font-size: .88rem; font-weight: 600; color: var(--blue);
  background: var(--blue-soft); border: 1px solid var(--blue-line);
  padding: 4px 10px; border-radius: 999px;
}
.mentor h3 { margin: 0; font-size: clamp(1.25rem, 4.5vw, 1.5rem); }
.mind {
  margin: 0 0 4px;
  font: 700 .82rem var(--font-body); letter-spacing: .06em; text-transform: uppercase;
  color: var(--blue);
}
.avatar {
  flex: none; width: 68px; height: 68px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--blue-soft) center / cover no-repeat;
  color: var(--blue); font: 800 1.7rem var(--font-head);
  border: 1px solid var(--blue-line);
}
.avatar.has-photo { border: 2px solid #fff; box-shadow: 0 0 0 1px var(--blue-line); }

/* ---------- Workshop gallery ---------- */
.gallery { display: grid; gap: 16px; margin-top: 24px; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery figure {
  margin: 0; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
}
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { padding: 10px 14px; font-weight: 600; color: var(--muted); font-size: .95rem; }

/* ---------- Sessions ---------- */
.session-grid { display: grid; gap: 18px; margin-top: 24px; }
@media (min-width: 900px) { .session-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.session {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
  box-shadow: var(--shadow);
}
.session.featured { border: 1.5px solid var(--blue); }
.badge {
  position: absolute; top: -12px; left: 20px;
  background: var(--blue); color: #fff;
  font: 700 .75rem var(--font-body); letter-spacing: .04em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
.session-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: .95rem; margin-bottom: 12px; }
.session-meta strong { color: var(--text); font-weight: 600; }
.session p.desc { flex: 1; color: var(--muted); }
.session .btn { width: 100%; }
.session .btn-book { background: #fff; color: var(--blue); border-color: var(--blue); }
.session .btn-book:hover { background: var(--blue-soft); }
.session.featured .btn-book { background: var(--blue); color: #fff; }
.session.featured .btn-book:hover { background: var(--blue-hover); }
.inline-note { font-size: .9rem; color: var(--muted); margin: 10px 0 0; min-height: 1.4em; }
.inline-note:empty { display: none; }
@media (min-width: 640px) and (max-width: 899px) { .session-grid { grid-template-columns: repeat(2, 1fr); } }
.price { font: 800 1.9rem var(--font-head); margin: 0 0 14px; color: var(--text); }
.price-free {
  display: inline-block; font-size: 1.15rem; letter-spacing: .04em; text-transform: uppercase;
  color: #0B6B3A; background: #E6F5EC; border: 1px solid #B7E0C6;
  padding: 4px 12px; border-radius: 999px;
}
.heading-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: .5em; }
.heading-row h2 { margin: 0; }
.launch-badge {
  font: 700 .75rem var(--font-body); letter-spacing: .06em; text-transform: uppercase;
  color: #7A4B00; background: #FFF4DE; border: 1px solid #F6D08A;
  padding: 4px 10px; border-radius: 999px;
}
.trust-line {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: 24px 0 0; color: var(--muted); font-size: .95rem; text-align: center;
}
.trust-line svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; }

/* ---------- Who this is for ---------- */
.audience { display: grid; gap: 24px; }
@media (min-width: 860px) { .audience { grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; } }
.checklist { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.checklist li { position: relative; padding-left: 38px; font-size: 1.1rem; font-weight: 600; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 1px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23173090' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 15px no-repeat;
  border: 1px solid var(--blue-line);
}
.not-us {
  background: var(--surface); border: 1px dashed var(--blue-line); border-radius: var(--radius);
  padding: 20px;
}
@media (min-width: 860px) { .not-us { margin-top: 58px; } }
.not-us h3 { font-size: 1.05rem; color: var(--muted); margin-bottom: 8px; }
.not-us p { margin: 0; color: var(--muted); }

/* ---------- Free resources ---------- */
.resource-grid { display: grid; gap: 16px; margin-top: 24px; }
@media (min-width: 760px) { .resource-grid { grid-template-columns: repeat(3, 1fr); } }
.resource {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px;
}
.resource-icon {
  width: 40px; height: 40px; padding: 8px; margin-bottom: 14px;
  border-radius: 10px; background: var(--blue-soft);
  fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.resource h3 { margin-bottom: 6px; }
.resource p { color: var(--muted); flex: 1; }
.resource .btn { width: 100%; }
.resource .inline-note { flex: none; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; counter-reset: step; }
.steps li {
  counter-increment: step;
  position: relative;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 18px 18px 72px;
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 18px; top: 18px;
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--blue-soft); color: var(--blue);
  font: 800 1.15rem var(--font-head);
  border: 1px solid var(--blue-line);
}
.steps h3 { margin-bottom: 4px; }
.steps p { margin: 0; color: var(--muted); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); align-items: end; }
  .steps li { padding: 70px 18px 20px; }
  /* staircase: each step sits a little higher */
  .steps li:nth-child(1) { margin-top: 60px; }
  .steps li:nth-child(2) { margin-top: 40px; }
  .steps li:nth-child(3) { margin-top: 20px; }
}

/* ---------- FAQ ---------- */
details { border-bottom: 1px solid var(--border); }
details:first-of-type { border-top: 1px solid var(--border); margin-top: 20px; }
summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 2px;
  font: 700 1.1rem var(--font-head);
}
summary:hover { color: var(--blue); }
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; flex: none; width: 10px; height: 10px;
  border-right: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue);
  transform: rotate(45deg) translateY(-3px);
  transition: transform .2s ease;
}
details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
details p { padding: 0 2px 18px; margin: 0; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--tint); border-top: 1px solid var(--border); padding: 36px 0; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; }
.footer-brand { font: 800 1.15rem var(--font-head); margin: 0 0 4px; }
.footer-tag { color: var(--muted); margin: 0; }
.insta { display: inline-flex; align-items: center; gap: 10px; color: var(--blue); font-weight: 700; text-decoration: none; padding: 8px 0; }
.insta:hover span { text-decoration: underline; }
.insta svg { width: 24px; height: 24px; fill: none; stroke: var(--blue); stroke-width: 2; }
.insta svg .dot { fill: var(--blue); stroke: none; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 20px; z-index: 200;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--text); color: #fff;
  padding: 12px 18px; border-radius: 10px; font-weight: 600;
  max-width: calc(100% - 32px); text-align: center;
  transition: opacity .2s ease, transform .2s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ==========================================================
   Gold accents (brand blue + gold)
   ========================================================== */

/* Short gold bar above every section heading */
.section h2::before {
  content: ""; display: block;
  width: 44px; height: 4px; border-radius: 4px;
  background: var(--marigold);
  margin-bottom: 14px;
}
.heading-row { align-items: flex-end; }

/* Mentor cards: gold top edge, blue avatar with gold ring */
.mentor { border-top: 4px solid var(--marigold); }
.avatar {
  background-color: var(--blue); color: #fff; border: none;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--marigold);
}
.avatar.has-photo { border: none; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--marigold); }

/* Checklist: gold ticks */
.checklist li::before {
  background-color: var(--marigold);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23173090' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E");
  border-color: var(--marigold);
}
.not-us { border: 1px solid var(--border); border-left: 4px solid var(--marigold); }

/* Sessions: featured card in gold, prices in blue */
.session.featured { border: 2px solid var(--marigold); box-shadow: 0 8px 28px rgba(244, 167, 29, .18); }
.session.featured .badge { background: var(--marigold); color: #2A1C00; }
.session.featured .btn-book { background: var(--blue); }
.price { color: var(--blue); }
.trust-line svg { stroke: var(--marigold); }

/* Free resources: gold icon tiles */
.resource-icon { background: var(--gold-soft); stroke: var(--gold-text); }
.resource { border-top: 4px solid var(--blue); }

/* Steps: blue numbers with a gold step underneath */
.steps li::before {
  background: var(--blue); color: #fff; border: none;
  box-shadow: 0 4px 0 var(--marigold);
}

/* FAQ: gold chevrons, open question turns blue */
summary::after { border-color: var(--marigold); }
details[open] summary { color: var(--blue); }

/* Footer: gold line on top */
.site-footer { border-top: 3px solid var(--marigold); }
.insta svg .dot { fill: var(--marigold); }

/* Buttons: gold focus ring on blue buttons */
.btn-primary:focus-visible, .btn-book:focus-visible { outline-color: var(--marigold); }

/* ==========================================================
   Stats band, gallery layout, testimonials
   ========================================================== */

/* Pulsing gold dot in the hero tag */
.eyebrow::before { content: none; }
.ping {
  position: relative; display: inline-block;
  width: 8px; height: 8px; margin-right: 9px; vertical-align: 1px;
  border-radius: 50%; background: var(--marigold);
}
.ping::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--marigold); opacity: .7;
  animation: ping 1.8s cubic-bezier(0, 0, .2, 1) infinite;
}
@keyframes ping { 75%, 100% { transform: scale(2.6); opacity: 0; } }

/* Stats band under the hero */
.stats-band { padding: 26px 0; border-bottom: 1px solid var(--border); background: var(--bg); }
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); row-gap: 10px; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: center; padding: 8px; }
@media (min-width: 760px) { .stat + .stat { border-left: 1px solid var(--border); } }
.stat-num { margin: 0; font: 800 clamp(1.9rem, 6vw, 2.5rem)/1.1 var(--font-head); color: var(--blue); font-variant-numeric: tabular-nums; }
.stat-suffix { color: #C27C00; }
.stat-label { margin: 4px 0 0; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* Section separators between white sections */
.section + .section:not(.section-tint) { border-top: 1px solid var(--border); }

/* Gallery: first photo large, gentle zoom on hover */
.gallery-img { overflow: hidden; aspect-ratio: 4 / 3; background: var(--tint); }
.gallery .gallery-img img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.gallery figure:hover .gallery-img img { transform: scale(1.05); }
.gallery figure { display: flex; flex-direction: column; }
@media (min-width: 640px) and (max-width: 959px) { .gallery figure:first-child { grid-column: span 2; } }
@media (min-width: 960px) {
  .gallery { grid-auto-flow: dense; }
  .gallery figure:first-child { grid-column: span 2; grid-row: span 2; }
  .gallery figure:first-child .gallery-img { flex: 1; aspect-ratio: auto; min-height: 0; }
}

/* Testimonials */
.testimonial-grid { display: grid; gap: 18px; margin-top: 24px; }
@media (min-width: 720px) { .testimonial-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .testimonial-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial {
  position: relative; margin: 0; display: flex; flex-direction: column; gap: 18px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 22px 22px; box-shadow: var(--shadow);
}
.testimonial::before {
  content: "\201C"; position: absolute; top: -6px; left: 18px;
  font: 800 4rem/1 var(--font-head); color: var(--marigold);
}
.testimonial blockquote { margin: 0; flex: 1; }
.testimonial blockquote p { margin: 0; font-size: 1.05rem; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; }
.testimonial strong { display: block; }
.t-detail { display: block; color: var(--muted); font-size: .92rem; }
.t-avatar {
  flex: none; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; background: var(--blue) center / cover no-repeat;
  color: #fff; font: 800 1.05rem var(--font-head);
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--marigold);
}
.testimonial-empty {
  grid-column: 1 / -1;
  display: grid; gap: 16px; align-items: center; justify-items: start;
  background: var(--surface); border: 2px dashed var(--gold-line); border-radius: var(--radius);
  padding: 24px;
}
@media (min-width: 760px) { .testimonial-empty { grid-template-columns: auto 1fr auto; gap: 22px; padding: 28px 32px; } }
.testimonial-empty > svg { width: 44px; height: 44px; fill: var(--marigold); }
.testimonial-empty h3 { margin-bottom: 4px; }
.testimonial-empty p { margin: 0; color: var(--muted); }
.testimonial-empty .inline-note { grid-column: 1 / -1; }

/* ==========================================================
   Motion (only when the visitor hasn't asked for reduced motion)
   ========================================================== */
.site-header { transition: box-shadow .25s ease; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(20, 24, 43, .07); }

/* Cards lift slightly on hover */
.session, .resource, .mentor, .steps li, .testimonial, .gallery figure {
  transition: translate .25s ease, box-shadow .25s ease, border-color .25s ease;
}
@media (hover: hover) {
  .session:hover, .resource:hover, .mentor:hover, .steps li:hover, .testimonial:hover, .gallery figure:hover {
    translate: 0 -4px;
    box-shadow: 0 14px 34px rgba(23, 48, 144, .12);
  }
  .session.featured:hover { box-shadow: 0 16px 38px rgba(244, 167, 29, .28); }
  .btn-primary:hover { translate: 0 -1px; box-shadow: 0 8px 20px rgba(23, 48, 144, .25); }
}
.btn { transition: background-color .15s ease, border-color .15s ease, color .15s ease, translate .15s ease, box-shadow .15s ease; }

/* Scroll reveal (script adds .motion to <html>, so content is never hidden without JS) */
html.motion .reveal {
  opacity: 0; transform: translateY(22px);
  transition:
    opacity .7s ease var(--d, 0ms),
    transform .7s cubic-bezier(.2, .8, .2, 1) var(--d, 0ms),
    translate .25s ease, box-shadow .25s ease, border-color .25s ease;
}
html.motion .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference) {
  /* Hero text comes in line by line */
  .hero-copy > * { animation: fadeUp .7s cubic-bezier(.2, .8, .2, 1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-copy > :nth-child(4) { animation-delay: .24s; }
  @keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

  /* Gold highlighter draws under "both sides" */
  .hero h1 .accent { background-repeat: no-repeat; background-size: 100% 100%; animation: underline .9s .55s cubic-bezier(.2, .8, .2, 1) both; }
  @keyframes underline { from { background-size: 0% 100%; } }
}
