/* VegaVision, direction A+C (REDESIGN_SPEC.md section 14), on top of vv-base.css (lab C's system, re-scoped to .vv).
   A's night stage: a near-black teal ground, cinematic type, a film strip for the reels, the founder as a credit.
   C's energy: red as solid rounded blocks, 9:16 phone frames, post-style details, the client row. */

.vv {
  --ground: #06161b;          /* the page: near-black teal */
  --ground-2: #0b1f26;        /* the brand's dark teal: raised panels */
  --ground-3: #12303a;
  --fg: #f4eee6;              /* text on the ground: 16.4:1 */
  --muted: #a9b8bc;           /* on the ground 9.1:1 */
  --line: rgba(244, 238, 230, .14);
  --focus: var(--fg);
  background: var(--ground);
  color: var(--fg);
}
.vv ::selection { background: var(--red-ink); color: #fff; }

/* in-page links glide to their section (system.css sets auto; its reduced-motion rule still wins with !important),
   and the nav ring below, bound to the scroll timeline, draws along with the glide */
html { scroll-behavior: smooth; }
/* the nav's red ring is the page's one scroll indicator: the browser's own scrollbar is hidden (scrolling still works) */
html { scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }

/* ---------------------------------------------------------------- nav: a dark glass pill */
.vv .c-nav__bar {
  background: rgba(11, 31, 38, .78);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: inset 0 0 0 1px rgba(244, 238, 230, .10), 0 16px 40px -18px rgba(0, 0, 0, .8);
}
/* scroll progress: one stroke drawn clockwise round the pill (Nav's .c-nav__ring), from the middle left,
   closing the loop at the end of the page. The perimeter comes from the pill's width (cqw), so the dash
   period is exactly one lap and the offset moves its start a quarter circle back from the rect's own start.
   ponytail: CSS scroll timeline only, browsers without it show no ring */
.vv .c-nav__ring { display: none; }
@property --vv-p { syntax: "<number>"; inherits: false; initial-value: 0; }
@supports (animation-timeline: scroll()) {
  .vv .c-nav__bar { position: relative; container-type: inline-size; }
  .vv .c-nav__ring { display: block; position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
  .vv .c-nav__ring rect {
    --w: calc(100cqw + 22px - 2px); --h: calc(var(--nav-h) - 2px); /* cqw is the content box: add the bar's 16px + 6px padding back */
    --len: calc(2 * (var(--w) - var(--h)) + 3.14159 * var(--h));
    x: 1px; y: 1px; width: var(--w); height: var(--h); rx: calc(var(--h) / 2);
    fill: none; stroke: #ff2a00; stroke-width: 2;
    stroke-dasharray: calc(var(--vv-p) * var(--len)) calc((1 - var(--vv-p)) * var(--len));
    stroke-dashoffset: calc(3.14159 * var(--h) / 4);
    animation: c-nav-progress linear both; animation-timeline: scroll(root);
  }
  @keyframes c-nav-progress { from { --vv-p: 0; } to { --vv-p: 1; } }
}

.vv .c-brand { color: var(--fg); }
@media (hover: hover) and (pointer: fine) { .vv .c-nav__links a:hover { background: rgba(244, 238, 230, .08); } }
.vv .c-skip { background: var(--fg); color: var(--teal); }

/* buttons on the dark ground: the main action is red */
.vv .c-btn--red { background: var(--red-ink); color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .vv .c-btn--red:hover { background: #f23006; box-shadow: 0 12px 28px -12px rgba(228, 36, 0, .8); }
  .vv .c-btn--ghost:hover { background: rgba(244, 238, 230, .08); border-color: var(--fg); box-shadow: none; }
}
.vv .c-btn--ghost { background: transparent; color: var(--fg); border-color: rgba(244, 238, 230, .35); }
.vv .c-btn--line { color: var(--fg); border-color: rgba(244, 238, 230, .3); }
@media (hover: hover) and (pointer: fine) { .vv .c-btn--line:hover { border-color: var(--fg); } }

/* ---------------------------------------------------------------- 1. hero: the dark stage */
.vv .c-block--stage {
  background:
    radial-gradient(120% 70% at 85% 110%, rgba(228, 36, 0, .22), transparent 60%),
    radial-gradient(80% 60% at 0% 0%, rgba(18, 48, 58, .9), transparent 70%),
    var(--ground-2);
  color: var(--fg);
  box-shadow: inset 0 0 0 1px rgba(244, 238, 230, .06);
}
.vv .c-hero .c-cap { --cap: var(--red-ink); }
.vv .c-hero .c-h1 { color: var(--fg); }
.vv .c-hero .c-lead { color: var(--fg); }
/* A's detail: the recording line over the reels */
.vv .c-rec {
  grid-column: 1 / -1; grid-row: 3; align-self: end; display: flex; align-items: center; gap: 12px;
  margin-top: clamp(24px, 2.8vw, 40px); font: 500 13px/1 var(--f-text); letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.vv .c-rec__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(255, 42, 0, .2); }
.vv .c-rec__line { flex: 1; height: 1px; background: var(--line); }
.vv .c-hero__reels { grid-row: 4; margin-top: 14px; }
@media (max-width: 1023px) {
  .vv .c-rec { grid-row: 4; }
  .vv .c-hero__reels { grid-row: 5; }
}
@media (prefers-reduced-motion: no-preference) {
  .vv .c-rec__dot { animation: vv-blink 1.6s steps(1, end) infinite; }
  .vv .c-rec { animation: c-up .6s var(--ease) both; animation-delay: 380ms; }
}
@keyframes vv-blink { 50% { opacity: .25; } }

/* ---------------------------------------------------------------- 2. cases on the dark ground */
.vv .c-h2 { color: var(--fg); }
.vv .c-case__link { color: var(--fg); }
.vv .c-case__line .c-arrow { color: var(--fg); }
.vv .c-case__media { background: var(--ground-3); }
.vv .c-case__panel .c-case__name, .vv .c-case__panel { color: var(--teal); }
.vv .c-case__media--logo { background: #2c4a35; }

/* the client row */
.vv .c-avatar--tray { background: var(--ground); }
.vv .c-toggle__ui { background: var(--fg); color: var(--teal); }
@media (hover: hover) and (pointer: fine) { .vv .c-toggle:hover { background: rgba(244, 238, 230, .08); } }

/* ---------------------------------------------------------------- 3. reels: A's film strip around C's frames */
.vv .c-block--film {
  --hole: 14px;
  background: #030b0e; color: var(--fg); --focus: var(--fg);
  padding-block: calc(var(--sec) + 18px) !important; overflow: clip;
}
.vv .c-block--film::before, .vv .c-block--film::after {
  content: ""; position: absolute; left: 0; right: 0; height: var(--hole);
  background: radial-gradient(circle at 50% 50%, rgba(244, 238, 230, .16) 0 4px, transparent 4.5px) 0 50% / 28px var(--hole) repeat-x;
  -webkit-mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.vv .c-block--film::before { top: 22px; }
.vv .c-block--film::after { bottom: 22px; }
.vv .c-reel--tile .c-reel__frame {
  position: absolute; z-index: 2; right: 14px; top: 14px; padding: 5px 8px; border-radius: 6px; pointer-events: none;
  background: rgba(3, 11, 14, .62); color: var(--fg); font: 500 12px/1 var(--f-text); letter-spacing: .06em; font-variant-numeric: tabular-nums;
}
.vv .c-reel--tile.is-on .c-reel__frame { opacity: 0; }
@media (max-width: 639px) { .vv .c-reel--tile .c-reel__frame { display: none; } }

/* ---------------------------------------------------------------- section scaffold for the new parts */
.vv main > section.c-pad { padding: var(--sec) 0; }
.vv .c-kick {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font: 500 14px/1 var(--f-text); letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.vv .c-kick::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--red); }

/* ---------------------------------------------------------------- 4. services: a numbered list beside one tall frame */
.vv .c-split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.vv .c-split__text { grid-column: 1 / span 7; }
.vv .c-split__media { grid-column: 9 / -1; position: sticky; top: calc(var(--nav-top) + var(--nav-h) + 24px); }
.vv .c-svc { margin-top: clamp(28px, 3.4vw, 48px); border-top: 1px solid var(--line); }
.vv .c-svc li { border-bottom: 1px solid var(--line); }
.vv .c-svc__row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: baseline; gap: 4px 16px; padding: 22px 0; }
.vv .c-svc__n { font: 500 15px/1 var(--f-text); color: var(--red); font-variant-numeric: tabular-nums; }
.vv .c-svc__name { font: 500 clamp(24px, 2.4vw, 36px)/1.1 var(--f-display); letter-spacing: -0.012em; }
.vv .c-svc__line { grid-column: 2; color: var(--muted); font-size: 17px; }
.vv .c-svc__go { grid-row: 1; grid-column: 3; align-self: center; }
.vv a.c-svc__row { color: inherit; transition: background-color .2s; border-radius: 12px; }
.vv a.c-svc__row .c-arrow { transition: transform .3s var(--spring); }
@media (hover: hover) and (pointer: fine) {
  .vv a.c-svc__row:hover .c-svc__name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--red); }
  .vv a.c-svc__row:hover .c-arrow { transform: translateX(4px); }
}
.vv .c-tall { margin: 0; aspect-ratio: 9 / 16; max-height: calc(100svh - 140px); width: 100%; border-radius: var(--r-xl); overflow: hidden; background: var(--ground-3); }
.vv .c-tall img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .6s var(--ease); }
@media (max-width: 1023px) {
  .vv .c-split__text, .vv .c-split__media { grid-column: 1 / -1; }
  .vv .c-split__media { position: static; margin-top: 40px; }
  .vv .c-tall { aspect-ratio: 4 / 5; max-height: 70svh; }
}
@media (max-width: 639px) {
  .vv .c-svc__row { grid-template-columns: 36px minmax(0, 1fr); padding: 18px 0; }
  .vv .c-svc__go { display: none; }
}

/* ---------------------------------------------------------------- 5. process: four phone-frame steps */
.vv .c-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); counter-reset: step; }
.vv .c-step { display: grid; align-content: start; gap: 10px; min-width: 0; }
.vv .c-step__img { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--ground-3); margin-bottom: 10px; }
.vv .c-step__img img { width: 100%; height: 100%; object-fit: cover; }
.vv .c-step__n {
  position: absolute; left: 12px; top: 12px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--red-ink); color: #fff; font: 500 18px/1 var(--f-display);
}
.vv .c-step h3 { font-size: clamp(21px, 1.7vw, 26px); line-height: 1.12; letter-spacing: -0.01em; }
.vv .c-step p { color: var(--muted); font-size: 17px; }
@media (max-width: 1023px) { .vv .c-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; } }
@media (max-width: 639px) { .vv .c-steps { gap: 10px; row-gap: 28px; } .vv .c-step h3 { font-size: 19px; } .vv .c-step p { font-size: 15px; } }

/* ---------------------------------------------------------------- 6. the founder, as a director's credit */
.vv .c-credit { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
.vv .c-credit .c-portrait { grid-column: 1 / span 5; grid-row: 1 / span 2; }
.vv .c-credit__name {
  grid-column: 6 / -1; grid-row: 1; margin-left: clamp(-120px, -6vw, -40px); position: relative; z-index: 2;
  font: 500 clamp(64px, 10.4vw, 168px)/.86 var(--f-display); letter-spacing: -0.035em; color: var(--fg);
  text-shadow: 0 4px 30px rgba(6, 22, 27, .6);
}
.vv .c-credit__name span { display: block; }
.vv .c-credit__name span + span { color: var(--red); }
.vv .c-credit__body { grid-column: 7 / -1; grid-row: 2; display: grid; gap: 24px; padding-top: clamp(24px, 3vw, 40px); }
.vv .c-credit__role { font: 500 14px/1.2 var(--f-text); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.vv .c-credit .c-statement { font-size: clamp(22px, 2vw, 30px); line-height: 1.3; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .vv .c-fill { background-image: linear-gradient(90deg, var(--fg) 50%, #56686e 50%); }
  }
}
@media (max-width: 1023px) {
  .vv .c-credit .c-portrait { grid-column: 1 / -1; grid-row: 1; max-width: 560px; }
  .vv .c-credit__name { grid-column: 1 / -1; grid-row: 2; margin: -0.42em 0 0 0; }
  .vv .c-credit__body { grid-column: 1 / -1; grid-row: 3; }
}

/* ---------------------------------------------------------------- 7. FAQ */
.vv .c-faq { grid-column: 6 / -1; border-top: 1px solid var(--line); }
.vv .c-faq details { border-bottom: 1px solid var(--line); }
.vv .c-faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding: 18px 0;
  cursor: pointer; list-style: none;
}
.vv .c-faq summary::-webkit-details-marker { display: none; }
.vv .c-faq summary h3 { font-size: clamp(19px, 1.6vw, 24px); line-height: 1.2; letter-spacing: -0.01em; }
.vv .c-faq summary::after {
  content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%;
  background:
    linear-gradient(var(--fg), var(--fg)) 50% 50% / 12px 2px no-repeat,
    linear-gradient(var(--fg), var(--fg)) 50% 50% / 2px 12px no-repeat,
    rgba(244, 238, 230, .08);
  transition: transform .3s var(--spring), background-color .2s;
}
.vv .c-faq details[open] summary::after { transform: rotate(45deg); background-color: var(--red-ink); }
.vv .c-faq details p { padding: 0 56px 22px 0; color: var(--muted); font-size: 17px; max-width: 60ch; }
@media (hover: hover) and (pointer: fine) { .vv .c-faq summary:hover h3 { color: #fff; } }
.vv .c-faq-head { grid-column: 1 / span 4; }
.vv .c-faq-head p { color: var(--muted); margin-top: 18px; }
.vv .c-faq-head a { color: var(--fg); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--red); }
@media (max-width: 1023px) {
  .vv .c-faq-head, .vv .c-faq { grid-column: 1 / -1; }
  .vv .c-faq { margin-top: 32px; }
}

/* ---------------------------------------------------------------- 8. the close: the red block holding the form */
.vv .c-close__grid { align-items: start; }
.vv .c-close__h { color: var(--teal); }
.vv .c-close .c-cap { --cap: var(--teal); }
.vv .c-close__text { grid-column: 1 / span 6; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-content: start; }
.vv .c-close__text > * { grid-column: 1 / -1; }
.vv .c-close__text .c-lead { color: var(--teal); max-width: 30ch; }
.vv .c-close__mail { color: var(--teal); }
.vv .c-formcard { grid-column: 8 / -1; background: #fff; color: var(--teal); border-radius: var(--r-lg); padding: clamp(22px, 2.6vw, 36px); box-shadow: 0 30px 60px -34px rgba(11, 31, 38, .7); --focus: var(--teal); }
.vv .c-formcard .form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; }
.vv .c-formcard .field { display: grid; gap: 8px; min-width: 0; }
.vv .c-formcard .field--full { grid-column: 1 / -1; }
.vv .c-formcard label { font: 500 14px/1.2 var(--f-text); }
.vv .c-formcard :is(input, select, textarea) {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid #c9d1d3; background: #f6f7f7;
  font: 400 16px/1.4 var(--f-text); color: var(--teal); transition: border-color .2s, background-color .2s;
}
.vv .c-formcard textarea { resize: vertical; min-height: 120px; }
.vv .c-formcard :is(input, select, textarea):focus { outline: 0; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 3px rgba(11, 31, 38, .18); }
.vv .c-formcard [aria-invalid="true"] { border-color: #b51d00; }
.vv .c-formcard .field__error { color: #b51d00; font-size: 14px; font-weight: 500; }
.vv .c-formcard .form__actions { grid-column: 1 / -1; display: grid; gap: 12px; justify-items: start; }
.vv .c-formcard .form__status { font-size: 15px; font-weight: 500; min-height: 1.4em; }
.vv .c-formcard .c-btn--ink { width: 100%; }
.vv .field-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 1023px) {
  .vv .c-close__text, .vv .c-formcard { grid-column: 1 / -1; }
}
@media (max-width: 639px) { .vv .c-formcard .form { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- footer */
.vv .c-foot { background: #030b0e; margin-top: 0; }

.vv .c-svc__lead { margin-top: 20px; color: var(--muted); font-size: clamp(17px, 1.4vw, 20px); max-width: 46ch; }

/* ================================================================ case study pages (app/portfolio/[slug]) */
.vv .c-chero > .c-block { padding-bottom: clamp(24px, 3vw, 48px); }
.vv .c-chero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; min-height: min(760px, calc(100svh - var(--nav-h) - var(--nav-top) - 60px)); }
.vv .c-chero__text { grid-column: 1 / span 6; display: grid; gap: 20px; justify-items: start; padding: 12px 0; }
/* the home hero's grid placements (.c-hero .c-h1, .c-sticker) must not apply inside this one column */
.vv .c-chero__text { grid-template-columns: minmax(0, 1fr); }
.vv .c-chero__text > * { grid-column: 1 / -1 !important; grid-row: auto !important; margin-left: 0; margin-right: 0; }
.vv .c-chero__h { font-size: clamp(48px, 6.4vw, 104px); }
.vv .c-chero__title { font: 500 clamp(22px, 2vw, 30px)/1.2 var(--f-display); letter-spacing: -0.01em; max-width: 24ch; color: var(--fg); }
.vv .c-chero__text .c-lead { color: var(--muted); max-width: 44ch; }
.vv .c-chero__fact { margin: 4px 0 0; padding: 14px 22px; }
.vv .c-chero__media { grid-column: 8 / -1; margin: 0; aspect-ratio: 4 / 5; border-radius: var(--r-xl); overflow: hidden; background: var(--ground-3); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.vv .c-chero__media img { width: 100%; height: 100%; object-fit: cover; }
.vv .c-chero__media--logo { display: grid; place-items: center; background: #2c4a35; }
.vv .c-chero__media--logo img { width: 58%; height: auto; aspect-ratio: 1; border-radius: 50%; }
.vv .c-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--muted); font-weight: 500; font-size: 16px; }
.vv .c-back .c-arrow { transform: rotate(180deg); transition: transform .3s var(--spring); }
@media (hover: hover) and (pointer: fine) { .vv .c-back:hover { color: var(--fg); } .vv .c-back:hover .c-arrow { transform: rotate(180deg) translateX(4px); } }
@media (max-width: 1023px) {
  .vv .c-chero__grid { min-height: 0; row-gap: 32px; }
  .vv .c-chero__text, .vv .c-chero__media { grid-column: 1 / -1; }
  .vv .c-chero__media { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: no-preference) {
  .vv .c-chero__text > :not(h1) { animation: c-up .8s var(--ease) both; animation-delay: 300ms; }
  .vv .c-chero__media { animation: c-reel 1s var(--ease) both; animation-delay: 200ms; }
}

.vv .c-story { margin-top: 24px; font: 400 clamp(19px, 1.6vw, 23px)/1.55 var(--f-text); color: var(--fg); max-width: 60ch; }
.vv .c-split__text--wide { grid-column: 1 / span 9; }
.vv .c-svc__name--text { font: 400 clamp(19px, 1.6vw, 22px)/1.45 var(--f-text); letter-spacing: 0; }

/* results: the red block with the screenshots */
.vv .c-results > .c-block { padding: var(--sec) 0; }
.vv .c-results__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; row-gap: 40px; }
.vv .c-results__text { grid-column: 1 / span 5; display: grid; gap: 24px; color: var(--teal); }
.vv .c-results__text .c-h2, .vv .c-results__text .c-lead { color: var(--teal); }
.vv .c-results__shots { grid-column: 7 / -1; }
@media (max-width: 1023px) { .vv .c-results__text, .vv .c-results__shots { grid-column: 1 / -1; } }

/* the reel grid in three columns (six reels) */
.vv .c-reels__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1040px; margin-inline: auto; }
@media (max-width: 1023px) { .vv .c-reels__grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* other cases: three wide cards */
.vv .c-cases--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vv .c-case__media--wide { aspect-ratio: 4 / 3; }
.vv .c-case__media--wide.c-case__media--logo > img { width: auto; height: 62%; }
@media (max-width: 639px) {
  .vv .c-cases--3 { grid-template-columns: 1fr; }
  .vv .c-cases--3 .c-case:last-child { grid-column: auto; }
  .vv .c-cases--3 .c-case:last-child .c-case__media { aspect-ratio: 4 / 3; }
}

/* the case photograph carries across from the card on "/" (spec 13.1) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }
}

/* ================================================================ legal pages */
.vv main > section.c-legal { padding: calc(var(--nav-top) + var(--nav-h) + clamp(48px, 6vw, 96px)) 0 var(--sec); }
.vv .c-legal__wrap { max-width: 820px; }
.vv .c-legal__h { font-size: clamp(40px, 5vw, 72px); }
.vv .c-legal__lead { margin-top: 20px; color: var(--muted); max-width: 52ch; }
.vv .c-prose { margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); padding-top: 8px; }
.vv .c-prose h2 { font-size: clamp(22px, 2vw, 28px); line-height: 1.2; margin: 40px 0 14px; }
.vv .c-prose h3 { font-size: 20px; margin: 28px 0 10px; }
.vv .c-prose p, .vv .c-prose li { color: #c9d3d6; font-size: 17px; line-height: 1.7; max-width: 68ch; }
.vv .c-prose p + p { margin-top: 14px; }
.vv .c-prose ul { margin: 12px 0; padding-left: 22px; list-style: disc; }
.vv .c-prose li + li { margin-top: 6px; }
.vv .c-prose strong { color: var(--fg); font-weight: 500; }
.vv .c-prose a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; }

/* ================================================================ software page */
.vv .c-sw__h { font-size: clamp(40px, 4.6vw, 72px); }
.vv .c-stack { grid-column: 8 / -1; border-radius: var(--r-xl); background: #030b0e; box-shadow: inset 0 0 0 1px rgba(244, 238, 230, .08), 0 40px 80px -40px rgba(0, 0, 0, .8); overflow: hidden; }
.vv .c-stack__bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--line); font: 500 13px/1 var(--f-text); color: var(--muted); }
.vv .c-stack__bar span { width: 11px; height: 11px; border-radius: 50%; background: rgba(244, 238, 230, .18); }
.vv .c-stack__bar span:first-child { background: var(--red); }
.vv .c-stack__bar b { margin-left: 10px; font-weight: 500; letter-spacing: .04em; }
.vv .c-stack__list { padding: 10px 22px 18px; }
.vv .c-stack__list li { display: flex; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(244, 238, 230, .07); font: 500 clamp(24px, 2.4vw, 36px)/1.1 var(--f-display); letter-spacing: -0.015em; }
.vv .c-stack__list li:last-child { border-bottom: 0; }
.vv .c-stack__n { font: 500 13px/1 var(--f-text); color: var(--red); font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: no-preference) {
  .vv .c-stack__list li { animation: c-up .6s var(--ease) both; animation-delay: calc(300ms + var(--i) * 70ms); }
}
@media (max-width: 1023px) { .vv .c-stack { grid-column: 1 / -1; } }

.vv .c-offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.vv .c-offer {
  display: grid; align-content: start; gap: 12px; padding: clamp(22px, 2.4vw, 32px); border-radius: var(--r-lg);
  background: var(--ground-2); box-shadow: inset 0 0 0 1px rgba(244, 238, 230, .06); transition: transform .35s var(--spring), background-color .2s;
}
.vv .c-offer h3 { font-size: clamp(22px, 1.9vw, 28px); line-height: 1.12; letter-spacing: -0.01em; }
.vv .c-offer p { color: var(--muted); font-size: 17px; }
.vv .c-offer:nth-child(1) { background: var(--red-ink); }
.vv .c-offer:nth-child(1) p { color: #fff; }
.vv .c-offer:nth-child(1) .c-svc__n { color: #fff; }
@media (max-width: 1023px) { .vv .c-offers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .vv .c-offers { grid-template-columns: 1fr; } }
.vv .c-sw-steps { margin-top: 0; }
.vv main > section.c-404 { min-height: 70svh; display: flex; align-items: center; }

/* ================================================================ restored original sections (home) */
/* metrics: "Transformăm ideile în performanță." and the four original figures */
.vv .c-metrics__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 40px; align-items: center; }
.vv .c-metrics__text { grid-column: 1 / span 4; display: grid; gap: 22px; justify-items: start; }
.vv .c-metrics__text .c-lead { color: var(--muted); }
.vv .c-metrics__list { grid-column: 6 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); margin: 0; }
.vv .c-metric { display: grid; align-content: space-between; gap: 28px; min-height: 220px; padding: clamp(22px, 2.4vw, 32px); border-radius: var(--r-lg); background: var(--ground-2); box-shadow: inset 0 0 0 1px rgba(244, 238, 230, .06); }
.vv .c-metric dt { font: 500 clamp(56px, 6vw, 96px)/.9 var(--f-display); letter-spacing: -0.035em; color: var(--fg); }
.vv .c-metric dd { margin: 0; color: var(--muted); font-size: 17px; max-width: 26ch; }
.vv .c-metric--red { background: var(--red); }
.vv .c-metric--red dt, .vv .c-metric--red dd { color: var(--teal); }
@media (max-width: 1023px) { .vv .c-metrics__text, .vv .c-metrics__list { grid-column: 1 / -1; } }
@media (max-width: 639px) { .vv .c-metric { min-height: 170px; gap: 18px; } .vv .c-metric dd { font-size: 15px; } }

/* services: each row opens to the original description */
.vv .c-svc--open details { border-bottom: 1px solid var(--line); }
.vv .c-svc--open summary { list-style: none; cursor: pointer; grid-template-columns: 56px minmax(0, 1fr) 36px; }
.vv .c-svc--open summary::-webkit-details-marker { display: none; }
.vv .c-svc--open summary::after {
  content: ""; grid-row: 1; grid-column: 3; align-self: center; width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(var(--fg), var(--fg)) 50% 50% / 12px 2px no-repeat, linear-gradient(var(--fg), var(--fg)) 50% 50% / 2px 12px no-repeat, rgba(244, 238, 230, .08);
  transition: transform .3s var(--spring), background-color .2s;
}
.vv .c-svc--open details[open] summary::after { transform: rotate(45deg); background-color: var(--red-ink); }
@media (hover: hover) and (pointer: fine) { .vv .c-svc--open summary:hover .c-svc__name { color: #fff; } }
.vv .c-svc__points { margin: -6px 0 0; padding: 0 0 22px 72px; display: grid; gap: 8px; }
.vv .c-svc__points li { position: relative; color: #c9d3d6; font-size: 16px; line-height: 1.55; padding-left: 18px; }
.vv .c-svc__points li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.vv .c-svc__points .c-svc__more { padding-left: 0; margin-top: 6px; }
.vv .c-svc__points .c-svc__more::before { display: none; }
.vv .c-svc__more a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; color: var(--fg); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 5px; }
@media (max-width: 639px) {
  .vv .c-svc--open summary { grid-template-columns: 36px minmax(0, 1fr) 36px; }
  .vv .c-svc__points { padding-left: 52px; }
}

/* benefits: three cards */
.vv .c-steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1023px) { .vv .c-steps--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 639px) { .vv .c-steps--3 { grid-template-columns: 1fr; } .vv .c-steps--3 .c-step__img { aspect-ratio: 16 / 10; } }

/* the story: the title set large, mission and vision side by side */
.vv .c-story__h { font-size: clamp(40px, 5.6vw, 92px); line-height: 1; letter-spacing: -0.03em; max-width: 16ch; }
.vv .c-story__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 72px); margin-top: clamp(40px, 5vw, 72px); padding-top: 32px; border-top: 1px solid var(--line); }
.vv .c-story__cols h3 { display: inline-flex; align-items: center; gap: 10px; font-size: clamp(20px, 1.6vw, 24px); margin-bottom: 14px; }
.vv .c-story__cols h3::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--red); }
.vv .c-story__cols p { color: #c9d3d6; font-size: 18px; line-height: 1.65; }
@media (max-width: 767px) { .vv .c-story__cols { grid-template-columns: 1fr; } }

/* case results: the original three figures */
.vv .c-rstats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 8px 0 0; }
.vv .c-rstats > div { padding: 18px 16px; border-radius: var(--r-md); background: rgba(11, 31, 38, .1); box-shadow: inset 0 0 0 1.5px rgba(11, 31, 38, .22); }
.vv .c-rstats dt { font: 500 clamp(36px, 3.6vw, 56px)/.95 var(--f-display); letter-spacing: -0.03em; color: var(--teal); }
.vv .c-rstats dd { margin: 10px 0 0; font-size: 15px; font-weight: 500; line-height: 1.35; color: var(--teal); }
.vv .c-results__grid--stats .c-results__text { grid-column: 1 / -1; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
.vv .c-results__grid--stats .c-results__text > .c-h2 { grid-column: 1 / span 5; }
.vv .c-results__grid--stats .c-results__text > .c-lead { grid-column: 1 / span 5; }
.vv .c-results__grid--stats .c-rstats { grid-column: 7 / -1; grid-row: 1 / span 2; }
@media (max-width: 1023px) {
  .vv .c-results__grid--stats .c-results__text > * { grid-column: 1 / -1 !important; grid-row: auto !important; }
}
@media (max-width: 639px) { .vv .c-rstats { gap: 8px; } .vv .c-rstats > div { padding: 14px 10px; } .vv .c-rstats dd { font-size: 13px; } }
.vv .c-head--stack { display: block; }

/* hero: the four original metrics, a strip above the reels */
.vv .c-hstats {
  grid-column: 1 / -1; grid-row: 3; margin: clamp(28px, 3vw, 44px) 0 0; padding-top: 22px; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap);
}
.vv .c-hstat { display: grid; gap: 8px; align-content: start; }
.vv .c-hstat dt { font: 500 clamp(36px, 3.6vw, 56px)/.92 var(--f-display); letter-spacing: -0.03em; color: var(--fg); }
.vv .c-hstat:first-child dt { color: var(--red); }
.vv .c-hstat dd { margin: 0; font-size: 15px; line-height: 1.35; color: var(--muted); max-width: 24ch; }
@media (max-width: 1023px) { .vv .c-hstats { grid-row: 4; } }
@media (max-width: 639px) {
  .vv .c-hstats { grid-template-columns: 1fr 1fr; row-gap: 20px; margin-top: 24px; padding-top: 18px; }
  .vv .c-hstat dd { font-size: 13.5px; }
}
@media (prefers-reduced-motion: no-preference) {
  .vv .c-hstat { animation: c-up .7s var(--ease) both; animation-delay: calc(520ms + var(--i) * 90ms); }
}
.vv .c-story__lead { margin-top: 20px; color: var(--muted); max-width: 46ch; }

/* hero, wide (1200+): a split. Left: the headline, then the lead and the buttons. Right: the three reels,
   as tall as the left column. Under both: the four metrics. Narrower screens keep the stacked layout. */
@media (min-width: 1200px) {
  .vv .c-hero__grid { align-items: center; }
  .vv .c-hero .c-h1 { grid-column: 1 / span 6 !important; grid-row: 1 !important; align-self: end; font-size: clamp(56px, 4.6vw, 80px); }
  .vv .c-hero__aside { grid-column: 1 / span 6 !important; grid-row: 2 !important; align-self: start; margin: clamp(24px, 2.4vw, 36px) 0 0 !important; }
  .vv .c-hero__aside .c-lead { max-width: 40ch; }
  .vv .c-hero__reels { grid-column: 7 / -1 !important; grid-row: 1 / span 2 !important; margin: 0 !important; align-self: center; }
  .vv .c-hstats { grid-row: 3 !important; }
}
/* the headline's lines rise and fade in, with nothing clipped (the comma under ș and ț stays whole) */
.vv .c-hero .c-line { overflow: visible; }
@media (prefers-reduced-motion: no-preference) {
  .vv .c-hero .c-line > span:not(.c-cap) { animation-name: vv-rise; }
}
@keyframes vv-rise { from { opacity: 0; transform: translateY(28px); } }
.vv .c-hero .c-cap { padding-bottom: .08em; }
/* 1024 to 1199: stacked, the lead and buttons start on the left edge under the headline */
@media (min-width: 1024px) and (max-width: 1199px) {
  .vv .c-hero__aside { grid-column: 1 / -1 !important; grid-row: 2 !important; }
  .vv .c-hero__aside .c-lead { max-width: 52ch; }
  .vv .c-hstats { grid-row: 3 !important; }
  .vv .c-hero__reels { grid-row: 4 !important; }
}

/* ================================================================ cookie notice (components/common/CookieConsent.jsx) */
.vv.c-cookie {
  position: fixed; z-index: 70; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom));
  max-width: 720px; margin-inline: auto; padding: 18px 20px; border-radius: 22px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px;
  background: rgba(11, 31, 38, .92); color: var(--fg);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: inset 0 0 0 1px rgba(244, 238, 230, .12), 0 20px 50px -20px rgba(0, 0, 0, .9);
  font-size: 15px; line-height: 1.5;
}
.vv.c-cookie p { margin: 0; flex: 1 1 320px; color: var(--muted); }
.vv.c-cookie a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.vv.c-cookie .c-cookie__actions { display: flex; gap: 10px; flex-shrink: 0; }
