@font-face{font-family:'Big Shoulders Display';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/big-shoulders-display-700-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Big Shoulders Display';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/big-shoulders-display-700-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Big Shoulders Display';font-style:normal;font-weight:900;font-display:swap;src:url(/fonts/big-shoulders-display-900-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Big Shoulders Display';font-style:normal;font-weight:900;font-display:swap;src:url(/fonts/big-shoulders-display-900-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Instrument Sans';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/instrument-sans-400-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Instrument Sans';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/instrument-sans-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Instrument Sans';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/instrument-sans-500-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Instrument Sans';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/instrument-sans-500-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Instrument Sans';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/instrument-sans-600-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Instrument Sans';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/instrument-sans-600-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Pinyon Script';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/pinyon-script-400-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Pinyon Script';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/pinyon-script-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
/* KIT CORE — mecanica comuna. NU se editeaza per client: tema (theme.css) suprascrie variabilele.
   API-ul este descris in PLAYBOOK.md. */

:root {
  color-scheme: only light;
  --c-fond: #faf8f5;
  --c-fond-2: #f0ece6;
  --c-text: #1d1b19;
  --c-text-2: #5a554f;
  --c-accent: #8a5a44;
  --c-accent-text: #ffffff;
  --c-linie: rgba(0, 0, 0, .12);
  --f-titlu: Georgia, serif;
  --f-text: system-ui, -apple-system, 'Segoe UI', sans-serif;
  --raza: 10px;
  --raza-btn: 999px;
  --lat: 1200px;
  --gutter: clamp(18px, 4vw, 48px);
  --bara-h: 68px;
  --cta-h: 64px;
  --vh: 1vh; /* masurat o singura data in core.js; niciodata vh/dvh/svh brut */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --rise-dist: 26px;
  --rise-dur: .8s;
  --banda-gap: 16px;
  --banda-card: min(78vw, 340px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--bara-h) + 12px); }
body {
  margin: 0; background: var(--c-fond); color: var(--c-text);
  font: 400 17px/1.6 var(--f-text); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-titlu); line-height: 1.08; margin: 0 0 .4em; text-wrap: balance; font-weight: 500; }
p { margin: 0 0 1em; text-wrap: pretty; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(100% - 2 * var(--gutter), var(--lat)); margin-inline: auto; }
.sectiune { padding-block: clamp(56px, 9vw, 120px); }

/* ---------- bara de sus ---------- */
.bara {
  position: sticky; top: 0; z-index: 50; height: var(--bara-h);
  background: var(--c-fond); border-bottom: 1px solid var(--c-linie);
  view-transition-name: bara; /* neclintita la schimbarea paginii */
}
.bara .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.bara .logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 600 1.15rem/1 var(--f-titlu); min-height: 44px; }
.bara .logo img { height: calc(var(--bara-h) - 26px); width: auto; }
.bara nav { display: flex; align-items: center; gap: 26px; }
.bara nav a { text-decoration: none; font-size: .95rem; padding: 10px 0; }
.bara nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.bara .limbi { display: flex; gap: 8px; font-size: .85rem; }
.bara .limbi a { padding: 12px 4px; text-decoration: none; opacity: .6; }
.bara .limbi a[aria-current="true"] { opacity: 1; font-weight: 600; }
.meniu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; margin-right: -10px; }
.meniu-btn span { display: block; height: 2px; background: currentColor; margin: 6px 0; transition: transform .3s var(--ease), opacity .2s; }
.meniu-deschis .meniu-btn span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.meniu-deschis .meniu-btn span:nth-child(2) { opacity: 0; }
.meniu-deschis .meniu-btn span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 860px) {
  .meniu-btn { display: block; }
  .bara nav {
    position: fixed; left: 0; right: 0; top: var(--bara-h); height: calc(var(--vh) * 100 - var(--bara-h));
    flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 4px;
    padding: 28px var(--gutter); background: var(--c-fond); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
  }
  .bara nav a { font: 500 1.6rem/1.2 var(--f-titlu); padding: 10px 0; }
  .meniu-deschis .bara nav { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .3s var(--ease); }
}
/* blocarea paginii corecta pe iOS: position fixed + scrollY retinut (core.js) */
body.blocat { position: fixed; left: 0; right: 0; width: 100%; }

/* ---------- butoane, iconite, stele ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 26px;
  border-radius: var(--raza-btn); background: var(--c-accent); color: var(--c-accent-text); text-decoration: none;
  font-weight: 600; border: 1px solid var(--c-accent); cursor: pointer; transition: transform .2s var(--ease), background .2s;
}
.btn:active { transform: scale(.97); }
.btn.contur { background: transparent; color: var(--c-text); border-color: currentColor; }
.ico { width: 1.2em; height: 1.2em; flex: none; fill: currentColor; }
.stele { display: inline-flex; gap: 2px; color: var(--c-stele, #e0a526); }
.stele .ico { width: 1em; height: 1em; }

/* ---------- poze ---------- */
.poza { position: relative; overflow: hidden; background: var(--dom, var(--c-fond-2)); }
.poza img { width: 100%; height: 100%; object-fit: cover; }
[data-cortina] { clip-path: inset(0 0 0 0); }
.js [data-cortina]:not(.in) { clip-path: inset(0 0 100% 0); }
.js [data-cortina] { transition: clip-path 1.1s var(--ease); }

/* ---------- aparitii la derulare ---------- */
.js .rise { opacity: 0; transform: translateY(var(--rise-dist)); }
.js .rise.in { opacity: 1; transform: none; transition: opacity var(--rise-dur) var(--ease), transform var(--rise-dur) var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .rise.gata { opacity: 1; transform: none; }

/* ---------- carusel (banda) ---------- */
.banda { position: relative; overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; padding-block: 24px; }
.banda-sina { display: flex; gap: var(--banda-gap); width: max-content; will-change: transform; }
.banda-card { flex: none; width: var(--banda-card); transform-origin: 50% 100%; }
.banda img { pointer-events: none; -webkit-user-drag: none; }
.recenzie { background: var(--c-fond-2); border-radius: var(--raza); padding: 24px; height: 100%; display: flex; flex-direction: column; gap: 12px; }
.recenzie p { margin: 0; font-size: .98rem; }
.recenzie .autor { margin-top: auto; font-weight: 600; font-size: .9rem; }
.recenzie .sursa { font-size: .8rem; color: var(--c-text-2); }
/* pielile: --p = distanta fata de centru (-1..1), calculata in core.js */
.banda[data-efect="adanc"] .banda-card { transform: scale(calc(1 - .12 * var(--pa, 0))); opacity: calc(1 - .45 * var(--pa, 0)); }
.banda[data-efect="arc"] .banda-card { transform: translateY(calc(40px * var(--pa, 0) * var(--pa, 0))) rotate(calc(6deg * var(--p, 0))); }
.banda[data-efect="focus"] .banda-card { filter: blur(calc(3px * var(--pa, 0))); opacity: calc(1 - .5 * var(--pa, 0)); }
.banda[data-efect="polaroid"] .banda-card { background: #fff; padding: 12px 12px 40px; box-shadow: 0 10px 30px rgba(0,0,0,.12); transform: rotate(calc(var(--r, 0) * 1deg)); }
.banda[data-efect="polaroid"] .banda-card:nth-child(3n) { --r: -2.5; }
.banda[data-efect="polaroid"] .banda-card:nth-child(3n+1) { --r: 2; }
.banda[data-efect="film"] { background: #111; padding-block: 34px; }
.banda[data-efect="film"]::before, .banda[data-efect="film"]::after {
  content: ""; position: absolute; left: 0; right: 0; height: 14px; z-index: 1;
  background: repeating-linear-gradient(90deg, transparent 0 10px, #eee 10px 22px, transparent 22px 34px);
  -webkit-mask: linear-gradient(#000 0 0) center / 100% 8px no-repeat; mask: linear-gradient(#000 0 0) center / 100% 8px no-repeat;
}
.banda[data-efect="film"]::before { top: 8px; } .banda[data-efect="film"]::after { bottom: 8px; }
.banda[data-efect="film"] .banda-card { filter: saturate(.85) contrast(1.05); }
.banda[data-efect="citat"] .banda-card { width: min(88vw, 640px); }
.banda[data-efect="citat"] .recenzie { background: none; text-align: center; opacity: calc(1 - .7 * var(--pa, 0)); }
.banda[data-efect="citat"] .recenzie p { font: 400 clamp(1.3rem, 3.4vw, 2rem)/1.3 var(--f-titlu); }

/* ---------- program, faq ---------- */
.orar { list-style: none; padding: 0; margin: 0; }
.orar li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--c-linie); }
.orar li.azi { font-weight: 700; }
.faq details { border-bottom: 1px solid var(--c-linie); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative; font-weight: 600; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding-bottom: 18px; color: var(--c-text-2); }

/* ---------- before / after: stratul "after" are cutie reala ---------- */
.ba { position: relative; overflow: hidden; border-radius: var(--raza); touch-action: pan-y; --x: 50%; aspect-ratio: 4 / 5; }
.ba > .poza { position: absolute; inset: 0; }
.ba .ba-dupa { clip-path: inset(0 0 0 var(--x)); }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba .ba-linie { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; background: #fff; pointer-events: none; }
.ba .ba-linie::after { content: ""; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.ba .eticheta { position: absolute; bottom: 12px; padding: 4px 10px; background: rgba(0,0,0,.55); color: #fff; font-size: .8rem; border-radius: 4px; }
.ba .eticheta.st { left: 12px; } .ba .eticheta.dr { right: 12px; }

/* ---------- subsol, cookies, buton fix jos ---------- */
.subsol { padding-block: 56px 32px; border-top: 1px solid var(--c-linie); font-size: .92rem; }
.subsol .firma { color: var(--c-text-2); font-size: .82rem; margin-top: 28px; }
.subsol a { text-underline-offset: 3px; }
.cookies {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 70; max-width: 520px;
  background: var(--c-text); color: var(--c-fond); border-radius: var(--raza); padding: 16px 18px;
  display: flex; gap: 14px; align-items: center; font-size: .88rem; box-shadow: 0 10px 40px rgba(0,0,0,.25);
}
.cookies[hidden] { display: none; }
.cookies p { margin: 0; flex: 1; }
.cookies a { color: inherit; }
.cookies button { flex: none; min-height: 44px; padding: 8px 18px; border-radius: var(--raza-btn); border: 0; background: var(--c-fond); color: var(--c-text); font-weight: 600; cursor: pointer; }
.cta-jos { display: none; }
@media (max-width: 760px) {
  .cta-jos {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 60;
    height: var(--cta-h); margin: 0; width: auto; border-radius: var(--raza-btn); box-shadow: 0 8px 30px rgba(0,0,0,.22);
  }
  body.are-cta { padding-bottom: calc(var(--cta-h) + 28px + env(safe-area-inset-bottom, 0px)); }
  body.are-cta .cookies { bottom: calc(var(--cta-h) + 24px + env(safe-area-inset-bottom, 0px)); }
  /* compacta pe telefon: bara de cookies nu are voie sa acopere titlul/butonul din hero (vazut la site-urile lui Luca) */
  .cookies { padding: 9px 10px 9px 14px; gap: 10px; font-size: .76rem; line-height: 1.35; }
  .cookies button { padding: 8px 14px; }
}

/* ---------- pagina legala ---------- */
.legal { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); }
.legal h2 { font-size: 1.3rem; margin-top: 2em; }

/* ---------- trecere nativa intre pagini ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }

@media (prefers-reduced-motion: reduce) {
  .js .rise { transform: none; }
  .js .rise.in { transition: opacity .5s linear; }
  .js [data-cortina]:not(.in) { clip-path: inset(0 0 0 0); opacity: 0; }
  .js [data-cortina] { transition: opacity .5s linear; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* ---- theme ---- */
/* vlad-tattoo — "Din șablon în cerneală". Hârtia de transfer (fondul), violetul șablonului (accentul), negrul cernelii
   (secțiunile închise). Șabloanele sunt extrase din pozele reale ale lucrărilor lui; acul le transformă în tatuaj.
   Big Shoulders Display (titluri, condensat greu) + Instrument Sans (text) + Pinyon Script (doar "Vlad"). Abstract nivel 5. */
:root {
  --c-fond: #edece7;
  --c-fond-2: #e3e1da;
  --c-foaie: #f5f4f0;
  --c-text: #151311;
  --c-text-2: #5a5650;
  --c-accent: #4a3ca8;
  --c-accent-text: #fff;
  --c-violet-d: #a99ff2; /* violetul pe fond închis */
  --c-cerneala: #151311;
  --c-linie: rgba(21, 19, 17, .16);
  --f-titlu: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --f-text: 'Instrument Sans', system-ui, sans-serif;
  --f-script: 'Pinyon Script', cursive;
  --raza: 0px;
  --raza-btn: 0px;
  --lat: 1280px;
  --bara-h: 70px;
  --lin: cubic-bezier(.65, 0, .35, 1);
}

body { background: var(--c-fond); color: var(--c-text); font-size: 1.0625rem; line-height: 1.6; }
h1, h2, h3, .final-titlu, .lat-fraza, .rand-nume { font-family: var(--f-titlu); font-weight: 900; text-transform: uppercase; letter-spacing: .005em; line-height: 1.08; /* Ă Î Â au loc sub rândul de sus */ text-wrap: balance; }
h2 { font-size: clamp(2.6rem, 5.4vw, 4.8rem); margin: 0 0 18px; }
h3 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); margin: 0 0 10px; }
em { font-style: normal; color: var(--c-accent); }
p { text-wrap: pretty; }
a { color: inherit; }
.sectiune { padding-block: clamp(52px, 6vw, 92px); }
.eticheta { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font: 600 .74rem/1 var(--f-text); letter-spacing: .24em; text-transform: uppercase; color: var(--c-accent); }
/* semnul de registru al șablonului (crucea fină din colțul foii de transfer) */
.eticheta::before { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat; }
.sub { color: var(--c-text-2); margin: 0 0 26px; max-width: 40ch; font-size: 1.1rem; }
.acciuni { display: flex; flex-wrap: wrap; gap: 10px; }
.acciuni.centru { justify-content: center; margin-top: clamp(28px, 4vw, 48px); }
.cap-rand { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 44px); }
.cap-rand h2 { margin: 0; }

/* butoane: cerneală; la hover violetul șablonului se întinde din stânga */
.btn { background: var(--c-cerneala); border-color: var(--c-cerneala); color: var(--c-fond); font-weight: 600; letter-spacing: .02em; }
.btn:not(.cta-jos) { position: relative; }
.btn { overflow: hidden; isolation: isolate; transition: color .35s var(--lin), border-color .35s var(--lin); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--c-accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--lin); }
.btn.contur { background: transparent; color: var(--c-text); border-color: var(--c-text); }
.btn:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }
@media (hover: hover) {
  .btn:hover { color: #fff; border-color: var(--c-accent); }
  .btn:hover::before { transform: scaleX(1); }
  .bara nav a:not(.btn) { text-decoration: none; background: linear-gradient(var(--c-accent), var(--c-accent)) 0 100% / 0 2px no-repeat; transition: background-size .35s var(--lin); }
  .bara nav a:not(.btn):hover { background-size: 100% 2px; }
}

/* bara: logo cu ștampila lui rotundă */
.bara { background: var(--c-fond); }
.bara .logo span { display: inline-flex; align-items: center; gap: 10px; font: 900 1.45rem/1 var(--f-titlu); text-transform: uppercase; letter-spacing: .04em; }
.bara .logo span::before { content: ""; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--c-text); box-shadow: inset 0 0 0 4px var(--c-fond), inset 0 0 0 5.5px var(--c-accent); }
.bara nav a[aria-current="page"] { text-decoration: none; background: linear-gradient(var(--c-accent), var(--c-accent)) 0 100% / 100% 2px no-repeat; }
.bara .bara-cta { min-height: 44px; padding: 8px 18px; font-size: .92rem; }
@media (max-width: 860px) { .bara nav a:not(.btn) { font: 900 2.4rem/1.1 var(--f-titlu); text-transform: uppercase; } }

/* ---------- HERO: titlul-poster + piesa care se tatuează sub ac ---------- */
.hero-s { padding-block: clamp(20px, 3.4vw, 48px) clamp(40px, 5vw, 72px); overflow: hidden; }
.hero-s-grila { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: clamp(28px, 4.5vw, 72px); align-items: center;
  min-height: min(calc(var(--vh) * 100 - var(--bara-h) - 60px), 820px); }
.hero-s h1 { font-size: clamp(4.4rem, 9.6vw, 10.4rem); line-height: 1.1; margin: 0 0 24px; letter-spacing: -.005em; }
.hero-s h1 .r2, .hero-s h1 em { display: block; }
/* "centru." în contur, ca linia de șablon */
@supports (-webkit-text-stroke: 1px black) {
  .hero-s h1 em { color: transparent; -webkit-text-stroke: clamp(1.5px, .2vw, 2.5px) var(--c-accent); }
  /* după ce acul termină leul, conturul se umple cu cerneală, de la stânga la dreapta */
  .hero-s h1 em { background: linear-gradient(var(--c-accent), var(--c-accent)) 0 0 / 0% 100% no-repeat; -webkit-background-clip: text; background-clip: text; transition: background-size 1.4s var(--lin); }
  .hero-s.cerneala h1 em { background-size: 100% 100%; }
}
.hero-s .sub { font-size: 1.15rem; }
.incredere { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 26px 0 0; font-size: .92rem; color: var(--c-text-2); }
.incredere b { color: var(--c-text); font: 900 1.5rem/1 var(--f-titlu); margin-right: 4px; }

.piesa { margin: 0; }
.piesa-foaie { position: relative; aspect-ratio: 1; background: var(--c-foaie); overflow: hidden; touch-action: pan-y; cursor: crosshair;
  box-shadow: 0 1px 2px rgba(21, 19, 17, .08), 0 30px 60px -36px rgba(21, 19, 17, .45); }
.piesa-sablon { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: transfer 1s var(--ease) both; }
@keyframes transfer { from { opacity: 0; transform: scale(1.025); } }
.piesa-cerneala { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
/* vârful acului: punct de cerneală + inel violet */
.ac { position: absolute; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; pointer-events: none; opacity: 0;
  border: 1.5px solid var(--c-accent); transform: translate(var(--ax, -100px), var(--ay, -100px)); transition: opacity .3s; }
.ac::after { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--c-cerneala); }
.piesa.lucreaza .ac { opacity: 1; }
.piesa-foaie > .stampila { position: absolute; left: 5%; bottom: 5%; width: 19%; color: rgba(21, 19, 17, .32); transform: rotate(-14deg); pointer-events: none; }
.piesa figcaption { display: flex; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; margin-top: 12px; font-size: .85rem; color: var(--c-text-2); }
.indiciu { color: var(--c-accent); font-weight: 600; }
.indiciu .mob, .indiciu-mozaic .mob { display: none; }
.indiciu-mozaic { margin: 14px 0 0; font-size: .95rem; }

@media (max-width: 860px) {
  .hero-s { padding-top: 18px; }
  .hero-s-grila { grid-template-columns: 1fr; min-height: 0; gap: 26px; }
  .hero-s h1 { font-size: clamp(3.6rem, 21vw, 6.4rem); margin-bottom: 14px; }
  .hero-s .sub { font-size: 1rem; margin-bottom: 16px; }
  .hero-s .acciuni .btn:first-child { display: none; } /* butonul fix de jos face deja asta */
  .incredere { margin-top: 16px; }
  .incredere b { font-size: 1.25rem; }
  .indiciu .desk, .indiciu-mozaic .desk { display: none; }
  .indiciu .mob, .indiciu-mozaic .mob { display: inline; }
}
@media (max-width: 860px) and (max-height: 700px) { .hero-s .eticheta { margin-bottom: 10px; } }

/* ---------- stiluri: rânduri numerotate pe cerneală ---------- */
.stiluri { background: var(--c-cerneala); color: var(--c-fond); }
.stiluri .eticheta, .stiluri em { color: var(--c-violet-d); }
.randuri { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(237, 236, 231, .18); }
.randuri li { border-bottom: 1px solid rgba(237, 236, 231, .18); }
.rand { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 18px 0; text-decoration: none; }
.rand-nr { font: 700 1rem/1 var(--f-titlu); letter-spacing: .1em; color: var(--c-violet-d); }
.rand-nume { font-size: clamp(2.4rem, 5.6vw, 5.2rem); line-height: .95; transition: color .3s, transform .45s var(--ease); }
.rand-nume small { display: block; margin-top: 8px; font: 400 .95rem/1.3 var(--f-text); text-transform: none; letter-spacing: 0; color: rgba(237, 236, 231, .62); }
.rand-poze { display: flex; gap: 6px; }
.rand-poze .poza { width: clamp(64px, 8vw, 112px); aspect-ratio: 4 / 5; }
@media (hover: hover) {
  .rand:hover .rand-nume { color: var(--c-violet-d); transform: translateX(10px); }
  .rand .poza img { filter: grayscale(.4); transition: filter .4s; }
  .rand:hover .poza img { filter: none; }
  /* pozele stilului se desfac ca un evantai de schițe */
  .rand-poze .poza { transition: transform .5s var(--ease); }
  .rand:hover .rand-poze .poza:nth-child(1) { transform: rotate(-5deg) translate(-6px, -4px); }
  .rand:hover .rand-poze .poza:nth-child(2) { transform: translateY(-8px); }
  .rand:hover .rand-poze .poza:nth-child(3) { transform: rotate(5deg) translate(6px, -4px); }
}
@media (max-width: 760px) {
  .rand { grid-template-columns: 34px minmax(0, 1fr); gap: 10px 12px; padding: 16px 0; }
  .rand-poze { grid-column: 2; }
  .rand-poze .poza { width: calc((100% - 12px) / 3); max-width: 96px; }
}

/* ---------- mozaicul: placa se întoarce în șablonul ei ---------- */
.mozaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.placa { margin: 0; position: relative; }
.placa .poza { aspect-ratio: 4 / 5; }
.placa .sablon { position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 4 / 5; background: var(--c-foaie); opacity: 0; transition: opacity .45s var(--ease); pointer-events: none; }
.placa .sablon img { width: 100%; height: 100%; object-fit: cover; }
.placa figcaption { padding: 8px 2px 0; font-size: .8rem; line-height: 1.35; color: var(--c-text-2); }
.placa.intors .sablon, .placa.viu .sablon { opacity: 1; }
.mozaic .placa .sablon { transition-duration: .8s; }
@media (hover: hover) { .placa.cu-sablon:hover .sablon { opacity: 1; } }
.placa.cu-sablon { cursor: pointer; }
@media (max-width: 760px) { .mozaic { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; } }

/* ---------- poza lată cu fraza lui ---------- */
.lat { position: relative; background: var(--c-cerneala); color: var(--c-fond); }
.lat-poza { aspect-ratio: 1440 / 680; max-height: calc(var(--vh) * 82); width: 100%; }
.lat-poza img { object-position: 50% 30%; }
.lat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(21, 19, 17, .88) 0%, rgba(21, 19, 17, .35) 38%, transparent 62%); pointer-events: none; }
.lat-text { position: absolute; left: 0; right: 0; bottom: clamp(24px, 4vw, 56px); z-index: 1; }
.lat-fraza { font-size: clamp(2.6rem, 6.4vw, 6.4rem); line-height: 1.08; margin: 0; max-width: 14ch; }
.lat-fraza em { color: var(--c-violet-d); }
@media (max-width: 760px) {
  .lat-poza { aspect-ratio: 4 / 3; }
  .lat-poza img { object-position: 50% 20%; }
  .lat::after { display: none; }
  .lat-text { position: static; padding-block: 18px 34px; }
  .lat-fraza { font-size: clamp(2.4rem, 12vw, 3.6rem); }
}

/* ---------- înainte / după: două poze una lângă alta (cadrele lui nu sunt aliniate) ---------- */
.doua-ba, .ba-caz { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.pereche { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pereche figure { margin: 0; position: relative; }
.pereche .poza { aspect-ratio: 4 / 5; }
.pereche figcaption { position: absolute; left: 10px; top: 10px; padding: 7px 10px; background: var(--c-foaie); font: 600 .68rem/1 var(--f-text); letter-spacing: .16em; text-transform: uppercase; }
.pereche .dupa figcaption { background: var(--c-accent); color: #fff; }
.ba-lista { display: grid; gap: clamp(44px, 6vw, 88px); }
.ba-caz:nth-child(even) > .pereche { order: 2; }
.ba-caz h2 { font-size: clamp(2.2rem, 4vw, 3.6rem); }
.ba-caz .eticheta { margin-bottom: 12px; }
.link-post { font-weight: 600; text-underline-offset: 4px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
@media (max-width: 860px) {
  .doua-ba, .ba-caz { grid-template-columns: 1fr; gap: 20px; }
  .ba-caz:nth-child(even) > .pereche { order: 0; }
  .pereche { gap: 6px; }
}

/* ---------- final: ștampila lui, mare, se rotește încet ---------- */
.final { background: var(--c-cerneala); color: var(--c-fond); padding-block: clamp(60px, 7vw, 110px); overflow: hidden; }
.final .eticheta { color: var(--c-violet-d); }
.final-grila { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.final-stampila { position: relative; width: clamp(180px, 22vw, 300px); aspect-ratio: 1; color: var(--c-fond); }
.final-stampila .stampila { width: 100%; height: 100%; }
/* în centrul ștampilei: șablonul leului, ca portretul din ștampila lui */
.final-leu { position: absolute; inset: 22%; border-radius: 50%; overflow: hidden; }
.final-leu img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.7) translate(-2%, 6%); filter: brightness(0) invert(1) opacity(.85); }
.final-titlu { font-size: clamp(2.8rem, 6vw, 5.8rem); line-height: 1.06; margin: 0 0 16px; }
.final-titlu em { color: var(--c-violet-d); }
.final-sub { color: rgba(237, 236, 231, .66); margin: 0 0 26px; }
.final .btn { background: var(--c-fond); color: var(--c-cerneala); border-color: var(--c-fond); }
.final .btn.contur { background: transparent; color: var(--c-fond); border-color: rgba(237, 236, 231, .55); }
@media (hover: hover) { .final .btn:hover { color: #fff; border-color: var(--c-accent); } }
@media (max-width: 760px) { .final-grila { grid-template-columns: 1fr; } .final-stampila { width: 150px; } }

.stampila { display: block; overflow: visible; }
.stampila circle { fill: none; stroke: currentColor; stroke-width: 1.6; }
.stampila text { font: 800 17px var(--f-titlu); letter-spacing: 1px; fill: currentColor; }
.roteste { animation: roteste 48s linear infinite; }
@keyframes roteste { to { transform: rotate(360deg); } }

/* ---------- subpagini: antet pe hârtie cu șablonul unei lucrări, tăiat de margine ---------- */
.cap-pagina { position: relative; overflow: hidden; padding-block: clamp(40px, 6vw, 88px) clamp(20px, 3vw, 36px); }
.cap-grila { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 32px; align-items: center; }
.cap-pagina h1 { font-size: clamp(3.4rem, 8vw, 8rem); line-height: 1.1; margin: 0 0 18px; position: relative; z-index: 1; }
.cap-pagina .sub { position: relative; z-index: 1; margin-bottom: 0; }
.cap-sablon { position: relative; height: clamp(260px, 30vw, 420px); }
.cap-sablon img { position: absolute; top: -12%; right: -16%; height: 128%; width: auto; max-width: none; }
/* la încărcare șablonul se „trage” pe hârtie de sus în jos, ca la transfer */
.cap-sablon img { -webkit-clip-path: inset(0 0 0 0); clip-path: inset(0 0 0 0); animation: deseneaza 1.6s var(--lin) .15s both; }
@keyframes deseneaza { from { -webkit-clip-path: inset(0 0 100% 0); clip-path: inset(0 0 100% 0); } }
@media (max-width: 760px) {
  .cap-grila { grid-template-columns: 1fr; }
  .cap-sablon { position: absolute; right: 0; top: 0; bottom: 0; width: 62%; height: auto; opacity: .28; }
  .cap-sablon img { height: 110%; top: -4%; right: -24%; }
}

/* lucrări: filtre + grilă fixă */
.filtre { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(20px, 3vw, 32px); }
.filtre button { min-height: 44px; padding: 10px 18px; border: 1px solid var(--c-text); background: transparent; color: var(--c-text); font: 600 .9rem/1 var(--f-text); cursor: pointer; transition: background .25s, color .25s; }
.filtre button[aria-pressed="true"] { background: var(--c-cerneala); color: var(--c-fond); }
@media (hover: hover) { .filtre button:hover { border-color: var(--c-accent); color: var(--c-accent); } .filtre button[aria-pressed="true"]:hover { color: var(--c-fond); } }
.grila-lucrari { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 8px; }
.grila-lucrari .placa[hidden] { display: none; }
.mai-mult { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin: clamp(32px, 4vw, 52px) 0 0; color: var(--c-text-2); }
@media (max-width: 1100px) { .grila-lucrari { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grila-lucrari { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 6px; } }

/* contact */
.contact-grila { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.legenda { margin: 0; border-top: 1px solid var(--c-linie); }
.legenda div { padding: 16px 0; border-bottom: 1px solid var(--c-linie); }
.legenda dt { font: 600 .72rem/1 var(--f-text); letter-spacing: .22em; text-transform: uppercase; color: var(--c-accent); margin-bottom: 8px; }
.legenda dd { margin: 0; font: 900 clamp(1.6rem, 2.6vw, 2.2rem)/1.1 var(--f-titlu); text-transform: uppercase; }
.legenda a { min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 860px) { .contact-grila { grid-template-columns: 1fr; } .contact-grila > .placa { max-width: 420px; } }

/* două secțiuni pe hârtie una după alta nu-și adună spațiul */
.sectiune:not(.stiluri) + .sectiune:not(.stiluri) { padding-top: clamp(12px, 2vw, 32px); }
.cap-pagina + .sectiune { padding-top: clamp(20px, 3vw, 40px); }

/* subsol: semnătura */
.subsol { background: var(--c-fond); }
.pie { display: grid; gap: 10px; }
.pie-marca { margin: 0 0 6px; font: 900 clamp(3.6rem, 11vw, 9rem)/.9 var(--f-titlu); text-transform: uppercase; }
.pie-vlad { font: 400 1.05em/1 var(--f-script); text-transform: none; color: var(--c-accent); margin-right: .06em; }
.pie a { min-height: 44px; min-width: 48px; display: inline-flex; align-items: center; }

@media (prefers-reduced-motion: reduce) {
  .piesa-sablon { animation-name: estompare; }
  @keyframes estompare { from { opacity: 0; } }
  .roteste { animation: none; }
  .cap-sablon img { animation-name: estompare; }
  .hero-s h1 em, .rand-poze .poza { transition: none; }
  .btn::before, .rand-nume, .placa .sablon { transition: none; }
}
.nowrap { white-space: nowrap; }
