/* =========================================================
   Newham Aspire — Design System v2
   Energetic, youthful and modern, still credible.
   Brand: teal-blue + orange, from the logo.
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --primary:        #0e5a78;
  --primary-dark:   #093f56;
  --primary-darker: #06303f;
  --primary-light:  #e3eef2;
  --accent:         #f39317;
  --accent-dark:    #d97e0a;
  --accent-ink:     #4a2a00;
  --cyan:           #17a2c4;   /* brighter pop for gradients/variety */
  --teal-soft:      #176768;

  /* Gradients */
  --grad-hero:   linear-gradient(135deg, #0b4a63 0%, #0e5a78 38%, #17879b 68%, #f39317 140%);
  --grad-accent: linear-gradient(120deg, #ffb020 0%, #f39317 55%, #ef6a1f 100%);
  --grad-cool:   linear-gradient(135deg, #0e5a78, #17a2c4);
  --grad-text:   linear-gradient(100deg, #ffb020, #f39317 55%, #ff7a3d);

  /* Card tints */
  --tint-teal:   #e7f3f6;
  --tint-orange: #fff2e2;
  --tint-cyan:   #e4f5f9;
  --tint-mint:   #e9f6f0;

  /* Neutrals */
  --ink:            #0d1b26;
  --body:           #384654;
  --muted:          #6a7683;
  --line:           #e6ebef;
  --bg:             #ffffff;
  --bg-soft:        #f4f8f9;
  --bg-dark:        #0a2836;

  /* System */
  --radius-sm:      12px;
  --radius:         18px;
  --radius-lg:      28px;
  --radius-xl:      38px;
  --shadow-sm:      0 2px 10px rgba(9,40,54,.06);
  --shadow-md:      0 12px 30px rgba(9,40,54,.10);
  --shadow-lg:      0 28px 60px rgba(9,40,54,.18);
  --shadow-pop:     0 10px 24px rgba(243,147,23,.28);
  --shadow-pop-teal:0 10px 24px rgba(14,90,120,.26);
  --container:      1160px;
  --gutter:         clamp(1.1rem, 4vw, 2rem);

  --font-head: "Space Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1.03rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--primary-dark); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.08;
  font-weight: 700;
  margin: 0 0 .55em;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.3rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
li { margin-bottom: .4rem; }
::selection { background: var(--accent); color: var(--accent-ink); }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(3.4rem, 8vw, 6rem); position: relative; }
.section--soft { background: var(--bg-soft); }
.section--tint { background: var(--tint-teal); }
.section--dark { background: var(--bg-dark); color: #cbd8df; }
.section--dark h2, .section--dark h3 { color: #fff; }

.section-head { max-width: 720px; margin: 0 auto clamp(2rem, 5vw, 3.2rem); text-align: center; }
.section-head.left { margin-inline: 0; text-align: left; }
.section-head .lead { margin-top: .2rem; }

/* Eyebrow → pill badge */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary-dark);
  background: var(--primary-light);
  padding: .4rem .85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
}
.lead { font-size: 1.15rem; color: var(--muted); }

/* Gradient text highlight */
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* Marker highlight under a word */
.mark {
  position: relative;
  white-space: nowrap;
}
.mark::after {
  content: "";
  position: absolute;
  left: -2%; right: -2%; bottom: .06em;
  height: .34em;
  background: var(--accent);
  opacity: .38;
  border-radius: 999px;
  z-index: -1;
}

/* Decorative blobs / dots */
.blob { position: absolute; border-radius: 50%; filter: blur(6px); opacity: .5; pointer-events: none; z-index: 0; }
.deco-dots {
  position: absolute; z-index: 0; pointer-events: none;
  background-image: radial-gradient(currentColor 2px, transparent 2px);
  background-size: 18px 18px;
  opacity: .18;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .16s cubic-bezier(.34,1.56,.64,1), box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-pop-teal); }
.btn--primary:hover { background: var(--primary-dark); color: #fff; box-shadow: 0 16px 30px rgba(14,90,120,.34); }
.btn--accent { background: var(--grad-accent); color: #fff; box-shadow: var(--shadow-pop); }
.btn--accent:hover { color: #fff; box-shadow: 0 16px 30px rgba(243,147,23,.4); }
.btn--ghost { background: #fff; color: var(--primary); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary-dark); }
.btn--light { background: #fff; color: var(--primary-dark); box-shadow: var(--shadow-sm); }
.btn--light:hover { background: #fff; color: var(--primary-dark); }
.btn--outline-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.6); }
.btn--outline-light:hover { background: rgba(255,255,255,.18); color: #fff; border-color: #fff; }
.btn--lg { padding: 1rem 2.1rem; font-size: 1.08rem; }
.btn__arrow { transition: transform .18s ease; }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}
.brand { display: inline-flex; align-items: center; gap: .7rem; font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.16rem; }
.brand:hover { color: var(--ink); }
.brand__logo { width: 50px; height: 50px; flex: 0 0 auto; border-radius: 14px; transition: transform .3s cubic-bezier(.34,1.56,.64,1); }
.brand:hover .brand__logo { transform: rotate(-6deg) scale(1.05); }
.brand__name small { display: block; font-size: .64rem; font-weight: 600; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; margin-top: 2px; }

.nav__links { display: flex; align-items: center; gap: .2rem; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .98rem;
  color: var(--body);
  padding: .5rem .85rem;
  border-radius: 999px;
  white-space: nowrap;
  transition: color .15s ease, background .15s ease;
}
.nav__links a:hover { color: var(--primary-dark); background: var(--primary-light); }
.nav__links a[aria-current="page"] { color: var(--primary-dark); font-weight: 700; background: var(--primary-light); }
.nav__cta { margin-left: .4rem; }
.nav__cta .btn--primary { color: #fff; }
.nav__cta .btn--primary:hover { color: #fff; }
.nav__cta .btn--primary[aria-current="page"] { background: var(--grad-accent); color: #fff; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  cursor: pointer;
}
.nav__toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: .15rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: .8rem var(--gutter) 1.3rem;
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: .8rem .7rem; font-size: 1.05rem; }
  .nav__cta { margin: .5rem 0 0; }
  .nav__cta .btn { width: 100%; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #eef4f6;
  background: var(--grad-hero);
  background-color: var(--primary);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  /* dotted texture */
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background-image: radial-gradient(rgba(255,255,255,.10) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  mask-image: radial-gradient(120% 90% at 70% 10%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(120% 90% at 70% 10%, #000 30%, transparent 75%);
}
.hero__blob1 { width: 460px; height: 460px; top: -160px; right: -120px; background: radial-gradient(circle at 30% 30%, rgba(255,176,32,.55), rgba(243,147,23,0) 70%); }
.hero__blob2 { width: 380px; height: 380px; bottom: -170px; left: -110px; background: radial-gradient(circle at 40% 40%, rgba(23,162,196,.5), rgba(23,162,196,0) 70%); }
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(3rem, 7vw, 5.5rem);
}
.hero .eyebrow { color: #fff; background: rgba(255,255,255,.14); }
.hero .eyebrow::before { background: var(--accent); }
.hero__title { margin-bottom: .4rem; color: #fff; font-size: clamp(2.7rem, 6.4vw, 4.6rem); letter-spacing: -.03em; }
.hero__title .accent { color: #ffce7a; }
.hero__title .mark::after { opacity: .9; background: var(--accent); height: .22em; }
.hero__text { font-size: clamp(1.1rem, 1.6vw, 1.28rem); color: #d3dfe4; max-width: 54ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero__stats { display: flex; gap: clamp(1.2rem, 4vw, 2.6rem); flex-wrap: wrap; margin-top: 2.4rem; }
.hero__stat strong { display: block; font-family: var(--font-head); font-size: 1.7rem; color: #fff; line-height: 1.1; }
.hero__stat span { font-size: .85rem; color: #a7bcc4; }

.hero__art {
  position: relative;
  z-index: 1;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: var(--shadow-lg);
  overflow: visible;
  display: grid;
  place-items: center;
  transform: rotate(-1.4deg);
}
.hero__art svg { width: 100%; height: auto; border-radius: var(--radius-lg); }
/* Photo variant: let the image set its own height (no aspect-ratio +
   object-fit collapse in Safari). The image's natural 3:2 shapes the card. */
.hero__art--photo {
  aspect-ratio: auto;
  display: block;
  padding: 0;
  background: none;
  border: none;
}
.hero__art--photo img { width: 100%; height: auto; display: block; border-radius: var(--radius-lg); }
/* Floating sticker chips on the hero image */
.hero__chip {
  position: absolute;
  z-index: 3;
  display: inline-flex; align-items: center; gap: .45rem;
  background: #fff; color: var(--ink);
  font-family: var(--font-head); font-weight: 600; font-size: .9rem;
  padding: .55rem .95rem; border-radius: 999px;
  box-shadow: var(--shadow-md);
}
.hero__chip svg { width: 18px; height: 18px; }
.hero__chip--1 { top: -16px; left: -14px; transform: rotate(-6deg); color: var(--primary-dark); animation: floaty 5s ease-in-out infinite; }
.hero__chip--2 { bottom: -16px; right: -10px; transform: rotate(5deg); color: var(--accent-dark); animation: floaty 6s ease-in-out infinite .6s; }
@keyframes floaty { 0%,100% { translate: 0 0; } 50% { translate: 0 -9px; } }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { order: -1; max-width: 460px; margin-inline: auto; transform: rotate(-1deg); }
}

/* ---------- Marquee ticker ---------- */
.marquee {
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  padding-block: .85rem;
  border-top: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
}
.marquee__track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  align-items: center;
  animation: marquee 32s linear infinite;
  will-change: transform;
}
.marquee span {
  flex: 0 0 auto;
  white-space: nowrap;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
}
.marquee span::before { content: "\2726"; color: var(--accent); margin: 0 1.6rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.9rem;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #cfe0e6; }
.card__icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: var(--primary-light);
  color: var(--primary-dark);
  margin-bottom: 1.2rem;
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: .45rem; }
.card p { color: var(--muted); margin-bottom: 0; }
.card__link { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.1rem; font-family: var(--font-head); font-weight: 600; font-size: .96rem; }
.card__link::after { content: "→"; transition: transform .15s ease; }
.card__link:hover::after { transform: translateX(4px); }

/* Colourful "offer" bento cards */
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .offer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .offer-grid { grid-template-columns: 1fr; } }
.offer {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  background: #fff;
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.offer:hover { transform: translateY(-6px) rotate(-.5deg); box-shadow: var(--shadow-md); }
.offer__icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center; margin-bottom: 1.1rem;
  color: #fff;
}
.offer__icon svg { width: 28px; height: 28px; }
.offer h3 { margin-bottom: .4rem; font-size: 1.22rem; }
.offer p { color: var(--body); margin: 0; font-size: .97rem; }
.offer--teal   { background: var(--tint-teal); }
.offer--teal   .offer__icon { background: var(--primary); }
.offer--orange { background: var(--tint-orange); }
.offer--orange .offer__icon { background: var(--accent-dark); }
.offer--cyan   { background: var(--tint-cyan); }
.offer--cyan   .offer__icon { background: var(--cyan); }
.offer--mint   { background: var(--tint-mint); }
.offer--mint   .offer__icon { background: var(--teal-soft); }

/* Programme / workshop card */
.course {
  display: flex; flex-direction: column;
  background: #fff; border: 1.5px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.course:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.course__top { padding: 1.5rem 1.5rem 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.course__tag {
  display: inline-block; font-size: .72rem; font-weight: 700; font-family: var(--font-head);
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--primary-dark); background: var(--primary-light);
  padding: .3rem .75rem; border-radius: 999px;
}
.course__tag--accent { color: var(--accent-ink); background: #ffe1c2; }
.course__body { padding: 1.2rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.course__body h3 { margin-bottom: .5rem; }
.course__meta { list-style: none; padding: 0; margin: 1rem 0 1.4rem; display: grid; gap: .55rem; }
.course__meta li { display: flex; align-items: center; gap: .55rem; font-size: .95rem; color: var(--body); margin: 0; }
.course__meta svg { width: 17px; height: 17px; color: var(--accent-dark); flex: 0 0 auto; }
.course__body .btn { margin-top: auto; }
.course p { color: var(--muted); }
.course__icon {
  width: 52px; height: 52px; border-radius: 15px;
  display: grid; place-items: center;
  background: var(--primary-light); color: var(--primary-dark);
  margin-bottom: .4rem;
}
.course__icon svg { width: 26px; height: 26px; }

/* Feature (icon + text row) */
.feature { display: flex; gap: 1.1rem; align-items: flex-start; }
.feature__icon { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 15px; background: var(--primary-light); color: var(--primary-dark); display: grid; place-items: center; }
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.feature p { margin: 0; color: var(--muted); font-size: .97rem; }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 1.5rem; }
.step { display: flex; gap: 1.2rem; align-items: flex-start; }
.step__num {
  counter-increment: step; flex: 0 0 auto;
  width: 50px; height: 50px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--grad-accent); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 1.15rem;
  box-shadow: var(--shadow-pop);
  transform: rotate(-4deg);
}
.step:nth-child(even) .step__num { background: var(--grad-cool); box-shadow: var(--shadow-pop-teal); transform: rotate(4deg); }
.step__num::before { content: counter(step); }
.step h3 { margin-bottom: .3rem; font-size: 1.18rem; }
.step p { margin: 0; color: var(--muted); }

/* Check list */
.check-list { list-style: none; padding: 0; margin: 1.3rem 0; display: grid; gap: .75rem; }
.check-list li { display: flex; gap: .75rem; align-items: flex-start; margin: 0; color: var(--body); font-weight: 500; }
.check-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 24px; height: 24px; margin-top: .1rem;
  border-radius: 8px;
  background: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 15px 15px;
}

/* ---------- Split / media rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--reverse .split__media { order: 2; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }
.split__media {
  border-radius: var(--radius-lg); aspect-ratio: 4/3;
  background: var(--grad-cool);
  border: 1px solid var(--line);
  display: grid; place-items: center; padding: clamp(1.4rem, 4vw, 2.4rem);
  box-shadow: var(--shadow-md);
  color: #fff;
  transform: rotate(1deg);
}
.split--reverse .split__media { transform: rotate(-1deg); }
.split__media svg { width: min(82%, 320px); height: auto; }
.split__media--soft { background: linear-gradient(140deg, #e2f0f4, #eaf6f2); color: var(--primary-dark); }
.split__media--photo { padding: 0; background: none; overflow: hidden; aspect-ratio: auto; }
.split__media--photo img { width: 100%; height: auto; object-fit: cover; display: block; border-radius: var(--radius-lg); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--grad-hero);
  color: #fff; border-radius: var(--radius-xl);
  padding: clamp(2.4rem, 6vw, 4rem);
  text-align: center;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  isolation: isolate;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(255,255,255,.12) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  mask-image: radial-gradient(90% 80% at 80% 0%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(90% 80% at 80% 0%, #000 20%, transparent 70%);
}
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); }
.cta-band p { color: rgba(255,255,255,.92); max-width: 54ch; margin-inline: auto; font-size: 1.1rem; }
.cta-band .hero__actions { justify-content: center; }

/* ---------- Forms ---------- */
.form-card {
  background: #fff; border: 1.5px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 2.6rem);
  box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--ink); }
.field label .req { color: #e0503a; }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: .8rem .95rem; border: 1.5px solid var(--line); border-radius: 12px;
  background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(243,147,23,.18);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: .88rem; color: var(--muted); margin-top: 1rem; }
.form-subhead {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--ink);
  margin: 1.7rem 0 .2rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
}
.form-card > form > .form-subhead:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.form-hint { font-size: .9rem; color: var(--muted); margin: .3rem 0 1rem; }

.check-group { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem .9rem; }
@media (max-width: 620px) { .check-group { grid-template-columns: 1fr; } }
.check-option {
  display: flex; align-items: center; gap: .6rem;
  padding: .65rem .85rem; border: 1.5px solid var(--line); border-radius: 12px;
  font-size: .95rem; cursor: pointer; transition: border-color .15s ease, background .15s ease;
}
.check-option:hover { border-color: var(--accent); background: var(--tint-orange); }
.check-option input { width: 18px; height: 18px; accent-color: var(--accent-dark); flex: 0 0 auto; }
.consent-list { display: grid; gap: .6rem; margin-top: .3rem; }
.consent-list .check-option { align-items: flex-start; }
.consent-list .check-option input { margin-top: .18rem; }
.consent-list .req { color: #d64545; font-weight: 700; }

/* Introductory-course registration: one form for parents and young people */
.reg-form { display: flex; flex-direction: column; gap: 1.35rem; }
.reg-toggle { order: 0; border: 0; padding: 0; margin: 0; min-inline-size: 0; }
.reg-toggle legend { padding: 0; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: .5rem; }
@media (max-width: 480px) { .seg { grid-template-columns: 1fr; } }
.seg__opt {
  display: flex; align-items: center; gap: .55rem;
  padding: .75rem .9rem; border: 1.5px solid var(--line); border-radius: 12px;
  cursor: pointer; font-weight: 600; transition: border-color .15s ease, background .15s ease;
}
.seg__opt:hover { border-color: var(--accent); }
.seg__opt:has(input:checked) { border-color: var(--primary); background: var(--tint-teal); }
.seg__opt input { width: 18px; height: 18px; accent-color: var(--primary); flex: 0 0 auto; }
.seg__sub { font-weight: 500; color: var(--muted); }
.reg-section .form-subhead { margin: 0 0 .2rem; padding-top: 0; border-top: 0; }
.reg-section--consent { order: 5; }
.reg-submit { order: 6; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.reg-form .form-note { order: 7; margin-top: 0; }
.mode-parent .reg-section--guardian,
.mode-youth  .reg-section--youngperson { order: 1; }
.mode-parent .reg-section--youngperson,
.mode-youth  .reg-section--guardian { order: 2; }
.mode-parent .t-youth, .mode-youth .t-parent { display: none; }
.mode-parent .consent-youth, .mode-youth .consent-parent { display: none; }

/* Long-form policy pages */
.legal { max-width: 760px; margin-inline: auto; }
.legal h2 {
  font-size: 1.45rem; margin: 2.4rem 0 .6rem; padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.legal h2:first-of-type { margin-top: .6rem; padding-top: 0; border-top: 0; }
.legal h3 { font-size: 1.05rem; margin: 1.5rem 0 .4rem; color: var(--primary-dark); }
.legal p { color: var(--muted); margin: 0 0 1rem; }
.legal ul { padding-left: 1.15rem; margin: .5rem 0 1.2rem; display: grid; gap: .5rem; }
.legal li { color: var(--muted); }
.legal li strong, .legal p strong { color: var(--ink); }
.legal .updated {
  display: inline-block; font-size: .88rem; color: var(--primary-dark);
  background: var(--tint-teal); padding: .4rem .8rem; border-radius: 999px; margin-bottom: .4rem;
}

/* ---------- Contact info ---------- */
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.3rem; }
.info-list li { display: flex; gap: .95rem; align-items: flex-start; margin: 0; }
.info-list .info-ic { flex: 0 0 auto; width: 50px; height: 50px; border-radius: 15px; background: var(--primary-light); color: var(--primary-dark); display: grid; place-items: center; }
.info-list .info-ic svg { width: 23px; height: 23px; }
.info-list strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 1rem; }
.info-list span, .info-list a { color: var(--muted); font-size: .97rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin-inline: auto; }
.faq details {
  border: 1.5px solid var(--line); border-radius: var(--radius);
  background: #fff; padding: .3rem 1.3rem; margin-bottom: .8rem;
  box-shadow: var(--shadow-sm);
  transition: border-color .15s ease;
}
.faq details[open] { border-color: #cfe0e6; }
.faq summary {
  cursor: pointer; list-style: none; padding: 1rem 0;
  font-family: var(--font-head); font-weight: 600; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--accent-dark); transition: transform .2s ease; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 1.1rem; margin: 0; }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  position: relative;
  background: var(--grad-hero);
  color: #eef4f6;
  padding-block: clamp(3rem, 7vw, 4.6rem);
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(255,255,255,.10) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  mask-image: radial-gradient(100% 90% at 85% 0%, #000 25%, transparent 72%);
  -webkit-mask-image: radial-gradient(100% 90% at 85% 0%, #000 25%, transparent 72%);
}
.page-hero h1 { color: #fff; }
.page-hero .eyebrow { color: #fff; background: rgba(255,255,255,.14); }
.page-hero .lead { max-width: 62ch; color: #d3dfe4; }
.page-hero .lead a { color: #ffce7a; text-decoration: underline; }
.breadcrumb { font-size: .85rem; color: #a7bcc4; margin-bottom: .9rem; }
.breadcrumb a { color: #cfe0e6; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Notice / callout ---------- */
.notice {
  border: 2px dashed var(--accent);
  background: var(--tint-orange);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  font-size: .96rem;
  color: #8a4a10;
}
.notice strong { color: #6f3810; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-dark); color: #a7b7c0; padding-block: 3.4rem 1.9rem; position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand { color: #fff; margin-bottom: .9rem; }
.site-footer .brand__name small { color: #7f96a1; }
.footer-about p { color: #8ea1ab; font-size: .95rem; max-width: 34ch; }
.footer-col h4 { color: #fff; font-family: var(--font-head); font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .55rem; }
.footer-col a { color: #a7b7c0; font-size: .96rem; }
.footer-col a:hover { color: #fff; }
.socials { display: flex; gap: .6rem; margin-top: 1rem; }
.socials a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #cdd9df; transition: transform .16s ease, background .16s ease, color .16s ease; }
.socials a:hover { background: var(--grad-accent); color: #fff; transform: translateY(-3px); }
.socials svg { width: 19px; height: 19px; }
.footer-bottom {
  margin-top: 2.8rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .88rem; color: #7f96a1;
}
.footer-bottom a { color: #a7b7c0; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 1rem; }
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--primary); color: #fff; padding: .6rem 1rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Mentor area ---------- */
.lock-card { max-width: 540px; margin-inline: auto; text-align: center; }
.lock-card .lock-ic { width: 66px; height: 66px; border-radius: 18px; background: var(--primary-light); color: var(--primary-dark); display: grid; place-items: center; margin: 0 auto 1.1rem; }
.lock-card .lock-ic svg { width: 30px; height: 30px; }
.lock-card .field { text-align: left; margin-top: 1.2rem; }
.lock-status { min-height: 1.2rem; margin: .8rem 0 0; font-size: .95rem; color: #c0392b; }
.mentor-docs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.3rem; }
@media (max-width: 700px) { .mentor-docs { grid-template-columns: 1fr; } }
.doc { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); transition: transform .16s ease, box-shadow .16s ease; }
.doc:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.doc__ic { flex: 0 0 auto; width: 50px; height: 50px; border-radius: 14px; background: var(--tint-orange); color: var(--accent-dark); display: grid; place-items: center; }
.doc__ic svg { width: 24px; height: 24px; }
.doc h3 { font-size: 1.12rem; margin-bottom: .25rem; }
.doc p { color: var(--muted); font-size: .93rem; margin: 0 0 .8rem; }
.doclink { font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--primary-dark); display: inline-flex; align-items: center; gap: .4rem; }
.doclink svg { width: 16px; height: 16px; }
.doclink:hover { color: var(--accent-dark); }
[hidden] { display: none !important; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.22,1,.36,1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero__art, .split__media, .step__num { transform: none !important; }
}
