/* ═══════════════════════════════════════════════════════
   LAURA CRESPI CREATIVE TUTORING — Premium Design System
   Inspired by: Brené Brown / Warm Minimalism / Editorial
   Typography: Cormorant Garamond + Inter (Google Fonts)
═══════════════════════════════════════════════════════ */

/* ── Design Tokens ── */
:root {
  /* Warm Palette */
  --cream:      #FAF7F2;
  --cream-dark: #F0EBE3;
  --charcoal:   #2D2926;
  --charcoal-l: #3D3935;
  --terracotta:  #C17C60;
  --terra-light: #D4A08D;
  --terra-dark:  #A8654C;
  --gold-muted:  #B8A07E;
  --gold-light:  #D4C4A8;
  --warm-grey:   #6B6560;
  --sand:        #E8E0D8;
  --sand-light:  #F2EDE7;
  --white:       #FFFFFF;
  --text:        #3A3632;
  --text-light:  #8A847E;

  /* Spacing */
  --section-pad: clamp(80px, 10vw, 140px);
  --container:   1100px;
  --radius:      6px;
  --radius-lg:   12px;
  --shadow:      0 2px 20px rgba(45,41,38,0.06);
  --shadow-lg:   0 8px 40px rgba(45,41,38,0.10);

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--text);
  background: var(--cream);
  font-weight: 400;
  letter-spacing: -0.01em;
}

img { max-width: 100%; display: block; }
a { color: var(--terracotta); text-decoration: none; transition: color 0.3s var(--ease); }
a:hover { color: var(--terra-dark); }

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--charcoal);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.6rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { margin-bottom: 1.2rem; }

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

/* ── Utility ── */
.text-center { text-align: center; }
.text-muted { color: var(--warm-grey); }
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
  display: block;
  margin-bottom: 16px;
}
.lead {
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--warm-grey);
  max-width: 620px;
}
.lead-center { margin-left: auto; margin-right: auto; text-align: center; }
.divider {
  width: 60px;
  height: 1px;
  background: var(--sand);
  margin: 40px 0;
}
.divider-center { margin-left: auto; margin-right: auto; }

/* ── Navigation ── */
nav {
  background: rgba(250,247,242,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--sand);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--charcoal);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.nav-logo span {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm-grey);
  margin-top: 1px;
}
.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--warm-grey);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius);
  letter-spacing: 0.01em;
  transition: all 0.25s var(--ease);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--charcoal);
  background: var(--sand-light);
  text-decoration: none;
}
.nav-cta {
  background: var(--charcoal) !important;
  color: var(--cream) !important;
  font-weight: 600 !important;
  padding: 9px 20px !important;
  border-radius: 50px !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.02em !important;
}
.nav-cta:hover {
  background: var(--terracotta) !important;
  color: var(--white) !important;
}

/* ── Mobile Menu Toggle ── */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 28px;
  height: 20px;
  position: relative;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--charcoal);
  position: absolute;
  left: 0;
  transition: all 0.3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 9px; }
.nav-toggle span:nth-child(3) { top: 18px; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  border: none;
  text-align: center;
}
.btn-primary {
  background: var(--charcoal);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--terracotta);
  color: var(--white);
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid var(--charcoal);
}
.btn-outline:hover {
  background: var(--charcoal);
  color: var(--cream);
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.6);
}
.btn-outline-light:hover {
  background: var(--white);
  color: var(--charcoal);
  text-decoration: none;
}
.btn-warm {
  background: var(--terracotta);
  color: var(--white);
}
.btn-warm:hover {
  background: var(--terra-dark);
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-sm {
  padding: 10px 24px;
  font-size: 0.8rem;
}
.btn-lg {
  padding: 18px 48px;
  font-size: 0.9rem;
}

/* ── Hero (Full-width Image) ── */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--charcoal);
}
.hero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.45;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(45,41,38,0.3) 0%,
    rgba(45,41,38,0.6) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 60px 28px;
}
.hero .eyebrow {
  color: var(--gold-light);
  margin-bottom: 24px;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  font-weight: 400;
  line-height: 1.15;
}
.hero h1 em {
  color: var(--gold-light);
  font-style: italic;
}
.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.8;
  font-weight: 300;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Page Hero (Inner Pages) ── */
.page-hero {
  position: relative;
  padding: clamp(80px, 12vw, 160px) 28px clamp(60px, 8vw, 100px);
  text-align: center;
  overflow: hidden;
  background: var(--charcoal);
}
.page-hero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(45,41,38,0.4) 0%,
    rgba(45,41,38,0.7) 100%
  );
}
.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}
.page-hero .eyebrow {
  color: var(--gold-light);
}
.page-hero h1 {
  color: var(--white);
  margin-bottom: 20px;
}
.page-hero h1 em {
  color: var(--gold-light);
  font-style: italic;
}
.page-hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
  font-weight: 300;
}

/* ── Sections ── */
.section {
  padding: var(--section-pad) 28px;
}
.section-cream { background: var(--cream); }
.section-white { background: var(--white); }
.section-sand  { background: var(--sand-light); }
.section-dark  {
  background: var(--charcoal);
  color: rgba(255,255,255,0.85);
}
.section-dark h2,
.section-dark h3,
.section-dark h4 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.75); }
.section-dark .eyebrow { color: var(--gold-light); }

.section-header {
  text-align: center;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section-header h2 { margin-bottom: 16px; }
.section-header .lead { margin: 0 auto; }

/* ── Editorial Two-Column ── */
.editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  max-width: var(--container);
  margin: 0 auto;
  align-items: center;
}
.editorial-reverse { direction: rtl; }
.editorial-reverse > * { direction: ltr; }
.editorial-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.editorial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.editorial-text .eyebrow { margin-bottom: 12px; }
.editorial-text h2 { margin-bottom: 20px; }
.editorial-text p { color: var(--warm-grey); }

/* ── Credential Strip ── */
.cred-strip {
  background: var(--white);
  border-top: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
  padding: 24px 28px;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.cred-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--warm-grey);
  font-size: 0.82rem;
  font-weight: 500;
}
.cred-item .icon { color: var(--terracotta); font-size: 1.1rem; }
.cred-sep { color: var(--sand); font-size: 1rem; }

/* ── Cards Grid ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  max-width: var(--container);
  margin: 0 auto;
}
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--sand);
  transition: all 0.3s var(--ease);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.card-icon {
  font-size: 1.6rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--sand-light);
  border-radius: 50%;
}
.card h3 { margin-bottom: 12px; }
.card p { font-size: 0.92rem; color: var(--warm-grey); margin-bottom: 0; line-height: 1.75; }

/* ── Card Badges ── */
.card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.badge-terracotta {
  background: var(--terracotta);
  color: var(--white);
}
.badge-gold {
  background: var(--gold-muted);
  color: var(--white);
}

/* ── Two Doors (Service Paths) ── */
.two-doors {
  padding: var(--section-pad) 28px;
  background: var(--white);
}
.doors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  max-width: var(--container);
  margin: 0 auto;
}
.door {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  border: 1px solid var(--sand);
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.door::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--terracotta);
}
.door:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.door-icon { font-size: 2rem; margin-bottom: 20px; }
.door h3 { color: var(--charcoal); margin-bottom: 14px; font-size: 1.4rem; }
.door p { color: var(--warm-grey); font-size: 0.93rem; margin-bottom: 28px; }
.door ul { list-style: none; margin-bottom: 32px; }
.door ul li {
  font-size: 0.9rem;
  padding: 10px 0;
  border-bottom: 1px solid var(--sand);
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.door ul li::before {
  content: '—';
  color: var(--terracotta);
  font-weight: 600;
  flex-shrink: 0;
}
.door:nth-child(2)::before { background: var(--gold-muted); }

/* ── Trust Stats ── */
.trust-row {
  display: flex;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 48px 28px;
}
.trust-item {
  text-align: center;
}
.trust-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1;
  margin-bottom: 6px;
}
.trust-label {
  font-size: 0.75rem;
  color: var(--warm-grey);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ── Pricing Table ── */
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--sand);
}
.pricing-table thead {
  background: var(--charcoal);
  color: var(--cream);
}
.pricing-table thead th {
  padding: 16px 20px;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.pricing-table tbody tr {
  border-bottom: 1px solid var(--sand);
  transition: background 0.2s;
}
.pricing-table tbody tr:hover { background: var(--sand-light); }
.pricing-table tbody td {
  padding: 16px 20px;
  font-size: 0.9rem;
  color: var(--text);
  vertical-align: middle;
  background: var(--white);
}
.pricing-table .highlight-row td { background: var(--sand-light); }
.price {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
  color: var(--charcoal);
  font-size: 1.15rem;
}
.pricing-note {
  background: var(--sand-light);
  border-left: 3px solid var(--terracotta);
  padding: 18px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.88rem;
  color: var(--warm-grey);
  margin-top: 24px;
  line-height: 1.7;
}

/* ── Zone Table ── */
.zone-table {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--sand);
}
.zone-row {
  display: grid;
  grid-template-columns: 120px 1fr 120px 120px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--sand);
  font-size: 0.9rem;
  align-items: center;
  gap: 12px;
}
.zone-row.header {
  background: var(--charcoal);
  color: var(--cream);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.zone-a { background: var(--white); }
.zone-b { background: var(--sand-light); }
.zone-c { background: var(--cream-dark); }
.zone-online { background: var(--white); }
.zone-label { font-weight: 600; color: var(--charcoal); }
.zone-rate { font-weight: 600; text-align: center; }

/* ── Testimonials ── */
.testimonial-box {
  background: var(--white);
  border-left: 3px solid var(--terracotta);
  padding: 36px 40px;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  max-width: 700px;
  margin: 0 auto 28px;
}
.testimonial-box blockquote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  color: var(--charcoal);
  font-style: italic;
  margin-bottom: 16px;
  line-height: 1.7;
  font-weight: 400;
}
.testimonial-box cite {
  font-size: 0.82rem;
  color: var(--warm-grey);
  font-style: normal;
  font-weight: 500;
}

/* Pull Quote */
.pull-quote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--charcoal);
  font-style: italic;
  line-height: 1.5;
  max-width: 700px;
  margin: 0 auto;
  padding: 40px 0;
  text-align: center;
  font-weight: 400;
}
.pull-quote::before {
  content: '"';
  display: block;
  font-size: 3rem;
  color: var(--terracotta);
  line-height: 1;
  margin-bottom: 8px;
}

/* ── CTA Banner ── */
.cta-banner {
  background: var(--charcoal);
  padding: clamp(60px, 8vw, 100px) 28px;
  text-align: center;
  color: var(--white);
}
.cta-banner h2 {
  color: var(--white);
  margin-bottom: 16px;
  font-weight: 400;
}
.cta-banner p {
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  margin: 0 auto 36px;
  font-size: 1rem;
  line-height: 1.8;
}

/* ── Placeholder ── */
.placeholder-box {
  background: var(--sand-light);
  border: 1.5px dashed var(--sand);
  border-radius: var(--radius-lg);
  padding: 56px 36px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.placeholder-box .ph-icon { font-size: 2.4rem; margin-bottom: 20px; opacity: 0.5; }
.placeholder-box h3 { color: var(--charcoal); margin-bottom: 12px; }
.placeholder-box p { font-size: 0.9rem; color: var(--warm-grey); margin: 0; }

/* ── About Page ── */
.about-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 56px;
  max-width: 960px;
  margin: 0 auto;
  align-items: start;
}
.about-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-photo-placeholder {
  background: var(--sand-light);
  border-radius: var(--radius-lg);
  padding: 48px 24px;
  text-align: center;
  border: 1.5px dashed var(--sand);
  aspect-ratio: 3/4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.about-contact-card {
  background: var(--charcoal);
  color: rgba(255,255,255,0.9);
  border-radius: var(--radius-lg);
  padding: 28px;
  font-size: 0.88rem;
  margin-top: 20px;
}
.about-contact-card h4 {
  color: var(--gold-light);
  margin-bottom: 14px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}
.about-contact-card p { margin-bottom: 8px; }
.about-contact-card a { color: var(--gold-light); }
.about-bio-col h2 { margin-bottom: 24px; }
.about-intro {
  font-size: 1.1rem;
  line-height: 1.85;
  margin-bottom: 24px;
  color: var(--text);
}

/* ── Timeline ── */
.timeline { max-width: 720px; margin: 0 auto; }
.timeline-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 28px;
  margin-bottom: 40px;
  position: relative;
}
.timeline-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 27px;
  top: 56px;
  bottom: -40px;
  width: 1px;
  background: var(--sand);
}
.timeline-marker {
  width: 56px;
  height: 56px;
  background: var(--cream);
  border: 2px solid var(--terracotta);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.timeline-content h3 { margin-bottom: 4px; }
.timeline-date {
  display: block;
  font-size: 0.75rem;
  color: var(--terracotta);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.timeline-content p { font-size: 0.9rem; color: var(--warm-grey); }

/* ── Process Steps ── */
.process-steps { max-width: 700px; margin: 0 auto; }
.process-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 28px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--sand);
}
.process-step:last-child { border-bottom: none; }
.step-number {
  width: 56px;
  height: 56px;
  background: var(--cream);
  border: 2px solid var(--terracotta);
  color: var(--terracotta);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 600;
  flex-shrink: 0;
}
.step-content h3 { margin-bottom: 10px; }
.step-content p { font-size: 0.9rem; color: var(--warm-grey); }

/* ── Subject Cards ── */
.subject-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--sand);
  transition: all 0.3s var(--ease);
}
.subject-card:hover { box-shadow: var(--shadow); }
.subject-icon { font-size: 1.8rem; margin-bottom: 16px; }
.subject-card h3 { margin-bottom: 14px; font-size: 1.05rem; }
.subject-card ul { list-style: none; }
.subject-card ul li {
  font-size: 0.85rem;
  color: var(--warm-grey);
  padding: 6px 0;
  border-bottom: 1px solid var(--sand-light);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.subject-card ul li::before {
  content: '—';
  color: var(--terracotta);
  flex-shrink: 0;
}

/* ── ADHD Facts Grid ── */
.adhd-facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  max-width: var(--container);
  margin: 0 auto;
}
.adhd-fact {
  display: flex;
  gap: 20px;
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--sand);
  align-items: flex-start;
  transition: all 0.3s var(--ease);
}
.adhd-fact:hover { box-shadow: var(--shadow); }
.adhd-icon {
  width: 48px;
  height: 48px;
  background: var(--sand-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.fact-body h3 { margin-bottom: 8px; }
.fact-body p { font-size: 0.88rem; color: var(--warm-grey); margin: 0; }

/* ── Knowledge Articles ── */
.knowledge-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
.knowledge-article {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  border: 1px solid var(--sand);
  border-left: 3px solid var(--terracotta);
}
.knowledge-article h3 { margin-bottom: 12px; }
.knowledge-article p {
  font-size: 0.92rem;
  color: var(--warm-grey);
  line-height: 1.8;
}
.ka-badge {
  display: inline-block;
  background: var(--charcoal);
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.ka-coming {
  font-size: 0.82rem;
  color: var(--terracotta);
  font-weight: 600;
  font-style: italic;
  margin-top: 14px;
  margin-bottom: 0;
}

/* Sign Items (ADHD signs list) */
.sign-item {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--sand);
  align-items: flex-start;
}
.sign-item:last-child { border-bottom: none; }
.sign-num {
  width: 40px;
  height: 40px;
  background: var(--terracotta);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}
.sign-item h3 { margin-bottom: 6px; font-size: 1rem; }
.sign-item p { font-size: 0.88rem; color: var(--warm-grey); margin: 0; }

/* ── FAQ ── */
.faq-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--sand);
}
.faq-item:last-child { border-bottom: none; }
.faq-item h3 { font-size: 1.05rem; margin-bottom: 10px; color: var(--charcoal); }
.faq-item p { font-size: 0.9rem; color: var(--warm-grey); margin: 0; line-height: 1.8; }

/* ── Article Preview List ── */
.article-list { margin-bottom: 0; }
.article-preview {
  display: flex;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--sand);
  align-items: flex-start;
}
.article-preview:last-child { border-bottom: none; }
.ap-num {
  width: 32px;
  height: 32px;
  background: var(--charcoal);
  color: var(--gold-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.article-preview h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1rem;
  color: var(--charcoal);
  margin-bottom: 4px;
  line-height: 1.35;
}
.article-preview p {
  font-size: 0.82rem;
  color: var(--warm-grey);
  margin: 0;
  line-height: 1.6;
}

/* ── Contact Form ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  max-width: 960px;
  margin: 0 auto;
  align-items: start;
}
.contact-form { max-width: 600px; margin: 0 auto; }
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--sand);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  color: var(--text);
  transition: all 0.25s var(--ease);
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(193,124,96,0.12);
}
.form-group textarea { min-height: 140px; resize: vertical; }

/* ── Footer ── */
footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.65);
  padding: 64px 28px 28px;
  font-size: 0.85rem;
}
.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--white);
  margin-bottom: 14px;
  font-size: 1.15rem;
  font-weight: 500;
}
.footer-brand p { line-height: 1.8; }
footer h4 {
  font-family: 'Inter', sans-serif;
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; }
footer ul li a {
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
  transition: color 0.2s;
}
footer ul li a:hover { color: var(--gold-light); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  text-align: center;
  color: rgba(255,255,255,0.35);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

/* ── Full-width Image Section ── */
.image-break {
  width: 100%;
  height: clamp(300px, 40vw, 500px);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* ── Quote Break (Text on Image) ── */
.quote-break {
  position: relative;
  width: 100%;
  min-height: clamp(300px, 40vw, 500px);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.quote-break-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(45,41,38,0.6) 0%,
    rgba(45,41,38,0.82) 100%
  );
}
.quote-break-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 60px 40px;
}
.quote-break-content blockquote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  color: var(--white);
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 20px;
}
.quote-break-content cite {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: var(--gold-light);
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ── Comparison Table ── */
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--sand);
}
.comparison-table th {
  background: var(--charcoal);
  color: var(--gold-light);
  padding: 14px 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
}
.comparison-table td {
  padding: 14px 20px;
  font-size: 0.88rem;
  color: var(--text);
  background: var(--white);
  border-bottom: 1px solid var(--sand);
}
.comparison-table tr:hover td { background: var(--sand-light); }

/* ── Programme Cards ── */
.programme-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  max-width: var(--container);
  margin: 0 auto;
}
.programme-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--sand);
  text-align: center;
  transition: all 0.3s var(--ease);
}
.programme-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.programme-card h3 { margin-bottom: 8px; }
.programme-card .price-tag {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 16px 0;
}
.programme-card .price-tag span {
  font-size: 0.85rem;
  color: var(--warm-grey);
  font-weight: 400;
}
.programme-card ul {
  list-style: none;
  text-align: left;
  margin: 24px 0;
}
.programme-card ul li {
  font-size: 0.88rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--sand-light);
  color: var(--warm-grey);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.programme-card ul li::before {
  content: '—';
  color: var(--terracotta);
  flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .editorial { grid-template-columns: 1fr; gap: 32px; }
  .editorial-reverse { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-grid { grid-template-columns: 1fr; }
  .doors-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --section-pad: 60px; }

  .doors-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .zone-row { grid-template-columns: 1fr 1fr; font-size: 0.82rem; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--charcoal);
    flex-direction: column;
    padding: 20px 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links li { text-align: center; width: 100%; }
  .nav-links a {
    display: block;
    width: 100%;
    padding: 14px 0;
    font-size: 1rem;
    color: var(--cream);
    background: none;
    border-radius: 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links a:hover,
  .nav-links a.active {
    color: var(--gold-light);
    background: rgba(255,255,255,0.05);
  }
  .nav-links .nav-cta {
    background: var(--gold) !important;
    color: var(--charcoal) !important;
    border-radius: var(--radius) !important;
    margin: 16px auto 8px !important;
    width: auto !important;
    display: inline-block !important;
    padding: 12px 32px !important;
  }
  .nav-toggle { display: block; }
  nav .container { position: relative; }

  .hero { min-height: 70vh; }
  .hero h1 { font-size: clamp(2rem, 7vw, 3rem); }

  .trust-row { gap: 28px; }
  .cred-sep { display: none; }

  .about-grid { grid-template-columns: 1fr; }
  .about-photo-placeholder { aspect-ratio: auto; }

  .timeline-item { grid-template-columns: 44px 1fr; gap: 16px; }
  .timeline-marker { width: 44px; height: 44px; font-size: 1rem; }

  .process-step { grid-template-columns: 48px 1fr; gap: 16px; }
  .step-number { width: 48px; height: 48px; }

  .adhd-facts-grid { grid-template-columns: 1fr; }
  .adhd-fact { flex-direction: column; gap: 12px; }

  .pricing-table thead th,
  .pricing-table tbody td { padding: 12px 14px; font-size: 0.82rem; }

  .cards-grid { grid-template-columns: 1fr; }
  .programme-cards { grid-template-columns: 1fr; }

  .image-break { background-attachment: scroll; height: 250px; }
  .quote-break { background-attachment: scroll; min-height: 280px; }
  .quote-break-content { padding: 40px 24px; }
  .quote-break-content blockquote { font-size: 1.2rem; }

  .pull-quote { font-size: 1.3rem; padding: 28px 0; }
}

/* ══════════════════════════════════════════════════════
   LARGE SCREEN RESPONSIVE (27" monitors, 1440p, 4K)
   ══════════════════════════════════════════════════════ */

/* ── Large Desktops (1400px+) ── */
@media (min-width: 1400px) {
  :root {
    --container: 1280px;
  }

  body { font-size: 17.5px; }

  h1 { font-size: clamp(2.6rem, 4vw, 4.5rem); }
  h2 { font-size: clamp(1.8rem, 3vw, 3.2rem); }
  h3 { font-size: clamp(1.2rem, 1.8vw, 1.8rem); }

  .nav-inner {
    max-width: 1280px;
    height: 80px;
  }
  .nav-logo { font-size: 1.35rem; }
  .nav-links a { font-size: 0.88rem; padding: 10px 18px; }
  .nav-cta { font-size: 0.85rem !important; padding: 10px 24px !important; }

  .hero { min-height: 80vh; }
  .hero-content { max-width: 900px; padding: 80px 40px; }
  .hero-sub { font-size: 1.15rem; max-width: 640px; }

  .page-hero {
    padding: clamp(100px, 14vw, 200px) 40px clamp(80px, 10vw, 140px);
  }
  .page-hero-content { max-width: 840px; }
  .page-hero-sub { font-size: 1.12rem; max-width: 640px; }

  .container { padding: 0 40px; }

  .editorial { max-width: 1280px; }
  .cards-grid { max-width: 1280px; }
  .adhd-facts-grid { max-width: 1280px; }
  .programme-cards { max-width: 1280px; }
  .doors-grid { max-width: 1100px; }
  .footer-grid { max-width: 1280px; }

  .contact-grid { max-width: 1100px; }
  .about-grid { max-width: 1100px; }

  .lead { font-size: 1.2rem; max-width: 700px; }

  .testimonial-box { max-width: 800px; }
  .pull-quote { max-width: 800px; font-size: clamp(1.4rem, 2.2vw, 2.2rem); }

  .cta-banner { padding: clamp(80px, 10vw, 140px) 40px; }
  .cta-banner p { max-width: 600px; font-size: 1.08rem; }

  .image-break { height: clamp(350px, 35vw, 550px); }
  .quote-break { min-height: clamp(350px, 35vw, 550px); }
  .quote-break-content { max-width: 900px; padding: 80px 48px; }
  .quote-break-content blockquote { font-size: clamp(1.5rem, 2.2vw, 2.4rem); }

  .card { padding: 40px 36px; }
  .card p { font-size: 0.95rem; }

  .adhd-fact { padding: 36px; }
  .fact-body p { font-size: 0.92rem; }

  .knowledge-article { padding: 40px 44px; }
  .knowledge-article p { font-size: 0.95rem; }

  .sign-item h3 { font-size: 1.05rem; }
  .sign-item p { font-size: 0.92rem; }

  footer { padding: 80px 40px 32px; font-size: 0.88rem; }
}

/* ── Ultra-Wide & 4K Screens (2000px+) ── */
@media (min-width: 2000px) {
  :root {
    --container: 1520px;
    --section-pad: clamp(100px, 8vw, 180px);
  }

  body { font-size: 18.5px; }

  h1 { font-size: clamp(3rem, 3.5vw, 5rem); }
  h2 { font-size: clamp(2rem, 2.5vw, 3.6rem); }
  h3 { font-size: clamp(1.3rem, 1.5vw, 2rem); }

  .nav-inner {
    max-width: 1520px;
    height: 88px;
  }
  .nav-logo { font-size: 1.45rem; }
  .nav-links a { font-size: 0.92rem; padding: 12px 20px; }
  .nav-cta { font-size: 0.88rem !important; padding: 12px 28px !important; }

  .hero-content { max-width: 1000px; padding: 100px 48px; }
  .hero-sub { font-size: 1.2rem; max-width: 700px; }

  .page-hero {
    padding: clamp(120px, 12vw, 260px) 48px clamp(100px, 8vw, 180px);
  }
  .page-hero-content { max-width: 960px; }
  .page-hero-sub { font-size: 1.2rem; max-width: 720px; }

  .container { padding: 0 56px; }

  .editorial { max-width: 1520px; gap: clamp(48px, 5vw, 100px); }
  .cards-grid { max-width: 1520px; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); }
  .adhd-facts-grid { max-width: 1520px; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); }
  .programme-cards { max-width: 1520px; }
  .doors-grid { max-width: 1320px; }
  .footer-grid { max-width: 1520px; }

  .contact-grid { max-width: 1200px; gap: 72px; }
  .about-grid { max-width: 1200px; gap: 72px; }

  .lead { font-size: 1.3rem; max-width: 780px; }

  .testimonial-box { max-width: 900px; padding: 44px 48px; }
  .testimonial-box blockquote { font-size: 1.4rem; }
  .pull-quote { max-width: 900px; }

  .cta-banner p { max-width: 680px; font-size: 1.12rem; }

  .image-break { height: clamp(400px, 30vw, 600px); }
  .quote-break { min-height: clamp(400px, 30vw, 600px); }
  .quote-break-content { max-width: 1000px; padding: 100px 56px; }
  .quote-break-content blockquote { font-size: clamp(1.6rem, 2vw, 2.6rem); }
  .quote-break-content cite { font-size: 0.92rem; }

  .card { padding: 48px 40px; }
  .card p { font-size: 1rem; }
  .card h3 { font-size: 1.3rem; }

  .adhd-fact { padding: 40px; }
  .fact-body h3 { font-size: 1.2rem; }
  .fact-body p { font-size: 0.95rem; }

  .knowledge-article { padding: 44px 48px; }
  .knowledge-article h3 { font-size: 1.3rem; }
  .knowledge-article p { font-size: 1rem; }

  .sign-item { padding: 28px 0; gap: 28px; }
  .sign-num { width: 48px; height: 48px; font-size: 1.1rem; }
  .sign-item h3 { font-size: 1.15rem; }
  .sign-item p { font-size: 0.95rem; }

  .door { padding: 56px 44px; }
  .door h3 { font-size: 1.5rem; }
  .door p { font-size: 0.98rem; }
  .door ul li { font-size: 0.95rem; }

  footer { padding: 96px 56px 36px; font-size: 0.9rem; }
  .footer-brand h3 { font-size: 1.3rem; }

  .cred-strip { padding: 28px 40px; gap: 40px; }
  .cred-item { font-size: 0.88rem; }

  .pricing-table thead th { padding: 18px 24px; font-size: 0.8rem; }
  .pricing-table tbody td { padding: 18px 24px; font-size: 0.95rem; }

  .zone-table { max-width: 1040px; }

  .step-number { width: 64px; height: 64px; font-size: 1.5rem; }
  .step-content h3 { font-size: 1.2rem; }
  .step-content p { font-size: 0.95rem; }
  .process-steps { max-width: 840px; }
  .process-step { gap: 32px; }

  .timeline { max-width: 860px; }
  .timeline-marker { width: 64px; height: 64px; font-size: 1.3rem; }
  .timeline-content h3 { font-size: 1.15rem; }
  .timeline-content p { font-size: 0.95rem; }
}

/* ── Improve text-on-image readability on all screens ── */
.page-hero-overlay {
  background: linear-gradient(180deg,
    rgba(45,41,38,0.5) 0%,
    rgba(45,41,38,0.8) 100%
  );
}
.hero-overlay {
  background: linear-gradient(180deg,
    rgba(45,41,38,0.4) 0%,
    rgba(45,41,38,0.7) 100%
  );
}

/* ── Animation: Fade In on Scroll ── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════════
   SHOP PAGE
   ══════════════════════════════════════════════ */

.shop-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.3s var(--ease);
}
.shop-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.shop-card-badge {
  display: inline-block;
  background: var(--sand-light);
  color: var(--terracotta);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.shop-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.shop-card p {
  font-size: 0.88rem;
  color: var(--warm-grey);
  line-height: 1.7;
  flex: 1;
}
.shop-price {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 16px 0;
}
.shop-price span {
  font-size: 0.85rem;
  color: var(--warm-grey);
  font-weight: 400;
  font-family: 'Inter', sans-serif;
}
.shop-card .btn {
  margin-top: auto;
}
.shop-card-features {
  list-style: none;
  padding: 0;
  margin: 12px 0 20px;
}
.shop-card-features li {
  font-size: 0.85rem;
  color: var(--text);
  padding: 6px 0;
  padding-left: 22px;
  position: relative;
}
.shop-card-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--terracotta);
  font-weight: 600;
}
.shop-discount {
  display: inline-block;
  background: rgba(93, 170, 104, 0.1);
  color: #5DAA68;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
  margin-left: 8px;
}
.btn-loading {
  opacity: 0.6;
  pointer-events: none;
  cursor: wait;
}

/* Payment method badges */
.payment-badges {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.payment-badge {
  display: inline-flex;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 6px;
  padding: 6px 14px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--charcoal);
  letter-spacing: 0.02em;
}
.payment-badge-klarna {
  background: #FFB3C7;
  border-color: #FFB3C7;
  color: #17120F;
  font-weight: 600;
}

/* ══════════════════════════════════════════════
   PORTAL / AUTH FORMS
   ══════════════════════════════════════════════ */

.auth-section {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
}
@media (max-width: 768px) {
  .auth-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.auth-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  border: 1px solid var(--sand);
}
.auth-box h2 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}
.auth-sub {
  font-size: 0.88rem;
  color: var(--warm-grey);
  margin-bottom: 28px;
}
.password-strength {
  margin-top: 8px;
  height: 4px;
  border-radius: 2px;
  background: var(--sand);
  overflow: hidden;
}
.password-strength-bar {
  height: 100%;
  width: 0;
  border-radius: 2px;
  transition: width 0.3s var(--ease), background 0.3s var(--ease);
}
.strength-weak .password-strength-bar { width: 25%; background: #D4534A; }
.strength-fair .password-strength-bar { width: 50%; background: #E8A838; }
.strength-good .password-strength-bar { width: 75%; background: var(--gold-muted); }
.strength-strong .password-strength-bar { width: 100%; background: #5DAA68; }
.password-strength-label {
  font-size: 0.75rem;
  margin-top: 4px;
  font-weight: 500;
}
.strength-weak .password-strength-label { color: #D4534A; }
.strength-fair .password-strength-label { color: #E8A838; }
.strength-good .password-strength-label { color: var(--gold-muted); }
.strength-strong .password-strength-label { color: #5DAA68; }
.student-entry {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}
.student-entry input { flex: 1; }
.student-remove {
  background: none;
  border: none;
  color: var(--warm-grey);
  cursor: pointer;
  font-size: 1.3rem;
  padding: 4px 8px;
  transition: color 0.2s;
  line-height: 1;
}
.student-remove:hover { color: #D4534A; }
.add-student-btn {
  background: none;
  border: 1.5px dashed var(--sand);
  border-radius: var(--radius);
  padding: 10px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: var(--terracotta);
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
  text-align: center;
}
.add-student-btn:hover {
  border-color: var(--terracotta);
  background: var(--sand-light);
}
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: #D4534A;
  box-shadow: 0 0 0 3px rgba(212, 83, 74, 0.12);
}
.form-error-msg {
  font-size: 0.78rem;
  color: #D4534A;
  margin-top: 4px;
}
.auth-alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  margin-bottom: 20px;
}
.auth-alert-error {
  background: rgba(212, 83, 74, 0.08);
  border: 1px solid rgba(212, 83, 74, 0.2);
  color: #D4534A;
}
.auth-alert-success {
  background: rgba(93, 170, 104, 0.08);
  border: 1px solid rgba(93, 170, 104, 0.2);
  color: #5DAA68;
}
.forgot-link {
  display: block;
  text-align: right;
  font-size: 0.82rem;
  color: var(--terracotta);
  margin-top: -8px;
  margin-bottom: 16px;
}
.nav-portal {
  font-size: 0.78rem !important;
  color: var(--warm-grey) !important;
  border: 1px solid var(--sand) !important;
  padding: 7px 14px !important;
  border-radius: 50px !important;
}
.nav-portal:hover {
  color: var(--terracotta) !important;
  border-color: var(--terracotta) !important;
  background: transparent !important;
}

/* ══════════════════════════════════════════════
   PRIVACY / LEGAL PAGE
   ══════════════════════════════════════════════ */

.legal-content {
  max-width: 780px;
  margin: 0 auto;
}
.legal-content h2 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  margin-top: 48px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--sand);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-size: 1.05rem;
  font-family: 'Inter', sans-serif;
  margin-top: 28px;
  margin-bottom: 10px;
}
.legal-content p,
.legal-content li {
  font-size: 0.92rem;
  color: var(--warm-grey);
  line-height: 1.8;
}
.legal-content ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 20px;
}
.legal-content ul li {
  padding: 5px 0 5px 22px;
  position: relative;
}
.legal-content ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--terracotta);
}
.legal-meta {
  font-size: 0.82rem;
  color: var(--warm-grey);
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--sand);
}

/* ══════════════════════════════════════════════
   VIDEO SESSION / CLASSROOM
   ══════════════════════════════════════════════ */

.classroom-layout {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  height: calc(100vh - 120px);
  padding: 16px;
}
.whiteboard-area {
  background: var(--white);
  border: 2px solid var(--sand);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  min-height: 300px;
}
.whiteboard-area iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.whiteboard-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--warm-grey);
  font-size: 1rem;
  text-align: center;
  padding: 40px;
}
.video-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-height: 220px;
}
.video-tile {
  background: var(--charcoal);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/9;
}
.video-tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-tile-label {
  position: absolute;
  bottom: 8px;
  left: 12px;
  background: rgba(0,0,0,0.6);
  color: white;
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 50px;
  font-weight: 500;
}
@media (max-width: 768px) {
  .classroom-layout {
    height: auto;
    min-height: 100vh;
  }
  .video-tiles {
    grid-template-columns: 1fr;
    max-height: none;
  }
}

/* Pre-Call Check */
.precheck-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}
.precheck-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 768px) {
  .precheck-grid {
    grid-template-columns: 1fr;
  }
}
.camera-preview {
  background: var(--charcoal);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  position: relative;
}
.camera-preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
}
.no-camera {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}
.device-checks {
  list-style: none;
  padding: 0;
}
.device-check {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--sand);
}
.device-check:last-child { border-bottom: none; }
.device-check-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.device-check-icon.pass { background: rgba(93,170,104,0.12); color: #5DAA68; }
.device-check-icon.fail { background: rgba(212,83,74,0.12); color: #D4534A; }
.device-check-icon.pending { background: var(--sand-light); color: var(--warm-grey); }
.device-check-label h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  margin-bottom: 2px;
}
.device-check-label p {
  font-size: 0.8rem;
  color: var(--warm-grey);
  margin: 0;
}
.audio-meter {
  width: 100%;
  height: 5px;
  background: var(--sand);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 8px;
}
.audio-meter-bar {
  height: 100%;
  background: #5DAA68;
  border-radius: 3px;
  width: 0;
  transition: width 0.1s;
}
.session-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 16px 0;
}
.session-controls .btn {
  min-width: 160px;
}

/* ══════════════════════════════════════════════
   DASHBOARD
   ══════════════════════════════════════════════ */

.dashboard-welcome {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  max-width: var(--container);
  margin: 0 auto;
}
.dashboard-welcome h2 { margin: 0; }
.summary-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  border: 1px solid var(--sand);
  border-left: 3px solid var(--terracotta);
  margin-bottom: 20px;
  transition: all 0.3s var(--ease);
}
.summary-card:hover { box-shadow: var(--shadow); }
.summary-date {
  font-size: 0.75rem;
  color: var(--terracotta);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.summary-card h3 { margin-bottom: 10px; }
.summary-body {
  font-size: 0.9rem;
  color: var(--warm-grey);
  line-height: 1.8;
  display: none;
}
.summary-card.expanded .summary-body { display: block; }
.summary-toggle {
  background: none;
  border: none;
  color: var(--terracotta);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  margin-top: 8px;
  font-family: 'Inter', sans-serif;
}
.summary-toggle:hover { text-decoration: underline; }
.student-selector {
  display: flex;
  gap: 8px;
  align-items: center;
}
.student-selector select {
  padding: 8px 14px;
  border: 1.5px solid var(--sand);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: var(--text);
  background: var(--white);
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.stat-card {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
}
.stat-number {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--terracotta);
  line-height: 1;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--warm-grey);
  margin-top: 8px;
}

/* ══════════════════════════════════════════════
   COOKIE CONSENT BANNER
   ══════════════════════════════════════════════ */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--white);
  border-top: 1px solid var(--sand);
  box-shadow: 0 -4px 24px rgba(45, 41, 38, 0.1);
  padding: 28px;
  animation: cookieSlideUp 0.4s var(--ease);
}
@keyframes cookieSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}
.cookie-banner-text h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.15rem;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.cookie-banner-text p {
  font-size: 0.84rem;
  color: var(--warm-grey);
  line-height: 1.7;
  margin-bottom: 4px;
}
.cookie-banner-text p:last-child { margin-bottom: 0; }
.cookie-banner-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-banner-link {
  grid-column: 1 / -1;
  font-size: 0.78rem;
  color: var(--terracotta);
  text-align: center;
  display: block;
  margin-top: 4px;
}
@media (max-width: 768px) {
  .cookie-banner { padding: 20px; }
  .cookie-banner-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .cookie-banner-actions {
    flex-direction: row;
    justify-content: center;
  }
}
