/* Inspired by the warm paper, forest, dusk and serif palette of Merhav. */
:root {
  --paper: #f7f3ea; --paper-raised: #fffdf8; --paper-sunk: #eee8da;
  --ink: #282c26; --muted: #52594e; --forest: #294b3b; --forest-hover: #203e30;
  --forest-soft: #e2ebe6; --amber: #c98a3c; --dusk: #23324a; --dusk-deep: #1a2638;
  --line: #ded8ca; --font-sans: 'Alef', Arial, sans-serif;
  --font-serif: 'Noto Serif Hebrew', Georgia, serif;
  --dark: var(--ink); --mid: var(--muted); --light: var(--paper);
  --cream: var(--paper-sunk); --accent: var(--forest); --accent2: var(--forest);
  --white: var(--paper-raised);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--paper); color: var(--ink); direction: rtl; font-family: var(--font-sans); font-size: 1.25rem; line-height: 1.8; -webkit-font-smoothing: antialiased; }
body, h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 500; line-height: 1.4; }
a { color: var(--forest); text-underline-offset: 5px; }
button, input, textarea { font: inherit; }
button, summary { cursor: pointer; }
img { max-width: 100%; }
svg { flex-shrink: 0; }
::selection { background: var(--forest); color: var(--paper-raised); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 5px; }
[hidden] { display: none !important; }
.skip-link { position: fixed; top: 12px; right: 24px; transform:translateY(calc(-100% - 24px)); z-index: 2000; background: var(--paper-raised); color: var(--forest); padding: 12px 24px; border: 1px solid var(--forest); }
.skip-link:focus { transform:none; }
.container { width: min(100% - 96px, 1160px); max-width: none; margin-inline: auto; padding: 0; }
.site-header { position: sticky; inset: 0 0 auto; z-index: 1000; width: 100%; min-height: 86px; height: auto; background: rgba(247,243,234,.98); border-bottom: 1px solid var(--line); padding: 0; box-shadow: none; transition: box-shadow .2s; }
.site-header.scrolled { background: rgba(247,243,234,.98); box-shadow: 0 3px 18px #211d1808; }
.header-inner { display: flex; height: 100%; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand-mark { width: 38px; height: 38px; color: var(--forest); }
.brand-name { display: block; font-family: var(--font-serif); font-size: 1.5rem; line-height: 1.5; }
.brand-subtitle { display: block; font-size: .85rem; color: var(--muted); line-height: 1.6; }
.desktop-links { display: flex; align-items: center; gap: 25px; }
.desktop-links a { position: relative; text-decoration: none; color: var(--muted); font-size: 1rem; white-space: nowrap; }
.desktop-links a:hover, .desktop-links a[aria-current='page'] { color: var(--forest); }
.desktop-links a[aria-current='page']::after { position: absolute; bottom: -7px; inset-inline: 0; height: 1px; content: ''; background: var(--forest); }
.desktop-links a.header-contact { color: var(--paper-raised); background: var(--forest); border: 1px solid var(--forest); border-radius: 6px; padding: 9px 19px; }
.desktop-links a.header-contact:hover { background: var(--forest-hover); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 6px; background: transparent; color: var(--forest); padding: 10px; }
.menu-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; }
dialog.mobile-menu { position: fixed; inset: 0 0 auto; width: 100%; max-width: none; max-height: calc(100dvh - 20px); padding: 32px 28px 40px; border: 0; border-bottom: 1px solid var(--line); background: var(--paper); color: var(--ink); margin: 0; }
dialog.mobile-menu:not([open]) { display: none; }
dialog.mobile-menu[open] { display: block; }
.mobile-menu::backdrop { background: #1a263880; }
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.mobile-close { position: static; font-size: 1.6rem; width: 44px; height: 44px; background: transparent; color: var(--ink); border: 1px solid var(--line); border-radius: 6px; }
.mobile-menu a { display: block; padding: 13px 0; color: var(--forest); border-bottom: 1px solid var(--line); font-size: 1.2rem; text-decoration: none; }
main { padding-top: 0; }
.section-tag, .page-tag, .eyebrow { display: block; color: var(--forest); font-family: var(--font-sans); font-size: .95rem; font-weight: 400; letter-spacing: 0; text-transform: none; margin-bottom: 16px; }
.section-title { color: var(--ink); font-size: clamp(2rem, 3.4vw, 2.85rem); line-height: 1.45; margin-bottom: 26px; font-weight: 500; }
.divider { width: 44px; height: 1px; background: var(--amber); margin-bottom: 32px; }
.btn, .btn-primary, .btn-outline { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 12px 25px; border: 1px solid var(--forest); border-radius: 6px; background: var(--forest); color: var(--paper-raised); font-family: var(--font-sans); font-size: 1rem; font-weight: 600; text-decoration: none; transition: background .2s, border-color .2s; }
.btn:hover, .btn-primary:hover { background: var(--forest-hover); border-color: var(--forest-hover); transform: none; }
.btn-outline { background: transparent; color: var(--forest); margin: 0; border-color: var(--line); }
.btn-outline:hover { background: var(--paper-sunk); border-color: var(--forest); transform: none; }
.text-link { display: inline-flex; align-items: center; gap: 14px; font-size: .98rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.home-hero { position: relative; overflow: hidden; background: var(--paper); color: var(--ink); padding: 64px 0 42px; }
.hero-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 5vw, 80px); align-items: center; }
.hero-copy { position: relative; padding-block: 15px; }
.hero-copy .eyebrow { color: var(--forest); margin-bottom: 18px; }
.hero-copy h1 { font-size: clamp(2.8rem, 4.8vw, 4.2rem); color: var(--forest); line-height: 1.35; margin-bottom: 24px; }
.hero-intro { color: var(--ink); font-size: 1.3rem; line-height: 1.85; max-width: 460px; margin-bottom: 30px; }
.hero-actions { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; }
.hero-actions .btn { background: var(--forest); color: var(--paper-raised); border-color: var(--forest); }
.hero-actions .btn:hover { background: var(--forest-hover); border-color: var(--forest-hover); }
.hero-actions .text-link { color: var(--forest); font-weight: 400; }
.hero-location { font-size: .95rem; color: var(--muted); margin-top: 30px; display: flex; gap: 10px; align-items: center; }
.hero-location::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.hero-portrait { position: relative; min-width: 0; }
.hero-portrait::before { display: none; }
.hero-portrait img { display: block; position: relative; width: 100%; height: 425px; object-fit: cover; object-position: 60% 48%; border-radius: 12px; }
.hero-portrait figcaption { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: .85rem; color: #d4d9df; margin-top: 16px; padding-inline: 3px; }
.hero-portrait figcaption span:last-child { color: #e1b981; }
.home-section { padding: 88px 0; }
.section-split { display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; align-items: start; }
.about-copy { max-width: 650px; }
.about-copy p { color: var(--ink); margin-bottom: 26px; line-height: 1.85; font-size: 1.25rem; }
.about-copy p:first-child { color: var(--forest); font-size: 1.4rem; }
.about-copy .online-badge { display: block; font-size: .94rem; padding: 20px 0 0; margin-top: 24px; border-top: 1px solid var(--line); color: var(--forest); line-height: 1.8; }
.specialties { background: var(--paper-raised); }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 24px; }
.section-heading-row .section-title { margin-bottom: 14px; }
.section-heading-row > p { color: var(--muted); max-width: 380px; font-size: 1rem; margin-bottom: 17px; }
.spec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 48px; }
.spec-card { position: relative; display: flex; flex-direction: column; padding: 26px 0; border: 0; text-decoration: none; border-radius: 0; background: transparent; box-shadow: none; }
.spec-card:hover { transform: none; box-shadow: none; }
.spec-num { display: none; }
.spec-card h3 { color: var(--forest); font-size: 1.65rem; font-weight: 500; margin-bottom: 15px; line-height: 1.5; }
.spec-card p { color: var(--muted); font-size: 1.1rem; line-height: 1.85; margin-bottom: 23px; flex: 1; }
.spec-link { display: inline-flex; align-items: center; justify-content: space-between; color: var(--forest); font-size: .92rem; font-weight: 600; padding-top: 5px; }
.spec-link svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .2s; }
.spec-card:hover .spec-link svg { transform: translateX(-4px); }
.questionnaire-link { padding-top: 25px; margin-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 25px; }
.questionnaire-link p { font-size: .95rem; color: var(--muted); }
.approach { background: var(--forest-soft); color: var(--ink); }
.approach .section-title { color: var(--forest); }
.approach .section-tag { color: var(--forest); }
.approach-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 45px; }
.approach-item { border: 0; padding-top: 18px; }
.approach-num { display: none; }
.approach-item h3 { font-size: 1.65rem; color: var(--forest); margin-bottom: 20px; font-weight: 500; }
.approach-item p { color: var(--ink); font-size: 1.15rem; line-height: 1.85; }
.audience { padding-bottom: 72px; }
.audience-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 32px; }
.audience-card { border: 0; padding-inline-start: 0; border-radius: 0; background: transparent; box-shadow: none; text-align: start; }
.audience-card h3 { font-size: 1.6rem; margin-bottom: 15px; font-weight: 500; color: var(--forest); }
.audience-card p { color: var(--muted); font-size: 1.1rem; line-height: 1.85; }
.journal-section { background: var(--forest-soft); }
.journal-inner { border: 0; padding-top: 0; }
.journal-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; }
.journal-card { display: flex; flex-direction: column; background: transparent; border: 0; border-radius: 0; padding: 24px 0; color: var(--ink); text-decoration: none; }
.journal-card:hover { border-color: var(--forest); }
.journal-card .article-tag { font-size: .8rem; color: var(--forest); margin-bottom: 24px; }
.journal-card h3 { font-size: 1.6rem; margin-bottom: 20px; line-height: 1.5; }
.journal-card p { color: var(--muted); font-size: 1.1rem; margin-bottom: 25px; flex: 1; }
.journal-card .spec-link { border: 0; padding-top: 12px; }
.experience { background: var(--paper-raised); }
.timeline { position: relative; padding: 0; border: 0; }
.tl-item { display: grid; grid-template-columns: 1fr auto; gap: 25px; border-top: 1px solid var(--line); padding: 23px 0; margin: 0; }
.tl-item::before { display: none; }
.tl-content { padding: 0; }
.tl-content h3 { font-size: 1.6rem; color: var(--ink); margin-bottom: 9px; }
.tl-content p { color: var(--muted); font-size: .98rem; line-height: 1.7; }
.tl-date { position: static; color: var(--forest); font-size: .88rem; white-space: nowrap; direction: ltr; padding-top: 7px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; font-size: 1.16rem; font-weight: 600; color: var(--ink); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; font-size: 1.7rem; font-weight: 300; color: var(--forest); flex-shrink: 0; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { color: var(--muted); font-size: 1.05rem; padding-bottom: 24px; max-width: 650px; line-height: 1.9; }
.contact { background: var(--forest); color: var(--paper-raised); }
.contact .section-tag { color: #d8c6a6; }
.contact .section-title { color: var(--paper-raised); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 95px; }
.contact-text p { color: #e0e6e1; line-height: 1.85; margin-bottom: 25px; font-size: 1.1rem; max-width: 460px; }
.contact-info { display: grid; gap: 18px; }
.contact-row { display: flex; gap: 15px; align-items: center; font-size: 1rem; color: #e0e6e1; }
.contact-icon { display: flex; align-items: center; width: 22px; }
.contact-icon svg { width: 21px; height: 21px; fill: none; stroke: #d8c6a6; stroke-width: 1.4; }
.contact-row a { color: var(--paper-raised); }
.contact-links { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 28px; }
.contact-links a { color: var(--paper-raised); font-size: .98rem; }
.contact form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.form-field { display: grid; gap: 5px; min-width: 0; }
.form-field.full-width, .form-submit, .form-status, .form-note { grid-column: 1 / -1; }
.form-field label { color: #e0e6e1; font-size: .9rem; }
.contact input, .contact textarea { width: 100%; min-width: 0; padding: 12px 14px; border: 1px solid #f4ede150; border-radius: 5px; color: var(--ink); background: var(--paper-raised); font-size: 1rem; }
.contact textarea { min-height: 105px; resize: vertical; }
.contact input::placeholder, .contact textarea::placeholder { color: var(--muted); }
.contact input[type='tel'], .contact input[type='email'] { direction: ltr; text-align: right; }
.form-submit { justify-self: start; background: var(--paper-raised); border-color: var(--paper-raised); color: var(--forest); margin-top: 6px; }
.form-submit:hover { background: var(--paper-sunk); border-color: var(--paper-sunk); }
.form-submit:disabled { opacity: .6; cursor: wait; }
.form-note { color: #d4ddd6; font-size: .79rem; line-height: 1.7; }
.form-note a { color: inherit; }
.form-status { font-size: .98rem; color: var(--paper-raised); }
.site-footer { background: var(--paper-sunk); padding: 38px 0; text-align: start; font-size: .88rem; line-height: 1.8; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 25px; }
.footer-name { font-family: var(--font-serif); color: var(--ink); font-size: 1.4rem; }
.footer-links { display: flex; gap: 25px; flex-wrap: wrap; }
.site-footer a { color: var(--forest); }
.whatsapp-float { position: fixed; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: var(--forest); border: 1px solid #fffdf840; bottom: 22px; left: 22px; border-radius: 50%; box-shadow: 0 4px 20px #211d1825; z-index: 900; text-decoration: none; }
.whatsapp-float:hover { transform: none; background: var(--forest-hover); box-shadow: 0 4px 20px #211d1825; }
.whatsapp-float svg { width: 24px; height: 24px; }
/* Retained clinical pages: same copy, warm typography and reading widths. */
.page-hero { background: var(--dusk); padding: 64px 0 60px; min-height: 0; display: block; text-align: start; }
.page-hero .container { width: min(100% - 96px, 900px); }
.page-hero .page-tag { color: #e1b981; }
.page-title, .page-hero h1 { font-family: var(--font-serif); font-size: clamp(2.4rem,4.3vw,3.5rem); color: var(--paper-raised); font-weight: 500; line-height: 1.4; margin-bottom: 20px; }
.page-intro, .page-hero > p { font-size: 1.16rem; color: #d4d9df; font-weight: 400; max-width: 670px; line-height: 1.8; }
.content-section { padding: 52px 0; background: var(--paper); }
.content-section:nth-child(even) { background: var(--paper-raised); }
.content-section .container { width: min(100% - 96px, 790px); }
.content-section h2 { font-family: var(--font-serif); font-size: 2rem; font-weight: 500; margin-bottom: 20px; }
.content-section h3 { font-family: var(--font-serif); font-size: 1.45rem; font-weight: 500; margin: 30px 0 12px; }
.content-section p, .content-section li { font-size: 1.25rem; color: var(--ink); line-height: 1.85; margin-bottom: 24px; }
.highlight-box { background: var(--paper-sunk); border-inline-start: 2px solid var(--forest); border-radius: 6px; padding: 26px; }
.symptom-grid { gap: 15px; }
.symptom-item { border: 1px solid var(--line); background: var(--paper-raised); border-radius: 6px; box-shadow: none; }
.cta-box { background: var(--forest); border-radius: 9px; padding: 36px; }
.cta-box p { color: #e0e6e1; }
.cta-box h2 { color: var(--paper-raised); }
.cta-box .btn { background: var(--paper-raised); color: var(--forest); border-color: var(--paper-raised); }
body[data-page='privacy-policy'] .hero { background: var(--dusk); padding: 65px 24px; text-align: center; min-height: 0; }
body[data-page='privacy-policy'] .hero h1 { color: var(--paper-raised); font-size: 3rem; font-weight: 500; }
body[data-page='privacy-policy'] .content { width: min(100% - 96px, 790px); max-width: none; padding: 55px 0 70px; }
body[data-page='privacy-policy'] .content h2 { font-family: var(--font-serif); font-size: 1.7rem; font-weight: 500; border-bottom-width: 1px; }
body[data-page='privacy-policy'] .content p, body[data-page='privacy-policy'] .content li { font-size: 1.08rem; }
/* Journal: browsable abstracts and native, keyboard-operable reading panels. */
.journal-hero { padding: 65px 0 60px; background: var(--dusk); color: var(--paper); }
.journal-hero .eyebrow { color: #e1b981; }
.journal-hero h1 { font-size: clamp(2.4rem,4vw,3.5rem); color: var(--paper-raised); line-height: 1.45; margin-bottom: 22px; }
.journal-hero p { max-width: 720px; color: #d4d9df; font-size: 1.15rem; line-height: 1.85; }
.journal-hero .journal-note { margin-top: 21px; font-size: .87rem; color: #d4d9df; }
.articles-wrapper { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 75px; padding-block: 64px 80px; }
.toc { position: sticky; top: 122px; align-self: start; border: 0; background: transparent; padding: 0; }
.toc-title { font-size: .84rem; color: var(--muted); padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.toc-list { margin: 0; padding: 0; list-style: none; }
.toc-item a { display: flex; align-items: baseline; gap: 15px; padding: 13px 0; color: var(--muted); text-decoration: none; font-size: 1rem; border-bottom: 1px solid var(--line); }
.toc-num { font-family: var(--font-serif); font-size: .85rem; color: var(--forest); }
.toc-item a:hover, .toc-item a.active { color: var(--forest); }
.article-section { border-top: 1px solid var(--line); padding: 32px 0 48px; scroll-margin-top: 0; }
.article-meta { display: flex; gap: 14px; align-items: center; margin-bottom: 19px; color: var(--forest); font-size: .85rem; }
.article-num { font-family: var(--font-serif); font-size: 1rem; color: var(--muted); }
.reading-time { margin-inline-start: auto; color: var(--muted); font-size: .78rem; white-space: nowrap; }
.article-title { font-size: clamp(1.8rem,2.8vw,2.4rem); font-weight: 500; color: var(--ink); margin-bottom: 20px; line-height: 1.5; }
.article-subtitle { color: var(--muted); font-size: 1.12rem; line-height: 1.9; margin-bottom: 22px; }
.article-takeaway { border-inline-start: 2px solid var(--amber); padding-inline-start: 18px; color: var(--forest); font-size: 1.03rem; margin-bottom: 25px; }
.article-reading > summary { display: flex; justify-content: space-between; gap: 20px; list-style: none; color: var(--forest); font-size: .98rem; font-weight: 600; padding-block: 12px; border-block: 1px solid var(--line); }
.article-reading > summary::-webkit-details-marker { display: none; }
.article-reading > summary::after { content: '+'; font-size: 1.4rem; font-weight: 400; }
.article-reading[open] > summary::after { content: '−'; }
.article-reading .when-open, .article-reading[open] .when-closed { display: none; }
.article-reading[open] .when-open { display: inline; }
.article-body { padding-top: 8px; }
.article-body h3 { font-size: 1.7rem; margin: 27px 0 12px; line-height: 1.3; }
.article-body p { color: var(--ink); font-size: 1.25rem; line-height: 1.85; margin-bottom: 24px; }
.reflection { padding: 21px 23px; background: var(--paper-sunk); border-radius: 6px; margin-top: 27px; }
.reflection strong { font-size: .83rem; color: var(--forest); display: block; margin-bottom: 8px; }
.reflection p { color: var(--ink); margin: 0; font-family: var(--font-serif); font-size: 1.4rem; line-height: 1.5; }
.bibliography { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); }
.bib-title { color: var(--forest); font-weight: 600; font-size: .88rem; margin-bottom: 10px; }
.bib-list { padding-inline-start: 19px; margin: 0; }
.bib-list li { margin-bottom: 8px; font-size: .91rem; line-height: 1.6; }
.bib-list a { color: var(--muted); }
.journal-cta { background: var(--forest-soft); border: 1px solid var(--line); border-radius: 8px; padding: 30px; margin-top: 15px; }
.journal-cta h2 { font-size: 1.8rem; margin-bottom: 13px; }
.journal-cta p { color: var(--muted); font-size: 1rem; margin-bottom: 21px; }
/* Keep original questionnaire items, scoring and warning logic. */
.q-selector .container, .quiz-wrap .container { width: min(100% - 96px, 820px); }
.q-tab { font-family: var(--font-sans); border: 1px solid var(--line); border-radius: 6px; color: var(--muted); }
.q-tab.active { background: var(--forest); border-color: var(--forest); color: var(--paper-raised); }
.q-tab:not(.active):hover { color: var(--forest); border-color: var(--forest); }
.quiz-card, .result-card { border: 1px solid var(--line); border-radius: 9px; background: var(--paper-raised); box-shadow: none; }
.quiz-inner { padding: 35px 40px 40px; }
.q-option { border: 1px solid var(--line); background: var(--paper-raised); font-family: var(--font-sans); border-radius: 6px; }
.q-option:hover, .q-option.selected { border-color: var(--forest); background: var(--forest-soft); transform: none; }
.opt-label { font-size: 1.05rem; }
.opt-dot { border-color: #8d998f; }
.q-intro-text, .result-desc { background: var(--paper); border-color: var(--forest); }
.q-text { font-family: var(--font-sans); font-size: 1.28rem; }
.q-btn { font-family: var(--font-sans); border-radius: 6px; }
.q-btn-back { border: 1px solid var(--line); }
.q-btn-next { background: var(--forest); border: 1px solid var(--forest); }
.q-btn-next:hover { background: var(--forest-hover); border-color: var(--forest-hover); transform: none; }
.progress-bar-wrap, .result-bar-track, .q-dot { background: var(--paper-sunk); }
.step-label, .q-heading { color: var(--forest); letter-spacing: 0; }
.result-cta { background: var(--paper-sunk); }
.result-bar-range, .disclaimer { color: var(--muted); }
.disclaimer { border-color: var(--line); }
.btn-restart { border-radius: 6px; border-color: var(--line); color: var(--muted); font-family: var(--font-sans); }
.father-note { background: var(--forest-soft); border-color: var(--forest); color: var(--forest); }
@media (max-width: 1080px) {
  .desktop-links { gap: 17px; }
  .desktop-links a { font-size: .86rem; }
  .section-split { gap: 55px; }
  .hero-portrait img { height: 410px; }
  .contact-inner { gap: 55px; }
  .audience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 940px) {
  .desktop-links { display: none; }
  .menu-toggle { display: inline-flex; justify-content: center; align-items: center; }
  .hero-layout { grid-template-columns: 1fr 1fr; gap: 35px; }
  .hero-portrait img { height: 380px; }
  .home-hero { padding-block: 45px; }
  .spec-grid { gap: 0 26px; }
  .approach-grid { gap: 25px; }
  .section-split { grid-template-columns: .7fr 1.3fr; gap: 36px; }
  .journal-grid { gap: 15px; }
  .journal-card { padding: 24px 0; }
  .articles-wrapper { grid-template-columns: 200px minmax(0,1fr); gap: 35px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 95px; }
  .container, .page-hero .container, .content-section .container, .q-selector .container, .quiz-wrap .container, body[data-page='privacy-policy'] .content { width: calc(100% - 48px); padding-inline: 0; }
  .site-header { min-height: 76px; height: auto; padding: 0; }
  main { padding-top: 0; }
  .header-inner { gap: 20px; }
  .brand-name { font-size: 1.4rem; }
  .brand-mark { width: 32px; height: 32px; }
  .home-hero { padding: 30px 0 35px; }
  .hero-layout { grid-template-columns: 1fr; gap: 35px; }
  .hero-copy { padding-block: 6px 0; }
  .hero-copy .eyebrow { margin-bottom: 16px; }
  .hero-copy h1 { font-size: 2.85rem; }
  .hero-intro { font-size: 1.25rem; margin-bottom: 23px; }
  .hero-actions { gap: 21px; }
  .hero-location { margin-top: 21px; }
  .hero-portrait img { height: auto; aspect-ratio: 1.23; object-position: 60% 45%; border-radius: 12px; }
  .hero-portrait::before { width: 300px; height: 300px; left: -70px; top: -16px; }
  .hero-portrait figcaption { font-size: .79rem; margin-top: 12px; }
  .home-section { padding-block: 58px; }
  .section-split { grid-template-columns: 1fr; gap: 12px; }
  .section-title { font-size: 2rem; margin-bottom: 22px; }
  .about-copy p { font-size: 1.2rem; }
  .about-copy p:first-child { font-size: 1.3rem; }
  .section-heading-row { align-items: start; flex-direction: column; gap: 0; }
  .section-heading-row > p { margin-block: 0 20px; }
  .spec-grid { grid-template-columns: 1fr; gap: 4px; }
  .spec-card { padding-block: 24px; }
  .spec-card h3 { font-size: 1.5rem; }
  .spec-card p { font-size: 1.1rem; }
  .spec-num { margin-bottom: 14px; }
  .questionnaire-link { align-items: start; flex-direction: column; gap: 15px; }
  .approach-grid, .audience-grid, .journal-grid { grid-template-columns: 1fr; gap: 29px; }
  .approach-num { margin-bottom: 13px; }
  .approach-item h3 { margin-bottom: 14px; }
  .audience-grid { gap: 26px; }
  .audience-card { padding-inline-start: 0; }
  .journal-card { padding: 20px 0; }
  .journal-card .article-tag { margin-bottom: 16px; }
  .journal-card h3 { font-size: 1.6rem; }
  .tl-item { gap: 15px; }
  .tl-content h3 { font-size: 1.45rem; }
  .tl-date { font-size: .78rem; }
  .faq-list summary { font-size: 1.06rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact form { gap: 14px; }
  .footer-inner { flex-direction: column; align-items: start; gap: 20px; }
  .site-footer { padding-bottom: 75px; }
  .page-hero, .journal-hero { padding-block: 40px 38px; }
  .page-title, .page-hero h1 { font-size: 2.6rem; }
  .page-intro, .page-hero > p { font-size: 1.08rem; }
  .content-section { padding-block: 38px; }
  .content-section p, .content-section li { font-size: 1.2rem; }
  .symptom-grid { grid-template-columns: 1fr; }
  .cta-box { padding: 27px 23px; }
  .articles-wrapper { grid-template-columns: 1fr; gap: 30px; padding-block: 35px 55px; }
  .toc { position: static; }
  .toc-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .toc-item a { font-size: .92rem; gap: 8px; padding-block: 10px; height: 100%; }
  .article-section { padding-block: 27px 35px; }
  .article-title { font-size: 2rem; }
  .article-subtitle, .article-body p { font-size: 1.2rem; }
  .article-body h3 { font-size: 1.55rem; }
  .journal-hero h1 { font-size: 2.5rem; }
  .journal-hero p { font-size: 1.07rem; }
  .journal-cta { padding: 24px; }
  .quiz-inner, .result-card { padding: 26px 23px; }
  .q-options { gap: 10px; }
  .q-option { padding: 14px 13px; gap: 11px; }
  .q-btn { padding: 10px 19px; }
  .q-tab { padding: 9px 17px; }
  .result-score-row { flex-direction: column; text-align: center; }
  .whatsapp-float { left: 16px; bottom: 16px; }
  .acc-btn { top: auto; bottom: 16px; right: 16px; transform: none; width: 48px; height: 48px; border: 1px solid #fffdf840; border-radius: 50%; }
  .acc-btn svg { width: 22px; }
}
@media (max-width: 380px) {
  .spec-grid { grid-template-columns: 1fr; }
  .contact form { grid-template-columns: 1fr; }
  .article-meta { flex-wrap: wrap; gap: 8px 12px; }
  .reading-time { margin-inline-start: 0; }
  .hero-actions { gap: 17px; }
  .hero-actions .btn { padding-inline: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  main { padding-top: 0; }
  .site-header, .mobile-menu, .acc-btn, .acc-panel, .acc-overlay, .whatsapp-float, .toc, .site-footer, .journal-cta { display: none !important; }
  body { background: white; }
  .articles-wrapper { display: block; width: 100%; }
  .article-section { break-inside: avoid; }
}

/* Accessibility: keyboard focus, text enlargement and reflow. */
html { scroll-padding-top:calc(var(--header-height,86px) + 20px); }
.header-inner { min-height:inherit;padding-block:14px;flex-wrap:wrap; }
.brand { min-width:0;flex-shrink:1; }
.brand > span { min-width:0; }
.desktop-links { flex-wrap:wrap; }
:focus-visible { outline:3px solid #111;outline-offset:4px;box-shadow:0 0 0 4px #fff; }
:is(input,textarea,button,a,summary):focus-visible { scroll-margin-block:calc(var(--header-height,86px) + 24px) 90px; }
.skip-link { max-width:calc(100% - 48px); }
.toc { top:calc(var(--header-height,86px) + 32px); }
.footer-sitemap { position:static;display:flex;flex-wrap:wrap;gap:10px 24px;padding:24px 0 0;margin-top:24px;border-top:1px solid var(--line);background:transparent;box-shadow:none; }
.footer-sitemap a, .footer-links a { padding-block:5px; }
.menu-toggle, .mobile-close, .btn-outline, .q-tab, .q-btn-back, .btn-restart { border-color:var(--muted); }
.contact :is(input,textarea) { border:2px solid #71847c; }
.form-errors { grid-column:1/-1;background:var(--paper-raised);color:var(--ink);padding:18px;border:2px solid #9c332d;border-radius:6px; }
.form-errors a { color:#8c2922; }
.field-error { font-size:.9rem;color:#fff; }
.contact input[aria-invalid] { border:3px solid #bd3f34; }
.q-fieldset { border:0;min-width:0;padding:0;margin:0; }
.q-fieldset legend { padding:0;max-width:100%; }
.q-option { border-color:var(--muted); }
.q-option input { appearance:auto;width:24px;height:24px;flex-shrink:0;accent-color:var(--forest);margin:0; }
.opt-score { color:var(--muted); }
.q-nav-row { flex-wrap:wrap;gap:16px; }
.q-dots { width:100%;order:3;gap:8px; }
.q-dot { width:32px;height:32px;border:1px solid var(--muted);border-radius:4px;color:var(--ink);font-size:.8rem; }
.q-dot.current { background:var(--forest);color:var(--paper-raised);transform:none;border:2px solid var(--forest);font-weight:700; }
.q-dot.answered { background:var(--forest-soft);border-color:var(--forest);text-decoration:underline; }
.q-dot:disabled { cursor:default; }
.result-score-circle { background:var(--forest)!important;width:auto;min-width:120px;min-height:120px;height:auto;padding:16px; }
.result-score-total { color:var(--paper-raised); }
.result-severity-label { color:var(--ink)!important; }
.result-bar-range { flex-wrap:wrap;gap:8px 16px; }
.result-cta p { color:var(--muted); }
.progress-bar-fill { background:var(--forest); }
.q-btn:disabled { opacity:1;background:var(--paper-sunk);color:var(--muted);border:1px solid var(--muted); }
body.acc-bigger .desktop-links { display:none; }
body.acc-bigger .menu-toggle { display:inline-flex; }
body.acc-bigger :is(.spec-grid,.toc-list,.contact form) { grid-template-columns:1fr; }
body.acc-bigger .tl-item { grid-template-columns:1fr; }
@media (max-width:700px) { .header-inner { gap:12px; } .brand { max-width:calc(100% - 56px); } .hero-portrait figcaption { flex-wrap:wrap; } .tl-item { grid-template-columns:1fr; } .result-cta .btn-primary { display:flex;margin-top:12px; } .content-section :is(.crisis-grid,.compare-grid) { grid-template-columns:1fr; } }
@media (forced-colors:active) { :focus-visible { outline:3px solid Highlight; } button,input,textarea,.q-option { border:1px solid ButtonText!important; } .q-dot.current,.q-option.selected { outline:2px solid Highlight; } }

.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }
#introHeading,#resultHeading { margin-bottom:24px;font-size:1.7rem; }
.quiz-instructions { margin:20px 0; }
/* Keep the helper controls away from the reading column. */
.acc-btn { top:auto;bottom:22px;right:22px;transform:none;width:48px;height:48px;border-radius:50%; }
.site-footer { padding-bottom:90px; }
.acc-font-status { padding-inline:18px; }
body { overflow-wrap:anywhere; }
@media (max-width:700px) { .acc-btn { bottom:16px;right:16px; } }
@media (max-width:700px) { .examples-grid { grid-template-columns:1fr!important; } }
body.acc-bigger :is(.hero-layout,.section-split,.contact-inner,.articles-wrapper,.approach-grid,.audience-grid,.journal-grid) { grid-template-columns:1fr; }
