/* AL ALFIYA / GLOBAL TYPOGRAPHY — v1.3
   Single source of truth for all eight prototype pages.
   Always load this stylesheet LAST, after styles.css and any page layout CSS.
   Do not redefine these sizes in page-specific stylesheets.
   Long multi-line hero titles use .type-hero--long, never one-off pixel values. */
:root {
  --al-font-display: "Inter Display", "Inter", Arial, Helvetica, sans-serif;
  --al-font-body: "Lato", Arial, Helvetica, sans-serif;
  --al-type-hero: clamp(61px, 6vw, 110px);
  --al-type-hero-long: var(--al-type-hero);
  --al-type-section: 70px;
  --al-type-lead: 20px;
  --al-type-body: 20px;
  --al-type-card-heading: clamp(35px, 3.6vw, 58px);
  --al-type-support: 20px;
  --al-type-card-body: 20px;
  --al-type-hero-description: 20px;
  --al-type-quote: clamp(40px, 5.5vw, 84px);
  --al-type-attribution: 20px;
  --al-type-label: 10px;
  --al-type-nav: 11px;
  --al-leading-hero: .98;
  --al-leading-section: .99;
  --al-leading-lead: 1.49;
  --al-leading-body: 1.6;
  --al-tracking-hero: -.067em;
  --al-tracking-section: -.064em;
}
body {font-family:var(--al-font-body);}
/* LEVEL 1 — Primary H1, same scale on all pages. */
.hero h1,
.about-page .about-hero h1,
.type-hero {
  font-family: var(--al-font-display);
  font-size: var(--al-type-hero);
  font-weight: 900;
  line-height: var(--al-leading-hero);
  letter-spacing: var(--al-tracking-hero);
}
/* LEVEL 2 — Main section H2. */
.intro-original h2,
.vision h2,
.services h2,
.method.method-bg .method-copy h2,
.about-page .about-vision h2,
.about-page .about-mission h2,
.type-section {
  font-family: var(--al-font-display);
  font-size: var(--al-type-section);
  font-weight: 900;
  line-height: var(--al-leading-section);
  letter-spacing: var(--al-tracking-section);
}
/* All actual H2s use one global scale, regardless of legacy page selectors. */
body main h2 { font-size: var(--al-type-section) !important; }
/* LEVEL 3 — Introductory or lead copy. */
.intro-lead,
.about-page .about-hero p,
.type-lead {
  font-size: var(--al-type-lead);
  font-weight: 400;
  line-height: var(--al-leading-lead);
}
/* LEVEL 4 — Full-length body paragraphs. */
.vision-content p,
.method.method-bg .method-copy p,
.about-page .about-vision p,
.about-page .about-mission p,
.type-body {
  font-size: var(--al-type-body);
  font-weight: 400;
  line-height: var(--al-leading-body);
  letter-spacing: -.012em;
}
/* Named reusable variants: not competing page-specific scales. */
.service-card h3,.type-card-heading {
  font-size: var(--al-type-card-heading);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.07em;
}
.intro-subcopy,.services-heading > p,.type-support {
  font-size: var(--al-type-support);
  line-height: 1.75;
}
.service-card p,.type-card-body {font-size: var(--al-type-card-body);line-height: 1.75;}
.hero-copy > p,.type-hero-description {font-size: var(--al-type-hero-description);}
.closing h2,.type-quote {font-size: var(--al-type-quote);font-weight: 900;}
.method.method-bg .method-copy .method-attribution,.type-attribution {
  font-size: var(--al-type-attribution);
  line-height: 1.5;
}
.hero-kicker,.service-number,.hero-action-num,.type-label {
  font-size: var(--al-type-label);
  font-weight: 800;
}
.site-header .header-contact,
.site-header .menu-toggle__label,
.type-nav {
  font-size: var(--al-type-nav);
  font-weight: 800;
  line-height: 1;
}
@media (max-width:760px) {
  :root {
    --al-type-hero: clamp(45px, 11.6vw, 73px);
    --al-type-hero-long: var(--al-type-hero);
    --al-type-section: clamp(43px, 10vw, 70px);
    --al-type-lead: 20px;
    --al-type-body: 20px;
    --al-type-card-heading: 42px;
    --al-type-support: 20px;
    --al-type-card-body: 20px;
    --al-type-hero-description: 20px;
    --al-type-quote: clamp(36px, 8vw, 56px);
    --al-type-attribution: 20px;
    --al-type-label: 8px;
    --al-type-nav: 10px;
  }
  /* Deliberate reusable variant for long, manually broken H1 titles. */
  .hero h1.type-hero--long,.type-hero--long {font-size:var(--al-type-hero-long);}
}
@media (max-width:380px) {
  :root {
    --al-type-hero: 43px;
    --al-type-hero-long: var(--al-type-hero);
    --al-type-section: 43px;
  }
}

/* Ultra-narrow devices: scale both H1 and H2 together so the typographic hierarchy remains correct and the heading clears navigation. */
@media (max-width: 350px) { :root { --al-type-hero: 39px; --al-type-hero-long: 39px; --al-type-section: 39px; } }


/* GLOBAL COPY STANDARD — Approved 12 November 2026
   Every readable body/supporting-copy role is Lato Regular 20px on ALL viewports.
   Applies to prose, lists, descriptions, captions, contact information and form
   entry text. It deliberately does NOT resize hero/section/card headings, CTA
   buttons, decorative labels, numbered markers, navigation, or field labels.
   Global !important is intentional here: legacy page CSS contains stronger
   breakpoint selectors that must not override the approved type system.
*/
:root {
  --al-copy-size: 20px;
  --al-copy-line-height: 1.6;
}
body {
  font-family: var(--al-font-body);
}
body :is(h1, h2, h3, h4, h5, h6,
         .site-header, .mega-menu, .hero-actions, .outline-btn,
         .services-final-link, .services-hero-explore,
         .camps-outline-action, .camps-register-link, .fac-contact-btn,
         .contact-submit, .form-field label, .contact-detail-name,
         .hero-kicker, .eyebrow, .service-number) {
  font-family: var(--al-font-display);
}
/* One rule across all pages, overriding older component/media font-sizes. */
body main p,
body main li,
body .site-footer p,
body main .contact-detail-value,
body main .form-privacy,
body main .form-notice,
body main .form-status,
body main .form-field input,
body main .form-field textarea,
body main .form-field select {
  font-family: var(--al-font-body) !important;
  font-size: var(--al-copy-size) !important;
  font-weight: 400;
  line-height: var(--al-copy-line-height);
}
/* Keep lists and interactive fields comfortable without overriding type size. */
body main :is(.services-feature li, .fac-activities li, .camps-mission-points li) {
  line-height: 1.55;
}
body main .form-field :is(input, textarea, select) {
  width: 100%;
  min-width: 0;
}
