/* ESU · Artigos. Same brand system as the main site: warm paper, Gloock + DM Sans, poster colours. */
:root {
  --red: #C50D13; --red-2: #A8161A; --wine: #5E0A0C; --blue: #1C3C8F; --blue-2: #0F2566;
  --green: #2C582C; --leaf: #088E3D; --yellow: #EFC616; --sun: #F5A60A;
  --cream: #F8F1E4; --paper: #EFE3CC; --card: #FFFBF3; --ink: #1B110D;
  --ink-2: rgba(27, 17, 13, .74); --ink-3: rgba(27, 17, 13, .58); --line: rgba(27, 17, 13, .14);
  --on-dark: #FCF5E6;
  --font-display: "Gloock", Georgia, "Times New Roman", serif;
  --font-ui: "DM Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 5vw, 64px); --max: 1240px; --radius: 22px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--font-ui); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--yellow); color: var(--ink); }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.skip { position: fixed; left: 1rem; top: 1rem; z-index: 300; padding: .7rem 1.1rem; border-radius: 999px; background: var(--yellow); color: var(--ink); font-weight: 700; text-decoration: none; transform: translateY(-180%); transition: transform .2s ease; }
.skip:focus { transform: none; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- top bar ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(248, 241, 228, .9); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 1rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; font-family: var(--font-display); font-size: 1.5rem; line-height: 1; }
.brand img { width: 46px; height: auto; }
.brand small { font-family: var(--font-ui); font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--red); padding: .25rem .55rem; border: 1.5px solid currentColor; border-radius: 999px; }
.top nav { margin-left: auto; }
.top nav ul { display: flex; gap: .2rem; list-style: none; margin: 0; padding: 0; }
.top nav a { display: inline-block; padding: .5rem .8rem; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .95rem; }
.top nav a:hover, .top nav a[aria-current="page"] { background: var(--paper); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: .7rem 1.25rem; border-radius: 999px; border: 2px solid var(--ink); font-weight: 700; font-size: .98rem; text-decoration: none; line-height: 1.2; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease); background: transparent; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 -1px var(--ink); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.btn-sun { background: var(--yellow); }
.btn-red { background: var(--red); border-color: var(--red); color: var(--on-dark); }
.btn-red:hover { box-shadow: 0 6px 0 -1px var(--wine); }
.btn-cream { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
.top .btn { min-height: 42px; padding: .55rem 1rem; font-size: .92rem; }
.lang-switch { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 .7rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); font-weight: 700; font-size: .85rem; letter-spacing: .04em; text-decoration: none; }
.lang-switch:hover { border-color: var(--ink); }
@media (max-width: 860px) { .top .lang-switch { margin-left: auto; } .top .lang-switch + .btn { margin-left: .5rem; } }
.progress { position: absolute; left: 0; bottom: -1px; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--red); }
@media (max-width: 860px) { .top nav { display: none; } .top .btn { margin-left: auto; } }
@media (max-width: 420px) { .brand small { display: none; } .top .btn span.long { display: none; } }

/* ---------- breadcrumbs + article head ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; gap: .2rem .5rem; list-style: none; margin: 0; padding: 0; font-size: .9rem; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .6; }
.crumbs a { text-decoration: none; color: var(--ink-2); }
.crumbs a:hover { text-decoration: underline; }
.art-head { padding-block: clamp(1.6rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.4rem); }
.art-head .inner { max-width: 900px; }
.kicker { display: inline-flex; align-items: center; gap: .55rem; margin: 1.2rem 0 .9rem; font-weight: 700; font-size: .9rem; letter-spacing: .02em; color: var(--red); text-decoration: none; }
.kicker::before { content: ""; width: .7rem; height: .7rem; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 3px rgba(245, 166, 10, .25); }
.art-head h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.15rem, 5.2vw, 4.1rem); line-height: 1.04; letter-spacing: -.02em; }
.dek { margin-top: 1rem; font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-2); max-width: 60ch; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .9rem; margin-top: 1.3rem; font-size: .93rem; color: var(--ink-3); }
.meta .by { display: inline-flex; align-items: center; gap: .5rem; color: var(--ink); font-weight: 600; }
.meta .by img { width: 30px; height: 30px; border-radius: 50%; background: var(--card); border: 1px solid var(--line); object-fit: contain; padding: 2px; }
.meta .dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .6; }
.share { margin-left: auto; display: inline-flex; gap: .4rem; }
.share button, .share a { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .8rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); font: inherit; font-size: .85rem; font-weight: 600; color: var(--ink); cursor: pointer; text-decoration: none; }
.share button:hover, .share a:hover { border-color: var(--ink); }
.cover { margin: clamp(1.5rem, 3vw, 2.2rem) 0 0; }
.cover img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: var(--radius); box-shadow: 0 30px 60px -36px rgba(60, 10, 0, .5); }

/* ---------- layout: TOC + prose ---------- */
.art-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; padding-bottom: clamp(3rem, 6vw, 5rem); }
@media (min-width: 1060px) { .art-grid { grid-template-columns: 250px minmax(0, 760px); gap: clamp(2.5rem, 5vw, 5rem); } }
.toc { font-size: .93rem; }
.toc details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: .9rem 1.1rem; }
.toc summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: "+"; font-size: 1.3rem; line-height: 1; }
.toc details[open] summary::after { content: "−"; }
.toc ol { list-style: none; margin: .7rem 0 0; padding: 0; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: grid; grid-template-columns: 1.8rem 1fr; padding: .4rem .2rem; border-radius: 8px; text-decoration: none; color: var(--ink-2); line-height: 1.35; }
.toc a::before { content: counter(toc, decimal-leading-zero); font-weight: 700; font-size: .78rem; color: var(--ink-3); padding-top: .12rem; }
.toc a:hover { color: var(--ink); background: var(--paper); }
.toc a.on { color: var(--red); font-weight: 600; }
.toc a.on::before { color: var(--red); }
@media (min-width: 1060px) { .toc { position: sticky; top: 92px; align-self: start; max-height: calc(100vh - 110px); overflow: auto; } .toc details { background: transparent; border: 0; padding: 0; } .toc summary { pointer-events: none; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); } .toc summary::after { content: none; } }

.prose { min-width: 0; font-size: clamp(1.06rem, 1.2vw, 1.14rem); line-height: 1.72; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.75rem, 3vw, 2.35rem); line-height: 1.12; letter-spacing: -.015em; margin-top: 2.4em; scroll-margin-top: 92px; }
.prose h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.3; margin-top: 1.9em; }
.prose h2 + *, .prose h3 + * { margin-top: .7em; }
.prose a { color: var(--red-2); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose a:hover { color: var(--red); text-decoration-thickness: 2.5px; }
.prose strong { font-weight: 700; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--red); font-weight: 700; }
.prose blockquote { margin-left: 0; padding: .2rem 0 .2rem 1.2rem; border-left: 4px solid var(--yellow); font-family: var(--font-display); font-size: 1.35rem; line-height: 1.35; }
.prose hr { border: 0; height: 1px; background: var(--line); margin-block: 2.5em; }
.lead-in { font-size: 1.18em; }

/* boxes */
.quick { position: relative; padding: 1.3rem 1.4rem 1.35rem; border-radius: 18px; background: var(--yellow); }
.quick > b:first-child { display: block; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .35rem; }
.quick p { font-size: 1.08em; line-height: 1.55; }
.note { padding: 1.15rem 1.3rem; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.note > b:first-child { display: flex; align-items: center; gap: .5rem; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .4rem; }
.note.manual { border-left: 5px solid var(--blue); }
.note.manual > b:first-child { color: var(--blue); }
.note.manual > b:first-child::before { content: ""; width: 26px; height: 26px; background: url("../../img/esu-logo-nav.png") center / contain no-repeat; }
.note.tip { border-left: 5px solid var(--leaf); }
.note.tip > b:first-child { color: var(--green); }
.note.warn { border-left: 5px solid var(--red); }
.note.warn > b:first-child { color: var(--red); }
.note p + p, .note ul { margin-top: .5em; }
.note ul { padding-left: 1.2em; }
.takeaways { padding: 1.4rem 1.5rem; border-radius: 18px; background: var(--blue); color: var(--on-dark); }
.takeaways h2 { margin-top: 0 !important; font-size: 1.6rem !important; color: var(--on-dark); }
.takeaways ul { margin-top: .8rem; }
.takeaways li::marker { color: var(--yellow); }
.takeaways a { color: var(--yellow) !important; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .8rem; }
.stat { padding: 1rem 1.1rem; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.stat b { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.45rem, 2.3vw, 1.8rem); line-height: 1.1; color: var(--red); white-space: nowrap; }
.stat span { display: block; margin-top: .35rem; font-size: .9rem; line-height: 1.4; color: var(--ink-2); }
.stat small { display: block; margin-top: .35rem; font-size: .76rem; color: var(--ink-3); }

/* figures */
.fig { margin-inline: 0; padding: clamp(1rem, 3vw, 1.6rem); border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.fig-svg { display: block; width: 100%; max-width: 540px; height: auto; margin-inline: auto; overflow: visible; }
@media (max-width: 600px) { .fig { margin-inline: calc(-1 * var(--gutter)); padding: 1.1rem 8px 1rem; border-radius: 0; border-left: 0; border-right: 0; } .fig figcaption { padding-inline: 12px; } }
.fig figcaption { margin-top: 1rem; font-size: .9rem; line-height: 1.5; color: var(--ink-2); max-width: 62ch; margin-inline: auto; text-align: center; }
.fig figcaption strong { color: var(--ink); }
.fig-svg text { font-family: var(--font-ui); fill: var(--ink); }
.fig-svg .ft { font-size: 19px; font-weight: 700; }
.fig-svg .ft2 { font-size: 17px; font-weight: 700; }
.fig-svg .ft3 { font-size: 16.5px; font-weight: 700; }
.fig-svg .fd { font-size: 16px; fill: #4A3F39; }
.fig-svg .fd2 { font-size: 15.5px; font-weight: 600; fill: #3A302B; }
.fig-svg .fs { font-size: 14.5px; fill: #5A4D46; }
.fig-svg .fs2 { font-size: 15px; font-weight: 600; fill: #3A302B; }
.fig-svg .fk { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; fill: var(--red); }
.fig-svg .fn { font-family: var(--font-display); font-size: 21px; }
.fig-svg .fn2 { font-size: 13px; font-weight: 700; }
.fig-svg .fg { font-family: var(--font-display); font-size: 30px; }
.fig-svg .fg2 { font-family: var(--font-display); font-size: 24px; }
.fig-svg .fserp { font-size: 20px; fill: #1A0DAB; }

/* tables */
.tbl { overflow-x: auto; border-radius: 16px; border: 1px solid var(--line); background: var(--card); -webkit-overflow-scrolling: touch; }
.tbl table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.45; min-width: 520px; }
.tbl caption { caption-side: bottom; text-align: left; padding: .7rem 1rem; font-size: .85rem; color: var(--ink-3); }
.tbl th, .tbl td { padding: .75rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.tbl thead th { background: var(--paper); font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl td:first-child { font-weight: 600; }

/* checklist */
.check { list-style: none; padding-left: 0 !important; }
.check li { position: relative; padding-left: 2rem; }
.check li::before { content: ""; position: absolute; left: 0; top: .32em; width: 1.25rem; height: 1.25rem; border-radius: 6px; background: var(--leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 6.8' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }
.cross li::before { background-color: var(--red); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 6l8 8M14 6l-8 8' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E"); }

/* formula inline block */
.formula { padding: 1rem 1.2rem; border-radius: 16px; background: var(--card); border: 1px dashed rgba(27, 17, 13, .35); font-weight: 600; text-align: center; }
.formula code { font-family: var(--font-ui); font-size: 1.05em; }

/* calculator */
.calc { padding: clamp(1.1rem, 3vw, 1.6rem); border-radius: 20px; background: var(--ink); color: var(--on-dark); }
.calc h3 { margin-top: 0 !important; font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; color: var(--on-dark); }
.calc p.sub { margin-top: .3rem !important; color: rgba(252, 245, 230, .8); font-size: .95rem; }
.calc .fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .8rem; margin-top: 1.1rem; }
.calc label { display: grid; gap: .3rem; font-size: .88rem; font-weight: 600; color: rgba(252, 245, 230, .9); }
.calc input { width: 100%; min-height: 46px; padding: .55rem .8rem; border-radius: 12px; border: 1.5px solid rgba(252, 245, 230, .35); background: rgba(252, 245, 230, .08); color: var(--on-dark); font: inherit; font-size: 1.05rem; font-weight: 600; }
.calc input:focus { outline: 3px solid var(--sun); outline-offset: 1px; }
.calc .out { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .7rem; margin-top: 1.1rem; }
.calc .out div { padding: .85rem 1rem; border-radius: 14px; background: rgba(252, 245, 230, .08); border: 1px solid rgba(252, 245, 230, .18); }
.calc .out b { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.35rem, 2.2vw, 1.7rem); line-height: 1.1; color: var(--yellow); white-space: nowrap; }
.calc .out span { display: block; margin-top: .25rem; font-size: .85rem; color: rgba(252, 245, 230, .85); }
.calc .verdict { margin-top: 1rem !important; padding: .8rem 1rem; border-radius: 12px; background: rgba(239, 198, 22, .14); font-size: .95rem; }
.calc .fine { margin-top: .8rem !important; font-size: .8rem; color: rgba(252, 245, 230, .65); }

/* inline CTA */
.cta-inline { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem 1.5rem; align-items: center; padding: 1.3rem 1.4rem; border-radius: 20px; background: var(--red); color: var(--on-dark); }
.cta-inline p { font-size: 1.05rem; line-height: 1.45; }
.cta-inline strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; line-height: 1.15; margin-bottom: .25rem; }
.prose .cta-inline a.btn { color: var(--ink); text-decoration: none; }
@media (max-width: 620px) { .cta-inline { grid-template-columns: minmax(0, 1fr); } }

/* FAQ + references + author */
.faq details { border-top: 1px solid var(--line); padding: 1rem 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) 2rem; gap: 1rem; align-items: start; font-weight: 700; font-size: 1.08rem; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--paper); font-size: 1.2rem; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--yellow); }
.faq details > div { margin-top: .7rem; color: var(--ink-2); }
.refs ol { font-size: .92rem; line-height: 1.5; color: var(--ink-2); }
.refs li { overflow-wrap: anywhere; }
.refs a { color: var(--ink); }
.author { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 1rem; align-items: start; padding: 1.3rem; border-radius: 20px; background: var(--paper); }
.author img { width: 64px; height: 64px; border-radius: 50%; background: var(--card); padding: 4px; object-fit: contain; }
.author b { display: block; font-size: 1.05rem; }
.author p { margin-top: .3rem; font-size: .95rem; line-height: 1.55; color: var(--ink-2); }
.updated { font-size: .88rem; color: var(--ink-3); }

/* ---------- bands after the article ---------- */
.band { padding-block: clamp(3rem, 7vw, 5.5rem); }
.band-red { background: var(--red); color: var(--on-dark); }
.band-paper { background: var(--paper); }
.band h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.06; letter-spacing: -.02em; }
.offer { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.offer p { margin-top: .9rem; font-size: 1.1rem; color: rgba(252, 245, 230, .92); max-width: 48ch; }
.offer .btns { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }
.offer .btn { border-color: var(--on-dark); color: var(--on-dark); }
.offer .btn-sun { color: var(--ink); border-color: var(--yellow); }
.offer img { width: min(100%, 300px); margin-inline: auto; transform: rotate(-4deg); border-radius: 6px; box-shadow: 0 30px 50px -22px rgba(30, 0, 0, .6); }
@media (max-width: 760px) { .offer { grid-template-columns: minmax(0, 1fr); } .offer img { width: min(60%, 220px); } }

/* cards (related + index) */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(1rem, 2.4vw, 1.6rem); margin-top: 1.8rem; }
.card { position: relative; display: flex; flex-direction: column; border-radius: 20px; background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -28px rgba(60, 10, 0, .55); }
.card img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; background: var(--paper); }
.card .body { display: flex; flex-direction: column; gap: .5rem; padding: 1.1rem 1.2rem 1.3rem; flex: 1; }
.card .cat { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--red); }
.card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; line-height: 1.15; }
.card h3 a { text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card p { font-size: .95rem; line-height: 1.5; color: var(--ink-2); }
.card .rt { margin-top: auto; padding-top: .4rem; font-size: .82rem; color: var(--ink-3); }
.card:focus-within { outline: 3px solid var(--sun); outline-offset: 3px; }

/* ---------- index page ---------- */
.hub-head { padding-block: clamp(2rem, 6vw, 4.5rem) clamp(1.5rem, 3vw, 2.5rem); }
.hub-head h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.6rem, 7vw, 5.6rem); line-height: .98; letter-spacing: -.03em; max-width: 14ch; }
.hub-head h1 em { font-style: normal; color: var(--red); }
.hub-head p { margin-top: 1.1rem; font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-2); max-width: 56ch; }
.tools { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-top: 1.6rem; }
.chip { min-height: 42px; padding: .5rem 1rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); font: inherit; font-size: .92rem; font-weight: 600; color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.search { flex: 1 1 240px; max-width: 360px; min-height: 42px; padding: .5rem 1rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); font: inherit; font-size: .95rem; }
.count { font-size: .9rem; color: var(--ink-3); }
.feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(1.2rem, 3vw, 2.5rem); align-items: center; margin-top: 2rem; padding: clamp(1rem, 2.5vw, 1.6rem); border-radius: 26px; background: var(--card); border: 1px solid var(--line); position: relative; }
.feature img { border-radius: 18px; aspect-ratio: 1200 / 630; object-fit: cover; width: 100%; }
.feature h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 3.4vw, 2.7rem); line-height: 1.05; margin-top: .5rem; }
.feature h2 a { text-decoration: none; }
.feature h2 a::after { content: ""; position: absolute; inset: 0; }
.feature p { margin-top: .8rem; color: var(--ink-2); }
@media (max-width: 760px) { .feature { grid-template-columns: minmax(0, 1fr); } }
.cat-sec { padding-top: clamp(2.5rem, 5vw, 4rem); }
.cat-sec h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.05; display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; }
.cat-sec h2 small { font-family: var(--font-ui); font-size: .95rem; color: var(--ink-3); }
.cat-sec > p { margin-top: .5rem; color: var(--ink-2); max-width: 60ch; }
.empty { margin-top: 2rem; padding: 1.4rem; border-radius: 16px; background: var(--card); border: 1px dashed var(--line); }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: var(--on-dark); padding-block: clamp(2.5rem, 6vw, 4rem) calc(2rem + env(safe-area-inset-bottom, 0px)); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2rem; }
.foot h2 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); font-family: var(--font-ui); }
.foot ul { list-style: none; margin: .8rem 0 0; padding: 0; display: grid; gap: .45rem; font-size: .95rem; }
.foot a { color: rgba(252, 245, 230, .88); text-decoration: none; }
.foot a:hover { color: var(--on-dark); text-decoration: underline; }
.foot .about p { margin-top: .8rem; font-size: .95rem; color: rgba(252, 245, 230, .78); max-width: 36ch; }
.foot .about img { width: 76px; }
.foot .legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(252, 245, 230, .2); font-size: .85rem; color: rgba(252, 245, 230, .7); }
@media (max-width: 820px) { .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .foot .about { grid-column: 1 / -1; } }

@media print {
  .top, .toc, .share, .band, .foot, .progress, .cta-inline, .calc { display: none !important; }
  body { background: #fff; }
  .art-grid { display: block; }
  .prose a::after { content: " (" attr(href) ")"; font-size: .8em; color: #555; }
}
