/*
Theme Name:   Paras Institute
Theme URI:    https://www.parasinstitute.com/
Author:       Vero Brand Crafter LLP
Author URI:   https://www.3amediagroup.com/
Description:  Custom WordPress theme for Paras Institute of Commerce — CA coaching in Hisar since 1995. Built from the Paras Core design system (Figma). Classic PHP theme, no page builder, no jQuery. Includes a full technical-SEO and JSON-LD schema layer for multi-branch local search.
Version:      1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License:      GPL-2.0-or-later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  paras
Tags:         education, custom-colors, custom-menu, accessibility-ready, translation-ready
*/

/* ==========================================================================
   01 · DESIGN TOKENS
   Mirrors the "Paras Core" variable collection in Figma.
   Figma name            ->  CSS custom property
   color/paper           ->  --c-paper
   color/surface         ->  --c-surface
   color/mist            ->  --c-mist
   color/forest-soft     ->  --c-blue-soft
   color/brass-soft      ->  --c-red-soft
   color/forest          ->  --c-blue        (logo blue, darkened to pass 4.5:1)
   color/forest-deep     ->  --c-navy
   color/sage            ->  --c-sage
   color/brass           ->  --c-red         (exact logo red)
   color/brass-light     ->  --c-sky
   color/ink             ->  --c-ink
   color/ink-muted       ->  --c-ink-muted
   color/on-dark         ->  --c-on-dark
   color/on-dark-mut     ->  --c-on-dark-mut
   color/line            ->  --c-line
   color/line-strong     ->  --c-line-strong
   ========================================================================== */

:root {
  /* Surfaces */
  --c-paper:        #F8FBFD;
  --c-surface:      #FFFFFF;
  --c-mist:         #E3F0F7;
  --c-blue-soft:    #CFE5F1;
  --c-red-soft:     #FCE8E9;

  /* Brand */
  --c-blue:         #276C94;   /* body/button blue — 4.6:1 on white */
  --c-navy:         #11364B;
  --c-sage:         #7FB3CE;
  --c-red:          #D8252F;   /* exact logo red */
  --c-sky:          #9BCFE8;   /* red is unreadable on navy; this replaces it */
  --c-logo-blue:    #3B87B5;   /* original logo blue — artwork only, never text */

  /* Text */
  --c-ink:          #16232C;
  --c-ink-muted:    #556976;
  --c-on-dark:      #EEF7FB;
  --c-on-dark-mut:  #A3C4D6;

  /* Lines */
  --c-line:         #DBE8EF;
  --c-line-strong:  #BED5E2;

  /* Spacing scale (Figma space/2 … space/11) */
  --s-1:  4px;   --s-2:  8px;   --s-3: 12px;  --s-4: 16px;
  --s-5: 24px;   --s-6: 32px;   --s-7: 48px;  --s-8: 64px;
  --s-9: 96px;   --s-10: 128px;

  /* Radii (Figma radius/sm … xl) */
  --r-sm: 8px;  --r-md: 14px;  --r-lg: 22px;  --r-xl: 32px;  --r-pill: 999px;

  /* Type */
  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-body:    "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --f-mono:    "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Layout */
  --wrap: 1200px;
  --gutter: 120px;
  --header-h: 120px;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(17, 54, 75, .05);
  --shadow-md: 0 4px 16px rgba(17, 54, 75, .07);
  --shadow-lg: 0 12px 40px rgba(17, 54, 75, .10);
}

/* ==========================================================================
   02 · RESET & BASE
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--c-paper);
  color: var(--c-ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--c-blue); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--c-navy); }

h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; color: var(--c-navy); margin: 0 0 var(--s-4); line-height: 1.15; }
h1 { font-size: clamp(1.75rem, 1.15rem + 2.4vw, 2.625rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.375rem, 1.1rem + 1.2vw, 2rem); }
h3 { font-size: clamp(1.125rem, 1.02rem + .5vw, 1.3125rem); }
h4 { font-family: var(--f-body); font-weight: 600; font-size: 1rem; color: var(--c-ink); line-height: 1.4; }
p  { margin: 0 0 var(--s-4); }
ul, ol { margin: 0 0 var(--s-4); padding-left: 1.25em; }
li { margin-bottom: .4em; }

:focus-visible { outline: 3px solid var(--c-red); outline-offset: 2px; border-radius: 4px; }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 999;
  background: var(--c-navy); color: var(--c-on-dark); padding: var(--s-3) var(--s-5);
  border-radius: 0 0 var(--r-sm) var(--r-sm); font-weight: 600; text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus { top: 0; color: var(--c-on-dark); }

/* ==========================================================================
   03 · LAYOUT
   ========================================================================== */

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--s-9); }
.section--tight { padding-block: var(--s-8); }
.section--paper   { background: var(--c-paper); }
.section--surface { background: var(--c-surface); }
.section--mist    { background: var(--c-mist); }
.section--navy    { background: var(--c-navy); color: var(--c-on-dark); }
.section--red     { background: var(--c-red-soft); }

.section--navy h1, .section--navy h2, .section--navy h3 { color: var(--c-on-dark); }
.section--navy p, .section--navy li { color: var(--c-on-dark-mut); }
.section--navy a { color: var(--c-sky); }

.grid { display: grid; gap: var(--s-5); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.split  { display: grid; grid-template-columns: minmax(0,1fr) 440px; gap: var(--s-9); align-items: start; }
.split--even { grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--s-8); }
.split--media { grid-template-columns: 460px minmax(0,1fr); gap: var(--s-8); align-items: center; }

.stack > * + * { margin-top: var(--s-4); }
.measure { max-width: 62ch; }
.measure--tight { max-width: 46ch; }

/* ==========================================================================
   04 · TYPE UTILITIES
   ========================================================================== */

.eyebrow {
  font-family: var(--f-mono); font-size: .625rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; color: var(--c-ink-muted);
  margin: 0 0 var(--s-4);
}
.eyebrow--red { color: var(--c-red); }
.eyebrow--sky { color: var(--c-sky); }
.lede { font-size: 1rem; line-height: 1.7; color: var(--c-ink-muted); }
.section--navy .lede { color: var(--c-on-dark-mut); }
.small { font-size: .8438rem; color: var(--c-ink-muted); }
.mono { font-family: var(--f-mono); font-size: .625rem; letter-spacing: .06em; text-transform: uppercase; }
.display-num { font-family: var(--f-display); font-weight: 600; font-size: 1.875rem; line-height: 1.1; color: var(--c-blue); }
.section--navy .display-num { color: var(--c-on-dark); }

/* ==========================================================================
   05 · BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  padding: 15px 22px 15px 26px; border-radius: var(--r-pill);
  font-family: var(--f-body); font-size: .875rem; font-weight: 600; line-height: 1.2;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, transform .1s ease;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 15px; height: 15px; flex: none; }

.btn--blue  { background: var(--c-blue);  color: var(--c-on-dark); }
.btn--blue:hover  { background: var(--c-navy); color: var(--c-on-dark); }
.btn--red   { background: var(--c-red);   color: #fff; }
.btn--red:hover   { background: #B81C25; color: #fff; }
.btn--light { background: var(--c-surface); color: var(--c-blue); }
.btn--light:hover { background: var(--c-mist); color: var(--c-navy); }
.btn--ghost { background: transparent; color: var(--c-blue); border-color: var(--c-line-strong); }
.btn--ghost:hover { background: var(--c-surface); border-color: var(--c-blue); }
.btn--ghost-dark { background: transparent; color: var(--c-on-dark); border-color: var(--c-sage); }
.btn--ghost-dark:hover { background: rgba(255,255,255,.08); color: var(--c-on-dark); }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }

.link-arrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-weight: 600; font-size: .875rem; text-decoration: none; color: var(--c-blue);
}
.link-arrow:hover { gap: 11px; }
.link-arrow svg { width: 15px; height: 15px; transition: transform .15s ease; }

/* ==========================================================================
   06 · PILLS, BADGES, CARDS
   ========================================================================== */

.pill {
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: 7px 12px; border-radius: var(--r-pill);
  font-family: var(--f-mono); font-size: .625rem; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}
.pill--red   { background: var(--c-red-soft); color: var(--c-red); }
.pill--blue  { background: var(--c-mist); color: var(--c-blue); }
.pill--solid { background: var(--c-blue); color: var(--c-on-dark); }
.pill--red-solid { background: var(--c-red); color: #fff; }
.pill--navy  { background: var(--c-blue-soft); color: var(--c-navy); }
.pill--outline { background: transparent; color: var(--c-ink-muted); border: 1px solid var(--c-line-strong); }
.pill-row { display: flex; flex-wrap: wrap; gap: var(--s-2); }

.badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: var(--r-pill); flex: none;
  background: var(--c-blue-soft); color: var(--c-navy);
}
.badge svg { width: 21px; height: 21px; }
.badge--red { background: var(--c-red-soft); color: var(--c-red); }
.badge--num { font-family: var(--f-mono); font-size: .75rem; font-weight: 600; letter-spacing: .02em; }

.card {
  background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: var(--r-lg); padding: var(--s-5);
  display: flex; flex-direction: column;
}
.card--flush { padding: 0; overflow: hidden; }
.card--mist { background: var(--c-mist); border-color: transparent; }
.card--navy { background: var(--c-blue); border-color: transparent; color: var(--c-on-dark); }
.card--navy h3, .card--navy h4 { color: var(--c-on-dark); }
.card--navy p { color: var(--c-on-dark-mut); }
.card--featured { border-color: var(--c-red); border-width: 1.5px; }
.card__foot { margin-top: auto; padding-top: var(--s-5); }
.card__title { font-family: var(--f-display); font-size: 1.25rem; margin: 0 0 var(--s-2); }

hr, .rule { border: 0; border-top: 1px solid var(--c-line); margin: var(--s-5) 0; }
.section--navy .rule { border-color: var(--c-navy); }

/* Fact rows inside cards */
.facts { list-style: none; margin: 0; padding: 0; }
.facts li { display: flex; align-items: center; gap: var(--s-2); margin: 0 0 var(--s-3); }
.facts li:last-child { margin-bottom: 0; }
.facts dt, .facts .facts__k { font-family: var(--f-mono); font-size: .625rem; letter-spacing: .06em; text-transform: uppercase; color: var(--c-ink-muted); }
.facts .facts__v { margin-left: auto; font-weight: 600; font-size: .875rem; }
.facts--divided li + li { border-top: 1px solid var(--c-line); padding-top: var(--s-3); }
.section--navy .facts--divided li + li,
.card--navy .facts--divided li + li { border-top-color: var(--c-navy); }

/* Check list */
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { display: flex; gap: var(--s-3); margin-bottom: var(--s-3); font-size: .9375rem; line-height: 1.55; }
.checks li::before {
  content: ""; flex: none; width: 16px; height: 16px; margin-top: 4px;
  background: currentColor; color: var(--c-blue);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
}
.section--navy .checks li::before { color: var(--c-sky); }

/* ==========================================================================
   07 · HEADER / NAV
   ========================================================================== */

.site-header {
  background: var(--c-surface); border-bottom: 1px solid var(--c-line);
  position: sticky; top: 0; z-index: 90;
}
.site-header__inner { display: flex; align-items: center; gap: var(--s-6); min-height: var(--header-h); }
.site-logo { display: block; flex: none; }
.site-logo img { height: 56px; width: auto; }
.site-logo__text { font-family: var(--f-display); font-size: 1.375rem; color: var(--c-navy); text-decoration: none; }

.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; gap: var(--s-6); list-style: none; margin: 0; padding: 0; }
.primary-nav a {
  font-size: .875rem; font-weight: 500; color: var(--c-ink-muted);
  text-decoration: none; padding-block: var(--s-2); position: relative;
}
.primary-nav a:hover { color: var(--c-navy); }
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a { color: var(--c-navy); font-weight: 600; }
.primary-nav .current-menu-item > a::after,
.primary-nav .current_page_item > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--c-red);
}
.header-actions { display: flex; align-items: center; gap: var(--s-5); flex: none; }
.header-actions .login { font-size: .875rem; font-weight: 500; color: var(--c-ink-muted); text-decoration: none; }
.header-actions .login:hover { color: var(--c-navy); }

.nav-toggle { display: none; background: var(--c-mist); border: 0; border-radius: var(--r-pill); width: 38px; height: 38px; align-items: center; justify-content: center; cursor: pointer; color: var(--c-ink); }
.nav-toggle svg { width: 21px; height: 21px; }

/* In-page section nav (course detail) */
.section-nav { background: var(--c-surface); border-bottom: 1px solid var(--c-line); position: sticky; top: var(--header-h); z-index: 80; }
.section-nav ul { display: flex; gap: var(--s-7); list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.section-nav ul::-webkit-scrollbar { display: none; }
.section-nav a { display: block; padding: 22px 0 10px; font-size: .8438rem; font-weight: 500; color: var(--c-ink-muted); text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap; }
.section-nav a:hover { color: var(--c-navy); }
.section-nav a[aria-current="true"] { color: var(--c-navy); font-weight: 600; border-bottom-color: var(--c-red); }

/* ==========================================================================
   08 · BREADCRUMBS
   ========================================================================== */

.breadcrumbs { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; margin: 0 0 var(--s-6); padding: 0; list-style: none; }
.breadcrumbs li { font-family: var(--f-mono); font-size: .625rem; letter-spacing: .06em; text-transform: uppercase; color: var(--c-ink-muted); margin: 0; }
.breadcrumbs a { color: var(--c-ink-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--c-blue); text-decoration: underline; }
.breadcrumbs li[aria-current="page"] { color: var(--c-blue); }
.breadcrumbs .sep { color: var(--c-sage); }
.section--navy .breadcrumbs li { color: var(--c-on-dark-mut); }
.section--navy .breadcrumbs a { color: var(--c-on-dark-mut); }
.section--navy .breadcrumbs li[aria-current="page"] { color: var(--c-sky); }

/* ==========================================================================
   09 · TABLES
   ========================================================================== */

.table-card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); overflow: hidden; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table caption { text-align: left; padding: var(--s-4) var(--s-6); font-size: .875rem; color: var(--c-ink-muted); }
.data-table th {
  background: var(--c-mist); text-align: left; padding: var(--s-4) var(--s-6);
  font-family: var(--f-mono); font-size: .625rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; color: var(--c-ink-muted);
}
.data-table td { padding: 18px var(--s-6); border-top: 1px solid var(--c-line); font-size: .8438rem; vertical-align: middle; }
.data-table tbody tr:first-child td { border-top: 0; }
.data-table .t-strong { font-weight: 600; color: var(--c-ink); font-size: .9375rem; }
.data-table .t-sub { display: block; color: var(--c-ink-muted); font-size: .8125rem; }
.table-card--dark { background: var(--c-blue); border-color: transparent; }
.table-card--dark .data-table th { background: var(--c-navy); color: var(--c-sage); }
.table-card--dark .data-table td { color: var(--c-on-dark); border-top-color: var(--c-navy); }

/* ==========================================================================
   10 · FORMS
   ========================================================================== */

.field { display: block; margin-bottom: var(--s-5); }
.field__label {
  display: block; margin-bottom: var(--s-2);
  font-family: var(--f-mono); font-size: .5625rem; font-weight: 500;
  letter-spacing: .07em; text-transform: uppercase; color: var(--c-ink-muted);
}
.field input[type="text"], .field input[type="email"], .field input[type="tel"],
.field input[type="password"], .field select, .field textarea {
  width: 100%; padding: 16px; font-family: var(--f-body); font-size: .9375rem;
  color: var(--c-ink); background: var(--c-surface);
  border: 1px solid var(--c-line-strong); border-radius: var(--r-md);
  appearance: none;
}
.field textarea { min-height: 112px; resize: vertical; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23556976' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 16px; padding-right: 44px;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--c-blue); outline: 2px solid var(--c-mist); outline-offset: 0; }
.field input::placeholder, .field textarea::placeholder { color: var(--c-ink-muted); opacity: 1; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--s-5); }

.choice { display: flex; gap: var(--s-3); align-items: flex-start; font-size: .8125rem; color: var(--c-ink-muted); line-height: 1.55; }
.choice input[type="checkbox"], .choice input[type="radio"] { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--c-blue); }

.form-card { background: var(--c-paper); border: 1px solid var(--c-line); border-radius: var(--r-xl); padding: var(--s-7); }
.form-note { font-family: var(--f-mono); font-size: .625rem; letter-spacing: .05em; text-transform: uppercase; color: var(--c-ink-muted); }
.form-feedback { padding: var(--s-4) var(--s-5); border-radius: var(--r-md); margin-bottom: var(--s-5); font-size: .9375rem; }
.form-feedback--ok { background: var(--c-mist); color: var(--c-navy); }
.form-feedback--err { background: var(--c-red-soft); color: var(--c-red); }
.hp-field { position: absolute; left: -9999px; }

/* Segmented mode picker */
.seg { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.seg input { position: absolute; opacity: 0; width: 0; height: 0; }
.seg label {
  display: inline-flex; padding: 9px 14px; border-radius: var(--r-pill); cursor: pointer;
  font-family: var(--f-mono); font-size: .625rem; letter-spacing: .06em; text-transform: uppercase;
  background: var(--c-surface); color: var(--c-ink-muted); border: 1px solid var(--c-line-strong);
}
.seg input:checked + label { background: var(--c-blue); color: var(--c-on-dark); border-color: var(--c-blue); }
.seg input:focus-visible + label { outline: 3px solid var(--c-red); outline-offset: 2px; }

/* ==========================================================================
   11 · MEDIA PLACEHOLDERS
   ========================================================================== */

.media { border-radius: var(--r-md); overflow: hidden; background: var(--c-mist); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--4x5  { aspect-ratio: 4 / 5; }
.media--4x3  { aspect-ratio: 4 / 3; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media--round { border-radius: var(--r-pill); }
.media--empty {
  display: grid; place-items: center; gap: var(--s-2);
  border: 1px dashed var(--c-line-strong); color: var(--c-sage);
  font-family: var(--f-mono); font-size: .5625rem; letter-spacing: .07em; text-transform: uppercase; text-align: center;
}
.avatar { width: 44px; height: 44px; border-radius: var(--r-pill); flex: none; object-fit: cover; background: var(--c-mist); }

/* ==========================================================================
   12 · SPECIFIC BLOCKS
   ========================================================================== */

/* Hero */
.hero { padding-block: var(--s-7) var(--s-9); }
.hero h1 { margin-bottom: var(--s-5); }
.hero__facts { display: flex; flex-wrap: wrap; gap: var(--s-6); margin-top: var(--s-7); list-style: none; padding: 0; }
.hero__facts li { margin: 0; }
.hero__facts .k { display: block; font-family: var(--f-mono); font-size: .5625rem; letter-spacing: .07em; text-transform: uppercase; color: var(--c-ink-muted); margin-top: var(--s-1); }
.section--navy .hero__facts .k { color: var(--c-sage); }

/* Timeline / numbered steps */
.steps { list-style: none; margin: 0; padding: 0; }
.steps > li { display: flex; gap: var(--s-5); margin-bottom: var(--s-6); }
.steps > li:last-child { margin-bottom: 0; }

/* Seat progress */
.meter { height: 10px; border-radius: var(--r-pill); background: var(--c-mist); overflow: hidden; }
.meter > span { display: block; height: 100%; border-radius: var(--r-pill); background: var(--c-red); }

/* Accordion */
.faq { border-top: 1px solid var(--c-line); }
.faq details { border-bottom: 1px solid var(--c-line); }
.faq summary {
  display: flex; align-items: center; gap: var(--s-4); cursor: pointer; list-style: none;
  padding: var(--s-5) 0; font-weight: 600; font-size: 1rem; color: var(--c-ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; margin-left: auto; flex: none; width: 18px; height: 18px; background: var(--c-ink-muted);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/contain no-repeat;
}
.faq details[open] summary::after {
  background: var(--c-red);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E");
}
.faq .faq__a { padding: 0 var(--s-8) var(--s-5) 0; color: var(--c-ink-muted); font-size: .9375rem; line-height: 1.75; }

/* Pull quote */
.quote { background: var(--c-mist); border-radius: var(--r-lg); padding: var(--s-5); }
.quote p { font-size: 1rem; line-height: 1.7; color: var(--c-navy); }
.quote cite { font-family: var(--f-mono); font-size: .5625rem; letter-spacing: .07em; text-transform: uppercase; color: var(--c-ink-muted); font-style: normal; }

/* Designer / editorial note */
.note-box {
  display: flex; gap: var(--s-3); align-items: flex-start;
  background: var(--c-red-soft); border: 1px dashed var(--c-red);
  border-radius: var(--r-md); padding: var(--s-4) var(--s-5); font-size: .875rem; line-height: 1.55;
}

/* Legal page layout */
.legal { display: grid; grid-template-columns: 280px minmax(0,1fr); gap: var(--s-9); align-items: start; }
.legal__toc { position: sticky; top: calc(var(--header-h) + var(--s-5)); }
.legal__toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.legal__toc li { counter-increment: toc; display: flex; gap: var(--s-3); margin-bottom: var(--s-3); font-size: .875rem; }
.legal__toc li::before { content: counter(toc, decimal-leading-zero); font-family: var(--f-mono); font-size: .625rem; color: var(--c-sage); padding-top: 3px; }
.legal__toc a { color: var(--c-ink-muted); text-decoration: none; }
.legal__toc a:hover, .legal__toc .is-active a { color: var(--c-blue); }
.legal__body section { counter-increment: sec; margin-bottom: var(--s-7); }
.legal__body h2 { display: flex; gap: var(--s-4); align-items: baseline; font-size: 1.375rem; }
.legal__body h2::before { content: counter(sec, decimal-leading-zero); font-family: var(--f-mono); font-size: .75rem; font-weight: 600; color: var(--c-red); }
.legal__body { counter-reset: sec; }
.legal__body p, .legal__body li { color: var(--c-ink-muted); font-size: .9375rem; line-height: 1.8; }

/* Split auth screen */
.auth { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); min-height: 760px; }
.auth__panel { background: var(--c-navy); color: var(--c-on-dark); padding: var(--s-9) var(--s-8) var(--s-7) var(--s-9); display: flex; flex-direction: column; }
.auth__panel h2, .auth__panel h3 { color: var(--c-on-dark); }
.auth__panel p { color: var(--c-on-dark-mut); }
.auth__form { background: var(--c-mist); display: grid; place-items: center; padding: var(--s-8); }
.auth__card { width: 100%; max-width: 480px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-xl); padding: var(--s-7); }
.auth__or { display: flex; align-items: center; gap: var(--s-4); margin: var(--s-5) 0; }
.auth__or::before, .auth__or::after { content: ""; flex: 1; height: 1px; background: var(--c-line); }
.auth__or span { font-family: var(--f-mono); font-size: .5625rem; letter-spacing: .08em; color: var(--c-ink-muted); }

/* ==========================================================================
   13 · FOOTER
   ========================================================================== */

.site-footer { background: var(--c-navy); color: var(--c-on-dark-mut); padding-block: var(--s-8) var(--s-6); }
.site-footer a { color: var(--c-on-dark-mut); text-decoration: none; }
.site-footer a:hover { color: var(--c-on-dark); text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--s-7); }
.site-footer h2, .site-footer h3 { font-family: var(--f-mono); font-size: .625rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--c-sage); margin-bottom: var(--s-4); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: var(--s-3); font-size: .8438rem; }
.site-footer__brand img { height: 52px; width: auto; background: #fff; border-radius: var(--r-sm); padding: 6px 10px; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: var(--s-5); align-items: center; margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid rgba(255,255,255,.1); font-size: .8125rem; }
.site-footer__legal ul { display: flex; gap: var(--s-5); margin-left: auto; }
.site-footer__legal li { margin: 0; }
.site-footer address { font-style: normal; font-size: .875rem; line-height: 1.7; }

/* Branch list in footer */
.branches { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-3); }
.branches li { margin: 0; }
.branches a { display: inline-block; padding: 4px 10px; border-radius: var(--r-pill); background: rgba(255,255,255,.07); font-size: .75rem; }
.branches a:hover { background: rgba(255,255,255,.14); text-decoration: none; }

/* ==========================================================================
   14 · MOBILE ACTION BAR  (mobile-web pattern, not an app tab bar)
   ========================================================================== */

.action-bar { display: none; }

@media (max-width: 900px) {
  .action-bar {
    display: flex; gap: var(--s-3); align-items: center;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    padding: var(--s-3) var(--s-4) calc(var(--s-3) + env(safe-area-inset-bottom));
    background: var(--c-surface); border-top: 1px solid var(--c-line);
    box-shadow: 0 -4px 20px rgba(17,54,75,.07);
  }
  .action-bar .btn { flex: 1; padding-inline: var(--s-4); }
  .action-bar .btn--ghost { flex: 0 0 38%; }
  body { padding-bottom: 86px; }
}

/* ==========================================================================
   15 · RESPONSIVE
   ========================================================================== */

@media (max-width: 1280px) { :root { --gutter: 64px; } }

@media (max-width: 1100px) {
  .split, .split--media { grid-template-columns: minmax(0,1fr); gap: var(--s-7); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .legal { grid-template-columns: minmax(0,1fr); gap: var(--s-6); }
  .legal__toc { position: static; }
}

@media (max-width: 900px) {
  :root { --gutter: 20px; --header-h: 70px; }

  .site-header__inner { gap: var(--s-4); }
  .site-logo img { height: 42px; }
  .primary-nav { display: none; }
  .primary-nav.is-open {
    display: block; position: absolute; inset: var(--header-h) 0 auto; background: var(--c-surface);
    border-bottom: 1px solid var(--c-line); box-shadow: var(--shadow-md); padding: var(--s-4) var(--gutter) var(--s-5);
  }
  .primary-nav.is-open ul { flex-direction: column; gap: 0; }
  .primary-nav.is-open li { border-bottom: 1px solid var(--c-line); }
  .primary-nav.is-open li:last-child { border-bottom: 0; }
  .primary-nav.is-open a { display: block; padding: var(--s-4) 0; font-size: 1.0625rem; }
  .header-actions .btn, .header-actions .login { display: none; }
  .nav-toggle { display: inline-flex; margin-left: auto; }

  .section { padding-block: var(--s-7); }
  .section-nav { top: var(--header-h); }
  .section-nav ul { gap: var(--s-5); }

  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0,1fr); }
  .grid--2.grid--keep, .grid--4.grid--keep { grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--s-3); }
  .split--even { grid-template-columns: minmax(0,1fr); gap: var(--s-6); }
  .field-row { grid-template-columns: minmax(0,1fr); gap: var(--s-4); }
  .form-card { padding: var(--s-5); }

  .btn-row .btn { width: 100%; }
  .hero__facts { gap: var(--s-5) var(--s-6); }

  .auth { grid-template-columns: minmax(0,1fr); min-height: 0; }
  .auth__form { order: -1; padding: var(--s-6) var(--gutter); background: var(--c-paper); }
  .auth__card { max-width: none; padding: var(--s-5); }
  .auth__panel { padding: var(--s-7) var(--gutter); }

  .site-footer__grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--s-6); }
  .site-footer__legal { flex-direction: column; align-items: flex-start; gap: var(--s-3); }
  .site-footer__legal ul { margin-left: 0; flex-wrap: wrap; gap: var(--s-4); }

  /* Tables collapse to stacked rows */
  .data-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .data-table, .data-table tbody, .data-table tr, .data-table td { display: block; width: 100%; }
  .data-table tr { border: 1px solid var(--c-line); border-radius: var(--r-md); background: var(--c-surface); margin-bottom: var(--s-3); padding: var(--s-4); }
  .data-table td { border: 0; padding: 6px 0; display: flex; gap: var(--s-4); align-items: baseline; }
  .data-table td::before {
    content: attr(data-label); flex: none; min-width: 92px;
    font-family: var(--f-mono); font-size: .5625rem; letter-spacing: .07em; text-transform: uppercase; color: var(--c-ink-muted);
  }
  .table-card { border: 0; background: transparent; }
  .table-card--dark .data-table tr { background: var(--c-blue); border-color: transparent; }
}

@media (max-width: 480px) {
  body { font-size: 15px; }
  .grid--2.grid--keep, .grid--4.grid--keep { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .card { padding: var(--s-4); }
}

/* ==========================================================================
   16 · PRINT
   ========================================================================== */

@media print {
  .site-header, .site-footer, .action-bar, .section-nav, .btn, .skip-link { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; padding: 0; }
  .section { padding-block: 12pt; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}

/* ==========================================================================
   17 · ENGAGEMENT LAYER
   Banner hero, lead capture, rank-holder proof, counters, result cards.
   Added after the competitor review (Jaro, upGrad, VSI Jaipur): the pattern
   those sites share is proof above the fold and a way to convert without
   scrolling.
   ========================================================================== */

/* --- logo ---------------------------------------------------------------- */
.site-logo { display: block; flex: none; line-height: 0; }
.site-logo__img { height: 46px; width: auto; }
.site-footer__logo { display: inline-block; background: #fff; border-radius: var(--r-sm); padding: 8px 12px; }
.site-footer__logo .site-logo__img { height: 54px; }
@media (max-width: 900px) { .site-logo__img { height: 40px; } }

/* --- banner hero --------------------------------------------------------- */
.hero-banner {
  position: relative; overflow: hidden; color: var(--c-on-dark);
  background: linear-gradient(118deg, #0B2838 0%, var(--c-navy) 52%, #27658C 100%);
  padding-block: var(--s-8) var(--s-7);
}
/* soft radial lift behind the form, so the card reads as foreground */
.hero-banner::before {
  content: ""; position: absolute; inset: auto -10% -40% 55%; height: 120%;
  background: radial-gradient(closest-side, rgba(155,207,232,.18), transparent 70%);
  pointer-events: none;
}
.hero-banner > * { position: relative; }
.hero-banner h1 { color: var(--c-on-dark); font-size: clamp(1.875rem, 1.25rem + 2.6vw, 2.875rem); line-height: 1.08; }
.hero-banner p { color: var(--c-on-dark-mut); }
.hero-banner__grid { display: grid; grid-template-columns: minmax(0,1fr) 504px; gap: var(--s-8); align-items: center; }
.hero-badges { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-5); }
.hero-trust { display: flex; flex-wrap: wrap; gap: var(--s-5); list-style: none; margin: var(--s-6) 0 0; padding: 0; }
.hero-trust li { display: flex; align-items: center; gap: var(--s-2); margin: 0; font-size: .78rem; color: var(--c-on-dark-mut); }
.hero-trust svg { width: 15px; height: 15px; color: var(--c-sage); flex: none; }
.hero-banner__media { border-radius: 18px; overflow: hidden; border: 1.5px solid rgba(155,207,232,.45); background: rgba(255,255,255,.05); }
.hero-banner__media.media--empty { color: var(--c-sage); border-style: dashed; }

/* --- lead capture card --------------------------------------------------- */
.lead-card {
  background: var(--c-surface); color: var(--c-ink);
  border-radius: var(--r-xl); padding: var(--s-6);
  box-shadow: 0 18px 54px rgba(10, 33, 48, .28);
}
.lead-card h2 { font-size: 1.375rem; margin-bottom: var(--s-2); }
.lead-card p { color: var(--c-ink-muted); }
.lead-card .field { margin-bottom: var(--s-4); }
.lead-card .field input, .lead-card .field select { background: var(--c-paper); padding: 14px 15px; }
.lead-card__assure {
  display: flex; align-items: center; gap: var(--s-2); margin: var(--s-3) 0 0;
  font-family: var(--f-mono); font-size: .5625rem; letter-spacing: .05em;
  text-transform: uppercase; color: var(--c-ink-muted);
}
.lead-card__assure svg { width: 13px; height: 13px; color: var(--c-blue); flex: none; }
.phone-field { display: flex; align-items: center; gap: var(--s-2); background: var(--c-paper);
  border: 1px solid var(--c-line-strong); border-radius: var(--r-md); padding-left: 15px; }
.phone-field span { font-weight: 600; font-size: .9375rem; flex: none; }
.phone-field input { border: 0 !important; background: transparent !important; padding-left: 0 !important; }
.phone-field:focus-within { border-color: var(--c-blue); outline: 2px solid var(--c-mist); }

/* --- rank-holder proof bar ----------------------------------------------- */
.proof-bar {
  display: flex; align-items: center; gap: var(--s-5); flex-wrap: wrap;
  margin-top: var(--s-7); padding: var(--s-5);
  background: var(--c-surface); color: var(--c-ink);
  border-radius: var(--r-lg); box-shadow: 0 14px 38px rgba(10, 33, 48, .18);
}
.avatar-cluster { display: flex; }
.avatar-cluster img, .avatar-cluster .media--empty {
  width: 54px; height: 54px; border-radius: var(--r-pill);
  border: 3px solid var(--c-surface); border-style: solid; margin-left: -18px;
  background: var(--c-blue-soft); object-fit: cover; flex: none;
}
.avatar-cluster > :first-child { margin-left: 0; }
.proof-bar__count { line-height: 1.15; }
.proof-bar__count strong { display: block; font-family: var(--f-display); font-size: 1.125rem; color: var(--c-navy); }
.proof-bar__sep { width: 1px; align-self: stretch; background: var(--c-line); }
.proof-bar__people { display: flex; gap: 18px; flex-wrap: wrap; flex: 1; min-width: 0; }
/* At 1280 the three chips need ~513px but only get ~482 and one wraps,
   making the bar 232px tall. Dropping the sixth face buys back 36px. */
@media (max-width: 1400px) { .avatar-cluster > :nth-child(n+6) { display: none; } }
@media (max-width: 1180px) { .avatar-cluster > :nth-child(n+5) { display: none; } }
.rank-chip { display: flex; align-items: center; gap: var(--s-3); }
.rank-chip img, .rank-chip .media--empty { width: 46px; height: 46px; border-radius: var(--r-pill); object-fit: cover; background: var(--c-mist); flex: none; }
.rank-chip b { display: block; font-size: .8125rem; font-weight: 600; }
.rank-chip .marks { font-family: var(--f-mono); font-size: .5625rem; letter-spacing: .04em; color: var(--c-blue); }

/* --- counter band -------------------------------------------------------- */
.counter-band { background: var(--c-surface); border-bottom: 1px solid var(--c-line); }
.counter-band ul { display: flex; list-style: none; margin: 0; padding: var(--s-6) 0; }
.counter-band li { flex: 1; text-align: center; margin: 0; position: relative; }
.counter-band li + li::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 46px; background: var(--c-line); }
.counter-band .n { display: block; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.5rem, 1.1rem + 1.1vw, 2rem); color: var(--c-blue); line-height: 1.1; }
.counter-band .k { display: block; margin-top: var(--s-1); font-family: var(--f-mono); font-size: .5625rem; letter-spacing: .07em; text-transform: uppercase; color: var(--c-ink-muted); }

/* --- result cards with the rank over the photo --------------------------- */
.rank-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); }
.rank-card {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg);
  padding: var(--s-4); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.rank-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--c-line-strong); }
.rank-card__photo { position: relative; border-radius: var(--r-md); overflow: hidden; }
.rank-card__photo .media { border-radius: var(--r-md); }
.rank-card__rank {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: var(--c-red); color: #fff; border-radius: var(--r-pill);
  padding: 6px 11px; font-family: var(--f-mono); font-size: .5625rem; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase;
  box-shadow: 0 2px 10px rgba(216,37,47,.4);
}
.rank-card__name { font-family: var(--f-display); font-size: 1.125rem; margin: var(--s-4) 0 var(--s-1); color: var(--c-navy); }
.rank-card__marks { font-family: var(--f-display); font-size: 1.25rem; color: var(--c-blue); line-height: 1.1; }
.rank-card__meta { font-size: .78rem; color: var(--c-ink-muted); margin: var(--s-1) 0 0; }
.rank-card__attempt { display: block; font-family: var(--f-mono); font-size: .5625rem; letter-spacing: .06em; text-transform: uppercase; color: var(--c-sage); margin-top: var(--s-2); }

/* --- video testimonial --------------------------------------------------- */
.vid-card { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--c-navy); }
.vid-card .media { border-radius: 0; }
.vid-card__play {
  position: absolute; inset: 0; display: grid; place-items: center; z-index: 2;
  background: linear-gradient(180deg, rgba(11,40,56,.1), rgba(11,40,56,.65));
}
.vid-card__play span {
  width: 60px; height: 60px; border-radius: var(--r-pill); background: var(--c-red);
  display: grid; place-items: center; box-shadow: 0 6px 24px rgba(216,37,47,.45);
}
.vid-card__play svg { width: 22px; height: 22px; color: #fff; margin-left: 3px; }
.vid-card__cap { position: absolute; left: var(--s-4); right: var(--s-4); bottom: var(--s-4); z-index: 3; color: #fff; }
.vid-card__cap b { display: block; font-size: .9375rem; }
.vid-card__cap span { font-family: var(--f-mono); font-size: .5625rem; letter-spacing: .06em; text-transform: uppercase; color: var(--c-sky); }

/* --- hover life on the existing cards ------------------------------------ */
.card { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
a.card:hover, .card--hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--c-line-strong); }
.btn { transition: background-color .15s ease, border-color .15s ease, transform .1s ease, box-shadow .15s ease; }
.btn--red:hover { box-shadow: 0 6px 20px rgba(216,37,47,.3); }

/* --- sticky help tab ----------------------------------------------------- */
.help-tab {
  position: fixed; right: 0; top: 50%; transform: translateY(-50%);
  z-index: 85; background: var(--c-red); color: #fff; text-decoration: none;
  writing-mode: vertical-rl; padding: 20px 12px;
  border-radius: var(--r-sm) 0 0 var(--r-sm);
  font-size: .8125rem; font-weight: 600; letter-spacing: .01em;
  box-shadow: -4px 0 18px rgba(216,37,47,.3);
  display: inline-flex; align-items: center; gap: var(--s-2); white-space: nowrap;
}
.help-tab svg { transform: rotate(90deg); width: 15px; height: 15px; }
.help-tab:hover { background: #B81C25; color: #fff; }
@media (max-width: 900px) { .help-tab { display: none; } }

/* --- responsive ---------------------------------------------------------- */
@media (max-width: 1100px) {
  .hero-banner__grid { grid-template-columns: minmax(0,1fr); gap: var(--s-6); }
  .rank-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-banner { padding-block: var(--s-6) var(--s-6); }
  .hero-banner__media { display: none; }
  .proof-bar { gap: var(--s-4); padding: var(--s-4); margin-top: var(--s-6); }
  .proof-bar__sep { display: none; }
  .proof-bar__people { gap: var(--s-4); }
  .counter-band ul { flex-wrap: wrap; gap: var(--s-5) 0; padding: var(--s-5) 0; }
  .counter-band li { flex: 0 0 50%; }
  .counter-band li:nth-child(odd)::before { display: none; }
  .lead-card { padding: var(--s-5); }
}
@media (max-width: 560px) {
  .rank-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-3); }
  .rank-card { padding: var(--s-3); }
  .rank-card__name { font-size: 1.0625rem; }
  .rank-card__marks { font-size: 1.1875rem; }
}

/* --- utility bar --------------------------------------------------------- */
.utility-bar { background: var(--c-navy); color: var(--c-on-dark-mut); font-size: .75rem; }
.utility-bar__inner { display: flex; align-items: center; gap: var(--s-4); padding-block: 10px; }
.utility-bar a { color: var(--c-on-dark-mut); text-decoration: none; }
.utility-bar a:hover { color: var(--c-on-dark); }
.utility-bar__right { margin-left: auto; display: flex; align-items: center; gap: var(--s-5); }
.utility-bar__tel { display: inline-flex; align-items: center; gap: 6px; color: var(--c-on-dark); font-weight: 600; }
.utility-bar__tel svg { width: 13px; height: 13px; color: var(--c-sky); }
.utility-bar__login { color: var(--c-sky) !important; font-weight: 500; }
@media (max-width: 900px) {
  .utility-bar__tagline, .utility-bar__free { display: none; }
  .utility-bar__inner { justify-content: space-between; }
  .utility-bar__right { margin-left: 0; width: 100%; justify-content: space-between; gap: var(--s-3); }
}

/* ==========================================================================
   18 · MOTION
   Three rules this layer obeys:
   1. Content is visible by default. The hidden-then-revealed state is applied
      only when JS has added .paras-anim to <html>, so a JS failure or a blocked
      script can never leave the page blank.
   2. .paras-anim is never added when the visitor asks for reduced motion, so
      everything below simply does not exist for them.
   3. Only opacity and transform are animated — both composited, so none of
      this touches layout or costs a repaint.
   ========================================================================== */

.counter-band .n,
.display-num,
.rank-card__marks { font-variant-numeric: tabular-nums; }

/* --- scroll reveal ------------------------------------------------------- */
.paras-anim [data-reveal] { opacity: 0; transform: translateY(18px); will-change: opacity, transform; }
.paras-anim [data-reveal].is-in {
  opacity: 1; transform: none; will-change: auto;
  transition: opacity .6s cubic-bezier(.22,.61,.36,1), transform .6s cubic-bezier(.22,.61,.36,1);
  transition-delay: calc(var(--i, 0) * 70ms);
}

/* --- hero entrance, on load rather than on scroll ------------------------ */
.paras-anim .hero-banner [data-enter] {
  opacity: 0; transform: translateY(22px);
  animation: paras-rise .7s cubic-bezier(.22,.61,.36,1) forwards;
  animation-delay: calc(var(--i, 0) * 90ms);
}
@keyframes paras-rise { to { opacity: 1; transform: none; } }

/* the lead card arrives from the side, so it reads as a separate object */
.paras-anim .hero-banner [data-enter="card"] { transform: translateY(22px) scale(.985); }

/* --- the face stack pops in one by one ----------------------------------- */
.paras-anim .avatar-cluster > * {
  opacity: 0; transform: scale(.72);
  animation: paras-pop .45s cubic-bezier(.34,1.56,.64,1) forwards;
  animation-delay: calc(620ms + var(--i, 0) * 65ms);
}
@keyframes paras-pop { to { opacity: 1; transform: none; } }

/* --- seat meter fills on reveal ------------------------------------------ */
.meter > span { width: 0; transition: width 1.2s cubic-bezier(.22,.61,.36,1) .15s; }

/* --- header gains a shadow once you leave the top ------------------------ */
.site-header { transition: box-shadow .25s ease; }
.site-header.is-stuck { box-shadow: 0 2px 18px rgba(17, 54, 75, .09); }

/* --- photos lift inside their frame on hover ----------------------------- */
.rank-card__photo, .vid-card { overflow: hidden; }
.rank-card__photo img, .vid-card img { transition: transform .55s cubic-bezier(.22,.61,.36,1); }
.rank-card:hover .rank-card__photo img,
.vid-card:hover img { transform: scale(1.045); }
.vid-card__play span { transition: transform .25s cubic-bezier(.34,1.56,.64,1); }
.vid-card:hover .vid-card__play span { transform: scale(1.1); }

/* --- accordion answer slides rather than snaps --------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .faq details[open] .faq__a { animation: paras-faq .32s cubic-bezier(.22,.61,.36,1); }
  @keyframes paras-faq { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
}

/* --- help tab slides in once the hero is behind you ---------------------- */
.paras-anim .help-tab {
  transform: translateY(-50%) translateX(108%);
  transition: transform .45s cubic-bezier(.22,.61,.36,1);
}
.paras-anim .help-tab.is-in { transform: translateY(-50%) translateX(0); }

/* --- buttons and links --------------------------------------------------- */
.btn svg, .link-arrow svg { transition: transform .2s cubic-bezier(.22,.61,.36,1); }
.btn:hover svg, .link-arrow:hover svg { transform: translateX(3px); }
.pill--red-solid, .rank-card__rank { transition: transform .2s ease; }
.rank-card:hover .rank-card__rank { transform: translateY(-2px); }

/* --- the mobile action bar drops in after first scroll ------------------- */
@media (max-width: 900px) {
  .paras-anim .action-bar { transform: translateY(110%); transition: transform .35s cubic-bezier(.22,.61,.36,1); }
  .paras-anim .action-bar.is-in { transform: none; }
}
