/* Media, AI & the Brave New Unknown — palette taken from the seminar brochure:
   deep navy, teal accent bar, pale-teal session cards. */
:root {
  --ink-0: #030d16;
  --ink-1: #051521;
  --ink-2: #0a2232;
  --ink-3: #10324a;
  --line: rgba(120, 200, 215, 0.14);
  --teal: #19b3c6;
  --teal-hi: #5fd4e3;
  --teal-soft: rgba(25, 179, 198, 0.12);
  --text: #e3eff3;
  --text-2: #a9c3cd;
  --text-3: #7896a3;
  --danger: #ff8a7a;
  --radius: 18px;
  --radius-sm: 12px;
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink-1);
  color: var(--text);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, iframe { display: block; max-width: 100%; }
a { color: var(--teal-hi); }
h1, h2, h3 { font-family: var(--font-display); margin: 0; letter-spacing: -0.02em; color: #fff; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 760px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--teal); color: var(--ink-0); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.eyebrow {
  font: 600 12px/1 var(--font-body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-hi);
  margin-bottom: 18px;
}
.section-title { font-size: clamp(26px, 3.6vw, 40px); line-height: 1.15; font-weight: 600; margin-bottom: 32px; }
.display { font-size: clamp(32px, 5vw, 56px); line-height: 1.05; font-weight: 700; margin-bottom: 20px; }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--text); line-height: 1.5; }
.muted { color: var(--text-3); }
.hl { color: var(--teal-hi); font-weight: 600; }
.rule { width: 72px; height: 4px; background: var(--teal); border-radius: 2px; margin: 28px 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 16px/1 var(--font-body);
  padding: 16px 26px; border-radius: 999px; border: 0; cursor: pointer;
  text-decoration: none; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary { background: var(--teal); color: var(--ink-0); box-shadow: 0 10px 30px -10px rgba(25, 179, 198, .7); }
.btn-primary:hover { background: var(--teal-hi); transform: translateY(-1px); }
.btn-primary:focus-visible, .opt-btn:focus-visible, .btn-ghost:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.btn-primary[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--teal); color: #fff; }
.btn-block { width: 100%; }
.btn.pulse { animation: pulse 1.6s ease-in-out 3; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 10px 30px -10px rgba(25, 179, 198, .7), 0 0 0 0 rgba(95, 212, 227, .5); }
  50% { box-shadow: 0 10px 30px -10px rgba(25, 179, 198, .7), 0 0 0 14px rgba(95, 212, 227, 0); }
}

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--gutter);
  background: rgba(5, 21, 33, .72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; color: #fff; font-family: var(--font-display); }
.brand-z { font-weight: 700; letter-spacing: .02em; font-size: 17px; }
.brand-plus { color: var(--teal); font-weight: 700; font-size: 18px; }
.brand-a { font-weight: 500; font-size: 19px; letter-spacing: -.01em; }
.brand-sm .brand-z { font-size: 15px; } .brand-sm .brand-a { font-size: 16px; }
.topbar-cta {
  font: 600 14px/1 var(--font-body); color: var(--ink-0); background: var(--teal);
  padding: 10px 16px; border-radius: 999px; text-decoration: none; white-space: nowrap;
}
.topbar-cta:hover { background: var(--teal-hi); }

/* ---------- hero / teaser ---------- */
.hero {
  position: relative; isolation: isolate;
  padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 96px);
  background:
    radial-gradient(1200px 500px at 50% -10%, rgba(120, 80, 220, .22), transparent 60%),
    linear-gradient(180deg, var(--ink-0) 0%, var(--ink-1) 100%);
  text-align: center;
  overflow: hidden;
}
.hero-glow {
  position: absolute; inset: auto -20% -40% -20%; height: 70%; z-index: -1;
  background: radial-gradient(closest-side, rgba(25, 179, 198, .18), transparent);
  filter: blur(20px);
}
.hero::before { /* faint film-grain lines */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 3px);
  pointer-events: none;
}
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.hero-title {
  font-size: clamp(40px, 8vw, 92px); line-height: .98; font-weight: 700; letter-spacing: -0.035em;
  background: linear-gradient(180deg, #ffffff 30%, #9fdbe5 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 22px;
}
.hero-sub { color: var(--text-2); font-size: clamp(16px, 1.8vw, 20px); max-width: 640px; margin-bottom: 40px; }
.br-wide { display: none; }
@media (min-width: 720px) { .br-wide { display: inline; } }

.player { margin: 0 0 36px; width: 100%; }
.player-frame {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: #000; border: 1px solid var(--line);
  box-shadow: 0 40px 120px -40px rgba(25, 179, 198, .45), 0 20px 60px -30px rgba(0, 0, 0, .9);
}
.player-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.quiz-card, [id] { scroll-margin-top: 84px; }
.player-wide { max-width: 980px; }
.player-wide .player-frame { aspect-ratio: 16 / 9; }
.player figcaption { font-size: 12.5px; color: var(--text-3); margin-top: 12px; }

/* ---------- quiz ---------- */
.quiz { padding: clamp(64px, 9vw, 112px) 0; background: var(--ink-1); scroll-margin-top: 64px; }
.quiz .section-title { margin-bottom: 28px; }
.quiz-card {
  background: linear-gradient(180deg, var(--ink-2), rgba(10, 34, 50, .6));
  border: 1px solid var(--line); border-left: 4px solid var(--teal);
  border-radius: var(--radius); padding: clamp(22px, 4vw, 40px);
  min-height: 300px;
}
.quiz-progress { display: flex; gap: 8px; margin-bottom: 26px; }
.quiz-progress .dot { width: 34px; height: 4px; border-radius: 2px; background: var(--ink-3); transition: background .3s; }
.quiz-progress .dot.on { background: var(--teal); }
.q-kicker { font-size: 13px; color: var(--text-3); margin-bottom: 10px; font-weight: 500; }
.q-text { font-family: var(--font-display); font-size: clamp(21px, 2.6vw, 28px); line-height: 1.25; color: #fff; font-weight: 600; margin-bottom: 24px; letter-spacing: -.015em; }
.opts { display: grid; gap: 10px; }
.opt-btn {
  width: 100%; text-align: left; cursor: pointer;
  font: 500 16px/1.35 var(--font-body); color: var(--text);
  background: rgba(255, 255, 255, .03); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 16px 18px; transition: border-color .15s, background .15s, transform .15s;
  display: flex; align-items: center; gap: 14px;
}
.opt-btn::before {
  content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--text-3); transition: all .15s;
}
.opt-btn:hover:not([disabled]) { border-color: var(--teal); background: var(--teal-soft); transform: translateX(2px); }
.opt-btn[aria-pressed="true"] { border-color: var(--teal); background: var(--teal-soft); color: #fff; }
.opt-btn[aria-pressed="true"]::before { border-color: var(--teal-hi); background: radial-gradient(circle, var(--teal-hi) 0 4px, transparent 5px); }
.opt-btn[disabled] { cursor: default; }
.opt-btn[disabled]:not([aria-pressed="true"]) { opacity: .45; }

.reveal { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); animation: rise .45s ease both; }
.reveal h4 { font: 600 18px/1.3 var(--font-display); color: #fff; margin: 0 0 8px; }
.reveal p { color: var(--text-2); margin-bottom: 16px; }
.session-tag {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-size: 13.5px; color: var(--teal-hi); background: var(--teal-soft);
  border: 1px solid rgba(95, 212, 227, .25); border-radius: 999px; padding: 7px 14px; margin-bottom: 20px;
}
.session-tag b { font-family: var(--font-display); }
.reveal .btn { margin-top: 4px; }

.quiz-final { text-align: left; animation: rise .5s ease both; }
.quiz-final .q-text { margin-bottom: 14px; }
.quiz-final p { color: var(--text-2); font-size: 17px; }
.quiz-final .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.quiz-skip { text-align: center; margin-top: 20px; font-size: 14px; }
.quiz-skip a { color: var(--text-3); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- seminar ---------- */
.seminar {
  padding: clamp(72px, 10vw, 128px) 0;
  background:
    radial-gradient(800px 500px at 100% 20%, rgba(25, 179, 198, .12), transparent 60%),
    var(--ink-0);
  border-top: 1px solid var(--line);
}
.seminar-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .seminar-grid { grid-template-columns: 1.25fr .75fr; gap: 72px; } }
.seminar-copy { border-left: 4px solid var(--teal); padding-left: clamp(18px, 3vw, 32px); }
.seminar-copy > p:not(.eyebrow):not(.lede):not(.quote) { color: var(--text-2); }
.quote { font: 600 clamp(22px, 2.6vw, 30px)/1.25 var(--font-display); color: #fff; letter-spacing: -.02em; margin-bottom: 18px; }
.facts { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.facts li { background: var(--teal-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; }
.facts strong { display: block; font: 700 22px/1.1 var(--font-display); color: var(--teal-hi); margin-bottom: 4px; }
.facts span { font-size: 13px; color: var(--text-2); }
.player-tall { max-width: 340px; margin: 0 auto; text-align: center; }
.player-tall .player-frame { aspect-ratio: 720 / 1290; }

/* ---------- sessions ---------- */
.sessions { padding: clamp(72px, 10vw, 120px) 0; background: var(--ink-1); }
.session-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
@media (min-width: 640px) { .session-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .session-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.session {
  position: relative; background: linear-gradient(180deg, rgba(25, 179, 198, .08), rgba(25, 179, 198, .03));
  border: 1px solid var(--line); border-left: 4px solid var(--teal);
  border-radius: var(--radius-sm); padding: 24px 22px 22px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .3s ease;
}
.session:hover { transform: translateY(-3px); border-color: rgba(95, 212, 227, .35); }
.session.lit { box-shadow: 0 0 0 2px var(--teal-hi), 0 20px 50px -20px rgba(25, 179, 198, .6); }
.session .num { font: 700 26px/1 var(--font-display); color: var(--teal); display: block; margin-bottom: 14px; }
.session h3 { font-size: 19px; line-height: 1.25; font-weight: 600; margin-bottom: 10px; }
.session p { color: var(--text-2); font-size: 15px; margin: 0; }
.sessions-note { margin-top: 28px; color: var(--text-3); font-size: 14px; border-top: 1px solid var(--line); padding-top: 18px; }

/* ---------- register ---------- */
.register {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(72px, 10vw, 128px) 0;
  background: linear-gradient(160deg, #041824 0%, #062a35 55%, #073a44 100%);
  scroll-margin-top: 56px;
}
.register-glow {
  position: absolute; z-index: -1; right: -10%; top: -20%; width: 70%; height: 140%;
  background:
    radial-gradient(closest-side, rgba(95, 212, 227, .22), transparent 70%);
  filter: blur(10px);
}
.register::after { /* light path, echoing the brochure's back cover */
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: conic-gradient(from 200deg at 85% 110%, transparent 0deg, rgba(95, 212, 227, .10) 25deg, transparent 50deg);
  pointer-events: none;
}
.register-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .register-grid { grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; } }
.register-copy { border-left: 4px solid var(--teal); padding-left: clamp(18px, 3vw, 32px); }

.form-card {
  background: rgba(3, 13, 22, .72); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 4vw, 36px);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 40px 100px -50px rgba(0, 0, 0, .9);
}
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; min-width: 0; }
.field-row { display: grid; gap: 0 14px; }
@media (min-width: 520px) { .field-row { grid-template-columns: 1fr 1fr; } }
label { font-size: 14px; font-weight: 500; color: var(--text); }
.opt { color: var(--text-3); font-weight: 400; font-size: 12.5px; margin-left: 4px; }
input[type="text"], input[type="email"], input[type="tel"], select {
  width: 100%; font: 400 16px/1.3 var(--font-body); color: #fff;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(169, 195, 205, .22);
  border-radius: 10px; padding: 13px 14px; transition: border-color .15s, background .15s;
  appearance: none; -webkit-appearance: none;
}
select {
  background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%;
  background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px;
}
select option { background: var(--ink-2); color: #fff; }
input:focus, select:focus { outline: none; border-color: var(--teal-hi); background: rgba(25, 179, 198, .06); box-shadow: 0 0 0 3px rgba(25, 179, 198, .2); }
input[aria-invalid="true"] { border-color: var(--danger); }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; color: var(--text-2); font-size: 14px; margin: 6px 0 20px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--teal); flex: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: var(--danger); font-size: 14px; margin: -4px 0 14px; }

.success { text-align: center; padding: 24px 8px; animation: rise .5s ease both; }
.success:focus { outline: none; }
.success-mark {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center; font-size: 30px; color: var(--ink-0);
  background: var(--teal-hi); box-shadow: 0 0 0 10px rgba(95, 212, 227, .12);
}
.success h3 { font-size: 26px; margin-bottom: 10px; }
.success p { color: var(--text-2); margin: 0; }

/* ---------- footer ---------- */
.footer { background: var(--ink-0); border-top: 1px solid var(--line); padding: 28px 0; font-size: 13.5px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }

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