/* ==========================================================
   JUI CAMBRIDGE LEARNING — Home Page Styles
   ----------------------------------------------------------
   HOW TO CHANGE COLOURS / FONTS:
   Edit the values in :root below. Every section uses these,
   so one change updates the whole website.
   ========================================================== */

:root {
  /* ---- Brand colours ---- */
  --navy-900: #0B1B33;   /* darkest navy: dark sections, footer   */
  --navy-700: #16305A;   /* primary navy: headings, buttons       */
  --steel-500: #4C6A92;  /* steel blue: icons, accents            */
  --blue-100: #E9EFF7;   /* soft blue: tinted section backgrounds */
  --blue-50:  #F5F8FC;   /* very light blue: cards                */
  --gold-500: #B08D57;   /* muted gold: primary CTA, highlights   */
  --gold-600: #86672F;   /* darker gold: labels, dates, hover     */
  --gold-200: #E6D6B8;   /* pale gold: on dark backgrounds        */
  --ink:      #1B2333;   /* main text                             */
  --muted:    #556070;   /* secondary text                        */
  --line:     #DCE3EC;   /* borders                               */
  --white:    #FFFFFF;

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

  /* ---- Layout ---- */
  --container: 1180px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 10px 30px rgba(11, 27, 51, 0.08);
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--navy-700); }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--navy-900);
  line-height: 1.2;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--navy-700); color: var(--white);
  padding: 8px 14px; border-radius: 6px; z-index: 200;
}
.skip-link:focus { left: 12px; }

:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 14px;
}
.eyebrow-light { color: var(--gold-200); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 28px;
  border-radius: 6px;
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 11px 18px; font-size: 0.74rem; }

.btn-gold { background: var(--gold-500); color: var(--navy-900); }
.btn-gold:hover { background: var(--gold-600); color: var(--white); }

.btn-navy { background: var(--navy-700); color: var(--white); }
.btn-navy:hover { background: var(--navy-900); }

.btn-outline { border-color: var(--navy-700); color: var(--navy-700); }
.btn-outline:hover { background: var(--navy-700); color: var(--white); }

.btn-outline-light { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--navy-900); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }
.btn-row.center { justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--navy-700); text-decoration: none;
  border-bottom: 1.5px solid var(--gold-500);
  padding-bottom: 4px;
}
.link-arrow i { transition: transform .25s; }
.link-arrow:hover i { transform: translateX(4px); }

/* ==========================================================
   SECTION 1 — NAVIGATION
   ========================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(11,27,51,.06); }

.nav {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
}

.brand { display: flex; flex-direction: column; line-height: 1; text-decoration: none; }
.brand-name {
  font-family: var(--font-serif); font-size: 1.7rem; font-weight: 600;
  color: var(--navy-900); letter-spacing: 0.14em;
}
.brand-sub {
  font-size: 0.6rem; font-weight: 600; letter-spacing: 0.26em;
  color: var(--gold-600); margin-top: 5px;
}
.brand-light .brand-name { color: var(--white); }
.brand-light .brand-sub  { color: var(--gold-200); }

.nav-menu { display: flex; align-items: center; gap: 28px; }
.nav-links { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; }
.nav-links a {
  font-size: 0.88rem; font-weight: 500; color: var(--ink);
  text-decoration: none; padding: 6px 0; position: relative;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1.5px; background: var(--gold-500); transition: width .25s;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; border: 0; background: none; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 6px; padding: 10px;
}
.nav-toggle span { display: block; height: 2px; background: var(--navy-900); transition: transform .3s, opacity .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ==========================================================
   SECTION 2 — HERO
   ========================================================== */
.hero {
  position: relative;
  padding: 80px 0 100px;
  background:
    linear-gradient(180deg, var(--white) 0%, var(--blue-50) 100%);
  overflow: hidden;
}
/* faint graph-paper grid: an academic texture */
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .35;
  mask-image: linear-gradient(90deg, transparent 0%, #000 60%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 60%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 64px; align-items: center;
}
.hero h1 em { font-style: italic; color: var(--navy-700); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }

.credibility-line {
  display: flex; flex-wrap: wrap; gap: 6px 0;
  font-size: 0.85rem; font-weight: 500; color: var(--muted);
}
.credibility-line span + span::before {
  content: "|"; color: var(--gold-500); margin: 0 12px;
}

.hero-visual { position: relative; padding: 30px; }

.portrait {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy-700);
}
.portrait img {
  position: relative; z-index: 1;
  width: 100%; height: 100%; object-fit: cover;
  object-position: center top;   /* never crop the top of the head */
}
.portrait-hero { aspect-ratio: 4 / 5; box-shadow: 0 30px 60px rgba(11,27,51,.18); }
.portrait-hero::after {          /* thin gold frame offset behind the photo */
  content: ""; position: absolute; inset: 0; z-index: 2;
  border: 1px solid rgba(255,255,255,.18); border-radius: inherit; pointer-events: none;
}

.portrait-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background:
    radial-gradient(circle at 30% 20%, rgba(176,141,87,.25), transparent 55%),
    linear-gradient(160deg, var(--navy-700), var(--navy-900));
  color: var(--gold-200);
}
.monogram {
  font-family: var(--font-serif); font-size: 4.5rem; font-weight: 400;
  letter-spacing: 0.08em;
  width: 160px; height: 160px; border-radius: 50%;
  border: 1px solid rgba(230,214,184,.5);
  display: flex; align-items: center; justify-content: center;
}
.ph-note { font-size: 0.75rem; letter-spacing: 0.06em; opacity: .7; }

.float-tag {
  position: absolute; z-index: 3;
  background: var(--white);
  color: var(--navy-700);
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 9px 14px; border-radius: 4px;
  border-left: 2px solid var(--gold-500);
  box-shadow: var(--shadow);
  animation: drift 7s ease-in-out infinite;
}
.tag-1 { top: 2%;  left: -4%; }
.tag-2 { top: 62%; right: -6%; animation-delay: -2s; }
.tag-3 { bottom: 14%; left: -8%; animation-delay: -4s; }
.tag-4 { bottom: 2%; right: 8%; animation-delay: -1s; }

.hero-formula {
  position: absolute; z-index: 0; right: -10px; top: -38px;
  font-family: var(--font-serif); font-style: italic; font-size: 2.6rem;
  color: var(--gold-500); opacity: .35;
}

@keyframes drift {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* ==========================================================
   SECTION 3 — CREDIBILITY STRIP
   ========================================================== */
.cred-strip { margin-top: -50px; position: relative; z-index: 5; }
.cred-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 0;
}
.cred-card { padding: 30px 26px; text-align: left; }
.cred-card + .cred-card { border-left: 1px solid var(--line); }
.cred-card i { color: var(--gold-500); font-size: 1.3rem; margin-bottom: 14px; }
.cred-card h3 {
  font-family: var(--font-sans); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy-900);
  margin-bottom: 6px;
}
.cred-card p { font-size: 0.92rem; color: var(--muted); margin: 0; }

/* ==========================================================
   GENERIC SECTION
   ========================================================== */
.section { padding: 110px 0; }
.section-tint { background: var(--blue-50); }
.section-navy { background: var(--navy-900); color: #D5DDE8; }
.section-navy h2 { color: var(--white); }

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-intro { color: var(--muted); font-size: 1.05rem; }

/* ==========================================================
   SECTION 3B — THE LEARNING EXPERIENCE (feature image)
   ========================================================== */
.experience { padding-top: 120px; }
.experience-figure { margin: 0; }
.experience-figure a { display: block; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 24px 60px rgba(11,27,51,.14); border: 1px solid var(--line); }
.experience-figure img { width: 100%; height: auto; transition: transform .6s ease; }
.experience-figure a:hover img { transform: scale(1.015); }
.experience-figure figcaption {
  margin-top: 18px; text-align: center;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}

/* Hero portrait is an illustration on a cream ground */
.portrait-hero { background: #F6EFE2; }

/* ==========================================================
   SECTION 4 — INTRODUCING JUI
   ========================================================== */
.about-grid {
  display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 72px; align-items: center;
}
.about-grid.about-solo {
    display: block;
    width: 100%;
}
.about-solo.about-text {
    width: 100%;
    max-width: none;
}
.portrait-about { aspect-ratio: 4 / 5; }
.about-photo { position: relative; }
.about-photo::before {   /* offset gold frame */
  content: ""; position: absolute; inset: 22px -22px -22px 22px;
  border: 1px solid var(--gold-500); border-radius: var(--radius-lg);
}
.about-text p { color: var(--muted); }
.about-grid.about-solo { grid-template-columns: 1fr; }
.about-solo .about-text { max-width: 820px; }
.about-text strong { color: var(--ink); font-weight: 600; }

.pull-quote {
  margin: 28px 0 32px; padding: 4px 0 4px 24px;
  border-left: 2px solid var(--gold-500);
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.35rem; line-height: 1.5; color: var(--navy-700);
}

/* ==========================================================
   SECTION 5 — THE DIFFERENCE
   ========================================================== */
.journey {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
}
.journey li {
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 30px; background: var(--white);
}
.journey li:not(:last-child)::after {
  content: "→"; margin-left: 18px; color: var(--gold-500);
  display: inline-block; /* keeps the arrow out of the strike-through */
}
.journey li:first-child { text-decoration: line-through; text-decoration-color: var(--gold-500); }
.journey .journey-end { background: var(--navy-700); color: var(--white); border-color: var(--navy-700); }

.card-grid { display: grid; gap: 24px; }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-200); }
.card h3 {
  font-family: var(--font-sans); font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 12px;
}
.card p { font-size: 0.97rem; color: var(--muted); margin: 0; }
.card-num {
  display: block; font-family: var(--font-serif); font-size: 2rem;
  color: var(--gold-500); margin-bottom: 18px; line-height: 1;
}
.card-icon i { font-size: 1.5rem; color: var(--steel-500); margin-bottom: 20px; }

.inline-cta {
  margin-top: 56px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  padding: 26px 32px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white);
}
.inline-cta p { margin: 0; font-family: var(--font-serif); font-size: 1.25rem; color: var(--navy-900); }

/* ==========================================================
   SECTION 6 — SUBJECTS
   ========================================================== */
.subject-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 24px;
}
.subject-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 36px 30px; background: var(--white);
  transition: transform .3s, box-shadow .3s;
}
.subject-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.subject-card .link-arrow { margin-top: auto; align-self: flex-start; }

.subject-top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-bottom: 22px; }
.subject-top i { font-size: 1.4rem; color: var(--gold-500); }
.subject-top h3 { margin: 0; font-size: 1.6rem; }

.badge {
  font-size: 0.66rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--navy-900); background: var(--gold-200);
  padding: 5px 10px; border-radius: 30px;
}

.syllabus { list-style: none; padding: 0; margin: 0 0 22px; }
.syllabus li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid var(--line);
  font-size: 0.95rem; color: var(--ink);
}
.syllabus span { font-weight: 600; color: var(--steel-500); white-space: nowrap; }

.focus-label {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 10px;
}
.focus-list {
  list-style: none; padding: 0; margin: 0 0 30px;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.focus-list li {
  font-size: 0.82rem; color: var(--navy-700);
  background: var(--blue-100); padding: 5px 12px; border-radius: 30px;
}

/* Lead (Mathematics) card */
.subject-lead { background: var(--navy-900); border-color: var(--navy-900); color: #D5DDE8; }
.subject-lead h3 { color: var(--white); }
.subject-lead .syllabus li { color: var(--white); border-color: rgba(255,255,255,.14); }
.subject-lead .syllabus span { color: var(--gold-200); }
.subject-lead .focus-label { color: #A9B6C8; }
.subject-lead .focus-list li { background: rgba(255,255,255,.08); color: var(--white); }
.subject-lead .link-arrow { color: var(--white); }

/* ==========================================================
   SECTION 7 — TIMELINE
   ========================================================== */
.timeline {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  position: relative;
}
.timeline::before {   /* the horizontal line */
  content: ""; position: absolute; left: 0; right: 0; top: 7px;
  height: 1px; background: var(--gold-500); opacity: .6;
}
.timeline li { position: relative; padding: 40px 28px 0 0; }
.timeline li::before {  /* the dot */
  content: ""; position: absolute; top: 0; left: 0;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--blue-50); border: 2px solid var(--gold-500);
}
.timeline .tl-current::before { background: var(--gold-500); box-shadow: 0 0 0 6px rgba(176,141,87,.2); }
.tl-date {
  display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-600); margin-bottom: 10px;
}
.timeline h3 { font-size: 1.15rem; margin-bottom: 8px; }
.timeline p { font-size: 0.93rem; color: var(--muted); }

/* ==========================================================
   SECTION 8 — BEYOND THE CLASSROOM
   ========================================================== */
.beyond-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 80px; align-items: center; }
.beyond-intro { font-size: 1.05rem; color: #C3CEDD; max-width: 36em; }
.beyond-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.beyond-list li { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; color: var(--white); }
.beyond-list i { color: var(--gold-500); width: 20px; text-align: center; }

.inquiry { list-style: none; padding: 0; margin: 0; position: relative; }
.inquiry::before {   /* vertical connector line */
  content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px;
  width: 1px; background: rgba(230,214,184,.35);
}
.inquiry li {
  position: relative; display: flex; align-items: center; gap: 22px;
  padding: 10px 0;
  font-family: var(--font-serif); font-size: 1.6rem; color: var(--white);
}
.inquiry span {
  flex: 0 0 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-sans); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em;
  color: var(--gold-200); background: var(--navy-900);
  border: 1px solid rgba(230,214,184,.45);
}
.inquiry li:last-child span { background: var(--gold-500); color: var(--navy-900); border-color: var(--gold-500); }

/* ==========================================================
   SECTION 9 — ACHIEVEMENTS
   ========================================================== */
.achieve-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.achieve { padding: 34px 28px 10px 0; }
.achieve + .achieve { padding-left: 28px; border-left: 1px solid var(--line); }
.achieve-title {
  font-family: var(--font-serif); font-size: 1.35rem; color: var(--navy-900);
  margin-bottom: 8px;
}
.achieve p:last-child { color: var(--muted); font-size: 0.95rem; }

/* ==========================================================
   SECTION 11 — HOW IT WORKS
   ========================================================== */
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  counter-reset: none;
}
.step { position: relative; padding: 0 10px 0 0; }
.step:not(:last-child)::after {   /* connector dashes between steps */
  content: ""; position: absolute; top: 32px; left: 84px; right: 10px;
  border-top: 1px dashed var(--gold-500); opacity: .7;
}
.step-icon {
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-100); color: var(--navy-700); font-size: 1.35rem;
  margin-bottom: 22px; transition: background .3s, color .3s;
}
.step:hover .step-icon { background: var(--navy-700); color: var(--gold-200); }
.step-num { display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; color: var(--gold-600); margin-bottom: 6px; }
.step h3 { font-size: 1.2rem; }

/* ==========================================================
   SECTION 12 — FINAL CTA
   ========================================================== */
.final-cta {
  position: relative; overflow: hidden;
  background: var(--navy-900);
  padding: 120px 0;
  text-align: center;
}
.final-cta::before {   /* soft gold glow */
  content: ""; position: absolute; width: 700px; height: 700px; left: 50%; top: -380px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(176,141,87,.22), transparent 65%);
}
.final-inner { position: relative; max-width: 780px; }
.final-cta h2 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); }
.final-cta p { color: #C3CEDD; font-size: 1.1rem; }

/* ==========================================================
   SECTION 13 — FOOTER
   ========================================================== */
.site-footer { background: #07142A; color: #A9B6C8; padding: 80px 0 30px; font-size: 0.93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.tagline { font-family: var(--font-serif); font-style: italic; color: var(--gold-200); margin-top: 18px; }
.site-footer h4 {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--white); margin: 0 0 18px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #A9B6C8; text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--gold-200); }
.contact-list i { color: var(--gold-500); width: 20px; }

.footer-bottom {
  margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  font-size: 0.8rem;
}
.footer-bottom p { margin: 0; }
.disclaimer { color: #7E8CA2; }

/* ---------- Toast ("coming soon") ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 300;
  transform: translate(-50%, 20px);
  background: var(--navy-900); color: var(--white);
  padding: 12px 20px; border-radius: 6px; font-size: 0.9rem;
  opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s;
  border-left: 3px solid var(--gold-500);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Scroll reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ==========================================================
   RESPONSIVE — Laptop / iPad landscape (≤ 1100px)
   ========================================================== */
@media (max-width: 1100px) {
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 0.82rem; }
  .card-grid.four { grid-template-columns: repeat(2, 1fr); }
  .subject-grid { grid-template-columns: 1fr 1fr; }
  .subject-lead { grid-column: 1 / -1; }
}

/* ---- Switch to hamburger menu (≤ 1024px: iPad and smaller) ---- */
/* ==========================================
   MOBILE / IPAD NAVIGATION FIX
   ========================================== */

@media (max-width: 1024px) {

    /* Hamburger button */
    .nav-toggle {
        display: flex;
        position: relative;
        z-index: 1001;
        cursor: pointer;
    }

    /* Mobile navigation panel */
    .nav-menu {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;

        width: 100%;
        height: calc(100vh - var(--header-h));

        display: flex;
        flex-direction: column;
        align-items: stretch;

        background: var(--white);
        padding: 24px;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transform: translateY(-10px);

        transition:
            opacity .3s ease,
            transform .3s ease,
            visibility .3s ease;

        overflow-y: auto;

        z-index: 1000;
    }

    /* OPEN MENU */
    .nav-menu.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    /* Navigation links */
    .nav-links {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .nav-links a {
        display: block;
        width: 100%;

        padding: 14px 0;

        font-size: 1.05rem;

        border-bottom: 1px solid var(--line);

        text-decoration: none;

        cursor: pointer;

        position: relative;
        z-index: 1002;
    }

    /* Remove desktop underline animation */
    .nav-links a::after {
        display: none;
    }

    /* Book Free Trial button */
    .nav-menu .btn {
        display: block;
        width: 100%;

        margin-top: 18px;

        padding: 16px;

        font-size: 0.82rem;

        cursor: pointer;

        position: relative;
        z-index: 1002;
    }
}


/* ==========================================================
   RESPONSIVE — iPad portrait / tablets (≤ 900px)
   ========================================================== */
@media (max-width: 900px) {
  .section { padding: 84px 0; }
  .hero { padding: 56px 0 90px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 440px; margin: 0 auto; width: 100%; }

  .cred-grid { grid-template-columns: 1fr 1fr; }
  .cred-card:nth-child(3) { border-left: 0; }
  .cred-card:nth-child(n+3) { border-top: 1px solid var(--line); }

  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .about-photo { max-width: 400px; }

  .timeline { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .timeline::before { display: none; }

  .beyond-grid { grid-template-columns: 1fr; gap: 56px; }

  .achieve-grid { grid-template-columns: 1fr 1fr; }
  .achieve:nth-child(3) { padding-left: 0; border-left: 0; }

  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .step::after { display: none; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================
   RESPONSIVE — Mobile phones (≤ 600px)
   ========================================================== */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .experience { padding-top: 84px; }
  .experience-figure a { border-radius: var(--radius); }
  .experience-figure figcaption { font-size: 0.68rem; line-height: 1.6; }
  .container { padding: 0 18px; }
  .section { padding: 68px 0; }

  .btn-row .btn { width: 100%; }
  .credibility-line { flex-direction: column; }
  .credibility-line span + span::before { display: none; }

  .hero-visual { padding: 20px 10px; }
  .float-tag { font-size: 0.6rem; padding: 7px 10px; }
  .tag-1 { left: 0; top: 2%; } .tag-2 { right: 0; } .tag-3 { left: 0; } .tag-4 { right: 4%; }
  .hero-formula { display: none; }

  .cred-grid { grid-template-columns: 1fr; }
  .cred-card + .cred-card { border-left: 0; border-top: 1px solid var(--line); }

  .about-photo::before { inset: 14px -14px -14px 14px; }
  .about-photo { margin-right: 14px; }

  .card-grid.four, .subject-grid { grid-template-columns: 1fr; }
  .inline-cta { flex-direction: column; align-items: stretch; text-align: center; padding: 24px; }

  .journey li:not(:last-child)::after { margin-left: 10px; }

  /* timeline becomes vertical */
  .timeline { grid-template-columns: 1fr; row-gap: 0; }
  .timeline li { padding: 0 0 34px 34px; border-left: 1px solid var(--gold-500); margin-left: 7px; }
  .timeline li:last-child { border-left-color: transparent; }
  .timeline li::before { left: -8px; }

  .beyond-list { grid-template-columns: 1fr; }
  .inquiry li { font-size: 1.35rem; }

  .achieve-grid { grid-template-columns: 1fr; }
  .achieve, .achieve + .achieve { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }

  .steps { grid-template-columns: 1fr; row-gap: 28px; }
  .step { display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; align-items: center; }
  .step-icon { margin: 0; grid-row: 1 / 3; }
  .step h3 { margin: 0; }

  .final-cta { padding: 84px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}


/* ==========================================================
   BOOK A FREE TRIAL PAGE  (book-a-free-trial.html)
   Added for the Free Trial page. Uses the same tokens above,
   so it does not change the Home Page.
   ========================================================== */

/* Current-page highlight on the nav button */
.btn.is-current { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--gold-500); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Hero ---------- */
.trial-hero { padding: 64px 0 96px; }
.trial-hero .hero-grid { grid-template-columns: 1.25fr 0.75fr; }
.trial-visual { max-width: 380px; justify-self: end; width: 100%; }
.trial-sub { font-weight: 500; color: var(--navy-700); margin-top: -4px; }
.breadcrumb { font-size: 0.82rem; color: var(--muted); margin-bottom: 22px; }
.breadcrumb a { color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line); }
.breadcrumb a:hover { color: var(--navy-700); }
.breadcrumb span[aria-hidden] { margin: 0 8px; color: var(--gold-500); }

/* ---------- Form layout ---------- */
.form-layout {
  display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 64px; align-items: start;
}
.form-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.form-intro p { color: var(--muted); }
.form-points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.form-points li { display: flex; gap: 12px; align-items: baseline; font-size: 0.95rem; color: var(--ink); }
.form-points i { color: var(--gold-500); font-size: 0.85rem; }
.req { color: #A2402E; font-weight: 600; }

.form-card {
  background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 40px;
  min-width: 0;
}

.form-card fieldset { border: 0; margin: 0 0 30px; padding: 0; min-width: 0; }
.form-card legend {
  font-family: var(--font-serif); font-size: 1.3rem; color: var(--navy-900);
  padding: 0 0 14px; margin-bottom: 18px; width: 100%;
  border-bottom: 1px solid var(--line);
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.field { margin-bottom: 20px; min-width: 0; }
.field > label, .group-label {
  display: block; font-size: 0.88rem; font-weight: 600; color: var(--ink); margin-bottom: 8px;
}

.form-card input[type="text"], .form-card input[type="email"], .form-card input[type="tel"],
.form-card select, .form-card textarea {
  width: 100%;
  font: inherit; font-size: 16px;            /* 16px stops iPhone zooming in */
  color: var(--ink);
  background: var(--blue-50);
  border: 1.5px solid var(--line); border-radius: 8px;
  padding: 12px 14px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.form-card select {
  appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--navy-700) 50%),
                    linear-gradient(135deg, var(--navy-700) 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%;
  background-size: 5px 5px; background-repeat: no-repeat;
  padding-right: 40px;
}
.form-card textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.form-card input:hover, .form-card select:hover, .form-card textarea:hover { border-color: #BCC8D8; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus {
  outline: none; background: var(--white);
  border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(22,48,90,.15);
}
.form-card ::placeholder { color: #8A94A3; }

.field-hint { font-size: 0.8rem; color: var(--muted); margin: 6px 0 0; }
.field-error { font-size: 0.83rem; font-weight: 500; color: #A2402E; margin: 6px 0 0; }
.field-error:empty { display: none; }
.field.has-error input, .field.has-error select { border-color: #A2402E; background-color: #FDF6F4; }

/* Choice pills (radio buttons) */
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: inline-block; padding: 9px 16px;
  font-size: 0.88rem; color: var(--navy-700);
  border: 1.5px solid var(--line); border-radius: 30px; background: var(--white);
  transition: background .2s, border-color .2s, color .2s;
}
.choice:hover span { border-color: var(--steel-500); }
.choice input:checked + span { background: var(--navy-700); border-color: var(--navy-700); color: var(--white); }
.choice input:focus-visible + span { outline: 2px solid var(--gold-500); outline-offset: 2px; }

/* Consent checkbox */
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.93rem; color: var(--ink); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 3px; flex: 0 0 auto; accent-color: var(--navy-700); }
.field.has-error .consent { color: #A2402E; }

/* Spam trap — hidden from people */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn-submit { width: 100%; padding: 18px; font-size: 0.85rem; }
.btn-submit:disabled { opacity: .7; cursor: wait; transform: none; }
.btn-submit.is-loading .btn-label::before {
  content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 10px; vertical-align: -2px;
  border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.form-note { text-align: center; font-size: 0.83rem; color: var(--muted); margin: 14px 0 0; }

/* Error summary above the form */
.form-alert {
  margin-bottom: 26px; padding: 16px 18px;
  border-radius: 8px; border: 1px solid #E8C4BB; background: #FDF6F4;
  color: #7A2E20; font-size: 0.93rem; line-height: 1.6;
}
.form-alert a { color: #7A2E20; font-weight: 600; }
.form-alert:focus { outline: 2px solid #A2402E; outline-offset: 2px; }

/* ---------- Success message ---------- */
.success-panel { text-align: center; padding: 30px 10px; }
.success-panel:focus { outline: none; }
.success-icon {
  width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-700); color: var(--gold-200); font-size: 1.6rem;
  box-shadow: 0 0 0 8px var(--blue-100);
}
.success-panel h2 { margin-bottom: 14px; }
.success-panel p { color: var(--muted); max-width: 30em; margin-left: auto; margin-right: auto; }
.success-note { font-weight: 500; color: var(--navy-700) !important; margin-bottom: 28px; }
.test-flag {
  display: inline-block; font-size: 0.8rem; font-weight: 600; color: #7A2E20 !important;
  background: #FDF6F4; border: 1px dashed #E8C4BB; padding: 6px 12px; border-radius: 6px;
}
.test-flag[hidden] { display: none; }

/* ---------- Alternative contact ---------- */
.alt-contact {
  margin-top: 56px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px;
  padding: 30px 34px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
}
.alt-contact h3 { font-size: 1.4rem; margin-bottom: 6px; }
.alt-contact p { color: var(--muted); margin: 0; max-width: 36em; }
.alt-contact .btn-row { margin: 0; }

/* ---------- Trust strip (reuses the credibility cards) ---------- */
.trust-section { padding: 90px 0; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 64px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0;
  font-family: var(--font-serif); font-size: 1.2rem; color: var(--navy-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: 0 0 auto;
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-sans); font-size: 1.1rem; color: var(--navy-700);
  border: 1px solid var(--line); transition: transform .25s, background .25s;
}
.faq[open] summary::after { content: "–"; background: var(--navy-700); color: var(--white); border-color: var(--navy-700); }
.faq p { color: var(--muted); margin: 0 0 22px; padding-right: 50px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .trial-hero .hero-grid { grid-template-columns: 1fr; }
  .trial-visual { justify-self: center; max-width: 340px; }
  .form-layout, .faq-layout { grid-template-columns: 1fr; gap: 36px; }
  .form-intro { position: static; }
  .trust-section { padding: 70px 0; }
}
@media (max-width: 600px) {
  .trial-hero { padding: 40px 0 70px; }
  .form-card { padding: 26px 18px; border-radius: var(--radius); }
  .form-grid { grid-template-columns: 1fr; }
  .choice-row { gap: 8px; }
  .choice span { padding: 9px 14px; font-size: 0.85rem; }
  .alt-contact { padding: 24px 20px; }
  .alt-contact .btn-row { width: 100%; }
  .faq summary { font-size: 1.08rem; }
  .faq p { padding-right: 0; }
}


/* ==========================================================
   TESTIMONIALS PAGE  (testimonials.html)
   Added for the Testimonials page; uses the same tokens.
   ========================================================== */
[hidden] { display: none !important; }

/* ---------- Hero ---------- */
.t-hero { padding: 64px 0 72px; }
.t-hero-inner { position: relative; max-width: 780px; }
.t-honesty {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 0.92rem; color: var(--navy-700);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 18px; max-width: 640px; margin: 22px 0 0;
}
.t-honesty i { color: var(--gold-500); margin-top: 4px; }

/* ---------- Filter chips ---------- */
.t-filter { display: flex; flex-wrap: wrap; gap: 10px; padding: 40px 0 0; }
.t-chip {
  font: inherit; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--navy-700); background: var(--white);
  border: 1.5px solid var(--line); border-radius: 30px; padding: 9px 18px; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.t-chip:hover { border-color: var(--steel-500); }
.t-chip.is-on { background: var(--navy-700); color: var(--white); border-color: var(--navy-700); }

/* ---------- Empty state ---------- */
.t-empty {
  text-align: center; max-width: 720px; margin: 0 auto;
  padding: 56px 40px; border: 1px dashed #C9D3E0; border-radius: var(--radius-lg); background: var(--blue-50);
}
.t-empty-icon {
  width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--white); color: var(--gold-500); font-size: 1.5rem; border: 1px solid var(--line);
}
.t-empty p { color: var(--muted); }

/* ---------- Written testimonials ---------- */
.t-grid { columns: 3 320px; column-gap: 24px; }
.t-card {
  break-inside: avoid; margin: 0 0 24px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 30px 26px; position: relative;
  transition: transform .3s, box-shadow .3s;
}
.t-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.t-card::before {
  content: "\201C"; position: absolute; top: 6px; left: 24px;
  font-family: var(--font-serif); font-size: 4.2rem; line-height: 1; color: var(--gold-200);
}
.t-card blockquote { margin: 18px 0 24px; }
.t-card blockquote p {
  font-family: var(--font-serif); font-size: 1.12rem; line-height: 1.6; color: var(--navy-900); margin: 0 0 .7em;
}
.t-card blockquote p:last-child { margin-bottom: 0; }
.t-meta {
  display: flex; align-items: center; gap: 14px;
  padding-top: 18px; border-top: 1px solid var(--line);
}
.t-avatar {
  flex: 0 0 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-700); color: var(--gold-200);
  font-family: var(--font-serif); font-size: 1.1rem;
}
.t-meta > div { min-width: 0; flex: 1; }
.t-name { font-weight: 600; color: var(--ink); margin: 0; font-size: 0.95rem; }
.t-detail { color: var(--muted); margin: 0; font-size: 0.85rem; }
.t-course {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; white-space: nowrap;
  color: var(--navy-700); background: var(--blue-100); padding: 5px 10px; border-radius: 30px;
}

/* ---------- Screenshots ---------- */
.shot-grid { columns: 4 230px; column-gap: 20px; }
.shot { break-inside: avoid; margin: 0 0 20px; }
.shot-open {
  display: block; width: 100%; padding: 0; cursor: zoom-in;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white);
  transition: transform .3s, box-shadow .3s;
}
.shot-open:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.shot-open img { width: 100%; height: auto; }
.shot figcaption { font-size: 0.8rem; color: var(--muted); margin-top: 10px; }

.lightbox {
  border: 0; padding: 0; background: transparent; max-width: min(92vw, 720px); max-height: 92vh; overflow: visible;
}
.lightbox::backdrop { background: rgba(7, 20, 42, .82); }
.lightbox img { max-height: 88vh; width: auto; margin: 0 auto; border-radius: var(--radius); }
.lightbox-close {
  position: absolute; top: -18px; right: -18px; width: 42px; height: 42px; border-radius: 50%;
  border: 0; cursor: pointer; background: var(--white); color: var(--navy-900); font-size: 1.1rem;
  box-shadow: var(--shadow);
}

/* ---------- Videos ---------- */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.video-card { margin: 0; }
.video-thumb, .video-frame {
  display: block; width: 100%; aspect-ratio: 16 / 9; max-width: 100%;
  border: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-900);
}
.video-thumb { position: relative; padding: 0; cursor: pointer; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s; }
.video-thumb:hover img { opacity: 1; }
.play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 68px; height: 68px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold-500); color: var(--navy-900); font-size: 1.3rem;
  box-shadow: 0 0 0 8px rgba(176,141,87,.25);
}
.video-card figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 12px; }

/* ---------- Google reviews ---------- */
.google-card {
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px;
}
.google-card > div:nth-child(2) { flex: 1 1 320px; }
.google-card h2 { font-size: 1.7rem; margin-bottom: 6px; }
.google-card p { color: var(--muted); margin: 0; }
.google-card .btn-row { margin: 0; }
.google-icon {
  width: 60px; height: 60px; border-radius: 50%; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-100); color: var(--navy-700); font-size: 1.4rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
  .t-hero { padding: 40px 0 56px; }
  .t-empty { padding: 40px 22px; }
  .t-card { padding: 30px 22px 22px; }
  .t-meta { flex-wrap: wrap; }
  .shot-grid { columns: 2 140px; column-gap: 14px; }
  .google-card { padding: 26px 22px; }
  .lightbox-close { top: 8px; right: 8px; }
}


/* ==========================================================
   MEET JUI PAGE  (meet-jui.html)
   Added for the Meet Jui page; uses the same tokens.
   ========================================================== */

/* ---------- Hero ---------- */
.meet-hero { padding: 64px 0 100px; }
.meet-hero h1 { font-size: clamp(3rem, 6.5vw, 5rem); margin-bottom: 0.3em; }
.meet-roles {
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--navy-700); margin-bottom: 26px;
}
.meet-roles span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-500); margin-right: 10px; vertical-align: 2px; }
.meet-intro {
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem); line-height: 1.45; color: var(--navy-900);
  max-width: 24em; padding-left: 22px; border-left: 2px solid var(--gold-500);
}
.meet-visual { max-width: 460px; justify-self: end; width: 100%; }

/* ---------- Her Story ---------- */
.story-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 72px; align-items: start; }
.story-head { position: sticky; top: calc(var(--header-h) + 32px); }
.story-text { max-width: 640px; }
.story-text p { color: var(--muted); font-size: 1.05rem; }
.story-lead { color: var(--ink) !important; font-size: 1.15rem !important; }
.story-lead::first-letter {
  float: left; font-family: var(--font-serif); font-size: 4.2rem; line-height: .85;
  color: var(--gold-500); padding: 6px 12px 0 0;
}

/* ---------- Teaching philosophy ---------- */
.philosophy { padding: 120px 0; position: relative; overflow: hidden; }
.philosophy::before {
  content: "\201C"; position: absolute; left: 50%; top: -40px; transform: translateX(-50%);
  font-family: var(--font-serif); font-size: 22rem; line-height: 1; color: rgba(230,214,184,.06);
  pointer-events: none;
}
.philosophy-inner { position: relative; text-align: center; max-width: 860px; }
.philosophy-quote { margin: 10px 0 36px; }
.philosophy-quote blockquote { margin: 0; }
.philosophy-quote blockquote p {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.3; color: var(--white); margin: 0;
  text-wrap: balance;
}
.philosophy-quote figcaption {
  margin-top: 22px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-200);
}
.philosophy-quote figcaption::before { content: ""; display: inline-block; width: 32px; height: 1px; background: var(--gold-500); vertical-align: middle; margin-right: 12px; }
.philosophy-text { color: #C3CEDD; font-size: 1.08rem; max-width: 40em; margin: 0 auto; }

/* ---------- Projects ---------- */
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.project-card {
  display: grid; grid-template-columns: 56px 1fr; column-gap: 22px; align-content: start;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 30px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-200); }
.project-card > * { grid-column: 2; }
.project-icon {
  grid-column: 1; grid-row: 1 / span 3;
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-100); color: var(--navy-700); font-size: 1.2rem;
  transition: background .3s, color .3s;
}
.project-card:hover .project-icon { background: var(--navy-700); color: var(--gold-200); }
.project-tag {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-600); margin: 4px 0 8px;
}
.project-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.project-card p:last-child { color: var(--muted); font-size: 0.97rem; margin: 0; }

/* ---------- What makes Jui different ---------- */
.diff-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
}
.diff-item {
  position: relative; text-align: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 38px 20px 30px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.diff-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-200); }
.diff-icon {
  width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-900); color: var(--gold-200); font-size: 1.35rem;
}
.diff-check {
  position: absolute; top: 34px; left: calc(50% + 18px);
  width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold-500); color: var(--navy-900); font-size: 0.7rem;
  box-shadow: 0 0 0 3px var(--white);
}
.diff-item h3 { font-size: 1.15rem; margin: 0; line-height: 1.35; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .diff-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .meet-hero .hero-grid { grid-template-columns: 1fr; }
  .meet-visual { justify-self: center; max-width: 380px; }
  .story-grid { grid-template-columns: 1fr; gap: 24px; }
  .story-head { position: static; }
  .project-grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .philosophy { padding: 90px 0; }
}
@media (max-width: 600px) {
  .meet-hero { padding: 40px 0 70px; }
  .meet-roles { flex-direction: column; }
  .project-card { grid-template-columns: 1fr; padding: 26px 22px; }
  .project-card > *, .project-icon { grid-column: 1; grid-row: auto; }
  .project-icon { margin-bottom: 16px; }
  .diff-grid { grid-template-columns: 1fr; }
  .diff-item { display: flex; align-items: center; gap: 18px; text-align: left; padding: 20px; }
  .diff-icon { margin: 0; flex: 0 0 52px; height: 52px; font-size: 1.1rem; }
  .diff-check { top: 14px; left: 54px; width: 20px; height: 20px; font-size: 0.6rem; }
  .philosophy::before { font-size: 14rem; }
}
/* FIX - Make Meet Jui text use the full available width */
.about-grid.about-solo {
    display: block !important;
    width: 100% !important;
}
.about-text {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
}
.about-text h2 {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
}
.about-text p {
    display: block !important;
    width: 100% !important;
    max-width: 1100px !important;
}
/* ==========================================
   MOBILE / IPAD - EMAIL & WHATSAPP FIX
   ========================================== */

@media (max-width: 1024px) {

    a[href^="mailto:"] {
        position: relative !important;
        z-index: 99999 !important;
        pointer-events: auto !important;
        touch-action: manipulation !important;
        cursor: pointer !important;
    }

    a[href*="wa.me"] {
        position: relative !important;
        z-index: 99999 !important;
        pointer-events: auto !important;
        touch-action: manipulation !important;
        cursor: pointer !important;
    }

}

/* ==========================================
   FINAL MOBILE CONTACT LINK FIX
   ========================================== */

@media (max-width: 1024px) {

    footer {
        position: relative !important;
        z-index: 1000 !important;
    }

    .contact-list {
        position: relative !important;
        z-index: 10000 !important;
        pointer-events: auto !important;
    }

    .contact-list li {
        position: relative !important;
        z-index: 10001 !important;
        pointer-events: auto !important;
    }

    #footerEmail,
    #footerWhatsapp {
        position: relative !important;
        z-index: 10002 !important;
        display: inline-block !important;
        pointer-events: auto !important;
        touch-action: manipulation !important;
        cursor: pointer !important;
    }
}
/* ==========================================
   MEET JUI - ROLE SPACING
   ========================================== */

.page-meet .meet-roles {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    align-items: center;
    margin: 12px 0 20px;
}

.page-meet .meet-roles span {
    display: inline-block;
}
@media (max-width: 768px) {

    .page-meet .meet-roles {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

}

/* ==========================================================
   RESOURCES PAGE STYLES  (used only by resources.html)
   Every rule starts with .page-resources, so no other page
   changes. Paste at the END of css/style.css.
   ========================================================== */
.page-resources [hidden] { display: none !important; }
.page-resources .sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.page-resources .breadcrumb { font-size: 0.82rem; color: var(--muted); margin-bottom: 22px; }
.page-resources .breadcrumb a { color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line); }
.page-resources .breadcrumb a:hover { color: var(--navy-700); }
.page-resources .breadcrumb span[aria-hidden] { margin: 0 8px; color: var(--gold-500); }

/* ---------- Hero ---------- */
.page-resources .r-hero { padding: 64px 0 88px; }
.page-resources .r-hero-text { max-width: 760px; }
.page-resources .r-subjects {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px;
}
.page-resources .r-subject {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  padding: 28px 26px 26px; text-decoration: none;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform .3s, box-shadow .3s, border-color .3s, background .3s;
}
.page-resources .r-subject:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-200); }
.page-resources .r-subject.is-on { background: var(--navy-900); border-color: var(--navy-900); }
.page-resources .r-subject-icon {
  width: 52px; height: 52px; border-radius: 50%; margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-100); color: var(--navy-700); font-size: 1.2rem;
  transition: background .3s, color .3s;
}
.page-resources .r-subject:hover .r-subject-icon,
.page-resources .r-subject.is-on .r-subject-icon { background: var(--gold-500); color: var(--navy-900); }
.page-resources .r-subject-name { font-family: var(--font-serif); font-size: 1.45rem; color: var(--navy-900); line-height: 1.2; }
.page-resources .r-subject-sub {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-600);
}
.page-resources .r-subject.is-on .r-subject-name { color: var(--white); }
.page-resources .r-subject.is-on .r-subject-sub { color: var(--gold-200); }
.page-resources .r-subject-go {
  position: absolute; top: 28px; right: 24px; color: var(--steel-500); font-size: 0.9rem; transition: transform .3s;
}
.page-resources .r-subject:hover .r-subject-go { transform: translateX(4px); }
.page-resources .r-subject.is-on .r-subject-go { color: var(--gold-200); }

/* ---------- Library ---------- */
.page-resources .r-library { padding-top: 90px; scroll-margin-top: var(--header-h); }
.page-resources .r-sample-note {
  display: flex; gap: 10px; align-items: baseline;
  font-size: 0.9rem; color: var(--navy-700);
  background: var(--blue-50); border: 1px dashed #C9D3E0; border-radius: var(--radius);
  padding: 14px 18px; margin: 0 0 40px;
}
.page-resources .r-sample-note i { color: var(--gold-500); }
.page-resources .r-lib-head { max-width: 760px; margin-bottom: 36px; }

.page-resources .r-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.page-resources .r-cat {
  display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; row-gap: 4px; text-align: left;
  font: inherit; cursor: pointer; padding: 24px 22px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.page-resources .r-cat > * { grid-column: 2; }
.page-resources .r-cat:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gold-200); }
.page-resources .r-cat.is-on { border-color: var(--navy-700); box-shadow: 0 0 0 1px var(--navy-700); }
.page-resources .r-cat-icon {
  grid-column: 1; grid-row: 1 / span 3; width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-900); color: var(--gold-200); font-size: 1.05rem;
}
.page-resources .r-cat-name { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy-900); }
.page-resources .r-cat-desc { font-size: 0.92rem; color: var(--muted); line-height: 1.5; }
.page-resources .r-cat-count { font-size: 0.8rem; font-weight: 600; color: var(--gold-600); margin-top: 4px; }

.page-resources .r-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.page-resources .r-tab {
  font: inherit; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--navy-700); background: var(--white); cursor: pointer;
  border: 1.5px solid var(--line); border-radius: 30px; padding: 9px 18px;
  transition: background .2s, color .2s, border-color .2s;
}
.page-resources .r-tab:hover { border-color: var(--steel-500); }
.page-resources .r-tab.is-on { background: var(--navy-700); color: var(--white); border-color: var(--navy-700); }

.page-resources .r-filters {
  background: var(--blue-50); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px; margin-bottom: 28px;
}
.page-resources .r-search { position: relative; margin-bottom: 16px; }
.page-resources .r-search i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--steel-500); }
.page-resources .r-search input {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--white); border: 1.5px solid var(--line); border-radius: 8px; padding: 13px 14px 13px 44px;
}
.page-resources .r-selects { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.page-resources .r-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.page-resources .r-field span {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.page-resources .r-field select {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  background-color: var(--white); border: 1.5px solid var(--line); border-radius: 8px; padding: 10px 34px 10px 12px;
  appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--navy-700) 50%), linear-gradient(135deg, var(--navy-700) 50%, transparent 50%);
  background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat;
}
.page-resources .r-search input:focus, .page-resources .r-field select:focus {
  outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(22,48,90,.15);
}
.page-resources .r-filter-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; }
.page-resources .r-count { margin: 0; font-size: 0.9rem; font-weight: 600; color: var(--navy-700); }
.page-resources .r-reset {
  font: inherit; font-size: 0.85rem; color: var(--navy-700); background: none; border: 0; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px; padding: 4px;
}

/* Resource items */
.page-resources .r-list { display: grid; gap: 16px; }
.page-resources .r-item {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px 26px; transition: box-shadow .3s, border-color .3s;
}
.page-resources .r-item:hover { box-shadow: var(--shadow); border-color: var(--gold-200); }
.page-resources .r-item-main { min-width: 0; }
.page-resources .r-item-meta {
  margin: 0 0 6px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-600);
}
.page-resources .r-item-title { margin: 0 0 10px; font-size: 1.2rem; }
.page-resources .r-item-title button {
  font: inherit; color: var(--navy-900); background: none; border: 0; padding: 0; cursor: pointer; text-align: left;
}
.page-resources .r-item-title button:hover { color: var(--navy-700); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--gold-500); }
.page-resources .r-item-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.page-resources .r-item-tags span {
  font-size: 0.78rem; color: var(--navy-700); background: var(--blue-100); padding: 4px 10px; border-radius: 30px;
}
.page-resources .r-item-side { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; flex: 0 0 auto; }
.page-resources .r-item-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.page-resources .r-item-actions .btn { padding: 10px 16px; font-size: 0.72rem; }

.page-resources .r-badge {
  display: inline-block; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 30px; border: 1px solid transparent;
}
.page-resources .r-badge-public  { color: #1F5E3A; background: #E8F3EC; border-color: #CFE5D7; }
.page-resources .r-badge-student { color: var(--navy-900); background: var(--gold-200); }
.page-resources .r-badge-buy     { color: var(--navy-700); background: var(--blue-100); }

.page-resources .r-empty {
  text-align: center; padding: 48px 24px; border: 1px dashed #C9D3E0; border-radius: var(--radius-lg); background: var(--blue-50);
}
.page-resources .r-empty-icon { font-size: 1.6rem; color: var(--gold-500); }
.page-resources .r-empty h3 { margin: 12px 0 6px; }
.page-resources .r-empty p { color: var(--muted); }

/* Access explained */
.page-resources .r-access-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.page-resources .r-access-grid .card h3 { margin-top: 16px; }

/* Detail view */
.page-resources .r-detail {
  width: min(92vw, 620px); max-height: 90vh; overflow: auto;
  border: 0; border-radius: var(--radius-lg); padding: 36px 34px 30px; color: var(--ink);
  box-shadow: 0 30px 80px rgba(7,20,42,.35);
}
.page-resources .r-detail::backdrop { background: rgba(7,20,42,.6); }
.page-resources .r-detail h2 { font-size: 1.6rem; margin: 14px 0 10px; }
.page-resources .r-detail-desc { color: var(--muted); }
.page-resources .r-detail-close {
  position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--white); color: var(--navy-900); cursor: pointer;
}
.page-resources .r-detail-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 22px 0 26px; }
.page-resources .r-detail-list div { border-top: 1px solid var(--line); padding-top: 8px; }
.page-resources .r-detail-list dt { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.page-resources .r-detail-list dd { margin: 2px 0 0; color: var(--navy-900); font-weight: 500; }
.page-resources .r-detail-actions { justify-content: flex-start; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .page-resources .r-subjects { grid-template-columns: repeat(2, 1fr); }
  .page-resources .r-selects { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .page-resources .r-cats, .page-resources .r-access-grid { grid-template-columns: 1fr; }
  .page-resources .r-item { flex-direction: column; align-items: stretch; }
  .page-resources .r-item-side { align-items: flex-start; }
  .page-resources .r-item-actions { justify-content: flex-start; }
}
@media (max-width: 600px) {
  .page-resources .r-hero { padding: 40px 0 64px; }
  .page-resources .r-subjects { grid-template-columns: 1fr; gap: 14px; margin-top: 32px; }
  .page-resources .r-subject { padding: 22px 20px; }
  .page-resources .r-selects { grid-template-columns: 1fr 1fr; }
  .page-resources .r-filters { padding: 16px; }
  .page-resources .r-item { padding: 20px 18px; }
  .page-resources .r-item-actions .btn { flex: 1 1 auto; }
  .page-resources .r-detail { padding: 30px 20px 24px; }
  .page-resources .r-detail-list { grid-template-columns: 1fr; }
}

/* ==========================================================
   STUDENT LOGIN PAGE (login.html)
   Every rule starts with .page-login, so no other page changes.
   Paste this at the END of css/style.css.
   ========================================================== */
.page-login [hidden] { display: none !important; }
.page-login .l-wrap { background: var(--blue-50); padding: 56px 0 96px; }
.page-login .l-container { max-width: 540px; }
.page-login .l-card { padding: 40px 38px; }
.page-login .l-title { font-size: clamp(1.7rem, 4vw, 2.1rem); margin: 6px 0 10px; }
.page-login .l-sub { color: var(--muted); margin: 0 0 24px; }

/* Tabs */
.page-login .l-tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  background: var(--blue-100); border-radius: 10px; padding: 4px; margin-bottom: 26px;
}
.page-login .l-tab {
  font: inherit; font-size: 0.9rem; font-weight: 600; color: var(--navy-700);
  background: transparent; border: 0; border-radius: 8px; padding: 11px 8px; cursor: pointer;
  transition: background .2s, color .2s, box-shadow .2s;
}
.page-login .l-tab:hover { background: rgba(255,255,255,.6); }
.page-login .l-tab.is-on { background: var(--white); color: var(--navy-900); box-shadow: 0 2px 8px rgba(11,27,51,.08); }
.page-login .l-tab:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 2px; }

/* Password boxes (same look as the other inputs) */
.page-login .form-card input[type="password"] {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--blue-50); border: 1.5px solid var(--line); border-radius: 8px;
  padding: 12px 14px; transition: border-color .2s, box-shadow .2s, background .2s;
}
.page-login .form-card input[type="password"]:focus {
  outline: none; background: var(--white);
  border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(22,48,90,.15);
}
.page-login .field.has-error input[type="password"] { border-color: #A2402E; background-color: #FDF6F4; }
.page-login .l-pass { position: relative; }
.page-login .l-pass input { padding-right: 50px !important; }
.page-login .l-eye {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border: 0; background: transparent; border-radius: 6px;
  color: var(--muted); cursor: pointer; font-size: 1rem;
}
.page-login .l-eye:hover { color: var(--navy-700); }
.page-login .l-eye:focus-visible { outline: 2px solid var(--gold-500); }

/* Text-style buttons and messages */
.page-login .l-link {
  font: inherit; font-size: 0.88rem; font-weight: 600; color: var(--navy-700);
  background: none; border: 0; padding: 4px 0; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}
.page-login .l-link:hover { color: var(--gold-600); }
.page-login .l-link-row { margin: -6px 0 22px; text-align: right; }
.page-login .l-link-row.center { text-align: center; margin: 16px 0 0; }
.page-login .l-resend { font-size: 0.88rem; color: var(--muted); text-align: center; margin: 16px 0 0; }
.page-login .l-ok {
  margin-bottom: 24px; padding: 16px 18px; border-radius: 8px;
  border: 1px solid #BFDCC9; background: #E8F3EC; color: #1F5E3A; font-size: 0.93rem; line-height: 1.6;
}
.page-login .l-ok:focus, .page-login .form-alert:focus { outline: none; }
.page-login .l-signed { text-align: center; }
.page-login .l-signed .btn-row { margin-bottom: 0; }
.page-login .l-help { text-align: center; font-size: 0.9rem; color: var(--muted); margin: 22px 0 0; }
.page-login .l-help a { color: var(--navy-700); font-weight: 600; }

@media (max-width: 560px) {
  .page-login .l-wrap { padding: 32px 0 64px; }
  .page-login .l-card { padding: 28px 18px; }
  .page-login .l-signed .btn { width: 100%; }
}

