/* Open Focus v0.2 — self-contained, bilingual editorial system. */
.language-entry { padding-block: clamp(3rem, 12vw, 8rem); }
.language-entry h1 { margin-block: 2rem 1.5rem; }
.language-entry .brand-mark { width: 80px; }
.outcome-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); }
.outcome-layout h2 { margin: 0; max-width: 20ch; }
.card-number { display: block; margin-bottom: 2.5rem; color: #826211; font-size: .875rem; }
.feature-card > a { display: inline-flex; min-height: 44px; align-items: center; font-size: 1rem; font-weight: 650; }
.journal-preview { border-block: 1px solid #072A5A; }
.journal-preview-head { display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-bottom: 1px solid #072A5A; margin-bottom: 2rem; padding-bottom: 1.5rem; }
.journal-preview-head h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(3rem, 7vw, 6rem); font-weight: 400; }
.journal-preview-head svg { width: 90px; flex-shrink: 0; }
.topic-pills .topic-label { display: inline-flex; align-items: center; padding: .5rem 1rem; border: 1px solid #D4D6CD; border-radius: 24px; font-size: 1rem; line-height: 1.4; }
.footer-tagline { margin-top: 1.5rem; }
.founder-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 1rem; font-weight: 650; }
.founder-section .prose p { font-family: Georgia, serif; font-size: clamp(1.375rem, 2.5vw, 1.875rem); line-height: 1.5; }
.history-list { display: grid; gap: 1.5rem; margin-bottom: 3.5rem; }
.history-card ul { font-size: 1rem; }
.history-card h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
@media (max-width: 640px) {
  .outcome-layout { grid-template-columns: 1fr; }
  .journal-preview-head { gap: 1rem; }
  .journal-preview-head svg { width: 50px; }
}
:root {
  --paper: #f8f4ec;
  --navy: #072a5a;
  --graphite: #59636e;
  --green: #9ebe8c;
  --orange: #f26a21;
  --gold: #c89d34;
  --orange-ink: #b8430f;
  --gold-ink: #826211;
  --white: #fffefa;
  --tint: #e9eddf;
  --rule: #d4d6cd;
  --sans: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --gutter: clamp(1rem, 3.6vw, 3rem);
  --section-space: clamp(3.5rem, 7vw, 6rem);
  --reading: 68ch;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 7rem; }
body { margin: 0; min-width: 0; background: var(--paper); color: var(--navy); font-family: var(--sans); font-size: 1.125rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
::selection { background: var(--green); color: var(--navy); }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
button:disabled { cursor: default; opacity: .6; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { line-height: 1.16; letter-spacing: -.035em; font-weight: 650; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.9vw, 4.75rem); }
h2 { font-size: clamp(1.875rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.375rem, 2.1vw, 1.75rem); }
p { margin: 0 0 1.25rem; }
small { font-size: .875rem; }
hr { margin: 2.5rem 0; border: 0; border-top: 1px solid var(--rule); }
strong { font-weight: 700; }
.container { width: min(100%, 1280px); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: fixed; z-index: 100; top: 1rem; left: 1rem; padding: .75rem 1rem; transform: translateY(-180%); background: var(--navy); color: var(--paper); font-size: 1rem; border-radius: 4px; }
.skip-link:focus { transform: none; outline-color: var(--paper); }
.eyebrow, .card-kicker { margin: 0 0 1.25rem; color: var(--gold-ink); font-size: .875rem; line-height: 1.5; letter-spacing: .105em; font-weight: 700; text-transform: uppercase; }
.lead { max-width: 56ch; color: var(--graphite); font-size: clamp(1.25rem, 1.7vw, 1.5rem); line-height: 1.55; }
.muted, .helper, .diagram-caption { color: var(--graphite); }
.prose { max-width: var(--reading); }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }

/* Navigation remains available without JavaScript. */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--paper); border-bottom: 1px solid var(--rule); }
.header-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1.5rem; min-height: 88px; }
.brand { display: inline-flex; align-items: center; gap: .5rem; width: fit-content; min-height: 44px; text-decoration: none; white-space: nowrap; }
.brand-mark { flex: 0 0 46px; width: 46px; }
.brand-mark svg, .brand > svg { width: 46px; height: 46px; }
.brand-text { font-size: 1rem; line-height: 1.15; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.site-nav, .site-nav nav, .site-nav ul { display: flex; align-items: center; justify-content: flex-end; gap: .125rem .55rem; }
.site-nav ul { padding: 0; margin: 0; list-style: none; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: .4rem .25rem; font-size: .875rem; font-weight: 600; line-height: 1.3; text-decoration: none; white-space: nowrap; }
.site-nav a:hover { text-decoration: underline; }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .5em; }
.language-switch { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--rule); border-radius: 6px; }
.language-switch a { display: inline-flex; align-items: center; justify-content: center; width: 44px; min-height: 44px; border-radius: 3px; font-size: .875rem; font-weight: 700; text-decoration: none; }
.language-switch a[aria-current], .language-switch a.is-active { background: var(--navy); color: var(--paper); }
.menu-toggle { display: none; justify-content: center; align-items: center; gap: .4rem; min-width: 44px; min-height: 44px; padding: .5rem; background: transparent; border: 1px solid var(--rule); border-radius: 6px; color: var(--navy); font-size: .875rem; font-weight: 650; }
.menu-toggle svg { width: 20px; height: 20px; }
.menu-toggle[aria-expanded="true"] { background: var(--navy); color: var(--paper); }

/* A strong opening, followed by a quieter reading rhythm. */
.hero-home { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .85fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(4rem, 7.5vw, 6.5rem) clamp(4.5rem, 8vw, 7rem); }
.hero-copy { min-width: 0; }
.hero-copy h1 { max-width: 16ch; margin: 0 0 1.75rem; line-height: 1.06; letter-spacing: -.045em; }
.hero-copy > p:not(.eyebrow):not(.lead) { max-width: 58ch; color: var(--graphite); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .875rem 1rem; margin-top: 2rem; }
.button, .button-secondary { display: inline-flex; align-items: center; justify-content: center; gap: .625rem; min-height: 48px; padding: .75rem 1.25rem; border: 1px solid var(--navy); border-radius: 6px; font-size: 1rem; line-height: 1.4; font-weight: 650; text-align: center; text-decoration: none; transition: background-color 160ms ease, border-color 160ms ease; }
.button { background: var(--navy); color: var(--paper); }
.button:hover { background: #123e74; border-color: #123e74; text-decoration: none; }
.button-secondary { background: transparent; color: var(--navy); }
.button-secondary:hover { background: var(--tint); text-decoration: none; }
.hero-visual { min-width: 0; position: relative; display: flex; align-items: center; justify-content: center; padding: clamp(1rem, 2vw, 2rem); }
.hero-visual svg { width: 100%; max-width: 460px; height: auto; }
.hero-visual .diagram-caption { margin: 1.25rem 0 0; }
.hero-visual:has(.diagram-caption) { flex-direction: column; }
.diagram-caption { font-size: .875rem; line-height: 1.5; max-width: 48ch; }
.page-hero { padding-block: clamp(3.5rem, 6vw, 5.5rem) clamp(2.75rem, 4.5vw, 4rem); border-bottom: 1px solid var(--rule); }
.page-hero h1 { max-width: 20ch; margin: 0 0 1.5rem; }
.page-hero .lead { max-width: 62ch; margin-bottom: .75rem; }
.page-hero > p:last-child, .page-hero .container > p:last-child { margin-bottom: 0; }
.page-journal .page-hero h1, .page-folyoirat .page-hero h1, .page-article .page-hero h1 { font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; }

.section { padding-block: var(--section-space); }
.section + .section { border-top: 1px solid var(--rule); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: end; gap: 2.5rem; margin-bottom: 2.75rem; }
.section-heading h2 { max-width: 22ch; margin: 0; }
.section-heading > p { max-width: 48ch; margin: 0; color: var(--graphite); }
.section-heading .eyebrow { margin-bottom: .875rem; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--navy); color: var(--paper); }
.section-dark .eyebrow, .section-dark .card-kicker { color: var(--gold); }
.section-dark .lead, .section-dark p, .section-dark .section-heading > p { color: var(--paper); }
.section-dark .button { background: var(--paper); border-color: var(--paper); color: var(--navy); }
.section-dark .button:hover { background: var(--green); border-color: var(--green); }
.section-dark .button-secondary { color: var(--paper); border-color: var(--paper); }
.section-dark .button-secondary:hover { color: var(--navy); background: var(--paper); }
.section-dark :focus-visible, .footer :focus-visible { outline-color: var(--paper); }
.section-grid, .feature-grid, .situation-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.situation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.content-card, .feature-card, .situation-card { min-width: 0; padding: clamp(1.5rem, 2.5vw, 2rem); background: var(--white); border: 1px solid var(--rule); border-radius: 10px; }
.content-card { display: flex; flex-direction: column; align-items: flex-start; }
.content-card h3, .feature-card h3, .situation-card h3 { margin: 0 0 1rem; }
.content-card p, .feature-card p, .situation-card p { color: var(--graphite); }
.content-card .card-kicker, .feature-card .card-kicker, .situation-card .card-kicker { color: var(--gold-ink); }
.content-card > a:last-child { margin-top: auto; padding-top: .5rem; min-height: 44px; font-size: 1rem; font-weight: 650; }
.content-card > svg, .feature-card > svg { width: 86px; height: 66px; margin-bottom: 1.75rem; }
.content-card :last-child, .feature-card :last-child, .situation-card :last-child { margin-bottom: 0; }
.section-dark .content-card, .section-dark .feature-card { background: transparent; border-color: #577391; }
.section-dark .content-card .card-kicker, .section-dark .feature-card .card-kicker { color: var(--gold); }
.status-label { display: inline-flex; align-items: center; gap: .5rem; padding: .25rem .625rem; margin-bottom: 1rem; border: 1px solid var(--navy); border-radius: 4px; font-size: .875rem; line-height: 1.5; font-weight: 600; }
.status-label.learning, .status-label[data-status="learning"] { background: var(--tint); }
.status-label.attention, .status-label[data-status="attention"] { color: var(--orange-ink); border-color: var(--orange-ink); }
.five-c-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; margin-block: 2.5rem; }
.principle-card { min-width: 0; padding-top: 1.25rem; border-top: 3px solid var(--gold); }
.principle-card h3 { font-size: 1.125rem; margin: 0 0 .75rem; letter-spacing: -.02em; overflow-wrap: anywhere; }
.principle-card p { font-size: 1rem; color: var(--graphite); margin: 0; }

/* Reading pages: a true article column and a supplementary index. */
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 240px; align-items: start; gap: clamp(2.5rem, 6vw, 5.5rem); padding-block: var(--section-space); }
.article-content { min-width: 0; max-width: min(var(--reading), 780px); font-size: clamp(1.125rem, 1.5vw, 1.25rem); line-height: 1.7; }
.article-content > :first-child { margin-top: 0; }
.article-content h2 { margin: 3.5rem 0 1.25rem; font-size: clamp(1.75rem, 3vw, 2.25rem); scroll-margin-top: 7rem; }
.article-content h3 { margin: 2.5rem 0 1rem; font-size: clamp(1.375rem, 2vw, 1.625rem); scroll-margin-top: 7rem; }
.article-content h4 { font-size: 1.125rem; margin: 2rem 0 .875rem; }
.article-content p { margin: 0 0 1.5rem; }
.article-content ul, .article-content ol, .prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.5rem; }
.article-content li, .prose li { margin-block: .45rem; padding-left: .2em; }
.article-content li > p { margin-bottom: .5rem; }
.article-content li ul, .article-content li ol { margin-block: .5rem 1rem; }
.article-content a, .prose a { overflow-wrap: anywhere; }
.article-content table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin-block: 2rem; font-size: 1rem; line-height: 1.55; }
.article-content th, .article-content td { padding: .875rem 1rem; border: 1px solid var(--rule); text-align: left; vertical-align: top; min-width: 10rem; }
.article-content th { background: var(--tint); font-weight: 700; }
.article-content td { background: var(--white); }
.article-content blockquote, .pull-quote { margin: 2.5rem 0; padding: .125rem 0 .125rem 1.5rem; border-left: 3px solid var(--gold); font-family: var(--serif); font-size: clamp(1.375rem, 2.5vw, 1.875rem); line-height: 1.45; }
.article-content blockquote p:last-child, .pull-quote p:last-child { margin-bottom: 0; }
.pull-quote cite, .article-content blockquote cite { display: block; font-family: var(--sans); font-size: .875rem; font-style: normal; color: var(--graphite); margin-top: 1rem; }
.article-content code { padding: .125rem .3rem; background: var(--tint); font-size: .9em; overflow-wrap: anywhere; }
.article-content pre { max-width: 100%; overflow: auto; padding: 1.25rem; background: var(--tint); font-size: .875rem; line-height: 1.6; }
.article-content pre code { padding: 0; }
.article-content figure { margin: 2.5rem 0; }
.article-content figcaption { margin-top: .875rem; font-size: .875rem; color: var(--graphite); }
.article-content .status-label { font-size: .875rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; color: var(--graphite); font-size: .875rem; line-height: 1.5; margin-block: 1.5rem; }
.toc { position: sticky; top: 7rem; border-top: 2px solid var(--navy); padding-top: 1rem; font-size: .9375rem; line-height: 1.45; }
.toc h2, .toc h3 { margin: 0 0 1rem; font-size: 1rem; letter-spacing: 0; }
.toc ul, .toc ol { list-style: none; padding: 0; margin: 0; }
.toc a { display: block; min-height: 44px; padding: .625rem 0; color: var(--graphite); text-decoration: none; }
.toc a:hover { color: var(--navy); text-decoration: underline; }
.toc li + li { border-top: 1px solid var(--rule); }
.related-links { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; padding-top: 1.5rem; margin-top: 2.5rem; border-top: 1px solid var(--rule); }
.related-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 1rem; font-weight: 600; }
.story-timeline { list-style: none; margin: 2.5rem 0; padding: 0; }
.story-timeline > li, .story-timeline > article, .story-timeline > div { position: relative; margin: 0; padding: 0 0 2.5rem 2rem; border-left: 1px solid var(--rule); }
.story-timeline > :last-child { padding-bottom: 0; }
.story-timeline > *::before { content: ""; position: absolute; left: -5px; top: .6rem; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.story-timeline h3 { margin-top: 0; }
details.faq { border-top: 1px solid var(--rule); padding-block: 1.25rem; }
details.faq:last-child { border-bottom: 1px solid var(--rule); }
details.faq summary { min-height: 44px; font-weight: 650; cursor: pointer; padding-right: 1rem; }
details.faq[open] summary { margin-bottom: 1rem; }
details.faq > p:last-child { margin-bottom: 0; }

/* Journal and contact use honest, legible states. */
.topic-pills { display: flex; flex-wrap: wrap; gap: .625rem; margin-block: 2rem; }
.topic-pills button, .topic-pills a { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: .5rem 1rem; border: 1px solid var(--rule); border-radius: 24px; font-size: 1rem; line-height: 1.4; text-decoration: none; color: var(--navy); background: transparent; }
.topic-pills [aria-pressed="true"], .topic-pills [aria-current], .topic-pills .is-active { background: var(--navy); color: var(--paper); border-color: var(--navy); font-weight: 650; }
.topic-pills button:hover, .topic-pills a:hover { border-color: var(--navy); }
.journal-empty { max-width: 780px; padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--rule); border-top: 3px solid var(--gold); background: var(--white); border-radius: 0 0 10px 10px; }
.journal-empty h2, .journal-empty h3 { margin-top: 0; }
.journal-empty p { color: var(--graphite); }
.journal-empty :last-child { margin-bottom: 0; }
.contact-form { max-width: 720px; margin-top: 2.5rem; padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid var(--rule); border-radius: 10px; background: var(--white); }
.contact-form label { display: block; margin: 1.5rem 0 .5rem; font-size: 1rem; font-weight: 650; }
.contact-form label:first-child { margin-top: 0; }
.contact-form input, .contact-form textarea, .contact-form select { display: block; width: 100%; min-height: 48px; padding: .75rem .875rem; border: 1px solid #6a7885; border-radius: 4px; background: var(--white); color: var(--navy); font-size: 1rem; line-height: 1.5; }
.contact-form textarea { min-height: 180px; resize: vertical; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--graphite); opacity: 1; }
.contact-form .helper { display: block; font-size: .875rem; line-height: 1.5; margin: .625rem 0 1.25rem; }
.contact-form .button { margin-top: 1.5rem; }
.contact-form input[type="checkbox"] { display: inline-block; width: 20px; min-height: 20px; margin-right: .5rem; accent-color: var(--navy); }
.form-result { padding: 1rem 1.25rem; margin-top: 1.5rem; border-left: 3px solid var(--green); background: var(--tint); font-size: 1rem; overflow-wrap: anywhere; }
.form-result p:last-child { margin-bottom: 0; }

.footer { padding-block: 3.5rem 1.5rem; background: var(--navy); color: var(--paper); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 3rem; padding-bottom: 2.5rem; }
.footer h2, .footer h3 { font-size: 1rem; margin: 0 0 1rem; letter-spacing: 0; }
.footer p { font-size: 1rem; max-width: 42ch; }
.footer .brand { margin-bottom: 1.25rem; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li a, .footer nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 1rem; text-decoration: none; }
.footer li a:hover, .footer nav a:hover { text-decoration: underline; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; padding-top: 1.5rem; border-top: 1px solid #577391; font-size: .875rem; }
.footer-bottom p { font-size: .875rem; margin: 0; }
.site-version { font-size: .875rem; }
.back-to-top { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; font-size: .875rem; }

@media (max-width: 1180px) {
  .header-inner { grid-template-columns: minmax(0, 1fr) auto auto; gap: .75rem; min-height: 76px; }
  .brand { order: 1; }
  .menu-toggle { order: 2; }
  .language-switch { order: 3; }
  .site-nav { order: 4; grid-column: 1 / -1; width: 100%; padding: .75rem 0 1rem; border-top: 1px solid var(--rule); }
  .site-nav, .site-nav nav, .site-nav ul { align-items: stretch; justify-content: flex-start; flex-wrap: wrap; gap: .25rem 1.25rem; }
  .site-nav a { min-height: 44px; padding: .625rem .25rem; font-size: 1rem; }
  .js .menu-toggle { display: inline-flex; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: flex; }
}

@media (max-width: 960px) {
  .hero-home { grid-template-columns: minmax(0, 1.45fr) minmax(0, .8fr); gap: 1.5rem; }
  .hero-copy h1 { font-size: clamp(2.5rem, 6.2vw, 4rem); }
  .hero-visual { padding: 0; }
  .section-grid, .situation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .five-c-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .content-layout { grid-template-columns: minmax(0, 1fr); gap: 3rem; }
  .article-content { max-width: var(--reading); }
  .toc { position: static; max-width: var(--reading); }
  .toc ul, .toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; }
  .footer-grid { gap: 2rem; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 6rem; }
  body { font-size: 1.125rem; }
  .site-header { position: static; }
  .js .site-header { position: sticky; }
  .header-inner { min-height: 68px; gap: .5rem; }
  .brand { gap: .25rem; }
  .brand-mark { flex-basis: 36px; width: 36px; }
  .brand-mark svg, .brand > svg { width: 36px; height: 36px; }
  .brand-text { font-size: .8125rem; letter-spacing: .045em; }
  .language-switch { padding: 2px; }
  .language-switch a { width: 44px; min-height: 44px; font-size: .8125rem; }
  .menu-toggle { padding: .4rem; }
  .menu-toggle .menu-label { display: none; }
  .site-nav, .site-nav nav, .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav.is-open { max-height: calc(100dvh - 68px); overflow-y: auto; }
  .site-nav a { padding: .75rem .25rem; min-height: 48px; white-space: normal; }
  .site-nav a[aria-current="page"] { text-underline-offset: .3em; }
  .hero-home { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; padding-top: 3rem; padding-bottom: 3.5rem; }
  .hero-copy h1 { font-size: clamp(2.5rem, 9.8vw, 3.75rem); max-width: 16ch; margin-bottom: 1.5rem; }
  .hero-visual { justify-self: center; width: min(100%, 310px); }
  .hero-copy .lead { font-size: 1.25rem; }
  .hero-actions { align-items: stretch; margin-top: 1.5rem; }
  .hero-actions .button, .hero-actions .button-secondary { flex: 1 1 220px; }
  .page-hero { padding-block: 3rem 2.5rem; }
  .page-hero h1 { max-width: 18ch; }
  .section-heading { grid-template-columns: 1fr; gap: 1.25rem; margin-bottom: 2rem; }
  .section-heading > p { max-width: none; }
  .section-grid, .feature-grid, .situation-grid { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .five-c-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; }
  .article-content h2, .article-content h3 { scroll-margin-top: 6rem; }
  .article-content blockquote, .pull-quote { padding-left: 1rem; }
  .toc ul, .toc ol { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: .75rem; }
  .footer { padding-top: 3rem; }
}

@media (max-width: 359px) {
  .brand-text { max-width: 60px; white-space: normal; line-height: 1.2; }
  .five-c-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media print {
  @page { size: A4; margin: 18mm 16mm; }
  html { scroll-behavior: auto; }
  body { color: #182431; background: #fff; font-size: 11pt; line-height: 1.5; }
  .container { width: 100%; max-width: none; padding: 0; }
  .site-header { position: static; border-bottom: 1px solid #777; }
  .header-inner { min-height: 48px; display: block; padding-bottom: 12px; }
  .site-nav, .menu-toggle, .language-switch, .skip-link, .hero-actions, .toc, .back-to-top, .contact-form, .topic-pills { display: none !important; }
  .hero-home { display: block; padding-block: 24px; }
  .hero-visual { width: 180px; margin: 20px auto; }
  h1, .hero-copy h1 { font-size: 30pt; max-width: none; }
  h2 { font-size: 21pt; }
  h3 { font-size: 15pt; }
  .page-hero, .section, .content-layout { padding-block: 20px; }
  .content-layout { display: block; }
  .article-content, .lead { max-width: none; font-size: 11pt; }
  .article-content h2 { font-size: 19pt; margin-top: 24px; }
  .article-content h3 { font-size: 14pt; }
  .section-dark, .section-tint, .footer, .content-card, .feature-card, .situation-card, .journal-empty { background: #fff; color: #182431; }
  .section-dark p, .section-dark .lead, .section-dark .section-heading > p, .footer p, .eyebrow, .card-kicker, .section-dark .eyebrow, .section-dark .card-kicker { color: #182431; }
  .section-heading { display: block; }
  .section-heading h2 { margin-bottom: 12px; }
  .section-grid, .feature-grid, .situation-grid, .five-c-grid { gap: 12px; }
  .five-c-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .content-card, .feature-card, .situation-card, .journal-empty { padding: 14px; border-color: #999; }
  .article-content table { display: table; overflow: visible; font-size: 9pt; }
  .article-content th, .article-content td { min-width: 0; padding: 6px; background: #fff; border-color: #999; }
  .article-content blockquote, .pull-quote { font-size: 15pt; }
  .footer { padding-top: 20px; margin-top: 24px; border-top: 1px solid #777; }
  .footer-grid { display: block; padding-bottom: 0; }
  .footer-grid > :not(:first-child) { display: none; }
  .footer-bottom { border: 0; padding-top: 0; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 8pt; font-weight: 400; overflow-wrap: anywhere; }
  h1, h2, h3, h4, summary { break-after: avoid; }
  figure, .content-card, .feature-card, .situation-card, .principle-card { break-inside: avoid; }
  p, li { orphans: 3; widows: 3; }
}

.diary-teaser{background:#eee9de;border-top:1px solid #c8c8bf}.diary-teaser h2{font-family:Georgia,serif}.route-table-wrap{overflow:auto}.route-table{width:100%;border-collapse:collapse;margin-bottom:24px}.route-table th,.route-table td{border-bottom:1px solid #c8c8bf;padding:14px 12px;text-align:left;vertical-align:top}.route-table code{font-size:.85rem;overflow-wrap:anywhere}.route-table th{font-weight:500}

/* OpenFocus image metadata v1: image roles only; body/legal/UI small are excluded. */
:root{--of-image-caption-size:11px;--of-image-caption-leading:1.28;--of-image-detail-size:10.5px;--of-image-detail-leading:1.28;--of-image-summary-size:11px}
@media screen {
html:root:root body :is(figure:not(.wage-graphic)>figcaption,.diagram-caption,.hero-media .sample-caption,.of-media-info-visible){font-size:var(--of-image-caption-size)!important;line-height:var(--of-image-caption-leading)!important;margin-block-start:4px!important;margin-block-end:0!important;padding-block:0!important}
html:root:root body :is(figure:not(.wage-graphic)>figcaption,.diagram-caption,.hero-media .sample-caption,.of-media-info-visible) :is(p,a,span,small,em,strong,b,cite,dt,dd){font-size:inherit!important;line-height:inherit!important;margin-block:2px!important}
html:root:root body :is(figure:not(.wage-graphic)>figcaption,.of-media-info-visible) :is(.tb-media-credit,.tb-media-changes,.of-news-image-credits,.of-article-credit,.mfi-credit,.of-media-info-credit){font-size:10px!important;line-height:1.28!important}
html:root:root body :is(.rs-photo>details,.water-photo>details,.analysis-cover>details,.memi-photo>details,.launch-cover>details,.ai-photo>details,.ai-lesson-card>details,.essay-cover>details,.photo-details,.tb-media-info,.of-news-image-credit,.of-recommendation-media-info,.of-media-info-details,.mfi-image-info){font-size:var(--of-image-detail-size)!important;line-height:var(--of-image-detail-leading)!important;margin-block:3px 0!important;padding-block:0!important}
html:root:root body :is(.rs-photo>details,.water-photo>details,.analysis-cover>details,.memi-photo>details,.launch-cover>details,.ai-photo>details,.ai-lesson-card>details,.essay-cover>details,.photo-details,.tb-media-info,.of-news-image-credit,.of-recommendation-media-info,.of-media-info-details,.mfi-image-info) :is(p,a,span,small,em,strong,b,cite,dt,dd,li){font-size:inherit!important;line-height:inherit!important;margin-block:3px!important}
html:root:root body :is(.rs-photo>details,.water-photo>details,.analysis-cover>details,.memi-photo>details,.launch-cover>details,.ai-photo>details,.ai-lesson-card>details,.essay-cover>details,.photo-details,.tb-media-info,.of-news-image-credit,.of-recommendation-media-info,.of-media-info-details,.mfi-image-info)>summary{font-size:var(--of-image-summary-size)!important;line-height:1.25!important;font-weight:500!important;min-height:24px!important;box-sizing:border-box;display:list-item;padding-block:3px!important;margin-block:0!important;cursor:pointer}
html:root:root body :is(.of-media-info-list){gap:3px 10px!important;margin-block:4px!important}
html:root:root body :is(.mfi-image-info,.of-news-image-credit){--of-image-detail-size:10px;--of-image-summary-size:10px}
}
