/* English inner pages – shared styles derived from /en (en.html) design tokens. English-only asset. */
/* Metric-matched fallbacks: the page keeps its layout while the web fonts load (no layout shift) */
@font-face { font-family: 'Heebo Fallback'; src: local('Arial'), local('Helvetica'); size-adjust: 98.7%; ascent-override: 106.4%; descent-override: 42.6%; line-gap-override: 0%; }
@font-face { font-family: 'Newsreader Fallback'; src: local('Georgia'); size-adjust: 97.9%; ascent-override: 75.6%; descent-override: 26.6%; line-gap-override: 0%; }
@font-face { font-family: 'Newsreader Fallback'; font-style: italic; src: local('Georgia Italic'), local('Georgia-Italic'); size-adjust: 88.5%; ascent-override: 83.6%; descent-override: 29.4%; line-gap-override: 0%; }
:root {
    --ink: #17293A;
    --text: #3D4B59;
    --muted: #5F6D7C;
    --brand: #33658A;
    --brand-ink: #234B69;
    --sky: #98C1D9;
    --paper: #FBFAF7;
    --white: #FFFFFF;
    --tint: #EEF3F7;
    --line: #E4E0D7;
    --line-cool: #D9E3EB;
    --brass: #8A6D43;
    --wa: #15803D;
    --wa-ink: #166534;
    --ring: rgba(51, 101, 138, 0.45);
    --serif: 'Newsreader', 'Newsreader Fallback', Georgia, 'Times New Roman', serif;
    --sans: 'Heebo', 'Heebo Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --radius: 14px;
    --shadow: 0 1px 2px rgba(23, 41, 58, 0.04), 0 8px 28px rgba(23, 41, 58, 0.06);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
    font-family: var(--sans); color: var(--text); background: var(--paper);
    font-size: 1.0625rem; line-height: 1.7;
    -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-ink); }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; }
strong { color: var(--ink); font-weight: 600; }

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 2000;
    background: var(--ink); color: #fff; padding: 0.75rem 1.25rem; text-decoration: none; font-weight: 600;
}
.skip-link:focus { left: 0; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.label {
    font-family: var(--sans); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; line-height: 1.5;
    text-transform: uppercase; color: var(--brand); margin-bottom: 0.9rem;
}
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
.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; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(251, 250, 247, 0.92);
    backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px);
    border-bottom: 1px solid transparent; transition: border-color 0.2s ease;
}
.site-header.scrolled { border-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 2rem; height: 72px; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.1; }
.brand b { font-family: var(--serif); font-weight: 500; font-size: 1.32rem; color: var(--ink); letter-spacing: -0.01em; }
.brand small { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 0.2rem; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 1.7rem; list-style: none; }
.main-nav a { text-decoration: none; color: var(--text); font-weight: 500; font-size: 0.97rem; padding: 0.4rem 0; border-bottom: 1.5px solid transparent; }
.main-nav a:hover { color: var(--ink); border-color: var(--sky); }
.header-actions { display: flex; align-items: center; gap: 0.9rem; }
.lang-switch { text-decoration: none; font-weight: 600; font-size: 0.95rem; color: var(--ink); padding: 0.35rem 0.2rem; border-bottom: 1.5px solid var(--line); }
.lang-switch:hover { border-color: var(--brand); color: var(--brand); }
.header-phone {
    display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none;
    background: var(--ink); color: #fff; font-weight: 600; font-size: 0.95rem;
    padding: 0.6rem 1.1rem; border-radius: 8px; transition: background 0.18s ease;
}
.header-phone:hover { background: var(--brand-ink); color: #fff; }
.header-phone, .brand small, .main-nav a { white-space: nowrap; }
.nav-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
    font-family: var(--sans); font-weight: 600; font-size: 1.02rem; line-height: 1.2;
    padding: 0.95rem 1.5rem; border-radius: 10px; text-decoration: none;
    border: 1.5px solid transparent; cursor: pointer; min-height: 52px;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.btn svg { flex-shrink: 0; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-ink); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-ink); color: #fff; }
.icon { width: 1.15em; height: 1.15em; }
/* FAQ */
.reviewed { font-size: 0.9rem; color: var(--muted); margin-top: 1.2rem; }
.faq-list { border-top: 1px solid #CBD6DF; }
.faq-item { border-bottom: 1px solid #CBD6DF; }
.faq-item summary {
    cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1.2rem;
    padding: 1.25rem 0; font-family: var(--serif); font-size: 1.25rem; color: var(--ink); line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--brand-ink); }
.faq-plus { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid #B9C6D1; position: relative; transition: transform 0.25s ease, border-color 0.2s ease; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); }
.faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-plus { transform: rotate(45deg); border-color: var(--brand); }
.faq-body { padding: 0 3rem 1.4rem 0; }
/* ---------- Footer (mirrors the Hebrew site) ---------- */
.site-footer { background: #0B1220; color: rgba(255, 255, 255, 0.78); padding: 3.5rem 0 1.8rem; font-size: 0.97rem; position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--brand), var(--sky)); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 2.8rem; margin-bottom: 2.6rem; }
.footer-logo { display: inline-block; font-family: var(--serif); font-weight: 500; font-size: 1.45rem; color: #fff; text-decoration: none; margin-bottom: 0.9rem; }
.footer-intro { margin-bottom: 1.3rem; line-height: 1.7; }
.footer-socials { display: flex; gap: 0.7rem; }
.footer-socials a { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; border: 1px solid rgba(255, 255, 255, 0.25); transition: background 0.18s ease, border-color 0.18s ease; }
.footer-socials a:hover { background: var(--brand); border-color: var(--brand); }
.site-footer h2 { font-family: var(--sans); color: #fff; font-size: 1.02rem; font-weight: 600; margin-bottom: 1rem; letter-spacing: 0; }
.site-footer a { color: rgba(255, 255, 255, 0.8); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; display: grid; gap: 0.55rem; }
.footer-contact { display: grid; gap: 0.95rem; }
.footer-contact-item { display: flex; gap: 0.75rem; align-items: flex-start; }
.footer-contact-item svg { color: var(--sky); flex-shrink: 0; margin-top: 0.25rem; }
.footer-contact-item span { display: block; font-size: 0.9rem; color: rgba(255, 255, 255, 0.65); }
.footer-strong { font-weight: 700; color: #fff !important; display: block; }
.footer-disclaimer { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 1.5rem; font-size: 0.85rem; color: #9AA7B8; text-align: center; max-width: 880px; margin: 0 auto; }
.footer-disclaimer p { margin-bottom: 0.9rem; }
.footer-bottom-links { display: flex; justify-content: center; gap: 1.8rem; margin-bottom: 1rem; flex-wrap: wrap; }

/* ---------- Article layout ---------- */
.crumbs { font-size: 0.88rem; color: var(--muted); margin-bottom: 1.4rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.3rem 0.5rem; }
.crumbs li + li::before { content: "/"; margin-right: 0.5rem; color: #B9C6D1; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; }
.page-hero { padding: clamp(2rem, 5vw, 3.6rem) 0 clamp(1.8rem, 4vw, 2.6rem); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2rem, 1.2rem + 3.6vw, 3.7rem); letter-spacing: -0.02em; line-height: 1.06; max-width: 18em; }
.page-hero .subtitle { font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 2.1vw, 1.45rem); color: var(--brand-ink); margin-top: 0.8rem; max-width: 34em; line-height: 1.4; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1.2rem; margin-top: 1.6rem; font-size: 0.92rem; color: var(--muted); }
.byline img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.byline .who { display: flex; align-items: center; gap: 0.65rem; color: var(--ink); font-weight: 500; }
.byline a { font-weight: 600; }

.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2rem, 5vw, 4.5rem); padding-top: clamp(2.2rem, 5vw, 3.6rem); padding-bottom: clamp(3.5rem, 7vw, 5.5rem); align-items: start; }
.prose { max-width: 44rem; }
.prose h2 { font-size: clamp(1.65rem, 2.8vw, 2.1rem); margin: 2.6rem 0 0.9rem; }
.prose h3 { font-size: 1.35rem; margin: 1.8rem 0 0.6rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 1rem; }
.prose ul, .prose ol { margin: 0 0 1.15rem 1.3rem; }
.prose li { margin-bottom: 0.4rem; padding-left: 0.2rem; }
.prose li::marker { color: var(--brand); }
.prose .note { font-size: 0.97rem; color: var(--muted); border-left: 2px solid var(--sky); padding-left: 1rem; margin: 1.6rem 0; }
.prose .callout { background: var(--white); border: 1px solid var(--line-cool); border-left: 3px solid var(--brand); border-radius: 10px; padding: 1.1rem 1.3rem; margin: 1.4rem 0; }
.prose .callout p:last-child { margin-bottom: 0; }
.prose .table-wrap { overflow-x: auto; border: 1px solid var(--line-cool); border-radius: var(--radius); background: var(--white); margin: 1.4rem 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.prose th, .prose td { text-align: left; padding: 0.8rem 1rem; border-bottom: 1px solid var(--line-cool); vertical-align: top; }
.prose thead th { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); background: #F7F9FB; }

.brief { background: var(--white); border: 1px solid var(--line-cool); border-radius: var(--radius); padding: 1.4rem 1.5rem 0.6rem; margin-bottom: 2.4rem; box-shadow: var(--shadow); }
.brief .label { margin-bottom: 0.3rem; }
.brief .brief-by { font-size: 0.9rem; color: var(--muted); margin-bottom: 0.6rem; }
.brief dl div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: 0.8rem 0; border-top: 1px solid var(--line-cool); }
.brief dt { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand); padding-top: 0.2rem; }
.brief dd { color: var(--ink); font-size: 0.99rem; line-height: 1.6; }

.aside { position: sticky; top: 96px; display: grid; gap: 1.2rem; }
.toc { border-top: 2px solid var(--ink); padding-top: 1rem; }
.toc p { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem; }
.toc ol { list-style: none; display: grid; gap: 0.1rem; }
.toc a { display: block; text-decoration: none; color: var(--text); font-size: 0.93rem; line-height: 1.4; padding: 0.35rem 0 0.35rem 0.8rem; border-left: 2px solid var(--line); }
.toc a:hover { color: var(--brand); border-color: var(--brand); }
.book { background: var(--ink); color: rgba(255,255,255,0.85); border-radius: var(--radius); padding: 1.4rem 1.4rem 1.5rem; }
.book h2 { color: #fff; font-size: 1.35rem; margin-bottom: 0.4rem; }
.book p { font-size: 0.93rem; margin-bottom: 1rem; line-height: 1.55; }
.book .btn { width: 100%; min-height: 48px; padding: 0.8rem 1rem; font-size: 0.98rem; margin-top: 0.5rem; }
.book .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.book .btn-ghost:hover { border-color: #fff; color: #fff; }
.he-link { font-size: 0.9rem; color: var(--muted); }
.he-link a { font-weight: 600; }

.faq { margin-top: 3rem; }
.faq h2 { margin-top: 0; }
.faq .faq-body p:last-child { margin-bottom: 0; }

.author { display: grid; grid-template-columns: 64px 1fr; gap: 1rem; align-items: start; margin-top: 3rem; padding: 1.4rem 1.5rem; background: var(--tint); border-radius: var(--radius); }
.author img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.author h2 { font-family: var(--sans); font-size: 1rem; font-weight: 600; margin: 0 0 0.3rem; letter-spacing: 0; }
.author p { font-size: 0.95rem; margin-bottom: 0.4rem; }
.author .small { font-size: 0.86rem; color: var(--muted); }

.further { margin-top: 2.6rem; border-top: 1px solid var(--line); padding-top: 1.6rem; }
.further h2 { font-size: 1.35rem !important; margin: 0 0 0.6rem !important; }
.further ul { list-style: none; margin: 0.6rem 0 0.8rem !important; }
.further li { padding: 0.5rem 0 !important; border-bottom: 1px solid var(--line-cool); }
.further li span { display: block; font-size: 0.9rem; color: var(--muted); }
.further .small { font-size: 0.86rem; color: var(--muted); }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.6rem; }
.pager a { display: block; text-decoration: none; border: 1px solid var(--line-cool); background: var(--white); border-radius: 12px; padding: 1rem 1.2rem; }
.pager a:hover { border-color: var(--brand); }
.pager span { display: block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.pager b { font-family: var(--serif); font-weight: 500; font-size: 1.12rem; color: var(--ink); }
.pager .next { text-align: right; grid-column: 2; }
.hint-he { font-size: max(0.8em, 0.8rem); font-weight: 500; color: var(--muted); }

/* Profile / clinic components */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); margin: 0 0 2.4rem; }
.stats div { padding: 1.1rem 1.2rem; }
.stats div + div { border-left: 1px solid var(--line); }
.stats b { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.9rem; color: var(--ink); line-height: 1.1; }
.stats span { font-size: 0.9rem; }
.timeline { list-style: none; margin: 1rem 0 0 !important; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; padding: 0.9rem 0 !important; margin: 0 !important; border-bottom: 1px solid var(--line); }
.timeline .when { font-family: var(--serif); color: var(--brand-ink); }
.timeline .what span { display: block; font-size: 0.93rem; color: var(--muted); }
.hours { width: 100%; border-collapse: collapse; margin: 0.4rem 0 1rem; max-width: 26rem; }
.hours th, .hours td { text-align: left; padding: 0.55rem 0; border-top: 1px solid var(--line-cool); }
.hours th { font-weight: 500; }
.hours td { text-align: right; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.quote { border-top: 2px solid var(--ink); padding-top: 1rem; margin: 1.4rem 0; }
.quote blockquote { font-family: var(--serif); font-size: 1.18rem; line-height: 1.5; color: var(--ink); font-style: italic; }
.quote figcaption { margin-top: 0.6rem; font-size: 0.88rem; color: var(--muted); }
.linkgrid { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin: 1rem 0 1.4rem !important; }
.linkgrid li { margin: 0 !important; padding: 0 !important; }
.linkgrid a, .linkgrid span.plain { display: block; text-decoration: none; background: var(--white); border: 1px solid var(--line-cool); border-radius: 10px; padding: 0.75rem 1rem; font-weight: 600; color: var(--ink); }
.linkgrid a:hover { border-color: var(--brand); color: var(--brand); }
.profile-photo { float: right; width: 220px; margin: 0.3rem 0 1rem 1.6rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.exercise { border: 1px solid var(--line-cool); background: var(--white); border-radius: var(--radius); padding: 1.2rem 1.4rem 0.4rem; margin: 1.2rem 0; }
.exercise h3 { margin-top: 0 !important; }
.exercise h4 { font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand); margin: 0.9rem 0 0.3rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.8rem 0 1.4rem; }
.chips span { background: var(--tint); color: var(--ink); font-weight: 600; font-size: 0.9rem; border-radius: 999px; padding: 0.35rem 0.85rem; }

@media (max-width: 1060px) {
    .main-nav ul { gap: 1.1rem; }
    .header-inner { gap: 1.2rem; }
    .brand small { display: none; }
    .header-phone .phone-num { display: none; }
    .header-phone { padding: 0.6rem 0.8rem; }
}
@media (max-width: 900px) {
    .nav-toggle { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; color: var(--ink); margin-left: auto; }
    .main-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(23, 41, 58, 0.08); margin-left: 0; }
    .main-nav.open { display: block; }
    .main-nav ul { flex-direction: column; gap: 0; padding: 0.5rem 0; }
    .main-nav a { display: block; padding: 0.85rem 1.5rem; font-size: 1.05rem; border: none; }
    .header-inner { gap: 0.9rem; }
    .article-grid { grid-template-columns: minmax(0, 1fr); }
    .aside { position: static; order: 2; }
    .toc { display: none; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 560px) {
    .container { padding: 0 1rem; }
    .brief dl div { grid-template-columns: 1fr; gap: 0.15rem; }
    .stats { grid-template-columns: 1fr; }
    .stats div + div { border-left: none; border-top: 1px solid var(--line); }
    .timeline li { grid-template-columns: 1fr; gap: 0.2rem; }
    .linkgrid, .pager { grid-template-columns: 1fr; }
    .pager .next { grid-column: auto; }
    .profile-photo { float: none; width: 100%; max-width: 320px; margin: 0 0 1.2rem; }
    .faq-body { padding-right: 0; }
    .lang-switch { font-size: 0.9rem; }
}
@media print {
    .site-header, .aside, .site-footer, .pager { display: none; }
    .article-grid { display: block; }
}
.prose .brief h2.label { font-family: var(--sans); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; margin: 0 0 0.3rem; color: var(--brand); line-height: 1.5; }
/* Keep content clear of the floating quick-contact bar (injected by /js/accessibility.js, left edge in LTR) */
@media (min-width: 901px) and (max-width: 1340px) {
    main .container { padding-left: 4.75rem; }
}

/* ---------- Footer extra links ---------- */
.footer-more { margin-top: 1.1rem; }

/* ---------- Scroll reveal (only when JS is on and motion is allowed) ---------- */
html.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
html.js-reveal .reveal.visible { opacity: 1; transform: none; }

/* ---------- Career timeline (horizontal cards, as on the Hebrew page) ---------- */
.tl { position: relative; margin: 1.4rem 0 0.4rem; }
.tl-track {
    display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 0.25rem;
    padding: 0.6rem 0.25rem 1.4rem; scrollbar-width: thin; scrollbar-color: #C9D3DC transparent;
    list-style: none; margin: 0 !important;
}
.tl-track::-webkit-scrollbar { height: 6px; }
.tl-track::-webkit-scrollbar-thumb { background: #C9D3DC; border-radius: 3px; }
.tl::before, .tl::after { content: ""; position: absolute; top: 0; bottom: 1rem; width: 36px; z-index: 2; pointer-events: none; transition: opacity 0.2s ease; }
.tl::before { left: 0; background: linear-gradient(to right, var(--paper), rgba(251,250,247,0)); }
.tl::after { right: 0; background: linear-gradient(to left, var(--paper), rgba(251,250,247,0)); }
.tl.at-start::before, .tl.at-end::after { opacity: 0; }
.tl-card {
    flex: 0 0 min(300px, 82%); scroll-snap-align: start; position: relative; overflow: hidden;
    background: var(--white); border: 1px solid var(--line-cool); border-radius: 16px; padding: 1.35rem 1.3rem 1.2rem !important; margin: 0 !important;
    box-shadow: 0 10px 28px rgba(21, 46, 66, 0.07); transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tl-card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(21, 46, 66, 0.12); }
.tl-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--brand), var(--sky)); }
.tl-card.edu::before { background: linear-gradient(90deg, #B08A4A, #E3CF9E); }
.tl-cat { display: inline-block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; color: var(--brand); background: rgba(51,101,138,0.08); padding: 0.25rem 0.65rem; border-radius: 999px; }
.tl-card.edu .tl-cat { color: #7D5F2B; background: rgba(176,138,74,0.14); }
.tl-year { font-family: var(--serif); font-size: 1.6rem; color: var(--brand-ink); margin: 0.75rem 0 0.35rem; line-height: 1.15; font-variant-numeric: lining-nums; }
.tl-title { font-weight: 600; color: var(--ink); line-height: 1.4; margin-bottom: 0.35rem; }
.tl-desc { font-size: 0.93rem; color: var(--muted); line-height: 1.55; margin: 0 !important; }
.tl-nav { display: flex; gap: 0.5rem; justify-content: flex-end; margin-top: 0.2rem; }
.tl-nav button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid #C9D3DC; background: var(--white); color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: border-color .2s, color .2s, opacity .2s; }
.tl-nav button:hover:not(:disabled) { border-color: var(--brand); color: var(--brand); }
.tl-nav button:disabled { opacity: 0.35; cursor: default; }
.tl-nav svg { width: 18px; height: 18px; }
html.js-reveal .tl-card.reveal { transform: translateX(24px); }
html.js-reveal .tl-card.reveal.visible { transform: none; }

/* ---------- Official profiles (logo cards) ---------- */
.profiles { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.7rem; margin: 1.2rem 0 0.6rem !important; }
.profiles li { margin: 0 !important; padding: 0 !important; }
.profiles a {
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.45rem; height: 100%;
    background: var(--white); border: 1px solid var(--line-cool); border-radius: 14px; padding: 1.1rem 0.8rem 0.9rem;
    text-decoration: none; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.profiles a:hover { transform: translateY(-3px); border-color: var(--sky); box-shadow: 0 12px 26px rgba(21,46,66,0.09); }
.profiles img { height: 40px; width: auto; max-width: 100%; object-fit: contain; margin-bottom: 0.25rem; }
.profiles b { color: var(--ink); font-weight: 600; font-size: 0.95rem; line-height: 1.3; }
.profiles span { font-size: 0.82rem; color: var(--muted); line-height: 1.35; }
.profiles .ext { width: 15px; height: 15px; color: var(--brand); margin-top: auto; }

/* ---------- Lightbox ---------- */
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 92vh; overflow: visible; margin: auto; }
dialog.lightbox::backdrop { background: rgba(11, 18, 32, 0.82); }
dialog.lightbox figure { margin: 0; }
dialog.lightbox img { max-width: 100%; max-height: 82vh; width: auto; height: auto; margin: 0 auto; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,0.4); background: #fff; }
dialog.lightbox figcaption { color: #E6EDF3; text-align: center; font-size: 0.95rem; margin-top: 0.8rem; }
dialog.lightbox .lb-close { position: absolute; top: -18px; right: -18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,0.3); }
@media (max-width: 860px) { dialog.lightbox .lb-close { position: fixed; top: max(12px, env(safe-area-inset-top, 0px)); right: 12px; z-index: 5; } dialog.lightbox { max-height: 86vh; margin-top: max(64px, calc(env(safe-area-inset-top, 0px) + 60px)); } }
.zoomable { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; text-align: inherit; font: inherit; color: inherit; }
.zoomable img { transition: transform .35s ease; }
.zoomable:hover img { transform: scale(1.03); }

/* ---------- Achievements (wide layout) ---------- */
.ac-wrap { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.ac-wrap.white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ac-head { max-width: 46rem; margin-bottom: 2.2rem; }
.ac-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.ac-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 0.7rem; }
.ac-head p { font-size: 1.05rem; }
.ac-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(2rem, 4vw, 3rem); }
.ac-hero-grid h1 { font-size: clamp(2.5rem, 5.4vw, 3.9rem); letter-spacing: -0.02em; line-height: 1.04; margin-bottom: 1.1rem; }
.ac-lede { font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.45rem); color: var(--ink); line-height: 1.45; margin-bottom: 1rem; }
.ac-updated { font-size: 0.88rem; color: var(--muted); margin-top: 1rem; }
.ac-fan { position: relative; height: 360px; margin: 0; }
.ac-fan-item { position: absolute; left: 50%; bottom: 70px; width: 150px; transform-origin: 50% 190%; border: 0; background: none; transform: translateX(-50%) rotate(0deg); transition: transform 0.9s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i) * 60ms); padding: 0; }
.ac-fan.visible .ac-fan-item, html:not(.js-reveal) .ac-fan-item { transform: translateX(-50%) rotate(var(--r)); }
.ac-fan-item img { transition: transform .3s ease; }
.ac-fan-item img { width: 150px; height: auto; border-radius: 6px; box-shadow: 0 12px 28px rgba(23,41,58,0.22); border: 3px solid #fff; }
.ac-fan-item .yr { position: absolute; left: 50%; bottom: -26px; transform: translateX(-50%); font-size: 0.8rem; font-weight: 700; color: var(--brass); }
.ac-fan figcaption { position: absolute; bottom: 0; left: 0; right: 0; text-align: center; font-size: 0.85rem; color: var(--muted); }
.ac-honours { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.ac-honour { background: var(--white); border: 1px solid var(--line-cool); border-radius: var(--radius); padding: 1.3rem 1.4rem; box-shadow: var(--shadow); }
.ac-honour dt { font-family: var(--serif); font-size: 1.4rem; color: var(--ink); line-height: 1.2; }
.ac-honour dt span { display: block; font-family: var(--sans); font-size: 0.92rem; color: var(--muted); margin-top: 0.25rem; }
.ac-honour dd { margin-top: 0.8rem; display: flex; align-items: baseline; gap: 0.7rem; flex-wrap: wrap; }
.ac-honour .yrs { font-family: var(--serif); font-size: 1.9rem; color: var(--brand-ink); font-variant-numeric: lining-nums; }
.ac-honour .note { font-size: 0.85rem; font-weight: 600; color: #6B5230; background: rgba(138,109,67,0.1); padding: 0.2rem 0.6rem; border-radius: 999px; }
.ac-facts { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.ac-facts div { padding: 1.1rem 1.2rem; }
.ac-facts div + div { border-left: 1px solid var(--line); }
.ac-facts dd { font-family: var(--serif); font-size: 2rem; color: var(--ink); line-height: 1.05; order: -1; }
.ac-facts div { display: flex; flex-direction: column; gap: 0.3rem; }
.ac-facts dt { font-size: 0.88rem; color: var(--muted); }
.ac-wall { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.2rem; }
.ac-year { background: var(--paper); border: 1px solid var(--line-cool); border-radius: 14px; padding: 0.9rem; display: flex; flex-direction: column; gap: 0.6rem; }
.ac-year .zoomable { aspect-ratio: 3 / 4; overflow: hidden; border-radius: 8px; background: #EEF1F4; }
.ac-year .zoomable img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ac-year .n { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); line-height: 1; }
.ac-year ul { list-style: none; display: grid; gap: 0.4rem; }
.ac-year li { font-size: 0.86rem; line-height: 1.4; padding-left: 0.7rem; border-left: 3px solid var(--brand); }
.ac-year li.d { border-color: var(--brass); }
.ac-year li b { display: block; color: var(--ink); font-weight: 600; }
.ac-year .lk { display: flex; flex-wrap: wrap; gap: 0.15rem 0.6rem; margin-top: 0.15rem; }
.ac-year .lk a, .ac-year .lk button { font: inherit; font-size: 0.82rem; font-weight: 600; color: var(--brand); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.ac-legend { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; margin-top: 1.4rem; font-size: 0.88rem; color: var(--muted); }
.ac-legend span::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 3px; background: var(--brand); margin-right: 0.45rem; vertical-align: -1px; }
.ac-legend span.d::before { background: var(--brass); }
.ac-method { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); }
.ac-method h3 { font-size: 1.6rem; margin-bottom: 0.8rem; }
.ac-method p { margin-bottom: 1rem; }
.ac-pull { font-family: var(--serif); font-size: 1.35rem; line-height: 1.4; color: var(--ink); border-left: 3px solid var(--sky); padding: 0.2rem 0 0.2rem 1.1rem; margin: 1.2rem 0; font-style: italic; }
.ac-pull cite { display: block; font-family: var(--sans); font-style: normal; font-size: 0.85rem; color: var(--muted); margin-top: 0.5rem; }
.ac-pull .big { display: block; font-style: normal; font-size: 3rem; line-height: 1; color: var(--brand-ink); }
.ac-gallery-label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand); margin: 2rem 0 0.3rem; }
.ac-gallery-intro { margin-bottom: 1.2rem; }
.ac-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; list-style: none; }
.ac-gallery figure { margin: 0; background: var(--white); border: 1px solid var(--line-cool); border-radius: 14px; overflow: hidden; height: 100%; }
.ac-gallery .zoomable { aspect-ratio: 4 / 3; overflow: hidden; background: #EEF1F4; }
.ac-gallery .zoomable img { width: 100%; height: 100%; object-fit: cover; }
.ac-gallery figcaption { padding: 0.9rem 1rem 1rem; }
.ac-gallery figcaption b { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.12rem; color: var(--ink); margin-bottom: 0.2rem; }
.ac-gallery figcaption span { font-size: 0.88rem; color: var(--muted); }
.ac-sources { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.ac-sources h3 { font-size: 1.35rem; margin-bottom: 0.6rem; }
.ac-sources ul { list-style: none; border-top: 1px solid var(--line); }
.ac-sources li { padding: 0.85rem 0; border-bottom: 1px solid var(--line); font-size: 0.93rem; }
.ac-sources .meta { display: block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.2rem; }
.ac-sources a { font-weight: 600; }
.ac-sources li > span:last-child { display: block; color: var(--muted); margin-top: 0.25rem; }
.ac-note { font-size: 0.9rem; color: var(--muted); margin-top: 1.4rem; }
.ac-faq { max-width: 52rem; margin: 0 auto; }
.ac-cta { background: var(--ink); color: rgba(255,255,255,0.85); border-radius: 20px; padding: clamp(2rem, 5vw, 3.5rem); text-align: center; }
.ac-cta h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 0.8rem; }
.ac-cta p { max-width: 40rem; margin: 0 auto 1.4rem; }
.ac-cta .btns { display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.2rem; }
.ac-cta .links { display: flex; gap: 0.5rem 1.4rem; justify-content: center; flex-wrap: wrap; font-size: 0.95rem; }
.ac-cta .links a { color: #fff; }
@media (max-width: 1060px) { .ac-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ac-sources { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) {
    .ac-hero-grid, .ac-method { grid-template-columns: 1fr; }
    .ac-fan { height: 280px; max-width: 420px; margin: 0 auto; }
    .ac-facts { grid-template-columns: 1fr 1fr; }
    .ac-facts div:nth-child(3) { border-left: 0; }
    .ac-facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .ac-gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .ac-honours, .ac-sources { grid-template-columns: 1fr; }
    .ac-wall { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
    .ac-gallery { grid-template-columns: 1fr; }
    .ac-fan-item, .ac-fan-item img { width: 110px; }
    .ac-fan { height: 270px; }
    .ac-fan-item { bottom: 60px; }
}
html.js-reveal .ac-fan.reveal { opacity: 1; transform: none; }
.ac-fan-item .yr { display: none; }

/* Protocol cards (rehabilitation hub) */
.protocols { list-style: none; display: grid; gap: 1rem; margin: 1.2rem 0 1.6rem !important; }
.protocols > li { margin: 0 !important; padding: 1.2rem 1.3rem !important; background: var(--white); border: 1px solid var(--line-cool); border-radius: var(--radius); transition: border-color .25s, box-shadow .25s, transform .25s; }
.protocols > li:hover { border-color: var(--sky); box-shadow: 0 12px 26px rgba(21,46,66,0.08); transform: translateY(-2px); }
.protocols .tag { display: inline-block; font-size: 0.8rem; font-weight: 600; letter-spacing: .04em; color: var(--brand); background: rgba(51,101,138,0.08); padding: .2rem .6rem; border-radius: 999px; }
.protocols h3 { margin: .6rem 0 .3rem !important; font-size: 1.3rem; }
.protocols h3 a { color: var(--ink); text-decoration: none; }
.protocols h3 a:hover { color: var(--brand); }
.protocols p { margin-bottom: .5rem; }
.protocols .links { display: flex; gap: .4rem 1.2rem; flex-wrap: wrap; font-weight: 600; font-size: .95rem; margin: 0; }
/* Long dropdowns scroll on short desktop screens */
@media (min-width: 901px) { .main-nav ul.sub { max-height: calc(100vh - 100px); overflow-y: auto; } }
.stats.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 700px) { .stats.four { grid-template-columns: 1fr 1fr; } .stats.four div:nth-child(3) { border-left: none; } .stats.four div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 560px) { .stats.four div + div { border-top: none; } }
.fig { margin: 1.6rem 0; }
.fig .zoomable { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-cool); background: #fff; }
.fig img { width: 100%; height: auto; }
.fig figcaption { font-size: 0.9rem; color: var(--muted); margin-top: 0.55rem; line-height: 1.5; }
.btn-ghost-light { background: var(--white); color: var(--ink); border-color: #C9D3DC; }
.btn-ghost-light:hover { border-color: var(--brand); color: var(--brand); }
.prose .btn { margin: 0.25rem 0.4rem 0.25rem 0; }
/* Glossary */
.gl-tools { position: sticky; top: 72px; z-index: 5; background: var(--paper); padding: 0.8rem 0 0.6rem; margin-bottom: 0.8rem; border-bottom: 1px solid var(--line); }
.gl-tools input { width: 100%; font: inherit; font-size: 1rem; padding: 0.75rem 1rem; border: 1.5px solid #CFD8E1; border-radius: 10px; background: #fff; color: var(--ink); }
.gl-tools input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(51,101,138,0.15); }
.gl-cats { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.7rem; }
.gl-cats button { font: inherit; font-size: 0.85rem; font-weight: 600; color: var(--text); background: var(--white); border: 1px solid var(--line-cool); border-radius: 999px; padding: 0.4rem 0.85rem; cursor: pointer; min-height: 36px; }
.gl-cats button.on, .gl-cats button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.gl-count { font-size: 0.85rem; color: var(--muted); margin: 0.5rem 0 0 !important; }
.gl-term { padding: 1rem 0 0.4rem; border-bottom: 1px solid var(--line-cool); scroll-margin-top: 220px; }
.gl-term:target { background: linear-gradient(90deg, rgba(152,193,217,0.18), transparent); }
.gl-term h3 { margin: 0 0 0.35rem !important; font-size: 1.22rem !important; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3rem 0.7rem; }
.gl-he { font-family: var(--sans); font-size: 0.9rem; font-weight: 500; color: var(--brand-ink); background: var(--tint); padding: 0.1rem 0.55rem; border-radius: 6px; }
.gl-link { font-size: 0.92rem; font-weight: 600; }
.gl-empty { padding: 1.5rem 0; color: var(--muted); }
/* Medical index */
.guide-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin: 0.8rem 0 1.6rem !important; }
.guide-list .gl-term { padding: 0 !important; border: 0; margin: 0 !important; }
.guide-list a { display: flex; justify-content: space-between; gap: 0.8rem; align-items: center; height: 100%; text-decoration: none; color: var(--ink); font-weight: 600; background: var(--white); border: 1px solid var(--line-cool); border-radius: 12px; padding: 0.85rem 1rem; transition: border-color .2s, transform .2s, box-shadow .2s; }
.guide-list a span { color: var(--brand); transition: transform .2s; }
.guide-list a:hover { border-color: var(--sky); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(21,46,66,0.08); }
.guide-list a:hover span { transform: translateX(3px); }
.gl-cat h2 small { font-family: var(--sans); font-size: 0.8rem; font-weight: 600; color: var(--muted); margin-left: 0.4rem; letter-spacing: .02em; }
@media (max-width: 560px) { .guide-list { grid-template-columns: 1fr; } }
/* YouTube facades + media list */
.yt-facade, .yt-frame { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: var(--radius); overflow: hidden; background: #0B1220; cursor: pointer; }
.yt-facade { background: radial-gradient(circle at 50% 45%, #2c5878 0%, #152e42 60%, #0B1220 100%); }
.yt-facade img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, opacity .3s; opacity: .92; }
.yt-facade:hover img { transform: scale(1.03); opacity: 1; }
.yt-play { position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; transform: translate(-50%, -50%); background: rgba(196, 32, 32, .92); border-radius: 14px; }
.yt-play::after { content: ""; position: absolute; left: 27px; top: 14px; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
.yt-time { position: absolute; right: 10px; bottom: 10px; background: rgba(0,0,0,.75); color: #fff; font-size: .8rem; font-weight: 600; padding: .15rem .45rem; border-radius: 4px; }
.yt-title { margin-top: .7rem; }
.yt-grid { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin: 1rem 0 0.6rem !important; }
.yt-grid li { margin: 0 !important; padding: 0 !important; }
.yt-grid .tag, .media-list .tag { display: inline-block; margin-top: .7rem; font-size: 0.8rem; font-weight: 600; color: var(--brand); background: rgba(51,101,138,0.08); padding: .2rem .6rem; border-radius: 999px; }
.yt-grid h3 { margin: .45rem 0 .3rem !important; font-size: 1.25rem; }
.yt-card-text { background: var(--tint); border-radius: var(--radius); padding: 1.3rem !important; align-self: start; }
.media-list { grid-template-columns: 1fr 1fr !important; margin: 1rem 0 1.6rem !important; }
.media-list .media-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #EEF1F4; }
.media-list .media-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.media-list .media-img:hover img { transform: scale(1.04); }
.media-list figcaption b { margin-top: .4rem; }
.media-list figcaption a { display: inline-block; margin-top: .45rem; font-weight: 600; font-size: .9rem; }
.media-list figcaption > span:not(.tag) { display: block; }
@media (max-width: 560px) { .yt-grid, .media-list { grid-template-columns: 1fr !important; } }

/* Contact form (same styles as /en) */
/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-lines { list-style: none; margin: 1.6rem 0; border-top: 1px solid var(--line); }
.contact-lines li { padding: 0.95rem 0; border-bottom: 1px solid var(--line); display: flex; gap: 0.8rem; align-items: flex-start; }
.contact-lines svg { color: var(--brand); flex: none; margin-top: 0.3rem; }
.contact-lines b { display: block; color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.contact-lines a { font-weight: 600; text-decoration: none; font-size: 1.08rem; }
.contact-form { background: var(--white); border: 1px solid var(--line-cool); border-radius: var(--radius); padding: clamp(1.6rem, 3.5vw, 2.4rem); box-shadow: var(--shadow); }
.contact-form h3 { font-size: 1.5rem; margin-bottom: 0.3rem; }
.contact-form > p.muted { font-size: 0.95rem; margin-bottom: 1.4rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.form-row { margin-bottom: 1.1rem; }
.form-row.full { grid-column: 1 / -1; }
.form-row label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 0.4rem; font-size: 0.95rem; }
.form-row input, .form-row textarea {
    width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
    padding: 0.8rem 0.95rem; border: 1.5px solid #CFD8E1; border-radius: 10px; background: #FCFDFE;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(51, 101, 138, 0.15); background: #fff; }
.form-actions { display: grid; gap: 0.7rem; }
.form-actions .btn { width: 100%; }
.form-status { margin-top: 0.9rem; font-weight: 600; min-height: 1.5em; }
.form-status.ok { color: var(--wa-ink); }
.form-status.err { color: #B42318; }
.form-legal { font-size: 0.8rem; color: var(--muted); margin-top: 0.4rem; line-height: 1.6; }
.form-legal a { color: inherit; }
.prose .contact-form { margin: 1.4rem 0 2rem; }
.prose .contact-form h2 { margin-top: 0; font-size: 1.6rem; }
.contact-cards { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: 1rem 0 1.6rem !important; }
.contact-cards li { margin: 0 !important; padding: 0 !important; }
.contact-cards a { display: block; height: 100%; text-decoration: none; background: var(--white); border: 1px solid var(--line-cool); border-radius: var(--radius); padding: 1.1rem 1.2rem; color: var(--text); transition: border-color .2s, transform .2s, box-shadow .2s; }
.contact-cards a:hover { border-color: var(--sky); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(21,46,66,.08); }
.contact-cards b { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.25rem; color: var(--ink); }
.contact-cards span { display: block; font-size: .92rem; }
.contact-cards strong { display: block; margin-top: .4rem; color: var(--brand); }
@media (max-width: 560px) { .contact-cards { grid-template-columns: 1fr; } .form-grid { grid-template-columns: 1fr; } }
/* Reviews */
.rv-big { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); margin: 1rem 0 .6rem; }
.rv-big b { font-weight: 500; font-size: 2.2rem; color: var(--brand-ink); }
.stats.five { grid-template-columns: repeat(5, 1fr); }
.stats dd b small { font-size: .5em; color: var(--muted); }
@media (max-width: 700px) { .stats.five { grid-template-columns: 1fr 1fr; } .stats.five div + div { border-left: none; } .stats.five div { border-top: 1px solid var(--line); } }
.rv-dist { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.4rem !important; }
.rv-dist li { margin: 0 !important; padding: .35rem .8rem !important; background: var(--tint); border-radius: 999px; font-size: .9rem; }
.rv-dist b { color: var(--ink); }
.rv-years { margin: 0 0 2rem; background: var(--white); border: 1px solid var(--line-cool); border-radius: var(--radius); padding: 1.2rem 1.3rem; }
.rv-years figcaption { margin-bottom: .8rem; }
.rv-years ul { list-style: none; display: grid; gap: .35rem; margin: 0 !important; }
.rv-years li { display: grid; grid-template-columns: 8.5rem 1fr 2.2rem; align-items: center; gap: .7rem; margin: 0 !important; padding: 0 !important; font-size: .88rem; }
.rv-years .bar { height: 10px; background: var(--tint); border-radius: 999px; overflow: hidden; }
.rv-years .bar i { display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, var(--brand), var(--sky)); border-radius: 999px; transition: width 1s cubic-bezier(.2,.7,.2,1); }
html.js-reveal .rv-years:not(.visible) .bar i { width: 0; }
.rv-years .n { text-align: right; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.rv-voices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
@media (max-width: 760px) { .rv-voices { grid-template-columns: 1fr; } }
.rv-tools { margin: 1rem 0; display: grid; gap: .3rem; }
.rv-list { display: grid; gap: .9rem; margin-top: .6rem; }
.rv-card { background: var(--white); border: 1px solid var(--line-cool); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.rv-card.is-lead { border-color: var(--sky); box-shadow: var(--shadow); }
.rv-card[hidden] { display: none; }
.rv-score { font-size: .85rem; color: var(--muted); margin-bottom: .4rem !important; }
.rv-score b { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; color: var(--ink); }
.rv-card blockquote p { font-size: 1rem; color: var(--ink); margin-bottom: .6rem; }
.rv-card footer { font-size: .85rem; color: var(--muted); }
.rv-card footer b { color: var(--ink); }
.rv-tr { display: inline-block; margin-left: .3rem; font-size: 0.8rem; background: var(--tint); padding: .05rem .45rem; border-radius: 4px; }
/* Numbered "why" / process lists */
.why-list, .steps-list { list-style: none; counter-reset: n; display: grid; gap: .8rem; margin: 1rem 0 1.6rem !important; }
.why-list li, .steps-list li { counter-increment: n; position: relative; margin: 0 !important; padding: 1.1rem 1.2rem 1rem 3.6rem !important; background: var(--white); border: 1px solid var(--line-cool); border-radius: var(--radius); }
.why-list li::before, .steps-list li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 1.1rem; top: 1rem; font-family: var(--serif); font-size: 1.5rem; line-height: 1; color: var(--brand); opacity: .6; }
.steps-list li::before { content: counter(n); }
.why-list h3, .steps-list h3 { margin: 0 0 .35rem !important; font-size: 1.2rem; }
.why-list p, .steps-list p { margin: 0 !important; }
.x-list { list-style: none; margin-left: 0 !important; }
.x-list li { position: relative; padding-left: 1.6rem !important; }
.x-list li::before { content: "✕"; position: absolute; left: 0; color: #B42318; font-weight: 700; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 560px) { .two-col { grid-template-columns: 1fr; } }
.protocols ul { margin: .4rem 0 .2rem 1.2rem !important; list-style: disc; }
.protocols ul li { margin: .25rem 0 !important; padding: 0 !important; background: none; border: 0; }

/* 3D model stage (anatomy page) */
.model-stage { position: relative; overflow: hidden; margin: 2.4rem 0 1rem; padding: 3rem 2rem 2.2rem; text-align: center; color: #fff; border-radius: 18px; background: radial-gradient(circle at 50% 0%, rgba(152,193,217,0.22), transparent 60%), linear-gradient(160deg, #13293d 0%, #1b3a55 55%, #0f2131 100%); box-shadow: inset 0 0 80px rgba(0,0,0,0.3); }
.model-stage::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(152,193,217,0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(152,193,217,0.08) 1px, transparent 1px); background-size: 36px 36px; -webkit-mask-image: radial-gradient(circle at 50% 35%, #000 30%, transparent 78%); mask-image: radial-gradient(circle at 50% 35%, #000 30%, transparent 78%); pointer-events: none; }
.model-stage::after { content: ""; position: absolute; left: 0; right: 0; top: -120px; height: 120px; background: linear-gradient(to bottom, transparent, rgba(152,193,217,0.12) 50%, transparent); animation: modelScan 5s linear infinite; pointer-events: none; }
.model-stage > * { position: relative; z-index: 1; }
.model-stage h2 { color: #fff !important; margin: .8rem 0 .6rem !important; }
.model-stage p { color: rgba(255,255,255,0.88); max-width: 36rem; margin-left: auto; margin-right: auto; }
.model-orb { display: inline-flex; align-items: center; justify-content: center; width: 84px; height: 84px; border-radius: 50%; color: #cfe6f3; border: 1px solid rgba(152,193,217,0.5); background: radial-gradient(circle at 50% 40%, rgba(152,193,217,0.28), rgba(152,193,217,0.05)); box-shadow: 0 0 36px rgba(152,193,217,0.3); }
.model-orb::after { content: ""; position: absolute; width: 84px; height: 84px; border-radius: 50%; border: 1px solid rgba(152,193,217,0.35); animation: modelPulse 2.6s ease-out infinite; }
.model-ctas { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin: 1.4rem auto !important; }
.model-stage .model-cta { background: #fff; color: var(--ink); text-decoration: none; }
.model-stage .model-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,0.25); }
.model-stage .model-cta-ghost { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.6); text-decoration: none; }
.model-stage .model-cta-ghost:hover { background: rgba(255,255,255,0.22); }
.model-tip { font-size: .95rem; padding: 1rem 1.2rem; border-radius: 12px; background: rgba(152,193,217,0.1); border: 1px solid rgba(152,193,217,0.25); }
.model-tip strong { color: #fff; }
@keyframes modelScan { from { top: -120px; } to { top: 100%; } }
@keyframes modelPulse { from { transform: scale(1); opacity: .7; } to { transform: scale(1.45); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .model-stage::after, .model-orb::after { animation: none; } }
@media (max-width: 560px) { .model-stage { padding: 2.2rem 1.1rem 1.6rem; } }

/* search / filter bars need JS: hide them only when scripts are off (no layout shift when they are on) */
html:not(.js) [data-glossary-tools], html:not(.js) [data-reviews-tools] { display: none; }

/* content-center topic cards: whole card is the link */
.cc-grid > li { position: relative; cursor: pointer; }
.cc-grid h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.cc-grid h3 a { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.cc-grid h3 a::before { content: "→"; order: 2; font-family: var(--sans, inherit); font-size: 1rem; color: var(--brand); transition: transform .25s; }
.cc-grid > li:hover h3 a::before { transform: translateX(4px); }
.cc-grid > li:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(51,101,138,0.15); }

/* keep phone numbers in one piece; stack CTA rows evenly on phones */
.nw { white-space: nowrap; }
@media (max-width: 560px) {
  .cta-row, .prose p:has(> .btn + .btn) { display: grid; gap: 0.6rem; }
  .cta-row .btn, .prose p:has(> .btn + .btn) > .btn { width: 100%; justify-content: center; text-align: center; }
}

/* active section in "On this page" */
.toc a.is-active { color: var(--ink); font-weight: 600; border-color: var(--brand); }
/* reading progress bar under the fixed header */
.read-progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 1001; background: var(--brand); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .read-progress { display: none; } }
@media print { .read-progress { display: none; } }

/* Lightbox with an English explanation panel (data-desc / data-labels) */
dialog.lightbox figure.has-desc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.4); max-height: 90vh; }
dialog.lightbox figure.has-desc img { border-radius: 0; box-shadow: none; max-height: 90vh; width: 100%; object-fit: contain; align-self: center; }
dialog.lightbox figure.has-desc figcaption { color: var(--text); text-align: left; margin: 0; padding: 1.3rem 1.4rem 1.4rem; overflow-y: auto; max-height: 90vh; border-left: 1px solid var(--line); font-size: 0.95rem; line-height: 1.55; }
.lb-title { font-family: var(--serif); font-size: 1.18rem; color: var(--ink); line-height: 1.3; margin: 0 0 0.6rem; }
.lb-desc { margin: 0 0 0.6rem; }
.lb-sub { margin: 0.9rem 0 0.35rem; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.lb-labels { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.lb-labels li { display: flex; justify-content: space-between; gap: 0.8rem; padding: 0.45rem 0.6rem; background: var(--tint); border-radius: 8px; font-size: 0.92rem; }
.lb-labels .en { color: var(--ink); font-weight: 500; }
.lb-labels .he { color: var(--muted); font-size: 0.88rem; text-align: right; }
@media (max-width: 860px) {
  dialog.lightbox figure.has-desc { grid-template-columns: 1fr; max-height: 88vh; overflow-y: auto; }
  dialog.lightbox figure.has-desc img { max-height: 52vh; }
  dialog.lightbox figure.has-desc figcaption { border-left: 0; border-top: 1px solid var(--line); max-height: none; overflow: visible; }
}
/* "English explanation" hint on in-text figures */
.zoom-hint { position: absolute; right: 0.6rem; bottom: 0.6rem; display: inline-flex; align-items: center; gap: 0.35rem; background: rgba(255,255,255,0.94); color: var(--ink); font-size: 0.8rem; font-weight: 600; padding: 0.35rem 0.65rem; border-radius: 999px; box-shadow: 0 4px 14px rgba(23,41,58,0.16); pointer-events: none; }
.zoom-hint svg { width: 14px; height: 14px; color: var(--brand); }
.fig .zoomable:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
/* PDF preview card */
.pdf-preview { display: grid; grid-template-columns: 150px 1fr; gap: 1.1rem; align-items: center; margin: 1rem 0 1.4rem; padding: 0.9rem; border: 1px solid var(--line-cool); border-radius: var(--radius); background: #fff; text-decoration: none; color: inherit; transition: border-color .25s, box-shadow .25s; }
.pdf-preview:hover { border-color: var(--sky); box-shadow: 0 12px 26px rgba(21,46,66,0.08); }
.pdf-preview img { width: 150px; height: auto; border: 1px solid var(--line); border-radius: 4px; }
.pdf-preview b { display: block; color: var(--ink); font-family: var(--serif); font-size: 1.1rem; font-weight: 500; margin-bottom: 0.25rem; }
.pdf-preview span { color: var(--muted); font-size: 0.92rem; }
.pdf-preview .go { display: inline-block; margin-top: 0.5rem; color: var(--brand); font-weight: 600; font-size: 0.95rem; }
@media (max-width: 420px) { .pdf-preview { grid-template-columns: 110px 1fr; } .pdf-preview img { width: 110px; } }
