:root {
  --bg: #0d1420;
  --bg-2: #121c2c;
  --panel: #18253a;
  --line: #2a3d5a;
  --green: #2f8cff;
  --green-2: #1f6fd6;
  --chalk: #f3f7f2;
  --text: #eef3fa;
  --muted: #a7b6cc;
  --gold: #8fd0ff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 Inter, system-ui, sans-serif; }
a { color: var(--green); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
h1, h2, h3, .logo { font-family: Anton, Impact, sans-serif; font-weight: 400; letter-spacing: .5px; line-height: 1.15; }
.ico { width: 22px; height: 22px; fill: currentColor; flex: none; }

/* header */
.top { background: rgba(13, 20, 32, .96); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.bar { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-size: 24px; color: #fff; text-decoration: none; text-transform: uppercase; margin: 0; }
.logo span { color: var(--green); }
.top nav { display: flex; gap: 22px; }
.top nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.top nav a:hover, .top nav a.on { color: #fff; }
.menu { display: none; background: none; border: 0; color: #fff; font-size: 26px; cursor: pointer; }

/* hero */
.hero { position: relative; padding: 110px 0 100px; border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, transparent 85%, var(--bg)),
    radial-gradient(ellipse 30% 62% at 24% 50%, rgba(10,12,16,.5), transparent),
    url(images/cr-hero.jpg) center top / cover,
    var(--bg-2); }
.hero h1, .hero .lead, .hero .kicker { text-shadow: 0 2px 4px rgba(0,0,0,.9), 0 2px 16px rgba(0,0,0,.8); }
.hero .lead { color: #eef0f3; }
.hero .kicker { color: #8fc2ff; }
.kicker { color: var(--green); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: 14px; margin: 0 0 8px; }
.hero h1 { font-size: clamp(40px, 7vw, 72px); margin: 0 0 16px; text-transform: uppercase; }
.hero h1 span { color: var(--green); }
.lead { font-size: 19px; color: var(--muted); max-width: 680px; margin: 0 0 28px; }
.presented { color: var(--gold); font-weight: 600; margin: -12px 0 24px; }
.btn { display: inline-block; background: var(--green); color: #06101f; font-weight: 700; text-decoration: none; padding: 14px 26px; border-radius: 8px; transition: background .15s; }
.btn:hover { background: #6fb0ff; }
.btn.ghost { background: transparent; color: var(--green); border: 2px solid var(--green); padding: 12px 22px; }
.btn.ghost:hover { background: var(--green); color: var(--bg); }

/* sections */
section.wrap { padding-top: 60px; }
.sec { font-size: 36px; text-transform: uppercase; margin: 0 0 12px; }
.sec.small { font-size: 28px; display: flex; align-items: center; gap: 10px; }
.sec.small .ico { width: 30px; height: 30px; color: var(--green); }
.secintro { color: var(--muted); margin: 0 0 24px; max-width: 700px; }
.phead { background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 56px 0 44px; }
.phead h1 { font-size: clamp(34px, 6vw, 56px); margin: 0 0 10px; text-transform: uppercase; }
.phead p { color: var(--muted); font-size: 19px; max-width: 760px; margin: 0; }

.topics { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.topic { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 22px; text-decoration: none; color: var(--text); display: flex; flex-direction: column; transition: border-color .15s, transform .15s; }
.topic:hover { border-color: var(--green); transform: translateY(-2px); }
.topic .ico { width: 44px; height: 44px; padding: 10px; border-radius: 10px; background: var(--green); color: #06101f; }
.topic h3 { font-size: 24px; margin: 14px 0 6px; color: #fff; }
.topic p { margin: 0 0 14px; color: var(--muted); font-size: 15px; flex: 1; }
.count { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--green); }

.first { background: linear-gradient(90deg, rgba(47,140,255,.12), transparent), var(--panel); border: 1px solid var(--line); border-left: 6px solid var(--green); border-radius: 12px; padding: 24px 26px; }
.first h3 { font-size: 26px; margin: 6px 0 8px; color: #fff; }
.first p { margin: 0; color: var(--muted); }
.tag { color: var(--gold); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; }

.how { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.how div { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.step { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 50%; background: var(--green); color: #06101f; font-weight: 700; }
.how h3 { font-size: 24px; margin: 12px 0 6px; text-transform: uppercase; }
.how p { margin: 0; color: var(--muted); font-size: 15px; }

.sisters { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.sister { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 20px; text-decoration: none; color: var(--text); display: flex; flex-direction: column; }
a.sister:hover { border-color: var(--green); }
.sister h3 { font-size: 21px; margin: 0 0 6px; color: #fff; }
.sister p { margin: 0 0 12px; color: var(--muted); font-size: 15px; flex: 1; }
.more { font-weight: 700; color: var(--green); font-size: 14px; }
.sister.soon .more { color: var(--muted); }

.prep { color: var(--muted); background: var(--panel); border: 1px dashed var(--line); border-radius: 12px; padding: 18px 20px; margin: 0; }
.lessons { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.lessons li { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; }
.lessons a { font-weight: 700; font-size: 18px; }
.lessons p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }

.video { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.prose { max-width: 760px; }
.prose h2 { font-size: 28px; text-transform: uppercase; margin-top: 36px; }
.prose li { margin-bottom: 8px; }

footer { margin-top: 80px; background: #090e17; border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); font-size: 15px; }
footer .logo { font-size: 22px; }
.flinks a { color: var(--muted); }

/* centre the hero text in the open space beside the bench */
@media (min-width: 1000px) {
  .hero { padding: 150px 0 150px; }
  .hero .wrap { max-width: 40vw; margin: 0 0 0 4vw; text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
}

@media (max-width: 760px) {
  .menu { display: block; }
  .top nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; gap: 0; padding: 8px 16px 16px; }
  .top nav a { padding: 10px 0; font-size: 17px; }
  .nav-open .top nav { display: flex; }
  .hero { padding: 56px 0 56px;
    background: linear-gradient(180deg, rgba(10,12,16,.5), rgba(10,12,16,.7)), url(images/cr-hero.jpg) 25% center / cover, var(--bg-2); }
  .lead { font-size: 17px; }
  .topics { grid-template-columns: 1fr; }
  .sec { font-size: 30px; }
  .logo { font-size: 20px; }
}

/* full-width banner picture, with the hero text and button under it */
.hero, .hero.hero { padding: 0 0 32px; background: var(--bg); }
.hero .heroimg { display: block; width: 100%; height: auto; }
.hero .wrap { max-width: 1120px; margin: 0 auto; padding-top: 28px; text-align: left; }
.hero .lead { margin-left: 0; margin-right: 0; }
