@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800;900&family=Source+Serif+4:ital,opsz,wght@0,8..60,400;1,8..60,400;1,8..60,600&family=Figtree:wght@400;500;600&display=swap");

:root {
  --abyss: #010a1c;
  --deep: #010f27;
  --deep-2: #05183a;
  --deep-3: #0b2550;
  --mint: #4ff0c4;
  --aqua: #3fd6e8;
  --blue: #2f8cff;
  --blue-deep: #1d4fd8;
  --white: #f4f8ff;
  --mist: #a9bad6;
  --dim: #6f83a6;
  --line: rgba(120, 180, 255, 0.16);
  --line-strong: rgba(79, 240, 196, 0.45);
  --grad: linear-gradient(180deg, var(--mint) 0%, var(--aqua) 45%, var(--blue) 80%, var(--blue-deep) 100%);
  --display: "Montserrat", system-ui, sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
  --body: "Figtree", system-ui, sans-serif;
  --wrap: 1180px;
  --r: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--deep);
  color: var(--white);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--mint); color: var(--deep); }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; line-height: 1.05; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(42px, 6.4vw, 84px); letter-spacing: -0.035em; }
h2 { font-size: clamp(32px, 4.2vw, 52px); letter-spacing: -0.03em; }
h3 { font-size: 22px; }
p { margin: 0; }
.mint { color: var(--mint); }
.kicker {
  font-family: var(--display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--aqua);
}
.lede { font-size: 20px; color: var(--mist); max-width: 54ch; }
.quote-serif { font-family: var(--serif); font-style: italic; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(1, 15, 39, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 42px; height: 42px; object-fit: cover; object-position: top; border-radius: 10px; background: var(--deep); }
.wordmark { font-family: var(--display); font-weight: 800; font-size: 25px; letter-spacing: -0.03em; line-height: 1; }
.wordmark b { color: var(--mint); font-weight: 800; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--mist); transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--mint); padding-bottom: 2px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--white); padding: 8px 14px; border-radius: 999px; font: 600 14px var(--body); cursor: pointer; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px;
  font: 700 15px/1 var(--display);
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .25s, background .2s, border-color .2s, color .2s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--mint); color: var(--deep); box-shadow: 0 0 0 0 rgba(79,240,196,.0), 0 10px 30px -12px rgba(79,240,196,.7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 6px rgba(79,240,196,.14), 0 16px 34px -12px rgba(79,240,196,.8); }
.btn-ghost { border-color: rgba(169,186,214,.4); color: var(--white); background: transparent; }
.btn-ghost:hover { border-color: var(--mint); color: var(--mint); }
.btn-sm { padding: 11px 18px; font-size: 13px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

/* Hero */
.hero { position: relative; padding: 70px 0 40px; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(45% 55% at 25% 55%, rgba(47,140,255,.20), transparent 70%),
    radial-gradient(35% 40% at 80% 10%, rgba(79,240,196,.10), transparent 70%);
}
.hero .wrap { display: grid; grid-template-columns: minmax(280px, 0.85fr) 1.15fr; gap: 56px; align-items: center; }
.hero-emblem { position: relative; }
.hero-emblem img {
  width: 100%; max-width: 460px; margin-inline: auto;
  -webkit-mask-image: radial-gradient(70% 72% at 50% 50%, #000 62%, transparent 100%);
          mask-image: radial-gradient(70% 72% at 50% 50%, #000 62%, transparent 100%);
  animation: bob 7s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero h1 .lit { color: var(--white); }
.hero h1 .dredge { color: var(--mint); }
.hero .tagline { margin-top: 18px; font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.6vw, 32px); letter-spacing: -0.01em; }
.hero .engine { margin-top: 14px; }
.hero .lede { margin-top: 26px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-note { margin-top: 20px; font-size: 14px; color: var(--dim); }

.reveal { opacity: 0; transform: translateY(16px); animation: rise .8s cubic-bezier(.2,.7,.2,1) forwards; }
.d1 { animation-delay: .06s; } .d2 { animation-delay: .16s; } .d3 { animation-delay: .28s; } .d4 { animation-delay: .4s; } .d5 { animation-delay: .52s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; opacity: 1; transform: none; }
  .hero-emblem img, .wave-row { animation: none !important; }
}

/* Waterline divider */
.waterline { position: relative; height: 40px; margin-top: 20px; overflow: hidden; }
.wave-row { position: absolute; inset: 0; width: 200%; animation: drift 18s linear infinite; }
.wave-row path { fill: none; stroke: var(--aqua); stroke-width: 2.5; opacity: .7; }
@keyframes drift { to { transform: translateX(-50%); } }

/* Sections */
section { padding: 96px 0; position: relative; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 52px; }
.section-head h2 { margin-top: 14px; }
.section-head p { color: var(--mist); }
.deeper { background: linear-gradient(180deg, var(--deep) 0%, var(--abyss) 100%); }

/* Depth gauge (the four nets) */
.nets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: depth; }
.net {
  position: relative;
  padding: 30px 26px 28px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(11,37,80,.55), rgba(5,24,58,.2));
  counter-increment: depth;
}
.net::before {
  content: "−" counter(depth, decimal-leading-zero) "m";
  font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: .2em; color: var(--dim);
}
.net h3 { margin: 22px 0 10px; font-size: 26px; }
.net p { color: var(--mist); font-size: 15px; }
.net:nth-child(1) h3 { color: var(--mint); }
.net:nth-child(2) h3 { color: var(--aqua); }
.net:nth-child(3) h3 { color: #4fb4ff; }
.net:nth-child(4) h3 { color: var(--blue); }
.net:nth-child(2) { transform: translateY(18px); }
.net:nth-child(3) { transform: translateY(36px); }
.net:nth-child(4) { transform: translateY(54px); }

/* Game cards */
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.game-card {
  position: relative;
  display: flex; flex-direction: column;
  min-height: 330px;
  padding: 26px;
  border-radius: var(--r);
  background: var(--deep-2);
  border: 1px solid var(--line);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: transform .25s ease, border-color .25s, box-shadow .25s;
}
.game-card::before {
  content: ""; position: absolute; left: -20%; right: -20%; top: -60%; height: 120%; z-index: -1;
  background: radial-gradient(closest-side, var(--glow, rgba(79,240,196,.22)), transparent);
  transition: transform .4s ease;
}
.game-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 24px 50px -28px rgba(47,140,255,.6); }
.game-card:hover::before { transform: translateY(14%); }
.game-card .status { align-self: flex-start; font: 700 11px var(--display); letter-spacing: .16em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }
.status.live { background: rgba(79,240,196,.14); color: var(--mint); }
.status.soon { background: rgba(169,186,214,.12); color: var(--mist); }
.game-card h3 { font-size: 32px; margin: 44px 0 8px; letter-spacing: -0.03em; }
.game-card .text { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--aqua); }
.game-card .author { font-size: 14px; color: var(--dim); }
.game-card .themes { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.game-card .themes span { font-size: 12px; padding: 4px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--mist); }
.game-card .foot { margin-top: auto; padding-top: 22px; display: flex; justify-content: space-between; align-items: center; font: 700 13px var(--display); color: var(--mint); }
.game-card .foot .arrow { transition: transform .2s; }
.game-card:hover .foot .arrow { transform: translateX(4px); }
.game-card.more { border-style: dashed; background: transparent; justify-content: center; text-align: center; align-items: center; gap: 10px; }
.game-card.more::before { display: none; }
.game-card.more .big { font-family: var(--display); font-weight: 900; font-size: 72px; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.game-card.more p { color: var(--mist); font-size: 15px; max-width: 24ch; }

/* Audience split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel { padding: 44px; border-radius: var(--r); border: 1px solid var(--line); background: var(--deep-2); }
.panel.bright { background: var(--grad); color: var(--deep); border: 0; }
.panel.bright .kicker { color: var(--deep); }
.panel h3 { font-size: 34px; margin: 14px 0 14px; }
.panel ul { padding-left: 0; list-style: none; margin: 22px 0 30px; }
.panel li { padding: 8px 0 8px 28px; position: relative; }
.panel li::before { content: ""; position: absolute; left: 0; top: 16px; width: 14px; height: 2px; background: currentColor; opacity: .7; }
.panel .from { font-family: var(--display); font-weight: 800; font-size: 18px; }
.panel.bright .btn-primary { background: var(--deep); color: var(--white); box-shadow: none; }

/* Quote band */
.quote-band { padding: 110px 0; text-align: center; }
.quote-band blockquote { margin: 0 auto; max-width: 22ch; font-family: var(--serif); font-style: italic; font-size: clamp(30px, 4vw, 50px); line-height: 1.2; }
.quote-band blockquote::before { content: "\201C"; display: block; font-family: var(--display); font-style: normal; font-weight: 900; font-size: 90px; line-height: .6; margin-bottom: 20px; color: var(--mint); }
.quote-band cite { display: block; margin-top: 24px; font-style: normal; color: var(--dim); font-size: 15px; }

/* Pricing */
.page-hero { padding: 80px 0 30px; }
.page-hero h1 { font-size: clamp(40px, 5.6vw, 72px); margin-top: 14px; }
.page-hero .lede { margin-top: 22px; }
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 50px 0 80px; align-items: stretch; }
.tier { display: flex; flex-direction: column; padding: 32px 26px; border: 1px solid var(--line); border-radius: var(--r); background: var(--deep-2); position: relative; }
.tier.featured { border-color: var(--mint); box-shadow: 0 0 0 1px var(--mint), 0 30px 70px -30px rgba(79,240,196,.45); background: linear-gradient(180deg, #0a2c4d, var(--deep-2)); }
.tier .badge { position: absolute; top: -13px; left: 24px; background: var(--mint); color: var(--deep); font: 800 11px var(--display); letter-spacing: .14em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; }
.tier h3 { font-size: 26px; margin: 10px 0 8px; }
.tier .who { font-size: 14px; color: var(--mist); min-height: 66px; }
.price { margin: 18px 0 4px; font-family: var(--display); font-weight: 900; font-size: 52px; line-height: 1; letter-spacing: -0.04em; }
.price small { font-family: var(--body); font-weight: 500; font-size: 15px; letter-spacing: 0; color: var(--mist); }
.price-note { font-size: 13px; color: var(--dim); min-height: 20px; }
.tier ul { list-style: none; padding: 0; margin: 22px 0 28px; font-size: 15px; }
.tier li { padding: 9px 0 9px 26px; border-top: 1px solid var(--line); position: relative; color: #d5e0f2; }
.tier li::before { content: "✓"; position: absolute; left: 2px; color: var(--mint); font-weight: 700; }
.tier .btn { margin-top: auto; width: 100%; }

.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
.compare th, .compare td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.compare tr:last-child td { border-bottom: 0; }
.compare th { font: 700 12px var(--display); text-transform: uppercase; letter-spacing: .14em; color: var(--aqua); background: var(--deep-2); }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; }
.compare .y { color: var(--mint); font-weight: 700; }
.compare .n { color: var(--dim); }

.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--mint); font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 12px; color: var(--mist); }

/* Form */
.order { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.order-card { padding: 36px; border-radius: var(--r); border: 1px solid var(--line); background: var(--deep-2); }
.steps { list-style: none; padding: 0; margin: 30px 0 0; counter-reset: s; display: grid; gap: 18px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: 14px; color: var(--mist); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--mint); color: var(--mint); font: 800 14px var(--display); }
.steps b { color: var(--white); display: block; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .full { grid-column: 1 / -1; }
.form label { display: grid; gap: 7px; font-size: 14px; font-weight: 600; color: #d5e0f2; }
.form input, .form select, .form textarea {
  font: inherit; font-size: 16px;
  padding: 13px 15px;
  background: var(--deep);
  color: var(--white);
  border: 1px solid rgba(169,186,214,.28);
  border-radius: 10px;
  transition: border-color .2s, box-shadow .2s;
}
.form select option { background: var(--deep); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--mint); box-shadow: 0 0 0 4px rgba(79,240,196,.15); }
.form input:user-invalid, .form select:user-invalid { border-color: #ff7a8a; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 18px; border-radius: 10px; background: rgba(79,240,196,.07); border: 1px solid rgba(79,240,196,.25); }
.form-total span { color: var(--mist); font-size: 14px; }
.form-total strong { font-family: var(--display); font-size: 26px; font-weight: 800; color: var(--mint); }
.form-status { font-size: 15px; min-height: 24px; }
.form-status.err { color: #ff8f9c; }
.form-done { text-align: center; padding: 40px 10px; }
.form-done h3 { font-size: 30px; margin-bottom: 12px; }
.form-done p { color: var(--mist); }

/* Game page */
.game-hero { padding: 60px 0 36px; }
.crumbs { font-size: 14px; color: var(--dim); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--mint); }
.game-hero h1 { margin: 18px 0 10px; font-size: clamp(44px, 6vw, 76px); }
.game-hero .text { font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--aqua); }
.game-hero .text span { font-style: normal; font-family: var(--body); font-size: 17px; color: var(--dim); }
.game-layout { display: grid; grid-template-columns: 1fr 320px; gap: 32px; padding-bottom: 100px; }
.stage { position: relative; aspect-ratio: 16 / 10; background: var(--abyss); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; }
.gate {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 18px; padding: 30px;
  background: radial-gradient(circle at 50% 30%, rgba(47,140,255,.22), transparent 60%), var(--abyss);
}
.gate img { width: 120px; margin: 0 auto 6px; opacity: .95; }
.gate h2 { font-size: clamp(26px, 3vw, 38px); }
.gate p { color: var(--mist); max-width: 46ch; margin-inline: auto; }
.gate .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 6px; }
.stage-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; font-size: 13px; color: var(--dim); }
.stage-bar button { background: none; border: 1px solid var(--line); color: var(--white); padding: 8px 14px; font: 600 13px var(--body); border-radius: 999px; cursor: pointer; }
.stage-bar button:hover { border-color: var(--mint); color: var(--mint); }
.aside { display: grid; gap: 16px; align-content: start; }
.box { padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--deep-2); }
.box h3 { font-size: 17px; margin-bottom: 14px; letter-spacing: 0; }
.box dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; font-size: 15px; }
.box dt { color: var(--dim); font: 700 11px var(--display); text-transform: uppercase; letter-spacing: .14em; padding-top: 4px; }
.box dd { margin: 0; }
.box .themes { display: flex; flex-wrap: wrap; gap: 6px; }
.box .themes span { font-size: 13px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--mist); }
.box.cta { background: var(--grad); color: var(--deep); border: 0; }
.box.cta p { font-size: 15px; margin-bottom: 16px; }
.box.cta .btn { background: var(--deep); color: var(--white); width: 100%; box-shadow: none; }

/* Library filter */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.filters button { background: none; border: 1px solid var(--line); color: var(--mist); padding: 9px 18px; border-radius: 999px; font: 600 14px var(--body); cursor: pointer; transition: all .2s; }
.filters button:hover { border-color: var(--mint); color: var(--white); }
.filters button[aria-pressed="true"] { background: var(--mint); color: var(--deep); border-color: var(--mint); }
.empty { padding: 70px 30px; text-align: center; border: 1px dashed var(--line); border-radius: var(--r); color: var(--mist); }
.empty h3 { color: var(--white); margin-bottom: 8px; }

/* CTA + footer */
.cta-band { padding: 90px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; padding: 56px; border-radius: 24px; background: var(--grad); color: var(--deep); }
.cta-inner h2 { max-width: 16ch; }
.cta-inner .btn-primary { background: var(--deep); color: var(--white); box-shadow: none; }
.cta-inner .btn-ghost { border-color: rgba(1,15,39,.5); color: var(--deep); }
.site-footer { padding: 60px 0 40px; border-top: 1px solid var(--line); font-size: 14px; color: var(--dim); background: var(--abyss); }
.site-footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .about p { margin-top: 14px; max-width: 34ch; }
.site-footer h4 { font: 700 12px var(--display); text-transform: uppercase; letter-spacing: .18em; color: var(--white); margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--mint); }
.site-footer .legal { grid-column: 1 / -1; padding-top: 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; }

/* Responsive */
@media (max-width: 1040px) {
  .tiers { grid-template-columns: 1fr 1fr; }
  .nets { grid-template-columns: 1fr 1fr; }
  .net:nth-child(n) { transform: none; }
  .game-layout { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav { display: none; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 20px; padding: 26px 24px; background: var(--deep); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav-toggle { display: block; }
  .hero { padding: 40px 0 20px; }
  .hero .wrap, .section-head, .split, .order, .faq { grid-template-columns: 1fr; gap: 32px; }
  .hero-emblem img { max-width: 280px; }
  .tiers, .nets { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .panel, .cta-inner, .order-card { padding: 30px; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
  section { padding: 70px 0; }
}

/* ---- Pathways (GCSE / A-Level) ---- */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.path-card { display: flex; flex-direction: column; gap: 12px; padding: 36px; border-radius: var(--r); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(11,37,80,.6), rgba(5,24,58,.25)); text-decoration: none; transition: transform .25s ease, border-color .25s, box-shadow .25s; }
.path-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 24px 50px -28px rgba(47,140,255,.6); }
.path-card h3 { font-size: clamp(30px, 3.4vw, 42px); }
.path-card > p:not(.kicker) { color: var(--mist); }
.path-texts { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 0; }
.path-texts li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); }
.path-texts .t { font-family: var(--serif); font-style: italic; font-size: 18px; }
.path-texts .live { font: 700 13px var(--display); color: var(--mint); white-space: nowrap; }
.path-texts .soon { font: 600 13px var(--display); color: var(--dim); white-space: nowrap; }
.path-card .foot { margin-top: auto; padding-top: 14px; display: flex; justify-content: space-between; font: 700 14px var(--display); color: var(--mint); }
.path-card:hover .arrow { transform: translateX(4px); }
.path-card .arrow { transition: transform .2s; }
.card-tags { display: flex; gap: 6px; flex-wrap: wrap; align-self: flex-start; }
.level-tag { font: 700 11px var(--display); letter-spacing: .16em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--aqua); }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.pill-row a { text-decoration: none; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); color: var(--mist); font: 600 14px var(--body); }
.pill-row a:hover, .pill-row a[aria-current="page"] { border-color: var(--mint); color: var(--white); }
.stage.tall { aspect-ratio: auto; height: min(86vh, 920px); min-height: 520px; }
.stage:fullscreen { height: 100vh; border-radius: 0; }
.btn-mini { border: 1px solid var(--line); color: var(--white); padding: 8px 14px; font: 600 13px var(--body); border-radius: 999px; text-decoration: none; }
.btn-mini:hover { border-color: var(--mint); color: var(--mint); }
.note { margin-top: 18px; font-size: 14px; color: var(--dim); }
.nav a.btn-primary, .nav a.btn-primary:hover { color: var(--deep); }
@media (max-width: 820px) { .paths { grid-template-columns: 1fr; } .path-card { padding: 28px; } .stage.tall { height: 80vh; min-height: 460px; } }

/* ---- LitDredge additions ---- */
/* teacher biography on the home page */
.bio { padding: 90px 0; }
.bio-inner { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 48px; align-items: center; max-width: 980px; margin: 0 auto; padding: 44px 48px; border: 1px solid var(--line-strong); border-radius: var(--r); background: linear-gradient(160deg, rgba(79,240,196,.07), rgba(47,140,255,.05)); }
.bio-mark { width: 120px; height: auto; filter: drop-shadow(0 8px 24px rgba(79,240,196,.25)); }
.bio h2 { margin-top: 14px; }
.bio-text { margin: 20px 0 0; font-family: var(--serif); font-size: clamp(19px, 2vw, 23px); line-height: 1.55; color: var(--white); text-wrap: pretty; }

/* Christmas feature */
.xmas { padding: 70px 0 90px; position: relative; }
.xmas::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(2px 2px at 8% 20%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 22% 70%, #fff 50%, transparent 51%), radial-gradient(2px 2px at 37% 35%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 55% 15%, #fff 50%, transparent 51%), radial-gradient(2px 2px at 68% 60%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 83% 30%, #fff 50%, transparent 51%), radial-gradient(2px 2px at 93% 80%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 47% 88%, #fff 50%, transparent 51%); }
.xmas-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: 48px; border-radius: var(--r); border: 1px solid var(--line-strong); background: linear-gradient(150deg, rgba(79,240,196,.10), rgba(47,140,255,.06) 55%, rgba(1,15,39,.4)); }
.xmas-inner > * { min-width: 0; }
.xmas h2 { margin-top: 14px; overflow-wrap: break-word; }
.xmas-points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; color: var(--mist); }
.xmas-points li { padding-left: 28px; position: relative; }
.xmas-points li::before { content: "❄"; position: absolute; left: 0; top: 0; color: var(--mint); }

/* forms */
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--mist); }
.form .check input { width: 20px; height: 20px; min-height: 0; flex: none; margin: 2px 0 0; padding: 0; accent-color: var(--mint); }
.form .check span { line-height: 1.45; }
.form textarea { resize: vertical; }
.form-status.ok { color: var(--mint); }

/* labels */
.status.beta { background: rgba(255,196,87,.16); color: #ffd27a; }
.status.free { background: rgba(47,140,255,.18); color: #9cc6ff; }
.beta-note { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 0 0 14px; color: var(--mist); font-size: 15px; }
.game-signup { margin-top: 40px; margin-bottom: 20px; }
.game-signup .order-card { max-width: 820px; }

/* footer legal links */
.legal a { color: inherit; }
.legal a:hover { color: var(--mint); }

/* privacy, terms and other reading pages */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(24px, 2.6vw, 30px); margin: 44px 0 12px; }
.prose h3 { font-size: 20px; margin: 26px 0 8px; }
.prose p, .prose li { color: #d5e0f2; line-height: 1.7; }
.prose ul { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose a { color: var(--mint); }
.prose .updated { color: var(--dim); font-size: 14px; }
.admin-out { margin-top: 20px; font-size: 15px; color: var(--mist); }

@media (max-width: 860px) { .xmas-inner { grid-template-columns: 1fr; gap: 32px; padding: 30px 24px; } }
@media (max-width: 720px) { .bio-inner { grid-template-columns: 1fr; gap: 24px; padding: 30px 24px; } .bio-mark { width: 84px; } }
/* form fields shrink to fit their card */
.form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form > * { min-width: 0; }
.form input, .form select, .form textarea { min-width: 0; max-width: 100%; box-sizing: border-box; }
.order-card { min-width: 0; }
@media (max-width: 720px) { .form { grid-template-columns: minmax(0, 1fr); } }
