/* ==========================================================================
   Reliance Animation Academy — Franchise landing page
   --------------------------------------------------------------------------
   1. Fonts
   2. Design tokens
   3. Base / reset
   4. Layout helpers & shared components
   5. Page sections (header → footer)
   6. Responsive rules (desktop-first; ≥1440px is the original design)
   ========================================================================== */


/* ==========================================================================
   1. Fonts (variable fonts — one file covers every weight used)
   ========================================================================== */

/* Inter */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../assets/fonts/inter-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../assets/fonts/inter-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../assets/fonts/inter-greek-ext.woff2") format("woff2");
  unicode-range: U+1F00-1FFF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../assets/fonts/inter-greek.woff2") format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../assets/fonts/inter-vietnamese.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Montserrat */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600 900; font-display: swap;
  src: url("../assets/fonts/montserrat-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600 900; font-display: swap;
  src: url("../assets/fonts/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }


/* ==========================================================================
   2. Design tokens
   ========================================================================== */

:root {
  /* Brand colours */
  --color-navy:        #0A1430;
  --color-blue:        #122C6B;
  --color-blue-mid:    #2A49A0;
  --color-blue-light:  #5B7BD5;
  --color-blue-pale:   #A8BCEC;
  --color-chart-blue:  #8FA4D8;
  --color-maroon:      #5B1540;
  --color-yellow:      #FFD233;
  --color-red:         #E32B26;
  --color-red-dark:    #B3121A;
  --color-green:       #0B8A3E;
  --color-white:       #FFFFFF;

  /* Neutrals */
  --color-lavender:    #D5DEF2;  /* body text on dark backgrounds */
  --color-text-soft:   #44506E;  /* body text on light backgrounds */
  --color-text-dark:   #2A3550;
  --color-muted:       #8A94AD;
  --color-hint:        #6B7795;
  --color-footer-muted:#8A97BD;
  --color-border:      #DCE3F0;
  --color-field-border:#C7CFE2;
  --color-surface:     #F7F9FD;
  --color-grid-line:   #E7ECF6;

  /* Translucent whites used on dark sections */
  --tint-06: rgba(255, 255, 255, 0.06);
  --tint-08: rgba(255, 255, 255, 0.08);
  --tint-10: rgba(255, 255, 255, 0.10);
  --tint-12: rgba(255, 255, 255, 0.12);

  /* Typography */
  --font-body:    Inter, system-ui, sans-serif;
  --font-heading: Montserrat, sans-serif;

  /* Layout. The gutter keeps content in a 1328px column on very wide screens
     while the section backgrounds stay full-bleed. */
  --content-width: 1328px;
  --gutter: max(56px, calc((100% - var(--content-width)) / 2));
  --section-pad-y: 80px;
  --grid-gap: 18px;
}


/* ==========================================================================
   3. Base / reset
   ========================================================================== */

*,
*::before,
*::after { box-sizing: border-box; }

body,
h1, h2, h3, p, figure, ul { margin: 0; }

body {
  background: var(--color-navy);
  color: var(--color-white);
  font-family: var(--font-body);
  -webkit-text-size-adjust: 100%;
}

img { display: block; max-width: 100%; }
a   { text-decoration: none; }

button,
input,
select { font: inherit; }

button { cursor: pointer; }

[hidden] { display: none !important; }


/* ==========================================================================
   4. Layout helpers & shared components
   ========================================================================== */

.page {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow-x: clip;               /* safety net: never scroll sideways */
  background: var(--color-navy);
  font-family: var(--font-body);
  color: var(--color-white);
}

main { display: flex; flex-direction: column; }

/* --- Section shell ------------------------------------------------------ */
.section {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: var(--section-pad-y) var(--gutter);
}
.section--white    { background: var(--color-white);   color: var(--color-navy); }
.section--soft     { background: var(--color-surface); color: var(--color-navy); }
.section--navy     { background: var(--color-navy); }
.section--blue     { background: var(--color-blue);    color: var(--color-white); }
.section--gap-36   { gap: 36px; }
.section--gap-30   { gap: 30px; }

/* --- Section heading ---------------------------------------------------- */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
}
.section-head__text {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: var(--head-max, none);
}
.section-head__lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-text-soft);
  max-width: var(--lede-max, 380px);
}
.section--navy .section-head__lede,
.section--blue .section-head__lede { color: var(--color-lavender); }

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-red);
}
.eyebrow--yellow { color: var(--color-yellow); }

.section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(26px, 3.2vw, 46px);
  line-height: 1.08;
}

.footnote {
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-muted);
}

/* Small uppercase label used inside cards and panels */
.kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-red);
}
.kicker--yellow { color: var(--color-yellow); }

/* --- Responsive card grid ----------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
  gap: var(--grid-gap);
}
.card-grid--3 { --cols: 3; }
.card-grid--4 { --cols: 4; }

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 26px;
  border-radius: 6px;
  background: var(--color-red);
  color: var(--color-white);
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
}

/* --- Cards -------------------------------------------------------------- */

/* Big-number stat card (sector + live-action sections) */
.stat-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
}
.stat-card__value {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(28px, 2.6vw, 36px);
  line-height: 1;
  color: var(--color-blue);
}
.stat-card__value--text { font-size: clamp(22px, 1.95vw, 28px); line-height: 1.15; }
.stat-card__text   { font-size: 15px; line-height: 1.55; color: var(--color-text-soft); }
.stat-card__source {
  margin-top: auto;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--color-muted);
}
.stat-card--accent { background: var(--color-blue); border: 0; color: var(--color-white); }
.stat-card--accent .stat-card__value  { color: var(--color-yellow); }
.stat-card--accent .stat-card__text   { color: var(--color-lavender); }
.stat-card--accent .stat-card__source { color: #9FAFD0; }

/* Titled text card (why-invest section) */
.feature-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  border-radius: 14px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
}
.feature-card__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 20px;
}
.feature-card__text { font-size: 15px; line-height: 1.6; color: var(--color-text-soft); }
.feature-card--dark { background: var(--color-blue); border: 0; color: var(--color-white); }
.feature-card--featured .feature-card__title { color: var(--color-yellow); }
.feature-card--dark .feature-card__text  { color: var(--color-lavender); }

/* Kicker + title + text card (what-it-takes section) */
.info-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px;
  border-radius: 14px;
  background: var(--color-surface);
}
.info-card__title { font-family: var(--font-heading); font-weight: 800; font-size: 20px; }
.info-card__text  { font-size: 15px; line-height: 1.6; color: var(--color-text-soft); }
.info-card--dark  { background: var(--color-blue); color: var(--color-white); }
.info-card--dark .kicker        { color: var(--color-yellow); }
.info-card--dark .info-card__text { color: var(--color-lavender); }

/* Pill-style chip (hero credentials, network employers, CTA contacts) */
.chip {
  padding: 12px 20px;
  border-radius: 8px;
  background: var(--tint-10);
  font-size: 15px;
  font-weight: 600;
}

/* Inline SVG icon sizing is set on the element; colour comes from CSS */


/* ==========================================================================
   5. Page sections
   ========================================================================== */

/* --- 5.1 Site header ---------------------------------------------------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 84px;
  padding: 0 var(--gutter);
  background: var(--color-white);
  border-bottom: 3px solid var(--color-red);
}
.site-header__logo { height: 54px; width: auto; }
.site-header__actions { display: flex; align-items: center; gap: 28px; }
.site-header__contact { font-size: 15px; color: var(--color-navy); }
.site-header__contact strong { font-weight: 700; }


/* --- 5.2 Hero ----------------------------------------------------------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 480px;
  gap: 56px;
  align-items: start;
  padding: 64px var(--gutter) 56px;
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-blue) 45%, var(--color-maroon) 100%);
}
.hero__content { display: flex; flex-direction: column; gap: 26px; min-width: 0; }

.hero__badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--tint-12);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-yellow);
}
.hero__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(34px, 6vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.hero__title-accent { color: var(--color-yellow); }
.hero__lede {
  max-width: 620px;
  font-size: 21px;
  line-height: 1.5;
  color: var(--color-lavender);
}
.hero__notice {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  max-width: 668px;                  /* 620px text + padding + border */
  padding: 18px 22px;
  border-radius: 10px;
  border-left: 4px solid var(--color-yellow);
  background: rgba(255, 210, 51, 0.14);
  font-size: 16px;
  line-height: 1.55;
}
.hero__notice strong { font-weight: 700; color: var(--color-yellow); }
.hero__chips { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__gallery {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}
.hero__gallery img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 12px;
}


/* --- Enquiry form card (used in hero and final CTA) --------------------- */
.form-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  border-radius: 16px;
  background: var(--color-white);
  color: var(--color-navy);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.form-card--cta { box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25); }

.form-card__form { display: flex; flex-direction: column; gap: 16px; }
.form-card__intro { display: flex; flex-direction: column; gap: 4px; }
.form-card__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 26px;
  line-height: 1.15;
}
.form-card__subtitle { font-size: 14px; color: var(--color-text-soft); }

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}
.field__control {
  height: 52px;                      /* 50px field + 2px border, as in the original */
  padding: 0 14px;
  border: 1px solid var(--color-field-border);
  border-radius: 8px;
  background: var(--color-surface);
  color: var(--color-navy);
  font-size: 15px;
  font-weight: 400;
}
.field__control--select { height: 50px; padding: 0 12px; }

.choice-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.choice-group__legend { padding: 0 0 8px; font-size: 13px; font-weight: 600; }
.choice-group__legend span { font-weight: 400; color: var(--color-hint); }
.choice-group__options--grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.choice-group__options--wrap { display: flex; flex-wrap: wrap; gap: 8px; }

/* Selectable option button (background / budget) — state driven by aria-pressed */
.choice {
  border: 1.5px solid var(--color-field-border);
  border-radius: 6px;
  background: var(--color-white);
  color: var(--color-navy);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
}
.choice--profile { min-height: 44px; padding: 8px 14px; }
.choice--budget  { height: 42px; padding: 0 16px; font-size: 14px; text-align: center; }
.choice[aria-pressed="true"] {
  border-color: var(--color-blue);
  background: var(--color-blue);
  color: var(--color-white);
}

.form-card__submit {
  height: 56px;
  border: 0;
  border-radius: 8px;
  background: var(--color-red);
  color: var(--color-white);
  font-size: 17px;
  font-weight: 700;
}
.form-card__submit:disabled { opacity: 0.7; cursor: wait; }
.form-card__error { margin: 0; color: #b42318; font-size: 13px; line-height: 1.5; }
.form-card__disclaimer { font-size: 12px; line-height: 1.5; color: var(--color-hint); }

/* Success state */
.form-card__success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 36px 0;
}
.form-card__success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--color-green);
}
.form-card__success-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 30px;
  line-height: 1.1;
}
.form-card__success-text { font-size: 16px; line-height: 1.6; color: var(--color-text-soft); }
/* --- 5.3 Proof bar ------------------------------------------------------ */
.proof-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  padding: 28px var(--gutter);
  background: var(--color-yellow);
  color: var(--color-navy);
}
.proof-bar__item { display: flex; flex-direction: column; gap: 2px; }
.proof-bar__value {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1;
}
.proof-bar__label { font-size: 15px; font-weight: 600; }


/* --- 5.4 Sector --------------------------------------------------------- */
.sector { --head-max: 760px; }

.chart-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 40px;
  align-items: center;
  padding: 32px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
}
.chart { width: 100%; height: auto; }
.chart__label     { font-family: var(--font-body); font-size: 11px; fill: var(--color-muted); }
.chart__label--x  { fill: var(--color-navy); text-anchor: middle; }
.chart__grid      { fill: none; stroke: var(--color-grid-line); stroke-width: 1; }
.chart__bar--animation { fill: var(--color-yellow); }
.chart__bar--vfx       { fill: var(--color-blue); }
.chart__bar--post      { fill: var(--color-chart-blue); }

.chart-panel__info { display: flex; flex-direction: column; gap: 14px; }
.chart-panel__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 24px;
  line-height: 1.2;
}
.legend {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  list-style: none;
  font-size: 15px;
  color: var(--color-text-soft);
}
.legend__item { display: inline-flex; align-items: center; gap: 10px; }
.legend__swatch { width: 15px; height: 15px; border-radius: 4px; flex-shrink: 0; }
.legend__swatch--animation { background: var(--color-yellow); }
.legend__swatch--vfx       { background: var(--color-blue); }
.legend__swatch--post      { background: var(--color-chart-blue); }
.chart-panel__source { font-size: 11px; letter-spacing: 0.06em; color: var(--color-muted); }


/* --- 5.5 Ecosystem ------------------------------------------------------ */
.ecosystem {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-blue) 55%, var(--color-maroon) 100%);
}
.ecosystem__intro { display: flex; flex-direction: column; gap: 14px; max-width: 840px; }
.ecosystem__lede { font-size: 18px; line-height: 1.6; color: var(--color-lavender); }

.banner {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}
.banner img { width: 100%; height: auto; }
.banner__caption {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  padding: 26px 30px;
  background: linear-gradient(to top, rgba(10, 20, 48, 0.94), rgba(10, 20, 48, 0));
}
.banner__title { font-family: var(--font-heading); font-weight: 800; font-size: 24px; }
.banner__meta  { font-size: 15px; color: var(--color-lavender); }

.partner-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  border-radius: 14px;
  background: var(--tint-08);
}
.partner-card__text { font-size: 16px; line-height: 1.6; color: var(--color-lavender); }

.ip-showcase {
  padding: 26px 26px 18px;
  border-radius: 16px;
  background: var(--tint-06);
}
.ip-showcase img { width: 100%; height: auto; border-radius: 10px; }
.ip-showcase__caption {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding-top: 16px;
}
.ip-showcase__title { font-family: var(--font-heading); font-weight: 700; font-size: 20px; }
.ip-showcase__list  { font-size: 14px; color: var(--color-lavender); }

.games {
  display: grid;
  grid-template-columns: 500px minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding: 30px;
  border-radius: 16px;
  background: var(--tint-06);
}
.games__titles { width: 100%; height: auto; border-radius: 10px; }
.games__info { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.games__logo { align-self: flex-start; height: 56px; width: auto; border-radius: 8px; }
.games__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(22px, 1.95vw, 28px);
  line-height: 1.15;
}
.games__text { font-size: 16px; line-height: 1.6; color: var(--color-lavender); }
.games__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.metric { display: flex; flex-direction: column; gap: 2px; }
.metric__value {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(20px, 1.95vw, 28px);
  color: var(--color-yellow);
}
.metric__label { font-size: 13px; line-height: 1.4; color: var(--color-lavender); }
.games__collabs { display: flex; flex-direction: column; gap: 8px; }
.games__collabs .kicker { font-size: 11px; }
.games__collabs-list { font-size: 15px; line-height: 1.6; color: var(--color-lavender); }


/* --- 5.6 Live-action ---------------------------------------------------- */
.live-action { --head-max: 800px; }

.insight-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  border-radius: 14px;
  background: var(--color-surface);
}
.insight-card__title { font-family: var(--font-heading); font-weight: 800; font-size: 20px; }
.insight-card__text  { font-size: 15px; line-height: 1.6; color: var(--color-text-soft); }

.streams {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 36px;
  border-radius: 16px;
  background: var(--color-navy);
  color: var(--color-white);
}
.streams__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.streams__intro { display: flex; flex-direction: column; gap: 8px; }
.streams__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(24px, 2.3vw, 32px);
  line-height: 1.1;
}
.streams__text { max-width: 420px; font-size: 16px; line-height: 1.6; color: var(--color-lavender); }
.streams__grid { --grid-gap: 14px; }

.stream-tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px;
  border-radius: 12px;
  background: var(--tint-08);
}
.stream-tile__title { font-family: var(--font-heading); font-weight: 800; font-size: 19px; color: var(--color-yellow); }
.stream-tile__text  { font-size: 14px; line-height: 1.5; color: var(--color-lavender); }
.stream-tile--highlight { background: var(--color-yellow); color: var(--color-navy); }
.stream-tile--highlight .stream-tile__title { color: inherit; }
.stream-tile--highlight .stream-tile__text  { color: var(--color-text-dark); }


/* --- 5.7 Why invest ----------------------------------------------------- */
.why-invest { --head-max: 820px; }

.course-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 32px;
  align-items: center;
  padding: 32px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: var(--color-white);
}
.course-panel__bars { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.course-list { display: flex; flex-direction: column; gap: 9px; }
.course-row { display: flex; align-items: center; gap: 14px; }
.course-row__duration {
  flex-shrink: 0;
  width: 86px;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-muted);
}
/* Bar widths are proportional to programme length. The padding is added on
   top of the percentage (content-box), exactly as in the original design. */
.course-bar {
  box-sizing: content-box;
  display: flex;
  align-items: center;
  width: var(--bar-w, auto);
  height: 42px;
  padding: 0 16px;
  border-radius: 6px;
  background: var(--bar-bg);
  color: var(--bar-fg, var(--color-white));
  font-size: 15px;
  font-weight: 600;
}
.course-bar--30 { --bar-bg: var(--color-blue);       flex-grow: 1; }
.course-bar--24 { --bar-bg: var(--color-blue-mid);   --bar-w: 84%; }
.course-bar--12 { --bar-bg: var(--color-blue-light); --bar-w: 64%; }
.course-bar--6  { --bar-bg: var(--color-blue-pale);  --bar-w: 44%; --bar-fg: var(--color-navy); }
.course-bar--3  { --bar-bg: var(--color-yellow);     --bar-w: 28%; --bar-fg: var(--color-navy); }

.course-panel__image { border-radius: 12px; overflow: hidden; }
.course-panel__image img { width: 100%; height: auto; }


/* --- 5.8 What it takes -------------------------------------------------- */
.what-it-takes { --head-max: 820px; }

.selection-profile {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  padding: 30px;
  border-radius: 16px;
  background: var(--color-surface);
}
.selection-profile__intro { display: flex; flex-direction: column; gap: 6px; }
.selection-profile__title { font-family: var(--font-heading); font-weight: 800; font-size: 22px; line-height: 1.2; }
.selection-profile__text  { padding-top: 6px; font-size: 15px; line-height: 1.6; color: var(--color-text-soft); }
.selection-profile__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 32px;
  margin: 0;
  padding: 0 0 0 18px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--color-text-soft);
}


/* --- 5.9 Network -------------------------------------------------------- */
.network { --lede-max: 420px; }
.network__regions { --grid-gap: 24px; }

.region { display: flex; flex-direction: column; gap: 10px; }
.region__cities { font-size: 15px; line-height: 1.8; color: var(--color-lavender); }

.employers {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.employers__list { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; }
.employers__item {
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--tint-08);
  font-size: 14px;
}


/* --- 5.10 Selection process --------------------------------------------- */
.selection { --head-max: 780px; }

.step-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  border-radius: 14px;
  background: var(--tint-08);
}
.step-card__step  { font-family: var(--font-heading); font-weight: 800; font-size: 15px; color: var(--color-yellow); }
.step-card__title { font-family: var(--font-heading); font-weight: 800; font-size: 19px; }
.step-card__text  { font-size: 15px; line-height: 1.6; color: var(--color-lavender); }
.step-card--highlight { background: var(--color-yellow); color: var(--color-navy); }
.step-card--highlight .step-card__step { color: var(--color-red-dark); }
.step-card--highlight .step-card__text { color: var(--color-text-dark); }


/* --- 5.11 Final call to action ------------------------------------------ */
.cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 56px;
  align-items: center;
  padding: 72px var(--gutter);
  background: var(--color-red);
  color: var(--color-white);
}
.cta__content { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.cta__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(30px, 4.1vw, 58px);
  line-height: 1;
  text-transform: uppercase;
}
.cta__text { max-width: 560px; font-size: 19px; line-height: 1.55; }
.cta__contacts { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 6px; }
.cta__contact {
  padding: 14px 22px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 17px;
  font-weight: 700;
  overflow-wrap: anywhere;
}


/* --- 5.12 Footer -------------------------------------------------------- */
.site-footer {
  display: flex;
  flex-direction: column;
  background: var(--color-navy);
  color: var(--color-lavender);
}
.site-footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 48px;
  padding: 56px var(--gutter) 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.site-footer__brand { display: flex; flex-direction: column; gap: 18px; }
.site-footer__logo-wrap {
  align-self: flex-start;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--color-white);
}
.site-footer__logo { height: 48px; width: auto; }
.site-footer__about { max-width: 380px; font-size: 15px; line-height: 1.65; }

.social { display: flex; gap: 10px; }
.social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--tint-10);
  color: var(--color-white);
}

.footer-nav,
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-yellow);
}
.footer-nav a { font-size: 15px; line-height: 1.5; color: var(--color-lavender); }

.footer-contact__address { font-size: 15px; line-height: 1.65; font-style: normal; }
.footer-contact__phone   { font-size: 16px; font-weight: 700; color: var(--color-white); }
.footer-contact__email   { font-size: 15px; color: var(--color-yellow); overflow-wrap: anywhere; }

.site-footer__legal { display: flex; flex-direction: column; gap: 10px; padding: 26px var(--gutter) 36px; }
.site-footer__disclaimer { font-size: 12px; line-height: 1.65; color: var(--color-footer-muted); }
.site-footer__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: var(--color-footer-muted);
}
.site-footer__links { display: flex; gap: 22px; }
.site-footer__links a { color: var(--color-footer-muted); }


/* ==========================================================================
   6. Responsive rules
   Desktop (≥1440px) is untouched. Everything below only adapts the layout.
   ========================================================================== */

/* --- Laptops / small desktops ------------------------------------------- */
@media (max-width: 1200px) {
  .hero     { grid-template-columns: minmax(0, 1fr) 420px; gap: 40px; }
  .cta      { grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; }
  .games    { grid-template-columns: 400px minmax(0, 1fr); gap: 32px; }
  .chart-panel  { grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; }
  .course-panel { grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; }
  .selection-profile { grid-template-columns: 240px minmax(0, 1fr); gap: 32px; }
  .site-footer__main { gap: 32px; }
  .section-head { gap: 32px; }
}

/* --- Single-column hero / CTA ------------------------------------------- */
@media (max-width: 1100px) {
  .hero,
  .cta { grid-template-columns: minmax(0, 1fr); }

  .hero .form-card,
  .cta .form-card { width: 100%; max-width: 720px; margin-inline: auto; }
}

/* --- Tablets ------------------------------------------------------------ */
@media (max-width: 1024px) {
  :root { --gutter: 32px; }

  .card-grid--4 { --cols: 2; }

  /* Heading rows stack: title above the lede */
  .section-head,
  .streams__head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .section-head__lede,
  .streams__text { max-width: 640px; }

  /* Two-column panels stack */
  .chart-panel,
  .games,
  .course-panel,
  .selection-profile { grid-template-columns: minmax(0, 1fr); }
  .games__titles { max-width: 640px; }
  .course-panel__image { order: -1; }

  .site-footer__main { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .card-grid--3 { --cols: 2; }
  /* An odd last card spans the row instead of leaving a gap */
  .card-grid--3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }

  .site-header__label { display: none; }

  .ip-showcase__caption { flex-direction: column; gap: 6px; }
}

/* --- Large phones / small tablets --------------------------------------- */
@media (max-width: 768px) {
  :root {
    --gutter: 24px;
    --section-pad-y: 56px;
  }

  .site-header { height: auto; min-height: 72px; padding-block: 10px; gap: 16px; }
  .site-header__logo { height: 44px; }
  .site-header__actions { gap: 16px; }

  .hero { padding-top: 40px; padding-bottom: 40px; }
  .hero__lede { font-size: 18px; }
  .hero__gallery img { height: 150px; }

  .proof-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding-block: 24px; }

  .card-grid--4 { --cols: 2; }

  /* Banner caption sits below the image instead of overlapping it */
  .banner { background: var(--color-navy); }
  .banner__caption {
    position: static;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 18px 20px 20px;
    background: var(--color-navy);
  }
  .banner__title { font-size: 20px; }

  .ip-showcase,
  .games,
  .chart-panel,
  .course-panel,
  .selection-profile,
  .streams { padding: 24px; }

  .cta { padding-block: 56px; }
  .cta__text { font-size: 17px; }

  .form-card { padding: 24px; }
  /* 16px inputs stop iOS Safari zooming in on focus */
  .field__control { font-size: 16px; }

  .site-footer__main { padding-block: 40px 32px; }
  .site-footer__bar { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* --- Phones ------------------------------------------------------------- */
@media (max-width: 560px) {
  :root { --gutter: 16px; --section-pad-y: 44px; --grid-gap: 14px; }

  .card-grid--3,
  .card-grid--4 { --cols: 1; }
  .streams__grid { --cols: 2; }          /* short tiles stay two-up */

  .stat-card,
  .info-card,
  .insight-card,
  .step-card { padding: 22px; }
  .feature-card,
  .partner-card { padding: 22px; }

  .hero { padding-top: 32px; gap: 28px; }
  .hero__content { gap: 20px; }
  .hero__badge { border-radius: 18px; line-height: 1.5; }
  .hero__notice { padding: 16px 18px; }
  .hero__gallery { gap: 8px; }
  .hero__gallery img { height: 110px; border-radius: 8px; }

  .games__metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .games__metrics .metric:last-child { grid-column: 1 / -1; }

  .selection-profile__list { grid-template-columns: minmax(0, 1fr); }

  /* Course bars: duration above the bar, bar text may wrap */
  .course-row { flex-wrap: wrap; gap: 6px 14px; }
  .course-row__duration { width: 100%; }
  .course-bar {
    box-sizing: border-box;
    width: max(var(--bar-w, 100%), 62%);
    height: auto;
    min-height: 42px;
    padding: 8px 14px;
    font-size: 14px;
  }
  .course-bar--30 { flex-grow: 0; width: 100%; }

  /* Chart labels are scaled down with the SVG, so enlarge them */
  .chart__label { font-size: 18px; }

  .site-header__contact { display: none; }
  .site-header__logo { height: 40px; }
  .btn { height: 44px; padding: 0 20px; }

  .site-footer__main { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .site-footer__links { flex-wrap: wrap; gap: 8px 18px; }

  .form-card__success { padding: 20px 0; }
  .choice-group__options--grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 400px) {
  .proof-bar { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .streams__grid { --cols: 1; }
  .hero__gallery img { height: 90px; }
  .chip,
  .cta__contact { padding: 10px 14px; }
}


/* ==========================================================================
   7. Type scale for small screens
   Desktop sizes are unchanged. Tablets get a light reduction; phones get a
   compact scale (body 14px, card titles 17px, headings fluid).
   ========================================================================== */

/* --- Small tablets / large phones (≤768px) ------------------------------ */
@media (max-width: 768px) {
  .hero__lede,
  .ecosystem__lede { font-size: 17px; }
  .section-head__lede,
  .streams__text { font-size: 16px; }
  .hero__notice { font-size: 15px; }
  .games__text,
  .partner-card__text,
  .streams__text { font-size: 15px; }
  .cta__text { font-size: 16px; }
  .site-footer__about,
  .site-footer__main { font-size: 14px; }
}

/* --- Phones (≤560px) ---------------------------------------------------- */
@media (max-width: 560px) {
  /* Headings: fluid between 320px and 560px wide screens */
  .hero__title    { font-size: clamp(27px, 8.2vw, 40px); }
  .section-title  { font-size: clamp(22px, 6.2vw, 30px); }
  .cta__title     { font-size: clamp(24px, 6.8vw, 32px); }

  /* Large body copy */
  .hero__lede,
  .ecosystem__lede,
  .section-head__lede,
  .cta__text      { font-size: 15px; line-height: 1.6; }

  /* Standard body copy */
  .hero__notice,
  .partner-card__text,
  .games__text,
  .streams__text,
  .site-footer__about,
  .form-card__success-text { font-size: 14px; }

  .stat-card__text,
  .feature-card__text,
  .info-card__text,
  .insight-card__text,
  .step-card__text,
  .selection-profile__text,
  .selection-profile__list,
  .region__cities,
  .games__collabs-list,
  .legend,
  .site-footer__main,
  .footer-nav a,
  .footer-contact__address,
  .footer-contact__email { font-size: 14px; }

  .chip,
  .proof-bar__label,
  .stream-tile__text,
  .ip-showcase__list,
  .banner__meta,
  .employers__item { font-size: 13px; }

  /* Card titles and big numbers */
  .stat-card__value        { font-size: 26px; }
  .stat-card__value--text  { font-size: 20px; }
  .feature-card__title,
  .info-card__title,
  .insight-card__title     { font-size: 17px; }
  .step-card__title,
  .stream-tile__title      { font-size: 16px; }
  .step-card__step         { font-size: 13px; }
  .streams__title,
  .games__title            { font-size: 21px; }
  .chart-panel__title,
  .selection-profile__title,
  .ip-showcase__title      { font-size: 17px; }
  .banner__title           { font-size: 17px; }
  .metric__value           { font-size: 20px; }
  .metric__label           { font-size: 12px; }
  .proof-bar__value        { font-size: 24px; }
  .footer-contact__phone   { font-size: 15px; }

  /* Small labels */
  .eyebrow,
  .kicker,
  .footer-heading          { font-size: 11px; }
  .hero__badge             { font-size: 11px; }
  .footnote,
  .site-footer__disclaimer,
  .form-card__disclaimer   { font-size: 12px; }
  .site-footer__bar        { font-size: 12px; }
  .stat-card__source,
  .chart-panel__source     { font-size: 10px; }
  .course-row__duration    { font-size: 11px; }
  .course-bar              { font-size: 13px; }

  /* Buttons and form */
  .btn                     { font-size: 14px; }
  .form-card__title        { font-size: 21px; }
  .form-card__success-title{ font-size: 24px; }
  .form-card__subtitle     { font-size: 13px; }
  .form-card__submit       { font-size: 16px; height: 52px; }
  .cta__contact            { font-size: 15px; }
  /* inputs stay at 16px (set at ≤768px) so iOS does not zoom on focus */
}

/* --- Very small phones (≤360px) ----------------------------------------- */
@media (max-width: 360px) {
  .hero__title   { font-size: 26px; }
  .section-title { font-size: 21px; }
  .cta__title    { font-size: 23px; }
  .stat-card__value { font-size: 24px; }
  .proof-bar__value { font-size: 22px; }
}
