/* IFABER — shared finishing layer, 2026-11-05.
 * Load after the existing page styles and knowledge-reading.css.
 * Local fonts already provided by ifaber.css: Manrope 400/600,
 * Cormorant 400/600, including Latin Extended / Polish glyphs.
 * No content, visibility, booking state or questionnaire behaviour is changed.
 * !important is limited to legacy-locked type/colour/container properties.
 * Deliberately no !important on margin or padding: CMS spacing wins.
 */

html body.ifm-site {
  --ifc-wine: #702b40;
  --ifc-wine-hover: #542033;
  --ifc-ink: #47383e;
  --ifc-muted: #6b5960;
  --ifc-paper: #fbf7ee;
  --ifc-card: #fffdf9;
  --ifc-rose: #f3e9e7;
  --ifc-sand: #eee6dc;
  --ifc-line: #dbc9c9;
  --ifc-focus: #97506a;
  --ifc-width: 1180px;
  --ifc-gutter: 32px;
  --ifc-reading: 740px;
  --ifc-section: clamp(56px, 5.3vw, 80px);
  --ifc-gap: clamp(24px, 3.4vw, 48px);
  --ifc-radius: 14px;
  --ifc-radius-small: 8px;
  --ifc-body-size: 17px;
  --ifc-leading: 1.75;
  --ifc-display: Cormorant, Georgia, serif;
  --ifc-body: Manrope, Arial, sans-serif;
  --ifc-h1: clamp(42px, 4.9vw, 64px);
  --ifc-h2: clamp(34px, 3.6vw, 46px);
  --ifc-h3: clamp(22px, 2.1vw, 26px);
  --ifc-shadow: 0 6px 25px rgb(70 32 43 / 4%);
  --if-width: var(--ifc-width);
  --if-gutter: var(--ifc-gutter);
  --if-section: var(--ifc-section);
  --if-gap: var(--ifc-gap);
  --if-radius: var(--ifc-radius);
  --if-display: var(--ifc-display);
  --if-body: var(--ifc-body);
  --if-h1: var(--ifc-h1);
  --if-h2: var(--ifc-h2);
  --if-h3: var(--ifc-h3);
  --if-paper: var(--ifc-paper);
  --if-surface: var(--ifc-rose);
  --if-border: var(--ifc-line);
  --layout-width: var(--ifc-width);
  --layout-gutter: var(--ifc-gutter);
  --paper: var(--ifc-paper);
  --soft: var(--ifc-sand);
  --ink: var(--ifc-ink);
  --text: var(--ifc-ink);
  --wine: var(--ifc-wine);
  --muted: var(--ifc-muted);
  --line: var(--ifc-line);
  --font-display: var(--ifc-display);
  --ifk-ink: var(--ifc-ink);
  --ifk-wine: var(--ifc-wine);
  --ifk-cream: var(--ifc-paper);
  --ifk-line: var(--ifc-line);
  --ifk-muted: var(--ifc-muted);
  background: var(--ifc-paper);
  color: var(--ifc-ink);
  font-family: var(--ifc-body);
  font-size: var(--ifc-body-size);
  line-height: var(--ifc-leading);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* The same page edge across static pages, generated articles and native tools. */
html body.ifm-site :is(.commerce-wrap, .legal-document-shell, .sh-wrap) {
  box-sizing: border-box;
  width: calc(100% - var(--ifc-gutter) * 2);
  max-width: var(--ifc-width);
  margin-inline: auto;
  min-width: 0;
}
html body.ifm-site #main .shell:not(.narrow) { max-width: var(--ifc-width); }
/* This introduction had an isolated 1040px !important shell in the legacy sheet. */
html body.ifm-site #main .if-about-hero.shell { width: calc(100% - var(--ifc-gutter) * 2) !important; max-width: var(--ifc-width) !important; }
html body.ifm-site #main :is(.shell, .commerce-wrap, .legal-document-shell, .sh-wrap) > * { min-width: 0; }
html body.ifm-site #main :is(p, li, dd) { overflow-wrap: break-word; }
html body.ifm-site #main :is(img, video) { max-width: 100%; }
html body.ifm-site #main :is(h1, h2) {
  font-family: var(--ifc-display) !important;
  font-weight: 600 !important;
  letter-spacing: -.025em !important;
  text-wrap: pretty;
}
html body.ifm-site #main h1 { font-size: var(--ifc-h1) !important; line-height: 1.08 !important; }
html body.ifm-site #main h2 { font-size: var(--ifc-h2) !important; line-height: 1.15 !important; }
html body.ifm-site #main h3 {
  font-family: var(--ifc-body) !important;
  font-size: var(--ifc-h3) !important;
  line-height: 1.35 !important;
  letter-spacing: -.018em !important;
  font-weight: 600 !important;
}
html body.ifm-site #main :is(.section-intro, .section-top, .prose, .area-list, .process,
  .if-personal-story-copy, .if-about-story, .if-about-method, .if-about-centre,
  .if-consultation-intro, .if-consultation-details, .if-approach-cards,
  .if-story-place, .ifm-place, .if-publication, .ifk-prose) p:not(.eyebrow):not([class*="meta"]):not([class*="note"]):not([class*="status"]) {
  font-family: var(--ifc-body) !important;
  font-size: var(--ifc-body-size) !important;
  line-height: var(--ifc-leading) !important;
  letter-spacing: 0;
}
html body.ifm-site #main :is(.lead, .if-story-copy > .lead, .ifk-hero .lead, .ifk-article-heading .lead) {
  font-family: var(--ifc-body) !important;
  font-size: 19px !important;
  line-height: 1.7 !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  max-width: 62ch;
  color: var(--ifc-muted);
}
html body.ifm-site #main :is(.eyebrow, .nb-eyebrow, .crm-contact-eyebrow,
  .commerce-eyebrow, .legal-document-eyebrow, .sh-eyebrow, .growth-reading__eyebrow) {
  font-family: var(--ifc-body) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  letter-spacing: .11em !important;
  text-transform: uppercase;
}
html body.ifm-site #main :is(.section-top, .section-intro) { margin-bottom: 32px; }
html body.ifm-site #main :is(.section-top, .faq-layout, .personal-layout,
  .if-consultation-intro, .if-story-heading > .shell, .if-about-story-grid,
  .if-approach-hero > .shell, .ifm-place-grid, .ifm-guide > .shell) { gap: var(--ifc-gap); }
html body.ifm-site #main :is(.page-heading, .ifk-hero, .ifk-article-heading,
  .if-about-intro, .if-approach-hero, .if-story-heading) { border-color: var(--ifc-line); }
html body.ifm-site #main > :is(.ifk-hero, .ifk-article-heading, .nb-page-intro) { padding-block: 40px 48px; }
html body.ifm-site #main > .page-heading h1 { max-width: 24ch; }
html body.ifm-site #main :is(.if-story-copy, .if-approach-intro, .if-about-hero-copy) h1 { max-width: 19ch; }
html body.ifm-site #main .prose { max-width: 68ch; }
html body.ifm-site #main :is(.prose, .ifk-prose) :is(p, li) { font-size: var(--ifc-body-size); line-height: 1.8; }
html body.ifm-site #main :is(.prose, .ifk-prose) h2 { margin-block: 36px 18px; font-size: clamp(30px, 3vw, 38px) !important; }
html body.ifm-site #main .prose h2:first-child { margin-top: 0; }
html body.ifm-site #main :is(.prose, .ifk-prose) h3 { margin-block: 28px 14px; font-size: 23px !important; }

/* Actions: predictable hit areas, legible primary/secondary states, no icon resets. */
html body.ifm-site :is(a, button, input, textarea, select, summary):focus-visible {
  outline: 3px solid var(--ifc-focus);
  outline-offset: 4px;
}
html body.ifm-site :is(.button, .commerce-button, .nb-submit, .sh-contact-link) {
  min-height: 48px !important;
  border-radius: var(--ifc-radius-small) !important;
  font-family: var(--ifc-body) !important;
  font-size: 15px !important;
  font-weight: 600;
  line-height: 1.5;
  white-space: normal;
  text-decoration: none;
  box-shadow: none;
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
html body.ifm-site .button:not(.light) { background: var(--ifc-wine); border-color: var(--ifc-wine); color: var(--ifc-card); }
html body.ifm-site .button:not(.light):hover { background: var(--ifc-wine-hover); border-color: var(--ifc-wine-hover); transform: none; }
html body.ifm-site #main .text-link { min-height: 48px; font-size: 15px !important; line-height: 1.5; }
html body.ifm-site #main :is(.text-link, .ifk-link-pair a, .ifk-topic-next a, .centre-link) {
  text-underline-offset: .25em;
  text-decoration-thickness: 1px;
}
html body.ifm-site #main :is(input, select, textarea) {
  font-family: var(--ifc-body);
  font-size: 16px;
  line-height: 1.5;
  border-radius: var(--ifc-radius-small);
  accent-color: var(--ifc-wine);
}
html body.ifm-site #main textarea { resize: vertical; }

/* Header and footer retain the supplied outlined logo and menu state logic. */
html body.ifm-site .site-header.shell {
  min-height: 88px;
  background: var(--ifc-paper);
  border-bottom-color: var(--ifc-line);
  box-shadow: 0 2px 12px rgb(70 32 43 / 3%);
  gap: 24px;
}
html body.ifm-site .site-header .navigation { gap: 22px; }
html body.ifm-site .site-header .navigation > a:not(.button) {
  color: var(--ifc-ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
}
html body.ifm-site .site-header .navigation > a:not(.button):is(:hover, [aria-current="page"]) { color: var(--ifc-wine); }
html body.ifm-site .menu-toggle { border-color: var(--ifc-line); color: var(--ifc-wine); min-height: 48px; border-radius: var(--ifc-radius-small); }
html body.ifm-site .site-footer { background: var(--ifc-paper); color: var(--ifc-muted); border-top: 1px solid var(--ifc-line); padding-block: 44px 30px; }
html body.ifm-site .footer-top { align-items: center; gap: 26px; padding-bottom: 30px; border-color: var(--ifc-line); }
html body.ifm-site .footer-top > p { font-size: 15px; line-height: 1.65; }
html body.ifm-site .footer-top .centre-link { color: var(--ifc-wine); font-size: 14px; min-height: 44px; display: inline-flex; align-items: center; }
html body.ifm-site .footer-bottom { padding-top: 26px; gap: 20px; font-size: 13px; }
html body.ifm-site .footer-bottom nav { gap: 12px 28px; }
html body.ifm-site .footer-bottom nav a { min-height: 36px; font-size: 14px; line-height: 1.6; text-underline-offset: .3em; }
html body.ifm-site .if-social { border-color: var(--ifc-line); }
html body.ifm-site .if-social-channel { border-color: var(--ifc-line); color: var(--ifc-wine); border-radius: var(--ifc-radius-small); }
html body.ifm-site .mobile-contact { background: var(--ifc-paper); border-color: var(--ifc-line); gap: 16px; }
html body.ifm-site .mobile-contact .button { min-height: 48px !important; }

/* Homepage: one editorial scale; preserve the character illustration/animation. */
html body.ifm-site.editorial-home #main .ifm-hero { background: var(--ifc-wine); }
html body.ifm-site.editorial-home #main .ifm-hero-grid { gap: var(--ifc-gap); align-items: center; }
html body.ifm-site.editorial-home #main .ifm-hero h1.hero-line {
  font: 600 var(--ifc-h1)/1.08 var(--ifc-display) !important;
  color: var(--ifc-paper) !important;
  max-width: 18ch;
}
html body.ifm-site.editorial-home #main .ifm-hero .hero-note { font-size: 17px !important; line-height: 1.75 !important; color: #f5e7e7 !important; }
html body.ifm-site.editorial-home #main .ifm-hero-actions { gap: 12px; align-items: stretch; }
html body.ifm-site.editorial-home #main .ifm-hero-actions > a.button { font-size: 15px !important; border-radius: var(--ifc-radius-small) !important; height: 100%; align-self: stretch; }
html body.ifm-site.editorial-home #main .if-dialogue-illustration img { max-height: 440px; }
html body.ifm-site.editorial-home #main .if-personal-story { background: var(--ifc-sand); }
html body.ifm-site.editorial-home #main :is(.if-personal-story-heading, .if-personal-story-layout) { gap: var(--ifc-gap); }
html body.ifm-site.editorial-home #main .if-personal-story-heading h2 { font-size: var(--ifc-h2) !important; font-weight: 600 !important; }
html body.ifm-site.editorial-home #main .if-personal-story-copy > p:first-of-type {
  font: 600 clamp(27px, 2.6vw, 34px)/1.4 var(--ifc-display) !important;
  color: var(--ifc-wine) !important;
}
html body.ifm-site.editorial-home #main .if-personal-story-copy p[data-cms-slot="text-017"] { font: 400 var(--ifc-body-size)/1.8 var(--ifc-body) !important; }
html body.ifm-site.editorial-home #main .if-home-form-slot { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; }
html body.ifm-site.editorial-home #main .if-home-form-slot > .crm-contact-section { width: min(820px, 100%); min-width: 0; }
html body.ifm-site.editorial-home #main .if-personal-story .ifm-credentials { gap: 30px; border-color: #cdb8b7; }
html body.ifm-site.editorial-home #main .if-personal-story .ifm-credential-copy h3 { font: 600 24px/1.25 var(--ifc-display) !important; }
html body.ifm-site.editorial-home #main .if-personal-story .ifm-credential-copy p:not(.eyebrow) { font-size: 15px !important; line-height: 1.75 !important; }
html body.ifm-site.editorial-home #main .ifm-guide-options > a { border-color: var(--ifc-line); border-radius: var(--ifc-radius); }
html body.ifm-site.editorial-home #main .ifm-guide-options > a:hover { background: var(--ifc-rose); }
html body.ifm-site.editorial-home #main .ifm-guide-options strong { font-size: 23px; line-height: 1.35; }
html body.ifm-site.editorial-home #main .ifm-guide-options p { color: var(--ifc-muted); font-size: 16px; line-height: 1.75; }

/* Secondary routes share card treatment and a readable, calm FAQ. */
html body.ifm-site #main :is(.if-approach-cards > article, .if-consultation-details > div,
  .if-about-credentials .if-detail-list > div, .if-sitemap-grid > section) {
  background: var(--ifc-card);
  border-color: var(--ifc-line);
  border-radius: var(--ifc-radius);
  box-shadow: var(--ifc-shadow);
}
html body.ifm-site #main .if-consultation-details > div:nth-child(2) { background: var(--ifc-rose); }
html body.ifm-site #main :is(.if-consultation-details, .if-about-credentials .if-detail-list) dt { font-size: 23px !important; line-height: 1.35 !important; color: var(--ifc-wine); }
html body.ifm-site #main :is(.if-consultation-details, .if-about-credentials .if-detail-list) dd { font-size: var(--ifc-body-size) !important; line-height: 1.8 !important; }
html body.ifm-site #main :is(.if-approach-cards, .if-consultation-details, .if-detail-list) { gap: 22px; }
html body.ifm-site #main .faq-list details { background: var(--ifc-card); border-color: var(--ifc-line); border-radius: var(--ifc-radius); margin-bottom: 14px; }
html body.ifm-site #main .faq-list details[open] { background: var(--ifc-card); }
html body.ifm-site #main .faq-list summary { font: 600 18px/1.5 var(--ifc-body); color: var(--ifc-ink); min-height: 64px; }
html body.ifm-site #main .faq-list details p { font-size: var(--ifc-body-size) !important; line-height: 1.8 !important; color: var(--ifc-muted); }
html body.ifm-site #main :is(.if-about-meta, figcaption, .if-publication-meta, .contact-help) { font-size: 14px !important; line-height: 1.65 !important; color: var(--ifc-muted); }
html body.ifm-site #main :is(.if-story-photo, .if-approach-room) img { border-radius: var(--ifc-radius); }

/* Contact: strong invitation followed by a usable, equally branded form. */
html body.ifm-site.editorial-site #main > .contact-band.if-contact-v2 { background: var(--ifc-wine) !important; }
html body.ifm-site.editorial-site #main > .contact-band.if-contact-v2 > .shell { gap: var(--ifc-gap); }
html body.ifm-site.editorial-site #main > .contact-band.if-contact-v2 h2 { font-size: var(--ifc-h2) !important; font-weight: 600 !important; line-height: 1.15 !important; }
html body.ifm-site.editorial-site #main > .contact-band.if-contact-v2 .if-contact-v2-copy > p:not(.eyebrow) { font-size: var(--ifc-body-size) !important; line-height: 1.8 !important; }
html body.ifm-site.editorial-site #main > .contact-band.if-contact-v2 .if-contact-v2-address { font-size: clamp(18px, 1.8vw, 23px) !important; line-height: 1.6 !important; }
html body.ifm-site .crm-contact-section {
  --crm-brand: var(--ifc-wine);
  --crm-ink: var(--ifc-ink);
  --crm-muted: var(--ifc-muted);
  --crm-line: var(--ifc-line);
  --crm-paper: var(--ifc-card);
  --crm-soft: var(--ifc-rose);
}
html body.ifm-site #main .crm-contact-section { border-radius: var(--ifc-radius); border-top-width: 3px; box-shadow: var(--ifc-shadow); }
html body.ifm-site #main .crm-contact-intro > h2 { font-size: clamp(30px, 3vw, 40px) !important; line-height: 1.2 !important; }
html body.ifm-site #main .crm-contact-intro > p:not(.crm-contact-eyebrow) { font-size: 16px; line-height: 1.75; }
html body.ifm-site #main .crm-contact-form .crm-contact-field { font-size: 14px; }
html body.ifm-site #main .crm-contact-form :is(input:not([type="checkbox"]):not([type="hidden"]), textarea) { border-radius: var(--ifc-radius-small); min-height: 50px; }
html body.ifm-site #main :is(.crm-contact-note, .crm-contact-consent, .crm-contact-alternatives) { font-size: 14px; line-height: 1.7; }
html body.ifm-site #main .crm-contact-submit-row > p { font-size: 13px; line-height: 1.6; }
html body.ifm-site #main :is(.ux-contact-practical, .ux-office-grid) { background: var(--ifc-rose); border-radius: var(--ifc-radius); }
html body.ifm-site.ux-contact-page #main .ux-contact-practical p { font-size: 15px !important; line-height: 1.75 !important; }
html body.ifm-site.ux-contact-page #main .ux-contact-practical :is(h2, h3) { font-size: 25px !important; }
html body.ifm-site.ux-contact-page #main .ux-contact-practical .ux-contact-topic > summary > h3 { font: 600 16px/1.5 var(--ifc-body) !important; }
html body.ifm-site #main .ux-contact-paths { background: var(--ifc-rose); border-color: var(--ifc-line); border-radius: var(--ifc-radius); }

/* Editorial pages, overview cards and article reading layout. */
html body.ifm-site.if-knowledge-page #main :is(.ifk-hero, .ifk-article-heading) { background: var(--ifc-paper); }
html body.ifm-site.if-knowledge-page #main .ifk-hero > .shell { gap: var(--ifc-gap); }
html body.ifm-site.if-knowledge-page #main :is(.ifk-hero h1, .ifk-article-heading h1) { max-width: 25ch; }
html body.ifm-site.if-knowledge-page #main .ifk-article-meta { font-size: 14px; line-height: 1.65; gap: 8px 20px; }
html body.ifm-site.if-knowledge-page #main .ifk-library { padding-block: 32px 64px; }
html body.ifm-site.if-knowledge-page #main .ifk-topic-nav { gap: 0; border-color: var(--ifc-line); margin-bottom: 34px; }
html body.ifm-site.if-knowledge-page #main .ifk-topic-nav a { min-height: 52px; font-size: 15px; color: var(--ifc-wine); }
html body.ifm-site.if-knowledge-page #main .ifk-topic-nav a:is(:hover, [aria-current]) { background: var(--ifc-rose); }
html body.ifm-site.if-knowledge-page #main .ifk-article-row { grid-template-columns: 145px minmax(0, 1fr) 75px; gap: 28px; padding-block: 32px; border-color: var(--ifc-line); }
html body.ifm-site.if-knowledge-page #main .ifk-article-row h3 { font: 600 clamp(27px, 2.8vw, 34px)/1.2 var(--ifc-display) !important; letter-spacing: -.02em !important; }
html body.ifm-site.if-knowledge-page #main .ifk-article-row p { font-size: var(--ifc-body-size); line-height: 1.75; }
html body.ifm-site.if-knowledge-page #main :is(.ifk-row-meta, .ifk-row-meta span + span, .ifk-article-row .ifk-byline) { font-size: 13px; line-height: 1.6; }
html body.ifm-site.if-knowledge-page #main .ifk-read { min-height: 48px; font-size: 14px; }
html body.ifm-site.if-knowledge-page #main .ifk-reading > .ifk-reading-grid { grid-template-columns: minmax(180px, 230px) minmax(0, var(--ifc-reading)); gap: var(--ifc-gap); }
html body.ifm-site.if-knowledge-page #main .ifk-contents { top: 112px; border-color: var(--ifc-wine); }
html body.ifm-site.if-knowledge-page #main .ifk-contents li > a { min-height: 44px; font-size: 14px; color: var(--ifc-muted); }
html body.ifm-site.if-knowledge-page #main .ifk-contents-contact { min-height: 48px; display: inline-flex; align-items: center; font-size: 15px; }
html body.ifm-site.if-knowledge-page #main .ifk-prose > section { margin-top: 40px; }
html body.ifm-site.if-knowledge-page #main .ifk-article-image { border-radius: var(--ifc-radius); }
html body.ifm-site.if-knowledge-page #main :is(.ifk-faq summary, .ux-contents-details > summary) { font-size: 16px; line-height: 1.6; min-height: 44px; }
html body.ifm-site.if-knowledge-page #main :is(.ifk-reading-note, .ifk-sources li) { font-size: 14px; line-height: 1.75; color: var(--ifc-muted); }
html body.ifm-site.if-knowledge-page #main .ifk-reading-note { background: var(--ifc-rose); border-color: #ae7e8b; border-radius: 0 var(--ifc-radius-small) var(--ifc-radius-small) 0; }
html body.ifm-site.if-knowledge-page #main .ifk-bridge { background: var(--ifc-sand); }
html body.ifm-site.if-knowledge-page #main .ifk-bridge > .shell { gap: var(--ifc-gap); }
html body.ifm-site.if-knowledge-page #main .ifk-bridge p:not(.eyebrow) { font-size: var(--ifc-body-size); line-height: 1.8; }
html body.ifm-site.if-knowledge-page #main .ifk-contact { background: var(--ifc-wine); }
html body.ifm-site.if-knowledge-page #main .ifk-contact > .shell { gap: var(--ifc-gap); }
html body.ifm-site.if-knowledge-page #main .ifk-contact h2 { color: var(--ifc-paper); }
html body.ifm-site.if-knowledge-page #main .ifk-contact .eyebrow { color: #f0dce1; }
html body.ifm-site.if-knowledge-page #main .ifk-contact-actions .button { background: var(--ifc-paper); border-color: var(--ifc-paper); color: var(--ifc-wine); }
html body.ifm-site.if-knowledge-page #main .ifk-contact-actions .button:hover { background: #f0e4da; border-color: #f0e4da; }
html body.ifm-site.if-knowledge-page #main .ifk-contact-actions .ifk-secondary { border-color: #c39ba7; border-radius: var(--ifc-radius-small); font-size: 15px; }
html body.ifm-site #main :is(.growth-reading--ifaber, .growth-takeaways--ifaber) {
  --gr-ink: var(--ifc-wine); --gr-muted: var(--ifc-muted); --gr-line: var(--ifc-line);
  --gr-paper: var(--ifc-paper); --gr-soft: var(--ifc-rose);
}
html body.ifm-site #main .growth-reading__cards { gap: 22px; }
html body.ifm-site #main .growth-reading__card { background: var(--ifc-card); border-radius: var(--ifc-radius); box-shadow: var(--ifc-shadow); }
html body.ifm-site #main .growth-reading__card h3 { font-size: 23px !important; line-height: 1.35 !important; }
html body.ifm-site #main .growth-reading__card p { font-size: 16px; line-height: 1.75; }
html body.ifm-site #main .growth-reading__card a { font-size: 15px; min-height: 48px; }
html body.ifm-site #main .growth-takeaways { border-radius: var(--ifc-radius); }
html body.ifm-site #main .growth-takeaways h2 { font: 600 24px/1.3 var(--ifc-display) !important; }
html body.ifm-site #main .growth-takeaways li { font-size: var(--ifc-body-size); line-height: 1.75; }
html body.ifm-site #main .ux-library-search { border-color: var(--ifc-line); border-radius: var(--ifc-radius-small); }
html body.ifm-site #main .ux-library-search label { color: var(--ifc-wine); font-size: 14px; }

/* A shop in preparation remains a polished resource collection, not an empty box. */
html body.ifm-site #main .commerce {
  --shop-ink: var(--ifc-wine); --shop-paper: var(--ifc-paper); --shop-soft: var(--ifc-rose);
  --shop-line: var(--ifc-line); --shop-accent: #977052;
  color: var(--ifc-ink);
  font-family: var(--ifc-body);
}
html body.ifm-site #main .commerce-library-hero { gap: var(--ifc-gap); padding-block: 48px 40px; }
html body.ifm-site #main .commerce-planned h1 { font-size: var(--ifc-h1) !important; line-height: 1.08 !important; }
html body.ifm-site #main .commerce-library-lead { font-size: 18px; line-height: 1.75; color: var(--ifc-muted); }
html body.ifm-site #main .commerce-catalogue-status { border-radius: var(--ifc-radius); }
html body.ifm-site #main .commerce-planned .commerce-catalogue-status h2 { font: 600 18px/1.45 var(--ifc-body) !important; }
html body.ifm-site #main .commerce-planned .commerce-resource-heading h2 { font-size: clamp(30px, 3vw, 38px) !important; line-height: 1.2 !important; }
html body.ifm-site #main .commerce-resource-grid { gap: 22px; }
html body.ifm-site #main .commerce-resource-card { border-radius: var(--ifc-radius); background: var(--ifc-card); box-shadow: var(--ifc-shadow); }
html body.ifm-site #main .commerce-planned .commerce-resource-card h3 { font: 600 30px/1.2 var(--ifc-display) !important; }
html body.ifm-site #main .commerce-resource-card > p:not(.commerce-eyebrow) { font-size: 16px; line-height: 1.75; color: var(--ifc-muted); }
html body.ifm-site #main .commerce-resource-card > a { min-height: 48px; font-size: 15px; color: var(--ifc-wine); }
html body.ifm-site #main .commerce-empty { max-width: 820px; text-align: left; background: var(--ifc-rose); border: 1px solid var(--ifc-line); border-radius: var(--ifc-radius); padding: clamp(26px, 4vw, 48px); }
html body.ifm-site #main .commerce-empty :is(h2, p) { margin-inline: 0; max-width: 58ch; }
html body.ifm-site #main .commerce-empty h2 { max-width: 20ch; color: var(--ifc-wine); }
html body.ifm-site #main .commerce-empty-actions { justify-content: flex-start; gap: 16px 28px; }
html body.ifm-site #main .commerce-empty-mark { font-size: 40px; }
html body.ifm-site #main .commerce-checkout-form { border-radius: var(--ifc-radius); }

/* Native booking keeps its own semantic states, now with the same font and palette. */
html body.ifm-site #main :is(.nb-section, .nb-page-intro) { background: var(--ifc-paper); color: var(--ifc-ink); }
html body.ifm-site #main .nb-section { padding-inline: var(--ifc-gutter); }
html body.ifm-site #main .nb-page-intro { padding-inline: 0; }
html body.ifm-site #main .nb-root {
  --nb-ink: var(--ifc-ink); --nb-brand: var(--ifc-wine); --nb-soft: var(--ifc-rose);
  --nb-line: var(--ifc-line); --nb-paper: var(--ifc-card);
  font: 400 var(--ifc-body-size)/1.7 var(--ifc-body);
  color: var(--ifc-ink);
}
html body.ifm-site #main .nb-root :is(button, input, select, label, .nb-text-link) { font-family: var(--ifc-body); }
html body.ifm-site #main .nb-root label { font-size: 14px; line-height: 1.6; }
html body.ifm-site #main .nb-root :is(select, input:not([type="checkbox"])) { font-size: 16px; border-radius: var(--ifc-radius-small); min-height: 48px; }
html body.ifm-site #main .nb-root :is(.nb-filters, .nb-calendar, .nb-reservation) { border-radius: var(--ifc-radius); }
html body.ifm-site #main .nb-root .nb-calendar { box-shadow: var(--ifc-shadow); }
html body.ifm-site #main .nb-root .nb-heading { gap: var(--ifc-gap); }
html body.ifm-site #main .nb-root .nb-layout { gap: 28px; }
html body.ifm-site #main .nb-root .nb-month-bar h3 { font: 600 19px/1.4 var(--ifc-body) !important; }
html body.ifm-site #main .nb-root :is(.nb-day, .nb-time) { font-family: var(--ifc-body); font-size: 16px; }
html body.ifm-site #main .nb-root .nb-icon { width: 44px; height: 44px; }
html body.ifm-site #main .nb-root .nb-month-bar { grid-template-columns: 44px minmax(0, 1fr) 44px; }
html body.ifm-site #main .nb-root .nb-times-panel h3 { font: 600 18px/1.45 var(--ifc-body) !important; }
html body.ifm-site #main .nb-root :is(.nb-summary-placeholder > h3, .nb-success h3) { font: 600 34px/1.2 var(--ifc-display) !important; }
html body.ifm-site #main .nb-root :is(.nb-summary-placeholder > p:not(.nb-eyebrow), .nb-success > p:not(.nb-eyebrow)) { font-size: 16px; line-height: 1.75; }
html body.ifm-site #main .nb-root :is(.nb-summary, .nb-private-note, .nb-footer-note, .nb-check) { font-size: 14px; line-height: 1.65; }
html body.ifm-site #main .nb-root .nb-text-link { font-size: 14px; min-height: 44px; }
html body.ifm-site #main .nb-root .nb-empty { background: var(--ifc-card); border-radius: var(--ifc-radius-small); }
html body.ifm-site #main .nb-root .nb-empty h3 { font-size: 25px !important; }
html body.ifm-site #main .nb-teaser { --nb-brand: var(--ifc-wine); background: var(--ifc-rose); }
html body.ifm-site #main .nb-teaser p:not(.nb-eyebrow) { font: 400 var(--ifc-body-size)/1.75 var(--ifc-body); }

/* Legal text, consent and test explanations use reading sizes, not microtype. */
html body.ifm-site #main .legal-document { --legal-accent: var(--ifc-wine); --legal-line: var(--ifc-line); --legal-muted: var(--ifc-muted); background: var(--ifc-paper); color: var(--ifc-ink); }
html body.ifm-site #main .legal-document-heading { max-width: none; margin-bottom: 38px; text-align: left; }
html body.ifm-site #main .legal-document-heading :is(h1, p) { text-align: left; }
html body.ifm-site #main .legal-document-heading h1 { max-width: 25ch; font-size: var(--ifc-h1) !important; }
html body.ifm-site #main .legal-document-layout { grid-template-columns: minmax(180px, 230px) minmax(0, var(--ifc-reading)); gap: var(--ifc-gap); justify-content: space-between; }
html body.ifm-site #main .legal-document-layout--plain { grid-template-columns: minmax(0, var(--ifc-reading)); justify-content: start; }
html body.ifm-site #main .legal-document-content p { font: 400 var(--ifc-body-size)/1.8 var(--ifc-body); }
html body.ifm-site #main .legal-document-content h2 { font: 600 24px/1.4 var(--ifc-body) !important; letter-spacing: -.015em !important; }
html body.ifm-site #main .legal-document-toc { top: 112px; font-size: 14px; line-height: 1.7; }
html body.ifm-site #main .legal-document-toc a { min-height: 42px; }
html body.ifm-site #main .legal-document-related a { font-size: 14px; min-height: 48px; }
html body.ifm-site #main .screening-hub { --sh-gutter: var(--ifc-gutter); --sh-ink: var(--ifc-ink); --sh-muted: var(--ifc-muted); --sh-accent: var(--ifc-wine); --sh-paper: var(--ifc-paper); --sh-soft: var(--ifc-rose); --sh-warm: var(--ifc-sand); --sh-line: var(--ifc-line); }
html body.ifm-site #main .screening-hub .sh-hero { gap: var(--ifc-gap); padding-block: 48px 56px; }
html body.ifm-site #main .screening-hub .sh-card { border-radius: var(--ifc-radius); }
html body.ifm-site #main .screening-hub .sh-card h3 { font: 600 34px/1.2 var(--ifc-display) !important; }
html body.ifm-site #main .screening-hub :is(.sh-description, .sh-intro p) { font-size: var(--ifc-body-size); line-height: 1.75; }
html body.ifm-site #main .screening-hub :is(.sh-limit, .sh-privacy) { font-size: 14px; line-height: 1.7; }
html body.ifm-site #main .screening-hub .sh-next { border-radius: var(--ifc-radius); background: var(--ifc-card); }
html body.ifm-site.if-screening-page #main .itq-page {
  --itq-green: var(--ifc-wine); --itq-line: var(--ifc-line); --adhd-ink: var(--ifc-ink);
  --adhd-selected: var(--ifc-wine); --adhd-muted: var(--ifc-muted);
  --adhd-wash: var(--ifc-rose); --adhd-selection: #ead7dd;
  --screening-muted: var(--ifc-muted);
  color: var(--ifc-ink);
}
html body.ifm-site.if-screening-page #main .itq-page .itq-hero { background: var(--ifc-sand); }
html body.ifm-site.if-screening-page #main .itq-page .itq-lead { font-size: 19px; line-height: 1.7; }
html body.ifm-site.if-screening-page #main .itq-page :is(.itq-privacy, .itq-instruction, .adhd-impact-summary) { background: var(--ifc-rose); border-radius: var(--ifc-radius-small); }
html body.ifm-site.if-screening-page #main .itq-page .itq-options span { border-radius: var(--ifc-radius-small); }
html body.ifm-site.if-screening-page #main .itq-page :is(.itq-help h2, .adhd-contact-invitation h2) { color: var(--ifc-paper); }
html body.ifm-site.if-screening-page #main .itq-page .btn { border-radius: var(--ifc-radius-small); min-height: 48px; font-family: var(--ifc-body); font-size: 15px; }
html body.ifm-site.if-screening-page #main .itq-page :is(.itq-item-id, .itq-page .microcopy, .screening-method-note) { font-size: 14px; }
html body.ifm-site.if-screening-page #main .itq-page :is(.screening-profile-card, .screening-support-card, .adhd-result-areas li) { border-radius: var(--ifc-radius); border-color: var(--ifc-line); }

/* Respect the existing menu breakpoint and the CMS phone/desktop split (760px). */
@media (max-width: 1100px) {
  html body.ifm-site .site-header .navigation { gap: 15px; }
  html body.ifm-site .site-header .navigation > a:not(.button) { font-size: 13px; }
}
@media (max-width: 1000px) {
  html body.ifm-site { --ifc-gutter: 24px; --ifc-gap: 32px; }
  html body.ifm-site .site-header.shell { min-height: 80px; }
  html body.ifm-site .site-header .navigation { gap: 0; background: var(--ifc-paper); border-color: var(--ifc-line); }
  html body.ifm-site .site-header .navigation > a:not(.button) { font-size: 16px; min-height: 52px; }
  html body.ifm-site .site-header .navigation > .button { margin-block: 16px 20px; }
  html body.ifm-site.if-knowledge-page #main .ifk-article-row { grid-template-columns: 110px minmax(0, 1fr) 55px; gap: 22px; }
  html body.ifm-site #main :is(.ifk-reading-grid, .legal-document-layout) { gap: 30px; }
  html body.ifm-site #main .nb-root .nb-layout { gap: 22px; }
}
@media (max-width: 760px) {
  html body.ifm-site {
    --ifc-gutter: 20px;
    --ifc-gap: 26px;
    --ifc-section: 48px;
    --ifc-body-size: 16px;
    --ifc-h1: clamp(38px, 9vw, 48px);
    --ifc-h2: clamp(32px, 7vw, 38px);
    --ifc-h3: 22px;
  }
  html body.ifm-site #main :is(.lead, .if-story-copy > .lead, .ifk-hero .lead, .ifk-article-heading .lead) { font-size: 17px !important; line-height: 1.75 !important; }
  html body.ifm-site #main :is(.eyebrow, .nb-eyebrow, .crm-contact-eyebrow, .commerce-eyebrow, .legal-document-eyebrow, .sh-eyebrow, .growth-reading__eyebrow) { font-size: 11px !important; letter-spacing: .095em !important; }
  html body.ifm-site #main > :is(.ifk-hero, .ifk-article-heading, .nb-page-intro) { padding-block: 28px 34px; }
  html body.ifm-site #main :is(.ifk-article-heading h1, .if-story-copy h1, .if-approach-intro h1) { max-width: 24ch; }
  html body.ifm-site #main :is(.prose, .ifk-prose) h2 { font-size: 31px !important; }
  html body.ifm-site .footer-top { gap: 22px; align-items: start; }
  html body.ifm-site .footer-top > p { font-size: 14px; }
  html body.ifm-site .footer-bottom nav { gap: 8px 20px; }
  html body.ifm-site .footer-bottom nav a { min-height: 38px; font-size: 13px; }
  html body.ifm-site.editorial-home #main .ifm-hero .hero-note { font-size: 16px !important; }
  html body.ifm-site.editorial-home #main .ifm-hero-actions > a.button { font-size: 14px !important; }
  html body.ifm-site.editorial-home #main .if-dialogue-illustration img { max-height: 320px; }
  html body.ifm-site.editorial-home #main .if-personal-story-copy > p:first-of-type { font-size: 29px !important; }
  html body.ifm-site #main :is(.if-consultation-details, .if-detail-list) { gap: 16px; }
  html body.ifm-site #main .faq-list summary { font-size: 17px; }
  html body.ifm-site #main .crm-contact-intro > h2 { font-size: 31px !important; }
  html body.ifm-site.ux-contact-page #main .ux-contact-workspace { gap: 22px; }
  html body.ifm-site.if-knowledge-page #main .ifk-library { padding-block: 26px 44px; }
  html body.ifm-site.if-knowledge-page #main .ifk-hero > .shell { grid-template-columns: minmax(0, 1fr); }
  html body.ifm-site.if-knowledge-page #main .ifk-article-row { grid-template-columns: minmax(0, 1fr) 36px; gap: 12px; padding-block: 26px; }
  html body.ifm-site.if-knowledge-page #main .ifk-row-meta { grid-column: 1 / -1; flex-direction: row; gap: 8px 16px; flex-wrap: wrap; }
  html body.ifm-site.if-knowledge-page #main .ifk-article-row h3 { font-size: 28px !important; }
  html body.ifm-site.if-knowledge-page #main .ifk-reading > .ifk-reading-grid { grid-template-columns: minmax(0, 1fr); }
  html body.ifm-site.if-knowledge-page #main .ifk-contents { position: static; }
  html body.ifm-site.if-knowledge-page #main .ifk-topic-nav a { min-height: 48px; font-size: 14px; }
  html body.ifm-site #main .growth-reading__cards { gap: 14px; }
  html body.ifm-site #main .growth-reading__card h3 { font-size: 21px !important; }
  html body.ifm-site #main .growth-reading__card .growth-reading__short { font-size: 15px; }
  html body.ifm-site #main .growth-reading__card a { font-size: 14px; }
  html body.ifm-site #main .commerce-library-hero { padding-block: 32px; gap: 24px; }
  html body.ifm-site #main .commerce-resource-grid { gap: 16px; }
  html body.ifm-site #main .commerce-library-lead { font-size: 17px; }
  html body.ifm-site #main .commerce-planned .commerce-resource-heading h2 { font-size: 32px !important; }
  html body.ifm-site #main .commerce-planned .commerce-resource-card h3 { font-size: 29px !important; }
  html body.ifm-site #main .commerce-empty-actions { align-items: stretch; }
  html body.ifm-site #main .nb-root .nb-heading { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  html body.ifm-site #main .nb-root .nb-summary-placeholder > h3 { font-size: 30px !important; }
  html body.ifm-site #main .nb-root .nb-times { gap: 8px; }
  html body.ifm-site #main .nb-root .nb-day { min-height: 44px; font-size: 15px; }
  html body.ifm-site #main .legal-document-layout { grid-template-columns: minmax(0, 1fr); }
  html body.ifm-site #main .legal-document-toc { position: static; }
  html body.ifm-site #main .legal-document-content h2 { font-size: 22px !important; }
  html body.ifm-site #main .screening-hub .sh-hero { padding-block: 32px 38px; gap: 24px; }
  html body.ifm-site #main .screening-hub .sh-card h3 { font-size: 31px !important; }
  html body.ifm-site #main .screening-hub .sh-card-top { gap: 12px; }
  html body.ifm-site.if-screening-page #main .itq-page .itq-lead { font-size: 17px; }
}
@media (max-width: 380px) {
  html body.ifm-site { --ifc-h1: 38px; --ifc-h2: 32px; }
  html body.ifm-site.editorial-home #main .ifm-hero-actions { grid-template-columns: minmax(0, 1fr); }
  html body.ifm-site #main .nb-root .nb-times { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html body.ifm-site #main .screening-hub .sh-card h3 { font-size: 29px !important; }
}
@media (prefers-reduced-motion: reduce) {
  html body.ifm-site :is(.button, .commerce-button, .nb-submit, .sh-contact-link) { transition: none; }
}
@media (forced-colors: active) {
  html body.ifm-site :is(.growth-reading__card, .growth-takeaways, .commerce-resource-card, .nb-calendar, .crm-contact-section) { border-color: CanvasText; }
  html body.ifm-site :is(a, button, input, textarea, select, summary):focus-visible { outline-color: Highlight; }
}
@media print {
  html body.ifm-site { --ifc-body-size: 11pt; --ifc-gutter: 0px; --ifc-width: 100%; background: white; color: black; }
  html body.ifm-site #main :is(.ifk-reading-grid, .legal-document-layout) { display: block; }
  html body.ifm-site #main :is(h1, h2, h3) { break-after: avoid; }
  html body.ifm-site #main :is(.ifk-prose, .legal-document-content) { max-width: none; }
}
