/* ==========================================================================
   ResolveIt — RKP Ventures Ltd t/a ResolveIt
   Premium GCSE & A-Level Maths Tuition
   Design System & Global Styles  •  Version 2 (Premium Redesign)
   --------------------------------------------------------------------------
   Design language: confident navy, restrained champagne-gold, generous
   whitespace, optical-size serif display, mathematical geometry as texture.
   Influences (principles, not copies): Apple restraint, Stripe depth,
   Linear precision, the calm authority of a university prospectus.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand — Navy (deep, considered, never black) */
  --navy-950: #050d1f;
  --navy-900: #081427;
  --navy-800: #0c1d38;
  --navy-700: #11264a;
  --navy-600: #18345f;
  --navy-500: #234a82;
  --navy-400: #3d63a0;
  --navy-300: #7e98c2;
  --navy-200: #b9c7e0;

  /* Accent — Champagne gold (restrained, expensive, never brassy) */
  --gold-700: #8a6620; /* text-grade gold — ~5.2:1 on white (WCAG AA) */
  --gold-600: #b8893a;
  --gold-500: #c9a45c;
  --gold-400: #ddc187;
  --gold-300: #ecd9b0;
  --gold-100: #f7efdd;

  /* Neutrals — warm-cool balanced paper */
  --ink: #0a1326;
  --slate-800: #1c2740;
  --slate-700: #33415c;
  --slate-600: #4a5a78;
  --slate-500: #677793;
  --slate-400: #93a0b6;
  --slate-300: #c2cad9;
  --line: #e7eaf1;
  --line-soft: #eef1f6;
  --cloud: #f4f6fb;
  --mist: #fafbfd;
  --paper: #fcfcfe;
  --white: #ffffff;

  /* Semantic */
  --bg: var(--paper);
  --text: var(--slate-600);
  --heading: var(--navy-700);

  /* Typography */
  --font-serif: "Fraunces", "Georgia", "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Type scale (fluid, generous) */
  --step--2: clamp(0.74rem, 0.72rem + 0.1vw, 0.79rem);
  --step--1: clamp(0.84rem, 0.81rem + 0.16vw, 0.95rem);
  --step-0:  clamp(1.02rem, 0.98rem + 0.22vw, 1.15rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --step-2:  clamp(1.5rem, 1.28rem + 1vw, 2.15rem);
  --step-3:  clamp(1.95rem, 1.55rem + 1.85vw, 3.1rem);
  --step-4:  clamp(2.4rem, 1.85rem + 2.7vw, 4.1rem);
  --step-5:  clamp(2.9rem, 2rem + 4.2vw, 5.6rem);

  /* Spacing (8pt-based, breathing room) */
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1.25rem;
  --space-md: 2.25rem;
  --space-lg: 4.5rem;
  --space-xl: 7.5rem;
  --space-2xl: 11rem;

  /* Layout */
  --maxw: 1180px;
  --maxw-wide: 1320px;
  --maxw-narrow: 720px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  /* Depth — layered, soft, expensive */
  --shadow-xs: 0 1px 2px rgba(8, 20, 39, 0.05);
  --shadow-sm: 0 2px 4px rgba(8, 20, 39, 0.04), 0 4px 12px rgba(8, 20, 39, 0.05);
  --shadow-md: 0 4px 10px rgba(8, 20, 39, 0.05), 0 16px 36px rgba(8, 20, 39, 0.08);
  --shadow-lg: 0 10px 24px rgba(8, 20, 39, 0.08), 0 36px 70px rgba(8, 20, 39, 0.16);
  --shadow-gold: 0 10px 30px rgba(184, 137, 58, 0.32);
  --ring: 0 0 0 4px rgba(201, 164, 92, 0.32);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 80px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 1.5rem);
}

body {
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--navy-600); text-decoration: none; transition: color 0.25s var(--ease); }
a:hover { color: var(--gold-700); }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
strong { color: var(--slate-800); font-weight: 600; }

:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 8px; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--heading);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.022em;
  font-optical-sizing: auto;
  text-wrap: balance;
}
h1 { font-size: var(--step-5); letter-spacing: -0.035em; }
h2 { font-size: var(--step-3); letter-spacing: -0.028em; }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); letter-spacing: -0.015em; }
p { max-width: 65ch; text-wrap: pretty; }

::selection { background: var(--gold-300); color: var(--navy-900); }

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.35rem, 5vw, 2.75rem); }
.container.wide { max-width: var(--maxw-wide); }
.narrow { max-width: var(--maxw-narrow); }
.section { padding-block: var(--space-xl); }
.section--tight { padding-block: var(--space-lg); }
.bg-cloud { background: var(--cloud); }
.bg-mist { background: var(--mist); }

/* Navy section — layered depth with subtle aurora + grid */
.bg-navy {
  position: relative;
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(201, 164, 92, 0.14), transparent 55%),
    radial-gradient(100% 80% at 0% 110%, rgba(61, 99, 160, 0.30), transparent 60%),
    linear-gradient(160deg, var(--navy-700), var(--navy-900) 70%, var(--navy-950));
  color: #cdd8ee;
  overflow: hidden;
}
.bg-navy::before {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: 0.5;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 100% at 50% 0%, #000 30%, transparent 80%);
          mask-image: radial-gradient(120% 100% at 50% 0%, #000 30%, transparent 80%);
}
.bg-navy > * { position: relative; z-index: 1; }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: #fff; }

.center { text-align: center; }
.measure { max-width: 54ch; }
.measure.center { margin-inline: auto; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }

.grid { display: grid; gap: var(--space-md); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Soft graph-paper texture (subtle mathematical geometry) */
.tex-grid { position: relative; }
.tex-grid::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.6;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 30%, #000, transparent 75%);
          mask-image: radial-gradient(80% 70% at 50% 30%, #000, transparent 75%);
}
.tex-grid > * { position: relative; z-index: 1; }

/* --------------------------------------------------------------------------
   4. Typography utilities
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-family: var(--font-sans);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-700);
}
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: linear-gradient(90deg, var(--gold-500), transparent); }
.eyebrow.center { justify-content: center; }
.eyebrow.center::after { content: ""; width: 26px; height: 1.5px; background: linear-gradient(90deg, transparent, var(--gold-500)); }
.eyebrow--light { color: var(--gold-400); }

.lead { font-size: var(--step-1); color: var(--slate-500); line-height: 1.6; font-weight: 400; }
.bg-navy .lead { color: #aebcd8; }
.muted { color: var(--slate-500); }
.section-head { margin-bottom: var(--space-lg); }
.section-head .lead { margin-top: 1.15rem; }
.section-head h2 { margin-top: 0.35rem; }

/* --------------------------------------------------------------------------
   5. Buttons — refined, with a restrained sheen
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--step-0);
  letter-spacing: -0.01em;
  padding: 0.95rem 1.65rem;
  border-radius: var(--radius-pill);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
  white-space: nowrap; line-height: 1; overflow: hidden; isolation: isolate;
}
.btn svg { width: 1.05em; height: 1.05em; transition: transform 0.35s var(--ease); }
.btn:hover svg.arrow-i { transform: translateX(3px); }

.btn-primary {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--navy-950); box-shadow: var(--shadow-gold);
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(135deg, #fff6e2, var(--gold-500));
  opacity: 0; transition: opacity 0.35s var(--ease);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(184, 137, 58, 0.42); color: var(--navy-950); }
.btn-primary:hover::after { opacity: 1; }
.btn-primary:active { transform: translateY(0); }

.btn-dark { background: var(--navy-700); color: #fff; box-shadow: var(--shadow-sm); }
.btn-dark:hover { background: var(--navy-600); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--navy-700); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--navy-300); color: var(--navy-700); background: var(--white); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--navy-800); box-shadow: var(--shadow-sm); }
.btn-light:hover { background: var(--gold-100); color: var(--navy-900); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.24); }
.btn-outline-light:hover { color: #fff; background: rgba(255,255,255,0.08); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.45); transform: translateY(-2px); }
.btn-lg { padding: 1.1rem 2.05rem; font-size: var(--step-1); }
.btn-block { width: 100%; }

/* Quiet text link with animated underline */
.link-arrow { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 600; color: var(--navy-600); }
.link-arrow svg { width: 1em; height: 1em; transition: transform 0.3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   6. Header / Navigation — glass, precise
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--nav-h);
  background: rgba(252, 252, 254, 0.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 1px 0 rgba(8,20,39,0.02), 0 8px 30px rgba(8,20,39,0.06); background: rgba(252, 252, 254, 0.86); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; font-family: var(--font-serif); font-weight: 600; font-size: 1.45rem; color: var(--navy-700); letter-spacing: -0.03em; }
.brand:hover { color: var(--navy-700); }
.brand-mark {
  width: 40px; height: 40px; border-radius: 11px;
  background: linear-gradient(145deg, var(--navy-500), var(--navy-800));
  color: #fff; display: grid; place-items: center;
  font-family: var(--font-serif); font-weight: 600; font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(8,20,39,0.22), inset 0 1px 0 rgba(255,255,255,0.18);
  position: relative; overflow: hidden;
}
.brand-mark::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); }
.brand-mark span { background: linear-gradient(140deg, var(--gold-300), var(--gold-500)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.nav-links { display: flex; align-items: center; gap: 0.15rem; }
.nav-links a {
  position: relative;
  font-size: 0.97rem; font-weight: 500; color: var(--slate-700);
  padding: 0.55rem 0.95rem; border-radius: 9px;
  transition: color 0.25s var(--ease);
}
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0.95rem; right: 0.95rem; bottom: 0.42rem; height: 1.5px;
  background: var(--gold-500); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform 0.32s var(--ease);
}
.nav-links a:not(.btn):hover { color: var(--navy-700); }
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }
.nav-links a.is-active { color: var(--navy-700); font-weight: 600; }
.nav-links a.is-active::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 0.75rem; }
.nav-mobile-cta { display: none; }

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 11px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; transition: background 0.25s; }
.nav-toggle:hover { background: var(--cloud); }
.nav-toggle span { width: 22px; height: 2px; background: var(--navy-700); border-radius: 2px; transition: transform 0.35s var(--ease), opacity 0.35s; }
.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); }

/* Scroll progress hairline */
.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 200; background: linear-gradient(90deg, var(--gold-500), var(--gold-300)); transition: width 0.1s linear; }

@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); padding: 1.25rem clamp(1.35rem, 5vw, 2.75rem) 2.25rem;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    transform: translateY(-14px); opacity: 0; visibility: hidden;
    transition: transform 0.4s var(--ease), opacity 0.4s var(--ease), visibility 0.4s;
  }
  .nav-links.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-links a:not(.btn) { padding: 1rem 0.5rem; border-bottom: 1px solid var(--line-soft); border-radius: 0; font-size: 1.05rem; }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links a.nav-mobile-cta { display: inline-flex; justify-content: center; margin-top: 1.25rem; border-bottom: 0; color: var(--navy-950); }
  .nav-desktop-cta { display: none; }
}

/* --------------------------------------------------------------------------
   7. Hero — world-class first impression
   -------------------------------------------------------------------------- */
.hero { position: relative; padding-top: clamp(2.5rem, 5vw, 4.5rem); padding-bottom: var(--space-xl); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(55% 50% at 88% -5%, rgba(201, 164, 92, 0.16), transparent 62%),
    radial-gradient(50% 55% at -5% 105%, rgba(35, 74, 130, 0.10), transparent 64%),
    linear-gradient(180deg, var(--mist), var(--paper) 55%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.55; pointer-events: none;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(70% 60% at 30% 25%, #000, transparent 72%);
          mask-image: radial-gradient(70% 60% at 30% 25%, #000, transparent 72%);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.hero h1 { margin-bottom: 1.5rem; }
.hero h1 .accent { color: var(--gold-600); font-style: italic; }
.hero .lead { max-width: 48ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.25rem; align-items: center; }
.hero-note { font-size: var(--step--1); color: var(--slate-500); display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-note svg { width: 1.05em; height: 1.05em; color: var(--gold-600); }

.hero-trust { display: flex; align-items: center; gap: 1.75rem; margin-top: 2.75rem; flex-wrap: wrap; padding-top: 2rem; border-top: 1px solid var(--line); }
.hero-trust .stars { color: var(--gold-500); letter-spacing: 3px; font-size: 1.05rem; }
.hero-trust strong { color: var(--navy-700); }
.hero-trust .trust-divider { width: 1px; height: 34px; background: var(--line); }
.hero-trust .t-num { font-family: var(--font-serif); font-size: 1.5rem; color: var(--navy-700); line-height: 1; }
.hero-trust .t-label { font-size: var(--step--1); color: var(--slate-500); }

.hero-visual { position: relative; }
.hero-figure {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; background: var(--navy-700);
  border: 1px solid rgba(255,255,255,0.4);
}
.hero-visual::before {
  content: ""; position: absolute; inset: -14% -10% auto auto; width: 60%; aspect-ratio: 1; z-index: -1;
  background: radial-gradient(circle, rgba(201,164,92,0.22), transparent 70%); filter: blur(8px);
}
.hero-badge {
  position: absolute; bottom: 26px; left: -26px;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius); padding: 1rem 1.3rem;
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 0.95rem;
  border: 1px solid rgba(255,255,255,0.7);
}
.hero-badge .num { font-family: var(--font-serif); font-size: 1.95rem; color: var(--navy-700); line-height: 1; letter-spacing: -0.02em; }
.hero-badge .lbl { font-size: 0.8rem; color: var(--slate-500); max-width: 13ch; line-height: 1.35; }
.hero-badge--tr { top: 24px; right: -22px; bottom: auto; left: auto; }
.hero-badge .chip-ico { width: 38px; height: 38px; border-radius: 10px; background: var(--gold-100); color: var(--gold-700); display: grid; place-items: center; flex: none; }
.hero-badge .chip-ico svg { width: 20px; height: 20px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--space-md); }
  .hero-visual { order: -1; max-width: 460px; margin-inline: auto; width: 100%; }
  .hero-figure { aspect-ratio: 5 / 4; }
  .hero-badge { left: 12px; }
  .hero-badge--tr { right: 12px; }
}

/* --------------------------------------------------------------------------
   8. Image placeholders — prospectus-grade treatment
   -------------------------------------------------------------------------- */
.img-ph {
  position: relative; width: 100%; height: 100%;
  background: linear-gradient(150deg, var(--navy-600), var(--navy-900) 75%);
  display: grid; place-items: center; color: rgba(255,255,255,0.62);
  font-size: 0.78rem; text-align: center; padding: 1rem; overflow: hidden;
}
.img-ph::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 32px 32px; opacity: 0.5;
}
.img-ph::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 28% 18%, rgba(201,164,92,0.22), transparent 46%),
    radial-gradient(circle at 82% 92%, rgba(61,99,160,0.40), transparent 52%);
}
.img-ph .img-ph__label { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 0.55rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; font-size: 0.72rem; }
.img-ph .img-ph__icon { width: 32px; height: 32px; opacity: 0.7; }
.img-ph--light { background: linear-gradient(150deg, var(--cloud), #e6ebf5); color: var(--slate-400); }
.img-ph--light::after { opacity: 0.4; }
.img-ph--light::before { background-image: linear-gradient(rgba(120,140,180,0.10) 1px, transparent 1px), linear-gradient(90deg, rgba(120,140,180,0.10) 1px, transparent 1px); }
/* Real imagery — object-fit cover, with optional refined tint for depth */
.media { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-wrap { position: relative; overflow: hidden; }
.media-wrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,20,39,0) 45%, rgba(8,20,39,0.42)); pointer-events: none; }
.media-wrap.no-tint::after { display: none; }

/* Monogram — elegant, intentional stand-in for identity portraits (never a fake face) */
.mono { position: relative; width: 100%; height: 100%; display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(150deg, var(--navy-600), var(--navy-900) 78%); color: var(--gold-300); }
.mono::before { content: ""; position: absolute; inset: 0; opacity: 0.5;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 30px 30px; }
.mono::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 22%, rgba(201,164,92,0.22), transparent 50%); }
.mono .glyph { position: relative; z-index: 1; font-family: var(--font-serif); font-weight: 500; font-size: clamp(2.4rem, 7vw, 3.6rem); letter-spacing: -0.02em; line-height: 1; }
.mono .glyph .i { color: var(--gold-400); }
.mono .cap { position: relative; z-index: 1; margin-top: 0.5rem; font-family: var(--font-sans); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(236,217,176,0.7); }
.mono--sm .glyph { font-size: 1.15rem; }
.mono .grad-cap { position: relative; z-index: 1; width: 34%; max-width: 96px; height: auto; color: var(--gold-300); opacity: 0.92; }

.ratio-4-3 { aspect-ratio: 4 / 3; }
.ratio-3-4 { aspect-ratio: 3 / 4; }
.ratio-1-1 { aspect-ratio: 1 / 1; }
.ratio-16-9 { aspect-ratio: 16 / 9; }
.rounded { border-radius: var(--radius); overflow: hidden; }
.rounded-lg { border-radius: var(--radius-lg); overflow: hidden; }
.frame { box-shadow: var(--shadow-md); border: 1px solid var(--line); }

/* --------------------------------------------------------------------------
   9. Cards
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2.25rem; box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--gold-300); }
.card h3 { margin-bottom: 0.6rem; font-size: var(--step-1); }
.card h4 { margin-bottom: 0.5rem; }
.card .card-icon {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--gold-100), #fff); color: var(--gold-700);
  margin-bottom: 1.4rem; box-shadow: inset 0 0 0 1px var(--gold-300), var(--shadow-xs);
}
.card .card-icon svg { width: 26px; height: 26px; }
.card.feature-card { padding: 2rem; }

/* numbered/quiet metric card */
.metric-card { text-align: left; }

/* Feature list */
.ticks { display: grid; gap: 0.9rem; margin-top: 1.4rem; }
.ticks li { display: flex; gap: 0.8rem; align-items: flex-start; color: var(--slate-700); line-height: 1.5; }
.ticks li::before {
  content: ""; flex: none; width: 23px; height: 23px; margin-top: 2px; border-radius: 50%;
  background: var(--gold-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none' stroke='%238a6620' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
  box-shadow: inset 0 0 0 1px var(--gold-300);
}
.bg-navy .ticks li { color: #cdd8ee; }
.bg-navy .ticks li::before { background-color: rgba(201,164,92,0.18); box-shadow: inset 0 0 0 1px rgba(201,164,92,0.4); }

/* Programme card — premium */
.programme-card { display: flex; flex-direction: column; padding: 2.5rem; overflow: hidden; }
.programme-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--gold-400), var(--gold-600));
  transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease);
}
.programme-card:hover::before { transform: scaleX(1); }
.programme-card .pc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 0.5rem; }
.programme-card .pc-head h3 { font-size: var(--step-2); }
.programme-card .pc-tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-700); background: var(--gold-100); padding: 0.4rem 0.8rem; border-radius: var(--radius-pill); white-space: nowrap; box-shadow: inset 0 0 0 1px var(--gold-300); }
.programme-card .pc-price-free { font-size: var(--step--1); color: var(--slate-500); margin-top: 0.25rem; }
.programme-card .btn { margin-top: auto; }
.programme-card .ticks { margin-bottom: 2.25rem; }
.programme-card .ticks li strong { color: var(--navy-700); }

/* --------------------------------------------------------------------------
   10. Stats
   -------------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); }
.stat { text-align: center; position: relative; padding-inline: 0.5rem; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 12%; bottom: 12%; width: 1px; background: var(--line); }
.bg-navy .stat + .stat::before { background: rgba(255,255,255,0.12); }
.stat .stat-num { font-family: var(--font-serif); font-size: var(--step-4); color: var(--navy-700); line-height: 1; letter-spacing: -0.03em; font-weight: 500; }
.bg-navy .stat .stat-num { color: #fff; }
.stat .stat-num .accent { color: var(--gold-500); }
.stat .stat-label { margin-top: 0.8rem; font-size: var(--step--1); letter-spacing: 0.02em; color: var(--slate-500); line-height: 1.45; }
.bg-navy .stat .stat-label { color: #9fb0d0; }
@media (max-width: 980px) { .stat + .stat::before { display: none; } }

/* --------------------------------------------------------------------------
   11. Trust bar / logos / university destinations
   -------------------------------------------------------------------------- */
.trustbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.75rem 3rem; }
.trustbar .trust-item { display: flex; align-items: center; gap: 0.65rem; color: var(--slate-600); font-weight: 600; font-size: 0.92rem; }
.trustbar .trust-item svg { width: 22px; height: 22px; color: var(--navy-400); }
.kicker-label { font-size: var(--step--2); letter-spacing: 0.18em; text-transform: uppercase; color: var(--slate-400); font-weight: 600; }

/* University destinations marquee-style strip */
.uni-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 2.5rem; }
.uni-strip .uni { font-family: var(--font-serif); font-size: clamp(1.1rem, 2.5vw, 1.6rem); color: var(--navy-600); letter-spacing: -0.01em; opacity: 0.85; transition: opacity 0.3s, color 0.3s; }
.uni-strip .uni:hover { opacity: 1; color: var(--navy-700); }
.bg-navy .uni-strip .uni { color: #c7d2ea; }

/* Trustpilot block */
.trustpilot {
  display: flex; align-items: center; justify-content: center; gap: 1.35rem; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.6rem 2.25rem; box-shadow: var(--shadow-sm);
}
.trustpilot .tp-stars { display: flex; gap: 4px; }
.trustpilot .tp-star { width: 30px; height: 30px; background: #00b67a; display: grid; place-items: center; border-radius: 5px; }
.trustpilot .tp-star svg { width: 20px; height: 20px; color: #fff; }
.trustpilot .tp-text { font-size: 0.96rem; color: var(--slate-600); }
.trustpilot .tp-text strong { color: var(--navy-700); }
.tp-widget-note {
  margin-top: 1rem; font-size: 0.78rem; color: var(--slate-400); text-align: center;
  border: 1px dashed var(--line); border-radius: var(--radius); padding: 0.75rem;
}

/* --------------------------------------------------------------------------
   12. Testimonials
   -------------------------------------------------------------------------- */
.quote-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2.4rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.quote-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.quote-card .q-mark { position: absolute; top: 1.4rem; right: 1.8rem; font-family: var(--font-serif); font-size: 4rem; line-height: 1; color: var(--gold-300); opacity: 0.7; }
.quote-card .stars { color: var(--gold-500); letter-spacing: 2px; margin-bottom: 1.1rem; font-size: 0.95rem; }
.quote-card blockquote { font-family: var(--font-serif); font-size: var(--step-1); line-height: 1.5; color: var(--navy-700); margin-bottom: 1.75rem; font-weight: 400; letter-spacing: -0.01em; }
.quote-card .who { display: flex; align-items: center; gap: 0.9rem; margin-top: auto; padding-top: 1.25rem; border-top: 1px solid var(--line-soft); }
.quote-card .avatar { display: none; } /* no fabricated faces — name, role & verified stars carry the proof */
.quote-card .who .verified-tag { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: var(--gold-700); margin-top: 0.25rem; }
.quote-card .who .verified-tag svg { width: 12px; height: 12px; }
.quote-card .who .name { font-weight: 600; color: var(--navy-700); font-size: 0.95rem; }
.quote-card .who .role { font-size: 0.82rem; color: var(--slate-500); }

/* Case study */
.case { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 0; align-items: stretch; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.case:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.case .case-body { padding: 2.6rem; display: flex; flex-direction: column; justify-content: center; }
.case .case-visual { min-height: 260px; position: relative; }
.case .case-jump { display: inline-flex; align-items: baseline; gap: 0.6rem; font-family: var(--font-serif); margin-top: 0.25rem; }
.case .case-jump .from { color: var(--slate-400); font-size: 1.5rem; }
.case .case-jump .to { color: var(--navy-700); font-size: 2.6rem; letter-spacing: -0.02em; }
.case .case-jump .arrow { color: var(--gold-500); font-size: 1.4rem; }
@media (max-width: 760px) { .case { grid-template-columns: 1fr; } .case .case-visual { order: -1; min-height: 200px; } }

/* --------------------------------------------------------------------------
   13. Process / steps
   -------------------------------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: var(--space-md); position: relative; }
.step-item { display: grid; grid-template-columns: auto 1fr; gap: 1.6rem; align-items: start; position: relative; }
.step-item .step-num {
  counter-increment: step; flex: none;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-serif); font-size: 1.35rem;
  color: var(--navy-700); background: #fff; box-shadow: inset 0 0 0 1.5px var(--gold-400), var(--shadow-xs);
  z-index: 1;
}
.step-item .step-num::before { content: counter(step); }
.step-item h4 { margin-bottom: 0.35rem; }

/* --------------------------------------------------------------------------
   14. Team
   -------------------------------------------------------------------------- */
.tutor-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.tutor-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.tutor-card .tutor-photo { aspect-ratio: 1 / 1; position: relative; }
.tutor-card .tutor-photo .verified { position: absolute; top: 0.85rem; right: 0.85rem; z-index: 2; display: inline-flex; align-items: center; gap: 0.35rem; background: rgba(255,255,255,0.92); backdrop-filter: blur(6px); padding: 0.3rem 0.6rem; border-radius: var(--radius-pill); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gold-700); box-shadow: var(--shadow-xs); }
.tutor-card .tutor-photo .verified svg { width: 13px; height: 13px; }
.tutor-card .tutor-body { padding: 1.6rem; }
.tutor-card .tutor-name { font-family: var(--font-serif); font-size: 1.3rem; color: var(--navy-700); letter-spacing: -0.015em; }
.tutor-card .tutor-meta { font-size: 0.82rem; color: var(--gold-700); font-weight: 600; margin-top: 0.25rem; letter-spacing: 0.02em; }
.tutor-card .tutor-desc { font-size: 0.9rem; margin-top: 0.85rem; color: var(--slate-500); line-height: 1.55; }
.tutor-card .tutor-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.15rem; }
.tutor-card .tutor-tags span { font-size: 0.72rem; font-weight: 600; color: var(--navy-600); background: var(--cloud); padding: 0.3rem 0.65rem; border-radius: var(--radius-pill); }

/* Founder block — editorial */
.founder { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.founder .founder-visual { position: relative; }
.founder .founder-photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,0.5); }
.founder .founder-visual::before { content: ""; position: absolute; inset: auto auto -18px -18px; width: 55%; aspect-ratio: 1; background: radial-gradient(circle, rgba(201,164,92,0.22), transparent 70%); z-index: -1; filter: blur(6px); }
.founder .founder-credential { position: absolute; bottom: 18px; right: -18px; background: rgba(255,255,255,0.94); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.7); border-radius: var(--radius); padding: 0.9rem 1.1rem; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 0.7rem; }
.founder .founder-credential .ico { width: 36px; height: 36px; border-radius: 10px; background: var(--gold-100); color: var(--gold-700); display: grid; place-items: center; flex: none; }
.founder .founder-credential .ico svg { width: 19px; height: 19px; }
.founder .founder-credential .txt { font-size: 0.74rem; color: var(--slate-500); line-height: 1.3; }
.founder .founder-credential .txt strong { display: block; color: var(--navy-700); font-size: 0.86rem; font-family: var(--font-serif); }
.founder .founder-roles { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.6rem; }
.founder .founder-roles span { font-size: 0.78rem; font-weight: 600; color: var(--navy-700); background: var(--gold-100); padding: 0.45rem 0.9rem; border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1px var(--gold-300); }
.signature { font-family: var(--font-serif); font-style: italic; font-size: 1.55rem; color: var(--navy-600); margin-top: 1.75rem; }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; } .founder .founder-visual { max-width: 380px; } .founder .founder-credential { right: 12px; } }

/* Pull quote / editorial statement */
.pullquote { font-family: var(--font-serif); font-size: var(--step-2); line-height: 1.4; color: var(--navy-700); letter-spacing: -0.02em; max-width: 22ch; }

/* --------------------------------------------------------------------------
   15. CTA band — flagship
   -------------------------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; color: #fff; border-radius: var(--radius-xl); padding: clamp(2.75rem, 6vw, 5rem); text-align: center;
  background:
    radial-gradient(60% 90% at 50% -10%, rgba(201,164,92,0.24), transparent 60%),
    radial-gradient(80% 100% at 100% 100%, rgba(61,99,160,0.30), transparent 60%),
    linear-gradient(155deg, var(--navy-700), var(--navy-950));
  box-shadow: var(--shadow-lg);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; opacity: 0.4; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(80% 80% at 50% 0%, #000, transparent 75%);
          mask-image: radial-gradient(80% 80% at 50% 0%, #000, transparent 75%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band .lead { color: #c4d0ea; margin: 1.1rem auto 2.25rem; max-width: 46ch; }
.cta-band .hero-actions { justify-content: center; }
.cta-fine { margin-top: 1.6rem; font-size: 0.82rem; color: #93a6c8; display: inline-flex; align-items: center; gap: 0.5rem; }
.cta-fine svg { width: 1em; height: 1em; color: var(--gold-400); }

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.site-footer { position: relative; background: linear-gradient(180deg, var(--navy-900), var(--navy-950)); color: #9fb0d0; padding-block: var(--space-lg) var(--space-md); margin-top: var(--space-xl); overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(201,164,92,0.45), transparent); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--space-md); }
.site-footer .brand { color: #fff; }
.site-footer p { font-size: 0.92rem; color: #8ea0c0; margin-top: 1.15rem; max-width: 34ch; line-height: 1.65; }
.footer-col h5 { color: #fff; font-family: var(--font-sans); font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-col a { display: block; color: #9fb0d0; font-size: 0.93rem; padding: 0.35rem 0; transition: color 0.25s, padding-left 0.25s; }
.footer-col a:hover { color: var(--gold-400); padding-left: 4px; }
.socials { display: flex; gap: 0.6rem; margin-top: 1.75rem; }
.socials a { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,0.05); color: #c4d0ea; transition: background 0.3s, color 0.3s, transform 0.3s; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); }
.socials a:hover { background: var(--gold-500); color: var(--navy-950); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: var(--space-lg); padding-top: var(--space-md); border-top: 1px solid rgba(255,255,255,0.08); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; font-size: 0.82rem; color: #76889f; }
.footer-bottom a { color: #76889f; }
.footer-bottom a:hover { color: var(--gold-400); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 1.5rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-md) var(--space-sm); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   17. Page hero (interior pages)
   -------------------------------------------------------------------------- */
.page-hero { position: relative; padding-block: clamp(3rem, 6vw, 5.5rem) var(--space-lg); background: linear-gradient(180deg, var(--mist), var(--paper)); border-bottom: 1px solid var(--line); overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: 0.5; pointer-events: none;
  background:
    radial-gradient(50% 60% at 90% 0%, rgba(201,164,92,0.12), transparent 60%),
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: auto, 58px 58px, 58px 58px;
  -webkit-mask-image: radial-gradient(80% 80% at 70% 10%, #000, transparent 78%);
          mask-image: radial-gradient(80% 80% at 70% 10%, #000, transparent 78%);
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero-motif { position: absolute; top: 50%; right: -3%; transform: translateY(-50%); width: clamp(280px, 34vw, 460px); height: auto; opacity: 0.5; z-index: 0; pointer-events: none; -webkit-mask-image: radial-gradient(closest-side, #000 60%, transparent); mask-image: radial-gradient(closest-side, #000 60%, transparent); }
@media (max-width: 820px) { .page-hero-motif { opacity: 0.18; right: -18%; } }
.page-hero .eyebrow { margin-bottom: 1.1rem; }
.page-hero h1 { font-size: var(--step-4); max-width: 17ch; }
.page-hero .lead { margin-top: 1.35rem; max-width: 54ch; }
.breadcrumb { font-size: 0.85rem; color: var(--slate-400); margin-bottom: 1.35rem; letter-spacing: 0.01em; }
.breadcrumb a { color: var(--slate-500); }

/* Prose */
.prose h2 { font-size: var(--step-2); margin-top: 2.75rem; margin-bottom: 1rem; }
.prose h3 { font-size: var(--step-1); margin-top: 1.85rem; margin-bottom: 0.75rem; }
.prose p, .prose li { color: var(--slate-700); }
.prose p { margin-bottom: 1.1rem; }
.prose ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1.1rem; }
.prose ul li { margin-bottom: 0.5rem; }
.prose a { color: var(--navy-600); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--gold-400); }

/* --------------------------------------------------------------------------
   17b. FAQ — quiet objection handling (native details/summary)
   -------------------------------------------------------------------------- */
.faq { max-width: 760px; margin-inline: auto; display: grid; gap: 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.5rem 0.25rem; font-family: var(--font-serif); font-size: var(--step-1); color: var(--navy-700); letter-spacing: -0.015em; transition: color 0.25s var(--ease); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold-700); }
.faq-item summary .faq-ico { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--gold-400); color: var(--gold-700); transition: transform 0.35s var(--ease), background 0.35s var(--ease); }
.faq-item summary .faq-ico svg { width: 14px; height: 14px; }
.faq-item[open] summary .faq-ico { transform: rotate(45deg); background: var(--gold-100); }
.faq-item .faq-body { padding: 0 0.25rem 1.6rem; color: var(--slate-600); max-width: 64ch; }
.faq-item .faq-body p { margin: 0; }

/* --------------------------------------------------------------------------
   18. Section dividers (elegant, mathematical)
   -------------------------------------------------------------------------- */
.divider { height: 1px; background: var(--line); border: 0; }
.rule-fancy { display: flex; align-items: center; justify-content: center; gap: 1rem; color: var(--gold-500); }
.rule-fancy::before, .rule-fancy::after { content: ""; height: 1px; width: min(120px, 22vw); background: linear-gradient(90deg, transparent, var(--line)); }
.rule-fancy::after { background: linear-gradient(90deg, var(--line), transparent); }
.rule-fancy .mark { width: 7px; height: 7px; transform: rotate(45deg); border: 1.5px solid var(--gold-500); }

/* --------------------------------------------------------------------------
   19. 404
   -------------------------------------------------------------------------- */
.error-page { min-height: 72vh; display: grid; place-items: center; text-align: center; padding-block: var(--space-lg); position: relative; }
.error-page .code { font-family: var(--font-serif); font-size: clamp(5.5rem, 20vw, 12rem); line-height: 1; color: var(--navy-700); letter-spacing: -0.05em; }
.error-page .code .accent { color: var(--gold-500); }

/* --------------------------------------------------------------------------
   20. Sticky mobile CTA
   -------------------------------------------------------------------------- */
.mobile-cta-bar { display: none; }
@media (max-width: 960px) {
  .mobile-cta-bar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 0.7rem clamp(1rem, 5vw, 1.5rem);
    padding-bottom: calc(0.7rem + env(safe-area-inset-bottom));
    background: rgba(252, 252, 254, 0.92);
    backdrop-filter: saturate(170%) blur(14px);
    -webkit-backdrop-filter: saturate(170%) blur(14px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(8, 20, 39, 0.08);
    transform: translateY(110%); transition: transform 0.45s var(--ease);
  }
  .mobile-cta-bar.is-shown { transform: translateY(0); }
  /* reserve space so the fixed bar never hides the footer's last line */
  .site-footer { padding-bottom: calc(var(--space-md) + 72px); }
}

/* --------------------------------------------------------------------------
   21. Motion (scroll reveal, restrained)
   -------------------------------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); will-change: opacity, transform; }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.09s; }
[data-reveal][data-delay="2"] { transition-delay: 0.18s; }
[data-reveal][data-delay="3"] { transition-delay: 0.27s; }
[data-reveal][data-delay="4"] { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .mobile-cta-bar { transform: none; }
}

/* --------------------------------------------------------------------------
   22. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: var(--space-lg) var(--space-md); }
}
@media (max-width: 760px) {
  :root { --space-xl: 5rem; --space-lg: 3.5rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .step-item { grid-template-columns: auto 1fr; gap: 1.1rem; }
  .hero-trust { gap: 1.25rem; }
  .hero-trust .trust-divider { display: none; }
}

/* --------------------------------------------------------------------------
   23. Conversion components (v-final: CRO refinement)
   -------------------------------------------------------------------------- */
/* Hero proof chips */
.proof-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.75rem; }
.proof-chip { display: inline-flex; align-items: center; gap: 0.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 0.5rem 0.95rem; font-size: 0.86rem; color: var(--slate-700); box-shadow: var(--shadow-xs); }
.proof-chip svg { width: 1.05em; height: 1.05em; color: var(--gold-600); flex: none; }
.proof-chip b { color: var(--navy-700); font-weight: 600; }

/* Empathy / problem statement */
.empathy { max-width: 46ch; }
.empathy p { font-family: var(--font-serif); font-size: var(--step-2); line-height: 1.35; color: var(--navy-700); letter-spacing: -0.02em; }
.empathy .turn { color: var(--gold-600); font-style: italic; }

/* "Who it's for" persona cards */
.persona { display: flex; gap: 0.9rem; align-items: flex-start; }
.persona .pico { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--gold-100); color: var(--gold-700); display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--gold-300); }
.persona .pico svg { width: 20px; height: 20px; }
.persona h4 { margin-bottom: 0.25rem; }
.persona p { font-size: 0.92rem; color: var(--slate-500); }

/* University destinations — fields + names */
.dest-fields { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin-bottom: 1.75rem; }
.dest-fields .field { display: inline-flex; align-items: center; gap: 0.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 0.55rem 1.05rem; font-weight: 600; color: var(--navy-700); box-shadow: var(--shadow-xs); }
.dest-fields .field svg { width: 1.1em; height: 1.1em; color: var(--gold-600); }
.bg-navy .dest-fields .field { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.14); color: #fff; }

/* Comparison table — Small groups vs 1-to-1 */
.compare-wrap { overflow-x: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.cmp { width: 100%; min-width: 560px; border-collapse: separate; border-spacing: 0; background: #fff; }
.cmp th, .cmp td { padding: 1.1rem 1.35rem; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.cmp thead th { font-family: var(--font-serif); font-weight: 500; font-size: 1.05rem; color: var(--navy-700); border-bottom: 1px solid var(--line); }
.cmp thead th.us { background: linear-gradient(150deg, var(--navy-600), var(--navy-800)); color: #fff; }
.cmp thead th.us small { display: block; font-family: var(--font-sans); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.04em; color: var(--gold-300); margin-top: 0.15rem; }
.cmp tbody th { font-weight: 600; color: var(--slate-700); font-size: 0.95rem; }
.cmp td { font-size: 0.92rem; color: var(--slate-600); }
.cmp td.us { background: rgba(201,164,92,0.07); color: var(--navy-700); font-weight: 500; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: none; }
.cmp .tick { display: inline-flex; align-items: center; gap: 0.5rem; }
.cmp .tick svg { width: 18px; height: 18px; color: var(--gold-700); flex: none; }
.cmp .dash { color: var(--slate-400); }

/* Discovery-call journey (vertical stepper) */
.journey { position: relative; max-width: 720px; margin-inline: auto; counter-reset: jstep; }
.jstep { display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; padding-bottom: 2.1rem; position: relative; }
.jstep:last-child { padding-bottom: 0; }
.jstep::before { content: ""; position: absolute; left: 24px; top: 50px; bottom: -4px; width: 2px; background: linear-gradient(var(--gold-400), var(--line)); }
.jstep:last-child::before { display: none; }
.jnode { counter-increment: jstep; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 2px var(--gold-400), var(--shadow-xs); font-family: var(--font-serif); font-size: 1.15rem; color: var(--navy-700); z-index: 1; }
.jnode::before { content: counter(jstep); }
.jstep.goal .jnode { background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); box-shadow: var(--shadow-gold); color: var(--navy-950); }
.jstep .jbody { padding-top: 0.35rem; }
.jstep .jbody h4 { margin-bottom: 0.2rem; }
.jstep .jbody p { font-size: 0.92rem; color: var(--slate-500); margin: 0; }
.jstep .jwhen { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-700); }

/* --------------------------------------------------------------------------
   24. Trustpilot integration (live widget + genuine excerpt)
   -------------------------------------------------------------------------- */
.tp-brandline { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 700; color: var(--navy-700); }
.tp-brandline .tp-star { width: 26px; height: 26px; background: #00b67a; display: grid; place-items: center; border-radius: 5px; }
.tp-brandline .tp-star svg { width: 17px; height: 17px; color: #fff; }
.trustbox {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.75rem 2rem; box-shadow: var(--shadow-sm); text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 0.85rem;
}
.trustbox .tp-link { font-weight: 600; }
.trustbox .tp-hint { font-size: 0.78rem; color: var(--slate-400); border: 1px dashed var(--line); border-radius: var(--radius); padding: 0.6rem 0.9rem; max-width: 46ch; }
/* genuine-review attribution */
.via-tp { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em; color: #00875a; }
.via-tp .vt-star { width: 16px; height: 16px; background: #00b67a; border-radius: 3px; display: inline-grid; place-items: center; flex: none; }
.via-tp .vt-star svg { width: 10px; height: 10px; color: #fff; }

/* Utility */
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--navy-700); color: #fff; padding: 0.75rem 1.25rem; border-radius: 0 0 10px 0; z-index: 300; }
.skip-link:focus { left: 0; color: #fff; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
