/* EHV Academy — site styles. Same family as Event Hour Ventures and KSR Snaps (charcoal, cream, gold),
   brighter and friendlier for learners: big readable type, clear cards, obvious next steps. */
:root {
  --ink: #0f0e0e;
  --panel: #181616;
  --panel-2: #211e1d;
  --line: #34302d;
  --cream: #f4ead8;
  --muted: #b8ad9a;
  --gold: #e6a63c;
  --gold-2: #f4c869;
  --gold-ink: #1b1306;
  --teal: #7cc8bd;
  --ok: #8fd1a6;
  --warn: #f1c16b;
  --bad: #ff8f84;
  --f-display: "Oswald", "Arial Narrow", sans-serif;
  --f-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --wrap: 1200px;
  --r: 14px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--cream); font: 400 17px/1.65 var(--f-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--cream); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 200; background: var(--gold); color: var(--gold-ink); padding: 8px 14px; }
section[id] { scroll-margin-top: 84px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 300; letter-spacing: .04em; line-height: 1.1; margin: 0 0 .5em; }
h2 { font-size: clamp(30px, 4vw, 46px); text-transform: uppercase; }
h3 { font-size: 21px; font-weight: 400; text-transform: uppercase; letter-spacing: .05em; }
p { margin: 0 0 1em; }
.eyebrow { font: 600 13px/1.2 var(--f-body); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.sub { color: var(--muted); font-size: 18px; max-width: 62ch; }
.fine { color: var(--muted); font-size: 14px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.center .sub { margin-inline: auto; }
.section { padding: 92px 0; }
.section--panel { background: var(--panel); border-block: 1px solid var(--line); }
.head { margin-bottom: 36px; max-width: 760px; }
.center .head { margin-inline: auto; }

/* buttons and chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 22px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--cream); font: 600 15px/1 var(--f-body); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { border-color: var(--gold); color: var(--cream); }
.btn--gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--gold-ink); border-color: transparent; }
.btn--gold:hover { color: var(--gold-ink); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(230,166,60,.25); }
.btn--lg { min-height: 52px; padding: 14px 28px; font-size: 16px; }
.btn--sm { min-height: 36px; padding: 8px 14px; font-size: 14px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: var(--panel); color: var(--cream); border-radius: 999px; padding: 8px 16px; font: 500 14px var(--f-body); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.tag--gold { background: rgba(230,166,60,.14); border-color: rgba(230,166,60,.45); color: var(--gold-2); }
.tag--ok { background: rgba(143,209,166,.12); border-color: rgba(143,209,166,.4); color: var(--ok); }

/* header */
.top { position: fixed; inset: 0 0 auto; z-index: 50; height: 80px; background: rgba(15,14,14,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top__in { max-width: var(--wrap); height: 100%; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand img { width: 108px; height: auto; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a:not(.btn) { color: var(--cream); text-decoration: none; font-size: 15px; opacity: .88; }
.nav a:not(.btn):hover { color: var(--gold); }
.menu { display: none; }

/* hero */
.hero { position: relative; padding: 150px 0 80px; overflow: hidden; background:
  radial-gradient(900px 500px at 85% 20%, rgba(230,166,60,.16), transparent 60%),
  radial-gradient(700px 500px at 0% 100%, rgba(124,200,189,.08), transparent 60%), var(--ink); }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(44px, 6.4vw, 88px); text-transform: uppercase; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--gold-2); }
.hero .sub { font-size: 19px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }
.promise { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 15px; padding: 0; margin: 0; list-style: none; }
.promise li::before { content: "✓ "; color: var(--ok); }
.hero__card { background: linear-gradient(160deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.hero__card img { width: 100%; max-width: 340px; margin: 0 auto 10px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; text-align: center; }
.stats div { background: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 12px 6px; }
.stats strong { display: block; font: 400 28px/1.1 var(--f-display); color: var(--gold-2); }
.stats span { font-size: 13px; color: var(--muted); }

/* schools */
.schools { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.school { position: relative; padding: 30px; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); overflow: hidden; }
.school::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(230,166,60,.18), transparent 70%); }
.school h3 { color: var(--gold-2); }
.school ul { margin: 0 0 18px; padding-left: 20px; color: var(--muted); }
.school .by { font-size: 14px; color: var(--muted); }

/* catalogue */
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.search { flex: 1 1 260px; max-width: 360px; }
.search input { width: 100%; min-height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--cream); padding: 10px 18px; font: inherit; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.course { display: flex; flex-direction: column; text-align: left; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 0; overflow: hidden; color: inherit; font: inherit; cursor: pointer; transition: transform .2s, border-color .2s; }
.course:hover { transform: translateY(-3px); border-color: rgba(230,166,60,.6); }
.course__cover { aspect-ratio: 16 / 8; background: linear-gradient(135deg, #2a2420, #151313); display: grid; place-items: center; position: relative; }
.course__cover img { width: 100%; height: 100%; object-fit: cover; }
.course__cover .glyph { font: 300 54px/1 var(--f-display); color: rgba(244,200,105,.75); letter-spacing: .08em; }
.course__cover .badge { position: absolute; left: 12px; top: 12px; }
.course__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.course__body h3 { font-size: 19px; margin: 0; }
.course__body p { color: var(--muted); font-size: 15px; margin: 0; }
.course__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.price { display: flex; align-items: baseline; gap: 8px; }
.price strong { font: 400 24px var(--f-display); color: var(--gold-2); }
.price s { color: var(--muted); font-size: 14px; }
.empty { color: var(--muted); padding: 20px; text-align: center; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { padding: 24px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); font-weight: 700; margin-bottom: 12px; }
.step h3 { font-size: 18px; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }

/* fees */
.fees { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: start; }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); }
.compare th { color: var(--muted); font-weight: 500; }
.compare td:last-child { color: var(--gold-2); font-weight: 600; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.card--gold { border-color: rgba(230,166,60,.55); background: linear-gradient(160deg, rgba(230,166,60,.10), var(--panel)); }

/* live */
.live { display: grid; gap: 12px; }
.liveitem { display: grid; grid-template-columns: 92px 1fr auto; gap: 18px; align-items: center; padding: 16px 18px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); }
.liveitem .date { text-align: center; border-right: 1px solid var(--line); padding-right: 14px; }
.liveitem .date strong { display: block; font: 400 30px/1 var(--f-display); color: var(--gold-2); }
.liveitem .date span { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.liveitem h3 { font-size: 18px; margin: 0 0 4px; }
.liveitem p { margin: 0; color: var(--muted); font-size: 15px; }
.dot-live { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #ff5b5b; box-shadow: 0 0 0 4px rgba(255,91,91,.2); margin-right: 6px; animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(255,91,91,0); } }

/* testimonials, team, programmes */
.quotes, .team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.quote { padding: 22px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); }
.quote p { font-size: 16px; }
.quote footer { color: var(--muted); font-size: 14px; }
.person { text-align: center; padding: 22px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); }
.person img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin: 0 auto 10px; }
.person p { color: var(--muted); font-size: 14px; }
.progs { display: grid; gap: 10px; }
.prog { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 14px 18px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }

/* forms */
form.f { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
form.f .wide { grid-column: 1 / -1; }
label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
input, select, textarea { width: 100%; min-height: 46px; border-radius: 10px; border: 1px solid var(--line); background: var(--ink); color: var(--cream); padding: 10px 14px; font: inherit; }
textarea { min-height: 110px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; }
.check input { width: 20px; min-height: 20px; margin-top: 3px; }
.msg { padding: 12px 14px; border-radius: 10px; font-size: 15px; }
.msg--ok { background: rgba(143,209,166,.12); border: 1px solid rgba(143,209,166,.4); color: var(--ok); }
.msg--bad { background: rgba(255,143,132,.1); border: 1px solid rgba(255,143,132,.4); color: var(--bad); }

/* course page (dialog) */
dialog.course-dlg { width: min(940px, 94vw); max-height: 92vh; padding: 0; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); color: var(--cream); }
dialog.course-dlg::backdrop { background: rgba(0,0,0,.7); backdrop-filter: blur(3px); }
.cd { display: grid; grid-template-columns: 1.4fr .9fr; }
.cd__main { padding: 30px; }
.cd__side { padding: 30px; background: var(--panel-2); border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.cd h2 { font-size: clamp(28px, 3.4vw, 40px); margin-right: 40px; }
.cd .x { position: absolute; right: 14px; top: 12px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--ink); color: var(--cream); font-size: 20px; cursor: pointer; }
.outcomes { padding-left: 20px; color: var(--muted); }
.lessons { list-style: none; padding: 0; margin: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.lessons li { display: flex; gap: 12px; align-items: center; padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: 15px; }
.lessons li:last-child { border-bottom: 0; }
.lessons .k { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; font-size: 12px; color: var(--gold-2); flex: none; }
.lessons .m { margin-left: auto; color: var(--muted); font-size: 13px; white-space: nowrap; }

/* status note and footer */
.note { display: flex; gap: 12px; padding: 16px 18px; border-radius: 12px; border: 1px dashed rgba(230,166,60,.5); background: rgba(230,166,60,.06); color: var(--cream); font-size: 15px; }
.foot { padding: 56px 0 90px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.foot h4 { font: 500 14px var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--cream); margin: 0 0 12px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--gold); }
.wa { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: #25d366; color: #062d14; font-weight: 700; text-decoration: none; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.wa:hover { color: #062d14; }

/* verify page */
.verify { min-height: 100vh; display: grid; place-items: center; padding: 120px 20px 60px; }
.verify .card { width: min(620px, 100%); }
.cert-ok { text-align: center; }
.cert-ok .seal { width: 84px; height: 84px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; background: rgba(143,209,166,.14); color: var(--ok); font-size: 40px; }
.cert-ok dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; text-align: left; margin: 18px 0; }
.cert-ok dt { color: var(--muted); }
.cert-ok dd { margin: 0; }

@media (max-width: 1000px) {
  .grid, .quotes, .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr 1fr; }
  .hero__grid, .fees { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav { display: none; position: absolute; top: 80px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink); border-bottom: 1px solid var(--line); padding: 8px 24px 20px; }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; }
  .menu { display: inline-flex; }
  .schools, .cd { grid-template-columns: 1fr; }
  .cd__side { border-left: 0; border-top: 1px solid var(--line); }
  form.f { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .hero { padding: 120px 0 56px; }
  .grid, .quotes, .team, .steps { grid-template-columns: 1fr; }
  .liveitem { grid-template-columns: 70px 1fr; }
  .liveitem .btn { grid-column: 1 / -1; }
  .foot__grid { grid-template-columns: 1fr; }
  .wa span { display: none; }
}
/* small fixed header on /teach/ and /verify/ (no menu button) */
.nav.nav--mini { display: flex; position: static; flex-direction: row; align-items: center; gap: 16px; padding: 0; border: 0; background: none; }
.nav.nav--mini a:not(.btn) { padding: 0; border: 0; }
.nav.nav--mini .btn { margin-top: 0; }
