:root {
  /* Planșă colorată: profilul geotehnic din hero dă paleta (umplutură, loess, argilă, nisip),
     albastrul de planșă e culoarea cabinetului, roșul marchează doar degradarea,
     iar desfășurarea expertizei stă pe o bandă albastră. */
  --paper: #F1F0EC;
  --sheet: #FFFFFF;
  --ink: #1A2233;
  --ink-soft: #555C6A;
  --rule: #D6D3CB;
  --brand: #1E4C8F;
  --brand-wash: #E3EAF5;
  --on-brand: #FFFFFF;
  --ochre: #C18419;
  --signal: #C93A2C;
  --water: #2C7CC4;
  --water-ink: #1F67A8;
  --wet-bg: rgba(44, 124, 196, 0.2);
  --veil: rgba(241, 240, 236, 0.92);

  --band: #183E78;
  --band-ink: #EEF2F9;
  --band-soft: #BAC7DF;
  --band-rule: rgba(255, 255, 255, 0.2);
  --band-panel: rgba(255, 255, 255, 0.07);
  --band-mark: #F2C35E;

  --facade: #FAF7F1;
  --glass: #DCE7F3;
  --concrete: #D2D5DA;
  --concrete-hatch: #7E848E;
  --s-fill: #D8D2C6;
  --s-loess: #EED390;
  --s-clay: #CCB496;
  --s-sand: #E8DBB3;
  --hatch: rgba(72, 54, 22, 0.5);
  --grid: rgba(193, 132, 25, 0.16);

  --font-text: Georgia, "Gelasio", "Times New Roman", serif;
  --font-tech: "IBM Plex Sans Condensed", "Roboto Condensed", "Arial Narrow", sans-serif;

  --fs-0: 1.0625rem;
  --fs-1: 1.25rem;
  --fs-2: 1.5rem;
  --fs-4: clamp(1.875rem, 1.35rem + 1.7vw, 2.5rem);
  --fs-5: clamp(2.25rem, 1.5rem + 2.8vw, 3.5rem);

  --gutter: clamp(16px, 4vw, 40px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0F141B;
    --sheet: #161C25;
    --ink: #E4E8EF;
    --ink-soft: #A2A9B6;
    --rule: #2A313D;
    --brand: #8DB0EC;
    --brand-wash: #1C2A44;
    --on-brand: #0F141B;
    --ochre: #E0A845;
    --signal: #F0715F;
    --water: #6EB3EC;
    --water-ink: #8CC3F0;
    --wet-bg: rgba(110, 179, 236, 0.18);
    --veil: rgba(15, 20, 27, 0.9);
    --band: #132A4D;
    --band-ink: #E6ECF6;
    --band-soft: #A9B8D4;
    --band-rule: rgba(255, 255, 255, 0.14);
    --band-panel: rgba(255, 255, 255, 0.05);
    --band-mark: #F0C05A;
    --facade: #1C222C;
    --glass: #23344A;
    --concrete: #3A404A;
    --concrete-hatch: #9AA2AE;
    --s-fill: #34312C;
    --s-loess: #4F4222;
    --s-clay: #42392E;
    --s-sand: #48412F;
    --hatch: rgba(240, 225, 190, 0.3);
    --grid: rgba(224, 168, 69, 0.1);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0F141B;
  --sheet: #161C25;
  --ink: #E4E8EF;
  --ink-soft: #A2A9B6;
  --rule: #2A313D;
  --brand: #8DB0EC;
  --brand-wash: #1C2A44;
  --on-brand: #0F141B;
  --ochre: #E0A845;
  --signal: #F0715F;
  --water: #6EB3EC;
  --water-ink: #8CC3F0;
  --wet-bg: rgba(110, 179, 236, 0.18);
  --veil: rgba(15, 20, 27, 0.9);
  --band: #132A4D;
  --band-ink: #E6ECF6;
  --band-soft: #A9B8D4;
  --band-rule: rgba(255, 255, 255, 0.14);
  --band-panel: rgba(255, 255, 255, 0.05);
  --band-mark: #F0C05A;
  --facade: #1C222C;
  --glass: #23344A;
  --concrete: #3A404A;
  --concrete-hatch: #9AA2AE;
  --s-fill: #34312C;
  --s-loess: #4F4222;
  --s-clay: #42392E;
  --s-sand: #48412F;
  --hatch: rgba(240, 225, 190, 0.3);
  --grid: rgba(224, 168, 69, 0.1);
  color-scheme: dark;
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--fs-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1140px; margin-inline: auto; padding-inline: var(--gutter); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.label {
  font-family: var(--font-tech);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0;
}

/* Antet */
.top {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: var(--veil);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 10px; }
.brand { display: grid; gap: 2px; text-decoration: none; line-height: 1.2; min-width: 0; }
.brand b { font-weight: 400; font-size: 1.0625rem; }
.brand span {
  font-family: var(--font-tech);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav ul a { font-family: var(--font-tech); font-size: 0.9375rem; color: var(--ink-soft); text-decoration: none; }
.nav ul a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.tel-btn {
  font-family: var(--font-tech);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--ink);
  border-radius: 2px;
  padding: 7px 12px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.tel-btn:hover { background: var(--ink); color: var(--paper); }
@media (max-width: 780px) { .nav ul { display: none; } }

/* Hero */
.hero { padding-block: clamp(32px, 6vw, 72px) clamp(44px, 6vw, 84px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4.5vw, 64px);
  align-items: start;
}
@media (max-width: 920px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.eyebrow {
  font-family: var(--font-tech);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0;
}
h1 {
  font-weight: 400;
  font-size: var(--fs-5);
  line-height: 1.07;
  letter-spacing: -0.012em;
  text-wrap: balance;
  margin: 14px 0 22px;
}
.lead { font-size: var(--fs-1); line-height: 1.5; color: var(--ink-soft); max-width: 32em; margin: 0; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 30px; }
.call {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  background: var(--brand);
  color: var(--on-brand);
  text-decoration: none;
  font-family: var(--font-tech);
  border-radius: 2px;
  padding: 12px 20px 13px;
}
.call small { font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.85; }
.call strong { font-size: 1.3125rem; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }
.call:hover { filter: brightness(1.12); }
.mail {
  font-family: var(--font-tech);
  font-size: 1.0625rem;
  text-underline-offset: 4px;
  text-decoration-color: var(--rule);
  overflow-wrap: anywhere;
}
.mail:hover { text-decoration-color: var(--ink); }
.reach { margin: 22px 0 0; font-size: 0.9375rem; color: var(--ink-soft); }

/* Planșa */
.plate { margin: 0; background: var(--sheet); border: 1px solid var(--rule); min-width: 0; }
.plate-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-tech);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
@media (max-width: 560px) { .plate-head { font-size: 0.625rem; letter-spacing: 0.08em; } }
.drawing { display: block; width: 100%; height: auto; }
.plate figcaption { border-top: 1px solid var(--rule); padding: 14px 16px 16px; display: grid; gap: 12px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px; }
.legend button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 0.875rem/1.2 var(--font-tech);
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 5px 10px 5px 5px;
  cursor: pointer;
}
.legend button:hover { border-color: var(--ink-soft); }
.legend button[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-wash); color: var(--brand); }
.sw { width: 22px; height: 22px; flex: none; display: block; }
.sw .sw-box { stroke: var(--ink-soft); stroke-width: 1; }
.sw .sw-struct { fill: var(--brand-wash); }
.sw .sw-concrete { fill: var(--concrete); }
.sw .sw-loess { fill: var(--s-loess); }
.sw .sw-ln { stroke: var(--brand); stroke-width: 1.3; fill: none; stroke-linejoin: round; stroke-linecap: round; }
.sw .sw-crack { stroke: var(--signal); stroke-width: 1.4; fill: none; stroke-linejoin: round; stroke-linecap: round; }
.plate .note { margin: 0; font-size: 0.9375rem; line-height: 1.55; color: var(--ink-soft); max-width: 60ch; }
.plate .key { margin: 0; font-family: var(--font-tech); font-size: 0.8125rem; line-height: 1.5; color: var(--ink-soft); }
.plate .key b { color: var(--ink); font-weight: 600; }

/* Desenul */
.drawing .ln { stroke: var(--ink); fill: none; stroke-width: 1.4; stroke-linejoin: round; }
.drawing .ln-thin { stroke: var(--ink); fill: none; stroke-width: 0.8; }
.drawing .ln-soft { stroke: var(--ink-soft); fill: none; stroke-width: 0.8; }
.drawing .ln-dash { stroke: var(--ink); fill: none; stroke-width: 1; stroke-dasharray: 4 3; }
.drawing .bore { stroke: var(--ink); fill: none; stroke-width: 2; }
.drawing .ground { stroke: var(--ink); fill: none; stroke-width: 2; }
.drawing .mask { fill: var(--sheet); }
.drawing .mark { fill: var(--sheet); stroke: var(--ink); stroke-width: 0.9; stroke-linejoin: round; }
.drawing .hole { fill: var(--sheet); stroke: var(--ink); stroke-width: 1.2; }
.drawing .facade { fill: var(--facade); }
.drawing .glass { fill: var(--glass); }
.drawing .concrete { fill: var(--concrete); }
.drawing .s-fill { fill: var(--s-fill); }
.drawing .s-loess { fill: var(--s-loess); }
.drawing .s-clay { fill: var(--s-clay); }
.drawing .s-sand { fill: var(--s-sand); }
.drawing .grid-min { stroke: var(--grid); fill: none; stroke-width: 0.5; }
.drawing .grid-maj { stroke: var(--grid); fill: none; stroke-width: 1.1; }
.drawing .hp { stroke: var(--hatch); fill: none; stroke-width: 0.75; }
.drawing .hp-dot { fill: var(--hatch); }
.drawing .hp-c { stroke: var(--concrete-hatch); fill: none; stroke-width: 0.75; }
.drawing .wet-bg { fill: var(--wet-bg); }
.drawing .wet-hp { stroke: var(--water); fill: none; stroke-width: 0.8; stroke-opacity: 0.7; }
.drawing .wet { fill: url(#h-wet); stroke: var(--water); stroke-width: 1.3; stroke-dasharray: 3 3; }
.drawing .drip { stroke: var(--water); fill: none; stroke-width: 1.7; stroke-linecap: round; }
.drawing .mark-water { fill: var(--water); }
.drawing .ln-water { stroke: var(--water); fill: none; stroke-width: 1.1; }
.drawing .crack { stroke: var(--signal); fill: none; stroke-width: 1.9; stroke-linejoin: round; stroke-linecap: round; }
.drawing .sig { stroke: var(--signal); fill: none; stroke-width: 1.6; stroke-linecap: round; }
.drawing .sig-dash { stroke: var(--signal); fill: none; stroke-width: 1.4; stroke-dasharray: 4 3; }
.drawing .arr-head { fill: var(--signal); }
.drawing text {
  font-family: var(--font-tech);
  font-size: 12px;
  fill: var(--ink-soft);
  paint-order: stroke;
  stroke: var(--sheet);
  stroke-width: 3px;
  stroke-linejoin: round;
}
.drawing .t-ink { fill: var(--ink); font-weight: 600; }
.drawing .t-soft { fill: var(--ink-soft); font-weight: 400; }
.drawing .t-sig { fill: var(--signal); font-weight: 600; }
.drawing .t-water { fill: var(--water-ink); font-weight: 600; }
.drawing .mat-edge { stroke: transparent; fill: none; stroke-width: 1.8; }
.drawing .g { transition: opacity 0.25s ease; }
.drawing[data-focus="structura"] .g-mat,
.drawing[data-focus="structura"] .g-geo,
.drawing[data-focus="materiale"] .g-str,
.drawing[data-focus="materiale"] .g-geo,
.drawing[data-focus="geologie"] .g-str,
.drawing[data-focus="geologie"] .g-mat { opacity: 0.18; }
.drawing[data-focus] .g-exp { opacity: 0.45; }
.drawing[data-focus="materiale"] .mat-edge { stroke: var(--brand); }
@media (prefers-reduced-motion: reduce) { .drawing .g { transition: none; } }
@media (max-width: 560px) {
  .drawing text { font-size: 18px; stroke-width: 4px; }
  .drawing .minor { display: none; }
}

/* Secțiuni */
.block { padding-block: clamp(48px, 7vw, 96px); border-top: 1px solid var(--rule); scroll-margin-top: 64px; }
.sec-head { display: grid; gap: 12px; max-width: 44em; margin-bottom: clamp(28px, 4vw, 44px); }
h2 { font-weight: 400; font-size: var(--fs-4); line-height: 1.15; letter-spacing: -0.008em; text-wrap: balance; margin: 0; }
.sec-head > p:last-child:not(.label) { margin: 0; color: var(--ink-soft); }

/* Domenii */
.domains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 40px); }
@media (max-width: 880px) { .domains { grid-template-columns: minmax(0, 1fr); } }
.domain { display: grid; gap: 12px; align-content: start; border-top: 2px solid var(--ink); padding-top: 18px; min-width: 0; }
.domain-head { display: flex; align-items: center; gap: 14px; }
.domain-head .sw { width: 40px; height: 40px; }
.domain h3 { font-weight: 400; font-size: var(--fs-2); line-height: 1.2; margin: 0; }
.domain .official { font-family: var(--font-tech); font-size: 0.875rem; line-height: 1.35; color: var(--ink-soft); margin: 3px 0 0; }
.domain p { margin: 0; }
.obj { margin-top: 4px; padding-top: 14px; border-top: 1px dashed var(--rule); }
.obj ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.obj li { position: relative; padding-left: 18px; font-style: italic; line-height: 1.45; color: var(--ink-soft); }
.obj li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 9px; height: 2px; background: var(--ochre); }
.situations { margin-top: clamp(40px, 5vw, 60px); }
.situations ul {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(5, auto);
  grid-auto-flow: column;
  column-gap: 40px;
}
@media (max-width: 560px) { .situations ul { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-flow: row; } }
.situations li { border-top: 1px solid var(--rule); padding: 12px 0; line-height: 1.4; }

/* Cum lucrăm */
.process { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 880px) { .process { grid-template-columns: minmax(0, 1fr); } }
.track h3 { font-weight: 400; font-size: var(--fs-2); line-height: 1.2; margin: 0; }
.track .sub { font-family: var(--font-tech); font-size: 0.875rem; color: var(--ink-soft); margin: 4px 0 16px; }
.steps { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--rule); }
.steps li { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); column-gap: 12px; padding: 16px 0; border-top: 1px solid var(--rule); }
.steps .n { font-family: var(--font-tech); font-weight: 600; font-size: 1rem; line-height: 1.6; color: var(--brand); font-variant-numeric: tabular-nums; }
.steps h4 { font-size: 1.0625rem; font-weight: 600; line-height: 1.5; margin: 0; }
.steps p { margin: 4px 0 0; color: var(--ink-soft); }
.extra { background: var(--sheet); border: 1px solid var(--rule); padding: clamp(20px, 3vw, 28px); display: grid; gap: 14px; }
.extra .sub { margin: 0; }
.extra p { margin: 0; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.checklist li { position: relative; padding-left: 24px; line-height: 1.45; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 0.32em; width: 11px; height: 11px; border: 1.5px solid var(--ink-soft); }

/* Banda albastră */
.block.band { background: var(--band); color: var(--band-ink); border-top: 0; }
.band + .block { border-top: 0; }
.band .label,
.band .track .sub,
.band .steps p { color: var(--band-soft); }
.band .steps { border-bottom-color: var(--band-rule); }
.band .steps li { border-top-color: var(--band-rule); }
.band .steps .n { color: var(--band-mark); }
.band .extra { background: var(--band-panel); border-color: var(--band-rule); }
.band .checklist li::before { border-color: var(--band-mark); }

/* Despre */
.about { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 880px) { .about { grid-template-columns: minmax(0, 1fr); } }
.about-text > p { margin: 0 0 14px; max-width: 36em; }
.about-text > p:last-child { margin-bottom: 0; }
.creds { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); border-top: 2px solid var(--ink); }
.creds dt, .creds dd { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.creds dt {
  font-family: var(--font-tech);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-right: 24px;
  padding-top: 15px;
}
.creds dd { margin: 0; line-height: 1.45; }
@media (max-width: 520px) {
  .creds { grid-template-columns: minmax(0, 1fr); }
  .creds dt { border-bottom: 0; padding-bottom: 0; }
  .creds dd { padding-top: 4px; }
}
.thesis { margin-top: clamp(40px, 5vw, 64px); background: var(--sheet); border: 1px solid var(--rule); }
.thesis-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 16px;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-tech);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.thesis-body {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(20px, 3vw, 32px);
}
@media (max-width: 880px) { .thesis-body { grid-template-columns: minmax(0, 1fr); } }
.thesis-title { font-weight: 400; font-style: italic; font-size: var(--fs-2); line-height: 1.25; text-wrap: balance; margin: 0; }
.thesis-text p { margin: 0 0 12px; max-width: 62ch; }
.thesis-text p:last-child { margin-bottom: 0; }
.thesis-text .thesis-meta { font-family: var(--font-tech); font-size: 0.875rem; line-height: 1.45; color: var(--ink-soft); margin: 10px 0 18px; }
.contrib { display: grid; gap: 12px; align-content: start; }
.contrib ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.contrib li { position: relative; padding-left: 18px; line-height: 1.5; }
.contrib li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 9px; height: 2px; background: var(--ochre); }
.pubs { margin-top: clamp(32px, 4vw, 48px); display: grid; gap: 12px; }
.pubs ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.pubs li { display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); column-gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.pubs .yr { font-family: var(--font-tech); font-weight: 600; line-height: 1.6; color: var(--brand); font-variant-numeric: tabular-nums; }
.pubs .t { display: block; line-height: 1.45; }
.pubs .v { display: block; margin-top: 3px; font-family: var(--font-tech); font-size: 0.875rem; line-height: 1.4; color: var(--ink-soft); }

/* Lucrări de referință */
.cases { display: grid; gap: clamp(24px, 3vw, 36px); }
.case { background: var(--sheet); border: 1px solid var(--rule); min-width: 0; }
.case-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
  padding: 9px 16px;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-tech);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.case-body {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(20px, 3vw, 32px);
}
@media (max-width: 880px) { .case-body { grid-template-columns: minmax(0, 1fr); } }
.case h3 { font-weight: 400; font-size: var(--fs-2); line-height: 1.2; text-wrap: balance; margin: 0 0 14px; }
.case-text p { margin: 0 0 12px; max-width: 62ch; }
.case-text p:last-child { margin-bottom: 0; }
.case-side { display: grid; gap: 22px; align-content: start; min-width: 0; }
.fig { margin: 0; display: grid; gap: 10px; min-width: 0; }
.fig-note { margin: 0; font-family: var(--font-tech); font-size: 0.8125rem; line-height: 1.45; color: var(--ink-soft); }
.liner { display: block; width: 100%; max-width: 420px; height: auto; }
.liner .ly-out { fill: none; stroke: var(--ink); stroke-width: 1; }
.liner .ly-waste { fill: var(--concrete); }
.liner .ly-geo { fill: var(--sheet); stroke: var(--ink); stroke-width: 0.6; }
.liner .ly-sand { fill: var(--s-sand); }
.liner .ly-hdpe { fill: var(--ink); }
.liner .ly-clay { fill: var(--s-clay); }
.liner .ly-ground { fill: var(--s-fill); }
.liner .lead { fill: none; stroke: var(--ink-soft); stroke-width: 0.8; }
.liner text { font-family: var(--font-tech); font-size: 12px; fill: var(--ink); }
.bars { display: grid; gap: 14px; }
.bar-row { display: grid; gap: 6px; }
.bar-top { display: flex; justify-content: space-between; gap: 12px; font-family: var(--font-tech); font-size: 0.875rem; color: var(--ink-soft); }
.bar-top b { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.bar-track { display: block; border-left: 1.5px solid var(--ink-soft); }
.bar-fill { display: block; height: 14px; border-radius: 0 4px 4px 0; background: var(--ochre); }
.bar-fill.is-plan { background: repeating-linear-gradient(135deg, var(--ochre) 0 2px, transparent 2px 6px); box-shadow: inset 0 0 0 1.5px var(--ochre); }
.facts { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); border-top: 2px solid var(--ink); }
.facts dt, .facts dd { padding: 8px 0; border-bottom: 1px solid var(--rule); }
.facts dt {
  font-family: var(--font-tech);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-right: 16px;
  padding-top: 11px;
}
.facts dd { margin: 0; font-family: var(--font-tech); font-size: 0.9375rem; line-height: 1.4; font-variant-numeric: tabular-nums; }
.works { margin-top: clamp(40px, 5vw, 64px); display: grid; gap: 14px; }
.works-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 4vw, 56px); }
@media (max-width: 760px) { .works-list { grid-template-columns: minmax(0, 1fr); } }
.work { border-top: 1px solid var(--rule); padding: 18px 0 22px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.work-meta { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-family: var(--font-tech); font-size: 0.8125rem; color: var(--ink-soft); }
.work-meta .yr { font-weight: 600; color: var(--brand); font-variant-numeric: tabular-nums; }
.work h3 { font-weight: 400; font-size: 1.25rem; line-height: 1.25; text-wrap: balance; margin: 0; }
.work .desc { margin: 0; line-height: 1.55; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 880px) { .contact { grid-template-columns: minmax(0, 1fr); } }
.cartus { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--ink-soft); border: 2px solid var(--ink); }
.cell { background: var(--sheet); padding: 10px 14px 13px; display: grid; gap: 4px; align-content: start; min-width: 0; }
.cell.wide { grid-column: 1 / -1; }
.cell .k {
  font-family: var(--font-tech);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.cell .v { font-family: var(--font-tech); font-size: 1.0625rem; line-height: 1.35; overflow-wrap: anywhere; }
.cell .v.big { font-size: 1.375rem; font-weight: 600; line-height: 1.25; }
.cell.head { background: var(--brand); }
.cell.head .k { color: var(--on-brand); opacity: 0.8; }
.cell.head .v { color: var(--on-brand); }
.cell .row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.cell a { text-decoration: none; }
.cell a:hover { text-decoration: underline; text-underline-offset: 3px; }
.copy {
  font: 500 0.75rem/1 var(--font-tech);
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 5px 8px;
  cursor: pointer;
}
.copy:hover { color: var(--ink); border-color: var(--ink-soft); }
.copy.ok { color: var(--brand); border-color: var(--brand); }
@media (max-width: 560px) { .cartus { grid-template-columns: minmax(0, 1fr); } }
.contact-notes { display: grid; gap: 14px; }
.contact-notes p { margin: 0; }
.contact-notes .muted { color: var(--ink-soft); font-size: 0.9375rem; }

/* Subsol: straturile din schemă închid pagina */
.strata { display: grid; grid-template-rows: 4px 11px 7px 7px; }
.strata span:nth-child(1) { background: var(--s-fill); }
.strata span:nth-child(2) { background: repeating-linear-gradient(90deg, var(--hatch) 0 1px, transparent 1px 8px), var(--s-loess); }
.strata span:nth-child(3) { background: var(--s-clay); }
.strata span:nth-child(4) { background: var(--s-sand); }
.foot { padding-block: 26px 34px; }
.foot .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  font-family: var(--font-tech);
  font-size: 0.8125rem;
  color: var(--ink-soft);
}

/* ===== Pagini de lucrare ===== */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; margin: 0 0 18px; font-family: var(--font-tech); font-size: 0.875rem; color: var(--ink-soft); }
.crumbs a { color: var(--brand); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.crumbs .sep { color: var(--rule); }

.p-hero { padding-block: clamp(28px, 5vw, 56px) clamp(32px, 5vw, 56px); }
.p-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .p-hero-grid { grid-template-columns: minmax(0, 1fr); } }
.p-hero h1 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); margin: 12px 0 18px; }
.p-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip { font-family: var(--font-tech); font-size: 0.8125rem; font-weight: 500; color: var(--ink); border: 1px solid var(--rule); background: var(--sheet); border-radius: 2px; padding: 4px 9px; font-variant-numeric: tabular-nums; }
.chip.is-brand { border-color: var(--brand); color: var(--brand); background: var(--brand-wash); }

.cover { margin: 0; background: var(--sheet); border: 1px solid var(--rule); min-width: 0; }
.cover button { display: block; width: 100%; padding: 0; border: 0; background: var(--concrete); cursor: zoom-in; }
.cover img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.cover figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--rule); font-family: var(--font-tech); font-size: 0.8125rem; line-height: 1.45; color: var(--ink-soft); }
.cover figcaption b { font-weight: 600; color: var(--ink); white-space: nowrap; }

.p-facts { padding-block: 0 clamp(36px, 5vw, 56px); }
.p-facts .facts { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); border-top: 2px solid var(--ink); }
.p-facts .fact { display: grid; gap: 4px; align-content: start; padding: 12px 16px 14px 0; border-bottom: 1px solid var(--rule); min-width: 0; }
.p-facts .fact dt, .p-facts .fact dd { padding: 0; border: 0; }
.p-facts .fact dd { font-size: 1rem; }

.p-body { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .p-body { grid-template-columns: minmax(0, 1fr); } }
.p-text { display: grid; gap: clamp(28px, 4vw, 40px); min-width: 0; }
.p-sec { display: grid; gap: 12px; }
.p-sec h2 { font-size: var(--fs-2); line-height: 1.2; }
.p-sec p { margin: 0; max-width: 64ch; }
.p-sec ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; max-width: 64ch; }
.p-sec li { position: relative; padding-left: 20px; line-height: 1.5; }
.p-sec li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 10px; height: 2px; background: var(--ochre); }

.p-aside { display: grid; gap: 24px; align-content: start; min-width: 0; }
@media (min-width: 901px) { .p-aside { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 84px); } }
.panel { background: var(--sheet); border: 1px solid var(--rule); }
.panel-head { padding: 9px 16px; border-bottom: 1px solid var(--rule); font-family: var(--font-tech); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.tl { list-style: none; margin: 0; padding: 6px 16px 14px; }
.tl li { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); column-gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--rule); position: relative; }
.tl li:last-child { border-bottom: 0; }
.tl .when { font-family: var(--font-tech); font-weight: 600; font-size: 0.875rem; line-height: 1.5; color: var(--brand); font-variant-numeric: tabular-nums; }
.tl .what { font-size: 0.9375rem; line-height: 1.45; }
@media (max-width: 420px) { .tl li { grid-template-columns: minmax(0, 1fr); } }
.panel-note { margin: 0; padding: 14px 16px 16px; font-size: 0.9375rem; line-height: 1.5; color: var(--ink-soft); }

/* Galerie */
.gallery { padding-block: clamp(44px, 6vw, 80px); }
.thumbs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.thumbs li { min-width: 0; }
.thumb { display: grid; gap: 0; width: 100%; padding: 0; text-align: left; font: inherit; color: inherit; background: var(--sheet); border: 1px solid var(--rule); cursor: zoom-in; }
.thumb:hover { border-color: var(--ink-soft); }
.thumb img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--concrete); }
.thumb span { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: 6px; padding: 9px 12px 11px; font-family: var(--font-tech); font-size: 0.8125rem; line-height: 1.4; color: var(--ink-soft); }
.thumb span b { font-weight: 600; color: var(--brand); font-variant-numeric: tabular-nums; }
.source { margin: 16px 0 0; font-family: var(--font-tech); font-size: 0.8125rem; color: var(--ink-soft); max-width: 70ch; }

/* Vizualizator */
.viewer { border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: 100vw; max-height: 100dvh; background: rgba(10, 16, 26, 0.97); color: #E6ECF6; }
.viewer-inner { max-width: 1200px; margin-inline: auto; }
.viewer::backdrop { background: rgba(10, 16, 26, 0.92); }
.viewer-inner { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: min(100dvh, 920px); padding: env(safe-area-inset-top, 0px) 16px env(safe-area-inset-bottom, 0px); }
.viewer-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 10px; font-family: var(--font-tech); font-size: 0.875rem; color: #C9D3E4; font-variant-numeric: tabular-nums; }
.viewer-stage { position: relative; display: grid; place-items: center; min-height: 0; overflow: hidden; touch-action: pan-y; }
.viewer-stage img { width: auto; height: auto; max-width: calc(100% - 8px); max-height: calc(min(100dvh, 920px) - 150px); object-fit: contain; display: block; }
.viewer-cap { padding-block: 12px 16px; font-family: var(--font-tech); font-size: 0.9375rem; line-height: 1.45; color: #E6ECF6; max-width: 80ch; }
.vbtn { font: 600 0.875rem/1 var(--font-tech); color: #EEF2F9; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 2px; padding: 9px 13px; cursor: pointer; }
.vbtn:hover { background: rgba(255, 255, 255, 0.16); }
.vnav { position: absolute; top: 50%; transform: translateY(-50%); min-width: 44px; min-height: 44px; font-size: 1.25rem; }
.vnav.prev { left: 0; }
.vnav.next { right: 0; }

/* Navigare între lucrări */
.pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 640px) { .pager { grid-template-columns: minmax(0, 1fr); } }
.pager a { display: grid; gap: 4px; padding: 16px 18px; background: var(--sheet); border: 1px solid var(--rule); text-decoration: none; min-width: 0; }
.pager a:hover { border-color: var(--brand); }
.pager a.next { text-align: right; }
.pager .k { font-family: var(--font-tech); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.pager .t { font-size: 1.125rem; line-height: 1.3; text-wrap: balance; }
.back-all { margin-top: 18px; font-family: var(--font-tech); }
.back-all a { color: var(--brand); text-underline-offset: 4px; }
.cta-band { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 28px; }
.cta-band p { margin: 0; max-width: 46ch; color: var(--band-ink); font-size: var(--fs-1); line-height: 1.45; }
.cta-band .call { background: var(--band-mark); color: #1A2233; }
