/* site-urile au culorile lor: browserele cu "dark mode fortat" (Chrome, Samsung, extensii) NU le inverseaza */
:root { color-scheme: only light; }
/* ==========================================================================
   KIT · core.css — mecanica comuna a tuturor site-urilor (NU aspectul).
   Aspectul vine din clienti/<c>/theme.css, care se lipeste DUPA acest fisier.
   Tokenuri pe care theme.css trebuie sa le defineasca in :root:
     --bg --ink --ink-soft --accent --accent-ink (text pe accent) --line --card
     --f-d (titluri) --f-b (text) --r (colturi) --nav-h
   Lectii iOS incluse: --vh masurat o data, blocare cu position:fixed, benzi prin transform.
   ========================================================================== */
:root {
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --pad: 20px; --wrap: 1240px; --vh: 100vh; --nav-h: 68px; --r: 16px;
}
@media (min-width: 700px) { :root { --pad: 32px; } }
@media (min-width: 1100px) { :root { --pad: 48px; } }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 20px); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-b, system-ui); font-size: 16.5px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
body.is-locked { position: fixed; left: 0; right: 0; overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.ico { display: inline-flex; width: 1.15em; height: 1.15em; flex: 0 0 auto; }
.ico svg { width: 100%; height: 100%; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); position: relative; z-index: 1; }
section { position: relative; padding-block: 88px; }
@media (min-width: 900px) { section { padding-block: 128px; } }
.skip { position: absolute; left: 12px; top: -60px; z-index: 120; padding: 10px 16px; background: var(--ink); color: var(--bg); transition: top 200ms var(--ease-out); }
.skip:focus { top: -60px; }
.skip:focus-visible { top: calc(var(--nav-h) + 10px); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* poze: culoarea medie tine locul pana se incarca */
.pic { position: relative; overflow: hidden; border-radius: var(--r); isolation: isolate; }
.pic img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 320ms var(--ease-out); }
.pic img.is-loaded, .no-js .pic img { opacity: 1; }

/* titluri care urca din spatele unei masti */
.lines > span { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.lines > span > i { display: block; font-style: normal; }
.gsap-on .lines > span > i { transform: translate3d(0, 105%, 0); }
.gsap-on .rise:not(.is-in) { opacity: 0; transform: translateY(26px); }

/* ---------- meniu pe tot ecranul (aspectul in tema) ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 96; }
.menu { position: fixed; inset: 0; z-index: 90; visibility: hidden; opacity: 0; transition: opacity 260ms var(--ease-out), visibility 0s 260ms; }
.menu.is-open { visibility: visible; opacity: 1; transition: opacity 300ms var(--ease-out); }
.menu-inner { height: 100%; overflow-y: auto; padding: calc(var(--nav-h) + 40px) var(--pad) 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 36px; }
.menu-nav { display: flex; flex-direction: column; }
.menu-nav a { opacity: 0; transform: translateY(24px); transition: opacity 320ms var(--ease-out), transform 400ms var(--ease-out); }
.menu.is-open .menu-nav a { opacity: 1; transform: none; }
.menu.is-open .menu-nav a:nth-child(2) { transition-delay: 40ms; } .menu.is-open .menu-nav a:nth-child(3) { transition-delay: 80ms; }
.menu.is-open .menu-nav a:nth-child(4) { transition-delay: 120ms; } .menu.is-open .menu-nav a:nth-child(5) { transition-delay: 160ms; }
.menu.is-open .menu-nav a:nth-child(6) { transition-delay: 200ms; }
.burger { position: relative; width: 46px; height: 46px; flex: 0 0 auto; }
.burger span { position: absolute; left: 13px; right: 13px; top: 50%; height: 2px; margin-top: -1px; background: currentColor; transition: transform 320ms var(--ease-in-out); }
.burger span:nth-child(1) { transform: translateY(-5px); } .burger span:nth-child(2) { transform: translateY(5px); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); } .burger[aria-expanded="true"] span:nth-child(2) { transform: rotate(-45deg); }
@media (min-width: 1000px) { .burger { display: none; } }

/* ---------- bara de jos pe telefon ---------- */
.cta-jos { position: fixed; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); z-index: 94; display: flex; gap: 6px; padding: 6px; transform: translateY(140%); transition: transform 460ms var(--ease-drawer); }
.cta-jos.se-vede { transform: none; }
.cta-jos > * { flex: 1; justify-content: center; }
@media (min-width: 1000px) { .cta-jos { display: none; } }

/* ---------- fereastra: foaie de jos pe telefon, dialog pe desktop ---------- */
.modal { position: fixed; inset: 0; z-index: 100; visibility: hidden; transition: visibility 0s 280ms; }
.modal.is-open { visibility: visible; transition: none; }
.modal-scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.55); opacity: 0; transition: opacity 400ms var(--ease-out); }
.modal.is-open .modal-scrim { opacity: 1; }
.modal-panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 92%; overflow-y: auto; overscroll-behavior: contain; background: var(--bg); border-radius: calc(var(--r) + 10px) calc(var(--r) + 10px) 0 0; padding: 8px 8px calc(24px + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform 500ms var(--ease-drawer); }
.modal.is-open .modal-panel { transform: none; }
.modal:not(.is-open) .modal-panel { transition-duration: 260ms; transition-timing-function: var(--ease-out); }
.modal:not(.is-open) .modal-scrim { transition-duration: 220ms; }
.modal-panel::before { content: ''; display: block; width: 44px; height: 5px; border-radius: 9px; background: var(--line); margin: 6px auto 10px; }
@media (min-width: 900px) {
  .modal-panel { left: 50%; top: 50%; right: auto; bottom: auto; width: min(1000px, calc(100% - 64px)); max-height: calc(100% - 64px); border-radius: var(--r); padding: 8px; transform: translate(-50%, -46%) scale(0.97); opacity: 0; transition: transform 420ms var(--ease-out), opacity 300ms var(--ease-out); }
  .modal.is-open .modal-panel { transform: translate(-50%, -50%); opacity: 1; }
  .modal-panel::before { display: none; }
}
.modal-close { position: absolute; right: 16px; top: 16px; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; border-radius: calc(var(--r) / 2); background: var(--ink); color: var(--bg); transition: transform 160ms var(--ease-out); }
.modal-close:active { transform: scale(0.94); }
.modal-grid { display: grid; gap: 8px; }
@media (min-width: 900px) { .modal-grid { grid-template-columns: 0.95fr 1.05fr; } }
.modal-media .pic { aspect-ratio: 16 / 11; }
@media (min-width: 900px) { .modal-media .pic { aspect-ratio: auto; height: 100%; min-height: 480px; } }
.modal-body { padding: 18px 16px 8px; }
@media (min-width: 900px) { .modal-body { padding: 40px 32px 30px; } }
.modal-body h3 { margin: 0; padding-right: 48px; }
.puncte { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.puncte li { display: flex; gap: 10px; align-items: flex-start; }
.puncte .ico { color: var(--accent); margin-top: 3px; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

/* ---------- banda care curge (data-banda) ---------- */
.banda { overflow: hidden; touch-action: pan-y; cursor: grab; }
.banda.se-trage { cursor: grabbing; }
.banda-sina { display: flex; gap: 10px; width: max-content; will-change: transform; }
.banda-sina > * { flex: 0 0 auto; user-select: none; }
.tehnici { overflow: hidden; position: relative; z-index: 1; }
.tehnici-sina { display: flex; width: max-content; will-change: transform; }
.tehnici-grup { display: flex; align-items: center; gap: 30px; padding-right: 30px; white-space: nowrap; }

/* ---------- pista orizontala (data-pista-track) ---------- */
.pista { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 30px var(--pad) 8px; margin-inline: calc(var(--pad) * -1); scrollbar-width: none; overscroll-behavior-x: contain; }
.pista::-webkit-scrollbar { display: none; }
.pista > * { flex: 0 0 auto; scroll-snap-align: start; }
.pista-bar { height: 2px; margin-top: 24px; background: var(--line); overflow: hidden; }
.pista-bar i { display: block; height: 100%; background: var(--accent); }

/* carusel (recenzii, poze): structura comuna; aspectul vine din theme.css */
.carusel { position: relative; }
.carusel-jos { display: flex; align-items: center; gap: 18px; margin-top: 14px; }
.carusel-jos .pista-bar { flex: 1; margin-top: 0; }
.carusel-nav { display: flex; gap: 8px; flex: 0 0 auto; }
.car-b { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); background: none; color: inherit; cursor: pointer; transition: background-color 240ms ease, color 240ms ease, border-color 240ms ease; }
.car-b:active { transform: scale(0.96); }
.carusel .pista { padding-top: 0; padding-bottom: 4px; }
.carusel .pista > * { scroll-snap-align: center; }
.rec-c blockquote { margin: 0; }
.rec-c figcaption span { display: block; margin-top: 4px; opacity: 0.7; }

/* ---------- comparatie antes/despues (data-comp) ---------- */
.comp-stage { position: relative; overflow: hidden; border-radius: var(--r); touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none; }
.comp-stage .pic { border-radius: 0; aspect-ratio: 1 / 1; }
.comp-stage .pic img { pointer-events: none; object-position: 50% 32%; }
.comp-dupa { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--x, 50%)); }
.comp-dupa .pic { height: 100%; }
.comp-linie { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 2px; margin-left: -1px; background: var(--accent); pointer-events: none; }
.comp-maner { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--accent); color: var(--accent-ink, #fff); pointer-events: none; }
.comp-eti { position: absolute; top: 12px; z-index: 2; padding: 5px 11px; font-size: 12px; font-weight: 600; background: rgba(255, 255, 255, 0.9); color: #111; pointer-events: none; }
.comp-eti.st { left: 12px; } .comp-eti.dr { right: 12px; background: var(--accent); color: var(--accent-ink, #fff); }

/* ---------- usi care se deschid (data-usi) ---------- */
.usi { height: calc(var(--vh) * 2); padding: 0; }
.usi-stage { position: sticky; top: 0; height: var(--vh); overflow: hidden; }
.usi-fond, .usi-fond .pic { position: absolute; inset: 0; border-radius: 0; }
.usa { position: absolute; top: 0; bottom: 0; width: 50%; z-index: 3; overflow: hidden; }
.usa.st { left: 0; } .usa.dr { right: 0; }
.usa .pic { position: absolute; inset: 0; border-radius: 0; }
.usi-text { position: absolute; left: 0; right: 0; bottom: 8%; z-index: 2; text-align: center; padding-inline: var(--pad); }
.no-js .usa, .no-motion .usa { display: none; }
.no-js .usi, .no-motion .usi { height: var(--vh); }

/* ---------- carduri lipite care se suprapun (data-stack, doar ecran lat) ---------- */
@media (min-width: 900px) and (min-height: 760px) { [data-stack] > * { position: sticky; top: calc(var(--nav-h) + 40px); transform-origin: 50% 0; } }

/* ---------- galerie cu filtre ---------- */
.masonry { columns: 2; column-gap: 10px; }
@media (min-width: 800px) { .masonry { columns: 3; column-gap: 14px; } }
@media (min-width: 1180px) { .masonry { columns: 4; } }
.masonry figure { margin: 0 0 10px; break-inside: avoid; }
/* galeria: fara animatie de intrare (vezi core.js) */
@media (min-width: 800px) { .masonry figure { margin-bottom: 14px; } }
.masonry figure[hidden] { display: none; }
.filtre { display: flex; gap: 8px; overflow-x: auto; margin: 0 calc(var(--pad) * -1); padding: 4px var(--pad) 12px; scrollbar-width: none; }
.filtre::-webkit-scrollbar { display: none; }
.filtre button { flex: 0 0 auto; }

/* ---------- intrebari ---------- */
.q summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; }
.q summary::-webkit-details-marker { display: none; }
.q .plus { display: grid; place-items: center; flex: 0 0 auto; transition: transform 280ms var(--ease-out); }
.q[open] .plus { transform: rotate(45deg); }
.q-body { overflow: hidden; }

/* ---------- formular ---------- */
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 7px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--card, #fff); border: 0; border-radius: calc(var(--r) / 2); padding: 14px 16px; box-shadow: inset 0 0 0 1.5px var(--line); }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--accent); }
.field[data-error] input { box-shadow: inset 0 0 0 2px #C0182B; }
.field .err { font-size: 13.5px; color: #B0122A; }

/* program: ziua de azi */
.orar { list-style: none; margin: 0; padding: 0; }
.orar li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.orar li:last-child { border-bottom: 0; }

/* intro si trecerea intre pagini */
/* intro: DEPASESTE ecranul cu 15vh sus si jos (100lvh singur n-a ajuns in browserul userului, jos
   tot ramanea o fasie). Ce iese din ecran nu se vede; centrul ramane la mijloc. Inainte: 100lvh, nu inset:0. Pe iPhone, cu bara Safari plutitoare
   (si in browserele din TikTok/Instagram), inset:0 se oprea deasupra barei si jos se vedea pagina. */
.intro { position: fixed; left: 0; right: 0; top: -15vh; height: 130vh; height: calc(100lvh + 30vh); z-index: 130; pointer-events: none; animation: kit-intro-plasa 0s 3.5s forwards; }
@keyframes kit-intro-plasa { to { visibility: hidden; opacity: 0; } }
/* .no-motion NU mai ascunde intro-ul: la reduced-motion el ruleaza ca simpla stingere
   de opacitate (vezi introSimplu in core.js). Fara JS ramane ascuns, ca sa nu acopere pagina. */
.no-js .intro { display: none; }
.tranzitie { position: fixed; left: 0; right: 0; top: -15vh; height: 130vh; height: calc(100lvh + 30vh); z-index: 95; /* SUB bara (96): bara sta pe loc la schimbarea paginii, nu clipeste */ pointer-events: none; opacity: 0; background: var(--bg); transition: opacity 240ms var(--ease-out); }
.tranzitie.se-vede { opacity: 1; }

/* comutatorul de limba din bara de sus (site in mai multe limbi) */
.limbi { display: flex; align-items: center; gap: 2px; flex: 0 0 auto; }
.limbi a { padding: 6px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; color: var(--ink-mute, #8a8a8a); transition: color 180ms ease, background-color 180ms ease; }
.limbi a[aria-current] { background: var(--ink, #111); color: var(--bg, #fff); }
@media (hover: hover) and (pointer: fine) { .limbi a:hover { color: var(--ink, #111); } }

/* datele firmei (imprint), cerute de directiva comertului electronic: pe fiecare pagina */
.imprint { background: var(--var, #f1f1f1); padding: 16px var(--pad) 18px; }
.imprint-t, .imprint-r { max-width: var(--wrap); margin-inline: auto; }
.imprint-t { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-mute, #888); margin-bottom: 8px; }
.imprint-r { display: flex; flex-wrap: wrap; gap: 3px 18px; font-size: 12.2px; line-height: 1.6; color: var(--ink-soft, #555); }
.imprint-r b { font-weight: 600; color: var(--ink, #111); }
.imprint-r a { text-decoration: underline; }
.priv-imprint { background: transparent; border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; margin-top: 14px; }

/* bara de cookies + pagina de confidentialitate (generate de kit pentru orice client) */
.cookie { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 120; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 16px; padding: 14px 16px; border-radius: var(--r); background: var(--panou, #fff); color: var(--ink, #111); border: 1px solid var(--line, rgba(0,0,0,.12)); box-shadow: 0 14px 44px rgba(0, 0, 0, 0.18); opacity: 0; transform: translateY(14px); transition: opacity 300ms ease, transform 300ms ease; }
.cookie.se-vede { opacity: 1; transform: none; }
.cookie p { flex: 1 1 230px; margin: 0; font-size: 13.2px; line-height: 1.5; }
.cookie p a { text-decoration: underline; }
.cookie button { flex: 0 0 auto; min-height: 42px; padding: 0 22px; border-radius: 999px; background: var(--ink, #111); color: var(--panou, #fff); font-size: 13px; font-weight: 600; }
.cookie button:active { transform: scale(0.97); }
@media (min-width: 760px) { .cookie { left: auto; right: 20px; bottom: 20px; max-width: 440px; } }

.priv { max-width: 74ch; }
.priv-titlu { font-size: clamp(1.9rem, 6vw, 3rem); }
.priv-lead { margin-top: 12px; color: var(--ink-soft); }
.priv-h { margin-top: 34px; font-size: clamp(1.05rem, 3.4vw, 1.35rem); }
.priv-p { margin-top: 10px; line-height: 1.68; color: var(--ink-soft); }
.priv-p a { color: var(--accent); text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .menu, .menu-nav a, .modal-panel, .modal-scrim, .cta-jos, .tranzitie { transition-duration: 160ms !important; transition-delay: 0s !important; }
  .menu-nav a { transform: none !important; }
  .modal-panel { transform: none !important; }
  @media (min-width: 900px) { .modal-panel { transform: translate(-50%, -50%) !important; } }
}

/* ---------- PIELI pentru banda (data-efect="..."). Mecanica ramane aceeasi; se schimba doar
   cum arata. Regula: la fiecare client alta piele (vezi PLAYBOOK, tabelul de design).
   adanc/arc/focus citesc --d (pozitia cardului fata de centru, -1..1) si --a (|d|, max 1),
   puse de core.js direct pe card.
   Doar transform + opacity; fara tranzitii, pentru ca valoarea se schimba deja la fiecare cadru. */
.banda-sina { position: relative; }
/* in orice piele, cardurile au acelasi raport si stau pe centru (altfel se intind dupa cea mai
   inalta poza si rama polaroid / filmul raman goale jos). Clientul poate schimba raportul in theme. */
[class*="banda--"] > .banda-sina { align-items: center; }
.banda--adanc .pic, .banda--arc .pic, .banda--focus .pic, .banda--polaroid .pic, .banda--film .pic { aspect-ratio: 4 / 5; }
.banda--adanc .banda-sina, .banda--arc .banda-sina { padding-block: 26px; }
/* adanc / arc / focus: transformarea o scrie core.js direct pe card (mai ieftin pe Safari decat
   variabile CSS schimbate la fiecare cadru). Aici doar originea pentru arc. */
.banda--arc .banda-sina > * { transform-origin: 50% 120%; }
.banda--arc .banda-sina { padding-block: 10px 56px; }

/* polaroid: rama alba, fiecare poza usor strambata, nu doua la fel */
.banda--polaroid .banda-sina { gap: 18px; padding-block: 18px 26px; }
.banda--polaroid .banda-sina > * { background: #fff; padding: 9px 9px 34px; border-radius: 3px; box-shadow: 0 10px 26px -12px rgba(0,0,0,.35); color: var(--ink); }
.banda--polaroid .banda-sina > *:nth-child(3n+1) { transform: rotate(-2.4deg); }
.banda--polaroid .banda-sina > *:nth-child(3n+2) { transform: rotate(1.6deg) translateY(8px); }
.banda--polaroid .banda-sina > *:nth-child(3n) { transform: rotate(-.8deg) translateY(-4px); }
.banda--polaroid .pic { border-radius: 1px; }

/* film: banda neagra cu perforatii sus si jos */
.banda--film { background: #111; padding-block: 22px; }
.banda--film .banda-sina { gap: 6px; }
.banda--film .banda-sina > * { border-radius: 2px; }
.banda--film::before, .banda--film::after {
  content: ""; position: absolute; left: 0; right: 0; height: 8px; z-index: 1; pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0 10px, rgba(255,255,255,.82) 10px 20px, transparent 20px 26px);
}
.banda--film { position: relative; }
.banda--film::before { top: 7px; } .banda--film::after { bottom: 7px; }

/* citat: recenzii fara carduri, text mare, despartite de o ghilimea mare */
.banda--citat .banda-sina { gap: 0; align-items: flex-start; }
.banda--citat .rec-c { background: none; box-shadow: none; border-radius: 0; padding: 0 34px; width: min(78vw, 460px); border-left: 1px solid var(--line, rgba(0,0,0,.12)); }
.banda--citat .rec-c blockquote { font-family: var(--f-d); font-size: clamp(1.25rem, 5vw, 1.7rem); line-height: 1.3; color: var(--ink); }
.banda--citat .rec-c blockquote::before { content: "\201C"; display: block; font-size: 3.2em; line-height: .6; color: var(--accent); }
.banda--citat .rec-stele { display: none; }



/* ===== tema halden-varga-demo ===== */
/* HALDEN VARGA ARCHITECTS · London + Lisbon. DEMO (brief + poze de la user, Drive).
   Identitate DATA in brief: minimal brutal, tipografie uriasa, mult aer, beton, negru, UN accent oxblood;
   grotesk mare (Hanken Grotesk) + mono pentru metadatele proiectelor (IBM Plex Mono).
   Nisa: birou de arhitectura = portofoliu (modul "Experience"): lucrarea conduce, interfata se retrage.
   Deschiderea: "sectiunea": poza hero se deschide dintr-o fanta orizontala (ca o taietura de plan),
   literele numelui urca din masca una cate una. Colturi 0 (brutal, cerut de brief).
   Oxblood apare DOAR la: patratul din marca, linkul activ, hover, cifra din FAQ-ul de premii. Nimic altceva. */
:root {
  --paper: #ECEBE7; --concrete: #D5D2CB; --concrete-2: #BFBBB2;
  --ink: #000; --ink-soft: #2E2D2B; --mute: #5F5D58;
  --ox: #5E1A17; --ox-hi: #7A231F;
  --bg: var(--paper); --accent: var(--ox);
  --line: rgba(0, 0, 0, .16); --line-tare: rgba(0, 0, 0, .5);
  --f-d: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif; --f-m: 'IBM Plex Mono', ui-monospace, monospace; --f-b: var(--f-d);
  --r: 0px; --nav-h: 60px;
  --ease-cut: cubic-bezier(0.76, 0, 0.24, 1); --ease-lin: cubic-bezier(0.16, 1, 0.3, 1);
}
html { background: var(--paper); }
body { font-family: var(--f-d); font-size: 16.5px; line-height: 1.55; background: var(--bg); color: var(--ink); font-feature-settings: "ss01"; }
a, button, summary { touch-action: manipulation; }
button { -webkit-tap-highlight-color: transparent; }
h1, h2, h3 { font-family: var(--f-d); font-weight: 800; letter-spacing: -0.045em; line-height: .88; margin: 0; }
h2 { font-size: clamp(2.6rem, 10vw, 7rem); }
h3 { font-size: clamp(1.6rem, 5vw, 2.4rem); letter-spacing: -0.03em; line-height: .95; }
p { margin: 0; }
.m { font-family: var(--f-m); font-size: 12.5px; line-height: 1.5; letter-spacing: 0; font-weight: 400; }
section { padding-block: 96px; }
@media (min-width: 900px) { section { padding-block: 176px; } }
.lead { font-size: clamp(1.25rem, 3.4vw, 2rem); line-height: 1.22; letter-spacing: -0.02em; font-weight: 500; max-width: 28ch; }
.txt { color: var(--ink-soft); max-width: 58ch; }
.txt + .txt { margin-top: 14px; }
.lnk { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; font-size: 16px; border-bottom: 2px solid var(--ink); transition: color 200ms ease, border-color 200ms ease; }
.lnk svg { width: 17px; height: 17px; transition: transform 300ms var(--ease-lin); }
@media (hover: hover) and (pointer: fine) { .lnk:hover { color: var(--ox); border-color: var(--ox); } .lnk:hover svg { transform: translateX(4px); } }
.lnk:active { opacity: .7; }
/* grila de 12 pe desktop, cu gutiere mari */
.g12 { display: grid; gap: 28px; }
@media (min-width: 900px) { .g12 { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; } }

/* ===== bara de sus ===== */
.nav { background: var(--paper); box-shadow: 0 1px 0 var(--line); }
.nav-inner { display: flex; align-items: center; gap: 18px; height: var(--nav-h); padding-inline: var(--pad); }
.marca { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; font-weight: 800; font-size: 17px; letter-spacing: -0.02em; padding: 10px 0; }
.marca i { width: 11px; height: 11px; background: var(--ox); flex: 0 0 auto; }
.ceas { display: none; }
.nav-links { display: none; gap: 26px; }
.nav-l { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; font-size: 15.5px; color: var(--ink); transition: color 180ms ease; }
.nav-l[aria-current] { color: var(--ox); }
@media (hover: hover) and (pointer: fine) { .nav-l:hover { color: var(--ox); } }
@media (min-width: 1000px) { .nav-links { display: flex; } .ceas { display: block; color: var(--mute); margin-right: 18px; } }
.burger { width: auto; height: 44px; font: 600 15px/1 var(--f-d); padding: 0 2px; }
.burger b { display: block; transition: opacity 160ms ease; }
.burger .b-c { position: absolute; right: 2px; top: 50%; margin-top: -8px; opacity: 0; }
.burger[aria-expanded="true"] .b-a { opacity: 0; } .burger[aria-expanded="true"] .b-c { opacity: 1; }
.menu { background: var(--ink); color: var(--paper); }
/* meniul deschis: bara devine neagra ca meniul (altfel o fasie deschisa peste meniul negru) */
.nav { transition: background-color 260ms ease, box-shadow 260ms ease, color 260ms ease; }
.nav:has(.burger[aria-expanded="true"]) { background: var(--ink); color: var(--paper); box-shadow: 0 1px 0 rgba(236,235,231,.18); }
.menu-nav a { display: flex; align-items: baseline; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid rgba(236,235,231,.18); }
.menu-t { font: 800 clamp(3rem, 16vw, 5rem)/1 var(--f-d); letter-spacing: -0.05em; }
.menu-nav a[aria-current] .menu-t { color: #C9837D; }
.menu-jos { display: grid; gap: 6px; color: rgba(236,235,231,.7); }
.menu-jos a { color: var(--paper); min-height: 44px; display: inline-flex; align-items: center; }

/* ===== HERO: numele urias + poza full-bleed ===== */
.hero { padding: var(--nav-h) 0 0; }
.hero-nume { padding: 18px var(--pad) 0; font-size: 32vw; line-height: .8; letter-spacing: -0.06em; font-weight: 800; }
.hero-nume .cuv { display: block; overflow: hidden; padding-bottom: .16em; margin-bottom: -.12em; white-space: nowrap; }
.hero-nume .l { display: inline-block; }
.hero-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 22px var(--pad) 18px; color: var(--ink-soft); }
.hero-meta b { display: block; font-weight: 500; color: var(--ink); }
.hero-foto { position: relative; height: calc(var(--vh) * .62); min-height: 380px; }
.hero-foto .pic { position: absolute; inset: 0; }
.hero-foto img { object-position: 45% 60%; }
.hero-foto figcaption { position: absolute; left: var(--pad); bottom: 14px; color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.5); }
@media (min-width: 900px) {
  .hero-nume { font-size: 17vw; padding-top: 28px; display: flex; justify-content: space-between; gap: 2vw; }
  .hero-meta { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-block: 30px 24px; }
  .hero-foto { height: calc(var(--vh) - var(--nav-h) - 17vw * .8 - 150px); min-height: 460px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-foto .pic { animation: hv-taie 1500ms var(--ease-cut) 250ms both; }
  .hero-foto img { animation: hv-zoom 2200ms var(--ease-lin) 250ms both; }
  .hero-nume .l { animation: hv-l 900ms var(--ease-lin) both; animation-delay: calc(var(--i) * 45ms); }
  .hero-meta > * { animation: hv-fade 700ms ease-out both; animation-delay: calc(900ms + var(--i) * 80ms); }
  .hero-foto figcaption { animation: hv-fade 700ms ease-out 1500ms both; }
}
@media (prefers-reduced-motion: reduce) { .hero-foto .pic { animation: hv-fade 500ms ease-out both; } }
@keyframes hv-taie { from { clip-path: inset(49.5% 0 49.5% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes hv-zoom { from { transform: scale(1.12); } to { transform: none; } }
@keyframes hv-l { from { transform: translate3d(0, 102%, 0); } to { transform: none; } }
@keyframes hv-fade { from { opacity: 0; } to { opacity: 1; } }

/* ===== declaratia / abordarea ===== */
.decl .lead { font-size: clamp(1.7rem, 5.4vw, 3.6rem); line-height: 1.08; letter-spacing: -0.035em; max-width: 22ch; }
.decl-col { color: var(--mute); }
@media (min-width: 900px) { .decl-col { grid-column: 1 / 4; padding-top: 12px; } .decl-main { grid-column: 4 / 13; } }
.principii { list-style: none; margin: 56px 0 0; padding: 0; display: grid; gap: 0; }
.principii li { display: grid; gap: 8px; padding: 22px 0; border-top: 1px solid var(--line-tare); }
.principii b { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; }
.principii p { color: var(--ink-soft); max-width: 46ch; }
@media (min-width: 900px) { .principii { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }

/* ===== proiectele selectate ===== */
.work-cap { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 48px; }
.proiecte { display: grid; gap: 80px; }
.pr { display: grid; gap: 16px; color: var(--ink); }
.pr-media { position: relative; overflow: hidden; background: var(--concrete); }
.pr-media .pic { aspect-ratio: 4 / 3; }
.pr-media .pic + .pic { position: absolute; inset: 0; opacity: 0; transition: opacity 600ms ease; }
@media (hover: hover) and (pointer: fine) { .pr:hover .pr-media .pic + .pic { opacity: 1; } }
.pr h3 { font-size: clamp(2.2rem, 8.6vw, 5.2rem); letter-spacing: -0.05em; line-height: .86; transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .pr:hover h3 { color: var(--ox); } }
.pr:active { opacity: .8; }
.pr-meta { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); justify-content: start; gap: 4px 28px; padding-top: 10px; border-top: 1px solid var(--line-tare); color: var(--ink-soft); }
.pr-meta span { display: grid; }
.pr-meta small { font-size: 11px; color: var(--mute); }
@media (min-width: 900px) {
  .proiecte { gap: 160px; }
  .pr { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; }
  .pr-media { grid-column: 1 / 9; }
  .pr-media .pic { aspect-ratio: 16 / 10; }
  .pr-txt { grid-column: 9 / 13; display: grid; gap: 18px; }
  .pr:nth-child(even) .pr-media { grid-column: 5 / 13; order: 2; }
  .pr:nth-child(even) .pr-txt { grid-column: 1 / 5; }
  .pr:nth-child(3) .pr-media { grid-column: 2 / 10; }
}

/* ===== materialele: banda de film (pielea "film" din kit) ===== */
.mat { padding-block: 0 96px; }
@media (min-width: 900px) { .mat { padding-bottom: 176px; } }
.mat-cap { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 24px; }
.banda--film .banda-sina > figure { margin: 0; width: min(62vw, 300px); }
.banda--film figcaption { color: rgba(255,255,255,.8); padding: 10px 2px 2px; }

/* ===== cifre ===== */
.cifre { border-top: 1px solid var(--line-tare); }
.cifre ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cifre li { padding: 26px 0 30px; border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.cifre li:nth-child(odd) { padding-right: 14px; border-right: 1px solid var(--line); }
.cifre li:nth-child(even) { padding-left: 14px; }
.cifre b { font-size: clamp(3.8rem, 17vw, 9rem); font-weight: 800; letter-spacing: -0.06em; line-height: .8; font-variant-numeric: tabular-nums; }
.cifre span.m { color: var(--mute); }
@media (min-width: 900px) { .cifre ul { grid-template-columns: repeat(4, minmax(0, 1fr)); } .cifre li { padding: 36px 24px 40px; border-right: 1px solid var(--line); border-bottom: 0; } .cifre li:first-child { padding-left: 0; } .cifre li:last-child { border-right: 0; } .cifre li:nth-child(even) { padding-left: 24px; } }

/* ===== parteneri ===== */
.part-grid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--pad) * -1); padding: 0 var(--pad) 6px; scrollbar-width: none; }
.part-grid::-webkit-scrollbar { display: none; }
.part { flex: 0 0 68vw; scroll-snap-align: start; }
.part .pic { aspect-ratio: 3 / 4; background: var(--concrete); }
.part img { filter: grayscale(1) contrast(1.04); }
.part h3 { margin-top: 16px; font-size: clamp(1.5rem, 5.4vw, 2.1rem); }
.part .m { color: var(--mute); margin-top: 6px; }
.part p.txt { margin-top: 10px; font-size: 15px; }
@media (min-width: 900px) { .part-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; overflow: visible; margin: 0; padding: 0; } .part { flex: none; } .part:nth-child(2) { margin-top: 96px; } }

/* ===== premii si presa ===== */
.premii { border-top: 1px solid var(--line-tare); margin-top: 40px; }
.premii li { list-style: none; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 2px 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.premii .an { color: var(--ox); }
.premii b { font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; }
.premii .pro { grid-column: 2; color: var(--mute); }
.premii ul { margin: 0; padding: 0; }
@media (min-width: 900px) { .premii li { grid-template-columns: 120px minmax(0, 1fr) 280px; align-items: baseline; padding: 20px 0; } .premii .pro { grid-column: auto; text-align: right; } }

/* ===== contact (bloc negru) ===== */
.contact { background: var(--ink); color: var(--paper); }
.contact h2 { color: var(--paper); font-size: clamp(3rem, 14vw, 10rem); }
.mail { display: inline-block; margin-top: 30px; font-size: clamp(1.4rem, 5.6vw, 3.4rem); font-weight: 700; letter-spacing: -0.035em; border-bottom: 3px solid var(--paper); padding-bottom: 4px; transition: color 200ms ease, border-color 200ms ease; word-break: break-word; }
@media (hover: hover) and (pointer: fine) { .mail:hover { color: #D9A09A; border-color: #D9A09A; } }
.birouri { display: grid; gap: 30px; margin-top: 64px; padding-top: 22px; border-top: 1px solid rgba(236,235,231,.25); }
.birou h3 { font-size: 1.6rem; color: var(--paper); }
.birou .m { color: rgba(236,235,231,.72); margin-top: 10px; }
.birou a { color: var(--paper); display: inline-flex; min-height: 44px; align-items: center; border-bottom: 1px solid rgba(236,235,231,.4); }
@media (min-width: 900px) { .birouri { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }

/* ===== pagini interioare ===== */
.p-cap { padding: calc(var(--nav-h) + 48px) 0 40px; }
.p-cap h1 { font-size: clamp(3.4rem, 17vw, 13rem); letter-spacing: -0.06em; line-height: .82; }
.p-cap .lead { margin-top: 26px; }
.bleed .pic { aspect-ratio: 3 / 2; }
@media (min-width: 900px) { .bleed .pic { aspect-ratio: 21 / 9; } }
.studio-foto { padding: 0; }

/* studiul de caz */
.cs-cap { padding: calc(var(--nav-h) + 40px) 0 30px; }
.cs-cap h1 { font-size: clamp(3.2rem, 15vw, 12rem); letter-spacing: -0.06em; line-height: .84; }
.cs-tip { color: var(--mute); margin-bottom: 18px; }
.fisa { margin: 34px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-tare); }
.fisa div { padding: 12px 12px 14px 0; border-bottom: 1px solid var(--line); }
.fisa dt { color: var(--mute); font-size: 11.5px; }
.fisa dd { margin: 4px 0 0; font-size: 15px; font-weight: 500; }
@media (min-width: 900px) { .fisa { grid-template-columns: repeat(6, minmax(0, 1fr)); } .fisa div { padding-right: 20px; } }
.cs-txt { display: grid; gap: 40px; }
.cs-bloc { display: grid; gap: 10px; }
.cs-bloc > .m { color: var(--ox); }
@media (min-width: 900px) { .cs-bloc { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; } .cs-bloc > .m { grid-column: 1 / 4; padding-top: 6px; } .cs-bloc > div { grid-column: 4 / 11; } }
.cs-bloc .lead { max-width: 30ch; }
.cs-poze { display: grid; gap: 12px; }
.cs-poze figure { margin: 0; }
.cs-poze figcaption { margin-top: 8px; color: var(--mute); }
.cs-poze .pic { aspect-ratio: 4 / 3; }
@media (min-width: 900px) { .cs-poze { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; } .cs-poze figure:nth-child(1) { grid-column: 1 / 8; } .cs-poze figure:nth-child(2) { grid-column: 8 / 13; } .cs-poze figure:nth-child(2) .pic { aspect-ratio: 3 / 4; } }
.materiale { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-tare); }
.materiale li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.materiale span.m { color: var(--mute); }
.urmator { display: block; padding-block: 72px 96px; border-top: 1px solid var(--line-tare); color: var(--ink); }
.urmator .m { color: var(--mute); }
.urmator b { display: block; margin-top: 12px; font-size: clamp(3rem, 14vw, 11rem); font-weight: 800; letter-spacing: -0.06em; line-height: .84; transition: color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .urmator:hover b { color: var(--ox); } }
.urmator:active b { color: var(--ox); }

/* ===== subsol ===== */
.foot { background: var(--ink); color: rgba(236,235,231,.66); padding: 0 0 28px; }
.foot-rand { display: grid; gap: 6px; padding-top: 24px; border-top: 1px solid rgba(236,235,231,.18); }
.foot-rand a { color: var(--paper); min-height: 44px; display: inline-flex; align-items: center; }
@media (min-width: 900px) { .foot-rand { grid-template-columns: repeat(4, minmax(0, auto)); justify-content: space-between; align-items: center; } }
.foot-mic { margin-top: 14px; color: rgba(236,235,231,.5); }
/* bara de jos pe telefon: un singur buton lat, negru, drept */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 22px; background: var(--ink); color: var(--paper); font-weight: 600; font-size: 16px; transition: background-color 200ms ease, transform 140ms var(--ease-out); }
.btn .btn-ico svg { width: 17px; height: 17px; }
@media (hover: hover) and (pointer: fine) { .btn:hover { background: var(--ox); } }
.btn:active { transform: scale(.98); }
.cta-jos { padding: 0; }
.cta-jos .btn { width: 100%; box-shadow: 0 0 0 1px rgba(236,235,231,.4); }
@media (max-width: 999px) { body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); } }

:focus-visible { outline: 2px solid var(--ox); outline-offset: 3px; }
.contact :focus-visible, .foot :focus-visible, .menu :focus-visible { outline-color: #D9A09A; }
.cookie { border-radius: 0; background: var(--paper); box-shadow: 0 0 0 1px var(--ink); color: var(--ink); }
.cookie button { border-radius: 0; background: var(--ink); color: var(--paper); }
.priv-titlu { font-size: clamp(2.8rem, 10vw, 5rem); letter-spacing: -0.05em; }
