:root {
  --bg: #0c0b10;
  --bg2: #15141c;
  --ink: #f3f0e8;
  --muted: #9a97a8;
  --line: #2a2833;
  --c: #ff7a2f;
  --display: "Fraunces", Georgia, serif;
  --serif: "Fraunces", Georgia, serif;
  --body: "Inter", system-ui, sans-serif;
  --mono: "DM Mono", ui-monospace, monospace;
  --pad: clamp(20px, 4vw, 64px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -0.02em; line-height: 1.02; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 4px; }
::selection { background: var(--ink); color: var(--bg); }

section, footer { padding-inline: var(--pad); }
.title { font-size: clamp(34px, 5.5vw, 80px); }
.eyebrow { font: 500 13px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.section-lead { max-width: 58ch; margin-top: 20px; color: var(--muted); font-size: clamp(17px, 1.5vw, 20px); }

/* Grain + loader + cursor */
.grain { position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }
.loader { display: none; }
.js .loader { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: space-between; padding: var(--pad); background: var(--ink); color: var(--bg); transition: transform .9s var(--ease); }
.loader span { font: 500 14px var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.loader b { font: 500 clamp(80px, 18vw, 260px)/.8 var(--display); letter-spacing: -0.05em; }
.loaded .loader { transform: translateY(-101%); }
.cursor { display: none; }
.has-cursor .cursor { display: grid; place-items: center; position: fixed; left: 0; top: 0; z-index: 95; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--ink); mix-blend-mode: difference; pointer-events: none; transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease); }
.cursor span { font: 700 12px var(--body); color: #000; opacity: 0; white-space: nowrap; }
.cursor.hover { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
.cursor.label { width: 84px; height: 84px; margin: -42px 0 0 -42px; }
.cursor.label span { opacity: 1; }

/* Nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px var(--pad); mix-blend-mode: difference; }
.brand { font: 500 17px var(--display); letter-spacing: -0.01em; }
.nav nav { display: flex; gap: clamp(14px, 2.4vw, 34px); font-size: 15px; }
.nav nav a { position: relative; }
.nav nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.langs { display: flex; gap: 4px; font: 500 13px var(--mono); }
.langs a { padding: 4px 9px; border-radius: 99px; opacity: .55; }
.langs a.on { opacity: 1; border: 1px solid currentColor; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; gap: 28px; padding-block: 120px 44px; overflow: hidden; }
.hero h1 { font-size: clamp(44px, min(10.4vw, 16.5vh), 176px); }
.hero em { color: var(--c); }
.line { display: block; overflow: hidden; padding-bottom: .2em; margin-bottom: -.2em; }
.hero h1 { padding-bottom: .12em; }
.line > span { display: block; }
.js .hero .line > span, .js .reveal-lines .line > span { transform: translateY(115%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 110ms + 250ms); }
.loaded .hero .line > span, .reveal-lines.in .line > span { transform: none; }
.hero-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.lead { max-width: 44ch; font-size: clamp(18px, 1.7vw, 23px); color: #cfccdb; }
.scroll { font: 500 13px var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.scroll span { display: inline-block; animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }
.blobs { position: absolute; inset: -10%; z-index: -1; filter: blur(90px); opacity: .55; transform: translate(var(--mx, 0), var(--my, 0)); transition: transform 1.2s var(--ease); }
.blobs i { position: absolute; width: 38vmax; height: 38vmax; border-radius: 50%; animation: drift 18s ease-in-out infinite alternate; }
.blobs i:nth-child(1) { background: #ff7a2f; left: 55%; top: 5%; }
.blobs i:nth-child(2) { background: #f0508c; left: 70%; top: 45%; animation-duration: 23s; animation-direction: alternate-reverse; }
.blobs i:nth-child(3) { background: #7c6cff; left: 30%; top: 55%; animation-duration: 27s; }
.blobs i:nth-child(4) { background: #25c07a; left: 5%; top: -15%; width: 24vmax; height: 24vmax; animation-duration: 21s; animation-direction: alternate-reverse; }
@keyframes drift { to { transform: translate(-12vmax, 8vmax) scale(1.25); } }

/* Marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 18px; white-space: nowrap; }
.marquee div { display: inline-flex; animation: slide 38s linear infinite; }
.marquee span { font: 500 clamp(22px, 3vw, 40px) var(--display); letter-spacing: -0.02em; padding-inline: 22px; }
.marquee span::after { content: "✳"; margin-left: 44px; color: var(--muted); font-size: .7em; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* Services */
.services { padding-block: clamp(80px, 12vw, 180px); }
.services .title { margin-bottom: clamp(32px, 5vw, 72px); }
.svc { border-top: 1px solid var(--line); }
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc-head { display: grid; grid-template-columns: 64px 1fr auto 40px; align-items: center; gap: 16px; width: 100%; padding-block: clamp(18px, 2.6vw, 36px); }
.svc-num { font: 500 14px var(--mono); color: var(--c); }
.svc-title { font: 500 clamp(26px, 4.6vw, 70px)/1.05 var(--display); letter-spacing: -0.02em; transition: transform .5s var(--ease), color .3s; }
.svc-head:hover .svc-title, .svc.open .svc-title { transform: translateX(14px); color: var(--c); }
.svc-tag { font-size: 15px; color: var(--muted); }
.svc-plus { position: relative; width: 28px; height: 28px; justify-self: end; }
.svc-plus::before, .svc-plus::after { content: ""; position: absolute; left: 0; right: 0; top: 13px; height: 2px; background: var(--ink); transition: transform .5s var(--ease); }
.svc-plus::after { transform: rotate(90deg); }
.svc.open .svc-plus::after { transform: rotate(0); }
.svc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
.svc.open .svc-body { grid-template-rows: 1fr; }
.svc-inner { overflow: hidden; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 80px); padding-left: 80px; }
.svc-inner > * { padding-bottom: clamp(28px, 4vw, 56px); }
.svc-text { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: #d9d6e4; }
.svc h4 { font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.svc-list li { padding: 10px 0 10px 22px; border-top: 1px solid var(--line); position: relative; }
.svc-list li::before { content: ""; position: absolute; left: 0; top: 19px; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.chips li { padding: 4px 11px; border: 1px solid var(--line); border-radius: 99px; font: 500 12.5px var(--mono); color: #cfccdb; }

/* Work — horizontal */
.work { position: relative; background: var(--bg2); }
.work-sticky { padding-block: clamp(64px, 9vw, 110px) 40px; }
.work-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 44px); }
.work-head p { color: var(--muted); }
.track { display: flex; gap: clamp(16px, 2.4vw, 36px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); }
.card { flex: 0 0 min(84vw, 720px); scroll-snap-align: center; display: flex; flex-direction: column; gap: 18px; }
.card-visual { display: block; width: 100%; aspect-ratio: 16 / 10; border-radius: 22px; overflow: hidden; background: color-mix(in srgb, var(--c) 16%, var(--bg)); border: 1px solid var(--line); }
.card-visual img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.1s var(--ease); }
.card:hover .card-visual img { transform: scale(1.05); }
.card-meta { font: 500 12.5px var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.card-meta span { color: var(--c); margin-right: 6px; }
.card h3 { font-size: clamp(28px, 3.4vw, 46px); margin: 8px 0 10px; }
.card-info > p:nth-of-type(2) { color: #cfccdb; max-width: 56ch; }
.card-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 14px; font-size: 15px; }
.card-foot a { font-weight: 700; border-bottom: 1px solid currentColor; }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 99px; border: 1px solid color-mix(in srgb, var(--c) 50%, transparent); color: var(--c); font-size: 13px; font-weight: 700; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.chat { height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: clamp(18px, 3vw, 40px); }
.msg { max-width: 82%; padding: 9px 14px; border-radius: 16px; font-size: clamp(13px, 1.2vw, 16px); line-height: 1.4; }
.msg.user { align-self: flex-end; background: var(--ink); color: var(--bg); border-bottom-right-radius: 4px; }
.msg.ai { align-self: flex-start; background: var(--bg); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg.tool { align-self: flex-start; padding: 5px 11px; border-radius: 8px; background: color-mix(in srgb, var(--c) 28%, var(--bg)); font: 500 12.5px var(--mono); }
.msg.tool::before { content: "⚙ "; }
.soon { height: 100%; display: grid; place-items: center; background: repeating-linear-gradient(135deg, transparent 0 22px, color-mix(in srgb, var(--c) 14%, transparent) 22px 23px); }
.soon span { font: 400 clamp(34px, 5vw, 64px) var(--serif); font-style: italic; color: var(--c); }
.is-soon .card-info { opacity: .7; }
.progress { display: none; }

/* pinned horizontal scroll (activat din JS pe ecrane mari) */
.work.pinned .work-sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-block: 76px 24px; }
.work.pinned .work-head { margin-bottom: 22px; }
.work.pinned .title { font-size: clamp(34px, 4.4vw, 64px); }
.work.pinned .track { overflow: visible; scroll-snap-type: none; will-change: transform; }
.work.pinned .card { flex-basis: min(58vw, 760px); }
.work.pinned .card-visual { aspect-ratio: auto; height: clamp(170px, calc(100vh - 470px), 460px); }
.work.pinned .progress { display: block; flex: none; height: 2px; margin-top: 20px; background: var(--line); }
.work.pinned .progress i { display: block; height: 100%; width: 100%; background: var(--ink); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* Automation */
.automation { padding-block: clamp(80px, 12vw, 180px); }
.autos { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; margin-top: clamp(32px, 5vw, 64px); }
.auto { position: relative; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--bg2); transition: border-color .4s, transform .6s var(--ease), opacity .9s var(--ease); }
.auto:hover { border-color: #7c6cff; }
.flow { display: grid; gap: 8px; justify-items: start; margin-bottom: 16px; }
.flow span { padding: 6px 12px; border-radius: 10px; border: 1px solid var(--line); font: 500 13.5px var(--mono); }
.flow .to { background: #7c6cff; border-color: #7c6cff; color: #fff; }
.flow i { width: 1px; height: 18px; margin-left: 18px; background: repeating-linear-gradient(var(--muted) 0 3px, transparent 3px 6px); }
.auto p { color: #cfccdb; font-size: 15.5px; line-height: 1.5; }
.built { display: inline-block; margin-top: 14px; font: 500 12px var(--mono); font-style: normal; text-transform: uppercase; letter-spacing: .06em; color: #25c07a; }

/* Process */
.process { padding-bottom: clamp(80px, 12vw, 180px); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; margin-top: clamp(32px, 5vw, 64px); border-top: 1px solid var(--line); }
.steps li { padding: 26px 24px 0 0; }
.steps span { font: 500 14px var(--mono); color: var(--muted); }
.steps h3 { font-size: clamp(24px, 2.4vw, 34px); margin: 36px 0 10px; }
.steps p { color: #cfccdb; font-size: 16px; }

/* Contact */
.contact { padding-block: clamp(90px, 14vw, 220px) clamp(60px, 8vw, 120px); }
.giant { font-size: clamp(64px, 17vw, 300px); line-height: .88; margin-top: 16px; }
.giant em { color: #f0508c; }
.contact .section-lead { margin-top: 36px; }
.contact-row { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 44px; }
.big-btn { display: inline-flex; align-items: center; gap: 14px; padding: 22px 38px; border-radius: 99px; background: var(--ink); color: var(--bg); font: 500 20px var(--display); }
.socials { display: flex; flex-wrap: wrap; gap: 12px; }
.soc { display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px 14px 16px; border: 1px solid var(--line); border-radius: 99px; font-weight: 700; transition: background .3s, color .3s, border-color .3s; }
.soc svg { width: 26px; height: 26px; }
a.soc:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.soc.pending { opacity: .4; border-style: dashed; }

footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-block: 26px; border-top: 1px solid var(--line); font: 500 13px var(--mono); color: var(--muted); }
footer b { color: var(--ink); font-weight: 500; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 96; display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; justify-items: center; background: rgba(8, 7, 12, .94); padding: 24px 8px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: calc(100vh - 80px); border-radius: 12px; }
.lightbox button { font-size: 46px; line-height: 1; padding: 10px; color: var(--ink); }
.lb-close { position: absolute; top: 8px; right: 16px; }
.lb-prev { grid-column: 1; } .lightbox img { grid-column: 2; grid-row: 1; } .lb-next { grid-column: 3; }

@media (max-width: 860px) {
  .nav nav { display: none; }
  .svc-head { grid-template-columns: 34px 1fr 28px; }
  .svc-tag { display: none; }
  .svc-inner { grid-template-columns: 1fr; gap: 0; padding-left: 0; }
  .svc-plus { width: 22px; height: 22px; }
  .svc-plus::before, .svc-plus::after { top: 10px; }
  .lightbox { grid-template-columns: 40px 1fr 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .hero .line > span, .js .reveal-lines .line > span { opacity: 1; transform: none; }
  .js .loader { display: none; }
}

/* ============ Pagini separate ============ */
.nav nav a.on::after { transform: scaleX(1); }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(32px, 5vw, 72px); }
.services .sec-head .title { margin-bottom: 0; }
.more-link { display: inline-block; font-weight: 700; font-size: 15px; border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: color .3s; }
.more-link:hover { color: var(--c); }
a.svc { display: grid; border-top: 1px solid var(--line); }
a.svc:last-child { border-bottom: 1px solid var(--line); }
.svc-arrow { justify-self: end; font-size: 26px; transition: transform .5s var(--ease), color .3s; }
a.svc:hover .svc-arrow { transform: translateX(8px); color: var(--c); }
.card h3 a:hover { color: var(--c); }
a.card-visual { cursor: pointer; }

/* Antetul paginilor interioare */
.page-head { position: relative; overflow: hidden; padding-block: clamp(140px, 20vh, 220px) clamp(48px, 7vw, 96px); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(48px, 9vw, 150px); }
.page-head .section-lead { max-width: 62ch; color: #cfccdb; }
.js .page-head .line > span { transform: translateY(115%); animation: rise 1s var(--ease) .15s forwards; }
@keyframes rise { to { transform: none; } }
.blobs.small { opacity: .38; inset: -30% -10% auto; height: 150%; }

/* Servicii, pe larg */
.svc-full { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 96px); align-items: center; padding-block: clamp(64px, 9vw, 130px); border-bottom: 1px solid var(--line); scroll-margin-top: 40px; }
.svc-full.flip .svc-copy { order: 2; }
.svc-full h2 { font-size: clamp(34px, 4.6vw, 68px); margin: 14px 0 22px; color: var(--c); }
.svc-full h4 { font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 28px 0 10px; }
.svc-more { margin-top: 14px; color: var(--muted); }
.svc-full .more-link { margin-top: 26px; }
.svc-visual { margin: 0; }
.svc-visual > img, .mock { width: 100%; border-radius: 22px; border: 1px solid var(--line); }
.svc-visual figcaption { margin-top: 10px; font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.mock { aspect-ratio: 16 / 11; background: color-mix(in srgb, var(--c) 14%, var(--bg2)); padding: clamp(18px, 3vw, 36px); display: grid; gap: 14px; align-content: center; overflow: hidden; }
.m-search { display: flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 99px; background: #f3f0e8; color: #24222c; font-size: 14.5px; }
.m-search i { width: 13px; height: 13px; border: 2px solid #24222c; border-radius: 50%; flex: none; }
.m-shop { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.m-prod { display: grid; gap: 5px; padding: 10px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); font-size: 12.5px; }
.m-prod b { aspect-ratio: 4 / 3; border-radius: 8px; background: linear-gradient(135deg, #34313f, #24222c); }
.m-prod em { font: inherit; color: var(--muted); }
.m-prod span { font-weight: 700; font-size: 15px; }
.m-prod.you { border-color: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 25%, transparent); }
.m-prod.you em { color: var(--c); font-weight: 700; }
.m-result { padding: 14px 16px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
.m-result small { color: var(--muted); font-size: 12px; }
.m-result strong { display: block; margin: 2px 0; color: #9db8ff; font-weight: 500; font-size: 16px; }
.m-result p { font-size: 13px; color: #cfccdb; }
.m-chart { width: 100%; height: 54px; color: var(--c); }
.mock-photo { grid-template-columns: 1fr 1.25fr 1fr; align-items: center; }
.m-card { display: grid; gap: 8px; padding: 12px; border-radius: 14px; background: #f3f0e8; color: #24222c; }
.m-card i { aspect-ratio: 1; border-radius: 9px; background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--c) 55%, #fff), var(--c) 55%, color-mix(in srgb, var(--c) 60%, #000)); }
.m-card.shot i { aspect-ratio: 4 / 5; }
.m-card.menu { transform: rotate(-4deg); } .m-card.flyer { transform: rotate(4deg); }
.m-card small { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.m-card p { height: 5px; border-radius: 3px; background: #24222c; opacity: .18; } .m-card p:last-child { width: 60%; }
.mock-flow { justify-items: start; gap: 0; }
.mock-flow span { padding: 10px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); font: 500 14px var(--mono); }
.mock-flow .to { background: var(--c); border-color: var(--c); color: #fff; }
.mock-flow i { width: 1px; height: 26px; margin-left: 24px; background: repeating-linear-gradient(var(--muted) 0 3px, transparent 3px 6px); }

/* Proiecte, pe larg */
.jump { display: flex; flex-wrap: wrap; gap: 10px; padding: 22px var(--pad); border-bottom: 1px solid var(--line); }
.jump a { padding: 8px 16px; border: 1px solid var(--line); border-radius: 99px; font-size: 15px; transition: background .3s, color .3s; }
.jump a span { font: 500 12px var(--mono); color: var(--muted); margin-right: 4px; }
.jump a:hover { background: var(--ink); color: var(--bg); }
.case { padding: clamp(64px, 9vw, 130px) var(--pad); border-bottom: 1px solid var(--line); scroll-margin-top: 20px; }
.case:nth-of-type(even) { background: var(--bg2); }
.case-head h2 { font-size: clamp(44px, 7.4vw, 120px); margin: 12px 0 20px; }
.case-sum { max-width: 46ch; font-size: clamp(19px, 1.9vw, 26px); line-height: 1.4; color: #d9d6e4; }
.case-cover { display: block; width: 100%; margin-top: clamp(28px, 4vw, 56px); border-radius: 26px; overflow: hidden; border: 1px solid var(--line); }
.case-cover img { width: 100%; transition: transform 1.2s var(--ease); }
.case-cover:hover img { transform: scale(1.02); }
.case-body { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 68ch); gap: clamp(28px, 6vw, 110px); margin-top: clamp(36px, 5vw, 72px); }
.case-facts { margin: 0; display: grid; gap: 22px; align-content: start; position: sticky; top: 90px; align-self: start; }
.case-facts dt { font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.case-facts dd { margin: 0; }
.case-facts .chips { margin-top: 0; }
.case-text h3 { font-size: clamp(24px, 2.4vw, 34px); margin: 44px 0 14px; color: var(--c); }
.case-text h3:first-child { margin-top: 0; }
.case-text p { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.65; color: #d9d6e4; }
.case-chat { margin-top: 26px; border-radius: 22px; border: 1px solid var(--line); background: color-mix(in srgb, var(--c) 14%, var(--bg)); }
.case-chat .chat { height: auto; }
.shots { margin-top: clamp(40px, 6vw, 80px); }
.shots h4 { font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.shots-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.shots-row button { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; background: var(--bg); }
.shots-row img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.shots-row button:hover img { transform: scale(1.05); }
.note { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* Automatizări / proces pe paginile interioare */
.p-automation .automation { padding-top: clamp(40px, 6vw, 80px); }
.p-automation .autos { margin-top: 0; }
.p-services .process { padding-top: clamp(64px, 9vw, 130px); }

/* Logouri care sar pe rând */
.tools { padding-block: clamp(56px, 8vw, 110px); border-block: 1px solid var(--line); }
.logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 34px 12px; margin-top: 36px; }
.logos li { display: grid; justify-items: center; gap: 12px; font: 500 12.5px var(--mono); color: var(--muted); text-align: center; animation: hop calc(var(--n) * .45s) cubic-bezier(.3, .6, .3, 1) infinite; animation-delay: calc(var(--i) * .45s); }
.logos svg { width: 40px; height: 40px; color: var(--ink); }
@keyframes hop { 0%, 9%, 100% { transform: none; } 3% { transform: translateY(-20px); } 6% { transform: translateY(0); } 7.5% { transform: translateY(-6px); } }

/* Contact */
.cta { text-align: left; }
.cta .giant a { display: block; }
.contact-page { position: relative; overflow: hidden; padding-top: clamp(140px, 20vh, 220px); min-height: 100svh; }
.mail-plain { margin-top: 22px; font: 500 15px var(--mono); color: var(--muted); }
.mail-plain a { border-bottom: 1px solid var(--line); }
.contact-help { max-width: 640px; margin-top: clamp(56px, 8vw, 100px); }
.contact-help h2 { font-size: clamp(24px, 2.4vw, 34px); margin-bottom: 14px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot-nav a:hover { color: var(--ink); }

@media (max-width: 860px) {
  .svc-full, .case-body { grid-template-columns: 1fr; }
  .svc-full.flip .svc-copy { order: 0; }
  .case-facts { position: static; grid-template-columns: 1fr 1fr; }
  .nav nav { display: flex; position: fixed; left: 0; right: 0; bottom: 0; justify-content: space-around; padding: 12px 8px calc(12px + env(safe-area-inset-bottom)); font-size: 14px; }
  footer { padding-bottom: 70px; }
  .mock-photo { grid-template-columns: 1fr 1fr; } .m-card.flyer { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .js .page-head .line > span { transform: none; }
}

/* ajustări: copertele proiectelor se văd întregi, logourile pe rânduri egale */
.card-visual img { object-position: center; }
.work.pinned .card { flex-basis: max(440px, calc((100vh - 470px) * 1.6)); }
.logos { grid-template-columns: repeat(8, 1fr); }
@media (max-width: 860px) { .logos { grid-template-columns: repeat(4, 1fr); } }
.mock { aspect-ratio: auto; min-height: clamp(320px, 34vw, 480px); }
/* meniul rămâne lizibil peste text */
.nav { mix-blend-mode: normal; background: color-mix(in srgb, var(--bg) 72%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
@media (max-width: 860px) { .nav nav { background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-top: 1px solid var(--line); } }
@media (max-width: 860px) {
  .nav { flex-wrap: wrap; row-gap: 10px; padding-block: 12px; }
  .nav nav { position: static; order: 3; width: 100%; justify-content: space-between; padding: 0; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; font-size: 14.5px; }
  footer { padding-bottom: 26px; }
}

/* Despre mine + portret */
.about { display: grid; grid-template-columns: minmax(260px, 460px) minmax(0, 1fr); gap: clamp(32px, 7vw, 120px); align-items: center; padding-block: clamp(80px, 11vw, 160px); }
.portrait { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; background: color-mix(in srgb, #ff7a2f 16%, var(--bg2)); border: 1px solid var(--line); }
.portrait::before { content: ""; position: absolute; width: 86%; aspect-ratio: 1; left: 7%; bottom: -8%; border-radius: 50%; background: #ff7a2f; }
.portrait::after { content: ""; position: absolute; width: 34%; aspect-ratio: 1; right: -8%; top: 8%; border-radius: 50%; background: #f0508c; }
.portrait img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.about h2 { font-size: clamp(44px, 6.4vw, 104px); margin: 14px 0 26px; }
.about h2 em { color: #ff7a2f; }
.about-copy > p:not(.eyebrow) { max-width: 46ch; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: #d9d6e4; margin-bottom: 16px; }
.about .more-link { margin-top: 14px; }
.contact-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 360px); gap: clamp(28px, 5vw, 80px); align-items: end; }
.contact-page .giant { font-size: clamp(64px, 13vw, 230px); }
@media (max-width: 860px) {
  .about, .contact-top { grid-template-columns: 1fr; }
  .about .portrait, .contact-top .portrait { max-width: 340px; }
}

/* Clipul decupat din spatele titlului „Let's talk” */
.has-video { position: relative; }
.work-video { position: absolute; z-index: 0; left: clamp(120px, 21vw, 400px); bottom: 0; height: clamp(380px, 86vh, 900px); aspect-ratio: 486 / 864; pointer-events: none; opacity: 0; transition: opacity 1s var(--ease);
  -webkit-mask-image: linear-gradient(#000 84%, transparent), linear-gradient(to right, #000 82%, transparent); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(#000 84%, transparent), linear-gradient(to right, #000 82%, transparent); mask-composite: intersect; }
.work-video.ready { opacity: 1; }
.work-video canvas { width: 100%; height: 100%; display: block; }
.work-video video { position: absolute; width: 1px; height: 1px; opacity: 0; }
.has-video > *:not(.work-video) { position: relative; z-index: 1; }
.contact-top.has-video { display: block; min-height: clamp(420px, 74vh, 800px); }
.cta.has-video { overflow: hidden; }
.cta .work-video { height: min(100%, 820px); left: clamp(200px, 35vw, 640px); }
@media (max-width: 860px) {
  .work-video, .cta .work-video { left: auto; right: -70px; height: clamp(320px, 60vh, 520px); }
  .work-video.ready { opacity: .5; }
}

/* ============ Ajustări după feedback ============ */
/* Textul nu mai e ascuns de animații; doar imaginile apar cu un fade scurt. */
.js .reveal { opacity: 1; transform: none; transition: none; }
.js .case-cover.reveal, .js .svc-visual.reveal, .js .shots.reveal, .js .portrait.reveal { opacity: 0; transition: opacity .5s ease; }
.js .case-cover.reveal.in, .js .svc-visual.reveal.in, .js .shots.reveal.in, .js .portrait.reveal.in { opacity: 1; }
.js .reveal-lines .line > span { transform: none; transition: none; }
.js .hero .line > span { transition-duration: .7s; transition-delay: calc(var(--i) * 70ms); }

/* Antetul paginilor interioare: fără gradient, cu culoarea paginii */
.page-head { padding-block: clamp(130px, 18vh, 190px) clamp(40px, 6vw, 72px); border-bottom: 3px solid var(--c); }
.page-head h1 { font-size: clamp(46px, 7.5vw, 120px); }
.page-index { font: 500 13px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.page-index span { color: var(--c); margin-right: 6px; }
.page-head .jump.in-head { padding: 0; border: 0; margin-top: 30px; }
.page-head .jump a span { color: var(--c); }
.head-stat { margin-top: 26px; font: 500 15px var(--mono); color: var(--muted); }
.head-stat b { color: var(--c); font-size: 22px; font-weight: 500; }

/* Tehnologiile: un rând mic, la final, pentru cine e interesat */
.stack-line { margin-top: 26px; font: 500 12.5px var(--mono); color: var(--muted); }
.stack-line span { text-transform: uppercase; letter-spacing: .08em; }

/* Footer pe trei coloane: meniul exact la mijloc */
footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px 24px; }
.foot-left { justify-self: start; }
.foot-nav { justify-self: center; }
.foot-right { justify-self: end; display: flex; gap: 28px; align-items: center; }
@media (max-width: 860px) {
  footer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .foot-left, .foot-nav, .foot-right { justify-self: center; }
}

/* Formularul de contact */
.contact-bottom { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 110px); align-items: start; margin-top: clamp(56px, 8vw, 110px); }
.contact-bottom .contact-help { margin-top: 0; }
.cform { display: grid; gap: 16px; padding: clamp(22px, 3vw, 36px); border: 1px solid var(--line); border-radius: 24px; background: var(--bg2); }
.cform h2 { font-size: clamp(26px, 2.6vw, 38px); margin-bottom: 4px; }
.cform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cform label { display: grid; gap: 7px; font: 500 12.5px var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.cform label small { text-transform: none; letter-spacing: 0; }
.cform input, .cform select, .cform textarea { width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); font: 400 16px/1.4 var(--body); text-transform: none; letter-spacing: 0; }
.cform textarea { resize: vertical; min-height: 130px; }
.cform input:focus, .cform select:focus, .cform textarea:focus { outline: none; border-color: #f0508c; box-shadow: 0 0 0 3px color-mix(in srgb, #f0508c 25%, transparent); }
.cform .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cform-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 6px; }
.cform .big-btn { border: 0; cursor: pointer; padding: 16px 30px; font-size: 18px; }
.cform .big-btn:disabled { opacity: .6; cursor: wait; }
.cform-note { flex: 1 1 220px; font-size: 14px; color: var(--muted); }
.cform-note.ok { color: #25c07a; } .cform-note.err { color: #ff8a8a; }
@media (max-width: 860px) {
  .contact-bottom, .cform-row { grid-template-columns: 1fr; }
}

/* Elemente 3D */
.scene3d { position: absolute; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1.2s ease; }
.scene3d.ready { opacity: 1; }
.scene3d canvas { width: 100% !important; height: 100% !important; display: block; }
.hero .scene3d { inset: 0; }
.hero > *:not(.blobs):not(.scene3d) { position: relative; z-index: 1; }
.page-head { position: relative; overflow: hidden; }
.page-head .scene3d { top: 0; bottom: 0; right: 0; width: min(42%, 560px); }
.page-head > *:not(.scene3d) { position: relative; z-index: 1; }
@media (max-width: 860px) {
  .page-head .scene3d { width: 46%; opacity: .0; }
  .page-head .scene3d.ready { opacity: .55; }
}
@media (max-width: 860px) {
  .page-head .scene3d { display: none; }
  .hero h1 { margin-top: 18vh; }
}
