/* ============================================================
   Floricel Media — floricelmedia.ro
   dark & moody · Clash Display + Satoshi (self-hosted, Fontshare)
   ============================================================ */

@font-face {
  font-family: "Clash Display";
  src: url("../assets/fonts/ClashDisplay-Variable.woff2") format("woff2");
  font-weight: 200 700;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("../assets/fonts/Satoshi-Variable.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("../assets/fonts/Satoshi-VariableItalic.woff2") format("woff2");
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #08080a;
  --bg-2: #101012;
  --bg-3: #16151a;
  --ink: #f2f1ec;
  --muted: #8f8e86;
  --accent: #c9a06c;
  --accent-2: #e4c79a;
  --accent-deep: #8a6a3e;
  --red: #e0443c;
  --red-glow: rgba(224, 68, 60, 0.25);
  --glow: rgba(201, 160, 108, 0.16);
  --line: rgba(236, 235, 231, 0.09);
  --line-strong: rgba(236, 235, 231, 0.16);
  --display: "Clash Display", "Arial Narrow", sans-serif;
  --body: "Satoshi", "Segoe UI", sans-serif;
  --pad: clamp(1.25rem, 5vw, 6rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }

/* ascuns vizual, dar citit de motoare de căutare și cititoare de ecran */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: #0a0a0b; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2a2a2c; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #3a3a3d; }

img, video { display: block; max-width: 100%; }
a { color: inherit; }

/* ---------- zgomot de peliculă ---------- */
.grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 2000;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.9s steps(4) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 3%); }
  50% { transform: translate(3%, -2%); }
  75% { transform: translate(-3%, -3%); }
  100% { transform: translate(2%, 2%); }
}
@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- preloader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  background: var(--bg);
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
.loader.is-done {
  opacity: 0;
  visibility: hidden;
}
.loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
}
.loader__mark {
  width: 66px;
  height: 66px;
  background: url("../favicon.png") center / contain no-repeat;
  filter: brightness(1.5);
  animation: loader-spin 2.4s cubic-bezier(0.7, 0, 0.3, 1) infinite;
}
@keyframes loader-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.loader__count {
  font-family: var(--display);
  font-size: 0.9rem;
  letter-spacing: 0.35em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.loader__bar {
  width: 160px;
  height: 1px;
  background: var(--line-strong);
  overflow: hidden;
}
.loader__bar i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent-2));
  transition: width 0.2s ease;
}

/* revelare la intrarea în pagină, după preloader */
.reveal-load {
  opacity: 0;
  transform: translateY(20px);
}
body.loaded .reveal-load {
  opacity: 1;
  transform: none;
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}

/* ---------- cursor custom (desktop) ---------- */
.cursor,
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 4000;
  border-radius: 50%;
  mix-blend-mode: difference;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.cursor {
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 1px solid #fff;
  transition: opacity 0.3s ease, width 0.35s var(--ease), height 0.35s var(--ease),
              margin 0.35s var(--ease), background 0.35s ease;
}
.cursor-dot {
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
  background: #fff;
}
body.cursor-ready .cursor,
body.cursor-ready .cursor-dot { opacity: 1; }
.cursor.is-hover {
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
  background: rgba(255, 255, 255, 0.12);
}
.cursor.is-hover.has-label::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  mix-blend-mode: normal;
}
@media (hover: none), (pointer: coarse) {
  .cursor, .cursor-dot { display: none; }
}

/* ---------- orb-uri ambientale ---------- */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* ---------- tipografie comună ---------- */
.eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.01em;
}

h2 { font-size: clamp(2.4rem, 6vw, 5rem); }

em {
  font-style: normal;
  color: var(--accent);
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--pad);
  transition: background 0.4s ease, backdrop-filter 0.4s ease, padding 0.4s ease,
              transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav.is-scrolled {
  background: rgba(10, 10, 11, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}
.nav.nav--hidden { transform: translateY(-110%); }
.nav { will-change: transform; }
.nav__logo img {
  height: 30px;
  width: auto;
  /* logo-ul original e metalic închis — îl întoarcem în alb pentru fundal dark */
  filter: invert(1) brightness(1.55);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 2.4rem);
  font-size: 0.9rem;
  font-weight: 500;
}
.nav__links a {
  text-decoration: none;
  color: var(--muted);
  transition: color 0.25s ease;
}
.nav__links a:hover { color: var(--ink); }
.nav__cta {
  color: var(--ink) !important;
  border: 1px solid var(--line);
  padding: 0.5rem 1.15rem;
  border-radius: 99px;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.nav__cta:hover {
  border-color: var(--accent);
  background: rgba(201, 160, 108, 0.08);
}

/* ---------- hero cu scrub ---------- */
.hero {
  /* înălțimea = „pista" de scroll pentru derularea video-ului;
     mai mare = derulare mai lentă a cadrelor */
  height: 620vh;
  position: relative;
}
.hero--loop { height: 100svh; } /* fallback mobil / reduced-motion */

.hero__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}
.hero__sticky video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(10,10,11,0.55) 0%, rgba(10,10,11,0.15) 35%, rgba(10,10,11,0.25) 70%, var(--bg) 100%);
}
.hero__copy {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: clamp(5rem, 14vh, 9rem);
  max-width: 60rem;
  will-change: transform, opacity;
}
.hero__copy h1 {
  font-size: clamp(2.9rem, 8.5vw, 7.6rem);
  font-weight: 550;
  margin-bottom: 1.6rem;
  text-wrap: balance;
  opacity: 0;
  transform: translateY(46px);
}
body.loaded .hero__copy h1 {
  animation: hero-in 1.3s var(--ease) 0.15s forwards;
}
@keyframes hero-in {
  to { opacity: 1; transform: none; }
}
.hero__copy .eyebrow,
.hero__cue {
  opacity: 0;
  transform: translateY(20px);
}
body.loaded .hero__copy .eyebrow { animation: hero-in 1s var(--ease) 0.5s forwards; }
body.loaded .hero__cue { animation: hero-in 1s var(--ease) 0.9s forwards; }
@media (prefers-reduced-motion: reduce) {
  .hero__copy h1, .hero__copy .eyebrow, .hero__cue { animation: none; opacity: 1; transform: none; }
}
.hero__sub {
  max-width: 34rem;
  color: rgba(236, 235, 231, 0.82);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
}
/* badge REC — accent cinematic roșu */
.hero__rec {
  position: absolute;
  top: clamp(5.2rem, 10vh, 7rem);
  right: var(--pad);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  color: rgba(242, 241, 236, 0.85);
  opacity: 0;
}
body.loaded .hero__rec { animation: hero-in 1s var(--ease) 0.7s forwards; }
.hero__rec i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 12px var(--red-glow), 0 0 4px var(--red);
  animation: rec-blink 1.6s ease-in-out infinite;
}
@keyframes rec-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__rec { opacity: 1; animation: none; }
  .hero__rec i { animation: none; }
}

.hero__cue {
  position: absolute;
  right: var(--pad);
  bottom: 2.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__cue i {
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, transparent, var(--accent));
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}
.hero--loop .hero__cue i { animation: none; }

/* ---------- statement ---------- */
.statement {
  position: relative;
  padding: clamp(7rem, 16vh, 11rem) var(--pad);
  overflow: hidden;
}
.statement__mark {
  position: absolute;
  right: -6%;
  top: 50%;
  transform: translateY(-50%) rotate(12deg);
  width: clamp(280px, 38vw, 560px);
  aspect-ratio: 1;
  background: url("../favicon.png") center / contain no-repeat;
  opacity: 0.045;
  pointer-events: none;
}
.statement__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: end;
  max-width: 82rem;
}
.statement__main {
  font-family: var(--display);
  font-weight: 450;
  font-size: clamp(1.7rem, 3.6vw, 3.1rem);
  line-height: 1.25;
  color: var(--muted);
}
.statement__main span { color: var(--ink); }
/* reveal cuvânt cu cuvânt (spans injectate din JS) */
.statement__main .w {
  display: inline-block;
  font-style: normal;
  opacity: 0.1;
  transform: translateY(0.35em);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--i, 0) * 0.035s);
}
.statement__main.in .w {
  opacity: 1;
  transform: none;
}
.statement__side p {
  color: var(--muted);
  font-size: 1.02rem;
  border-left: 1px solid rgba(201, 160, 108, 0.35);
  padding-left: 1.4rem;
  margin-bottom: 1.8rem;
}
.statement__link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
}
.statement__link span { transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
.statement__link:hover span { transform: translateY(4px); }

/* ---------- banda dublă înclinată ---------- */
.band {
  position: relative;
  padding: clamp(3rem, 8vh, 6rem) 0;
  overflow: hidden;
}
.marquee {
  position: relative;
  width: 106%;
  left: -3%;
  overflow: hidden;
  white-space: nowrap;
  cursor: default;
  background: linear-gradient(90deg, var(--bg-2), var(--bg-3), var(--bg-2));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.3rem 0;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.marquee--a { transform: rotate(-2.2deg); z-index: 1; }
.marquee--b {
  transform: rotate(1.4deg);
  margin-top: -0.6rem;
  background: linear-gradient(90deg, #0c0c0e, var(--bg-2), #0c0c0e);
}
.marquee__track {
  display: inline-flex;
  will-change: transform;
}
.marquee__group {
  display: inline-flex;
  align-items: center;
}
.mw {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3.4vw, 2.8rem);
  font-weight: 560;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  transition: color 0.3s ease, -webkit-text-stroke-color 0.3s ease, text-shadow 0.3s ease;
}
.mw--solid { color: var(--ink); }
.mw--ghost {
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 241, 236, 0.32);
}
.mw--amber {
  color: var(--accent);
  text-shadow: 0 0 26px var(--glow);
}
.mw--red {
  color: var(--red);
  text-shadow: 0 0 26px var(--red-glow);
}
.mw--ghost:hover { -webkit-text-stroke-color: var(--accent); }
.mw--solid:hover { color: var(--accent-2); }
.m-ap {
  flex-shrink: 0;
  width: clamp(20px, 2.2vw, 30px);
  aspect-ratio: 1;
  margin: 0 clamp(1.4rem, 3vw, 2.6rem);
  background: url("../favicon.png") center / contain no-repeat;
  opacity: 0.55;
}

/* ---------- portofoliu ---------- */
.works { padding: clamp(6rem, 14vh, 10rem) var(--pad); }

.section-head { margin-bottom: clamp(3rem, 7vh, 5rem); }

/* deck „evantai" — carduri Reel suprapuse, rotite în arc (stil landonorris) */
.works .section-head { text-align: center; }
.works__grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  counter-reset: work;
  padding: clamp(1.5rem, 4vh, 3.5rem) 0 clamp(5rem, 11vh, 9rem);
  min-height: 420px;
}
/* containerul nu se animează el însuși — doar cardurile (evită mișcarea dublă) */
.works__grid.reveal { opacity: 1 !important; transform: none !important; transition: none !important; }

/* desfacerea e condusă de scroll: --fan merge de la 0 (pachet strâns)
   la 1 (evantai complet) pe măsură ce secțiunea intră în ecran */
.work {
  flex: 0 0 auto;
  width: clamp(200px, 20.5vw, 320px);
  margin: 0 clamp(-72px, -5vw, -46px);
  z-index: var(--z, 10);
  transform:
    translateX(calc(var(--cx, 0px) * (1 - var(--fan, 1))))
    rotate(calc(var(--r, 0deg) * var(--fan, 1)))
    translateY(calc(var(--y, 0px) * var(--fan, 1) + (1 - var(--fan, 1)) * 46px));
  transform-origin: 50% 115%;
  will-change: transform;
  cursor: pointer;
}
.work:hover { z-index: 90; }
/* lift-ul de hover stă pe media, ca să nu se bată cu transformul condus de scroll */
.work:hover .work__media {
  transform: translateY(-30px) scale(1.05);
}

.work__media {
  position: relative;
  aspect-ratio: 9 / 16;               /* Reel vertical, implicit */
  overflow: hidden;
  border-radius: 16px;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  transition: border-color 0.5s var(--ease), box-shadow 0.6s var(--ease),
              transform 0.5s var(--ease);
}
.work:hover .work__media {
  border-color: rgba(201, 160, 108, 0.5);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.65), 0 0 70px -18px var(--glow);
}
.work--landscape .work__media { aspect-ratio: 16 / 9; }
.work--square .work__media { aspect-ratio: 1 / 1; }
.work__media img,
.work__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.3s var(--ease);
}
.work:hover .work__media img,
.work:hover .work__media video { transform: scale(1.06); }

/* index mare în colț */
.work__media::after {
  counter-increment: work;
  content: counter(work, decimal-leading-zero);
  position: absolute;
  top: 1rem;
  left: 1.1rem;
  z-index: 3;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: rgba(242, 241, 236, 0.28);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.work:hover .work__media::after { opacity: 1; }

/* overlay „vezi proiectul" la hover */
.work__view {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: 99px;
  background: rgba(8, 8, 10, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.work__view i { font-style: normal; color: var(--accent); }
.work:hover .work__view { opacity: 1; transform: none; }

/* placeholder-uri duotone cu textură până vin proiectele reale */
.ph {
  display: grid;
  place-items: center;
  position: relative;
}
.ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(242, 241, 236, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 241, 236, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(120% 120% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(120% 120% at 50% 50%, #000 30%, transparent 80%);
  opacity: 0.5;
}
.ph--1 { background: radial-gradient(120% 120% at 20% 10%, #3a2c1c 0%, #14100c 55%, #0c0a08 100%); }
.ph--2 { background: radial-gradient(120% 120% at 80% 15%, #223037 0%, #101315 55%, #0a0c0d 100%); }
.ph--3 { background: radial-gradient(130% 130% at 30% 85%, #302334 0%, #131013 60%, #0c0a0c 100%); }
.ph--4 { background: radial-gradient(120% 120% at 70% 80%, #33291d 0%, #121009 60%, #0b0a07 100%); }
.ph--5 { background: radial-gradient(130% 130% at 15% 50%, #1f2f2a 0%, #0f1412 60%, #090c0b 100%); }
.ph--6 { background: radial-gradient(120% 120% at 85% 40%, #382418 0%, #150f0c 55%, #0d0a08 100%); }

/* semnul de diafragmă din logo, ca watermark */
.ph__mark {
  position: relative;
  z-index: 1;
  width: clamp(54px, 22%, 96px);
  aspect-ratio: 1;
  background-image: url("../favicon.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.18;
  filter: brightness(1.3);
  transition: transform 1.3s var(--ease), opacity 0.6s ease;
}
.work:hover .ph__mark {
  transform: scale(1.16) rotate(28deg);
  opacity: 0.32;
}

/* meta ca overlay în interiorul cardului — ascuns; apare doar la hover,
   ca deck-ul să rămână curat (doar imagini), ca în referință */
.work__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 2.6rem 0.9rem 0.9rem;
  background: linear-gradient(to top, rgba(4, 4, 6, 0.88), rgba(4, 4, 6, 0.4) 60%, transparent);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.work:hover .work__overlay {
  opacity: 1;
  transform: none;
}
.work__tag {
  flex-shrink: 0;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(201, 160, 108, 0.35);
  border-radius: 99px;
  padding: 0.22rem 0.6rem;
  background: rgba(8, 8, 10, 0.5);
}
.work__tag--red {
  color: var(--red);
  border-color: rgba(224, 68, 60, 0.4);
}
.work__overlay h3 {
  font-size: clamp(0.82rem, 1.1vw, 0.98rem);
  font-weight: 480;
  line-height: 1.3;
  color: rgba(242, 241, 236, 0.94);
}

.works__note {
  margin-top: clamp(1rem, 3vh, 2rem);
  color: var(--muted);
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.works__note a {
  color: var(--accent);
  text-decoration-color: rgba(201, 160, 108, 0.4);
  text-underline-offset: 3px;
}

/* ---------- lightbox portofoliu ---------- */
.lb {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(5, 5, 7, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.lb__stage {
  max-width: 92vw;
  max-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb__stage img,
.lb__stage video {
  max-width: 92vw;
  max-height: 82vh;
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.lb__x {
  position: absolute;
  top: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(8, 8, 10, 0.6);
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.lb__x:hover { border-color: var(--accent); background: rgba(201, 160, 108, 0.14); }
.lb__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(8, 8, 10, 0.6);
  color: var(--ink);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.lb__nav:hover { border-color: var(--accent); background: rgba(201, 160, 108, 0.14); }
.lb__prev { left: clamp(0.5rem, 2vw, 2rem); }
.lb__next { right: clamp(0.5rem, 2vw, 2rem); }
.lb__info {
  position: absolute;
  bottom: clamp(1rem, 3vw, 2.2rem);
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}
.lb__tag {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.lb__title {
  font-family: var(--display);
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 480;
  margin: 0.3rem 0;
}
.lb__count { font-size: 0.8rem; color: var(--muted); }
@media (max-width: 600px) {
  .lb__nav { width: 42px; height: 42px; font-size: 1.6rem; }
}

/* ---------- despre ---------- */
.about {
  padding: clamp(6rem, 14vh, 10rem) var(--pad);
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(3rem, 6vw, 6rem);
}
.about h2 { margin-bottom: 2rem; }
.about__body p {
  color: var(--muted);
  max-width: 36rem;
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}
.about__body p:last-child { margin-bottom: 0; }

.about__stats {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(2rem, 5vh, 3.5rem);
}
.stat { border-left: 1px solid rgba(201, 160, 108, 0.35); padding-left: 1.5rem; }
.stat__num {
  display: block;
  font-family: var(--display);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 550;
  line-height: 1;
  color: var(--ink);
}
.stat__num i { font-style: normal; }
.stat__label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ---------- servicii ---------- */
.services { padding: clamp(6rem, 14vh, 10rem) var(--pad); }
.services__list { list-style: none; counter-reset: svc; }
.services__list h3::before {
  counter-increment: svc;
  content: "0" counter(svc);
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: rgba(201, 160, 108, 0.6);
  margin-bottom: 0.5rem;
}
.services__list li {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  padding: clamp(1.6rem, 4vh, 2.6rem) 0.2rem;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.services__list li:first-child { border-top: 1px solid var(--line); }
.services__list li:hover { padding-left: 1.2rem; }
.services__list h3 {
  font-size: clamp(1.8rem, 4.5vw, 3.4rem);
  font-weight: 480;
  color: var(--muted);
  transition: color 0.3s ease;
}
.services__list h3 a { color: inherit; text-decoration: none; }
.footer__areas a { color: rgba(143, 142, 134, 0.75); }
.services__list li:hover h3 { color: var(--ink); }
.services__list p {
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 30rem;
}

/* ---------- întrebări frecvente ---------- */
.faq {
  padding: clamp(6rem, 14vh, 10rem) var(--pad);
  border-top: 1px solid var(--line);
  content-visibility: auto;
  contain-intrinsic-size: auto 620px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.faq .section-head { margin-bottom: 0; position: sticky; top: 7rem; }
.faq__list details {
  border-bottom: 1px solid var(--line);
}
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 0.2rem;
  font-family: var(--display);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 480;
  color: rgba(236, 235, 231, 0.88);
  transition: color 0.25s ease;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: "+";
  flex-shrink: 0;
  font-family: var(--body);
  font-weight: 300;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--accent);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list summary:hover { color: var(--ink); }
.faq__list details p {
  padding: 0 0.2rem 1.6rem;
  color: var(--muted);
  max-width: 44rem;
}
.faq__list details a {
  color: var(--accent);
  text-underline-offset: 3px;
}

/* ---------- prietenii floricel media ---------- */
.friends {
  padding: clamp(6rem, 14vh, 10rem) var(--pad);
  border-top: 1px solid var(--line);
  /* nu se randează până nu se apropie de viewport — primul ecran se pictează mai repede */
  content-visibility: auto;
  contain-intrinsic-size: auto 480px;
}
.section-head--center { text-align: center; }
.friends__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(2rem, 4vh, 3rem) clamp(2.4rem, 5vw, 4.5rem);
  max-width: 72rem;
  margin: 0 auto;
}
.friends__grid img {
  max-height: 64px;
  max-width: 170px;
  width: auto;
  height: auto;
  object-fit: contain;
  /* screen: fundalurile închise din PNG-uri dispar pe negru */
  mix-blend-mode: screen;
  opacity: 0.85;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.friends__grid img:hover {
  opacity: 1;
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .friends__grid img { max-height: 44px; max-width: 116px; }
}

/* ---------- contact ---------- */
.contact {
  position: relative;
  overflow: hidden;
  padding: clamp(7rem, 18vh, 13rem) var(--pad) clamp(5rem, 10vh, 8rem);
  text-align: center;
}
.contact > *:not(.orb) { position: relative; z-index: 1; }
.contact__title {
  font-size: clamp(3rem, 9vw, 8rem);
  font-weight: 550;
  margin-bottom: 1.6rem;
}
.contact__sub { color: var(--muted); margin-bottom: 3.5rem; }
.contact__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}
.contact__big {
  font-family: var(--display);
  font-size: clamp(1.5rem, 4vw, 2.8rem);
  font-weight: 450;
  text-decoration: none;
  position: relative;
  display: inline-block;
  transition: color 0.3s ease, transform 0.25s ease-out;
}
.contact__big::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.contact__big:hover { color: var(--accent); }
.contact__big:hover::after { transform: scaleX(1); transform-origin: left; }

.contact__social {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(1.2rem, 4vw, 2.6rem);
}
.contact__social a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.25s ease;
}
.contact__social a:hover { color: var(--accent); }

/* ---------- footer ---------- */
.footer {
  padding: 1.6rem var(--pad) 1.8rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
}
.footer__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.footer__areas {
  margin-top: 1rem;
  font-size: 0.72rem;
  line-height: 1.7;
  color: rgba(143, 142, 134, 0.6);
  max-width: 60rem;
}
.footer a { color: var(--muted); text-underline-offset: 3px; }
.footer a:hover { color: var(--ink); }

/* ---------- pagina de confidențialitate ---------- */
.legal {
  max-width: 46rem;
  margin: 0 auto;
  padding: clamp(9rem, 18vh, 12rem) var(--pad) clamp(4rem, 8vh, 6rem);
}
.legal h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 520;
  margin-bottom: 0.8rem;
}
.legal .updated {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 3rem;
}
.legal h2 {
  font-size: 1.35rem;
  font-weight: 550;
  margin: 2.6rem 0 0.9rem;
}
.legal p, .legal li { color: var(--muted); font-size: 0.98rem; }
.legal p { margin-bottom: 0.9rem; }
.legal ul { padding-left: 1.2rem; margin-bottom: 0.9rem; }
.legal li { margin-bottom: 0.4rem; }
.legal a { color: var(--accent); text-underline-offset: 3px; }
.legal strong { color: var(--ink); font-weight: 600; }

/* ---------- pagini de serviciu ---------- */
.svc {
  max-width: 52rem;
  margin: 0 auto;
  padding: clamp(9rem, 16vh, 12rem) var(--pad) clamp(4rem, 8vh, 6rem);
}
.svc__hero { margin-bottom: clamp(3rem, 7vh, 5rem); }
.svc__hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  font-weight: 530;
  margin-bottom: 1.4rem;
  text-wrap: balance;
}
.svc__hero .lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--muted);
  max-width: 40rem;
}
.svc__body h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 530;
  margin: 3rem 0 1rem;
}
.svc__body p { color: var(--muted); margin-bottom: 1rem; max-width: 44rem; }
.svc__body ul { list-style: none; margin: 1.4rem 0 1rem; }
.svc__body li {
  color: var(--muted);
  padding: 0.55rem 0 0.55rem 1.6rem;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.svc__body li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 1.15rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.svc__body strong { color: var(--ink); font-weight: 600; }
.svc__body a { color: var(--accent); text-underline-offset: 3px; }

.svc__faq { margin-top: 3.5rem; }
.svc__faq h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 530;
  margin-bottom: 1rem;
}

.svc__cta {
  margin-top: clamp(3.5rem, 8vh, 5.5rem);
  padding: clamp(2rem, 5vh, 3.2rem);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-2);
  text-align: center;
}
.svc__cta h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 540;
  margin-bottom: 0.7rem;
}
.svc__cta p { color: var(--muted); margin-bottom: 1.6rem; }
.svc__cta-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
}
.svc__cta-links a {
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  font-weight: 470;
  text-decoration: none;
  color: var(--ink);
  transition: color 0.25s ease;
}
.svc__cta-links a:hover { color: var(--accent); }

.svc__more {
  margin-top: clamp(2.5rem, 6vh, 4rem);
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.8rem;
}
.svc__more a { color: var(--muted); text-underline-offset: 3px; transition: color 0.25s ease; }
.svc__more a:hover { color: var(--accent); }

/* ---------- blog ---------- */
.post-date {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2.5rem;
  display: block;
}
.blog-cards {
  display: grid;
  gap: 1.2rem;
  margin-top: 2.5rem;
}
.blog-card {
  display: block;
  padding: 1.8rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}
.blog-card:hover {
  border-color: rgba(201, 160, 108, 0.4);
  background: var(--bg-2);
  transform: translateY(-2px);
}
.blog-card h2 {
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 510;
  margin-bottom: 0.5rem;
  color: var(--ink);
}
.blog-card p { color: var(--muted); font-size: 0.95rem; }
.blog-card .tag {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---------- 404 ---------- */
.nf {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--pad);
}
.nf h1 {
  font-size: clamp(4rem, 14vw, 10rem);
  font-weight: 550;
  color: var(--accent);
  line-height: 1;
}
.nf p { color: var(--muted); margin: 1rem 0 2rem; }
.nf a {
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.2rem;
  text-underline-offset: 4px;
}

/* ---------- banner cookies ---------- */
.cookiebar {
  position: fixed;
  left: 50%;
  bottom: 1.2rem;
  transform: translate(-50%, 0);
  z-index: 2100;
  width: min(94vw, 620px);
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1rem 1.2rem;
  background: rgba(18, 18, 20, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  animation: cookiebar-in 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes cookiebar-in {
  from { opacity: 0; transform: translate(-50%, 24px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}
.cookiebar.is-hiding {
  transition: opacity 0.35s ease, transform 0.35s ease;
  opacity: 0;
  transform: translate(-50%, 16px);
}
.cookiebar p {
  flex: 1;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--muted);
}
.cookiebar p a {
  color: var(--accent);
  text-underline-offset: 3px;
}
.cookiebar button {
  flex-shrink: 0;
  font-family: var(--body);
  font-size: 0.85rem;
  font-weight: 600;
  color: #0a0a0b;
  background: var(--accent);
  border: none;
  border-radius: 99px;
  padding: 0.6rem 1.4rem;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}
.cookiebar button:hover {
  background: #d9b382;
  transform: translateY(-1px);
}
@media (max-width: 560px) {
  .cookiebar { flex-direction: column; align-items: stretch; text-align: center; gap: 0.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .cookiebar { animation: none; }
}

/* ---------- reveal la scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .statement__grid { grid-template-columns: 1fr; align-items: start; }
  .statement__mark { right: -20%; opacity: 0.035; }
  .faq { grid-template-columns: 1fr; }
  .faq .section-head { position: static; }
  .about { grid-template-columns: 1fr; }
  .about__stats { flex-direction: row; flex-wrap: wrap; gap: 2rem; }
  .stat { flex: 1 1 40%; }
  .services__list li { grid-template-columns: 1fr; gap: 0.6rem; align-items: start; }
}

@media (max-width: 760px) {
  /* pe telefon evantaiul devine carusel orizontal cu snap */
  .works__grid {
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 1rem var(--pad) 2.5rem;
    scrollbar-width: none;
    min-height: 0;
  }
  .works__grid::-webkit-scrollbar { display: none; }
  .work {
    width: min(62vw, 240px);
    margin: 0 0.5rem;
    transform: none !important;
    scroll-snap-align: center;
  }
  .works__grid:not(.in) .work { opacity: 1; }
  /* pe touch nu există hover — meta rămâne vizibilă */
  .work__overlay { opacity: 1; transform: none; }
  .work__media::after { opacity: 1; }
}
@media (max-width: 768px) {
  .hero__copy { bottom: clamp(4rem, 12vh, 7rem); }
  .hero__cue { display: none; }
  .nav__links a:not(.nav__cta) { display: none; }
}
