/* ===== tokens.css ===== */
/* Just Ask. — generated from tokens.json */
:root, [data-theme="light"] {
  --navy: #072a59; /* Brand/Navy. Headings and core text; inverse surface; hover and focus. */
  --blue: #2b79b9; /* Brand/Blue. Emphasis and actions: primary button, links on white, accent rules, highlighted words in large type. 4.63:1 on white — text use only on white/page. */
  --sky: #c3ecff; /* Brand/Sky. Graphic accents; highlighted words on navy (11.29:1). Never body text on white. */
  --pale-blue: #e3f1f9; /* Brand/Pale Blue. Quiet surfaces (question panel, quote card, treatment band, footer) and subtle borders. */
  --white: #ffffff; /* Brand/White. Primary canvas and text on navy/blue. */
  --muted-navy: #2b476b; /* Brand/Muted Navy. Secondary text on surface-page (9.48:1) and surface-soft (8.22:1); strong borders; pressed state. On navy it is decorative only — the CTA band's topographic pattern lines (no contrast minimum applies). Never use it for text, icons or meaningful borders on navy (1.4:1); use sky or white there. */
  --clinical-tint: #f5fafd; /* Color/Clinical Tint. Statistic card ground. */
  --text-default: var(--navy); /* Text/Default. Headings and body on page, soft, accent and statistic surfaces (14.15:1 on white). */
  --text-muted: var(--muted-navy); /* Text/Muted. Secondary text, captions on page and soft surfaces (8.22:1 on pale-blue). */
  --text-inverse: var(--white); /* Text/Inverse. Text on surface-inverse and on action fills. */
  --text-link: var(--blue); /* Text/Link. Inline and action links on surface-page (4.63:1). Also used for large highlighted words (24px+ ExtraBold) inside the clinical question panel. For small links on surface-soft or surface-accent, use text-link-on-soft instead. */
  --text-link-hover: var(--navy); /* Text/Link-Hover. Link hover and pressed on light surfaces. */
  --text-link-on-soft: var(--navy); /* Added (not a Figma variable): links on surface-soft and surface-accent, e.g. footer and resource cards. Replaces blue there to pass AA (approved by Jerry). */
  --text-link-on-tint: #22679f; /* Link blue for text on clinical-tint cards and white (5.69:1 on tint, 5.99:1 on white); blue #2b79b9 is 4.40:1 on the tint. InfoCard footer links, Quick Guide label text. */
  --text-on-action: var(--white); /* Text/On-Action. Button label on action-primary-* fills (4.63:1 on default). */
  --surface-page: var(--white); /* Surface/Page. Default canvas. */
  --surface-soft: var(--pale-blue); /* Surface/Soft. Question panel, quote card, treatment band, footer, resource card. */
  --surface-accent: var(--sky); /* Surface/Accent. Graphic fields only; no small text other than navy. */
  --surface-inverse: var(--navy); /* Surface/Inverse. Closing CTA band. */
  --surface-statistic: var(--clinical-tint); /* Surface/Statistic. Statistic cards. */
  --border-subtle: var(--pale-blue); /* Border/Subtle. Decorative card borders (statistic card). Not for essential boundaries. */
  --border-strong: var(--muted-navy); /* Border/Strong. Essential boundaries, partner logo tiles. */
  --border-focus: var(--navy); /* Border/Focus. 2px keyboard focus ring on light surfaces (14.15:1). */
  --action-primary-default: var(--blue); /* Action/Primary/Default. Primary button fill. */
  --action-primary-hover: var(--navy); /* Action/Primary/Hover. Primary button hover fill. */
  --action-primary-pressed: var(--muted-navy); /* Action/Primary/Pressed. Primary button pressed fill. */
  --graphic-accent: var(--blue); /* Graphic/Accent. Accent rules, evidence brackets, question bracket, quote marks. */
  --graphic-quiet: var(--sky); /* Graphic/Quiet. Quiet graphic fills; topographic pattern on light grounds. */
  --error: #b42318; /* Added (not a Figma variable): form errors only — error field border (2px), error message text, the "!" mark fill and the error summary title/border. 6.57:1 on white, 6.05:1 on surface-error; white on it 6.57:1. Never decorative, never for emphasis or headings. */
  --surface-error: #fef3f2; /* Added (not a Figma variable): tinted ground of a field in error and of the form error summary. Navy text on it 13.01:1. Form errors only. */
  --tag-quick-guide: var(--blue); /* Format tag: Quick Guide. 4.63:1 with white. White label text (text-inverse) on it. Added (not a Figma variable) for resource format tags; the tag always names the format, so color is never the only cue. Tag set chosen to stay distinguishable under simulated deuteranopia, protanopia and tritanopia. */
  --tag-quick-guide-text: var(--text-link-on-tint); /* Quick Guide format label set as TEXT (resource rows): 5.69:1 on tint, 4.78:1 on sky. */
  --tag-guideline: var(--navy); /* Format tag: Guideline. 14.15:1 with white. White label text (text-inverse) on it. Added (not a Figma variable) for resource format tags; the tag always names the format, so color is never the only cue. Tag set chosen to stay distinguishable under simulated deuteranopia, protanopia and tritanopia. */
  --tag-tool: #7a5c00; /* Format tag: Tool (dark gold). 6.25:1 with white. White label text (text-inverse) on it. Added (not a Figma variable) for resource format tags; the tag always names the format, so color is never the only cue. Tag set chosen to stay distinguishable under simulated deuteranopia, protanopia and tritanopia. */
  --tag-article: #3d4451; /* Format tag: Article (charcoal). 9.79:1 with white. White label text (text-inverse) on it. Added (not a Figma variable) for resource format tags; the tag always names the format, so color is never the only cue. Tag set chosen to stay distinguishable under simulated deuteranopia, protanopia and tritanopia. */
  --tag-video: #8e2f7a; /* Format tag: Video (berry). 7.40:1 with white. White label text (text-inverse) on it. Added (not a Figma variable) for resource format tags; the tag always names the format, so color is never the only cue. Tag set chosen to stay distinguishable under simulated deuteranopia, protanopia and tritanopia. */
  --tag-podcast: #4a4fb0; /* Format tag: Podcast (indigo). 6.92:1 with white. White label text (text-inverse) on it. Added (not a Figma variable) for resource format tags; the tag always names the format, so color is never the only cue. Tag set chosen to stay distinguishable under simulated deuteranopia, protanopia and tritanopia. */
  --link-spanish: #0a6670; /* Added (not a Figma variable): the Spanish PDF link on bilingual resource cards (teal), so color also separates it from the navy English link. 5.79:1 on surface-soft, 6.67:1 on white; lighter than navy (2.1:1) so the pair differs in lightness. Only for that link. */
  --graphic-silhouette: #bfd6e1; /* Asset color, not a Figma variable: the fill baked into the hero silhouette PNGs. Reference only — do not use for text. */
}
:root {
  --space-0: 0px; /* Reset. */
  --space-4: 4px; /* Hairline gaps. */
  --space-8: 8px; /* Tight gaps; rule to heading. */
  --space-12: 12px; /* Small gaps. */
  --space-16: 16px; /* Grid gap (mobile); control vertical padding. */
  --space-24: 24px; /* Within content groups; grid gap (desktop); card padding. */
  --space-32: 32px; /* Within content groups. */
  --space-40: 40px; /* Section padding (mobile); grid margin (tablet). */
  --space-48: 48px; /* Button horizontal padding. */
  --space-64: 64px; /* Large group spacing. */
  --space-80: 80px; /* Section padding and grid margin (desktop). */
  --space-96: 96px; /* Largest section spacing. */
  --radius-none: 0px; /* Radius/None. Square corners: photo fade edges, bands. */
  --radius-sm: 4px; /* Radius/SM. Subtle corners: statistic cards, partner tiles. */
  --radius-md: 8px; /* Radius/MD. Buttons and panels. */
  --radius-portrait: 10px; /* Radius/Portrait. Portrait crops. */
  --radius-media: 20px; /* Radius/Media. Consultation photo, question panel, quote card. */
  --stroke-border: 1px; /* Stroke/Border. Card and tile borders; link underline. */
  --stroke-focus: 2px; /* Stroke/Focus. Focus ring width. */
  --stroke-accent: 3px; /* Stroke/Accent. Accent rules above section headings and evidence brackets. Nov 20: 4 → 3px (lighter accents). */
  --control-min-height: 48px; /* Control/Min-Height. Minimum height of every action target (buttons, links as actions, menu toggle). */
  --tracking-normal: 0px; /* Tracking/Normal. All text except statistics. */
  --tracking-display: -1px; /* Tracking/Display. Figma number variable, read as px. Statistic and Display (evidence) numerals. */
  --accent-rule-width: 112px; /* Measured from frames: the blue accent rule above section headings is 112 × stroke-accent. */
  --hero-rule-width: 100px; /* Measured from frames: the short rule under the hero subtitle is 100 × 3px. */
  --stroke-thin-accent: 2px; /* Thin accent: hero rule, quote card side bar, callout and question brackets, card and stat mini rules. Nov 20: 3 → 2px. */
  --page-width-desktop: 1440px; /* Layout/Page/Width (desktop reference canvas). */
  --content-width-desktop: 1280px; /* Layout/Content/Width (desktop). Max width of the content column. */
  --section-padding-desktop: 80px; /* Section top/bottom padding (desktop). Measured from the homepage frames (80 / 40 / 24); the Figma variable Layout/Section/Padding says 80 / 56 / 40. */
  --prose-max-desktop: 720px; /* Layout/Prose/Max-Width (desktop). Readable line length. */
  --grid-columns-desktop: 12; /* Grid/Columns (desktop). */
  --grid-margin-desktop: 80px; /* Grid/Margin (desktop). Page side gutter. */
  --grid-gap-desktop: 24px; /* Grid/Gap (desktop). Column gutter. */
  --page-width-tablet: 768px; /* Layout/Page/Width (tablet reference canvas). */
  --content-width-tablet: 688px; /* Layout/Content/Width (tablet). Max width of the content column. */
  --section-padding-tablet: 40px; /* Section top/bottom padding (tablet). Measured from the homepage frames (80 / 40 / 24); the Figma variable Layout/Section/Padding says 80 / 56 / 40. */
  --prose-max-tablet: 640px; /* Layout/Prose/Max-Width (tablet). Readable line length. */
  --grid-columns-tablet: 8; /* Grid/Columns (tablet). */
  --grid-margin-tablet: 40px; /* Grid/Margin (tablet). Page side gutter. */
  --grid-gap-tablet: 20px; /* Grid/Gap (tablet). Column gutter. */
  --page-width-mobile: 375px; /* Layout/Page/Width (mobile reference canvas). */
  --content-width-mobile: 327px; /* Layout/Content/Width (mobile). Max width of the content column. */
  --section-padding-mobile: 48px; /* Section top/bottom padding (mobile). Measured from the homepage frames (80 / 40 / 24); the Figma variable Layout/Section/Padding says 80 / 56 / 40. Nov 20: 24 → 48px so sections don’t run into each other on phones (fluid 48 → 80). */
  --prose-max-mobile: 327px; /* Layout/Prose/Max-Width (mobile). Readable line length. */
  --grid-columns-mobile: 4; /* Grid/Columns (mobile). */
  --grid-margin-mobile: 24px; /* Grid/Margin (mobile). Page side gutter. */
  --grid-gap-mobile: 16px; /* Grid/Gap (mobile). Column gutter. */
  --fluid-min-width: 375px; /* Start of the fluid range. At and below this width, fluid type and spacing sit at their *-mobile values. */
  --fluid-max-width: 1440px; /* End of the fluid range. At and above this width, fluid type and spacing sit at their *-desktop values and stop growing. */
  --breakpoint-tablet: 768px; /* Guideline check width (the 768 reference canvas). Not a layout switch: layouts are fluid. Use a media query only where something breaks. */
  --breakpoint-desktop: 1024px; /* SiteHeader only: full navigation from 1024px, Menu toggle below (the four links must not wrap). Not a general layout switch. */
  --display-size-desktop: 96px; /* display size, desktop. */
  --display-lh-desktop: 100px; /* display line height, desktop. */
  --h1-size-desktop: 64px; /* h1 size, desktop. */
  --h1-lh-desktop: 72px; /* h1 line height, desktop. */
  --h2-size-desktop: 40px; /* h2 size, desktop. */
  --h2-lh-desktop: 48px; /* h2 line height, desktop. */
  --h3-size-desktop: 26px; /* h3 size, desktop. */
  --h3-lh-desktop: 34px; /* h3 line height, desktop. */
  --question-size-desktop: 32px; /* question size, desktop. */
  --question-lh-desktop: 44px; /* question line height, desktop. */
  --statement-size-desktop: 44px; /* statement size, desktop. */
  --statement-lh-desktop: 56px; /* statement line height, desktop. */
  --body-size-desktop: 18px; /* body size, desktop. */
  --body-lh-desktop: 28px; /* body line height, desktop. */
  --small-size-desktop: 14px; /* small size, desktop. */
  --small-lh-desktop: 22px; /* small line height, desktop. */
  --label-size-desktop: 16px; /* label size, desktop. */
  --label-lh-desktop: 24px; /* label line height, desktop. */
  --link-size-desktop: 18px; /* link size, desktop. */
  --link-lh-desktop: 28px; /* link line height, desktop. */
  --evidence-qualifier-size-desktop: 22px; /* evidence-qualifier size, desktop. */
  --evidence-qualifier-lh-desktop: 32px; /* evidence-qualifier line height, desktop. */
  --statistic-size-desktop: 80px; /* statistic size, desktop. */
  --statistic-lh-desktop: 96px; /* statistic line height, desktop. */
  --quotation-size-desktop: 34px; /* quotation size, desktop. */
  --quotation-lh-desktop: 44px; /* quotation line height, desktop. */
  --cta-size-desktop: 56px; /* cta size, desktop. */
  --cta-lh-desktop: 68px; /* cta line height, desktop. */
  --hero-lead-in-size-desktop: 36px; /* hero-lead-in size, desktop. */
  --hero-lead-in-lh-desktop: 44px; /* hero-lead-in line height, desktop. */
  --hero-highlight-size-desktop: 100px; /* hero-highlight size, desktop. */
  --hero-highlight-lh-desktop: 112px; /* hero-highlight line height, desktop. */
  --hero-continuation-size-desktop: 44px; /* hero-continuation size, desktop. */
  --hero-continuation-lh-desktop: 56px; /* hero-continuation line height, desktop. */
  --hero-subtitle-size-desktop: 20px; /* hero-subtitle size, desktop. */
  --hero-subtitle-lh-desktop: 32px; /* hero-subtitle line height, desktop. */
  --endnote-size-desktop: 10px; /* endnote size, desktop. */
  --endnote-lh-desktop: 10px; /* endnote line height, desktop. */
  --display-size-tablet: 72px; /* display size, tablet. */
  --display-lh-tablet: 76px; /* display line height, tablet. */
  --h1-size-tablet: 48px; /* h1 size, tablet. */
  --h1-lh-tablet: 56px; /* h1 line height, tablet. */
  --h2-size-tablet: 36px; /* h2 size, tablet. */
  --h2-lh-tablet: 44px; /* h2 line height, tablet. */
  --h3-size-tablet: 24px; /* h3 size, tablet. */
  --h3-lh-tablet: 32px; /* h3 line height, tablet. */
  --question-size-tablet: 28px; /* question size, tablet. */
  --question-lh-tablet: 38px; /* question line height, tablet. */
  --statement-size-tablet: 34px; /* statement size, tablet. */
  --statement-lh-tablet: 46px; /* statement line height, tablet. */
  --body-size-tablet: 18px; /* body size, tablet. */
  --body-lh-tablet: 28px; /* body line height, tablet. */
  --small-size-tablet: 14px; /* small size, tablet. */
  --small-lh-tablet: 22px; /* small line height, tablet. */
  --label-size-tablet: 16px; /* label size, tablet. */
  --label-lh-tablet: 24px; /* label line height, tablet. */
  --link-size-tablet: 18px; /* link size, tablet. */
  --link-lh-tablet: 28px; /* link line height, tablet. */
  --evidence-qualifier-size-tablet: 20px; /* evidence-qualifier size, tablet. */
  --evidence-qualifier-lh-tablet: 30px; /* evidence-qualifier line height, tablet. */
  --statistic-size-tablet: 64px; /* statistic size, tablet. */
  --statistic-lh-tablet: 76px; /* statistic line height, tablet. */
  --quotation-size-tablet: 28px; /* quotation size, tablet. */
  --quotation-lh-tablet: 40px; /* quotation line height, tablet. */
  --cta-size-tablet: 44px; /* cta size, tablet. */
  --cta-lh-tablet: 56px; /* cta line height, tablet. */
  --hero-lead-in-size-tablet: 28px; /* hero-lead-in size, tablet. */
  --hero-lead-in-lh-tablet: 36px; /* hero-lead-in line height, tablet. */
  --hero-highlight-size-tablet: 76px; /* hero-highlight size, tablet. */
  --hero-highlight-lh-tablet: 88px; /* hero-highlight line height, tablet. */
  --hero-continuation-size-tablet: 36px; /* hero-continuation size, tablet. */
  --hero-continuation-lh-tablet: 46px; /* hero-continuation line height, tablet. */
  --hero-subtitle-size-tablet: 18px; /* hero-subtitle size, tablet. */
  --hero-subtitle-lh-tablet: 28px; /* hero-subtitle line height, tablet. */
  --endnote-size-tablet: 10px; /* endnote size, tablet. */
  --endnote-lh-tablet: 10px; /* endnote line height, tablet. */
  --display-size-mobile: 48px; /* display size, mobile. */
  --display-lh-mobile: 52px; /* display line height, mobile. */
  --h1-size-mobile: 36px; /* h1 size, mobile. */
  --h1-lh-mobile: 44px; /* h1 line height, mobile. */
  --h2-size-mobile: 28px; /* h2 size, mobile. */
  --h2-lh-mobile: 36px; /* h2 line height, mobile. */
  --h3-size-mobile: 22px; /* h3 size, mobile. */
  --h3-lh-mobile: 30px; /* h3 line height, mobile. */
  --question-size-mobile: 24px; /* question size, mobile. */
  --question-lh-mobile: 34px; /* question line height, mobile. */
  --statement-size-mobile: 28px; /* statement size, mobile. */
  --statement-lh-mobile: 38px; /* statement line height, mobile. */
  --body-size-mobile: 18px; /* body size, mobile. */
  --body-lh-mobile: 28px; /* body line height, mobile. */
  --small-size-mobile: 14px; /* small size, mobile. */
  --small-lh-mobile: 22px; /* small line height, mobile. */
  --label-size-mobile: 16px; /* label size, mobile. */
  --label-lh-mobile: 24px; /* label line height, mobile. */
  --link-size-mobile: 18px; /* link size, mobile. */
  --link-lh-mobile: 28px; /* link line height, mobile. */
  --evidence-qualifier-size-mobile: 18px; /* evidence-qualifier size, mobile. */
  --evidence-qualifier-lh-mobile: 28px; /* evidence-qualifier line height, mobile. */
  --statistic-size-mobile: 48px; /* statistic size, mobile. */
  --statistic-lh-mobile: 56px; /* statistic line height, mobile. */
  --quotation-size-mobile: 24px; /* quotation size, mobile. */
  --quotation-lh-mobile: 34px; /* quotation line height, mobile. */
  --cta-size-mobile: 32px; /* cta size, mobile. */
  --cta-lh-mobile: 42px; /* cta line height, mobile. */
  --hero-lead-in-size-mobile: 24px; /* hero-lead-in size, mobile. */
  --hero-lead-in-lh-mobile: 32px; /* hero-lead-in line height, mobile. */
  --hero-highlight-size-mobile: 58px; /* hero-highlight size, mobile. */
  --hero-highlight-lh-mobile: 68px; /* hero-highlight line height, mobile. */
  --hero-continuation-size-mobile: 30px; /* hero-continuation size, mobile. */
  --hero-continuation-lh-mobile: 40px; /* hero-continuation line height, mobile. */
  --hero-subtitle-size-mobile: 18px; /* hero-subtitle size, mobile. */
  --hero-subtitle-lh-mobile: 28px; /* hero-subtitle line height, mobile. */
  --endnote-size-mobile: 10px; /* endnote size, mobile. */
  --endnote-lh-mobile: 10px; /* endnote line height, mobile. */
  --font-sans: Montserrat, "Helvetica Neue", Arial, sans-serif;
  --text-display: 700 96px/100px var(--font-sans); /* Type/Display. Evidence statistic inside the bracket (57–64%). Blue. */
  --text-h1: 800 64px/72px var(--font-sans); /* Type/H1. Interior page titles. */
  --text-h2: 800 40px/48px var(--font-sans); /* Type/H2. Every section heading; starts a new section. */
  --text-h3: 800 26px/34px var(--font-sans); /* Type/H3. Card and subsection titles. */
  --text-question: 700 32px/44px var(--font-sans); /* Type/Question. The clinical question in compact panels. */
  --text-statement: 800 44px/56px var(--font-sans); /* Type/Statement. The clinical question callout on the homepage; key words in blue. */
  --text-body: 400 18px/28px var(--font-sans); /* Type/Body. All paragraphs; constant across modes. */
  --text-small: 400 14px/22px var(--font-sans); /* Type/Small. References, captions, logo-tile labels, legal. */
  --text-label: 600 16px/24px var(--font-sans); /* Type/Label. Navigation, eyebrows, button labels, quote attribution. */
  --text-evidence-qualifier: 700 22px/32px var(--font-sans); /* Type/Evidence-Qualifier. Sentence under the evidence statistic. */
  --text-statistic: 700 80px/96px var(--font-sans); /* Type/Statistic. Statistic card value. Blue. */
  --text-quotation: 800 34px/44px var(--font-sans); /* Type/Quotation. Clinician quote text. */
  --text-cta: 800 56px/68px var(--font-sans); /* Type/CTA. Closing campaign line on navy; lead words in sky. */
  --text-hero-lead-in: 800 36px/44px var(--font-sans); /* Type/Hero Lead-in. 'More than'. */
  --text-hero-highlight: 800 100px/112px var(--font-sans); /* Hero number '40 million', blue. Hero-specific: tablet 76/88 and mobile 58/68 are measured from the homepage frames and override the Figma variable (56/68, 52/64). */
  --text-hero-continuation: 800 44px/56px var(--font-sans); /* Type/Hero Continuation. 'Americans live with migraine'. Hero-specific: tablet 36/46 is measured from the frames (variable says 32/42). */
  --text-hero-subtitle: 600 20px/32px var(--font-sans); /* Hero care-gap subtitle. Hero-specific, measured from frames (no Figma variable). '1 in 3' set in ExtraBold. */
  --text-endnote: 500 10px/10px var(--font-sans); /* Endnote marker (superscript reference number). One fixed size everywhere, independent of the surrounding text, as in the frames. */
  --text-small-italic: italic 500 14px/22px var(--font-sans); /* 'Led by:' attribution in the hero. Medium italic, measured from frames. */
  --text-display-tablet: 700 72px/76px var(--font-sans); /* Type/Display. Evidence statistic inside the bracket (57–64%). Blue. */
  --text-h1-tablet: 800 48px/56px var(--font-sans); /* Type/H1. Interior page titles. */
  --text-h2-tablet: 800 36px/44px var(--font-sans); /* Type/H2. Every section heading; starts a new section. */
  --text-h3-tablet: 800 24px/32px var(--font-sans); /* Type/H3. Card and subsection titles. */
  --text-question-tablet: 700 28px/38px var(--font-sans); /* Type/Question. The clinical question in compact panels. */
  --text-statement-tablet: 800 34px/46px var(--font-sans); /* Type/Statement. The clinical question callout on the homepage; key words in blue. */
  --text-body-tablet: 400 18px/28px var(--font-sans); /* Type/Body. All paragraphs; constant across modes. */
  --text-small-tablet: 400 14px/22px var(--font-sans); /* Type/Small. References, captions, logo-tile labels, legal. */
  --text-label-tablet: 600 16px/24px var(--font-sans); /* Type/Label. Navigation, eyebrows, button labels, quote attribution. */
  --text-link-tablet: 600 18px/28px var(--font-sans); /* Body-size action link (See the Question →). Measured SemiBold from frames. */
  --text-evidence-qualifier-tablet: 700 20px/30px var(--font-sans); /* Type/Evidence-Qualifier. Sentence under the evidence statistic. */
  --text-statistic-tablet: 700 64px/76px var(--font-sans); /* Type/Statistic. Statistic card value. Blue. */
  --text-quotation-tablet: 800 28px/40px var(--font-sans); /* Type/Quotation. Clinician quote text. */
  --text-cta-tablet: 800 44px/56px var(--font-sans); /* Type/CTA. Closing campaign line on navy; lead words in sky. */
  --text-hero-lead-in-tablet: 800 28px/36px var(--font-sans); /* Type/Hero Lead-in. 'More than'. */
  --text-hero-highlight-tablet: 800 76px/88px var(--font-sans); /* Hero number '40 million', blue. Hero-specific: tablet 76/88 and mobile 58/68 are measured from the homepage frames and override the Figma variable (56/68, 52/64). */
  --text-hero-continuation-tablet: 800 36px/46px var(--font-sans); /* Type/Hero Continuation. 'Americans live with migraine'. Hero-specific: tablet 36/46 is measured from the frames (variable says 32/42). */
  --text-hero-subtitle-tablet: 600 18px/28px var(--font-sans); /* Hero care-gap subtitle. Hero-specific, measured from frames (no Figma variable). '1 in 3' set in ExtraBold. */
  --text-endnote-tablet: 500 10px/10px var(--font-sans); /* Endnote marker (superscript reference number). One fixed size everywhere, independent of the surrounding text, as in the frames. */
  --text-display-mobile: 700 48px/52px var(--font-sans); /* Type/Display. Evidence statistic inside the bracket (57–64%). Blue. */
  --text-h1-mobile: 800 36px/44px var(--font-sans); /* Type/H1. Interior page titles. */
  --text-h2-mobile: 800 28px/36px var(--font-sans); /* Type/H2. Every section heading; starts a new section. */
  --text-h3-mobile: 800 22px/30px var(--font-sans); /* Type/H3. Card and subsection titles. */
  --text-question-mobile: 700 24px/34px var(--font-sans); /* Type/Question. The clinical question in compact panels. */
  --text-statement-mobile: 800 28px/38px var(--font-sans); /* Type/Statement. The clinical question callout on the homepage; key words in blue. */
  --text-body-mobile: 400 18px/28px var(--font-sans); /* Type/Body. All paragraphs; constant across modes. */
  --text-small-mobile: 400 14px/22px var(--font-sans); /* Type/Small. References, captions, logo-tile labels, legal. */
  --text-label-mobile: 600 16px/24px var(--font-sans); /* Type/Label. Navigation, eyebrows, button labels, quote attribution. */
  --text-link-mobile: 600 18px/28px var(--font-sans); /* Body-size action link (See the Question →). Measured SemiBold from frames. */
  --text-evidence-qualifier-mobile: 700 18px/28px var(--font-sans); /* Type/Evidence-Qualifier. Sentence under the evidence statistic. */
  --text-statistic-mobile: 700 48px/56px var(--font-sans); /* Type/Statistic. Statistic card value. Blue. */
  --text-quotation-mobile: 800 24px/34px var(--font-sans); /* Type/Quotation. Clinician quote text. */
  --text-cta-mobile: 800 32px/42px var(--font-sans); /* Type/CTA. Closing campaign line on navy; lead words in sky. */
  --text-hero-lead-in-mobile: 800 24px/32px var(--font-sans); /* Type/Hero Lead-in. 'More than'. */
  --text-hero-highlight-mobile: 800 58px/68px var(--font-sans); /* Hero number '40 million', blue. Hero-specific: tablet 76/88 and mobile 58/68 are measured from the homepage frames and override the Figma variable (56/68, 52/64). */
  --text-hero-continuation-mobile: 800 30px/40px var(--font-sans); /* Type/Hero Continuation. 'Americans live with migraine'. Hero-specific: tablet 36/46 is measured from the frames (variable says 32/42). */
  --text-hero-subtitle-mobile: 600 18px/28px var(--font-sans); /* Hero care-gap subtitle. Hero-specific, measured from frames (no Figma variable). '1 in 3' set in ExtraBold. */
  --text-endnote-mobile: 500 10px/10px var(--font-sans); /* Endnote marker (superscript reference number). One fixed size everywhere, independent of the surrounding text, as in the frames. */
}
.display {
  font-family: var(--font-sans);
  font-size: 96px;
  line-height: 100px;
  font-weight: 700;
  letter-spacing: -1px;
}
.h1 {
  font-family: var(--font-sans);
  font-size: 64px;
  line-height: 72px;
  font-weight: 800;
  letter-spacing: 0px;
}
.h2 {
  font-family: var(--font-sans);
  font-size: 40px;
  line-height: 48px;
  font-weight: 800;
  letter-spacing: 0px;
}
.h3 {
  font-family: var(--font-sans);
  font-size: 26px;
  line-height: 34px;
  font-weight: 800;
  letter-spacing: 0px;
}
.question {
  font-family: var(--font-sans);
  font-size: 32px;
  line-height: 44px;
  font-weight: 700;
  letter-spacing: 0px;
}
.statement {
  font-family: var(--font-sans);
  font-size: 44px;
  line-height: 56px;
  font-weight: 800;
  letter-spacing: 0px;
}
.body {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
  letter-spacing: 0px;
}
.small {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 22px;
  font-weight: 400;
  letter-spacing: 0px;
}
.label {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  letter-spacing: 0px;
}
.link {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
  letter-spacing: 0px;
}
.evidence-qualifier {
  font-family: var(--font-sans);
  font-size: 22px;
  line-height: 32px;
  font-weight: 700;
  letter-spacing: 0px;
}
.statistic {
  font-family: var(--font-sans);
  font-size: 80px;
  line-height: 96px;
  font-weight: 700;
  letter-spacing: -1px;
}
.quotation {
  font-family: var(--font-sans);
  font-size: 34px;
  line-height: 44px;
  font-weight: 800;
  letter-spacing: 0px;
}
.cta {
  font-family: var(--font-sans);
  font-size: 56px;
  line-height: 68px;
  font-weight: 800;
  letter-spacing: 0px;
}
.hero-lead-in {
  font-family: var(--font-sans);
  font-size: 36px;
  line-height: 44px;
  font-weight: 800;
  letter-spacing: 0px;
}
.hero-highlight {
  font-family: var(--font-sans);
  font-size: 100px;
  line-height: 112px;
  font-weight: 800;
  letter-spacing: 0px;
}
.hero-continuation {
  font-family: var(--font-sans);
  font-size: 44px;
  line-height: 56px;
  font-weight: 800;
  letter-spacing: 0px;
}
.hero-subtitle {
  font-family: var(--font-sans);
  font-size: 20px;
  line-height: 32px;
  font-weight: 600;
  letter-spacing: 0px;
}
.endnote {
  font-family: var(--font-sans);
  font-size: 10px;
  line-height: 10px;
  font-weight: 500;
  letter-spacing: 0px;
}
.small-italic {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 22px;
  font-weight: 500;
  letter-spacing: 0;
  font-style: italic;
}
.display-tablet {
  font-family: var(--font-sans);
  font-size: 72px;
  line-height: 76px;
  font-weight: 700;
  letter-spacing: -1px;
}
.h1-tablet {
  font-family: var(--font-sans);
  font-size: 48px;
  line-height: 56px;
  font-weight: 800;
  letter-spacing: 0px;
}
.h2-tablet {
  font-family: var(--font-sans);
  font-size: 36px;
  line-height: 44px;
  font-weight: 800;
  letter-spacing: 0px;
}
.h3-tablet {
  font-family: var(--font-sans);
  font-size: 24px;
  line-height: 32px;
  font-weight: 800;
  letter-spacing: 0px;
}
.question-tablet {
  font-family: var(--font-sans);
  font-size: 28px;
  line-height: 38px;
  font-weight: 700;
  letter-spacing: 0px;
}
.statement-tablet {
  font-family: var(--font-sans);
  font-size: 34px;
  line-height: 46px;
  font-weight: 800;
  letter-spacing: 0px;
}
.body-tablet {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
  letter-spacing: 0px;
}
.small-tablet {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 22px;
  font-weight: 400;
  letter-spacing: 0px;
}
.label-tablet {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  letter-spacing: 0px;
}
.link-tablet {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
  letter-spacing: 0px;
}
.evidence-qualifier-tablet {
  font-family: var(--font-sans);
  font-size: 20px;
  line-height: 30px;
  font-weight: 700;
  letter-spacing: 0px;
}
.statistic-tablet {
  font-family: var(--font-sans);
  font-size: 64px;
  line-height: 76px;
  font-weight: 700;
  letter-spacing: -1px;
}
.quotation-tablet {
  font-family: var(--font-sans);
  font-size: 28px;
  line-height: 40px;
  font-weight: 800;
  letter-spacing: 0px;
}
.cta-tablet {
  font-family: var(--font-sans);
  font-size: 44px;
  line-height: 56px;
  font-weight: 800;
  letter-spacing: 0px;
}
.hero-lead-in-tablet {
  font-family: var(--font-sans);
  font-size: 28px;
  line-height: 36px;
  font-weight: 800;
  letter-spacing: 0px;
}
.hero-highlight-tablet {
  font-family: var(--font-sans);
  font-size: 76px;
  line-height: 88px;
  font-weight: 800;
  letter-spacing: 0px;
}
.hero-continuation-tablet {
  font-family: var(--font-sans);
  font-size: 36px;
  line-height: 46px;
  font-weight: 800;
  letter-spacing: 0px;
}
.hero-subtitle-tablet {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
  letter-spacing: 0px;
}
.endnote-tablet {
  font-family: var(--font-sans);
  font-size: 10px;
  line-height: 10px;
  font-weight: 500;
  letter-spacing: 0px;
}
.display-mobile {
  font-family: var(--font-sans);
  font-size: 48px;
  line-height: 52px;
  font-weight: 700;
  letter-spacing: -1px;
}
.h1-mobile {
  font-family: var(--font-sans);
  font-size: 36px;
  line-height: 44px;
  font-weight: 800;
  letter-spacing: 0px;
}
.h2-mobile {
  font-family: var(--font-sans);
  font-size: 28px;
  line-height: 36px;
  font-weight: 800;
  letter-spacing: 0px;
}
.h3-mobile {
  font-family: var(--font-sans);
  font-size: 22px;
  line-height: 30px;
  font-weight: 800;
  letter-spacing: 0px;
}
.question-mobile {
  font-family: var(--font-sans);
  font-size: 24px;
  line-height: 34px;
  font-weight: 700;
  letter-spacing: 0px;
}
.statement-mobile {
  font-family: var(--font-sans);
  font-size: 28px;
  line-height: 38px;
  font-weight: 800;
  letter-spacing: 0px;
}
.body-mobile {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
  letter-spacing: 0px;
}
.small-mobile {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 22px;
  font-weight: 400;
  letter-spacing: 0px;
}
.label-mobile {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  letter-spacing: 0px;
}
.link-mobile {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
  letter-spacing: 0px;
}
.evidence-qualifier-mobile {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 28px;
  font-weight: 700;
  letter-spacing: 0px;
}
.statistic-mobile {
  font-family: var(--font-sans);
  font-size: 48px;
  line-height: 56px;
  font-weight: 700;
  letter-spacing: -1px;
}
.quotation-mobile {
  font-family: var(--font-sans);
  font-size: 24px;
  line-height: 34px;
  font-weight: 800;
  letter-spacing: 0px;
}
.cta-mobile {
  font-family: var(--font-sans);
  font-size: 32px;
  line-height: 42px;
  font-weight: 800;
  letter-spacing: 0px;
}
.hero-lead-in-mobile {
  font-family: var(--font-sans);
  font-size: 24px;
  line-height: 32px;
  font-weight: 800;
  letter-spacing: 0px;
}
.hero-highlight-mobile {
  font-family: var(--font-sans);
  font-size: 58px;
  line-height: 68px;
  font-weight: 800;
  letter-spacing: 0px;
}
.hero-continuation-mobile {
  font-family: var(--font-sans);
  font-size: 30px;
  line-height: 40px;
  font-weight: 800;
  letter-spacing: 0px;
}
.hero-subtitle-mobile {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
  letter-spacing: 0px;
}
.endnote-mobile {
  font-family: var(--font-sans);
  font-size: 10px;
  line-height: 10px;
  font-weight: 500;
  letter-spacing: 0px;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-800-normal.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-500-italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}


/* ===== components/bundle.css ===== */
/* Just Ask. — FOUNDATIONS stylesheet (loaded on every page and preview).
   Holds: fluid variables (clamp), base, fluid type classes, endnote + arrow, shared pieces (rule, highlight, prose, pattern).
   Each component's own CSS lives in components/<Component>/style.css — see system-map.md.
   Original note: Every value comes from tokens.css (var(--…)).
   Plain HTML/CSS classes (prefix ja-) so each component maps 1:1 to a WordPress/ACF block.
   FLUID (Nov 20, 2026): type, gutters and section padding scale continuously from 375 to 1440 with clamp(),
   using the mobile and desktop tokens as the min / max guardrails. Tablet tokens are a check, not a target.
   No breakpoint-driven layout here. Components add a media query only where something breaks (see README). */

:root {
  --ja-duration-hover: 250ms;          /* hover/press transitions (Jerry's standard) */
  --ja-duration-fade: 800ms;           /* hero: face → silhouette (silhouette fades in) */
  --ja-duration-silhouette-out: 1600ms; /* hero: silhouette → face (silhouette fades out, slower) */
  --ja-grid-interval: 2000;            /* ms between hero face-grid swaps (read by bundle.js) */
  --ja-ease: ease;

  /* ---------- Fluid values (375 → 1440) ----------
     clamp(min, intercept + slope·vw, max): min = the *-mobile token at 375px, max = the *-desktop token at 1440px,
     straight line between. Values stop growing above 1440. Type is in rem so it follows the reader's font-size setting
     (1rem = 16px by default, so the numbers match the px tokens). To regenerate: slope = (max − min) / 1065,
     intercept = min − slope × 375. Static styles (body, small, label, link, endnote) don't change by width. */
  --ja-fluid-min: 375px;   /* fluid-min-width */
  --ja-fluid-max: 1440px;  /* fluid-max-width */

  /* layout */
  --ja-margin: clamp(24px, 4.2817px + 5.2582vw, 80px);
  --ja-gap: clamp(16px, 13.1831px + 0.7512vw, 24px);
  --ja-section: clamp(48px, 36.7324px + 3.0047vw, 80px);   /* Nov 20: section-padding-mobile 24 → 48 (sections ran into each other on phones); still 80 at 1440 */
  --ja-content: var(--content-width-desktop);   /* content column max; the container is 100% below it */
  --ja-prose: var(--prose-max-desktop);         /* readable measure; narrower containers cap it naturally */

  /* type (size / line height) */
  --ja-display-size: clamp(3rem, 1.9437rem + 4.5070vw, 6rem);
  --ja-display-lh: clamp(3.25rem, 2.1937rem + 4.5070vw, 6.25rem);
  --ja-h1-size: clamp(2.25rem, 1.6338rem + 2.6291vw, 4rem);
  --ja-h1-lh: clamp(2.75rem, 2.1338rem + 2.6291vw, 4.5rem);
  --ja-h2-size: clamp(1.75rem, 1.4859rem + 1.1268vw, 2.5rem);
  --ja-h2-lh: clamp(2.25rem, 1.9859rem + 1.1268vw, 3rem);
  --ja-h3-size: clamp(1.375rem, 1.2870rem + 0.3756vw, 1.625rem);
  --ja-h3-lh: clamp(1.875rem, 1.7870rem + 0.3756vw, 2.125rem);
  --ja-question-size: clamp(1.5rem, 1.3239rem + 0.7512vw, 2rem);
  --ja-question-lh: clamp(2.125rem, 1.9049rem + 0.9390vw, 2.75rem);
  --ja-statement-size: clamp(1.75rem, 1.3979rem + 1.5023vw, 2.75rem);
  --ja-statement-lh: clamp(2.375rem, 1.9789rem + 1.6901vw, 3.5rem);
  --ja-evidence-qualifier-size: clamp(1.125rem, 1.0370rem + 0.3756vw, 1.375rem);
  --ja-evidence-qualifier-lh: clamp(1.75rem, 1.6620rem + 0.3756vw, 2rem);
  --ja-statistic-size: clamp(3rem, 2.2958rem + 3.0047vw, 5rem);
  --ja-statistic-lh: clamp(3.5rem, 2.6197rem + 3.7559vw, 6rem);
  --ja-quotation-size: clamp(1.5rem, 1.2799rem + 0.9390vw, 2.125rem);
  --ja-quotation-lh: clamp(2.125rem, 1.9049rem + 0.9390vw, 2.75rem);
  --ja-cta-size: clamp(2rem, 1.4718rem + 2.2535vw, 3.5rem);
  --ja-cta-lh: clamp(2.625rem, 2.0528rem + 2.4413vw, 4.25rem);
  --ja-hero-lead-in-size: clamp(1.5rem, 1.2359rem + 1.1268vw, 2.25rem);
  --ja-hero-lead-in-lh: clamp(2rem, 1.7359rem + 1.1268vw, 2.75rem);
  --ja-hero-highlight-size: clamp(3.625rem, 2.7007rem + 3.9437vw, 6.25rem);
  --ja-hero-highlight-lh: clamp(4.25rem, 3.2817rem + 4.1315vw, 7rem);
  --ja-hero-continuation-size: clamp(1.875rem, 1.5669rem + 1.3146vw, 2.75rem);
  --ja-hero-continuation-lh: clamp(2.5rem, 2.1479rem + 1.5023vw, 3.5rem);
  --ja-hero-subtitle-size: clamp(1.125rem, 1.0810rem + 0.1878vw, 1.25rem);
  --ja-hero-subtitle-lh: clamp(1.75rem, 1.6620rem + 0.3756vw, 2rem);
}

/* ---------- Base ---------- */
.ja-root, .ja-root * { box-sizing: border-box; }
.ja-root {
  margin: 0;
  background: var(--surface-page);
  color: var(--text-default);
  font-family: var(--font-sans);
  font-size: var(--body-size-desktop);
  line-height: var(--body-lh-desktop);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
.ja-container {
  width: 100%;
  max-width: calc(var(--ja-content) + 2 * var(--ja-margin));
  margin-inline: auto;
  padding-inline: var(--ja-margin);
}
.ja-section { padding-block: var(--ja-section); }
.ja-visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Fluid type (one class per style; sizes scale with the viewport, no breakpoints) ---------- */
.ja-display, .ja-h1, .ja-h2, .ja-h3, .ja-question, .ja-statement, .ja-body, .ja-small,
.ja-label, .ja-evidence-qualifier, .ja-statistic, .ja-quotation, .ja-cta-text,
.ja-hero-lead-in, .ja-hero-highlight, .ja-hero-continuation, .ja-hero-subtitle {
  font-family: var(--font-sans);
  margin: 0;
}
.ja-display { font-weight: 700; letter-spacing: var(--tracking-display); font-size: var(--ja-display-size); line-height: var(--ja-display-lh); }
.ja-h1 { font-weight: 800; font-size: var(--ja-h1-size); line-height: var(--ja-h1-lh); }
.ja-h2 { font-weight: 800; font-size: var(--ja-h2-size); line-height: var(--ja-h2-lh); }
.ja-h3 { font-weight: 800; font-size: var(--ja-h3-size); line-height: var(--ja-h3-lh); }
.ja-question { font-weight: 700; font-size: var(--ja-question-size); line-height: var(--ja-question-lh); }
.ja-statement { font-weight: 800; font-size: var(--ja-statement-size); line-height: var(--ja-statement-lh); }
.ja-body { font-weight: 400; font-size: var(--body-size-desktop); line-height: var(--body-lh-desktop); }
.ja-small { font-weight: 400; font-size: var(--small-size-desktop); line-height: var(--small-lh-desktop); }
.ja-label { font-weight: 600; font-size: var(--label-size-desktop); line-height: var(--label-lh-desktop); }
.ja-evidence-qualifier { font-weight: 700; font-size: var(--ja-evidence-qualifier-size); line-height: var(--ja-evidence-qualifier-lh); }
.ja-statistic { font-weight: 700; letter-spacing: var(--tracking-display); font-size: var(--ja-statistic-size); line-height: var(--ja-statistic-lh); }
.ja-quotation { font-weight: 800; font-size: var(--ja-quotation-size); line-height: var(--ja-quotation-lh); }
.ja-cta-text { font-weight: 800; font-size: var(--ja-cta-size); line-height: var(--ja-cta-lh); }
.ja-hero-lead-in { font-weight: 800; font-size: var(--ja-hero-lead-in-size); line-height: var(--ja-hero-lead-in-lh); }
.ja-hero-highlight { font-weight: 800; font-size: var(--ja-hero-highlight-size); line-height: var(--ja-hero-highlight-lh); }
.ja-hero-continuation { font-weight: 800; font-size: var(--ja-hero-continuation-size); line-height: var(--ja-hero-continuation-lh); }
.ja-hero-subtitle { font-weight: 600; font-size: var(--ja-hero-subtitle-size); line-height: var(--ja-hero-subtitle-lh); }

/* Endnote / reference marker. One fixed size everywhere (endnote token, 10px Medium), raised 5px,
   regardless of the text it follows — as in the frames, where every marker is the same small glyph. */
.ja-sup {
  font-size: var(--endnote-size-desktop);
  line-height: 0;
  font-weight: 500;
  vertical-align: 5px;
  letter-spacing: 0;
  margin-left: 1px;
}
.ja-sup a { color: inherit; text-decoration: none; }
.ja-sup a:focus-visible { outline: var(--stroke-focus) solid var(--border-focus); outline-offset: 1px; }

/* Arrow glyph (Montserrat has no U+2192). Geometry copied from the frames' arrow at 18px,
   including its own underline segment so the link underline runs under the arrow as designed. */
.ja-arrow {
  display: inline-block;
  width: 0.6em;
  height: 1.2em;
  vertical-align: -0.15em;
  fill: currentColor;
}

/* =====================================================================
   SECTIONS — measured from the homepage frames (1440 / 768 / 375), which are now guideline checks.
   Fluid between them; media queries only where a layout breaks.
   ===================================================================== */

/* ---------- Shared pieces ---------- */
:where(.ja-root) :where(h1, h2, h3, p, figure, blockquote, ul, ol, figcaption) { margin: 0; }
.ja-rule {                         /* accent rule above a section heading */
  display: block;
  width: var(--accent-rule-width);
  height: var(--stroke-accent);
  background: var(--graphic-accent);
  border: 0;
  margin: 0;
}
.ja-eyebrow { color: var(--blue); }
.ja-rule + .ja-h2 { margin-top: 24px; }
.ja-hl { color: var(--blue); }          /* highlighted words in large type */
.ja-hl--sky { color: var(--sky); }
.ja-prose p { margin: 0; }
.ja-prose p + p { margin-top: var(--space-16); }
.ja-pattern {                       /* topographic texture, recolored by mask */
  position: absolute;
  pointer-events: none;
  background: var(--ja-pattern-ink, var(--graphic-quiet));
  -webkit-mask: var(--ja-pattern-url) center / contain no-repeat;
          mask: var(--ja-pattern-url) center / contain no-repeat;
}

/* =====================================================================
   INTERIOR PAGES (Nov 20, from the interior-page canvas) — shared foundations for the interior blocks.
   ===================================================================== */
/* Container queries: every section's (and page hero's) content box is a size container named ja-content, so an interior
   block switches layout on the width it actually has (54rem = 864px), not the viewport. */
:is(.ja-section, .ja-page-hero) > .ja-container { container: ja-content / inline-size; }

/* Tinted section (ACF "Background": white / tint) — a full-bleed ground for rhythm on long pages: a sky glow from the
   top-right over pale blue, fading to clinical tint so the band eases into the white section below. Navy text passes on
   every stop (lowest: navy on sky, 11.3:1). The flat pale blue is the fallback. Never two tinted sections back to back
   unless they belong together. */
.ja-section--tint { background: var(--surface-soft); }
.ja-section--tint { background:
    radial-gradient(90% 160% at 100% 0%, rgba(195, 236, 255, .85) 0%, rgba(195, 236, 255, 0) 60%),
    linear-gradient(180deg, var(--pale-blue) 0%, var(--clinical-tint) 100%); }
/* On the tint, pale-blue pieces flip to white, and blue links go navy (blue on pale blue is 4.01:1). */
.ja-section--tint .ja-resource, .ja-section--tint .ja-featured, .ja-section--tint .ja-pagenav__next,
.ja-section--tint .ja-bar__track, .ja-section--tint .ja-list-panel { background: var(--surface-page); }
.ja-section--tint .ja-link:not(.ja-link--inverse) { color: var(--text-link-on-soft); }
.ja-section--tint .ja-link:not(.ja-link--inverse):hover { color: var(--text-muted); }

/* Same-ground spacing, INTERIOR PAGES ONLY (the page template adds .ja-interior to <main>; the homepage does not, so its
   spacing is unchanged): two sections on the same ground share one gap instead of stacking both paddings. A ground change
   (white ↔ tint, navy band, photo band) keeps the full padding. Feature sections (ClinicalQuestion, StatisticGrid) and the
   logos-only partner band keep their full top padding. */
.ja-interior .ja-section:not(.ja-section--tint):not(.ja-partners) + .ja-section:not(.ja-section--tint):not(.ja-question):not(.ja-stats),
.ja-interior .ja-section--tint + .ja-section--tint { padding-top: 0; }

/* Small 40 × thin-accent rule (stat card, callouts, InfoCard marker). */
.ja-minirule { display: block; width: 40px; height: var(--stroke-thin-accent); background: var(--graphic-accent); }

/* The last word of a link and its arrow never split across lines: <span class="ja-nowrap">word <svg class="ja-arrow">…</svg></span>. */
.ja-nowrap { white-space: nowrap; }

/* Direction arrow (13 × 24, no underline segment) used in resource rows, card footers and PageNav cards; centred on the
   label's x-height when inline. The ActionLink arrow (with its underline segment) stays the link arrow. */
svg.ja-arrow[viewBox="0 0 13 24"] { vertical-align: -0.3em; }


/* ===== components/Button/style.css ===== */
/* Just Ask. — Button styles. Needs foundations (tokens.css + components/bundle.css). */
/* ---------- Button (06 Action link / button — primary) ---------- */
.ja-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  min-height: var(--control-min-height);
  padding: var(--space-16) var(--space-24);
  border: 0;
  border-radius: var(--radius-md);
  background: var(--action-primary-default);
  color: var(--text-on-action);
  font-family: var(--font-sans);
  font-size: var(--label-size-desktop);
  line-height: var(--label-lh-desktop);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--ja-duration-hover) var(--ja-ease);
  -webkit-tap-highlight-color: transparent;
}
.ja-button:hover, .ja-button.is-hover { background: var(--action-primary-hover); }
.ja-button:active, .ja-button.is-pressed { background: var(--action-primary-pressed); }
.ja-button:focus { outline: none; }
.ja-button:focus-visible, .ja-button.is-focus {
  outline: var(--stroke-focus) solid var(--border-focus);
  outline-offset: 0;
}
/* On navy (.ja-on-inverse, Figma Tone=Inverse) the navy hover and ring would vanish:
   hover fills sky, pressed pale blue, both with a navy label; the ring is white. */
.ja-on-inverse .ja-button:not(.ja-button--secondary) { transition: background-color var(--ja-duration-hover) var(--ja-ease), color var(--ja-duration-hover) var(--ja-ease); }
.ja-on-inverse .ja-button:not(.ja-button--secondary):hover, .ja-on-inverse .ja-button:not(.ja-button--secondary).is-hover { background: var(--sky); color: var(--navy); }
.ja-on-inverse .ja-button:not(.ja-button--secondary):active, .ja-on-inverse .ja-button:not(.ja-button--secondary).is-pressed { background: var(--pale-blue); color: var(--navy); }
.ja-on-inverse .ja-button:focus-visible, .ja-on-inverse .ja-button.is-focus { outline-color: var(--text-inverse); }

/* ---------- Secondary button (Figma "Button / Secondary", Tone=Inverse) ----------
   For the navy CTA band only, next to one primary button. Same size as the primary;
   2px white border drawn inside (box-shadow), so the outer size stays 56 tall. */
.ja-button--secondary {
  background: transparent;
  color: var(--text-inverse);
  box-shadow: inset 0 0 0 2px var(--white);
  transition: background-color var(--ja-duration-hover) var(--ja-ease), box-shadow var(--ja-duration-hover) var(--ja-ease);
}
.ja-button--secondary:hover, .ja-button--secondary.is-hover { background: var(--muted-navy); }
.ja-button--secondary:active, .ja-button--secondary.is-pressed { background: var(--muted-navy); box-shadow: inset 0 0 0 2px var(--sky); }
.ja-on-inverse .ja-button--secondary:focus-visible, .ja-button--secondary.is-focus { outline: var(--stroke-focus) solid var(--text-inverse); outline-offset: 2px; }

/* ---------- Wrapping (Nov 20) ----------
   A long label ("After the Yes: Guidance and Resources", ~340px at 18) wraps instead of overflowing a phone's 327 column.
   Short labels still sit on one line. */
.ja-button { max-width: 100%; white-space: normal; text-align: center; }

/* ---------- Outline button (Nov 20) ----------
   The quieter action for repeated items (ResourceCard actions), where a filled button on every card would shout.
   White fill, 1px blue edge drawn inside, navy label (14.15:1); hover fills blue with a white label (4.63:1); 48 tall. */
.ja-button--outline { min-width: 0; min-height: var(--control-min-height); padding: var(--space-12) 20px;
  background: var(--surface-page); color: var(--text-default); box-shadow: inset 0 0 0 var(--stroke-border) var(--graphic-accent); }
.ja-button--outline:hover, .ja-button--outline.is-hover { background: var(--action-primary-default); color: var(--text-on-action); }
.ja-button--outline:active, .ja-button--outline.is-pressed { background: var(--action-primary-hover); color: var(--text-on-action); }


/* ===== components/ActionLink/style.css ===== */
/* Just Ask. — ActionLink styles. Needs foundations (tokens.css + components/bundle.css). */
/* ---------- Action link (06 — inline treatment, "See the Question →") ---------- */
.ja-link {
  display: inline-block;
  min-height: var(--control-min-height);
  padding-block: calc((var(--control-min-height) - var(--body-lh-desktop)) / 2);
  color: var(--text-link);
  font-family: var(--font-sans);
  font-size: var(--body-size-desktop);
  line-height: var(--body-lh-desktop);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: from-font;
  text-underline-offset: auto;
  text-decoration-skip-ink: none;
  cursor: pointer;
  transition: color var(--ja-duration-hover) var(--ja-ease);
  -webkit-tap-highlight-color: transparent;
}
.ja-link:hover, .ja-link.is-hover,
.ja-link:active, .ja-link.is-pressed { color: var(--text-link-hover); }
.ja-link:focus { outline: none; }
.ja-link:focus-visible, .ja-link.is-focus {
  outline: var(--stroke-focus) solid var(--border-focus);
  outline-offset: 0;
}
/* Links on pale-blue (footer, resource cards): navy to pass AA; hover drops to muted navy. */
.ja-link--on-soft { color: var(--text-link-on-soft); }
.ja-link--on-soft:hover, .ja-link--on-soft.is-hover,
.ja-link--on-soft:active, .ja-link--on-soft.is-pressed { color: var(--text-muted); }
/* On navy: white in every state, white focus ring. */
.ja-link--inverse,
.ja-link--inverse:hover, .ja-link--inverse.is-hover,
.ja-link--inverse:active, .ja-link--inverse.is-pressed { color: var(--text-inverse); }
.ja-link--inverse:focus-visible, .ja-link--inverse.is-focus { outline-color: var(--text-inverse); }
/* "Share With a Colleague" in the CTA band is set Bold in the frames. */
.ja-link--strong { font-weight: 700; }
/* Smaller label-size link (resource card "Explore diagnosis resources", footer). */
.ja-link--label {
  font-size: var(--label-size-desktop);
  line-height: var(--label-lh-desktop);
  padding-block: calc((var(--control-min-height) - var(--label-lh-desktop)) / 2);
}


/* ===== components/Callout/style.css ===== */
/* Just Ask. — Callout styles. Needs foundations (tokens.css + components/bundle.css). Added Nov 20 from the interior-page canvas (status: in review). */
/* =====================================================================
   Callout — titled note inside a section or as an aside. No fill, so it never reads as a card:
   the system's open bracket (stroke-thin-accent, graphic-accent) on the left marks it instead.
   ===================================================================== */
/* Nov 19: closed brackets on both sides ([ … ]), so a callout reads as a self-contained note or tip, and the open
   left-only bracket stays the clinical question's signature. Padding 32 on both sides; the callout fills its column
   (the aside, or 720 when stacked), so the right bracket always sits on a fixed edge, never on ragged text. */
.ja-callout { position: relative; padding: var(--space-4) var(--space-32); color: var(--text-default); }
.ja-callout::before, .ja-callout::after { content: ""; position: absolute; top: 0; bottom: 0; width: 14px;
  border: var(--stroke-thin-accent) solid var(--graphic-accent); }
.ja-callout::before { left: 0; border-right: 0; }
.ja-callout::after { right: 0; border-left: 0; }
.ja-callout__text { margin-top: var(--space-12); }
.ja-callout .ja-link { margin-top: var(--space-4); margin-bottom: -12px; }


/* ===== components/CardGrid/style.css ===== */
/* Just Ask. — CardGrid + InfoCard styles. Needs foundations (tokens.css + components/bundle.css), Button; ResourceLink, Callout, PullQuote, ResourceCard, ListBlock when used. Added Nov 20 from the interior-page canvas (status: in review). */
/* =====================================================================
   CardGrid (section) + InfoCard (piece)
   ===================================================================== */
/* (Back-to-back CardGrid spacing is now the general same-ground rule under "Page rhythm" at the end of this file.) */
.ja-card-grid__intro { margin-top: var(--space-24); max-width: var(--ja-prose); }
.ja-card-grid__list {
  /* Fluid (Nov 20): intrinsic grid. As many 300px-minimum columns as fit, capped at --ja-cols (2; 3 for --3, 4 for --4).
     1 column at 375, 2 at 768, 3 / 4 at 1440; never a squeezed 4-up at 1024. */
  --ja-cols: 2; --ja-grid-gap: var(--space-24);
  display: grid; gap: var(--ja-grid-gap); margin: clamp(40px, 37.183px + 0.7512vw, 48px) 0 0; padding: 0; list-style: none;
  grid-template-columns: repeat(auto-fit, minmax(max(min(100%, 300px), calc((100% - (var(--ja-cols) - 1) * var(--ja-grid-gap)) / var(--ja-cols))), 1fr));
}
.ja-card-grid--3 .ja-card-grid__list { --ja-cols: 3; }
.ja-card-grid--4 .ja-card-grid__list { --ja-cols: 4; }
.ja-card-grid__after { margin-top: var(--space-32); }
/* Nov 20: CardGrid closing pair: an optional Callout and a ResourceCard side by side, on the same columns as the cards above
   (callout under the left card, resource under the right). Stacks when each column would drop under 300px. */
.ja-card-grid__pair { display: grid; gap: var(--space-24); align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(max(min(100%, 300px), calc((100% - var(--space-24)) / 2)), 1fr)); }
.ja-card-grid__pair > .ja-resource { height: 100%; }

.ja-card-grid__list > li > .ja-resource { height: 100%; }
/* Nov 19 (option 2, chosen): cards are a soft clinical-tint fill with no visible border, so they read as content and the
   white, blue-edged resource link reads as the action. On a tinted section cards turn white. */
.ja-info-card { display: flex; flex-direction: column; height: 100%; padding: clamp(24px, 21.183px + 0.7512vw, 32px);
  border: var(--stroke-border) solid transparent; border-radius: var(--radius-md); background: var(--surface-statistic); color: var(--text-default); }
.ja-section--tint .ja-info-card:not(.ja-info-card--inverse) { background: var(--surface-page); }
.ja-info-card__label { margin-bottom: var(--space-12); color: var(--text-muted); }
.ja-info-card__text { margin-top: var(--space-12); }
.ja-info-card .ja-list { margin-top: var(--space-16); }
.ja-info-card .ja-pullquote { margin-top: var(--space-24); padding-top: var(--space-24); border-top: var(--stroke-border) solid var(--border-subtle); }
.ja-info-card__footer { margin-top: auto; padding-top: var(--space-24); }
/* A resource link in a card footer: no bottom rule (the card edge closes it); the container query stacks the format */
.ja-info-card__footer .ja-reslink { flex-wrap: wrap; row-gap: 0; min-height: 0; padding: 0; border: 0; border-radius: 0; background: none; }
.ja-info-card__footer .ja-reslink:hover { background: none; }
.ja-info-card__footer .ja-reslink .ja-arrow { width: 11px; padding: 0; background: none; color: var(--graphic-accent); }
.ja-info-card__footer .ja-reslink__title { flex-basis: calc(100% - 27px); } /* bare 11px arrow + 16px gap */
/* Nov 19: in a card the resource link is blue (text-link, 4.63:1 on white), so it reads as the card's action and no longer
   matches the navy H3 and body text above it. */
.ja-info-card__footer .ja-reslink { color: var(--text-link-on-tint); } /* Nov 20: darker link blue so titles pass AA on the card tint (was 4.40:1) */
.ja-info-card__footer .ja-reslink:hover { color: var(--text-link-hover); }

/* Card marker (Nov 19): the statistic card's 40 × 2 blue rule above the H3, so cards read as cards and not as the
   list panel. */
.ja-info-card::before { content: ""; display: block; flex: none; width: 40px; height: var(--stroke-thin-accent); margin-bottom: var(--space-16); background: var(--graphic-accent); }
/* Inverse card (Nov 19): navy fill, white text, sky marker and bullets. The one card in a set that must be seen first
   (Needs Urgent Evaluation). Replaces the 2px-border emphasis there, which didn't separate enough. White on navy 14.15:1. */
.ja-info-card--inverse { background: var(--surface-inverse); border-color: var(--surface-inverse); color: var(--text-inverse); }
.ja-info-card--inverse::before { background: var(--sky); }
.ja-info-card--inverse .ja-h3 { color: inherit; }
.ja-info-card--inverse .ja-list--bullet > li::before { background: var(--sky); }
.ja-card-grid__after > .ja-button { margin-top: var(--space-8); }


/* ===== components/ClinicalQuestion/style.css ===== */
/* Just Ask. — ClinicalQuestion styles. Needs foundations (tokens.css + components/bundle.css) and components/ActionLink/style.css. */
/* ---------- 03 Clinical question ---------- */
/* Fluid (Nov 20): panel padding and bracket inset scale with the page; the intro | panel split is a container query
   on the section (`ja-question`, 64rem): the intro column needs ~280px for the heading. No media queries. */
.ja-question { container: ja-question / inline-size; }
.ja-question__grid { --ja-bracket-inset: clamp(20px, 15.423px + 1.2207vw, 33px); display: grid; grid-template-areas: "intro" "panel" "after"; row-gap: 32px; }
.ja-question__intro { grid-area: intro; }
.ja-question__panel { grid-area: panel; }
.ja-question__after { grid-area: after; }
.ja-eyebrow { margin: 0; }
.ja-question__intro .ja-eyebrow + :is(.ja-h1, .ja-h2) { margin-top: 23px; }
.ja-question__panel {
  margin: 0;
  padding: clamp(24px, 12.732px + 3.0047vw, 56px) clamp(12px, 3.3803vw - 0.676px, 48px);
  border: var(--stroke-border) solid var(--border-subtle);
  border-radius: var(--radius-media);
  background: var(--surface-soft);
}
.ja-question__bracket { position: relative; margin: 0; padding-left: var(--ja-bracket-inset); color: var(--text-default); }
.ja-question__bracket::before {          /* open bracket: 3px bar, 16px arms */
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 16px;
  border: var(--stroke-thin-accent) solid var(--graphic-accent);
  border-right: 0;
}
/* Body and link stack with one gap: 32 below desktop, 24 on desktop. */
.ja-question__after { display: flex; flex-direction: column; align-items: flex-start; row-gap: 32px; }
.ja-question__after .ja-prose { margin: 0; align-self: stretch; }
/* Copy action (optional): a quiet text button inside the panel, under the question and lined up with its text,
   so the question stays the focus (Nov 19, from the interior-page canvas; replaces the filled primary Button).
   Navy on pale blue 12.27:1, underlined, 48px tall target. -12 bottom margin keeps the panel padding visually even.
   Hidden until bundle.js confirms the browser can copy. */
.ja-question__actions { margin-top: 12px; margin-bottom: -12px; padding-left: var(--ja-bracket-inset); }
.ja-question__copy {
  display: inline-flex; align-items: center; min-height: var(--control-min-height);
  padding: 0; border: 0; background: none; cursor: pointer;
  color: var(--text-link-on-soft); font: 600 16px/24px var(--font-sans);
  text-decoration: underline; text-underline-offset: 3px;
  transition: color var(--ja-duration-hover) var(--ja-ease);
}
.ja-question__copy:hover { color: var(--text-muted); }
.ja-question__copy:focus { outline: none; }
.ja-question__copy:focus-visible { outline: var(--stroke-focus) solid var(--border-focus); outline-offset: 2px; }
.ja-question__copy[hidden] { display: none; }
@container ja-question (min-width: 64rem) {
  .ja-question__grid {
    grid-template-columns: minmax(0, 400fr) minmax(0, 832fr);
    grid-template-areas: "intro panel" "after panel";
    column-gap: 48px; row-gap: 24px;
  }
  .ja-question__intro { align-self: end; }
  .ja-question__after { align-self: start; row-gap: 24px; }
  /* No body or link: the intro sits centered beside the panel. */
  .ja-question__grid:not(:has(.ja-question__after)) .ja-question__intro { grid-row: 1 / span 2; align-self: center; }
  .ja-question__panel { align-self: center; }
}

/* ---------- Optional supporting stat + top alignment (Nov 20, from The Movement; off by default, homepage unchanged). Needs StatisticGrid styles for the stat card. ---------- */
/* ClinicalQuestion, top-aligned (Nov 19, The Movement): on desktop the question panel starts flush with the
   section's accent rule (both columns share one top edge) instead of being centered on the column. Large filled panels
   align to the rule; text-only asides (TextSection) still align to the H2. */
@container ja-question (min-width: 64rem) {
  .ja-question--top .ja-question__intro { align-self: start; }
  .ja-question--top .ja-question__panel { grid-row: 1 / span 2; align-self: start; margin-top: 0; }
}

/* =====================================================================
   ClinicalQuestion — supporting stat (Nov 19). Optional ACF fields: show_stat (off by default),
   stat_value, stat_label, stat_endnote. Stat on: add ja-question--top to the section, wrap the panel and a
   ja-stat--wide card in .ja-question__side. Stat off: the homepage ClinicalQuestion, unchanged.
   Needs StatisticGrid styles for the stat card.
   ===================================================================== */
.ja-question__side { grid-area: panel; display: grid; gap: var(--space-24); align-content: start; }
.ja-question__side > .ja-question__panel { grid-area: auto; }
/* When the panel sits next to a stat card, it takes the card's 8px corners (radius-md) so the two boxes match.
   On its own (homepage) the panel keeps radius-media (20). */
.ja-question__side > .ja-question__panel { border-radius: var(--radius-md); }
@container ja-question (min-width: 64rem) {
  .ja-question--top .ja-question__grid { grid-template-rows: auto 1fr; }   /* row 1 hugs the heading; body follows 24 below */
  .ja-question--top .ja-question__side { grid-row: 1 / span 2; align-self: start; margin-top: 0; }
}
/* Stat below the panel, wide: big value left, rule + label right */
.ja-stat--wide { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "v r" "v l"; column-gap: var(--space-32); align-items: center; min-height: 0; }
.ja-stat--wide .ja-stat__value { grid-area: v; }
.ja-stat--wide .ja-stat__rule { grid-area: r; margin: 0 0 var(--space-12); align-self: end; }
.ja-stat--wide .ja-stat__label { grid-area: l; align-self: start; }
@container ja-question (max-width: 47.99rem) { .ja-stat--wide { grid-template-columns: minmax(0, 1fr); grid-template-areas: "v" "r" "l"; } .ja-stat--wide .ja-stat__rule { margin: var(--space-16) 0; } }


/* ===== components/ContactForm/style.css ===== */
/* Just Ask. — ContactForm styles. Needs foundations (tokens.css + components/bundle.css), Button. Added Nov 20 from the interior-page canvas (status: in review). */
/* =====================================================================
   Form fields + ContactForm
   ===================================================================== */
.ja-form { display: grid; gap: var(--space-24); }
.ja-form__row { display: grid; gap: var(--space-24); grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }   /* side by side when each field gets 256px */
.ja-field { display: flex; flex-direction: column; gap: var(--space-8); }
.ja-field__label { font-weight: 600; font-size: 16px; line-height: 24px; color: var(--text-default); }
.ja-field__hint { font-weight: 400; color: var(--text-muted); }
.ja-input { width: 100%; min-height: 56px; padding: var(--space-12) var(--space-16); box-sizing: border-box;
  border: var(--stroke-border) solid var(--border-strong); border-radius: var(--radius-md); background: var(--surface-page);
  color: var(--text-default); font: 400 18px/28px var(--font-sans); transition: border-color var(--ja-duration-hover) var(--ja-ease); }
.ja-input:hover { border-color: var(--navy); }
.ja-input:focus { outline: var(--stroke-focus) solid var(--border-focus); outline-offset: 0; border-color: var(--navy); }
textarea.ja-input { min-height: 176px; resize: vertical; }
.ja-field.is-error .ja-input { border: var(--stroke-focus) solid var(--error); background: var(--surface-error); }
.ja-field__error { display: flex; align-items: flex-start; gap: var(--space-8); font-weight: 600; font-size: 16px; line-height: 24px; color: var(--error); }
.ja-field__error-mark { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; margin-top: 2px;
  border-radius: 50%; background: var(--error); color: var(--white); font-size: 13px; line-height: 1; font-weight: 800; }
.ja-form-alert { padding: var(--space-16) var(--space-24); border-radius: var(--radius-md); border: var(--stroke-focus) solid var(--error); background: var(--surface-error); }
.ja-form-alert__title { color: var(--error); font-weight: 700; }
.ja-form-alert ul { margin: var(--space-8) 0 0; padding-left: var(--space-24); }
.ja-form-alert a { color: var(--text-default); text-underline-offset: 3px; }
.ja-form-alert a:hover { color: var(--error); }
.ja-form-alert:focus-visible { outline: var(--stroke-focus) solid var(--border-focus); outline-offset: 2px; }
.ja-form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-16) var(--space-24); }
.ja-contact { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(48px, 36.732px + 3.0047vw, 80px); }
/* .ja-contact is the section's .ja-container, so it queries the section (60rem ≈ a 54rem content box plus margins). */
.ja-contact-section { container: ja-contact / inline-size; }
@container ja-contact (min-width: 60rem) { .ja-contact { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); } }
.ja-social { display: flex; flex-wrap: wrap; gap: var(--space-12); margin: var(--space-16) 0 0; padding: 0; list-style: none; }
/* Icon-only link: 48px circle, navy icon on pale blue; the platform name is the link's aria-label */
.ja-social__link { display: inline-flex; align-items: center; justify-content: center; width: var(--control-min-height); height: var(--control-min-height);
  border-radius: 50%; background: var(--surface-soft); color: var(--text-default); transition: background-color var(--ja-duration-hover) var(--ja-ease); }
.ja-social__link:hover { background: var(--sky); }
.ja-social__link:focus-visible { outline: var(--stroke-focus) solid var(--border-focus); outline-offset: 2px; }
.ja-social__link svg { width: 24px; height: 24px; fill: currentColor; }
/* Placeholder until the official icon SVGs are supplied */
.ja-social__icon { display: block; width: 24px; height: 24px; box-sizing: border-box; border: 2px dashed var(--muted-navy); border-radius: var(--radius-sm); }
/* Contact page: the brain pattern sits behind the form and hangs off the right edge (pale blue, decorative).
   Fields and labels stay on white/solid ground; only the gaps show the texture. */
.ja-contact-section { position: relative; overflow: hidden; }
.ja-contact-section > .ja-container { position: relative; z-index: 1; }
/* Guard: the pattern only shows when this section is the last block on the page (directly above the footer),
   so its bottom edge always meets the pale-blue footer, never white. In WordPress the footer sits outside <main>,
   so CSS can't see it: the block template adds ja-contact-section--last when it's the last ACF layout
   (e.g. get_row_index() === count( get_field( 'blocks' ) )). */
.ja-contact__pattern { display: none; }
.ja-contact-section--last .ja-contact__pattern { display: block; }
.ja-contact__pattern { --ja-pattern-ink: var(--pale-blue); width: clamp(320px, 249.577px + 18.7793vw, 520px); aspect-ratio: 700 / 869; right: 0;
  bottom: clamp(-150px, -82.394px - 4.6948vw, -100px); transform: translateX(38%); }


/* ===== components/CtaBand/style.css ===== */
/* Just Ask. — CtaBand styles. Needs foundations (tokens.css + components/bundle.css) and components/Button/style.css, components/ActionLink/style.css. */
/* ---------- 10c Closing CTA band ---------- */
/* Fluid (Nov 20): band padding 48 → 96 and the text-to-actions gap 32 → 48 (by 768) scale. One media query left:
   the brain pattern's size and the edge fade's stops (art direction, decorative). */
.ja-cta {
  position: relative; overflow: hidden;
  background: var(--surface-inverse); color: var(--text-inverse);
  text-align: center;
}
.ja-cta > .ja-container { position: relative; z-index: 1; padding-block: clamp(48px, 31.099px + 4.5070vw, 96px); }

/* One column: statement → question → body → actions. The text lines sit 24 apart; the actions 32 / 48 below the text.
   The question and body pull up from the column gap to 24, so no extra wrapper is needed. */
.ja-cta__content { --ja-cta-gap: clamp(32px, 16.733px + 4.0712vw, 48px); display: flex; flex-direction: column; align-items: center; gap: var(--ja-cta-gap); max-width: 1020px; margin: 0 auto; }
.ja-cta__content > * { margin: 0; width: 100%; }
.ja-cta__question { color: var(--sky); }
.ja-cta__content > .ja-cta__question, .ja-cta__content > .ja-cta__body { margin-top: calc(24px - var(--ja-cta-gap)); }

/* Actions: a centered row of buttons (wraps when narrow), the share link centered 16 below. */
.ja-cta__actions { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.ja-cta__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.ja-cta__actions .ja-link { text-align: center; }
.ja-cta [data-ja-copy][hidden] { display: none; }

.ja-cta .ja-pattern {            /* one brain per edge; the band's centre stays solid navy */
  --ja-pattern-ink: var(--muted-navy);
  top: 50%; height: 120%; aspect-ratio: 700 / 869; transform: translateY(-50%);
  opacity: .6;
}
.ja-cta .ja-pattern--l { left: 0; transform: translate(-50%, -50%); }   /* hangs half off the left edge: only its right half shows */
.ja-cta .ja-pattern--r { right: 0; transform: translate(50%, -50%); }   /* hangs half off the right edge: only its left half shows */
.ja-cta::after {                     /* fade: 0% navy at each edge → 100% toward the centre */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, var(--surface-inverse) 34%, var(--surface-inverse) 66%, transparent 100%);
}
@media (min-width: 1024px) {   /* art direction only */
  .ja-cta .ja-pattern { height: 128%; }
  .ja-cta::after { background: linear-gradient(90deg, transparent 0%, var(--surface-inverse) 28%, var(--surface-inverse) 72%, transparent 100%); }
}


/* ===== components/DataBars/style.css ===== */
/* Just Ask. — DataBars styles. Needs foundations (tokens.css + components/bundle.css). Added Nov 20 from the interior-page canvas (status: in review). */
/* =====================================================================
   DataBars — proportional horizontal bars (e.g. the diagnosis gap)
   ===================================================================== */
.ja-bars { display: grid; gap: var(--space-24); margin: var(--space-40) 0 0; padding: 0; list-style: none; }
.ja-bar__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-16); }
.ja-bar__label { font-weight: 600; }
.ja-bar__value { flex: none; color: var(--blue); font-weight: 700; letter-spacing: var(--tracking-display); font-size: var(--ja-question-size); line-height: var(--ja-question-lh); }
.ja-bar__track { height: clamp(20px, 16.183px + 1.0178vw, 24px); margin-top: var(--space-8); border-radius: var(--radius-sm); background: var(--surface-soft); overflow: hidden; }
.ja-bar__fill { display: block; height: 100%; background: var(--graphic-accent); border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.ja-bars-caption { margin-top: var(--space-16); color: var(--text-muted); }


/* ===== components/FeaturedResource/style.css ===== */
/* Just Ask. — FeaturedResource styles. Needs foundations (tokens.css + components/bundle.css), Button; ResourceCard (format tag). Added Nov 20 from the interior-page canvas (status: in review). */
/* =====================================================================
   FeaturedResource — one highlighted tool or download
   ===================================================================== */
.ja-featured { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-24); align-items: center; padding: clamp(24px, 15.549px + 2.2535vw, 48px);
  border-radius: var(--radius-media); background: var(--surface-soft); color: var(--text-default); }
@container ja-content (min-width: 54rem) { .ja-featured { grid-template-columns: minmax(0, 1fr) 360px; gap: var(--space-64); } }
/* Nov 20: the format shows as the Resource Library format tag (ResourceCard .ja-tag--format), so a featured tool reads the same as its card in the Library. */
.ja-featured__tag { margin-bottom: var(--space-12); }
.ja-featured__text { margin-top: var(--space-12); max-width: 560px; }
.ja-featured__actions { display: flex; flex-wrap: wrap; gap: var(--space-16) var(--space-24); align-items: center; margin-top: var(--space-24); }
.ja-featured__preview { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; border-radius: var(--radius-md);
  background: var(--surface-page); border: var(--stroke-border) solid var(--graphic-quiet); color: var(--text-muted); font-size: 14px; line-height: 22px; text-align: center; padding: var(--space-24); }

/* With an image (ACF preview_image): the image fills the preview frame, cropped to 4:3, corners kept. */
.ja-featured__preview:has(img) { padding: 0; overflow: hidden; }
.ja-featured__preview img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* 2. FeaturedResource: inverse ink. A white brain, rotated, tucked into a corner the content leaves empty:
   top-right on mobile and tablet (beside the heading), bottom-left on desktop (under the button; the preview fills the right). */
.ja-featured { position: relative; overflow: hidden; }
.ja-featured > :not(.ja-pattern) { position: relative; z-index: 1; }
.ja-featured__pattern { --ja-pattern-ink: var(--white); opacity: .75; aspect-ratio: 700 / 869; transform: rotate(24deg);
  width: clamp(260px, 203.662px + 15.0235vw, 420px); top: clamp(-260px, -192.394px - 4.6948vw, -210px); right: clamp(-130px, -102.958px - 1.8779vw, -110px); }
/* Placement follows the layout: once the preview sits on the right, the brain moves to the bottom-left under the button. */
@container ja-content (min-width: 54rem) { .ja-featured__pattern { top: auto; right: auto; left: -210px; bottom: -390px; transform: rotate(155deg); } }


/* ===== components/Hero/style.css ===== */
/* Just Ask. — Hero styles. Needs foundations (tokens.css + components/bundle.css). */
/* ---------- 02 Campaign statement (hero) ---------- */
/* Fluid (Nov 20): text inset, text width, spacing and face-grid geometry scale from 375 to 1440.
   The text column is sized from the highlight type (5.4em of "40 million", which is 5.34em wide), so the number
   never wraps whatever the width. The only media queries left are the veil's art direction (decorative). */
.ja-hero {
  position: relative;
  overflow: hidden;
  min-height: 570px;   /* mobile frame height; content sets it from ~800 up */
  background: var(--surface-page);
  --ja-pitch: clamp(54.67px, 52.793px + 0.5005vw, 60px);   /* face-grid cell pitch: 54.67 → 60 */
  --ja-cell: calc(var(--ja-pitch) * 0.8445);               /* cell size: 50.67 at 60 */
  --ja-grid-top: clamp(27px, 19.606px + 1.9718vw, 48px);
  --ja-grid-left: clamp(-28px, 2.6291vw - 37.859px, 0px);
  --ja-hero-inset: clamp(0px, 8.6385vw - 32.394px, 92px);  /* extra text inset beyond the margin: 0 → 92 */
  --ja-hero-text: max(calc(var(--ja-hero-highlight-size) * 5.4), 21rem);  /* 540 at 1440; the column below ~620 */
}
.ja-facegrid {
  position: absolute;
  left: var(--ja-grid-left);
  top: var(--ja-grid-top);
  width: calc(var(--ja-pitch) * 24);
  height: calc(var(--ja-pitch) * 9);
  margin: 0; padding: 0; list-style: none;
  display: grid;
  grid-template-columns: repeat(24, var(--ja-pitch));
  grid-auto-rows: var(--ja-pitch);
}
.ja-facegrid li { position: relative; width: var(--ja-cell); height: var(--ja-cell); }
.ja-facegrid img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  transition: opacity var(--ja-duration-fade) ease-in-out;
}
.ja-facegrid .is-sil .ja-f, .ja-facegrid .is-face .ja-s { opacity: 0; }
.ja-facegrid .is-sil .ja-s, .ja-facegrid .is-face .ja-f { opacity: 1; }
/* Silhouette → face is slower than face → silhouette: the duration follows the state being entered. */
.ja-facegrid .is-face img { transition-duration: var(--ja-duration-silhouette-out); }
.ja-facegrid .is-sil img { transition-duration: var(--ja-duration-fade); }
.ja-hero__veil {                     /* white fade over the grid, measured from the frames */
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,0) calc(100% - 100px), #fff calc(100% - 36px)),
    linear-gradient(90deg, rgba(255,255,255,.88) 0%, rgba(255,255,255,.95) 19%, rgba(255,255,255,.95) 85%, rgba(255,255,255,0) 141%);
}
.ja-hero__content {
  position: relative;
  padding-top: clamp(56px, 44.38px + 3.0986vw, 89px);
  padding-bottom: 40px;
  padding-left: calc(var(--ja-margin) + var(--ja-hero-inset));
}
.ja-hero__content > h1, .ja-hero__subtitle { max-width: var(--ja-hero-text); }
.ja-hero__lead, .ja-hero__number, .ja-hero__line { display: block; color: var(--text-default); }
.ja-hero__number { color: var(--blue); }
.ja-hero__subtitle { margin: clamp(15px, 20.408px - 0.3756vw, 19px) 0 0; color: var(--text-default); }
.ja-hero__subtitle strong { font-weight: 800; }
.ja-hero__rule { display: block; width: var(--hero-rule-width); height: var(--stroke-thin-accent); margin-top: clamp(16px, 22.761px - 0.4695vw, 21px); background: var(--graphic-accent); }
.ja-hero__led {
  display: flex; align-items: center; gap: var(--space-16);
  margin-top: 23px;
  color: var(--text-default);
}
.ja-hero__led img { display: block; width: 121px; height: auto; }
.ja-hero__pause {
  position: absolute; right: var(--ja-margin); bottom: 12px;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: var(--control-min-height); padding: 0 var(--space-12);
  border: 0; border-radius: var(--radius-md);
  background: rgba(255,255,255,.9); color: var(--text-muted);
  font: 600 14px/22px var(--font-sans); cursor: pointer;
  transition: color var(--ja-duration-hover) var(--ja-ease);
}
.ja-hero__pause:hover { color: var(--text-default); }
.ja-hero__pause:focus-visible { outline: var(--stroke-focus) solid var(--border-focus); outline-offset: 0; }
.ja-hero__pause svg { width: 12px; height: 12px; fill: currentColor; }
.ja-hero__pause .ja-play { display: none; }
.ja-hero.is-paused .ja-hero__pause .ja-play { display: block; }
.ja-hero.is-paused .ja-hero__pause .ja-pausei { display: none; }
@media (prefers-reduced-motion: reduce) { .ja-hero__pause { display: none; } .ja-facegrid img { transition: none; } }
.ja-hero:not(.is-animated) .ja-hero__pause { display: none; }
/* Veil art direction: the fade is tuned to each reference layout's text area. Decorative only (the grid is aria-hidden);
   text stays on ≥ .8 white at every width. */
@media (min-width: 768px) {
  .ja-hero__veil {
    background:
      linear-gradient(180deg, rgba(255,255,255,0) calc(100% - 100px), #fff calc(100% - 20px)),
      linear-gradient(90deg, rgba(255,255,255,.8) 0%, rgba(255,255,255,.95) 6%, rgba(255,255,255,.95) 56%, rgba(255,255,255,0) 98%);
  }
}
@media (min-width: 1024px) {
  .ja-hero__veil {
    background: linear-gradient(90deg, rgba(255,255,255,0) 0px, rgba(255,255,255,.95) 140px, rgba(255,255,255,.95) 54%, rgba(255,255,255,0) 96%);
  }
}


/* ===== components/IntroMedia/style.css ===== */
/* Just Ask. — IntroMedia styles. Needs foundations (tokens.css + components/bundle.css) and components/ActionLink/style.css. */
/* ---------- 04 + 05 Campaign imagery + rich text intro ---------- */
/* Fluid (Nov 20): the block responds to its own width (container query on the section), not the viewport.
   Narrow: text first, photo below. From a 56rem (896px) wide section: photo | text, 608 : 592.
   Photo height scales with the section: 220 at 375, ~320 at 768, 410 max. */
.ja-intro { container: ja-intro / inline-size; }
.ja-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);   /* minmax(0, …): the photo can't push the column wider than the page */
  row-gap: 32px;
  column-gap: clamp(40px, 5.5556cqi, 80px);  /* 80 at a 1440-wide section */
}
.ja-intro__media { order: 2; }
.ja-intro__media img {
  display: block; width: 100%;
  height: clamp(220px, 124.6px + 25.45cqi, 410px);
  object-fit: cover; object-position: center;
  border-radius: var(--radius-media);
}
/* Text column: rule? → eyebrow? → H2/H1 → body? → link?, 24 apart.
   A gap, not margins, so any part can be left out without leaving space behind. */
.ja-intro__text {
  order: 1; align-self: center;
  display: flex; flex-direction: column; gap: 24px;
}
.ja-intro__text > :is(.ja-rule, .ja-eyebrow, .ja-h1, .ja-h2, .ja-prose, .ja-link) { margin: 0; }
.ja-intro__text > .ja-link { align-self: flex-start; }   /* focus ring hugs the link */
/* The one switch: side by side needs ~360px per column; below that the split would squeeze the text. */
@container ja-intro (min-width: 56rem) {
  .ja-intro__grid { grid-template-columns: minmax(0, 608fr) minmax(0, 592fr); align-items: center; }
  .ja-intro__media { order: 1; }
  .ja-intro__text { order: 2; }
}


/* ===== components/ListBlock/style.css ===== */
/* Just Ask. — ListBlock styles. Needs foundations (tokens.css + components/bundle.css). Added Nov 20 from the interior-page canvas (status: in review). */
/* =====================================================================
   ListBlock — --numbered, --check, --bullet; --cols lays bullets out in columns
   ===================================================================== */
.ja-list { display: grid; gap: var(--space-12); margin: 0; padding: 0; list-style: none; counter-reset: ja-list; }
.ja-list > li { position: relative; padding-left: var(--space-40); }
.ja-list--numbered > li { counter-increment: ja-list; min-height: 32px; padding-top: 2px; font-weight: 600; }
.ja-list--numbered > li::before { content: counter(ja-list); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%;
  background: var(--surface-inverse); color: var(--text-inverse); font-weight: 700; font-size: 16px; line-height: 32px; text-align: center; } /* Nov 20: inverted (was pale blue + navy number): navy circle, white number, 14.15:1 */
.ja-list--check > li::before { content: ""; position: absolute; left: 6px; top: 5px; width: 8px; height: 15px;
  border: solid var(--graphic-accent); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.ja-list--bullet > li { padding-left: var(--space-24); }
.ja-list--bullet > li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 8px; height: 8px; background: var(--graphic-accent); }
.ja-list--cols { gap: 0 var(--space-24); grid-template-columns: repeat(auto-fit, minmax(max(min(100%, 260px), calc((100% - 2 * var(--space-24)) / 3)), 1fr)); }   /* 1 → 2 → 3 columns, intrinsic */
.ja-list--cols > li { padding-block: var(--space-16); border-top: var(--stroke-border) solid var(--graphic-quiet); }
.ja-list--cols.ja-list--bullet > li::before { top: 27px; }
/* List panel (Nov 19): white with a 1px sky edge and navy number circles (Nov 20), so it reads as a tool/checklist and
   doesn't match the soft-fill cards beside it. */
.ja-list-panel { margin-top: var(--space-32); border: var(--stroke-border) solid var(--graphic-quiet); border-radius: var(--radius-md); background: var(--surface-page); max-width: var(--ja-prose); }
.ja-list-panel { padding: clamp(24px, 21.183px + 0.7512vw, 32px); }


/* ===== components/PageHero/style.css ===== */
/* Just Ask. — PageHero styles. Needs foundations (tokens.css + components/bundle.css). Added Nov 20 from the interior-page canvas (status: in review). */
/* =====================================================================
   PageHero — interior page header. Variants: --media, --question, --step, (default) simple
   ===================================================================== */
.ja-page-hero { padding-block: clamp(40px, 25.915px + 3.7559vw, 80px) var(--ja-section); }
.ja-page-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-32); align-items: center; }
.ja-page-hero__eyebrow { display: block; margin-bottom: var(--space-16); color: var(--text-link); }
.ja-page-hero__eyebrow a { color: inherit; text-decoration: underline; text-underline-offset: 3px; transition: color var(--ja-duration-hover) var(--ja-ease); }
.ja-page-hero__eyebrow a:hover { color: var(--text-link-hover); }
.ja-page-hero__eyebrow a:focus-visible { outline: var(--stroke-focus) solid var(--border-focus); outline-offset: 2px; }
.ja-page-hero__intro { margin-top: var(--space-24); max-width: var(--ja-prose); }
.ja-page-hero__img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 70% 30%; border-radius: var(--radius-media); }
.ja-media-placeholder { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 4 / 3;
  border-radius: var(--radius-media); background: var(--surface-soft); color: var(--text-muted); font-size: 14px; line-height: 22px; text-align: center; padding: var(--space-24); }
@container ja-content (min-width: 54rem) {
  .ja-page-hero--media .ja-page-hero__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-64); }
  .ja-page-hero--question .ja-page-hero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-64); }
}

/* Question panel (compact clinical question; Nov 20: the copy action moved out of the hero to the page's CTA band) */
.ja-qpanel { padding: clamp(32px, 24.367px + 2.0356vw, 40px) clamp(24px, 1.099px + 6.1069vw, 48px); border-radius: var(--radius-media); background: var(--surface-soft); }
.ja-qpanel__quote { position: relative; margin: 0; padding-left: var(--space-32); }
.ja-qpanel__quote::before { /* question bracket: open bracket on the left */
  content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 14px;
  border: var(--stroke-thin-accent) solid var(--graphic-accent); border-right: 0; }
/* 1. PageHero (Simple and Step variants; ACF true/false show_pattern, default on, off on Contact and legal pages).
   Hangs off the top-right, tilted; ends inside the hero so it never meets the next section. Right of the 720 text
   column on tablet and desktop; on phones a smaller crop sits in the corner beside the eyebrow and only grazes the
   end of the H1, faint enough (pale blue at 70%) that the heading keeps full contrast. */
.ja-page-hero { position: relative; overflow: hidden; }
.ja-page-hero > .ja-container { position: relative; z-index: 1; }
.ja-page-hero__pattern { --ja-pattern-ink: var(--pale-blue); opacity: .7; aspect-ratio: 700 / 869; transform: rotate(-16deg);
  width: clamp(260px, 161.408px + 26.2911vw, 540px); top: clamp(-440px, -122.254px - 22.0657vw, -205px); right: clamp(-140px, -91.324px - 3.3803vw, -104px); }


/* ===== components/PageNav/style.css ===== */
/* Just Ask. — PageNav styles. Needs foundations (tokens.css + components/bundle.css), ActionLink. Added Nov 20 from the interior-page canvas (status: in review). */
/* =====================================================================
   PageNav — end-of-page wayfinding: back/all link + next page
   ===================================================================== */
.ja-pagenav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-24);
  padding-top: var(--space-32); border-top: var(--stroke-border) solid var(--graphic-quiet); }
.ja-pagenav__next { display: flex; align-items: center; gap: var(--space-24); min-height: 88px; padding: var(--space-16) var(--space-24);
  border-radius: var(--radius-md); background: var(--surface-soft); color: var(--text-default); text-decoration: none;
  transition: background-color var(--ja-duration-hover) var(--ja-ease); }
.ja-pagenav__next:hover { background: var(--sky); }
.ja-pagenav__next:focus-visible { outline: var(--stroke-focus) solid var(--border-focus); outline-offset: 2px; }
.ja-pagenav__kicker { display: block; font-size: 14px; line-height: 22px; font-weight: 600; color: var(--text-muted); }
.ja-pagenav__title { display: block; }
.ja-pagenav__next .ja-arrow { width: 16px; height: 28px; }
@container ja-content (max-width: 40rem) { .ja-pagenav__next { width: 100%; justify-content: space-between; } }
/* Nov 20 (Jerry), step pages: back card on the left (previous page; same grey card, arrow first and pointing left), next-step
   card on the right with a plain "Browse the Resource Library" text link under it. Last step (Ongoing care) has no next card,
   so only the link sits on the right. Phones: back, next, link stack full width. ACF: prev/next come from the step order in
   the options-page repeater; the Library link is a global setting. */
.ja-pagenav { align-items: flex-start; }
.ja-pagenav__prev .ja-arrow { transform: scaleX(-1); }
.ja-pagenav__group { display: flex; flex-direction: column; align-items: flex-end; gap: var(--space-4); margin-left: auto; }
@container ja-content (max-width: 40rem) {
  .ja-pagenav__prev { justify-content: flex-start; }
  .ja-pagenav__group { width: 100%; align-items: stretch; }
  .ja-pagenav__group .ja-pagenav__library { align-self: flex-start; }
}


/* ===== components/PartnerAttribution/style.css ===== */
/* Just Ask. — PartnerAttribution styles. Needs foundations (tokens.css + components/bundle.css) and components/ActionLink/style.css. */
/* ---------- 08 Partner attribution ---------- */
/* Fluid (Nov 20): no media queries. Spacing and logo height scale (tablet values reached by 768); the logo row wraps. */
/* Introduction: H2, then body + link, stacked and centered at every size (max 720 on desktop). No accent rule. */
.ja-partners__head { display: grid; gap: 32px; max-width: var(--prose-max-desktop); margin-inline: auto; text-align: center; }
.ja-partners__head .ja-link { margin-top: clamp(14px, 4.458px + 2.5445vw, 24px); }   /* the link box adds 10 */

/* Logo row: one centered, wrapping row. Logos have no tile; each is the same height with its natural width. */
.ja-partners__logos {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: var(--space-24) clamp(16px, 10.366px + 1.5023vw, 32px);
  margin: clamp(30px, 18.028px + 3.1925vw, 64px) 0 0; padding: 0; list-style: none;
}
/* Show Introduction off: the logo row is the first thing in the section. */
.ja-partners .ja-container > .ja-partners__logos:first-child { margin-top: 0; }
/* ...and the section tightens to 24 (mobile, tablet) / 40 (desktop) so the row sits as a band under a page header.
   Automatic: keys off the missing introduction, no extra field. */
.ja-partners:not(:has(.ja-partners__head)) { padding-block: clamp(24px, 18.366px + 1.5023vw, 40px); }
.ja-partner { display: flex; align-items: center; height: clamp(40px, 24.733px + 4.0712vw, 56px); }
.ja-partner a { display: flex; height: 100%; }
.ja-partner img { display: block; height: 100%; width: auto; max-width: 200px; object-fit: contain; }
/* Placeholder: stands in for the logo artwork itself. */
.ja-partner__placeholder {
  display: flex; align-items: center; justify-content: center;
  width: clamp(96px, 50.198px + 12.2137vw, 144px); height: 100%;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  color: var(--text-muted);
  text-align: center;
}


/* ===== components/PullQuote/style.css ===== */
/* Just Ask. — PullQuote styles. Needs foundations (tokens.css + components/bundle.css). Added Nov 20 from the interior-page canvas (status: in review). */
/* =====================================================================
   PullQuote — clinician quote. Default (quotation style) and --compact (inside cards / subsections)
   ===================================================================== */
.ja-pullquote { margin: 0; }
.ja-pullquote__mark { display: block; height: 36px; color: var(--graphic-accent); font-weight: 800; font-size: 64px; line-height: 64px; }
.ja-pullquote__cite { display: block; margin-top: var(--space-16); color: var(--text-muted); font-style: normal; }
.ja-pullquote--compact .ja-pullquote__mark { height: 26px; font-size: 48px; line-height: 48px; }
.ja-pullquote--compact .ja-pullquote__cite { margin-top: var(--space-12); font-size: 14px; line-height: 22px; }
/* Finding variant (StatisticGrid findings rows) */
.ja-pullquote--finding .ja-pullquote__mark { height: 30px; font-size: 56px; line-height: 56px; }
.ja-pullquote--finding .ja-evidence-qualifier { color: var(--text-default); }
.ja-pullquote--finding .ja-pullquote__cite { margin-top: var(--space-12); font-size: 14px; line-height: 22px; }


/* ===== components/QuoteBand/style.css ===== */
/* Just Ask. — QuoteBand styles. Needs foundations (tokens.css + components/bundle.css). */
/* ---------- 10a Quote band ---------- */
/* Fluid (Nov 20): photo height, overlap and card padding scale (reaching the 768 values by 768); the photo-behind layout
   is a container query on the band (`ja-quote`, 64rem), not a viewport query. No media queries. */
.ja-quote { container: ja-quote / inline-size; position: relative; overflow: hidden; background: var(--surface-page); }
/* Narrow band (Nov 19, overlap layout): the photo runs full-bleed and fades to white at the bottom (the desktop's
   left-to-right fade turned on its side); the crop sits right so the clinician's face stays clear; the card rides up over
   the faded part, so it still reads as a card on the photo. Text stays on the solid card. */
.ja-quote__photo { position: relative; height: clamp(320px, 224.580px + 25.4453vw, 420px); overflow: hidden; }
.ja-quote__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 78% center; display: block; }
.ja-quote__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0) 50%, #fff 100%); }
.ja-quote__inner { position: relative; margin-top: calc(-1 * clamp(112px, 66.198px + 12.2137vw, 160px)); padding: 0 var(--ja-margin) 24px; }
.ja-quote__card {
  position: relative;
  margin: 0;
  max-width: 560px;
  padding: clamp(24px, 8.733px + 4.0712vw, 40px);
  border: var(--stroke-border) solid var(--graphic-quiet);   /* 1px sky edge, as on ResourceCard (Nov 19); padding inside it */
  border-radius: var(--radius-media);
  background: var(--surface-soft);
  color: var(--text-default);
}
/* Quote treatment = PullQuote (interior-page canvas, the source of truth since Nov 19): no side bar; a 64px ExtraBold
   blue mark in a 36px-tall box (the glyph overhangs into the gap), the quotation right under it, attribution muted. */
.ja-quote__body { position: relative; }
.ja-quote__mark { display: block; height: 36px; color: var(--graphic-accent); font: 800 64px/64px var(--font-sans); }
.ja-quote__mark span { display: block; }
.ja-quote__text { margin: 0; quotes: none; }
.ja-quote__cite { display: block; margin-top: 16px; color: var(--text-muted); font-style: normal; }
@container ja-quote (min-width: 64rem) {
  .ja-quote__photo { position: absolute; inset: 0; height: auto; }
  .ja-quote__photo img { object-position: center; }
  .ja-quote__photo::after { background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,0) 99%); }
  .ja-quote__inner {
    display: flex; align-items: center; min-height: 560px;
    width: 100%; max-width: calc(var(--ja-content) + 2 * var(--ja-margin)); margin: 0 auto; padding-block: 92px;
  }
  .ja-quote__card { width: 560px; }
}

/* ---------- White card option (Nov 20, The Movement and The Ask) ----------
   A white card on the photo, so the band doesn't run into pale-blue panels right above it. Same sky edge and padding;
   only the fill changes (navy text 14.15:1 on white). Default stays as live. */
.ja-quote--white .ja-quote__card { background: var(--surface-page); }


/* ===== components/References/style.css ===== */
/* Just Ask. — References styles. Needs foundations (tokens.css + components/bundle.css). */
/* ---------- 09a References ---------- */
/* Fluid (Nov 20): no media queries. Padding follows the section padding but stops at 48 (end matter stays compact). */
.ja-refs { padding-block: min(var(--ja-section), 48px); background: var(--surface-statistic); }   /* clinical tint (Nov 19): sets the end matter apart from the page */
.ja-refs__note, .ja-refs__list { margin: clamp(8px, 6.592px + 0.3756vw, 12px) 0 0; }   /* 8 at 375 → 12 at 1440 */
.ja-refs__note { color: var(--text-muted); }
.ja-refs__list { padding: 0 0 0 44px; color: var(--text-default); }
.ja-refs__list li { padding-left: 0; }
.ja-refs__list li + li { margin-top: 8px; }
.ja-refs__list li::marker { color: var(--text-default); font-weight: 600; }   /* navy: blue is 4.4:1 on the tint, under AA for 14px numbers */


/* ===== components/ResourceCard/style.css ===== */
/* Just Ask. — ResourceCard styles. Needs foundations (tokens.css + components/bundle.css) and components/ActionLink/style.css. */
/* ---------- Resource card (After the Yes hub, Resource Library; from Figma 17:15) ---------- */
.ja-resource {
  display: flex; flex-direction: column;
  padding: var(--space-24);
  border: var(--stroke-border) solid var(--graphic-quiet); /* 1px sky edge (Figma: Graphic/Quiet, inside; content inset 25) */
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  color: var(--text-default);
}
/* Optional type label ("Quick Guide", "Tool", "Video"…): Label 16/24 SemiBold, muted navy, 16 above the title */
.ja-resource__type { margin: 0 0 var(--space-16); color: var(--text-muted); }
.ja-resource__title { margin: 0; }
.ja-resource__text { margin: var(--space-16) 0 0; color: var(--text-muted); }
/* Visible gap above the link is 16: 4 margin + the link's 12 touch padding. The -12 keeps the 24 bottom inset. */
.ja-resource .ja-link { margin-top: var(--space-4); margin-bottom: -12px; align-self: flex-start; }
/* Equal-height cards: the last block before the link takes the spare space, so links line up at the bottom of a row.
   Summary shown → the summary grows; summary hidden → the title grows. */
.ja-resource__text,
.ja-resource__title:not(:has(~ .ja-resource__text)) { flex-grow: 1; }

/* ---------- Tags (Resource Library cards; Nov 19, from the interior-page canvas) ---------- */
/* Format tag first (filled, one color per format, white 14/22 SemiBold label), then the patient-group tag (white, navy text).
   The label always names the format, so color is never the only cue. Unknown formats fall back to navy. */
.ja-tags { display: flex; flex-wrap: wrap; gap: var(--space-8); margin: 0 0 var(--space-16); padding: 0; list-style: none; }
.ja-tag { display: inline-block; padding: 2px 10px; border-radius: var(--radius-sm); background: var(--surface-page); color: var(--text-default); font-size: 14px; line-height: 22px; font-weight: 600; }
.ja-tag--format { background: var(--tag-color, var(--navy)); color: var(--text-inverse); }
.ja-tag--quick-guide { --tag-color: var(--tag-quick-guide); }
.ja-tag--guideline { --tag-color: var(--tag-guideline); }
.ja-tag--tool { --tag-color: var(--tag-tool); }
.ja-tag--article { --tag-color: var(--tag-article); }
.ja-tag--video { --tag-color: var(--tag-video); }
.ja-tag--podcast { --tag-color: var(--tag-podcast); }

/* ---------- Bilingual downloads (Resource Library) ---------- */
/* English and Spanish PDF links side by side (wrapping); the Spanish link is left out when there's no Spanish file.
   Spanish is teal (link-spanish, 5.79:1 on pale blue) so color also separates the two; it is lighter than navy (2.1:1),
   so the pair differs in lightness, not hue alone. Keys off hreflang. Hover: muted navy, like every soft link. */
.ja-resource__downloads { display: flex; flex-wrap: wrap; gap: 0 var(--space-24); }
.ja-resource__downloads .ja-link { align-self: auto; }
.ja-resource__downloads .ja-link[hreflang="es"] { color: var(--link-spanish); }
.ja-resource__downloads .ja-link[hreflang="es"]:hover { color: var(--text-muted); }

/* ---------- Outline button action (Nov 20) ----------
   The card's action is an outline Button whose label follows the format (View Guide, Read Guideline, Open Tool,
   Read Article, Watch Video, Listen), with the title in a visually hidden span for a unique accessible name.
   Replaces the ActionLink; the link markup above still works for older cards. Needs Button styles. */
.ja-resource .ja-resource__action { margin-top: var(--space-24); align-self: flex-start; }


/* ===== components/ResourceLibrary/style.css ===== */
/* Just Ask. — ResourceLibrary styles. Needs foundations (tokens.css + components/bundle.css), ResourceCard, Button. Added Nov 20 from the interior-page canvas (status: in review). */
/* =====================================================================
   FilterBar + results (Resource Library) — one row of native selects
   ===================================================================== */
.ja-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: clamp(16px, 13.183px + 0.7512vw, 24px); margin: 0; padding: 0; border: 0; }   /* 3 across when each select gets 200px, else stacked */
.ja-select-field { display: flex; flex-direction: column; gap: var(--space-8); min-width: 0; }
.ja-select { width: 100%; min-height: var(--control-min-height); padding: 0 var(--space-48) 0 var(--space-16); box-sizing: border-box;
  border: var(--stroke-border) solid var(--border-strong); border-radius: var(--radius-md); background-color: var(--surface-page);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23072a59' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; background-size: 14px 9px;
  color: var(--text-default); font: 400 18px/28px var(--font-sans); appearance: none; -webkit-appearance: none; cursor: pointer;
  text-overflow: ellipsis; transition: border-color var(--ja-duration-hover) var(--ja-ease), background-color var(--ja-duration-hover) var(--ja-ease); }
.ja-select:hover { background-color: var(--surface-soft); }
.ja-select:focus-visible { outline: var(--stroke-focus) solid var(--border-focus); outline-offset: 0; }
/* A filter that is on: navy 2px edge and SemiBold value, so the active set reads at a glance */
.ja-select.is-active { border: var(--stroke-focus) solid var(--navy); font-weight: 600; padding-left: 15px; }
.ja-results-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 var(--space-24); min-height: var(--control-min-height); margin-top: var(--space-16); }
.ja-results-count { font-weight: 600; }
.ja-text-button { min-height: var(--control-min-height); padding: 0; border: 0; background: none; color: var(--text-link); font: 600 16px/24px var(--font-sans);
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer; transition: color var(--ja-duration-hover) var(--ja-ease); }
.ja-text-button:hover { color: var(--text-link-hover); }
.ja-text-button:focus-visible { outline: var(--stroke-focus) solid var(--border-focus); outline-offset: 2px; }
.ja-results-group { margin-top: var(--space-40); }
.ja-results-group__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-4) var(--space-12); padding-bottom: var(--space-16); border-bottom: var(--stroke-border) solid var(--graphic-quiet); }
.ja-results-group__count { white-space: nowrap; color: var(--text-muted); font-size: 14px; line-height: 22px; font-weight: 600; }
.ja-results-grid { display: grid; gap: var(--space-24); margin: var(--space-24) 0 0; padding: 0; list-style: none;
  grid-template-columns: repeat(auto-fit, minmax(max(min(100%, 300px), calc((100% - 2 * var(--space-24)) / 3)), 1fr)); }   /* 1 → 2 → 3, intrinsic */
.ja-results-grid > li { display: flex; }
.ja-results-grid .ja-resource { width: 100%; }
.ja-empty { margin-top: var(--space-40); padding: var(--space-40) var(--space-24); border-radius: var(--radius-md); background: var(--surface-soft); text-align: center; }
.ja-empty p + p { margin-top: var(--space-8); }
/* 3. Resource Library empty state: the whole brain, small, in blue, as a spot illustration. */
.ja-empty__mark { position: relative; display: block; width: 48px; aspect-ratio: 700 / 869; margin: 0 auto var(--space-16); --ja-pattern-ink: var(--graphic-accent); }


/* ===== components/ResourceLink/style.css ===== */
/* Just Ask. — ResourceLink styles. Needs foundations (tokens.css + components/bundle.css). Added Nov 20 from the interior-page canvas (status: in review). */
/* =====================================================================
   ResourceLink — compact row link to a guide, guideline, tool, video or podcast
   ===================================================================== */
/* Nov 19: each link is a white row with a 1px blue edge and the arrow in a 32px blue circle. It stands out on white and
   on pale-blue sections alike (blue edge 4.6:1 on white, 4.0:1 on pale blue, both over the 3:1 non-text minimum) and
   never matches the sky-edged cards or the pale-blue panels. Title navy 14.15:1; format muted; arrow white on blue 4.63:1.
   Hover: pale-blue fill + underlined title. 8 between rows. */
.ja-reslinks { display: grid; gap: var(--space-8); margin: 0; padding: 0; list-style: none; }
.ja-reslink { display: flex; align-items: center; gap: var(--space-16); min-height: 64px; padding: 11px var(--space-12) 11px var(--space-24);
  border: var(--stroke-border) solid var(--graphic-accent); border-radius: var(--radius-md); background: var(--surface-page); color: var(--text-link-on-soft); text-decoration: none;
  transition: color var(--ja-duration-hover) var(--ja-ease), background-color var(--ja-duration-hover) var(--ja-ease); }
.ja-reslink .ja-arrow { box-sizing: content-box; width: 11px; height: 20px; padding: 6px 10px; border-radius: 50%; background: var(--graphic-accent); color: var(--text-inverse); }
.ja-reslink__title { flex: 1 1 auto; font-weight: 600; font-size: 18px; line-height: 28px; }
.ja-reslink__meta { flex: none; color: var(--text-muted); font-size: 14px; line-height: 22px; font-weight: 600; text-align: right; }
.ja-reslink .ja-arrow { flex: none; }
/* Nov 20: the format label takes its Resource Library tag color (title stays navy), tying rows to the Library tags.
   Quick Guide uses a darker blue as text for contrast. All pass 4.5:1 on white, the card tint, pale blue and sky.
   Non-format labels (e.g. "Resource Library" on the population cards) stay muted. */
.ja-reslink__meta--quick-guide { color: var(--tag-quick-guide-text); }
.ja-reslink__meta--guideline { color: var(--tag-guideline); }
.ja-reslink__meta--tool { color: var(--tag-tool); }
.ja-reslink__meta--article { color: var(--tag-article); }
.ja-reslink__meta--video { color: var(--tag-video); }
.ja-reslink__meta--podcast { color: var(--tag-podcast); }
.ja-reslink:hover { background: var(--surface-soft); color: var(--text-link-on-soft); }
.ja-reslink:hover .ja-reslink__title { text-decoration: underline; text-underline-offset: 3px; }
.ja-reslink:focus-visible { outline: var(--stroke-focus) solid var(--border-focus); outline-offset: 2px; }
.ja-reslinks--on-soft .ja-reslink { color: var(--text-link-on-soft); }
/* Narrow container (callouts, cards, side columns, phones): the format drops under the title so it never crowds it.
   Based on the list's own width, not the viewport, so it works wherever the list is placed. */
.ja-reslinks { container-type: inline-size; }
@container (max-width: 520px) {
  .ja-reslink { flex-wrap: wrap; row-gap: 0; }
  .ja-reslink__title { flex-basis: calc(100% - 47px); } /* Nov 19 fix: room for the 31px arrow circle + 16px gap, so the circle stays on the title's line */
  .ja-reslink__meta { order: 3; flex-basis: 100%; text-align: left; }
}

/* On a tinted section the row hover goes sky, so it still shows against the white row on pale blue. */
.ja-section--tint .ja-reslink:hover { background: var(--sky); }


/* ===== components/RichText/style.css ===== */
/* Just Ask. — RichText styles. Needs foundations (tokens.css + components/bundle.css). Added Nov 20 from the interior-page canvas (status: in review). */
/* =====================================================================
   RichText — long-form copy (legal pages, any WYSIWYG field)
   ===================================================================== */
.ja-rich { max-width: var(--ja-prose); }
.ja-rich > * + * { margin-top: var(--space-16); }
.ja-rich h2 { margin-top: var(--space-48); font-weight: 800; font-size: var(--h3-size-desktop); line-height: var(--h3-lh-desktop); }
.ja-rich h3 { margin-top: var(--space-32); font-weight: 700; font-size: 20px; line-height: 30px; }
.ja-rich h2 + *, .ja-rich h3 + * { margin-top: var(--space-12); }
.ja-rich > :first-child { margin-top: 0; }
.ja-rich ol, .ja-rich ul { padding-left: var(--space-24); }
.ja-rich li + li { margin-top: var(--space-8); }
.ja-rich ol ol { list-style: lower-alpha; margin-top: var(--space-8); }
.ja-rich a { color: var(--text-link); text-underline-offset: 3px; transition: color var(--ja-duration-hover) var(--ja-ease); }
.ja-rich a:hover { color: var(--text-link-hover); }
.ja-rich__updated { color: var(--text-muted); font-size: 14px; line-height: 22px; }


/* ===== components/SiteFooter/style.css ===== */
/* Just Ask. — SiteFooter styles. Needs foundations (tokens.css + components/bundle.css). */
/* ---------- 09b Campaign footer ---------- */
/* Fluid (Nov 20): the footer responds to its own width (container `ja-footer`), not the viewport.
   Narrow: everything stacked, nav links in a column (48px targets).
   From 40rem: nav links in a wrapping row.
   From 56rem: copyright | legal side by side. From 64rem: logo | nav side by side (the nav may wrap beside the logo). */
.ja-footer { container: ja-footer / inline-size; background: var(--surface-soft); color: var(--text-default); }
.ja-footer > .ja-container { padding-block: clamp(32px, 26.366px + 1.5023vw, 48px); }
.ja-footer__top { display: flex; flex-direction: column; }
.ja-footer__logo { align-self: flex-start; line-height: 0; }
.ja-footer__logo img { display: block; width: 190px; height: auto; }
.ja-footer__nav { margin-top: 14px; }
.ja-footer__nav ul { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.ja-footer__nav a, .ja-footer__legal a {
  display: inline-flex; align-items: center; min-height: var(--control-min-height);
  color: var(--text-link-on-soft); text-decoration: none;
  transition: color var(--ja-duration-hover) var(--ja-ease);
}
.ja-footer__nav a:hover, .ja-footer__legal a:hover { color: var(--text-muted); text-decoration: underline; }
.ja-footer__logo:focus-visible, .ja-footer__nav a:focus-visible, .ja-footer__legal a:focus-visible { outline: var(--stroke-focus) solid var(--border-focus); outline-offset: 0; }
.ja-footer__bottom { display: flex; flex-direction: column; margin-top: clamp(10px, 5.070px + 1.3146vw, 24px); color: var(--text-muted); }
.ja-footer__legal { display: flex; flex-wrap: wrap; column-gap: var(--space-24); margin: 8px 0 0; padding: 0; list-style: none; }
@container ja-footer (min-width: 40rem) {
  .ja-footer__nav { margin-top: 22px; }
  .ja-footer__nav ul { flex-direction: row; flex-wrap: wrap; column-gap: var(--space-24); row-gap: 16px; }
  .ja-footer__nav a { min-height: 24px; }
}
@container ja-footer (min-width: 64rem) {
  .ja-footer__top { flex-direction: row; align-items: center; justify-content: space-between; gap: var(--space-24); }
  .ja-footer__nav { margin-top: 0; }
  .ja-footer__nav a { min-height: var(--control-min-height); }
}
@container ja-footer (min-width: 56rem) {
  .ja-footer__bottom { flex-direction: row; align-items: center; justify-content: space-between; gap: var(--space-24); }
  .ja-footer__legal { margin-top: 0; }
}


/* ===== components/SiteHeader/style.css ===== */
/* Just Ask. — SiteHeader styles. Needs foundations (tokens.css + components/bundle.css). */
/* ---------- 01 Site header ---------- */
/* Fluid (Nov 20): bar height 80 → 86 and logo 160 → 190 scale with the page; the menu's block padding grows 12 → 28 by 768.
   The ONE media query left in the system's layout: full nav from 1024, Menu below (the four links must not wrap). */
.ja-header {
  position: relative;
  z-index: 20;
  background: var(--surface-page);
  border-bottom: var(--stroke-border) solid var(--graphic-quiet); /* every mode (Nov 18) */
}
.ja-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: clamp(80px, 77.887px + 0.5634vw, 86px);
}
.ja-header__logo { display: block; line-height: 0; border-radius: 2px; }
.ja-header__logo img { display: block; width: clamp(160px, 149.437px + 2.8169vw, 190px); height: auto; }
.ja-header__logo:focus-visible { outline: var(--stroke-focus) solid var(--border-focus); outline-offset: 4px; }
.ja-nav { display: none; }
.ja-nav__list { display: flex; gap: var(--space-24); margin: 0; padding: 0; list-style: none; }
.ja-nav a {
  display: inline-flex;
  align-items: center;
  min-height: var(--control-min-height);
  color: var(--text-default);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--ja-duration-hover) var(--ja-ease);
}
.ja-nav a:hover { color: var(--text-link); }
.ja-nav a[aria-current="page"] { color: var(--text-link); }
.ja-nav a:focus-visible { outline: var(--stroke-focus) solid var(--border-focus); outline-offset: 0; }
.ja-menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: var(--control-min-height);
  padding: 0 0 0 var(--space-8);
  border: 0;
  background: none;
  color: var(--text-default);
  font-family: var(--font-sans);
  cursor: pointer;
}
.ja-menu-toggle:focus-visible { outline: var(--stroke-focus) solid var(--border-focus); outline-offset: 0; }
.ja-menu-toggle svg { width: 18px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.ja-menu-toggle .ja-x { display: none; }
.ja-header.is-open .ja-menu-toggle .ja-burger { display: none; }
.ja-header.is-open .ja-menu-toggle .ja-x { display: block; }
/* Expanded mobile/tablet navigation (Figma "Navigation Panel").
   Full display height below the header bar; slides in from the right (the Menu button's side).
   bundle.js sets --ja-menu-top (the header bar's bottom edge), locks page scroll and keeps focus in the header.
   No border: the header bar's bottom border separates it. Links: Figma 24px labels, 32 apart,
   padding 24 / 40 -> 48px targets + 8 gap (same 56 pitch), block padding 12 / 28. */
.ja-mobile-nav {
  position: fixed;
  top: var(--ja-menu-top, 81px);
  right: 0; bottom: 0; left: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--surface-page);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform var(--ja-duration-menu) var(--ja-ease), visibility 0s linear var(--ja-duration-menu);
}
.ja-header { --ja-duration-menu: 300ms; }
.ja-header.is-open .ja-mobile-nav {
  transform: none;
  visibility: visible;
  transition: transform var(--ja-duration-menu) var(--ja-ease), visibility 0s;
}
@media (prefers-reduced-motion: reduce) {
  .ja-mobile-nav, .ja-header.is-open .ja-mobile-nav { transition: none; }
}
.ja-mobile-nav ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-8);
  margin: 0;
  padding-block: clamp(12px, 4.0712vw - 3.267px, 28px);   /* 12 at 375 → 28 at 768 */
  list-style: none;
}
.ja-mobile-nav a {
  display: inline-flex; align-items: center; min-height: var(--control-min-height);
  color: var(--text-link); text-decoration: none;
  transition: color var(--ja-duration-hover) var(--ja-ease);
}
/* Arrow: a separate flex item, so it never wraps away from the label and stays out of the current-page underline. */
.ja-mobile-nav a .ja-arrow { margin-left: 0.25em; }
.ja-mobile-nav a:hover, .ja-mobile-nav a:active { color: var(--text-link-hover); }
.ja-mobile-nav a[aria-current="page"] {
  color: var(--text-link-hover);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.ja-mobile-nav a:focus-visible { outline: var(--stroke-focus) solid var(--border-focus); outline-offset: 0; }
@media (min-width: 1024px) {   /* breakpoint-desktop: where the nav fits on one line */
  .ja-nav { display: block; }
  .ja-menu-toggle, .ja-mobile-nav, .ja-header.is-open .ja-mobile-nav { display: none; }
}


/* ===== components/StatisticGrid/style.css ===== */
/* Just Ask. — StatisticGrid styles. Needs foundations (tokens.css + components/bundle.css). */
/* ---------- 07 Statistic item + collection ---------- */
/* Fluid (Nov 20): no media queries. The grid is intrinsic: as many 320px-minimum columns as fit, capped at
   --ja-stat-cols (3; 2 for two or four stats, or the `columns` field). 1 column at 375, 2 at 768, 3 at 1440. */
.ja-stats { position: relative; overflow: hidden; padding-bottom: max(var(--ja-section), 64px); }
.ja-stats > .ja-container { position: relative; z-index: 1; }
.ja-stats .ja-h2 { margin-top: 24px; }
.ja-stats__intro { margin-top: 24px; max-width: 1080px; }
.ja-stats__grid {
  --ja-stat-cols: 3;
  --ja-stat-gap: clamp(12px, 7.775px + 1.1268vw, 24px);
  container: ja-stats / inline-size;
  display: grid; gap: var(--ja-stat-gap);
  margin: clamp(32px, 26.366px + 1.5023vw, 48px) 0 0; padding: 0; list-style: none;
  grid-template-columns: repeat(auto-fit, minmax(max(min(100%, 320px), calc((100% - (var(--ja-stat-cols) - 1) * var(--ja-stat-gap)) / var(--ja-stat-cols))), 1fr));
}
/* Columns (ACF `columns`): auto = at most 2 for 2 or 4 stats (2 × 2), 3 otherwise. Modifiers win. */
.ja-stats__grid:where(:has(> .ja-stat:nth-child(2):last-child), :has(> .ja-stat:nth-child(4):last-child)) { --ja-stat-cols: 2; }
.ja-stats--cols-2 .ja-stats__grid { --ja-stat-cols: 2; }
.ja-stats--cols-3 .ja-stats__grid { --ja-stat-cols: 3; }
.ja-stat {
  padding: clamp(24px, 21.183px + 0.7512vw, 32px);
  border: var(--stroke-border) solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--surface-statistic);
}
/* Cards side by side keep an even height floor (252 → 280); a single column hugs its content. */
@container ja-stats (min-width: 664px) { .ja-stat { min-height: clamp(252px, 220px + 4.1667vw, 280px); } }
.ja-stat__value { display: block; color: var(--blue); }
.ja-stat__rule { display: block; width: 40px; height: var(--stroke-thin-accent); margin: 16px 0; background: var(--graphic-accent); }
.ja-stat__label { margin: 0; color: var(--text-default); }
/* Optional trailing ActionLink (show_link): 36 → 52 puts the text 32 → 48 below the grid (the link box adds 4). */
.ja-stats__link { margin-top: clamp(36px, 30.366px + 1.5023vw, 52px); }
/* Brain pattern: grows 660 → 900 wide and drifts right with the page (35 at 375, 304 at 768, 50% + 58 from 1440). */
.ja-stats .ja-pattern {
  --ja-pattern-ink: var(--pale-blue); opacity: .7;
  width: clamp(660px, 575.493px + 22.5352vw, 900px); aspect-ratio: 3 / 2; height: auto;
  left: max(35px, min(69.77vw - 226.6px, 50% + 58px));
  bottom: clamp(-176px, -86.761px - 6.1972vw, -110px);
}

/* ---------- Optional findings rows (Nov 20, from The Movement; off by default). Needs PullQuote (finding variant). ---------- */
/* Findings: "What clinicians told us" — each finding paired with the quote that backs it. */
.ja-findings { margin-top: clamp(48px, 42.366px + 1.5023vw, 64px); border-top: 1px solid var(--sky); }
.ja-finding { display: grid; gap: var(--space-24); padding-block: var(--space-32); border-bottom: 1px solid var(--sky); }
.ja-finding__text { margin-top: var(--space-8); }
@container ja-content (min-width: 54rem) {
  .ja-finding { grid-template-columns: 6fr 5fr; column-gap: var(--space-80); align-items: center; padding-block: var(--space-48); }
}


/* ===== components/StepCards/style.css ===== */
/* Just Ask. — StepCards styles. Needs foundations (tokens.css + components/bundle.css). Added Nov 20 from the interior-page canvas (status: in review). */
/* =====================================================================
   StepCards — numbered, linked cards for a real sequence (After the Yes)
   ===================================================================== */
.ja-step-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(16px, 13.183px + 0.7512vw, 24px); margin: var(--space-40) 0 0; padding: 0; list-style: none; }
/* A sequence is 1 column or 3, never 2 + 1: switches on the section's content width. */
@container ja-content (min-width: 54rem) { .ja-step-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ja-step-card { position: relative; display: flex; flex-direction: column; height: 100%; padding: clamp(24px, 21.183px + 0.7512vw, 32px);
  border: var(--stroke-border) solid var(--graphic-quiet); border-radius: var(--radius-md); background: var(--surface-page);
  transition: background-color var(--ja-duration-hover) var(--ja-ease), border-color var(--ja-duration-hover) var(--ja-ease); }
/* Nov 19 (review item 7, chosen): the step number is the StepNav circle (40px, 2px sky ring, muted number). With no current
   step on the hub, the cards match StepNav's "no step highlighted" state. The time label (content model: Five minutes /
   Ten minutes / At follow-up) sits beside it, muted. Hover: ring blue, number navy. */
.ja-step-card__head { display: flex; align-items: center; gap: var(--space-12); }
.ja-step-card__circle { flex: none; display: block; box-sizing: border-box; width: 40px; height: 40px; border: var(--stroke-focus) solid var(--graphic-quiet); border-radius: 50%;
  background: var(--surface-page); color: var(--text-muted); font-weight: 700; font-size: 16px; line-height: 36px; text-align: center;
  transition: border-color var(--ja-duration-hover) var(--ja-ease), color var(--ja-duration-hover) var(--ja-ease); }
.ja-step-card__time { color: var(--text-muted); }
.ja-step-card:hover .ja-step-card__circle { border-color: var(--graphic-accent); color: var(--text-default); }
.ja-step-card__title { margin-top: var(--space-24); }
.ja-step-card__title a { color: var(--text-default); text-decoration: none; }
.ja-step-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-md); } /* whole card is the link */
.ja-step-card__title a:focus-visible { outline: none; }
.ja-step-card__title a:focus-visible::after { outline: var(--stroke-focus) solid var(--border-focus); outline-offset: 2px; }
.ja-step-card__text { margin-top: var(--space-12); color: var(--text-default); }
.ja-step-card__go { display: flex; justify-content: flex-end; margin-top: auto; padding-top: var(--space-24); color: var(--text-link); transition: color var(--ja-duration-hover) var(--ja-ease); }
.ja-step-card__go .ja-arrow { width: 16px; height: 28px; }
/* Nov 20 (Jerry): a text link + arrow at the foot of each step card ("View Step 1: Diagnosing"), left-aligned like the links
   on the patient-group cards, so it's clear each card opens a full page. Visual only: the whole card stays the link (title
   ::after), this label is aria-hidden so screen readers hear the title once. Last word + arrow never split (ja-nowrap).
   Blue on white 4.63:1; card hover underlines the label (navy on pale blue). */
.ja-step-card__go { justify-content: flex-start; font-weight: 600; font-size: 18px; line-height: 28px; color: var(--text-link-on-tint); }
.ja-step-card__go .ja-arrow { width: 11px; height: 20px; margin-left: 4px; }
.ja-step-card:hover .ja-step-card__go-text { text-decoration: underline; text-underline-offset: 3px; }
/* Hover: pale-blue fill + blue edge. Blue is 4.6:1 on white and 4.0:1 on pale blue (above the 3:1 non-text minimum),
   and stays distinct from the navy focus ring. */
.ja-step-card:hover { background: var(--surface-soft); border-color: var(--graphic-accent); }
.ja-step-card:hover .ja-step-card__go { color: var(--text-link-on-soft); }


/* ===== components/StepNav/style.css ===== */
/* Just Ask. — StepNav styles. Needs foundations (tokens.css + components/bundle.css). Added Nov 20 from the interior-page canvas (status: in review). */
/* =====================================================================
   StepNav — its own block, placed right after the PageHero on the step pages.
   No padding of its own: the hero's bottom padding sits above it, the next section's top padding below.
   Links come from one ACF options-page repeater; the current step is the link whose page is the page being viewed.
   ===================================================================== */
/* Nov 19: a stepper (numbered circles joined by a thin line) instead of thick top bars, so it no longer stacks up
   with the accent rule over the next section's H2. Circle 40px, 2px sky ring, number muted; current step: filled blue,
   white number (4.63:1). Connector 2px sky. "Step N" stays in the markup for screen readers but is visually hidden
   (the circle shows the number; its content is hidden from assistive tech with the `/ ""` alt text). */
.ja-step-nav { margin: 0; padding-bottom: clamp(24px, 18.366px + 1.5023vw, 40px); }   /* Nov 20: its own breathing room below (24 → 40), on top of the next section's top padding */
.ja-step-nav ol { --ja-stepnav-gap: clamp(12px, 7.775px + 1.1268vw, 24px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--ja-stepnav-gap); margin: 0; padding: 0; list-style: none; counter-reset: ja-step; }
.ja-step-nav li { position: relative; counter-increment: ja-step; }
.ja-step-nav li:not(:last-child)::after { content: ""; position: absolute; top: 19px; left: 52px; right: calc(12px - var(--ja-stepnav-gap)); height: 2px; background: var(--graphic-quiet); }
.ja-step-nav a { position: relative; z-index: 1; display: flex; flex-direction: column; min-height: var(--control-min-height); color: var(--text-muted); text-decoration: none;
  transition: color var(--ja-duration-hover) var(--ja-ease); }
.ja-step-nav a::before { content: counter(ja-step) / ""; display: block; box-sizing: border-box; width: 40px; height: 40px; margin-bottom: var(--space-12);
  border: var(--stroke-focus) solid var(--graphic-quiet); border-radius: 50%; background: var(--surface-page); color: var(--text-muted);
  font-weight: 700; font-size: 16px; line-height: 36px; text-align: center;
  transition: border-color var(--ja-duration-hover) var(--ja-ease), background-color var(--ja-duration-hover) var(--ja-ease); }
.ja-step-nav__num { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ja-step-nav__name { font-size: 16px; line-height: 24px; font-weight: 700; }
.ja-step-nav a:hover { color: var(--text-default); }
.ja-step-nav a:hover::before { border-color: var(--muted-navy); }
.ja-step-nav a[aria-current="page"] { color: var(--text-default); }
.ja-step-nav a[aria-current="page"]::before { background: var(--graphic-accent); border-color: var(--graphic-accent); color: var(--text-inverse); }
.ja-step-nav a:focus-visible { outline: var(--stroke-focus) solid var(--border-focus); outline-offset: 2px; }
/* StepNav has no padding of its own (the hero's bottom padding sits above it, the next section's top padding below).
   When the next block changes ground (tinted band, navy CTA, photo band), that padding sits inside the colored band, so the
   stepper would touch it: give it the section gap in white first (Nov 20). */
.ja-step-nav + :is(.ja-section--tint, .ja-cta, .ja-quote, .ja-refs) { margin-top: var(--ja-section); }


/* ===== components/TextSection/style.css ===== */
/* Just Ask. — TextSection styles. Needs foundations (tokens.css + components/bundle.css), Button; ActionLink, Callout, PullQuote, ResourceLink, ResourceCard, ListBlock, DataBars when those options are used. Added Nov 20 from the interior-page canvas (status: in review). */
/* =====================================================================
   TextSection — rule + H2 + prose, optional aside (Callout / PullQuote), subsections, resource links, action link
   ===================================================================== */
.ja-text-section__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-40); }
.ja-text-section__body { margin-top: var(--space-24); max-width: var(--ja-prose); }
.ja-text-section__sub { margin-top: var(--space-40); max-width: var(--ja-prose); }
.ja-text-section__sub .ja-h3 + * { margin-top: var(--space-12); }
.ja-text-section__sub .ja-pullquote { margin-top: var(--space-24); }
.ja-text-section__more { margin-top: var(--space-32); max-width: var(--ja-prose); }
.ja-text-section__more > .ja-link { margin-top: var(--space-8); }
/* Nov 20: resource cards closing a TextSection subsection (Treating, "Choosing a preventive treatment"): full container width,
   two columns (CardGrid's intrinsic grid), 24 under the subsection copy. ACF: a relationship field to Library items. */
.ja-card-grid__list.ja-text-section__cards { margin-top: var(--space-24); }   /* doubled class: beats CardGrid's list margin, defined later */
/* (Nov 19: resource links after a card grid were tried at full width; reverted to the 720 prose width at Jerry's call.) */
@container ja-content (min-width: 54rem) {
  .ja-text-section--aside .ja-text-section__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-64); align-items: start; }
  .ja-text-section--aside .ja-text-section__aside { margin-top: 0; padding-top: calc(var(--stroke-accent) + 24px); } /* Nov 20 (Jerry): the aside's top lines up with the H2, not the accent rule (rule + 24 gap, same as the split lede) */
}

/* Nov 20: aside beside a subsection (Treating: "Choosing a preventive treatment" + "Give it time"). The H2 and intro run full
   width; the subsection and callout share the 7/5 split below, their tops level (no rule offset). ACF: the aside's
   "align with" select = heading (default) / first subsection. */
.ja-text-section__grid--sub { margin-top: var(--space-40); }
/* Same columns as the resource cards below (CardGrid's intrinsic 2-up, 24 gap), so the subsection lines up over the first
   card and the callout over the second, and both rows stack at the same width. */
.ja-text-section--aside .ja-text-section__grid.ja-text-section__grid--sub { gap: var(--space-24); align-items: start;
  grid-template-columns: repeat(auto-fit, minmax(max(min(100%, 300px), calc((100% - var(--space-24)) / 2)), 1fr)); }
.ja-text-section__grid--sub > .ja-text-section__sub { margin-top: 0; }
@container ja-content (min-width: 54rem) {
  .ja-text-section--aside .ja-text-section__grid--sub .ja-text-section__aside { padding-top: 0; }
}

/* TextSection --split (Nov 19): for short, single-point sections on a tinted band (Ask About All Medications, Talking
   About the Diagnosis, Resources for Your Patients). Heading left (5 cols), a larger lede + link right (7 cols), so a
   two-sentence section reads as a deliberate statement instead of a half-empty band. No panel or image, so it never
   looks like a FeaturedResource. Lede 18/28 → 20/32 (fluid), navy. Stacks when the content box is under 54rem. */
.ja-text-section__split { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-24); }
.ja-text-section__lede { margin: 0; max-width: var(--ja-prose); font-size: var(--ja-hero-subtitle-size); line-height: var(--ja-hero-subtitle-lh); }
.ja-text-section__lead .ja-text-section__more { margin-top: var(--space-24); }
@container ja-content (min-width: 54rem) {
  .ja-text-section__split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-64); align-items: start; }
  .ja-text-section__lead { padding-top: calc(var(--stroke-accent) + 24px); }   /* lede's first line sits level with the H2 (accent rule + 24 gap; 3px since Nov 20) */
  /* Nov 20 (tip band option F, chosen): a 1px sky rule between the columns, from the top of the accent rule down, so heading and
     lede read as one unit. */
  .ja-text-section__split { gap: var(--space-48); }
  .ja-text-section__lead { align-self: stretch; padding-left: var(--space-48); border-left: var(--stroke-border) solid var(--graphic-quiet); }
}
/* Section-ending action buttons: a button where a section leads to another page. */
.ja-text-section__more > .ja-button { margin-top: var(--space-8); }


/* ===== components/Timeline/style.css ===== */
/* Just Ask. — Timeline styles. Needs foundations (tokens.css + components/bundle.css). Added Nov 20 from the interior-page canvas (status: in review). */
/* =====================================================================
   Timeline — ordered checkpoints (When to Check In)
   ===================================================================== */
/* Nov 20 redesign: no circles or connecting line, so it no longer echoes the StepNav stepper right above it on the step
   pages. Each checkpoint is a card (white on a tinted section, clinical tint on white) with a blue chevron in the gap
   pointing to the next one: right when they sit side by side, down when stacked. The card's timing line is the point,
   so it is SemiBold navy. Switches on the section's content width (54rem), like StepCards. */
.ja-timeline { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-40); margin: clamp(40px, 37.183px + 0.7512vw, 48px) 0 0; padding: 0; list-style: none; }
.ja-timeline > li { position: relative; display: flex; flex-direction: column; padding: clamp(24px, 21.183px + 0.7512vw, 32px);
  border-radius: var(--radius-md); background: var(--surface-statistic); }
.ja-section--tint .ja-timeline > li { background: var(--surface-page); }
.ja-timeline__text { margin-top: var(--space-12); font-weight: 600; }
.ja-timeline > li:not(:last-child)::after {   /* chevron to the next checkpoint (decorative) */
  content: ""; position: absolute; left: 50%; bottom: -27px; width: 12px; height: 12px;
  border: solid var(--graphic-accent); border-width: 0 var(--stroke-thin-accent) var(--stroke-thin-accent) 0;
  transform: translateX(-50%) rotate(45deg); }
@container ja-content (min-width: 54rem) {
  .ja-timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-48); }
  .ja-timeline > li:not(:last-child)::after { left: auto; bottom: auto; top: 50%; right: -30px; transform: translateY(-50%) rotate(-45deg); }
}
.ja-timeline-note { margin-top: var(--space-32); max-width: var(--ja-prose); color: var(--text-muted); }


/* ===== components/TreatmentEvidence/style.css ===== */
/* Just Ask. — TreatmentEvidence styles. Needs foundations (tokens.css + components/bundle.css) and components/ActionLink/style.css. */
/* ---------- 10b Treatment + evidence statistic ---------- */
/* Fluid (Nov 20): spacing and bracket size scale (tablet values reached by 768); the text | evidence split is a
   container query on the section (`ja-treatment`, 64rem). No media queries. */
.ja-treatment { container: ja-treatment / inline-size; background: var(--surface-soft); }
.ja-treatment__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(30px, 20.458px + 2.5445vw, 40px); }
.ja-treatment__text .ja-prose { margin-top: 24px; }
.ja-treatment__text .ja-link { margin-top: clamp(14px, 4.458px + 2.5445vw, 24px); }
.ja-evidence {
  --ja-arm: clamp(12px, 0.550px + 3.0534vw, 24px);   /* bracket arms 12 → 24 */
  position: relative;
  margin: 0;
  padding: 0 clamp(28px, 1.282px + 7.1247vw, 56px);
  color: var(--text-default);
}
.ja-evidence::before, .ja-evidence::after {   /* evidence brackets: 3px bars */
  content: ""; position: absolute; top: -3px; bottom: -3px; width: var(--ja-arm);
  border: var(--stroke-thin-accent) solid var(--graphic-accent);
}
.ja-evidence::before { left: 0; border-right: 0; }
.ja-evidence::after { right: 0; border-left: 0; }
.ja-evidence__value { display: block; color: var(--blue); }
.ja-evidence__text { margin: clamp(24px, 23.296px + 0.1878vw, 26px) 0 0; }
@container ja-treatment (min-width: 64rem) {
  .ja-treatment__grid { grid-template-columns: minmax(0, 464fr) minmax(0, 736fr); column-gap: clamp(40px, 25.915px + 3.7559vw, 80px); align-items: center; }
}


/* ===== src/site.css (review build) ===== */
/* Just Ask. — review-build additions. Everything else comes from the design system.
   Keep this file small: placeholder treatment, a few glue classes for the static build,
   and media queries only where a layout breaks while the window shrinks. */

.ja-pattern { --ja-pattern-url: url("../img/pattern-brain.svg"); }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: hidden; }
img { max-width: 100%; }
[hidden] { display: none !important; }
:target { scroll-margin-top: 96px; }

/* Skip link */
.ja-skip { position: absolute; left: 8px; top: -60px; z-index: 100; padding: 12px 16px; background: var(--navy); color: #fff; font: 600 16px/24px var(--font-sans); border-radius: var(--radius-sm); }
.ja-skip:focus { top: 8px; }

/* ---------- FPO: the shared placeholder photo gets a tint and a centred "FPO" in primary blue ---------- */
:where(.ja-fpo) { position: relative; overflow: hidden; }
.ja-fpo__label {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  background: rgba(227, 241, 249, 0.72);            /* pale-blue tint layer */
  color: var(--blue);                                /* primary blue */
  font-family: var(--font-sans); font-weight: 800; letter-spacing: 0.08em;
  font-size: clamp(40px, 6vw, 88px); line-height: 1;
  pointer-events: none; border-radius: inherit;
}
.ja-fpo--hero { border-radius: var(--radius-media); }
.ja-fpo--hero .ja-page-hero__img { border-radius: 0; }
/* Quote band: keep the label in the visible part of the photo, above the card */
.ja-fpo--band .ja-fpo__label { align-items: flex-start; padding-top: clamp(64px, 10vw, 120px); }
@container ja-quote (min-width: 56rem) { .ja-fpo--band .ja-fpo__label { align-items: center; justify-content: center; padding: 0 0 0 46%; } }
.ja-fpo--band .ja-fpo__label { z-index: 0; }
.ja-quote__inner { z-index: 1; }
.ja-featured__preview.ja-fpo .ja-fpo__label { font-size: clamp(36px, 4vw, 64px); }

/* ---------- Glue for pieces the artifact composed inline ---------- */
.ja-qpanel__actions { margin-top: var(--space-24); padding-left: var(--space-32); }
.ja-callout__more { margin-top: var(--space-16); }
.ja-callout .ja-pullquote { background: transparent; }
.ja-partners--strip { padding-block: var(--space-32); }
.ja-partners--strip .ja-partners__logos { margin-top: 0; }
.ja-partner img { width: auto; }
.ja-page-hero__img { height: auto; }
.ja-cta__buttons { display: flex; flex-wrap: wrap; gap: var(--space-16); }
.ja-text-section__more .ja-link, .ja-card-grid__after > .ja-link { display: inline-block; }
.ja-results-grid, .ja-card-grid__list { min-width: 0; }

/* Placeholder notice (share / social / pending downloads) */
.ja-toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 200; transform: translate(-50%, 20px);
  max-width: min(92vw, 480px); padding: 14px 20px; border-radius: var(--radius-md);
  background: var(--navy); color: #fff; font: 500 15px/22px var(--font-sans);
  box-shadow: 0 8px 24px rgba(7, 42, 89, .25); opacity: 0; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.ja-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Long words / URLs never force sideways scroll */
.ja-root h1, .ja-root h2, .ja-root h3, .ja-root p, .ja-root li { overflow-wrap: break-word; }

/* ---------- Media queries: only where content breaks on window shrink ---------- */

/* Long statistic values ("57.5–63.6%") stay on one line and scale down instead of breaking mid-range */
.ja-stat__value--long { white-space: nowrap; font-size: clamp(36px, 5vw, 80px); line-height: 1.15; }

/* Hero face grid fills windows wider than 1440 (design grid is 24 columns; we render 48) */
.ja-facegrid { width: calc(var(--ja-pitch) * 48); grid-template-columns: repeat(48, var(--ja-pitch)); }

/* DataBars (The Movement, diagnosis gap): bars grow and numbers count up once, when scrolled into view.
   Without JS, or with reduced motion, the bars simply show at full value. */
.ja-bar__value { font-variant-numeric: tabular-nums; }
.ja-bars.is-armed .ja-bar__fill { transform: scaleX(0); transform-origin: left center; transition: transform 1.4s cubic-bezier(.22, .61, .36, 1); }
.ja-bars.is-armed .ja-bar:nth-child(2) .ja-bar__fill { transition-delay: .15s; }
.ja-bars.is-armed .ja-bar:nth-child(3) .ja-bar__fill { transition-delay: .3s; }
.ja-bars.is-armed.is-in .ja-bar__fill { transform: scaleX(1); }

/* ---------- Header: After the Yes dropdown (desktop) + indented sub-links (mobile menu) ---------- */
.ja-nav a.is-section { color: var(--text-link); }
.ja-nav__item--sub { position: relative; display: flex; align-items: center; }
.ja-nav__subtoggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; min-height: var(--control-min-height); margin-left: 2px; padding: 0;
  border: 0; background: none; color: var(--text-default); cursor: pointer;
}
.ja-nav__subtoggle:focus-visible { outline: var(--stroke-focus) solid var(--border-focus); }
.ja-chev { width: 12px; height: 8px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .2s ease; }
.ja-subnav {
  position: absolute; top: calc(100% + 4px); left: -20px; z-index: 30;
  min-width: 260px; margin: 0; padding: 8px 0; list-style: none;
  background: var(--surface-page); border: 1px solid var(--graphic-quiet); border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(7, 42, 89, .12);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .15s ease, transform .15s ease, visibility 0s linear .15s;
}
.ja-subnav::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }  /* hover bridge */
.ja-subnav a { display: flex; width: 100%; box-sizing: border-box; padding: 4px 20px; }
.ja-subnav a:hover { background: var(--surface-soft); }
.ja-nav__item--sub:hover .ja-subnav, .ja-nav__item--sub.is-open .ja-subnav {
  opacity: 1; visibility: visible; transform: none; transition: opacity .15s ease, transform .15s ease, visibility 0s;
}
.ja-nav__item--sub:hover .ja-chev, .ja-nav__item--sub.is-open .ja-chev { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) { .ja-subnav, .ja-chev { transition: none; } }

.ja-mobile-subnav { list-style: none; margin: 0; padding: 0 0 0 var(--space-24) !important; gap: 0 !important; border-left: 2px solid var(--graphic-quiet); }
.ja-mobile-subnav a { font-size: 16px; font-weight: 500; min-height: 40px; }

/* Contact: social icons — navy circle, white icon; the circle turns action blue (#2b79b9, the button color) on hover/focus */
.ja-social__link { background: var(--navy); color: var(--white); transition: color var(--ja-duration-hover) var(--ja-ease), background-color var(--ja-duration-hover) var(--ja-ease); }
.ja-social__link:hover, .ja-social__link:focus-visible { background: var(--action-primary-default); color: var(--white); }
.ja-social__link svg { width: 22px; height: 22px; fill: currentColor; }
