/* EVA — sistemul vizual (P02.T583, 05 «Sistemul vizual»). Tokenurile vin din PostgreSQL (/_p/theme/{release}.css);
   valorile de după virgulă sunt doar rezerva pentru un release fără tokenul respectiv. */
:root {
  --stone: var(--color-stone, #F5F4EF); --stone-deep: var(--color-stone-deep, #ECEAE2); --paper: var(--color-paper, #FBFAF7);
  --ink: var(--color-ink, #19211F); --ink-soft: var(--color-ink-soft, #4A524F);
  --bronze: var(--color-bronze, #8C7552);            /* linii, ornamente, text ≥ 24 px (contrast 3,99:1 pe piatră) */
  --bronze-text: var(--color-bronze-text, #6E5A3E);  /* linkuri și text mic în bronz (5,97:1 pe piatră) */
  --rule: var(--color-rule, #CFC6B5); --success: var(--color-success, #225C46); --error: var(--color-error, #9C3036);
  --grid: var(--length-grid-max, 1280px); --control: var(--length-control-min, 48px); --corner: var(--length-corner, 2px);
  --lh: var(--number-leading, 1.6);
  --s1: .5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2.5rem; --s5: 4rem; --s6: 6rem;          /* 8 / 16 / 24 / 40 / 64 / 96 px */
  --gutter: 1.25rem; --header-h: 4rem; --section: var(--s5);
  --f-display: 'EVA Display', 'Newsreader', Georgia, 'Times New Roman', serif;
  --f-body: 'EVA Body', 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1); --t-fast: 200ms; --t-reveal: 420ms;               /* 180–240 / 300–450 ms */
  color-scheme: light;
}
@media (min-width: 640px) { :root { --gutter: 2rem; } }
@media (min-width: 1024px) { :root { --gutter: 3.5rem; --header-h: 5rem; --section: var(--s6); } }
html:lang(zh-Hans), html[lang^="zh"] { --f-display: 'EVA CJK', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --f-body: 'EVA CJK', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif; }

/* ------------------------------------------------------------------ bază */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + var(--s2)); }
body { margin: 0; background: var(--stone); color: var(--ink); font-family: var(--f-body); font-size: 1rem; line-height: var(--lh);
  overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
@media (min-width: 1024px) { body { font-size: 1.125rem; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-color: var(--bronze); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4, .h3, .h4 { font-family: var(--f-display); font-weight: 400; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.005em; color: var(--ink); }
h1 { font-size: clamp(2.375rem, 1.4rem + 4.2vw, 4.75rem); line-height: 1.04; letter-spacing: -.015em; max-width: 16ch; }
h2 { font-size: clamp(1.75rem, 1.1rem + 2vw, 2.75rem); }
h3, .h3 { font-size: clamp(1.25rem, 1.05rem + .6vw, 1.5rem); line-height: 1.25; }
.h4 { font-size: 1.125rem; font-family: var(--f-body); font-weight: 600; letter-spacing: 0; }
html[lang^="zh"] h1, html[lang^="zh"] h2, html[lang^="zh"] h3 { font-weight: 500; letter-spacing: 0; line-height: 1.25; }
p { margin: 0 0 1em; max-width: 65ch; }
.lead { font-size: 1.125em; line-height: 1.55; max-width: 58ch; color: var(--ink); }
.muted { color: var(--ink-soft); }
.small, .meta { font-size: .875rem; }
.eyebrow { margin: 0 0 var(--s2); font-size: .875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--bronze-text); }
html[lang^="zh"] .eyebrow { letter-spacing: .02em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: var(--corner); }
.btn--primary:focus-visible { box-shadow: 0 0 0 3px var(--stone); }
.wrap { width: 100%; max-width: calc(var(--grid) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.preview-banner { margin: 0; padding: var(--s1) var(--gutter); background: var(--error); color: #fff; font-weight: 700; text-align: center; }
[hidden] { display: none !important; }   /* audit B-2/B-8: atributul hidden câștigă mereu */
.rule { width: 3rem; height: 0; border: 0; border-top: 1px solid var(--bronze); margin: var(--s3) 0; }
.section-title { display: flex; align-items: baseline; gap: var(--s3); margin-bottom: var(--s3); }
.section-title h2 { margin: 0; flex: none; max-width: 100%; }
.section-title::after { content: ""; flex: 1; border-top: 1px solid var(--rule); transform: translateY(-.35em); }
@media (max-width: 479px) { .section-title::after { display: none; } }

.skip { position: absolute; left: var(--s1); top: -100px; z-index: 100; background: var(--ink); color: var(--stone); padding: 12px 16px; border-radius: var(--corner); }
.skip:focus { top: var(--s1); }

/* ------------------------------------------------------------------ controale: un stil principal, unul secundar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: var(--control); min-width: 44px;
  padding: .75rem 1.5rem; border: 1px solid transparent; border-radius: var(--corner); font: inherit; font-size: 1rem; font-weight: 600;
  line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease),
  border-color var(--t-fast) var(--ease), text-decoration-color var(--t-fast) var(--ease); }
.btn--primary, .btn.btn--primary { background: var(--ink); color: var(--stone); border-color: var(--ink); padding-left: 1.5rem; padding-right: 1.5rem; text-decoration: none; }
.btn--primary:hover, .btn.btn--primary:hover { background: #2C3633; border-color: #2C3633; color: var(--stone); }
.btn--secondary, .btn--text { background: transparent; color: var(--ink); padding-left: .25rem; padding-right: .25rem; font-weight: 600;
  text-decoration: underline; text-decoration-color: var(--bronze); text-decoration-thickness: 1px; text-underline-offset: .32em; }
.btn--secondary:hover, .btn--text:hover { text-decoration-thickness: 2px; text-decoration-color: var(--ink); }
.btn--icon { background: transparent; color: var(--ink); padding: .5rem; min-width: var(--control); }
.btn--icon span { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn__icon { width: 20px; height: 20px; flex: none; }
.btn--primary .btn__icon { filter: invert(96%) sepia(4%) saturate(260%) hue-rotate(10deg); }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s3); align-items: center; margin-top: var(--s4); }
.chip, .chip-radio span { display: inline-flex; align-items: center; min-height: var(--control); padding: .5rem 1rem; border-radius: var(--corner);
  border: 1px solid var(--rule); background: transparent; color: var(--ink); font: inherit; font-size: .9375rem; cursor: pointer; text-decoration: none; }
.chip:hover, .chip-radio span:hover { border-color: var(--ink); }
.chip-radio { position: relative; display: inline-block; margin: 0 var(--s1) var(--s1) 0; }
.chip-radio input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip-radio input:checked + span { background: var(--ink); color: var(--stone); border-color: var(--ink); }
.chip-radio input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; }
.tag { display: inline-block; font-size: .875rem; padding: 2px 10px; border: 1px solid var(--rule); border-radius: var(--corner); color: var(--ink-soft); }

/* ------------------------------------------------------------------ antet */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(245, 244, 239, .97); border-bottom: 1px solid var(--rule); }
.site-header__inner { max-width: calc(var(--grid) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); min-height: calc(var(--header-h) - 1px);
  display: flex; align-items: center; gap: var(--s2); }
.brand { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand__name { font-family: 'EVA Display', 'Newsreader', Georgia, serif; font-size: 2rem; font-weight: 500; letter-spacing: .04em; line-height: 1; }
@media (min-width: 1024px) { .brand__name { font-size: 2.5rem; } }
.nav ul { display: flex; gap: var(--s1); list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.nav a { display: inline-flex; align-items: center; min-height: var(--control); padding: 0 .75rem; color: var(--ink); text-decoration: none; font-size: 1rem; }
.nav a:hover { text-decoration: underline; text-decoration-color: var(--bronze); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--bronze); text-decoration-thickness: 2px; }
.header-tools { display: flex; align-items: center; gap: var(--s1); }
.header-tools .sep { width: 1px; height: 1.5rem; background: var(--rule); }
.tool { display: inline-flex; align-items: center; gap: .4rem; min-height: var(--control); min-width: 44px; padding: 0 .6rem; border: 0; background: transparent;
  color: var(--ink); font: inherit; font-size: .9375rem; cursor: pointer; border-radius: var(--corner); text-decoration: none; }
.tool:hover { text-decoration: underline; text-decoration-color: var(--bronze); }
.tool .btn__icon { width: 20px; height: 20px; }
.tool[aria-pressed="true"] { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--bronze); }
.voice { display: flex; align-items: center; gap: 2px; }
.voice__stop[disabled] { display: none; }
.menu-bars { display: inline-block; width: 18px; height: 12px; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; position: relative; }
.menu-bars::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1.5px solid currentColor; transform: translateY(-50%); }
/* IMP-02: navigarea se ascunde pe ecrane înguste DOAR după ce app.js a inițializat meniul (clasa nav-ready). */
.menu-open { display: none; }
@media (max-width: 1023px) {
  .site-header__inner { flex-wrap: wrap; }
  html:not(.nav-ready) .nav { order: 3; width: 100%; padding-bottom: var(--s1); }
  html:not(.nav-ready) .nav ul { gap: 0 var(--s1); }
  html:not(.nav-ready) .nav a { padding: 0 .5rem 0 0; }
  .nav-ready .nav { display: none; }
  .nav-ready .menu-open:not([hidden]) { display: inline-flex; }
  .prefs-open { display: none !important; }
  .tool__label--wide { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (min-width: 1024px) { .nav { margin-right: var(--s2); } }
.lang { position: relative; }
.lang summary { list-style: none; display: inline-flex; align-items: center; gap: .35rem; min-height: var(--control); min-width: 44px; padding: 0 .6rem;
  cursor: pointer; font-size: .9375rem; border-radius: var(--corner); }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { text-decoration: underline; text-decoration-color: var(--bronze); }
.lang__chev { width: .45em; height: .45em; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-25%) rotate(45deg); }
.lang__list { position: absolute; right: 0; top: calc(100% + 6px); z-index: 50; min-width: 12rem; list-style: none; margin: 0; padding: var(--s1); background: var(--paper);
  border: 1px solid var(--rule); border-radius: var(--corner); box-shadow: 0 16px 40px -16px rgba(25, 33, 31, .25); }
.lang__list a { display: flex; align-items: center; min-height: 44px; padding: 0 .75rem; color: var(--ink); text-decoration: none; border-radius: var(--corner); }
.lang__list a:hover { background: var(--stone-deep); }
.lang__list a[aria-current="true"] { font-weight: 700; text-decoration: underline; text-decoration-color: var(--bronze); }
.site-footer .lang__list { top: auto; bottom: calc(100% + 6px); right: auto; left: 0; }
.captions { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60; max-width: min(92vw, 720px);
  background: var(--ink); color: var(--stone); padding: 10px 16px; border-radius: var(--corner); box-shadow: 0 8px 24px rgba(0, 0, 0, .25); font-size: 1rem; }
.captions__label { font-weight: 700; }
@media (max-width: 479px) {
  .site-header__inner { gap: 0 2px; }
  .brand__name { font-size: 1.75rem; }
  .tool, .lang summary { padding: 0 .4rem; }
}

/* ------------------------------------------------------------------ dialogurile: meniu, preferințe */
dialog { border: 0; padding: 0; color: var(--ink); }
.menu-dialog { width: min(100vw, 26rem); max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; background: var(--paper);
  padding: var(--s2) var(--gutter); border-left: 1px solid var(--rule); }
.menu-dialog::backdrop, .prefs-dialog::backdrop { background: rgba(25, 33, 31, .35); }
.dialog-head { display: flex; justify-content: space-between; align-items: center; min-height: 56px; gap: var(--s2); }
.dialog-head .brand__name { font-size: 1.75rem; }
.menu-dialog__nav { list-style: none; margin: var(--s3) 0; padding: 0; }
.menu-dialog__nav a { display: flex; align-items: center; min-height: 56px; color: var(--ink); font-family: var(--f-display); font-size: 1.5rem; text-decoration: none;
  border-bottom: 1px solid var(--rule); }
.menu-dialog .tool { padding-left: 0; }
.prefs-dialog { width: min(calc(100vw - 2rem), 30rem); background: var(--paper); border: 1px solid var(--rule); border-radius: var(--corner);
  padding: var(--s3); box-shadow: 0 24px 60px -24px rgba(25, 33, 31, .35); }
.prefs-dialog h2 { font-size: 1.75rem; margin: 0; }
.prefs fieldset, .prefs .prefs-row { border: 0; border-top: 1px solid var(--rule); margin: var(--s2) 0 0; padding: var(--s2) 0 0; }
.prefs legend { float: left; width: 100%; padding: 0; margin-bottom: var(--s1); font-weight: 600; }
.prefs legend + * { clear: left; }
.prefs label { display: flex; align-items: center; gap: .75rem; min-height: 44px; }
.prefs input { width: 20px; height: 20px; accent-color: var(--ink); margin: 0; }
.prefs .btn { margin-top: var(--s1); }

/* ------------------------------------------------------------------ prima pagină: introducerea */
.intro { padding: var(--s4) 0 var(--section); }
.intro__grid { display: grid; gap: var(--s4); grid-template-columns: minmax(0, 1fr); align-items: center; }
.intro__text h1 { margin-bottom: var(--s3); }
.motto { font-family: var(--f-display); font-style: italic; font-size: clamp(1.5rem, 1.2rem + .9vw, 1.875rem); line-height: 1.3; color: var(--bronze); margin: 0; max-width: 30ch; }
html[lang^="zh"] .motto { font-family: 'EVA Display', 'Newsreader', Georgia, serif; }
.support { font-size: 1.1875rem; line-height: 1.5; margin: 0 0 var(--s2); max-width: 40ch; }
.concrete { color: var(--ink-soft); max-width: 52ch; margin: 0; }
.intro__art { margin: 0; }
.intro__art img { width: 100%; aspect-ratio: 6 / 5; object-fit: cover; background: var(--stone-deep); }
.credit-line { margin: var(--s1) 0 0; font-size: .875rem; color: var(--ink-soft); max-width: none; }
@media (min-width: 1024px) {
  .intro { padding-top: var(--s5); }
  .intro__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s5); }
}

/* ------------------------------------------------------------------ directorul domeniilor */
.domains { padding: 0 0 var(--section); }
.domains__lead { color: var(--ink-soft); margin-bottom: var(--s4); }
.directory__layout { display: grid; gap: var(--s4); grid-template-columns: minmax(0, 1fr); }
.directory { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: minmax(0, 1fr); column-gap: var(--s4); }
.directory li { border-bottom: 1px solid var(--rule); }
.directory__link { display: grid; gap: 2px; padding: var(--s2) 0; min-height: var(--control); color: var(--ink); text-decoration: none; }
.directory__name { font-size: 1.1875rem; font-weight: 600; line-height: 1.3; }
.directory__line { color: var(--ink-soft); font-size: 1rem; line-height: 1.45; }
.directory__link:hover .directory__name, .directory__link:focus-visible .directory__name { text-decoration: underline; text-decoration-color: var(--bronze); text-underline-offset: .22em; }
@media (min-width: 1024px) { .directory__link.is-active .directory__name { text-decoration: underline; text-decoration-color: var(--bronze); text-decoration-thickness: 2px; text-underline-offset: .22em; } }
.domain-panel { display: none; }
@media (min-width: 768px) { .directory { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .directory__layout { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s5); align-items: start; }
  .domain-panel { display: block; position: sticky; top: calc(var(--header-h) + var(--s3)); margin: 0; }
  .domain-panel__frame { position: relative; aspect-ratio: 4 / 5; background: var(--paper); border: 1px solid var(--rule); overflow: hidden; }
  .domain-panel__frame img { width: 100%; height: 100%; object-fit: cover; transition: opacity var(--t-reveal) var(--ease); }
  .domain-panel.is-changing .domain-panel__frame img { opacity: .15; }
  .domain-panel__caption { display: flex; gap: var(--s2); align-items: center; margin-top: var(--s2); }
  .domain-panel__caption p { margin: 0; font-size: .9375rem; color: var(--ink-soft); }
  .domain-panel__name { display: block; font-family: var(--f-display); font-size: 1.375rem; color: var(--ink); line-height: 1.25; }
}

/* ------------------------------------------------------------------ ce construim concret */
.build { padding: var(--section) 0; background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.build__intro { color: var(--ink-soft); margin-bottom: var(--s4); }
.build__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .build__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .build__list[data-count="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* grila după numărul cardurilor: 1 → un card lat (o coloană), 2 → două coloane egale, 3 → trei (de la 1024) */
.build__list[data-count="1"] { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) {
  .build__list[data-count="1"] .build__item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--s4); align-content: start; }
  .build__list[data-count="1"] .build__item > figure { grid-column: 1; grid-row: 1 / span 6; }
  .build__list[data-count="1"] .build__item > :not(figure) { grid-column: 2; }
}
.build__item { display: flex; flex-direction: column; gap: var(--s1); }
.build__item figure { margin: 0 0 var(--s1); }
.build__item img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border: 1px solid var(--rule); background: var(--stone-deep); }
.build__item figcaption { margin-top: 6px; font-size: .875rem; color: var(--ink-soft); }
.build__item h3 { margin: 0; }
.build__item h3 a { text-decoration: none; }
.build__item h3 a:hover { text-decoration: underline; text-decoration-color: var(--bronze); }
.build__item p { margin: 0; }

/* stările: maturitate / acces / serviciu, afișate separat (IMP-04) */
.state { display: grid; grid-template-columns: minmax(0, 1fr); margin: var(--s1) 0 0; padding: 0; border-top: 1px solid var(--rule); }
.state > div { display: flex; flex-wrap: wrap; gap: 0 var(--s2); padding: .5rem 0; border-bottom: 1px solid var(--rule); }
.state dt { flex: 0 0 7rem; }
.state dd { flex: 1 1 10rem; min-width: 0; }
.state dt { font-size: .875rem; color: var(--ink-soft); padding-top: .1em; }
.state dd { margin: 0; font-size: .9375rem; }
.state dd .meta { display: block; color: var(--ink-soft); }
.state__mark { display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; margin-right: .4rem; background: var(--ink-soft); vertical-align: .1em; }
.state__mark--up { background: var(--success); }
.state__mark--down { background: var(--error); }

/* ------------------------------------------------------------------ abordarea */
.approach { padding: var(--section) 0; }
.approach__grid { display: grid; gap: var(--s4); grid-template-columns: minmax(0, 1fr); align-items: start; }
.approach__art { margin: 0; order: 2; }
.approach__art img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--stone-deep); max-height: 36rem; }
@media (min-width: 1024px) { .approach__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s5); } .approach__art { order: 0; } }
.steps { list-style: none; counter-reset: step; margin: var(--s3) 0 0; padding: 0; display: grid; gap: 0; grid-template-columns: minmax(0, 1fr); }
.step { counter-increment: step; display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 0 var(--s2); padding: var(--s3) 0; border-top: 1px solid var(--rule); }
.step:last-child { border-bottom: 1px solid var(--rule); }
.step::before { content: counter(step); grid-row: span 2; font-family: var(--f-display); font-size: 2rem; line-height: 1; color: var(--bronze); }
.step h3 { margin: 0 0 .25em; font-size: 1.25rem; }
.step p { margin: 0; color: var(--ink-soft); }
@media (min-width: 768px) { .steps--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s4); } .steps--grid .step:nth-last-child(2) { border-bottom: 1px solid var(--rule); } }

/* ------------------------------------------------------------------ parteneriat și contact */
.partner-band { padding: var(--section) 0; background: var(--stone-deep); border-top: 1px solid var(--rule); }
.partner-band__grid { display: grid; gap: var(--s3) var(--s5); grid-template-columns: minmax(0, 1fr); align-items: end; }
@media (min-width: 1024px) { .partner-band__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.partner-band .lead { margin-bottom: 0; }
.partner-band__contact { display: grid; gap: var(--s1); justify-items: start; }
.partner-band__contact .cta-row { margin-top: 0; }
.email-link { font-family: var(--f-display); font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); color: var(--ink); text-decoration-color: var(--bronze); }
.cities-line { margin: 0; color: var(--ink-soft); font-size: .9375rem; }

/* ------------------------------------------------------------------ subsol, comprimat la motto */
.site-footer { background: var(--stone); border-top: 1px solid var(--rule); padding: var(--s5) 0 calc(var(--s5) + 56px + env(safe-area-inset-bottom)); }
.site-footer__inner { max-width: calc(var(--grid) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); display: grid; gap: var(--s4);
  grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .site-footer__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); } }
.site-footer .brand__name { display: block; font-size: 2rem; margin-bottom: var(--s1); }
.site-footer .motto { font-size: 1.5rem; }
.site-footer h2 { font-family: var(--f-body); font-size: .875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: var(--s1); }
html[lang^="zh"] .site-footer h2 { letter-spacing: .02em; }
.footer-links { list-style: none; padding: 0; margin: 0 0 var(--s2); }
.footer-links a { display: inline-flex; min-height: 44px; align-items: center; }
.site-footer .lang summary { padding-left: 0; }
.site-footer__rights { max-width: calc(var(--grid) + 2 * var(--gutter)); margin: var(--s4) auto 0; padding: 0 var(--gutter); font-size: .875rem; color: var(--ink-soft); }
.site-footer__rights p { max-width: none; margin: 0; padding-top: var(--s2); border-top: 1px solid var(--rule); }

/* ------------------------------------------------------------------ paginile interioare */
.page-head { padding-top: var(--s4); padding-bottom: var(--s3); }
.page-head h1 { font-size: clamp(2.25rem, 1.5rem + 3vw, 4rem); max-width: 20ch; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0 .5rem; padding: 0; margin: 0 0 var(--s2); font-size: .9375rem; color: var(--ink-soft); }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: .5rem; color: var(--ink-soft); }
.breadcrumb a { display: inline-flex; min-height: 44px; align-items: center; color: var(--ink-soft); }
.breadcrumb [aria-current] { display: inline-flex; min-height: 44px; align-items: center; }
.notice { background: var(--paper); border: 1px solid var(--rule); border-left: 3px solid var(--bronze); padding: var(--s2) var(--s3); max-width: 65ch; }
.prose { padding-bottom: var(--section); }
.section { padding: var(--s4) 0; }
.section + .section { border-top: 1px solid var(--rule); }
.section h2 { font-size: clamp(1.625rem, 1.2rem + 1.4vw, 2.25rem); }
.cards { list-style: none; margin: var(--s3) 0 0; padding: 0; display: grid; gap: 0 var(--s4); grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--rule); }
@media (min-width: 768px) { .cards--2, .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { padding: var(--s3) 0; border-bottom: 1px solid var(--rule); }
.card h3 { font-size: 1.25rem; margin-bottom: .25em; }
.card p { margin: 0; color: var(--ink-soft); }
.cities { list-style: none; margin: 0 0 1em; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.cities li:not(:last-child)::after { content: " ·"; color: var(--bronze); }
.cities--large { gap: var(--s2) var(--s4); }
.cities--large li { font-family: var(--f-display); font-size: 1.5rem; }
.cities--large li::after { content: none !important; }
.cities--large .country { display: block; font-family: var(--f-body); font-size: .9375rem; color: var(--ink-soft); }
.faq div { padding: var(--s2) 0; border-bottom: 1px solid var(--rule); }
.faq dt { font-weight: 600; }
.faq dd { margin: 4px 0 0; color: var(--ink-soft); }
.section--legal p { max-width: 70ch; }
.section--case { background: var(--paper); border: 1px solid var(--rule); padding: var(--s3); margin: var(--s3) 0; }
.case__title { font-family: var(--f-display); font-size: 1.375rem; line-height: 1.3; }
.source a { font-size: .9375rem; }
.test-list li { margin-bottom: var(--s1); }

/* ------------------------------------------------------------------ directorul /projects («Domenii») */
.filters { display: grid; gap: var(--s2) var(--s4); margin: var(--s1) 0 var(--s3); padding: var(--s3) 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
@media (min-width: 1024px) { .filters { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } .filters__actions { grid-column: 1 / -1; } }
.filters .field { margin-bottom: 0; }
.filter-set { border: 0; padding: 0; margin: 0; }
.filter-set legend { font-weight: 600; margin-bottom: var(--s1); }
.filters__actions { display: flex; gap: var(--s2); flex-wrap: wrap; }
.results { font-weight: 600; }
.project-cards { list-style: none; margin: 0 0 var(--s4); padding: 0; display: grid; gap: var(--s4); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .project-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .project-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.project-card { display: flex; flex-direction: column; border-top: 1px solid var(--ink); padding-top: var(--s2); }
.project-card__art { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; background: var(--paper); border: 1px solid var(--rule); margin-bottom: var(--s2); }
.project-card__body { display: flex; flex-direction: column; gap: var(--s1); }
.project-card h2 { margin: 0; }
.project-card h2 a { color: var(--ink); text-decoration: none; }
.project-card h2 a:hover { text-decoration: underline; text-decoration-color: var(--bronze); }
.project-card p { margin: 0; color: var(--ink-soft); }
.poetic { font-family: var(--f-display); font-style: italic; color: var(--ink-soft); }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 4px 0; }
.tags li { font-size: .875rem; border: 1px solid var(--rule); border-radius: var(--corner); padding: 2px 10px; color: var(--ink-soft); }
.empty { padding: var(--s4); text-align: center; background: var(--paper); border: 1px solid var(--rule); }

/* platformele (cardul folosit pe /projects) */
.platforms { display: grid; gap: var(--s4); grid-template-columns: 1fr; list-style: none; margin: 0; padding: 0; }
.platforms > li { display: flex; }
.platforms--grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.platform { display: flex; flex-direction: column; width: 100%; border-top: 1px solid var(--ink); padding-top: var(--s2); }
.platform__img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border: 1px solid var(--rule); background: var(--stone-deep); }
.platform__caption { margin: .35rem 0 0; }
.platform[data-shot] { border-top: 0; padding-top: 0; }
.platform[data-shot] .platform__caption { display: block; }
.platform__body { display: flex; flex-direction: column; gap: var(--s1); padding-top: var(--s2); flex: 1; }
.platform__body > p { margin: 0; }
.platform__title { margin: 0; font-size: 1.375rem; }
.platform .cta-row { margin-top: auto; padding-top: var(--s1); }
.platform[data-state="unavailable"] .platform__img { filter: grayscale(1); opacity: .8; }
.door__label { margin: 0; font-size: .875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--bronze-text); }
.status { font-weight: 600; }

/* ------------------------------------------------------------------ formulare și contact */
.field { display: grid; gap: 6px; margin-bottom: var(--s3); }
.field label { font-weight: 600; }
.field input, .field select, .field textarea, .chat textarea { font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--ink-soft); border-radius: var(--corner);
  min-height: var(--control); padding: .625rem .75rem; width: 100%; }
.field textarea { min-height: 10rem; resize: vertical; }
.field--error input, .field--error select, .field--error textarea { border-color: var(--error); border-width: 2px; }
.field__error { color: var(--error); font-weight: 600; margin: 0; }
.field__error::before { content: "⚠ "; }
.hint { font-size: .9375rem; color: var(--ink-soft); margin: 0; }
.field--check { grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: .75rem; }
.field--check input { width: 24px; height: 24px; min-height: 0; margin-top: 2px; accent-color: var(--ink); }
.field--check .field__error { grid-column: 1 / -1; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.error-box { border: 1px solid var(--error); border-left: 4px solid var(--error); background: #FBF1F1; padding: var(--s2) var(--s3); margin-bottom: var(--s3); }
.error-box a { color: var(--error); font-weight: 600; }
.error-box ul { margin: var(--s1) 0 0; padding-left: 1.2em; }
.contact-grid { display: grid; gap: var(--s4) var(--s5); grid-template-columns: minmax(0, 1fr); padding-bottom: var(--section); }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .contact-form form, .contact-form > p { max-width: 40rem; } }
.contact-form form + .offline-note, .contact-form .muted { margin-top: var(--s3); }
.contact-aside > section + section { margin-top: var(--s4); }
.contact-aside h2, .contact-form h2 { font-size: 1.5rem; }
.contact-direct { padding: var(--s4) 0; border-top: 1px solid var(--ink); }
.contact-direct h2 { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); }
.contact-direct .email-link { font-size: clamp(1.625rem, 1.1rem + 2vw, 3rem); }
.emails div { padding: .75rem 0; border-bottom: 1px solid var(--rule); }
.emails dt { font-weight: 600; }
.emails dd { margin: 2px 0 0; color: var(--ink-soft); }
.review { border-top: 1px solid var(--rule); max-width: 46rem; }
.review div { padding: var(--s2) 0; border-bottom: 1px solid var(--rule); display: grid; gap: 2px; }
@media (min-width: 768px) { .review div { grid-template-columns: 12rem minmax(0, 1fr); gap: var(--s3); } }
.review dt { font-weight: 600; color: var(--ink-soft); }
.review dd { margin: 0; }
.review-actions form { margin: 0; }
.done-mark { width: 3rem; height: 3rem; border: 1px solid var(--success); border-radius: 50%; position: relative; margin-bottom: var(--s3); }
.done-mark::after { content: ""; position: absolute; left: 1.05rem; top: .7rem; width: .7rem; height: 1.3rem; border-right: 2px solid var(--success); border-bottom: 2px solid var(--success); transform: rotate(45deg); }
.pre { white-space: pre-wrap; }
.cta-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); }
.offline-note { color: var(--error); font-weight: 600; }

/* ------------------------------------------------------------------ pagina de proiect (camera) */
.room-head { padding: var(--s3) 0 var(--section); }
.room-head__grid { display: grid; gap: var(--s4); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1024px) { .room-head__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--s5); } }
.room-head h1 { font-size: clamp(2.375rem, 1.4rem + 3.6vw, 4.25rem); max-width: 14ch; }
.room-head .poetic { font-size: 1.25rem; margin: calc(-1 * var(--s1)) 0 var(--s3); }
.room-head .lead { margin-bottom: var(--s2); }
.audience { color: var(--ink-soft); }
.listen-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--s2); margin-top: var(--s2); }
.transcript { font-size: .9375rem; color: var(--ink-soft); }
.transcript summary { cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; }
/* intrarea: imaginea camerei + ușa ca strat vizual scurt (anulabil; acțiunile nu depind de el) */
.entrance { margin: 0; }
.entrance__frame { position: relative; overflow: hidden; background: var(--stone-deep); aspect-ratio: 6 / 5; }
.entrance__frame > img { width: 100%; height: 100%; object-fit: cover; }
.entrance__leaf { display: none; }
/* Fără app.js stratul se deschide singur (animație CSS, IMP-02); JS doar îl anulează (clic / Escape) sau îl reia (butonul secvenței). */
.js .entrance__leaf { display: block; position: absolute; top: 0; bottom: 0; width: 50%; background: var(--stone-deep); pointer-events: none;
  border: 1px solid var(--rule); animation: var(--t-reveal) var(--ease) 320ms both; }
.js .entrance__leaf::after { content: ""; position: absolute; inset: 12% 14%; border: 1px solid var(--rule); }
.js .entrance__leaf--l { left: 0; transform-origin: left center; animation-name: leaf-open-l; }
.js .entrance__leaf--r { right: 0; transform-origin: right center; animation-name: leaf-open-r; }
@keyframes leaf-open-l { from { transform: perspective(1400px) rotateY(0); opacity: 1; } to { transform: perspective(1400px) rotateY(80deg); opacity: 0; visibility: hidden; } }
@keyframes leaf-open-r { from { transform: perspective(1400px) rotateY(0); opacity: 1; } to { transform: perspective(1400px) rotateY(-80deg); opacity: 0; visibility: hidden; } }
.js .entrance.is-skip .entrance__leaf { display: none; }
/* secvența camerei (butonul, ≤ 6 s): ușa se închide și se redeschide o dată */
.js .entrance.is-sequence .entrance__leaf { display: block; animation-duration: 2400ms; animation-delay: 0ms; }
.js .entrance.is-sequence .entrance__leaf--l { animation-name: leaf-seq-l; }
.js .entrance.is-sequence .entrance__leaf--r { animation-name: leaf-seq-r; }
@keyframes leaf-seq-l { 0% { transform: perspective(1400px) rotateY(80deg); opacity: 0; } 18%, 70% { transform: perspective(1400px) rotateY(0); opacity: 1; } 100% { transform: perspective(1400px) rotateY(80deg); opacity: 0; visibility: hidden; } }
@keyframes leaf-seq-r { 0% { transform: perspective(1400px) rotateY(-80deg); opacity: 0; } 18%, 70% { transform: perspective(1400px) rotateY(0); opacity: 1; } 100% { transform: perspective(1400px) rotateY(-80deg); opacity: 0; visibility: hidden; } }
.entrance__replay { margin-top: var(--s1); }
.entrance figcaption { margin-top: var(--s1); font-size: .875rem; color: var(--ink-soft); max-width: 60ch; }
/* ghidul: lângă intrare, discret */
.guide { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s2); align-items: start; margin-top: var(--s3); padding-top: var(--s3); border-top: 1px solid var(--rule); }
.guide--plain { grid-template-columns: minmax(0, 1fr); }
.guide__portrait { width: 88px; height: 110px; object-fit: cover; object-position: top; background: var(--stone-deep); }
.guide__role { margin: 0; font-family: var(--f-body); font-size: .875rem; font-weight: 400; line-height: 1.4; color: var(--ink-soft); }
.guide__name { margin: 0 0 var(--s1); font-family: var(--f-display); font-size: 1.375rem; line-height: 1.25; }
.guide__more summary { cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; text-decoration: underline; text-decoration-color: var(--bronze); text-underline-offset: .22em; }
.guide__more p { font-size: .9375rem; }
.guide .disclaimer { font-size: .875rem; color: var(--ink-soft); margin: 0; }
.quote { margin: var(--s3) 0 0; padding: 0 0 0 var(--s3); border-left: 1px solid var(--bronze); grid-column: 1 / -1; }
.quote blockquote { margin: 0; font-family: var(--f-display); font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); line-height: 1.35; }
.quote blockquote p { margin: 0 0 var(--s1); }
.quote figcaption { font-size: .9375rem; display: grid; gap: 4px; }
.quote figcaption a { color: var(--ink-soft); }
.quote__label { font-style: italic; color: var(--ink-soft); }
.quote__original summary { cursor: pointer; min-height: var(--control); display: inline-flex; align-items: center; }
/* conținutul camerei: secțiunile 2–6 */
.room-body { border-top: 1px solid var(--rule); }
.room-section, .room-body > .section--status { padding: var(--section) 0; border-bottom: 1px solid var(--rule); }
.room-body > section:nth-child(even) { background: var(--paper); }
.room-section__grid { display: grid; gap: var(--s3) var(--s5); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .room-section__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
.room-section__head h2 { margin-bottom: var(--s2); }
.room-section__head p { color: var(--ink-soft); }
.room-body .cards { margin-top: 0; }
.room-section .steps { margin-top: 0; }
.exists { display: grid; gap: var(--s4); grid-template-columns: minmax(0, 1fr); }
.exists__product h3 { margin-bottom: .25em; }
.exists__product p { color: var(--ink-soft); }
.demo { margin: 0; }
.demo img { width: 100%; height: auto; border: 1px solid var(--rule); background: var(--paper); }
.demo figcaption { margin-top: var(--s1); font-size: .875rem; color: var(--ink-soft); }
.case { margin-top: var(--s4); padding: var(--s3); border: 1px solid var(--rule); background: var(--stone); }
.case h3 { margin: var(--s2) 0 .4em; }
.case p { color: var(--ink-soft); }
.case-label { display: inline-block; font-size: .875rem; color: var(--ink-soft); border: 1px solid var(--rule); padding: 2px 10px; margin: 0; }
.access { display: grid; gap: var(--s1); }
.access .cta-row { margin-top: var(--s1); }
.related { list-style: none; padding: 0; margin: 0; display: grid; gap: 0 var(--s4); grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--rule); }
@media (min-width: 768px) { .related { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.related li { border-bottom: 1px solid var(--rule); }
.related a { display: grid; gap: 2px; padding: var(--s2) 0; min-height: var(--control); text-decoration: none; color: var(--ink); }
.related a span:first-child { font-weight: 600; }
.related a span + span { color: var(--ink-soft); font-size: .9375rem; }
.related a:hover span:first-child { text-decoration: underline; text-decoration-color: var(--bronze); }

/* ------------------------------------------------------------------ credite, eroare */
.table-wrap { overflow-x: auto; max-width: 100%; position: relative; }   /* textele ascunse vizual (position: absolute) rămân în zona derulabilă */
.credits-table { border-collapse: collapse; width: 100%; font-size: .9375rem; }
.credits-table th, .credits-table td { text-align: left; vertical-align: top; padding: .5rem; border-bottom: 1px solid var(--rule); }
.credits-table th { font-weight: 600; color: var(--ink-soft); }
.credit-list li { margin-bottom: var(--s1); }
.error-page { padding-top: var(--section); padding-bottom: var(--section); }
.error-code { font-family: var(--f-display); font-size: 4rem; color: var(--bronze); margin: 0; line-height: 1; }

/* ------------------------------------------------------------------ asistentul (secundar, nu acoperă conținutul — AUD-3)
   Lansatorul e o unealtă din antet, în fluxul paginii: niciun element fix peste text, imagini sau focus, la orice lățime și zoom. */
.chat-launch { display: inline-flex; }
.chat-launch[hidden] { display: none; }
.chat { width: min(28rem, calc(100vw - 16px)); min-width: min(320px, 100vw); max-height: 85dvh; margin: auto 16px calc(16px + env(safe-area-inset-bottom)) auto;
  background: var(--paper); color: var(--ink); border: 1px solid var(--rule); border-radius: var(--corner); padding: 0; display: none;
  box-shadow: 0 24px 60px -24px rgba(25, 33, 31, .4); }
.chat[open] { display: flex; flex-direction: column; }
.chat::backdrop { background: rgba(25, 33, 31, .25); }
@media (max-width: 639px) { .chat { margin: auto auto 0; width: 100vw; max-width: 100vw; } }
.chat__head { display: flex; justify-content: space-between; align-items: start; gap: var(--s1); padding: var(--s2) var(--s2) var(--s1); border-bottom: 1px solid var(--rule); }
.chat__head h2 { font-size: 1.5rem; margin: 0; }
.chat__head p { margin: 0; color: var(--ink-soft); font-size: .9375rem; }
.chat__log { flex: 1; overflow-y: auto; padding: .75rem var(--s2); display: flex; flex-direction: column; gap: .625rem; min-height: 120px; }
.chat__msg { margin: 0; padding: .625rem .75rem; border-radius: var(--corner); max-width: 92%; }
.chat__msg p { margin: 0; }
.chat__msg--assistant { background: var(--stone-deep); align-self: flex-start; }
.chat__msg--user { background: var(--ink); color: var(--stone); align-self: flex-end; }
.chat__msg--user a { color: var(--stone); }
.chat__msg--assistant .muted { color: var(--ink-soft); }
.chat__sources { font-size: .875rem; margin: 6px 0 0; padding-left: 1.1em; }
.chat__options { display: flex; flex-wrap: wrap; gap: var(--s1); padding: 0 var(--s2) var(--s1); }
.chat__form { padding: var(--s1) var(--s2) var(--s2); border-top: 1px solid var(--rule); }
.chat textarea { min-height: 4rem; }
.chat__actions { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s2); margin-top: var(--s1); }
.chat__status { min-height: 1.4em; margin: 6px 0 0; color: var(--ink-soft); font-size: .9375rem; }
.chat__msg .btn { min-height: var(--control); margin-top: var(--s1); }

/* ------------------------------------------------------------------ mod clasic, mișcare redusă, contrast forțat, tipar */
html[data-view="classic"] .domain-panel, html[data-view="classic"] .entrance__leaf { display: none !important; }
html[data-view="classic"] .directory__layout { grid-template-columns: minmax(0, 1fr); }
html[data-view="classic"] .intro__art, html[data-view="classic"] .approach__art, html[data-view="classic"] .entrance { display: none; }
html[data-view="classic"] .intro__grid, html[data-view="classic"] .approach__grid, html[data-view="classic"] .room-head__grid { grid-template-columns: minmax(0, 1fr); }
html[data-view="classic"] *, html[data-motion="reduce"] * { animation: none !important; transition-duration: .01ms !important; }
html[data-motion="reduce"] .entrance__leaf { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .entrance__leaf { display: none !important; }
}
@media (forced-colors: active) { .btn { border: 1px solid ButtonText; } .entrance__leaf { display: none !important; } }
@media print { .site-header, .chat, .chat-launch, .captions, .voice, .domain-panel, .entrance__leaf { display: none !important; } body { background: #fff; } }
@media (max-width: 479px) { p, li, dd { hyphens: auto; -webkit-hyphens: auto; } .motto { hyphens: manual; -webkit-hyphens: manual; } }
@media (min-width: 640px) and (max-width: 1023px) { .intro__art img, .entrance__frame { aspect-ratio: 16 / 10; } }

/* ------------------------------------------------------------------ text mărit (T12: 320 px + 200 %), ținte ≥ 44/48 px (D03, B14) */
.lang:not([open]) .lang__list { display: none; }
.header-tools { flex-wrap: wrap; justify-content: flex-end; min-width: 0; max-width: 100%; }
.btn { max-width: 100%; white-space: normal; text-align: center; }
.email-link { display: inline-block; min-height: var(--control); padding: .3rem 0; max-width: 100%; overflow-wrap: anywhere; }
.build__item h3 a { display: inline-block; min-height: 44px; padding: .35rem 0; max-width: 100%; }
@media (max-width: 479px) { .email-link, .btn { overflow-wrap: anywhere; } }
/* AUD-14: titlurile se despart în silabe după limba paginii (lang pe <html>), cu cratimă; ruperea fără cratimă rămâne doar ultima soluție */
@media (max-width: 479px) { h1, h2, h3, .directory__name { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; } }
/* AUD-6: chineza — titlurile nu despart cuvintele: rupere doar la punctuație, rânduri echilibrate; ruperea oriunde doar dacă altfel ar depăși */
html:lang(zh-Hans) :is(h1, h2, h3, .directory__name, .poetic) { line-break: strict; text-wrap: balance; }
html:lang(zh-Hans) :is(h1, h2, h3) .seg { display: inline-block; max-width: 100%; }
/* AUD-3: la înălțimi mici (zoom 400 %, telefon culcat) antetul nu mai e lipit sus — suprafața utilă rămâne conținutului */
@media (max-height: 500px) { .site-header { position: relative; } html { scroll-padding-top: var(--s2); } }
/* AUD-9: pagina de proiect — ghidul în coloana textului, lângă intrare; citatul sub introducere, pe toată grila */
.room-head__quote { margin-top: var(--s4); }
.room-head__quote .quote { margin: 0; max-width: 52rem; }
.room-head__text .guide { margin-top: var(--s4); }
/* adresa de email nu se rupe la cratima din «eva-org» când încape pe rând (sub 480 px se poate rupe, pentru text mărit) */
@media (min-width: 480px) { .addr { white-space: nowrap; } }
/* AUD-9 (clasa): pe desktop coloana mai scurtă a intrării rămâne în vedere cât se citește coloana textului — fără zonă moartă */
@media (min-width: 1024px) { .room-head__side { position: sticky; top: calc(var(--header-h) + var(--s3)); } }
@media (min-width: 1024px) and (max-height: 500px) { .room-head__side { position: static; } }
/* AUD-3: între 1024 și 1359 px «Ascultă» și asistentul rămân iconițe cu nume accesibil, ca antetul să nu treacă pe două rânduri în de/fr/es */
@media (min-width: 1024px) and (max-width: 1359px) { .header-tools .tool__label--wide { position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; } }
/* AUD-3: sub 380 px antetul rămâne pe un rând și cu lansatorul asistentului: fără separator, «Meniu» ca nume accesibil al iconiței */
@media (max-width: 379px) { .header-tools { gap: 0; } .header-tools .sep { display: none; } .tool { padding: 0 .4rem; }
  .menu-open__label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
.transcript summary, .guide__more summary, .quote__original summary { min-height: var(--control); }
