/* October simplification: shared, compact layout and intrinsic-width fixes. */
:root { --header-offset: 104px; }
html { scroll-padding-top: var(--header-offset); }
body, #nordif-dashboard, #nordif-dashboard .nif-chart-svg text { font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; }
[hidden] { display: none !important; }
section, [id] { scroll-margin-top: 16px; }
:focus:not(:focus-visible) { outline: none; }
:focus-visible { outline: 3px solid #009d79; outline-offset: 5px; }
.container { min-width: 0; }
.header-inner { min-height: 86px; padding-block: 13px; gap: 22px; }
.brand { min-width: 0; gap: 4px; }
.brand-tagline { font-size: .75rem; }
/* Display the original wordmark consistently at every size. The underlying
   delivery copy preserves the entire supplied artwork, including the slogan. */
.brand-crop, #results .map-brand .brand-crop { width: 176px; height: auto; aspect-ratio: 1210 / 290; flex-shrink: 0; }
.brand-crop img, #results .map-brand .brand-crop img { position: absolute; width: 119.6694%; height: auto; max-width: none; left: -9.9174%; top: -126.2069%; }
.nav-cta { min-height: 44px; padding: 10px 15px; white-space: nowrap; font-size: .875rem; border-bottom-width: 2px; box-shadow: none; }
.site-nav { gap: 20px; }
.site-nav a { min-height: 44px; display: inline-flex; align-items: center; }
.hero { gap: 48px; grid-template-columns: minmax(0,1.08fr) minmax(0,1fr); }
.hero h1.hero-title-final { font-size: clamp(2.35rem,3.25vw,3.1rem); line-height: 1.13; letter-spacing: -.045em; text-wrap: balance; }
.hero-detail { margin-top: 22px; }
.hero-actions { gap: 20px; }
.hero-actions .text-link { display: inline-flex; align-items: center; min-height: 44px; }
.button.test-button { min-height: 50px; padding: 13px 24px; }
.section, .method-section { padding-block: 64px; }
.section-heading { gap: 50px; }
.service-grid { margin-top: 30px; }
.service-item { padding: 24px; }
.service-item h3 { margin-block: 12px; font-size: 1.4rem; }
.service-item > p { margin-bottom: 20px; }
.service-outcome span { color: #49656b; }
.method-grid { grid-template-columns: minmax(0,.9fr) minmax(0,1.15fr); gap: 70px; }
.process-detail { display: inline-flex; min-height: 44px; align-items: center; margin-top: 16px; }
.steps p a { color: #006b53; text-underline-offset: 3px; }
.steps p { margin-top: 7px; }
.about-section { gap: 65px; grid-template-columns: minmax(0,1.15fr) minmax(0,.9fr); }
.about-copy > p.about-location { display: flex; align-items: center; gap: 9px; margin-top: 22px; color: var(--ink); font-size: .9375rem; font-weight: 600; line-height: 1.5; }
.about-location svg { flex: 0 0 20px; color: var(--green); }
.about-location span { min-width: 0; }
.about-profile { padding: 28px; }
.confidentiality { margin-top: 20px; padding-top: 18px; border-top: 1px solid #bfd6d0; }
.confidentiality h3 { font-size: 1.05rem; }
.confidentiality p { margin-top: 8px; font-size: .9375rem; }
.contact-section { border-top: 1px solid var(--line); grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 60px; }
.contact-card { min-height: 100px; padding: 18px 22px; }
.contact-card-text { min-width: 0; }
.contact-card-text strong { overflow-wrap: anywhere; }
.footer-inner { padding-block: 30px; }
.footer-nav { gap: 2px; }
.footer-nav a { padding-block: 6px; }
.footer-bottom { padding-block: 0 20px; color: var(--muted); }
.footer-name { white-space: nowrap; }
/* All slides share one constrained track; hidden slides cannot force page width. */
#nordif-dashboard .dashboard-track { grid-template-columns: minmax(0,1fr); min-width: 0; }
#nordif-dashboard .nif-screen, #nordif-dashboard .nif-screen > *,
#nordif-dashboard .nif-choice-main, #nordif-dashboard .nif-bar-label > span,
#nordif-dashboard .nif-heading-row > div { min-width: 0; }
#nordif-dashboard .nif-bar-label { flex-wrap: wrap; gap: 3px 8px; }
#nordif-dashboard .nif-bar-label > span { overflow-wrap: break-word; }
#nordif-dashboard .nif-loan-note { white-space: normal; }
#nordif-dashboard .nif-focus-label { flex-wrap: wrap; gap: 4px 8px; }
#nordif-dashboard.is-enhanced .nif-screen { transition: none; }
#nordif-dashboard .nif-chart-svg { width: 100%; max-width: 100%; }
.test-page .check-section { min-height: 620px; gap: 55px; }
.check-intro h1 { font-size: clamp(2.2rem,4vw,3.1rem); }
.test-page .check-section.has-results { min-height: 0; }
#results .map-brand { margin-bottom: 24px; flex-wrap: wrap; }
#results .map-brand > span:last-child { font-size: .875rem; }
#results .map-actions { flex-wrap: wrap; }
.share-result { display: flex; align-items: flex-start; gap: 10px; margin-top: 20px; font-size: .9375rem; line-height: 1.45; cursor: pointer; max-width: 600px; }
.share-result input { width: 20px; height: 20px; flex-shrink: 0; margin: 2px 0 0; accent-color: var(--green); }
.share-help { font-size: .8125rem; color: #49626c; margin: 7px 0 18px; }
.diagnosis-email { display: inline-flex; min-height: 44px; align-items: center; margin: 10px 0 0 20px; }
.text-page { max-width: 850px; padding-block: 64px; }
.text-page h1 { font-size: clamp(2.4rem,5vw,3.5rem); }
.text-page .text-lead { font-size: 1.125rem; margin-block: 22px 32px; }
.text-page h2 { font-size: 1.45rem; margin: 30px 0 12px; }
.text-page p { color: var(--muted); }
.text-page p a { color: #006b53; overflow-wrap: anywhere; }
.text-page .button { margin-top: 24px; }
.error-page { min-height: 55vh; }
@media (max-width: 1180px) {
  .site-nav { gap: 6px 22px; }
  .menu-toggle { min-height: 44px; }
}
@media (max-width: 950px) {
  .hero, .method-grid, .about-section, .contact-section { grid-template-columns: minmax(0,1fr); gap: 30px; }
  .hero-copy { max-width: 720px; }
  .hero h1.hero-title-final { max-width: 690px; }
  .hero { padding-block: 30px 40px; }
  .about-profile { max-width: none; }
  .test-page .check-section { gap: 28px; min-height: 0; }
}
@media (max-width: 600px) {
  :root { --header-offset: 84px; }
  .container { width: calc(100% - 32px); }
  .header-inner { display: flex; flex-wrap: wrap; min-height: 68px; padding-block: 10px; gap: 10px; }
  .header .brand-crop { width: 128px; }
  .brand-tagline { display: none; }
  .header-actions { flex-direction: row; width: auto; margin-left: auto; gap: 6px; align-items: center; }
  .nav-cta { min-height: 44px; padding: 9px 11px; font-size: .8125rem; }
  .menu-toggle { width: 44px; min-height: 44px; padding: 10px; font-size: 0; gap: 0; background: #eff6f3; border: 1px solid #c6d9d2; }
  .menu-toggle svg { width: 20px; height: 20px; }
  .site-nav { width: 100%; margin: 0; gap: 4px 15px; padding-top: 8px; }
  .site-nav a { min-height: 44px; padding: 5px 0; }
  .hero h1.hero-title-final { font-size: clamp(1.95rem,8.5vw,2.65rem); }
  .hero-detail { font-size: 1rem; margin-top: 18px; }
  .hero-actions { flex-direction: row; flex-wrap: wrap; gap: 12px 20px; margin-top: 20px; align-items: center; }
  .experience-note { margin-top: 18px; padding-top: 14px; }
  .section, .method-section { padding-block: 42px; }
  h2 { font-size: 1.9rem; }
  .section-heading { gap: 16px; }
  .service-grid { margin-top: 24px; gap: 12px; }
  .service-item { padding: 22px; }
  .service-item::before { margin-bottom: 12px; }
  .service-item h3 { font-size: 1.35rem; }
  .service-item > p { margin-bottom: 16px; }
  .service-outcome { padding-top: 14px; }
  .steps li { padding-block: 20px; }
  .contact-card { min-height: 96px; padding: 17px; gap: 13px; }
  .contact-icon { width: 44px; height: 44px; }
  .contact-card-text strong { font-size: 1rem; }
  .about-profile { padding: 23px; }
  .footer-nav a { min-height: 44px; display: inline-flex; align-items: center; }
  .footer-nav { gap: 0 20px; }
  .footer-inner { gap: 20px; }
  .test-page .check-section { padding-top: 28px; gap: 22px; }
  .check-intro > p:not(.eyebrow) { margin-top: 16px; }
  .check-panel { padding: 22px 17px; }
  #results .map-brand .brand-crop { width: 128px; }
  #results .map-brand { gap: 12px; }
  #results .map-brand > span:last-child { font-size: .75rem; padding-left: 12px; }
  #results .map-actions .button { min-height: 50px; }
  .diagnosis-email { margin-left: 0; display: flex; }
  .text-page { padding-block: 40px; }
  .text-page h2 { font-size: 1.35rem; }
}
@media (max-width: 350px) {
  .header .brand-crop { width: 112px; }
  .nav-cta { padding-inline: 9px; }
}
@media print {
  .share-result, .share-help { display: none; }
}
