/* Gametize Academy — shared styles. Brand palette only. */
:root {
  --ink: #030D14;
  --ink-2: #0A1A24;
  --teal: #02837C;
  --teal-dark: #016B65;
  --teal-bright: #1BB0AA;
  --mint: #B6F3E8;
  --mint-soft: #E8FBF7;
  --gray: #D9D9D9;
  --gray-soft: #F2F4F4;
  --white: #FFFFFF;
  --text: #030D14;
  --text-2: #36434C;
  --text-3: #5A6770;
  --line: #E3E8E8;
  --radius: 20px;
  --shadow: 0 12px 32px rgba(3, 13, 20, .08);
  --shadow-lg: 0 28px 64px rgba(3, 13, 20, .16);
  --font: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--white); font-size: 18px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -0.015em; font-weight: 700; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; }
.section-sm { padding: 70px 0; }
.center { text-align: center; }
.bg-gray { background: var(--gray-soft); }
.bg-ink { background: var(--ink); color: var(--white); }
.bg-teal { background: var(--teal-bright); color: var(--white); }

.kicker { display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.bg-ink .kicker, .on-dark .kicker { color: var(--mint); }
.bg-teal .kicker { color: var(--ink); }
.h1 { font-size: clamp(40px, 5.6vw, 72px); }
.h2 { font-size: clamp(30px, 3.8vw, 50px); margin-bottom: 18px; }
.h3 { font-size: clamp(22px, 2.2vw, 28px); margin-bottom: 12px; }
.lead { font-size: 21px; color: var(--text-2); max-width: 680px; }
.center .lead { margin-left: auto; margin-right: auto; }
.bg-ink .lead, .on-dark .lead { color: #C3CDD3; }
.bg-teal .lead { color: var(--ink); }
.muted { color: var(--text-2); }

/* Buttons — pill buttons like the original brand */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 30px; border-radius: 999px; font-weight: 700; font-size: 18px; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, transform .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(4px); }
.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: var(--teal-dark); box-shadow: 0 10px 24px rgba(2,131,124,.3); }
.btn-mint { background: var(--mint); color: var(--ink); }
.btn-mint:hover { background: var(--white); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--ink-2); }
.btn-line { border-color: var(--teal); color: var(--teal); }
.btn-line:hover { background: var(--teal); color: var(--white); }
.btn-line-light { border-color: var(--mint); color: var(--mint); }
.btn-line-light:hover { background: var(--mint); color: var(--ink); }
.btn-sm { padding: 10px 20px; font-size: 16px; }
.btn-block { width: 100%; }

.tag { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .04em; background: var(--mint); color: var(--ink); }
.tag-ink { background: var(--ink); color: var(--mint); }
.tag-line { background: transparent; border: 1.5px solid currentColor; }

/* Check list (CSS-drawn ticks, no icons) */
.ticks { list-style: none; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 34px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--teal); }
.ticks li::after { content: ""; position: absolute; left: 7px; top: 7px; width: 5px; height: 9px; border: solid var(--white); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.bg-ink .ticks li::before, .on-dark .ticks li::before { background: var(--teal-bright); }

/* Draft placeholders — dashed brand teal */
.ph { outline: 2px dashed var(--teal-bright); outline-offset: 4px; border-radius: 8px; }
.ph-note { display: inline-block; font-size: 13px; font-weight: 700; color: var(--teal); letter-spacing: .02em; }
.draft-banner { position: fixed; left: 16px; bottom: 16px; z-index: 50; background: var(--ink); color: var(--white); font-size: 14px; padding: 10px 14px; border-radius: 12px; box-shadow: var(--shadow-lg); display: flex; gap: 12px; align-items: center; max-width: calc(100% - 32px); }
.draft-banner b { color: var(--mint); }
.draft-banner button { background: none; border: 0; color: #8A98A1; cursor: pointer; font-size: 20px; line-height: 1; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--white); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(3,13,20,.06); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; }
.nav-logo img { height: 50px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 34px; list-style: none; font-size: 17px; font-weight: 500; }
.nav-menu > li { position: relative; }
.nav-menu > li > a { padding: 28px 0; display: inline-block; position: relative; }
.nav-menu > li > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 20px; height: 2px; background: var(--teal); transform: scaleX(0); transition: transform .2s; }
.nav-menu > li:hover > a::after { transform: scaleX(1); }
.caret { display: inline-block; width: 7px; height: 7px; border: solid var(--text-3); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); margin: 0 0 3px 8px; }
.mega { position: absolute; top: 100%; left: -260px; width: 760px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 14px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .18s ease; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega a { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; padding: 10px; border-radius: 14px; }
.mega a:hover { background: var(--mint-soft); }
.mega img { width: 96px; height: 72px; object-fit: cover; border-radius: 10px; }
.mega strong { display: block; font-size: 17px; }
.mega small { display: block; color: var(--text-3); font-size: 14px; line-height: 1.4; margin-top: 2px; }
.nav-cta { display: flex; gap: 10px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { position: absolute; left: 9px; width: 22px; height: 2px; background: var(--ink); content: ""; }
.nav-toggle span { top: 19px; } .nav-toggle span::before { top: -7px; left: 0; } .nav-toggle span::after { top: 7px; left: 0; }
.mobile-only { display: none; }

/* Photo hero */
.photo-hero { position: relative; color: var(--white); background: var(--ink); overflow: hidden; }
.photo-hero .bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.06); animation: slowzoom 18s ease-out forwards; }
@keyframes slowzoom { to { transform: scale(1); } }
.photo-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,13,20,.94) 0%, rgba(3,13,20,.78) 42%, rgba(3,13,20,.25) 100%); }
.photo-hero .wrap { position: relative; z-index: 1; padding-top: 130px; padding-bottom: 130px; }
.photo-hero h1 { max-width: 760px; margin-bottom: 22px; }
.photo-hero h1 em { font-style: normal; color: var(--teal-bright); }
.photo-hero .lead { color: #D3DCE0; margin-bottom: 36px; max-width: 620px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-facts { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 56px; max-width: 760px; }
.hero-facts b { display: block; font-size: 26px; color: var(--mint); }
.hero-facts span { font-size: 16px; color: #B5C1C7; }

/* Split: image + text */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split.flip > :first-child { order: 2; }
.frame { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.frame:hover img { transform: scale(1.04); }
.frame-tall { aspect-ratio: 4 / 5; }
.frame-wide { aspect-ratio: 4 / 3; }
.frame-badge { position: absolute; left: 20px; bottom: 20px; background: var(--white); color: var(--ink); border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow); max-width: 260px; }
.frame-badge b { display: block; font-size: 24px; color: var(--teal); line-height: 1.1; }
.frame-badge span { font-size: 14px; color: var(--text-2); }

/* Moving photo strip */
.strip { overflow: hidden; background: var(--ink); padding: 18px 0; }
.strip-track { display: flex; gap: 18px; width: max-content; animation: marquee 50s linear infinite; }
.strip:hover .strip-track { animation-play-state: paused; }
.strip img { height: 240px; width: 340px; object-fit: cover; border-radius: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Who-is-this-for band */
.who { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 50px; border-top: 1px solid rgba(3,13,20,.2); }
.who div { padding: 26px 20px 0 0; }
.who b { display: block; font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--ink); opacity: .7; }
.who span { font-size: 20px; font-weight: 700; line-height: 1.25; color: var(--white); }

/* Photo cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.pcard { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pcard .img { aspect-ratio: 16 / 10; overflow: hidden; }
.pcard .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.pcard:hover .img img { transform: scale(1.06); }
.pcard .body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.pcard .num { font-size: 14px; font-weight: 700; color: var(--teal); letter-spacing: .1em; margin-bottom: 8px; }
.pcard h3 { font-size: 21px; margin-bottom: 10px; }
.pcard p { color: var(--text-2); font-size: 17px; flex: 1; }
.pcard .ticks { margin-top: 14px; font-size: 17px; color: var(--text-2); gap: 8px; }
.pcard .btn { margin-top: 22px; align-self: flex-start; }

/* Numbered rows */
.rows { display: grid; gap: 0; border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 90px 1fr 1.4fr; gap: 30px; padding: 34px 0; border-bottom: 1px solid var(--line); align-items: start; }
.row .n { font-size: 40px; font-weight: 700; color: var(--teal-bright); line-height: 1; }
.row h3 { font-size: 22px; }
.row p, .row ul { color: var(--text-2); }
.bg-ink .rows, .bg-ink .row { border-color: rgba(255,255,255,.12); }
.bg-ink .row p, .bg-ink .row ul { color: #C3CDD3; }

/* Quote band */
.quote-band { position: relative; color: var(--white); background: var(--ink); overflow: hidden; }
.quote-band .bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .28; }
.quote-band .wrap { position: relative; padding: 120px 24px; max-width: 980px; text-align: center; }
.quote-band blockquote { font-size: clamp(22px, 2.6vw, 32px); line-height: 1.45; font-weight: 500; }
.quote-band blockquote::before { content: "\201C"; display: block; font-size: 90px; line-height: .6; color: var(--teal-bright); margin-bottom: 18px; }
.quote-band cite { display: block; margin-top: 28px; font-style: normal; font-weight: 700; color: var(--mint); }
.quote-band cite span { display: block; font-weight: 400; color: #B5C1C7; font-size: 17px; }
.qdots { display: flex; gap: 8px; justify-content: center; margin-top: 30px; }
.qdots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.3); cursor: pointer; }
.qdots button.on { background: var(--teal-bright); width: 28px; border-radius: 99px; }

/* Facilitators */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.person { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.person img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; background: var(--mint-soft); }
.person div { padding: 24px 26px 28px; }
.person small { color: var(--teal); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.person h3 { font-size: 24px; margin: 4px 0 10px; }
.person p { color: var(--text-2); font-size: 17px; }
.person a.more { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--teal); font-size: 16px; }
.person a.more:hover { text-decoration: underline; }

/* Credentials row */
.creds { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.cred { display: flex; gap: 14px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 12px 18px; }
.cred img { height: 40px; width: auto; }
.cred strong { display: block; font-size: 17px; }
.cred span { font-size: 14px; color: var(--text-3); }

/* CTA band with photo */
.cta-photo { position: relative; overflow: hidden; border-radius: 28px; color: var(--white); background: var(--ink); }
.cta-photo .bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.cta-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2,131,124,.96) 0%, rgba(2,131,124,.85) 45%, rgba(2,131,124,.2) 100%); }
.cta-photo .in { position: relative; z-index: 1; padding: 80px 64px; max-width: 640px; }
.cta-photo h2 { font-size: clamp(28px, 3.4vw, 44px); margin-bottom: 16px; }
.cta-photo p { color: #E2F7F4; font-size: 20px; margin-bottom: 30px; }

/* Forms */
.form-card { background: var(--white); color: var(--ink); border-radius: 24px; padding: 36px; box-shadow: var(--shadow-lg); }
.form-card h3 { font-size: 24px; margin-bottom: 6px; }
.form-card > p { color: var(--text-2); margin-bottom: 22px; font-size: 17px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 14px; font-weight: 700; color: var(--text-2); }
.field input, .field select, .field textarea { padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--white); width: 100%; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-bright); box-shadow: 0 0 0 4px rgba(27,176,170,.15); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-note { font-size: 13px; color: var(--text-3); margin-top: 12px; }
.form-done { display: none; text-align: center; padding: 30px 6px; }
.form-done .ring { width: 72px; height: 72px; border-radius: 50%; background: var(--mint); margin: 0 auto 18px; position: relative; }
.form-done .ring::after { content: ""; position: absolute; left: 28px; top: 18px; width: 14px; height: 26px; border: solid var(--teal); border-width: 0 4px 4px 0; transform: rotate(45deg); }
.form-done h3 { font-size: 24px; margin-bottom: 8px; }

/* Subscribe band */
.subscribe { background: var(--teal-bright); padding: 80px 0; }
.sub-box { max-width: 920px; margin: 0 auto; background: var(--white); border-radius: 28px; padding: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.sub-box h2 { font-size: 30px; }
.sub-box h2 span { color: var(--teal-bright); }
.sub-box p { color: var(--text-2); margin-top: 8px; }
.sub-form { display: grid; gap: 10px; }
.sub-form input { padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 999px; }
.sub-form input:focus { outline: none; border-color: var(--teal-bright); }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px; }
.faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 10px; height: 10px; border: solid var(--teal); border-width: 0 2px 2px 0; transform: rotate(45deg); flex: none; margin-top: 4px; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 9px; }
.faq p { color: var(--text-2); margin-top: 12px; }

/* Footer */
.site-footer { background: var(--ink); color: #A9B6BE; padding: 80px 0 36px; font-size: 17px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid h4 { color: var(--white); font-size: 17px; margin-bottom: 16px; }
.foot-grid ul { list-style: none; display: grid; gap: 10px; }
.foot-grid a:hover { color: var(--mint); }
.foot-brand img { height: 54px; width: auto; margin-bottom: 18px; }
.foot-brand p { max-width: 330px; }
.apps { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.apps img { height: 40px; width: auto; }
.socials { display: flex; gap: 14px; margin-top: 20px; font-size: 16px; font-weight: 700; }
.socials a { color: var(--white); border-bottom: 1px solid rgba(255,255,255,.25); padding-bottom: 2px; }
.socials a:hover { color: var(--mint); border-color: var(--mint); }
.foot-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 14px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; } .reveal-d2 { transition-delay: .2s; } .reveal-d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .strip-track, .photo-hero .bg { animation: none; }
  * { scroll-behavior: auto !important; }
}

@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .nav-menu, .nav-cta { display: none; }
  .site-header.open .nav-menu { display: flex; position: absolute; top: 78px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px 24px 20px; box-shadow: var(--shadow); max-height: calc(100vh - 78px); overflow: auto; }
  .site-header.open .nav-menu > li > a { padding: 12px 0; }
  .site-header.open .nav-menu > li > a::after { display: none; }
  .site-header.open .mega { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0; width: auto; grid-template-columns: 1fr; }
  .site-header.open .mega a { grid-template-columns: 64px 1fr; }
  .site-header.open .mega img { width: 64px; height: 48px; }
  .site-header.open .mobile-only { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; margin-top: 8px; border-top: 1px solid var(--line); }
  .site-header.open .nav-menu .mobile-only .btn { display: flex; justify-content: center; width: 100%; padding: 15px 24px; font-size: 18px; }
  .split, .sub-box { grid-template-columns: 1fr; gap: 44px; }
  .split.flip > :first-child { order: 0; }
  .cards, .cards-4 { grid-template-columns: 1fr 1fr; }
  .people { grid-template-columns: 1fr 1fr; }
  .who { grid-template-columns: 1fr 1fr; }
  .row { grid-template-columns: 60px 1fr; }
  .row > :last-child { grid-column: 2; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 80px 0; }
  .cta-photo .in { padding: 56px 32px; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 16px; }
  .cards, .cards-2, .cards-4, .people, .who { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .photo-hero .wrap { padding-top: 84px; padding-bottom: 84px; }
  .photo-hero::after { background: linear-gradient(180deg, rgba(3,13,20,.86), rgba(3,13,20,.92)); }
  .hero-facts { gap: 24px; }
  .strip img { height: 170px; width: 240px; }
  .form-card, .sub-box { padding: 26px 20px; }
  .row { grid-template-columns: 1fr; gap: 10px; }
  .row > :last-child { grid-column: 1; }
}

/* Certificates + accreditation logos */
.certs { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; max-width: 1040px; margin: 0 auto; }
.certs figure { background: var(--white); border-radius: 16px; padding: 14px; box-shadow: var(--shadow-lg); transition: transform .3s; }
.certs figure:hover { transform: translateY(-6px) rotate(-.5deg); }
.certs img { width: 100%; border-radius: 8px; }
.certs figcaption { text-align: center; font-size: 16px; font-weight: 700; color: var(--text-2); margin-top: 12px; }
.accred-logos { max-width: 640px; margin: 50px auto 0; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 24px 28px; text-align: center; }
.accred-logos .logos { display: flex; justify-content: center; align-items: center; gap: 40px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 14px; flex-wrap: wrap; }
.accred-logos img { height: 44px; width: auto; }
.accred-logos p { font-size: 17px; font-weight: 600; }
@media (max-width: 620px) { .certs { grid-template-columns: 1fr; } .accred-logos .logos { gap: 22px; } }

/* Blog */
.blog-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.blog-filters button { border: 1.5px solid var(--line); background: var(--white); border-radius: 999px; padding: 9px 18px; font-weight: 700; font-size: 16px; cursor: pointer; }
.blog-filters button.on, .blog-filters button:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.post-feature { display: grid; grid-template-columns: 1.2fr 1fr; border-radius: var(--radius); overflow: hidden; background: var(--ink); color: var(--white); margin-bottom: 40px; transition: transform .25s, box-shadow .25s; }
.post-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-feature .img { min-height: 360px; }
.post-feature img { width: 100%; height: 100%; object-fit: cover; }
.post-feature .body { padding: 44px; display: flex; flex-direction: column; justify-content: center; }
.post-feature h2 { font-size: clamp(26px, 2.6vw, 36px); margin: 10px 0 14px; }
.post-feature p { color: #C3CDD3; margin-bottom: 20px; }
.post-meta { font-size: 14px; color: var(--text-3); font-weight: 600; }
.post-feature .post-meta { color: #8FA0AA; }
.post-cat { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.post-feature .post-cat { color: var(--mint); }
.pcard .post-meta { margin-top: 16px; }

.article-hero { background: var(--ink); color: var(--white); padding: 80px 0 0; }
.article-hero .wrap { max-width: 900px; }
.article-hero .crumbs { font-size: 16px; color: #8FA0AA; margin-bottom: 18px; }
.article-hero .crumbs a:hover { color: var(--mint); }
.article-hero h1 { font-size: clamp(34px, 4.6vw, 54px); margin: 12px 0 18px; }
.article-hero .dek { font-size: 20px; color: #C3CDD3; margin-bottom: 22px; }
.article-hero .post-meta { color: #8FA0AA; margin-bottom: 40px; }
.article-cover { max-width: 1100px; margin: 0 auto; padding: 0 24px; transform: translateY(0); }
.article-cover img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; display: block; }
.article-wrap { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: 60px; justify-content: center; padding: 70px 24px 90px; }
.toc { position: sticky; top: 110px; align-self: start; font-size: 16px; }
.toc b { display: block; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.toc a { display: block; padding: 6px 0 6px 12px; border-left: 2px solid var(--line); color: var(--text-2); }
.toc a:hover, .toc a.on { border-color: var(--teal); color: var(--teal); }
.prose { font-size: 20px; line-height: 1.75; color: #1F2D36; }
.prose > * + * { margin-top: 22px; }
.prose h2 { font-size: 30px; margin-top: 52px; color: var(--ink); scroll-margin-top: 100px; }
.prose h3 { font-size: 22px; margin-top: 34px; color: var(--ink); }
.prose ul, .prose ol { padding-left: 24px; }
.prose li + li { margin-top: 10px; }
.prose a { color: var(--teal); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { border-left: 4px solid var(--teal-bright); padding: 6px 0 6px 22px; font-size: 21px; font-weight: 500; color: var(--ink); }
.prose .callout { background: var(--mint-soft); border-radius: 16px; padding: 24px 26px; font-size: 18px; }
.prose .callout b { display: block; color: var(--teal-dark); margin-bottom: 6px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 18px; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--gray-soft); }
.inline-cta { background: var(--ink); color: var(--white); border-radius: var(--radius); padding: 30px 32px; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
.inline-cta h3 { color: var(--white); font-size: 22px; margin: 0 0 4px; }
.inline-cta p { color: #C3CDD3; font-size: 18px; margin: 0; }
.share { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 16px; font-weight: 700; }
.share a { color: var(--teal); }
.author-box { display: flex; gap: 16px; align-items: center; margin-top: 30px; background: var(--gray-soft); border-radius: 16px; padding: 20px; }
.author-box img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--white); }
.author-box p { font-size: 17px; color: var(--text-2); margin: 0; }
@media (max-width: 1000px) {
  .post-feature { grid-template-columns: 1fr; }
  .post-feature .img { min-height: 240px; }
  .article-wrap { grid-template-columns: 1fr; }
  .toc { display: none; }
  .inline-cta { grid-template-columns: 1fr; }
}

/* Price tables */
.ptable-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
.ptable { width: 100%; border-collapse: collapse; font-size: 17px; min-width: 720px; }
.ptable th, .ptable td { text-align: left; padding: 18px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ptable thead th { background: var(--ink); color: var(--white); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.ptable tbody tr:last-child td { border-bottom: 0; }
.ptable td b { display: block; font-size: 18px; }
.ptable .amt { font-size: 22px; font-weight: 700; color: var(--teal); white-space: nowrap; }
.ptable .ticks { gap: 6px; font-size: 16px; color: var(--text-2); }
.ptable .ticks li { padding-left: 28px; }
.ptable .ticks li::before { width: 16px; height: 16px; top: 4px; }
.ptable .ticks li::after { left: 5px; top: 7px; width: 4px; height: 7px; }
.note-list { list-style: none; display: grid; gap: 8px; font-size: 16px; color: var(--text-2); margin-top: 20px; }
.plan .was { font-size: 16px; color: var(--text-3); text-decoration: line-through; margin-left: 6px; font-weight: 400; }

/* Logo chip inside dark hero facts */
.hero-facts .logo-chip { display: inline-flex; align-items: center; background: var(--white); border-radius: 10px; padding: 8px 14px; margin-bottom: 8px; }
.hero-facts .logo-chip img { height: 30px; width: auto; display: block; }

/* Form error message */
.form-error { color: #B42318; font-size: 16px; font-weight: 600; margin-top: 10px; min-height: 0; }
.form-error:empty { display: none; }
button[disabled] { opacity: .6; cursor: wait; }

/* Always respect the hidden attribute */
[hidden] { display: none !important; }

/* Article FAQ + read next */
.prose .article-faq { max-width: none; margin: 18px 0 0; }
.prose .article-faq p { margin-top: 10px; font-size: 18px; }
.prose .read-next { background: var(--gray-soft); border-radius: 14px; padding: 16px 20px; font-size: 18px; }
.prose .read-next a { font-weight: 700; }

/* ===== G Academy additions (course catalog and course pages) ===== */
.site-header .nav-menu { gap: 28px; }

/* Goal cards ("What brings you here?") */
.goals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.goal { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 380px; color: var(--white); display: flex; align-items: flex-end; background: var(--ink); transition: transform .25s, box-shadow .25s; }
.goal:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.goal img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.goal:hover img { transform: scale(1.06); }
.goal::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,13,20,.05) 20%, rgba(3,13,20,.92) 100%); }
.goal .in { position: relative; z-index: 1; padding: 28px; }
.goal .num { font-size: 14px; font-weight: 700; letter-spacing: .1em; color: var(--mint); }
.goal h3 { font-size: 26px; margin: 8px 0 8px; }
.goal p { color: #C3CDD3; font-size: 17px; }
.goal .go { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--mint); }

/* Course cards */
.ccard .img { position: relative; }
.ccard .status { position: absolute; left: 14px; top: 14px; }
.ccard .track { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.ccard h3 { margin-top: 8px; }
.cmeta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; color: var(--text-3); font-weight: 600; margin-top: 14px; }
.cprice { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-weight: 700; }
.cprice .amt { color: var(--teal); font-size: 20px; }
.cprice .soon { color: var(--text-3); font-size: 16px; }
.cprice .go { font-size: 16px; color: var(--ink); }
.ccard.is-soon .img img { filter: grayscale(.35); }
.ccard.premium { border-color: var(--ink); }
.ccard.premium .body { background: var(--ink); color: var(--white); }
.ccard.premium p { color: #C3CDD3; }
.ccard.premium .track { color: var(--mint); }
.ccard.premium .cprice { border-color: rgba(255,255,255,.15); }
.ccard.premium .cprice .go { color: var(--mint); }
.track-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin: 64px 0 26px; }
.track-head:first-child { margin-top: 0; }
.track-head h3 { font-size: 28px; margin: 0; }
.track-head p { color: var(--text-2); margin-top: 6px; max-width: 640px; }

/* Course page */
.course-hero { background: var(--ink); color: var(--white); padding: 70px 0 60px; position: relative; overflow: hidden; }
.course-hero .bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .22; }
.course-hero .wrap { position: relative; }
.course-hero .crumbs { font-size: 16px; color: #8FA0AA; margin-bottom: 22px; }
.course-hero .crumbs a:hover { color: var(--mint); }
.course-hero h1 { font-size: clamp(36px, 4.8vw, 58px); max-width: 820px; margin: 10px 0 18px; }
.course-hero .lead { color: #C3CDD3; max-width: 700px; }
.instructors { display: flex; align-items: center; gap: 12px; margin-top: 26px; font-size: 17px; color: #C3CDD3; }
.instructors .faces { display: flex; }
.instructors .faces img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--mint-soft); border: 2px solid var(--ink); margin-left: -10px; }
.instructors .faces img:first-child { margin-left: 0; }
.instructors b { color: var(--white); }
.course-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; }
.enroll-card { position: sticky; top: 100px; background: var(--white); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg); overflow: hidden; margin-top: -180px; }
.enroll-card .img { aspect-ratio: 16 / 10; }
.enroll-card .img img { width: 100%; height: 100%; object-fit: cover; }
.enroll-card .in { padding: 26px; }
.enroll-card .price { font-size: 34px; font-weight: 700; color: var(--ink); line-height: 1; }
.enroll-card .price small { display: block; font-size: 16px; font-weight: 600; color: var(--text-3); margin-top: 6px; }
.enroll-card .btn { margin-top: 20px; }
.enroll-card .ticks { margin-top: 22px; font-size: 17px; color: var(--text-2); gap: 10px; }
.cblock { padding: 56px 0; border-bottom: 1px solid var(--line); }
.cblock:first-child { padding-top: 0; }
.cblock:last-child { border-bottom: 0; }
.cblock > h2 { font-size: 30px; margin-bottom: 22px; }
.learn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 30px; }
.skills { display: flex; flex-wrap: wrap; gap: 10px; }
.skills span { border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 16px; font-weight: 600; }
.lessons { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.lesson { display: grid; grid-template-columns: 52px 1fr auto; gap: 16px; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.lesson:last-child { border-bottom: 0; }
.lesson .n { width: 40px; height: 40px; border-radius: 50%; background: var(--mint-soft); color: var(--teal-dark); font-weight: 700; display: grid; place-items: center; }
.lesson b { display: block; }
.lesson small { color: var(--text-3); font-size: 16px; }
.lesson .kind { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); white-space: nowrap; }
.lessons-sum { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 16px; color: var(--text-3); font-weight: 600; margin-bottom: 14px; }
.mini-people { display: grid; gap: 16px; }
.mini-person { display: grid; grid-template-columns: 72px 1fr; gap: 18px; align-items: start; }
.mini-person img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--mint-soft); }
.mini-person small { color: var(--teal); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.mini-person h3 { font-size: 20px; margin: 2px 0 6px; }
.mini-person p { color: var(--text-2); font-size: 17px; }

/* "Not built yet" note for draft links */
.soon-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 60; background: var(--ink); color: var(--white); padding: 12px 18px; border-radius: 12px; font-size: 16px; box-shadow: var(--shadow-lg); }
.soon-toast b { color: var(--mint); }

@media (max-width: 1000px) {
  .goals { grid-template-columns: 1fr; }
  .goal { min-height: 300px; }
  .course-layout { grid-template-columns: 1fr; }
  .enroll-card { position: static; margin-top: 0; }
  .learn-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .lesson { grid-template-columns: 40px 1fr; }
  .lesson .kind { grid-column: 2; }
}

/* Four instructors in one row */
.people-4 { grid-template-columns: repeat(4, 1fr); gap: 22px; }
.people-4 .person div { padding: 22px 22px 26px; }
.people-4 .person h3 { font-size: 22px; }
.photo-ph { aspect-ratio: 1; background: var(--mint-soft); display: grid; place-content: center; text-align: center; font-weight: 700; color: var(--teal); padding: 20px !important; outline-offset: -10px !important; }
.photo-ph small { color: var(--text-3); font-weight: 600; letter-spacing: 0 !important; text-transform: none !important; }
@media (max-width: 1000px) { .people-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .people-4 { grid-template-columns: 1fr; } }

/* Footer social icons */
.socials { gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; padding: 0; border: 0; background: rgba(255,255,255,.08); color: var(--white); transition: background .2s, color .2s, transform .2s; }
.socials a:hover { background: var(--mint); color: var(--ink); transform: translateY(-2px); }
.socials svg { width: 19px; height: 19px; }

/* Facilitators: one wide group photo above the bio cards */
.team-photo { background: var(--mint-soft); border-radius: var(--radius); overflow: hidden; padding: 30px 30px 0; margin-bottom: 22px; }
.team-photo img { display: block; width: 100%; max-width: 1100px; margin: 0 auto; }



/* Bigger main buttons in the hero */
.hero-ctas .btn { font-size: 20px; padding: 18px 38px; }
@media (max-width: 620px) { .hero-ctas .btn { font-size: 18px; padding: 16px 30px; } }

/* Community section: four small points in a 2x2 grid */
.comm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; margin: 30px 0 34px; }
.comm-grid h3 { font-size: 20px; margin-bottom: 4px; padding-left: 16px; border-left: 3px solid var(--teal-bright); }
.comm-grid p { color: var(--text-2); font-size: 17px; padding-left: 19px; }
@media (max-width: 620px) { .comm-grid { grid-template-columns: 1fr; } }

/* Readability: brighter small label on the dark hero photo */
.photo-hero .kicker { color: var(--mint); }

/* More breathing room in headings (Ivy, Nov 1) */
h2 { line-height: 1.18; }
h3, h4 { line-height: 1.32; letter-spacing: -0.005em; }
.ccard h3 { margin-top: 10px; margin-bottom: 12px; }
.pcard p { line-height: 1.6; }

/* Hero with the AI image of the facilitators */
.photo-hero .ai-label { display: none; position: absolute; right: 16px; bottom: 14px; z-index: 2; font-size: 13px; font-weight: 600; color: #fff; background: rgba(3,13,20,.55); padding: 5px 11px; border-radius: 999px; letter-spacing: .02em; }
.photo-hero.has-ai .ai-label { display: inline-block; }
.photo-hero.has-ai .bg { background-position: right bottom; transform-origin: right bottom; }
/* Darker overlay on the AI hero image (Ivy, Nov 1) */
.photo-hero.has-ai::after { background: linear-gradient(90deg, rgba(3,13,20,.96) 0%, rgba(3,13,20,.85) 42%, rgba(3,13,20,.5) 100%); }

/* Back-to-top button */
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--teal); color: var(--white); display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 24px rgba(3,13,20,.22); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s, transform .25s, visibility .25s, background .2s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--teal-dark); transform: translateY(-2px); }

/* "Coming soon" stands out more (Ivy, Nov 1) */
.ccard.is-soon .img::after { content: ""; position: absolute; inset: 0; background: rgba(3,13,20,.35); }
.ccard.is-soon .status { z-index: 1; }
.ccard.is-soon .status .tag { background: var(--mint); color: var(--ink); font-size: 15px; padding: 8px 16px; letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 6px 18px rgba(3,13,20,.3); }
.ccard.is-soon .cprice .soon { color: var(--teal); font-weight: 700; }
/* "Free" label: solid teal so free classes stand out (Ivy, Nov 1) */
.ccard:not(.is-soon) .status .tag { background: var(--teal); color: var(--white); font-size: 15px; padding: 8px 16px; letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 6px 18px rgba(3,13,20,.3); }
/* Prices always on the right of the card (Ivy, Nov 1) */
.cprice .amt, .cprice .soon { margin-left: auto; text-align: right; }
.ccard.is-soon .cprice .soon { font-size: 20px; }
.ccard:not(.is-soon) .status .tag { border: 2px solid var(--white); }

/* Hero: laptop showing a live online class (real photos of the facilitators) */
.hero-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero-call .wrap { padding-top: 96px; padding-bottom: 96px; }
.hero-call h1 { font-size: clamp(38px, 4.6vw, 64px); }
.laptop { position: relative; }
.laptop-screen { background: #0B1A22; border: 12px solid #1C2830; border-bottom-width: 16px; border-radius: 18px 18px 6px 6px; box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.06); overflow: hidden; }
.laptop-base { height: 16px; margin: 0 -7%; background: linear-gradient(#3A4750, #1C2830); border-radius: 2px 2px 14px 14px; box-shadow: 0 18px 30px rgba(0,0,0,.45); }
.laptop-base::before { content: ""; display: block; width: 18%; height: 6px; margin: 0 auto; background: #2A3640; border-radius: 0 0 8px 8px; }
.call-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; font-size: 13px; font-weight: 600; color: #C3CDD3; background: #0F222B; }
.call-bar .live { background: #E5484D; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .08em; padding: 3px 8px; border-radius: 6px; }
.call-bar .call-count { margin-left: auto; color: #8FA3AD; font-weight: 500; }
.call-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; }
.call-tile { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: radial-gradient(circle at 50% 30%, #2C5A5C 0%, #12303A 70%); border: 2px solid transparent; }
.call-tile img { position: absolute; left: 50%; bottom: 0; width: 82%; transform: translateX(-50%); object-fit: contain; }
.call-tile.speaking { border-color: var(--teal-bright); box-shadow: 0 0 0 3px rgba(27,176,170,.35); }
.call-name { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: #fff; background: rgba(3,13,20,.65); padding: 3px 9px 3px 6px; border-radius: 6px; }
.call-name svg { width: 13px; height: 13px; }
.call-controls { display: flex; justify-content: center; gap: 10px; padding: 8px 0 12px; }
.call-controls span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #1E333D; color: #D3DCE0; }
.call-controls svg { width: 17px; height: 17px; }
.call-controls .leave { width: auto; padding: 0 14px; border-radius: 999px; background: #E5484D; color: #fff; font-size: 12px; font-weight: 700; }
@media (max-width: 1000px) { .hero-split { grid-template-columns: 1fr; } .laptop { max-width: 560px; } }
.call-bar .live { background: var(--teal-bright); color: var(--ink); }
.call-controls .leave { background: var(--teal); }
.hero-call h1 { font-size: clamp(36px, 4vw, 56px); }
.hero-call .hero-facts { gap: 18px 30px; margin-top: 44px; }
.hero-call .hero-facts b { font-size: 22px; }
.hero-call .hero-facts span { font-size: 15px; }

/* Hero: real laptop photo showing a live online class with the four facilitators */
.hero-call .bg { background-position: right center; }
.hero-call::after { background: linear-gradient(90deg, rgba(3,13,20,.95) 0%, rgba(3,13,20,.86) 38%, rgba(3,13,20,.45) 66%, rgba(3,13,20,.3) 100%); }
.hero-call .hero-text { max-width: 640px; }
@media (max-width: 1000px) { .hero-call::after { background: linear-gradient(180deg, rgba(3,13,20,.88), rgba(3,13,20,.78)); } }
/* Taller hero with more breathing room (Ivy, Nov 1) */
.hero-call .wrap { padding-top: 150px; padding-bottom: 150px; }
.hero-call { min-height: 760px; display: flex; align-items: center; }
.hero-call .wrap { width: 100%; }
.hero-call .lead { margin-bottom: 44px; }
.hero-call .hero-facts { margin-top: 64px; }
@media (max-width: 1000px) { .hero-call { min-height: 0; } .hero-call .wrap { padding-top: 96px; padding-bottom: 96px; } }

/* Mobile: more space between text and the screen edges (Ivy, Nov 1) */
@media (max-width: 620px) {
  .wrap { padding-left: 28px; padding-right: 28px; }
  .quote-band .wrap { padding-left: 28px; padding-right: 28px; }
  .hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
  .hero-ctas .btn { font-size: 16px; padding: 15px 24px; }
  .hero-call h1 { font-size: 34px; }
  .hero-call .hero-facts { gap: 18px 28px; margin-top: 48px; }
}
/* Hero slightly taller still (Ivy, Nov 1) */
.hero-call { min-height: 820px; }
.hero-call .wrap { padding-top: 170px; padding-bottom: 170px; }
@media (max-width: 1000px) { .hero-call { min-height: 0; } .hero-call .wrap { padding-top: 110px; padding-bottom: 110px; } }
/* Mobile: move hero content up so the buttons show on the first screen (Ivy, Nov 1) */
@media (max-width: 620px) {
  .hero-call .wrap { padding-top: 44px; padding-bottom: 72px; }
  .hero-call .kicker { margin-bottom: 10px; }
  .hero-call h1 { margin-bottom: 16px; }
  .hero-call .lead { font-size: 17px; line-height: 1.6; margin-bottom: 28px; }
}
/* Mobile hero: bigger headline, smaller description (Ivy, Nov 1) */
@media (max-width: 620px) {
  .hero-call h1 { font-size: 40px; line-height: 1.1; }
  .hero-call .lead { font-size: 16px; line-height: 1.55; margin-bottom: 26px; }
}

/* Hidden bot trap in the newsletter form */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* Dark top bar, same as the footer (Ivy, Nov 1) */
.site-header { background: var(--ink); border-bottom-color: rgba(255,255,255,.08); }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.35); }
.nav-menu > li > a { color: #E6ECEF; }
.nav-menu > li > a:hover { color: var(--white); }
.nav-menu > li > a::after { background: var(--teal-bright); }
.site-header .btn-line { border-color: var(--mint); color: var(--mint); }
.site-header .btn-line:hover { background: var(--mint); color: var(--ink); }
.site-header .btn-teal { background: var(--teal-bright); color: var(--ink); }
.site-header .btn-teal:hover { background: var(--mint); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { background: var(--white); }
/* Dropdown and mobile menu panels stay light for easy reading */
.mega a, .mega strong { color: var(--ink); }
@media (max-width: 1000px) {
  .site-header.open .nav-menu { background: var(--ink); border-bottom-color: rgba(255,255,255,.08); }
  .site-header.open .nav-menu > li > a { color: #E6ECEF; }
  .site-header.open .mega a, .site-header.open .mega strong { color: #E6ECEF; }
  .site-header.open .mega a:hover { background: rgba(255,255,255,.06); }
  .site-header.open .mega small { color: #9FB0B8; }
}

/* Top bar: dark at the top of the page, white once you scroll (Ivy, Nov 1) */
.site-header { transition: background .25s, box-shadow .25s, border-color .25s; }
.nav-logo .logo-on-light { display: none; }
.site-header.scrolled { background: var(--white); border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(3,13,20,.06); }
.site-header.scrolled .nav-logo .logo-on-dark { display: none; }
.site-header.scrolled .nav-logo .logo-on-light { display: inline-block; }
.site-header.scrolled .nav-menu > li > a { color: var(--ink); }
.site-header.scrolled .nav-menu > li > a::after { background: var(--teal); }
.site-header.scrolled .btn-line { border-color: var(--teal); color: var(--teal); }
.site-header.scrolled .btn-line:hover { background: var(--teal); color: var(--white); }
.site-header.scrolled .btn-teal { background: var(--teal); color: var(--white); }
.site-header.scrolled .btn-teal:hover { background: var(--teal-dark); }
.site-header.scrolled .nav-toggle span, .site-header.scrolled .nav-toggle span::before, .site-header.scrolled .nav-toggle span::after { background: var(--ink); }
@media (max-width: 1000px) {
  .site-header.scrolled.open .nav-menu { background: var(--white); border-bottom-color: var(--line); }
  .site-header.scrolled.open .nav-menu > li > a, .site-header.scrolled.open .mega a, .site-header.scrolled.open .mega strong { color: var(--ink); }
  .site-header.scrolled.open .mega small { color: var(--text-3); }
}

/* No top bar over the hero photo: menu floats on the photo, white bar appears on scroll (Ivy, Nov 1) */
body.over-hero .site-header { margin-bottom: -79px; }
body.over-hero .site-header:not(.scrolled):not(.open) { background: transparent; border-bottom-color: transparent; box-shadow: none; }
body.over-hero .site-header.open:not(.scrolled) { background: var(--ink); }
body.over-hero .photo-hero .wrap { padding-top: calc(var(--hero-top, 170px) + 79px); }
body.over-hero .course-hero { padding-top: calc(70px + 79px); }
body.over-hero .hero-call .wrap { --hero-top: 170px; }
@media (max-width: 1000px) { body.over-hero .hero-call .wrap { --hero-top: 110px; } }
@media (max-width: 620px) { body.over-hero .hero-call .wrap { --hero-top: 44px; } }

/* Softer page background instead of pure white (Ivy, Nov 1) */
:root { --page: #F6F7F4; --gray-soft: #ECEFEB; }
body { background: var(--page); }
.site-header.scrolled { background: var(--page); }
@media (max-width: 1000px) { .site-header.scrolled.open .nav-menu { background: var(--page); } }

/* Top-bar button only appears once you scroll past the hero (Ivy, Nov 1) */
.nav-cta-scroll { opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s, transform .25s, visibility .25s; }
.site-header.scrolled .nav-cta-scroll { opacity: 1; visibility: visible; transform: none; }

/* Explore dropdown: learning paths on top, "All classes" as its own strip below (Ivy, Nov 1) */
.mega { left: -200px; width: 900px; grid-template-columns: repeat(3, 1fr); padding: 18px; gap: 6px; }
.mega .mega-label { grid-column: 1 / -1; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); padding: 4px 10px 6px; }
.mega a:not(.mega-all) { grid-template-columns: 1fr; gap: 10px; align-items: start; }
.mega a:not(.mega-all) img { width: 100%; height: 120px; }
.mega-all { grid-column: 1 / -1; display: flex !important; justify-content: space-between; align-items: center; margin-top: 10px; padding: 18px 20px !important; background: var(--ink); border-radius: 14px; }
.mega-all strong { color: var(--white) !important; }
.mega-all small { color: #A9B6BE !important; }
.mega-all .mega-go { font-weight: 700; color: var(--mint); white-space: nowrap; }
.mega-all:hover { background: #0B1E28 !important; }
@media (max-width: 1000px) {
  .mega { width: auto; grid-template-columns: 1fr; }
  .mega a:not(.mega-all) { grid-template-columns: 64px 1fr; align-items: center; }
  .mega a:not(.mega-all) img { width: 64px; height: 48px; }
  .mega-all { flex-direction: column; align-items: flex-start !important; gap: 6px; }
}
.mega a:not(.mega-all) { align-content: start; } .mega a:not(.mega-all) strong { line-height: 1.3; }

/* Mobile menu: Explore dropdown blends into the dark menu, everything on one left edge (Ivy, Nov 1) */
@media (max-width: 1000px) {
  .site-header.open .mega { background: transparent; box-shadow: none; border: 0; padding: 0 !important; margin: 2px 0 10px; gap: 2px; width: auto; }
  .site-header.open .mega .mega-label { padding: 6px 0 8px; color: var(--mint); }
  .site-header.open .mega a:not(.mega-all) { padding: 8px 0; border-radius: 10px; }
  .site-header.open .mega a:not(.mega-all) strong { color: var(--white); font-size: 16px; }
  .site-header.open .mega a:not(.mega-all) small { color: #9FB0B8; }
  .site-header.open .mega-all { margin-top: 10px; padding: 16px 18px !important; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
  .site-header.open .mega-all .mega-go { margin-top: 4px; }
  /* scrolled (white) version */
  .site-header.scrolled.open .mega .mega-label { color: var(--teal); }
  .site-header.scrolled.open .mega a:not(.mega-all) strong { color: var(--ink); }
  .site-header.scrolled.open .mega a:not(.mega-all) small { color: var(--text-3); }
  .site-header.scrolled.open .mega-all { background: var(--ink); border-color: var(--ink); }
}

/* ===== Mobile menu, clean version (Ivy, Nov 1): simple rows, one left edge, no photos ===== */
@media (max-width: 1000px) {
  .site-header.open .nav-menu { padding: 8px 28px 28px; max-height: calc(100vh - 78px); overflow: auto; }
  .site-header.open .nav-menu > li { border-bottom: 1px solid rgba(255,255,255,.1); }
  .site-header.open .nav-menu > li.mobile-only { border-bottom: 0; }
  .site-header.open .nav-menu > li > a { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-size: 19px; font-weight: 600; }
  /* Explore list inside the menu */
  .site-header.open .mega { display: block; margin: -4px 0 14px; padding: 0 !important; background: transparent; border: 0; box-shadow: none; }
  .site-header.open .mega .mega-label { display: none; }
  .site-header.open .mega a, .site-header.open .mega a:not(.mega-all) { display: block !important; padding: 10px 0 10px 16px !important; border-left: 2px solid rgba(255,255,255,.14); border-radius: 0; margin: 0; background: none !important; }
  .site-header.open .mega img { display: none !important; }
  .site-header.open .mega strong, .site-header.open .mega a:not(.mega-all) strong { font-size: 16px; font-weight: 500; color: #E6ECEF; line-height: 1.35; }
  .site-header.open .mega small, .site-header.open .mega a:not(.mega-all) small { display: none; }
  .site-header.open .mega-all { border-left-color: var(--teal-bright) !important; margin-top: 2px !important; }
  .site-header.open .mega-all strong { color: var(--mint) !important; }
  .site-header.open .mega-all small, .site-header.open .mega-all .mega-go { display: none !important; }
  .site-header.open .mobile-only { border-top: 0; padding-top: 22px; margin-top: 0; }
  /* white (scrolled) version */
  .site-header.scrolled.open .nav-menu > li { border-bottom-color: var(--line); }
  .site-header.scrolled.open .mega a { border-left-color: var(--line); }
  .site-header.scrolled.open .mega strong, .site-header.scrolled.open .mega a:not(.mega-all) strong { color: var(--ink); }
  .site-header.scrolled.open .mega-all { border-left-color: var(--teal) !important; }
  .site-header.scrolled.open .mega-all strong { color: var(--teal) !important; }
}
@media (max-width: 1000px) {
  .site-header.open .mega-all { border-top: 0 !important; border-right: 0 !important; border-bottom: 0 !important; background: none !important; padding: 10px 0 10px 16px !important; }
  .site-header.open:not(.scrolled) { background: var(--ink) !important; }
}
/* Dropdown closes right after a click, until the mouse leaves and comes back */
.has-mega.mega-closed .mega { opacity: 0 !important; visibility: hidden !important; transform: translateY(8px) !important; }
/* Jump targets land below the sticky top bar */
#classes, #community, #faq, #goals, #facilitators, #teams, .track-head { scroll-margin-top: 96px; }

/* Selected filter tab "pops" when you arrive from the menu (Ivy, Nov 1) */
@keyframes tab-pop {
  0%   { transform: scale(1);    box-shadow: 0 0 0 0 rgba(27,176,170,.55); }
  35%  { transform: scale(1.12); box-shadow: 0 0 0 10px rgba(27,176,170,.25); }
  65%  { transform: scale(.97);  box-shadow: 0 0 0 16px rgba(27,176,170,0); }
  100% { transform: scale(1);    box-shadow: 0 0 0 0 rgba(27,176,170,0); }
}
#catalog-filters button.pop { animation: tab-pop .9s ease-out 2; }
@media (prefers-reduced-motion: reduce) { #catalog-filters button.pop { animation: none; outline: 3px solid var(--teal-bright); outline-offset: 3px; } }

/* "Explore" is a menu opener, not a link (Ivy, Nov 1) */
.nav-explore { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 28px 0; display: inline-flex; align-items: center; gap: 4px; position: relative; }
.site-header .nav-explore { color: #E6ECEF; }
.site-header.scrolled .nav-explore { color: var(--ink); }
.has-mega.mega-open .mega { opacity: 1; visibility: visible; transform: none; }
.has-mega.mega-closed .mega { opacity: 0 !important; visibility: hidden !important; }
@media (max-width: 1000px) {
  .site-header.open .nav-explore { width: 100%; justify-content: space-between; padding: 18px 0; font-size: 19px; font-weight: 600; cursor: default; color: #E6ECEF; }
  .site-header.scrolled.open .nav-explore { color: var(--ink); }
}
.nav-explore { font-size: 17px; font-weight: 500; }
.site-header .nav-explore .caret { border-color: #9FB0B8; }
.site-header.scrolled .nav-explore .caret { border-color: var(--text-3); }

/* "All classes" strip in the Explore dropdown: soft mint instead of black (Ivy, Nov 1) */
.mega-all { background: var(--mint-soft) !important; border: 1px solid var(--mint) !important; }
.mega-all strong { color: var(--ink) !important; }
.mega-all small { color: var(--text-2) !important; }
.mega-all .mega-go { color: var(--teal) !important; }
.mega-all:hover { background: var(--mint) !important; }

/* Sign-up celebration (Ivy, Nov 1) */
.confetti-canvas { position: fixed; inset: 0; pointer-events: none; z-index: 200; }
.points-pop { display: inline-block; margin: 0 auto 14px; padding: 8px 18px; border-radius: 999px; background: var(--teal); color: var(--white); font-weight: 800; font-size: 20px; letter-spacing: .02em; box-shadow: 0 10px 24px rgba(2,131,124,.35); opacity: 0; transform: scale(.4); }
.points-pop.show { animation: points-pop .7s cubic-bezier(.2,1.6,.4,1) .15s forwards; }
@keyframes points-pop { 0% { opacity: 0; transform: scale(.4) translateY(10px); } 100% { opacity: 1; transform: scale(1) translateY(0); } }
@media (prefers-reduced-motion: reduce) { .points-pop.show { animation: none; opacity: 1; transform: none; } }
