/* ==========================================================================
   Noreak Digital — design system + landing page
   1. Tokens  2. Base  3. Layout  4. Components  5. Sections  6. Motion
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  color-scheme: light;

  /* Brand */
  --midnight: #080d28;
  --navy: #0d1a5c;
  --electric-blue: #205cff;
  --violet: #8245ff;
  --violet-soft: #b69cff;
  --gold: #ffd32a;
  --gold-deep: #f5a800;
  --mint: #18b868;
  --background: #f5f7ff;
  --surface: #fff;

  /* Text (all pass WCAG AA on their intended surface) */
  --text: #0b1130;
  --text-muted: #424b6b;
  --text-on-dark: #fff;
  --text-on-dark-muted: rgba(255, 255, 255, .84);
  --link: #1848d6;

  /* Pastel surfaces */
  --pastel-blue: linear-gradient(160deg, #eaf2ff, #dce8ff);
  --pastel-violet: linear-gradient(160deg, #f3eaff, #e6dcff);
  --pastel-mint: linear-gradient(160deg, #e3f9ef, #d3f3e4);
  --pastel-gold: linear-gradient(160deg, #fff4d6, #ffeab8);

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, #194fdc, #7335e4);
  --gradient-header-cta: linear-gradient(165deg, #0672b8, #1468d3 62%, #5845d4);
  --gradient-hero:
    radial-gradient(55% 70% at 76% 58%, rgba(130, 69, 255, .55), transparent 70%),
    radial-gradient(40% 45% at 8% 0%, rgba(32, 92, 255, .28), transparent 70%),
    linear-gradient(165deg, #070c26 0%, #0b1650 52%, #1b1275 100%);
  --gradient-dark:
    radial-gradient(60% 80% at 85% 0%, rgba(130, 69, 255, .4), transparent 70%),
    linear-gradient(165deg, #080d28, #101a63);

  /* Type */
  --font: Inter, "Avenir Next", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-display: clamp(2.125rem, 4.65vw, 3rem);
  --fs-h2: clamp(1.9rem, 3.6vw, 2.5rem);
  --fs-h3: 1.375rem;
  --fs-lead: clamp(1.05rem, 1.9vw, 1.2rem);
  --fs-body: 1rem;
  --fs-small: .875rem;

  /* Space + layout */
  --space-1: .5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: clamp(3rem, 7vw, 5rem);
  --gutter: clamp(1.25rem, 4.8vw, 3rem);
  --content: 75rem;
  --narrow: 48rem;
  --header-h: 62px;

  /* Shape + depth */
  --radius-sm: .75rem;
  --radius: 1.25rem;
  --radius-lg: 1.75rem;
  --shadow-sm: 0 2px 8px rgba(8, 13, 40, .08);
  --shadow: 0 14px 36px rgba(8, 13, 40, .12);
  --shadow-lg: 0 24px 60px rgba(8, 13, 40, .22);
  --glow-gold: 0 10px 30px rgba(255, 211, 42, .38);
  --glow-violet: 0 10px 34px rgba(130, 69, 255, .45);

  /* Focus */
  --focus: 0 0 0 3px var(--background), 0 0 0 6px var(--electric-blue);

  /* Motion */
  --ease: cubic-bezier(.22, .8, .3, 1);
  --dur-fast: 180ms;
  --dur-enter: 560ms;

  font-family: var(--font);
  line-height: 1.55;
  background: var(--background);
  color: var(--text);
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body { margin: 0; font-size: var(--fs-body); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
a { color: var(--link); }
strong, b { font-weight: 600; }

:focus-visible { outline: 3px solid var(--electric-blue); outline-offset: 3px; border-radius: 6px; }
.site-header :focus-visible, .hero :focus-visible, .section--dark :focus-visible,
.final :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--gold); color: var(--midnight); font-weight: 700;
  padding: .6rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: .75rem; }

/* 3. Layout ---------------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--content) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
/* Edge-to-edge sections keep ~14px side margins like the reference */
.container--wide { max-width: calc(var(--content) + 28px); padding-inline: 14px; }
.container--narrow { max-width: calc(var(--narrow) + var(--gutter) * 2); }

.section { padding-block: var(--space-5); }
.section--tint { background: linear-gradient(180deg, #eef1ff, var(--background)); }
.section--dark { background: var(--gradient-dark); color: var(--text-on-dark); }
.section--projects { padding-top: 1rem; }

.section__title {
  position: relative; text-align: center; padding-bottom: 1rem; margin-bottom: var(--space-4);
  font-size: var(--fs-h2); font-weight: 700; line-height: 1.1; letter-spacing: -.03em;
}
.section__title::after {
  content: ""; position: absolute; left: 50%; bottom: -.35rem; width: 9.5rem; height: 1.3rem;
  translate: -50% 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 22'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%237b2ff7'/%3E%3Cstop offset='.55' stop-color='%238f6bff'/%3E%3Cstop offset='1' stop-color='%23a9c4ff' stop-opacity='.85'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M6 16 Q78 4 154 11' fill='none' stroke='url(%23g)' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.section__title--left { text-align: left; }
.section__title--left::after { left: 0; translate: 0; }
/* One accent per screenful: the project list, the form and the FAQ stay plain */
#projects .section__title,
#inquiry .section__title,
#faq .section__title { padding-bottom: 0; }
#projects .section__title::after,
#inquiry .section__title::after,
#faq .section__title::after { display: none; }
.section__title--light { color: var(--text-on-dark); }
.section__lead { max-width: 40rem; margin: -1rem auto var(--space-4); text-align: center; color: var(--text-muted); font-size: var(--fs-lead); }
.section__lead--light { color: var(--text-on-dark-muted); }
.subtitle { margin: var(--space-5) 0 var(--space-2); text-align: center; font-size: 1.75rem; font-weight: 700; letter-spacing: -.02em; }
.center { text-align: center; }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--text-on-dark-muted); max-width: 33rem; }
.lead--dark { color: var(--text-muted); }
.note { font-size: var(--fs-small); color: var(--text-muted); }
.note--light { color: var(--text-on-dark-muted); max-width: 40rem; margin: var(--space-4) auto 0; }

.grid { display: grid; gap: 14px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 52rem; margin-inline: auto; gap: var(--space-3); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 959px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) { .grid--4, .grid--2 { grid-template-columns: 1fr; } }

/* 4. Components ------------------------------------------------------------ */
.icon { width: 1.5rem; height: 1.5rem; flex: none; }
.icon--sm { width: 1rem; height: 1rem; }
.icon--lg { width: 2.25rem; height: 2.25rem; }
.icon--xl { width: 3rem; height: 3rem; }

/* Buttons */
.btn {
  --btn-bg: var(--surface); --btn-fg: var(--text);
  appearance: none;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 2.75rem; padding: .6rem 1.4rem; border: 2px solid transparent; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg); font: inherit; font-weight: 600; text-decoration: none;
  letter-spacing: -.01em; cursor: pointer;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), filter var(--dur-fast);
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn:active { transform: translateY(1px) scale(.99); filter: brightness(.96); }
.btn:focus-visible { outline-offset: 4px; border-radius: 999px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; filter: none; box-shadow: none; }
.btn--primary {
  --btn-bg: linear-gradient(180deg, #ffe45c, var(--gold) 55%, var(--gold-deep));
  --btn-fg: var(--midnight);
  background-origin: border-box;
  box-shadow: var(--glow-gold);
}
.btn--gradient { --btn-bg: var(--gradient-brand); --btn-fg: #fff; box-shadow: var(--glow-violet); }
.btn--secondary { --btn-bg: transparent; --btn-fg: var(--electric-blue); border-color: currentColor; }
.btn--text { --btn-bg: transparent; --btn-fg: var(--link); text-decoration: underline; text-underline-offset: .25em; padding-inline: .5rem; }
.btn--sm { min-height: 2.5rem; padding: .45rem 1.1rem; font-size: var(--fs-small); }
.btn--lg { min-height: 3.5rem; font-size: 1.1rem; padding-inline: 2rem; }
.btn--xl { min-height: 64px; width: 100%; max-width: 24rem; font-size: 1.4rem; padding-inline: 2rem; justify-content: center; }
.btn__icon { order: 2; width: 1.4rem; height: 1.4rem; }
.btn--xl .btn__icon, .btn--lg .btn__icon { stroke-width: 2.4; }
.btn .btn__icon + span { order: 1; }

/* Cards */
.card { border-radius: var(--radius); padding: 1.75rem; }
.card--pastel { min-height: 14.75rem; padding: 1.45rem 1.6rem; box-shadow: var(--shadow-sm); transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease); }
.card--pastel:hover, .card--track:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card--pastel h3 { margin: .85rem 0 .5rem; font-size: var(--fs-h3); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.card--pastel p { color: var(--text-muted); line-height: 1.45; }
.card--blue { background: var(--pastel-blue); } .card--blue .icon { color: var(--electric-blue); }
.card--violet { background: var(--pastel-violet); } .card--violet .icon { color: #6d2fe6; }
.card--mint { background: var(--pastel-mint); } .card--mint .icon { color: #0c8f4e; }
.card--gold { background: var(--pastel-gold); } .card--gold .icon { color: #b36b00; }

.card--glass {
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.card--glass h3 { margin: 1rem 0 .6rem; font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
.card--glass p { color: var(--text-on-dark-muted); font-size: .95rem; }
.card--glass p + p { margin-top: .4rem; }
.card--glass strong { color: #fff; }
.card--glass .icon { color: var(--gold); }

.card--track { background: var(--surface); box-shadow: var(--shadow); border-top: 6px solid var(--violet); display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease); }
.card--track:nth-child(1) { border-top-color: var(--electric-blue); }
.card--track .icon { color: var(--violet); }
.card--track h3 { font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.card--track p:not(.note) { color: var(--text-muted); }
.card--track .btn { margin-top: auto; }

/* Checklist + chips */
.checklist { display: grid; gap: 1rem; margin: 1.5rem 0; }
.checklist li { display: flex; gap: .85rem; align-items: center; font-size: 1.1rem; }
.check { display: grid; place-items: center; width: 1.8rem; height: 1.8rem; flex: none; border-radius: 50%; background: var(--mint); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.chips li { padding: .35rem .9rem; border-radius: 999px; background: #e6ecff; color: #1a2f8a; font-weight: 700; font-size: var(--fs-small); }

/* Forms */
.form { background: var(--surface); box-shadow: var(--shadow); display: grid; gap: .75rem; }
.form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.form legend, .field { font-weight: 600; margin-bottom: .5rem; padding: 0; }
.choices { display: grid; gap: .5rem; }
.choice { position: relative; display: flex; align-items: center; gap: .7rem; padding: .8rem 1rem; border: 2px solid #ccd6f5; border-radius: var(--radius-sm); cursor: pointer; font-weight: 600; transition: border-color var(--dur-fast), background var(--dur-fast); }
.choice:hover { border-color: var(--electric-blue); }
.choice input { width: 1.2rem; height: 1.2rem; accent-color: var(--electric-blue); margin: 0; }
.choice:has(input:checked) { border-color: var(--electric-blue); background: #eef3ff; }
.choice:has(input:focus-visible) { outline: 3px solid var(--electric-blue); outline-offset: 3px; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea { width: 100%; font: inherit; padding: .8rem 1rem; border: 2px solid #ccd6f5; border-radius: var(--radius-sm); color: var(--text); background: #fff; }
.form textarea { resize: vertical; min-height: 7rem; }
.form input:focus-visible, .form textarea:focus-visible { outline: 3px solid var(--electric-blue); outline-offset: 2px; border-color: var(--electric-blue); }
.form [aria-invalid="true"] { border-color: #d43c4b; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form__field { display: grid; gap: .35rem; align-content: start; }
.form__field .field { margin-bottom: 0; }
.choices--row { grid-template-columns: repeat(3, 1fr); }
.form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__privacy { margin: .2rem 0 0; font-size: var(--fs-small); line-height: 1.45; color: var(--text-muted); text-align: center; }
.form__status { font-weight: 600; text-align: center; }
.form__status:empty { display: none; }
.form__status.is-ok { color: #157347; }
.form__status.is-error { color: #b42335; }
.hint { font-size: var(--fs-small); color: var(--text-muted); }
.phone { position: relative; display: flex; gap: .5rem; align-items: stretch; }
.phone__code {
  display: inline-flex; align-items: center; gap: .4rem; flex: none;
  min-height: 3.15rem; padding: 0 .75rem; border: 2px solid #ccd6f5; border-radius: var(--radius-sm);
  background: #fff; color: var(--text); font: inherit; font-weight: 700; cursor: pointer;
}
.phone__code::after { content: ""; width: .45rem; height: .45rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; rotate: 45deg; translate: 0 -.1rem; }
.phone__flag { font-size: 1.25rem; line-height: 1; }
.phone input { flex: 1; min-width: 0; }
.phone__list {
  position: absolute; z-index: 30; top: calc(100% + .35rem); left: 0; right: 0;
  max-height: 16rem; overflow: auto; margin: 0; padding: 0 0 .35rem; list-style: none;
  background: #fff; border: 2px solid #ccd6f5; border-radius: var(--radius); box-shadow: var(--shadow);
}
.phone__find {
  position: sticky; top: 0; z-index: 2; margin: 0; padding: .45rem .5rem .4rem;
  background: #fff;
}
.phone__find input {
  width: 100%; box-sizing: border-box; border: 0; border-bottom: 1px solid #ccd6f5;
  padding: .45rem .5rem; font: inherit; background: #fff;
}
.phone__find input:focus { outline: 2px solid #2450e8; outline-offset: 0; }
.phone__list [role="option"] {
  display: flex; align-items: center; gap: .65rem; margin-inline: .35rem; padding: .55rem .7rem;
  border-radius: 10px; cursor: pointer; font-weight: 600;
}
.phone__list [role="option"]:hover, .phone__list [role="option"]:focus { background: #eef3ff; outline: none; }
.phone__list [aria-selected="true"] { background: #e7eeff; }
.phone__dial { margin-left: auto; color: var(--text-muted); font-weight: 700; }
.track-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.track-card {
  position: relative; display: grid; justify-items: center; gap: .45rem;
  min-height: 9.5rem; padding: .85rem .55rem .9rem; text-align: center;
  border: 2px solid #ccd6f5; border-radius: 1.15rem; background: #fff; cursor: pointer;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast), transform var(--dur-fast);
}
.track-card input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.track-card__art { width: 4.6rem; height: 4.6rem; object-fit: contain; }
.track-card span { font-weight: 700; line-height: 1.2; }
.track-card:hover { border-color: #8eabff; transform: translateY(-2px); }
.track-card:has(input:checked) {
  border-color: transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--gradient-brand) border-box;
  box-shadow: 0 14px 30px -18px rgba(32, 92, 255, .85);
}
.track-card:has(input:checked)::after {
  content: ""; position: absolute; top: .45rem; right: .45rem; width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: var(--gradient-brand) center / 12px 12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.track-card:has(input:focus-visible) { outline: 3px solid var(--electric-blue); outline-offset: 3px; }
.form .btn { justify-self: center; }
.form .btn[disabled] { opacity: .65; cursor: progress; }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; }
.brand__mark { width: 2rem; height: 2rem; flex: none; }
.brand__word span { color: #fff; font-weight: 700; }

/* 5. Sections -------------------------------------------------------------- */

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background:
    radial-gradient(38% 160% at 80% 50%, rgba(122, 64, 230, .42), transparent 70%),
    radial-gradient(22% 120% at 96% 40%, rgba(72, 96, 255, .28), transparent 70%),
    linear-gradient(100deg, rgba(5, 9, 28, .98) 40%, rgba(14, 14, 52, .97));
  border-bottom: 1px solid rgba(140, 150, 255, .12);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.site-header__inner { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; min-height: var(--header-h); }
.site-nav { display: flex; flex: 1; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; }
.site-nav__list { display: flex; flex-wrap: wrap; gap: .25rem 1.75rem; }
.site-nav__list a {
  position: relative; display: inline-block; padding: .5rem .1rem; color: var(--text-on-dark-muted);
  font-size: var(--fs-small); font-weight: 500; text-decoration: none; transition: color var(--dur-fast);
}
.site-nav__list a::after { content: ""; position: absolute; inset: auto 0 .2rem; height: 2px; border-radius: 2px; background: var(--gold); scale: 0 1; transition: scale var(--dur-fast) var(--ease); }
.site-nav__list a:hover, .site-nav__list a[aria-current] { color: #fff; }
.site-nav__list a:hover::after, .site-nav__list a[aria-current]::after { scale: 1 1; }
.site-nav__actions { display: flex; align-items: center; gap: 1rem; }
.site-nav__actions .btn--gradient {
  --btn-bg: var(--gradient-header-cta);
  background-origin: border-box;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 4px 22px rgba(45, 83, 247, .24);
}

@media (min-width: 1100px) { .site-nav nav { margin-inline: auto; } }
@media (min-width: 1024px) and (max-width: 1099px) {
  .site-header__inner, .site-nav, .site-nav__actions { column-gap: 1rem; }
  .site-nav__list { column-gap: 1.25rem; }
}

.lang-switch { display: inline-flex; padding: 3px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; }
.lang-switch a { padding: .25rem .75rem; border-radius: 999px; color: var(--text-on-dark-muted); font-size: .8rem; font-weight: 600; text-decoration: none; }
.lang-switch a:hover { color: #fff; }
.lang-switch a[aria-current] { background: #fff; color: var(--midnight); }

.nav-toggle { display: none; margin-left: auto; width: 2.75rem; height: 2.75rem; border: 1px solid rgba(255, 255, 255, .3); border-radius: var(--radius-sm); background: transparent; color: #fff; cursor: pointer; place-items: center; }
.nav-toggle__bars { display: grid; gap: 5px; width: 1.25rem; }
.nav-toggle__bars span { height: 2px; border-radius: 2px; background: currentColor; transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Without JS the compact navigation wraps below the brand. */
@media (max-width: 1023px) {
  .site-nav { flex-basis: 100%; padding-bottom: .75rem; }
  .js .nav-toggle { display: grid; }
  .js .site-header__inner { flex-wrap: nowrap; }
  .js .site-nav {
    position: absolute; inset: 100% 0 auto; flex-direction: column; align-items: stretch; flex-wrap: nowrap; gap: 1rem;
    padding: 1rem var(--gutter) 1.5rem; background: rgba(8, 13, 40, .98); border-bottom: 1px solid rgba(255, 255, 255, .1);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), visibility 0s var(--dur-fast);
  }
  .js .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .js .site-nav__list { flex-direction: column; gap: 0; }
  .js .site-nav__list a { display: block; padding: .8rem 0; font-size: 1.05rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .js .site-nav__list a::after { display: none; }
  .js .site-nav__list a[aria-current] { color: var(--gold); }
  .js .site-nav__actions { justify-content: space-between; }
}

/* Hero */
.hero { position: relative; overflow: hidden; border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background:
    radial-gradient(59% 12% at 82% 81%, rgba(234, 86, 255, .48), transparent),
    radial-gradient(58% 35% at 74% 104%, #344fea, transparent),
    radial-gradient(36% 55% at 85% 63%, rgba(132, 33, 226, .68), transparent),
    radial-gradient(54% 50% at 0% 106%, #155bc9, transparent),
    linear-gradient(158deg, #070e27 18%, #10114e 66%, #27116b);
  color: var(--text-on-dark); padding-block: 2.75rem 4.75rem; }
.hero__grid { position: relative; display: grid; grid-template-columns: 53fr 47fr; gap: 1.25rem; align-items: center; min-height: 30rem; }
.hero__copy { display: grid; justify-items: start; gap: 1.05rem; min-width: 0; }
.badge { display: inline-flex; align-items: center; gap: .5rem; padding: .38rem .8rem; border: 1px solid rgba(151, 170, 255, .18); border-radius: 999px; background: linear-gradient(135deg, #273a81, #1c2359); font-size: var(--fs-small); font-weight: 600; }
.display { font-size: var(--fs-display); font-weight: 700; line-height: 1.13; letter-spacing: -.03em; }
.display__line { display: block; text-wrap: balance; }
.display__accent { color: var(--gold); }
.display__end { position: relative; width: fit-content; text-shadow: 0 0 18px rgba(145, 93, 255, .75); }
.display__end::before {
  content: ""; position: absolute; top: .18em; left: calc(100% + .22em);
  width: .34em; height: .095em; border-radius: 50%;
  background: #e267ff; rotate: -43deg; box-shadow: -.12em -.19em 0 -.012em #bb56ff;
}
.display__end::after {
  content: ""; position: absolute; left: 2%; bottom: -.5rem; width: 100%; height: 1.15rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 24'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%23f06bff'/%3E%3Cstop offset='.6' stop-color='%23c45bff'/%3E%3Cstop offset='1' stop-color='%238f5bff'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M5 21 C50 6 140 0 196 11 C198 12 197.5 14.5 195 14 C140 6 55 13 8 25 C3 26.5 1.5 22.5 5 21 Z' fill='url(%23g)'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  filter: drop-shadow(0 0 6px rgba(214, 92, 255, .65));
}
.hero .lead { margin-top: .35rem; max-width: 29rem; line-height: 1.38; }
.hero__cta-play { width: 1.75rem; height: 1.75rem; flex: none; }
.hero__cta { font-weight: 700; letter-spacing: -.01em; }
.hero__cta {
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .7), inset 0 -2px 0 rgba(193, 116, 0, .22), var(--glow-gold);
}
.hero__cta .btn__icon { margin-left: .25rem; }
.hero-points { display: grid; width: 100%; max-width: 37rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hero-points li { display: flex; align-items: center; gap: .55rem; padding-inline: .9rem; border-left: 1px solid rgba(255, 255, 255, .16); font-size: 1rem; font-weight: 500; line-height: 1.28; }
.hero-points li:first-child { padding-left: 0; border-left: 0; }
.hero-points li > span { white-space: pre-line; }
.hero-points .icon { width: 2.1rem; height: 2.1rem; filter: drop-shadow(0 2px 4px rgba(3, 6, 27, .5)); }
.hero-proof {
  display: flex; flex-wrap: wrap; gap: .4rem 1.35rem; padding: .62rem 1.1rem;
  border-radius: 999px; background: linear-gradient(100deg, rgba(3, 11, 39, .78), rgba(21, 13, 72, .45));
  font-size: .95rem; font-weight: 500; color: #fff;
}
.hero-proof li { display: inline-flex; align-items: center; gap: .4rem; }
.hero-proof .icon { color: #7fd0ff; }
.hero-proof li:nth-child(3) .icon { color: #b59bff; }

.hero__art { position: relative; display: grid; place-items: center; }
.hero__art img { position: relative; width: 100%; max-width: 30rem; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent), linear-gradient(180deg, transparent, #000 10%, #000 88%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent), linear-gradient(180deg, transparent, #000 10%, #000 88%, transparent);
  mask-composite: intersect; }

/* Trust strip overlaps hero bottom */
.trust-strip { position: relative; z-index: 2; width: min(100% - 28px, calc(var(--content) + 28px)); margin: -3.25rem auto 0; background: linear-gradient(110deg, #eef4ff, #efeafc); border: 1px solid rgba(255, 255, 255, .9); border-radius: var(--radius-lg); box-shadow: 0 18px 40px -22px rgba(52, 40, 140, .35); }
.trust-strip ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-strip li { display: flex; align-items: center; justify-content: center; gap: .95rem; padding: 1.8rem 1.2rem; font-size: 1.05rem; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; color: var(--text); }
.trust-strip li > span { white-space: pre-line; }
.trust-strip__art { width: 2.6rem; height: 2.6rem; flex: none; object-fit: contain; }
.trust-strip li + li { border-left: 1px solid #ccd6f5; }
.trust-strip li:nth-child(odd) .icon { color: var(--electric-blue); }
.trust-strip li:nth-child(even) .icon { color: var(--violet); }

/* Projects */
.projects { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); align-items: center; }
.projects__copy { order: 2; }
.studio-art { order: 1; position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); background: radial-gradient(closest-side, rgba(130, 69, 255, .22), transparent); }
.studio-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; mix-blend-mode: multiply; }
.studio-art.is-missing img { display: none; }
.studio-art__fallback { display: none; }
.studio-art.is-missing .studio-art__fallback { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding: 12%; align-items: center; }
.studio-art__fallback span { display: grid; place-items: center; aspect-ratio: 3 / 4; border-radius: var(--radius); background: var(--gradient-brand); color: #fff; font-size: 1.4rem; font-weight: 700; text-align: center; box-shadow: var(--shadow); }
.studio-art__fallback span:nth-child(2) { background: linear-gradient(160deg, #0f7a52, #0a3d3a); rotate: 4deg; }

/* Roadmap */
.steps { position: relative; display: grid; gap: .75rem; max-width: var(--narrow); margin: 0 auto; }
.steps::before {
  content: ""; position: absolute; inset: 1.5rem auto 1.5rem 2.3rem; width: 3px;
  background: linear-gradient(var(--electric-blue), var(--violet)); transform-origin: top;
}
.steps > li { position: relative; }
.step { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.step summary, .faq__item summary { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.1rem; border-radius: var(--radius); }
.step summary::-webkit-details-marker, .faq__item summary::-webkit-details-marker { display: none; }
.step summary::after, .faq__item summary::after { content: "+"; margin-left: auto; font-size: 1.5rem; line-height: 1; color: var(--electric-blue); transition: transform var(--dur-fast) var(--ease); }
.step[open] summary::after, .faq__item[open] summary::after { transform: rotate(45deg); }
.step__num { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; flex: none; border-radius: 50%; background: var(--gradient-brand); color: #fff; font-weight: 700; }
.step dl { display: grid; gap: .75rem; padding: 0 1.25rem 1.25rem 4.5rem; }
.step dt { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #5a24d6; }
.step dd { color: var(--text-muted); }

/* Instructor */
.instructor { display: grid; grid-template-columns: auto 1fr; gap: var(--space-4); align-items: center; max-width: 54rem; }
.instructor__avatar {
  --avatar-size: clamp(8rem, 16vw, 10.5rem);
  width: var(--avatar-size); height: var(--avatar-size); border-radius: 50%;
  object-fit: cover; object-position: center 35%;
  border: 3px solid var(--surface); box-shadow: var(--shadow);
}
.instructor .section__title { padding-bottom: 0; margin-bottom: .2rem; }
.instructor .section__title::after { display: none; }
.instructor__name {
  position: relative; width: fit-content; padding-bottom: .7rem; margin-bottom: .15rem;
  font-size: 1.6rem; font-weight: 700; letter-spacing: -.02em;
}
.instructor__name::after {
  content: ""; position: absolute; left: .15rem; bottom: 0; width: 6.4rem; height: .9rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 22'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%237b2ff7'/%3E%3Cstop offset='.55' stop-color='%238f6bff'/%3E%3Cstop offset='1' stop-color='%23a9c4ff' stop-opacity='.85'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M6 16 Q78 4 154 11' fill='none' stroke='url(%23g)' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.instructor__role { margin-bottom: .75rem; color: var(--text-muted); font-weight: 600; }

/* Inquiry */
.signup { max-width: 46rem; display: grid; gap: 1rem; justify-items: center; text-align: center; }
.signup__lead { max-width: 36rem; }
.signup__form { position: relative; width: 100%; text-align: left; gap: 1.1rem; margin-top: 1rem; }
.signup__noscript a { font-weight: 600; }
.signup__done {
  display: grid; justify-items: center; gap: .7rem; width: min(100%, 28rem);
  margin-top: .25rem; padding: 2.75rem 1.75rem 2.4rem;
  background: var(--surface); border-radius: var(--radius-lg);
  box-shadow: 0 22px 50px -28px rgba(32, 60, 160, .55), var(--shadow-sm);
}
.signup__mark {
  display: grid; place-items: center; width: 5.75rem; height: 5.75rem; margin-bottom: .45rem;
  border-radius: 50%; color: #fff; background: var(--gradient-brand);
  box-shadow: 0 0 0 10px #e7ecff, 0 14px 28px rgba(32, 92, 255, .28);
}
.signup__mark .icon { width: 2.7rem; height: 2.7rem; stroke-width: 2.6; }
.signup__done-title {
  font-size: clamp(1.7rem, 3.2vw, 2.15rem); font-weight: 700; line-height: 1.15;
  letter-spacing: -.03em; text-wrap: balance;
}
.signup__done-title:focus { outline: none; }
.signup__done p { max-width: 24rem; color: var(--text-muted); font-size: var(--fs-lead); line-height: 1.45; text-wrap: balance; }
html.signup-verified .signup__intro,
html.signup-verified .signup__form { display: none !important; }
html.signup-verified .signup__done { display: grid !important; }
@keyframes signup-pop { from { opacity: 0; transform: scale(.82); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  html.signup-verified .signup__done { animation: rise var(--dur-enter) var(--ease) both; }
  html.signup-verified .signup__mark { animation: signup-pop 520ms var(--ease) both; }
}

/* FAQ */
.faq { display: grid; gap: .75rem; }
.faq__item { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.faq__item p { padding: 0 1.25rem 1.25rem; color: var(--text-muted); }

/* Final CTA */
.final { background: var(--gradient-hero); color: var(--text-on-dark); padding-block: var(--space-5); text-align: center; }
.final__inner { display: grid; justify-items: center; gap: 1.25rem; }
.final h2 { max-width: 20ch; font-size: var(--fs-h2); font-weight: 700; line-height: 1.1; letter-spacing: -.03em; text-wrap: balance; }
.final p { max-width: 34rem; color: var(--text-on-dark-muted); font-size: var(--fs-lead); }

/* Footer */
.site-footer { background: var(--midnight); color: var(--text-on-dark-muted); padding-block: 2.5rem 1.5rem; }
.site-footer a { color: #fff; }
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.footer-nav a { display: inline-block; padding: .4rem 0; text-decoration: none; font-size: var(--fs-small); font-weight: 600; }
.footer-nav a:hover { text-decoration: underline; }
.site-footer__legal { margin-top: 1.5rem; font-size: .8rem; opacity: .8; }

/* Learn section heading (benefits) sits below the strip */
#learn { padding-top: clamp(2.75rem, 5vw, 4.4rem); padding-bottom: clamp(2rem, 3.8vw, 3rem); }

@media (min-width: 900px) {
  .hero { padding-bottom: 5.25rem; }
  .trust-strip { margin-top: -1.45rem; }
  .trust-strip li { padding-block: 2.15rem; }
  .hero__grid { min-height: 33rem; }
  .hero__grid { position: static; }
  .hero__copy { position: relative; z-index: 1; }
  .hero__art { position: static; align-self: stretch; }
  .hero__art img {
    position: absolute; top: 0; bottom: 0; right: max(0px, calc((100% - var(--content)) / 2 - 3rem));
    width: auto; max-width: none; height: 100%; aspect-ratio: 4 / 5; object-fit: contain;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 16%, #000 86%, transparent), linear-gradient(180deg, transparent, #000 7%, #000 90%, transparent);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent, #000 16%, #000 86%, transparent), linear-gradient(180deg, transparent, #000 7%, #000 90%, transparent);
    mask-composite: intersect;
  }
}
@media (min-width: 800px) {
  .trust-strip li + li {
    border-left: 0;
    background: linear-gradient(#ccd6f5, #ccd6f5) left center / 1px 52% no-repeat;
  }
}
@media (min-width: 800px) and (max-width: 899px) {
  .hero-points li { flex-direction: column; align-items: flex-start; padding-inline: .45rem; }
  .hero-points .icon { width: 1.45rem; height: 1.45rem; }
}

/* Responsive: stacked hero below ~800px, text before art */
@media (max-width: 799px) {
  .hero { padding-block: 2rem 4.5rem; }
  .hero__grid { grid-template-columns: 1fr; min-height: 0; gap: 2rem; }
  .hero__art img { max-width: 22rem; }
  .trust-strip ul { grid-template-columns: repeat(2, 1fr); }
  .trust-strip li:nth-child(3) { border-left: 0; }
  .trust-strip li:nth-child(n+3) { border-top: 1px solid #ccd6f5; }
  .projects { grid-template-columns: 1fr; }
  .form__row, .choices--row { grid-template-columns: 1fr; }
  .track-cards { grid-template-columns: 1fr; }
  .track-card { grid-template-columns: 4.6rem 1fr; justify-items: start; align-items: center; text-align: left; min-height: 0; padding: .65rem .85rem; }
  .projects__copy { order: 1; }
  .studio-art { order: 2; }
}
@media (max-width: 559px) {
  .trust-strip ul { grid-template-columns: 1fr; }
  .trust-strip li + li, .trust-strip li:nth-child(3) { border-left: 0; border-top: 1px solid #ccd6f5; }
  .trust-strip li { padding: 1.1rem 1.25rem; }
  .btn--xl { max-width: none; font-size: 1.2rem; }
  .instructor { grid-template-columns: 1fr; }
  .step dl { padding-left: 1.25rem; }
  .hero-points li { flex-direction: column; align-items: flex-start; padding-inline: .5rem; font-size: .8rem; }
  .hero-points .icon { width: 1.6rem; height: 1.6rem; }
}

/* 6. Motion ---------------------------------------------------------------- */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * { animation: rise var(--dur-enter) var(--ease) both; }
  .hero__copy > :nth-child(2) { animation-delay: 60ms; }
  .hero__copy > :nth-child(3) { animation-delay: 120ms; }
  .hero__copy > :nth-child(4) { animation-delay: 180ms; }
  .hero__copy > :nth-child(5) { animation-delay: 240ms; }
  .hero__copy > :nth-child(6) { animation-delay: 300ms; }
  .reveal-ready .steps::before { transform: scaleY(0); transition: transform var(--dur-enter) var(--ease); }
  .reveal-ready .steps.is-visible::before { transform: scaleY(1); }

  .reveal-ready [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-enter) var(--ease), transform var(--dur-enter) var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
  .reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }
  /* Hover lift must win over the reveal transition once visible */
  .reveal-ready .card--pastel.is-visible:hover, .reveal-ready .card--track.is-visible:hover { transform: translateY(-4px); transition-delay: 0s; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .btn:hover, .card--pastel:hover, .card--track:hover { transform: none; }
}

#projects-title, #learn .card h3, #learn .card p { white-space: pre-line; }
.card__art { display: block; width: 5rem; height: 5rem; margin: -.4rem 0 .6rem -.5rem; object-fit: contain; mix-blend-mode: multiply; }
@media (min-width: 640px) { #learn .card--pastel h3 { min-height: 2.3em; display: flex; align-items: flex-end; } }
.hero-points__art { width: 2.9rem; height: 2.9rem; flex: none; object-fit: contain; filter: drop-shadow(0 4px 8px rgba(3, 6, 27, .45)); }
@media (max-width: 959px) { .hero-points__art { width: 2.2rem; height: 2.2rem; } }
@media (max-width: 639px) { .hero-points li { font-size: .82rem; } .hero-points__art { width: 2rem; height: 2rem; } }
@media (min-width: 960px) and (max-width: 1239px) { .hero-points li { flex-direction: column; align-items: flex-start; font-size: .92rem; } .hero-points__art { width: 2.4rem; height: 2.4rem; } }
@media (min-width: 960px) and (max-width: 1239px) { .trust-strip li { padding-inline: .8rem; gap: .7rem; font-size: .97rem; } .trust-strip__art { width: 2.2rem; height: 2.2rem; } }
@media (max-width: 639px) { .trust-strip li { justify-content: flex-start; } }
@media (max-width: 479px) { .hero-proof { flex-wrap: nowrap; gap: .55rem; padding: .5rem .7rem; font-size: .74rem; white-space: nowrap; letter-spacing: -.01em; } .hero-proof li { gap: .2rem; } .hero-proof .icon { width: .85rem; height: .85rem; } }
@media (max-width: 374px) { .hero-proof { flex-wrap: wrap; white-space: normal; border-radius: 1rem; } }

/* Header language menu and CTA */
.lang-menu { position: relative; }
.lang-menu summary { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .35rem; color: #fff; font-size: .95rem; font-weight: 600; cursor: pointer; list-style: none; border-radius: var(--radius-sm); }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.lang-menu__globe { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 1.6; }
.lang-menu__chevron { width: .95rem; height: .95rem; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: rotate var(--dur-fast) var(--ease); }
.lang-menu[open] .lang-menu__chevron { rotate: 180deg; }
.lang-menu__list { position: absolute; top: calc(100% + .4rem); right: 0; z-index: 60; display: grid; min-width: 6.5rem; padding: .35rem; border: 1px solid rgba(160, 170, 255, .2); border-radius: var(--radius-sm); background: #0d1136; box-shadow: 0 14px 30px rgba(0, 0, 0, .4); }
.lang-menu__list a { padding: .45rem .7rem; border-radius: 8px; color: var(--text-on-dark-muted); font-size: .9rem; font-weight: 600; text-decoration: none; }
.lang-menu__list a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.lang-menu__list a[aria-current] { color: #fff; background: rgba(120, 100, 255, .25); }
.site-nav__actions .header-cta {
  --btn-bg: linear-gradient(95deg, #3f7bff, #7a5cff 60%, #9b5cff);
  padding: .72rem 1.45rem; border-radius: 999px; font-size: .98rem; font-weight: 700; color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 6px 22px rgba(96, 92, 255, .4);
}
@media (max-width: 1023px) { .js .lang-menu__list { position: static; margin-top: .4rem; box-shadow: none; } }
