/* ============================================================
   Live assets — real video + photos pulled from index2/,
   dressed to match the monochrome paper+ink system.
   ============================================================ */

/* shared floating proof chip (generic, reusable) ------------------- */
.media-chip {
  position: absolute; z-index: 3;
  background: oklch(1 0 0 / .82); backdrop-filter: blur(10px) saturate(1.4);
  border: 1px solid var(--line-2); border-radius: 14px; padding: 12px 15px;
  display: flex; align-items: center; gap: 11px;
  box-shadow: 0 18px 40px -22px oklch(0.205 0.012 70 / .5);
}
.media-chip .ic { width: 30px; height: 30px; border-radius: 8px; background: var(--signal-bg); color: var(--signal); display: grid; place-items: center; font-family: var(--ff-mono); font-size: 13px; flex: none; }
.media-chip b { font-size: 14px; font-weight: 700; letter-spacing: -0.01em; }
.media-chip span { display: block; font-family: var(--ff-mono); font-size: 10px; color: var(--muted); letter-spacing: .04em; margin-top: 2px; }

/* ===================== SHOWREEL (hero.mp4) ===================== */
.showreel { padding-block: clamp(40px, 6vw, 84px); }
.showreel .sr-eyebrow {
  font-family: var(--ff-mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); text-align: center; margin-bottom: 22px;
}
.showreel .sr-eyebrow .dot {
  display: inline-block; width: 5px; height: 5px; border-radius: 50%;
  background: var(--signal); margin-right: 9px; vertical-align: middle;
}
.sr-frame {
  position: relative; max-width: 1040px; margin: 0 auto; aspect-ratio: 16 / 9;
  border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--ink);
  box-shadow: 0 60px 120px -50px oklch(0.205 0.012 70 / .42), 0 18px 44px -28px oklch(0.205 0.012 70 / .26);
}
.sr-frame video { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.94) contrast(1.02); }
.sr-frame .media-chip { bottom: 22px; right: 22px; }
@media (max-width: 560px) { .sr-frame .media-chip { bottom: 14px; right: 14px; padding: 9px 12px; } }

/* ===================== CHAPTER BANDS (4 photos) =====================
   Full-bleed cinematic dividers between stages. Desaturated + ink
   scrim so the colour imagery sits inside the monochrome system. */
/* ===================== CHAPTER (split: image one side, story the other) =====================
   Clean editorial rows — full image in a card on one side, story on the other.
   Alternates left/right for rhythm. No text overlaid on the photo. */
.chapter {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(270px, 0.62fr);
  align-items: center;
  gap: clamp(22px, 3vw, 52px);
  max-width: min(1480px, 94vw); margin: clamp(56px, 9vw, 120px) auto;
  padding-inline: var(--pad);
}
.chapter.flip { grid-template-columns: minmax(270px, 0.62fr) minmax(0, 2fr); }
.chapter .ch-media {
  position: relative; border-radius: 22px; overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line-2);
  box-shadow: 0 50px 90px -46px oklch(0.205 0.012 70 / .6);
}
.chapter .ch-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 76%; display: block;
  filter: saturate(.97) contrast(1.02);
  transition: transform .9s cubic-bezier(.16,.84,.28,1);
}
.chapter:hover .ch-media img { transform: scale(1.035); }
.chapter .ch-inner {
  display: flex; align-items: flex-start; gap: clamp(16px, 1.8vw, 28px);
  color: var(--ink);
}
.chapter .ch-num {
  font-family: var(--ff-mono); font-weight: 500; line-height: .82;
  font-size: clamp(40px, 5vw, 86px); color: var(--signal);
  letter-spacing: -0.02em; flex: none;
}
.chapter .ch-text { padding-top: clamp(4px, .6vw, 10px); }
.chapter .ch-label {
  font-family: var(--ff-mono); font-size: clamp(11px, 1.1vw, 13px); letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 12px;
}
.chapter .ch-label .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); margin-right: 10px; vertical-align: middle; }
.chapter .ch-title {
  font-size: clamp(28px, 3.6vw, 52px); font-weight: 700; letter-spacing: -0.03em;
  line-height: 1.04; text-wrap: balance; max-width: 14ch; color: var(--ink);
}
.chapter .ch-title .soft { color: var(--muted); }

/* alternate rows: image on the right */
.chapter.flip .ch-media { order: 2; }

/* ===================== STAGE HEAD WITH VISUAL (unified element) =====================
   Image + story merged into one block at the top of a stage. */
/* widen the whole story spine so the unified step elements get bigger */
.story { max-width: min(1600px, 95vw); }
.stage-head.has-visual {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(290px, 0.66fr) minmax(0, 2.2fr);
  gap: clamp(24px, 3vw, 58px);
  align-items: center;
}
.stage-head.has-visual .sh-copy {
  min-width: 0; display: grid; grid-template-columns: auto 1fr;
  gap: clamp(16px, 1.5vw, 28px); align-items: start;
}
.stage-head.has-visual.flip { grid-template-columns: minmax(0, 2.2fr) minmax(290px, 0.66fr); }
.stage-head.has-visual.flip .sh-visual { order: -1; }
/* vertical step marker: big number + word running top→bottom */
.sh-side { display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 4px; }
.sh-num { font-family: var(--ff-mono); font-weight: 500; font-size: clamp(30px, 3.2vw, 52px); line-height: 1; color: var(--signal); }
.sh-vword {
  writing-mode: vertical-rl; text-orientation: mixed;
  font-family: var(--ff-mono); font-size: clamp(22px, 2.6vw, 42px); font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink);
  border-top: 2px solid var(--ink); padding-top: 18px;
}
.sh-main { min-width: 0; }
.sh-main h2 { margin-top: 0; }
.sh-main .sub { margin-top: 16px; }
.stage-head.has-visual .sh-visual {
  margin: 0; border-radius: 22px; overflow: hidden;
  aspect-ratio: 3 / 2; border: 1px solid var(--line-2);
  box-shadow: 0 52px 96px -46px oklch(0.205 0.012 70 / .62);
}
.stage-head.has-visual .sh-visual img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 74%; display: block;
  filter: saturate(.97) contrast(1.02);
  transition: transform .9s cubic-bezier(.16,.84,.28,1);
}
.stage-head.has-visual:hover .sh-visual img { transform: scale(1.04); }
/* text-removed step: thin marker strip + a much bigger, full image */
.stage-head.has-visual.big-media { grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 2.4vw, 44px); }
.stage-head.has-visual.big-media .sh-copy { grid-template-columns: auto; }
.stage-head.has-visual.big-media .sh-visual { aspect-ratio: 16 / 9; }
.stage-head.has-visual.big-media .sh-visual img { object-position: 50% 50%; }
.stage-head.has-visual.big-media.flip { grid-template-columns: minmax(0, 1fr) auto; }
@media (max-width: 760px) {
  .stage-head.has-visual, .stage-head.has-visual.flip { grid-template-columns: 1fr; gap: 20px; }
  .stage-head.has-visual .sh-visual { order: -1; }
  .sh-side { flex-direction: row; align-items: center; gap: 12px; }
  .sh-vword { writing-mode: horizontal-tb; border-top: none; padding-top: 0; }
}

@media (max-width: 760px) {
  .chapter, .chapter.flip { grid-template-columns: 1fr; gap: 20px; margin-block: clamp(44px, 12vw, 72px); }
  .chapter.flip .ch-media { order: 0; }
}

/* ===================== STAGE 03 — compact + consistent with 1 & 2 ===================== */
.growth { gap: 14px; }
.chart-head, .orders-head { padding: 12px 18px; }
.chart-body { padding: 12px 16px 2px; }
.chart-body svg { height: 138px; }
.order-row { padding: 8px 18px; }
/* services as a single contained card, like the channels element */
.svc-list {
  margin-top: 26px !important;
  border: 1px solid var(--line-2); border-top: 1px solid var(--line-2);
  border-radius: var(--r-lg); overflow: hidden; background: var(--surface);
  box-shadow: 0 40px 90px -60px oklch(0.205 0.012 70 / .28);
}
.svc { padding: 16px 22px; gap: 20px; }
.svc:last-child { border-bottom: none; }
.svc .s-name { font-size: clamp(16px, 1.7vw, 20px); }
.svc .s-name small { margin-top: 3px; }

/* Scale growth timeline */
.timeline { margin-top: 30px; position: relative; }
.tl-track { position: absolute; top: 14px; left: 0; right: 0; height: 2px; background: var(--line); overflow: hidden; }
.tl-track i { position: absolute; inset: 0; width: 0; background: var(--signal); transition: width 1.5s cubic-bezier(.3,.7,.3,1) .2s; }
.timeline.in .tl-track i { width: 100%; }
.tl-steps { display: grid; grid-template-columns: repeat(4, 1fr); }
.tl-step { position: relative; padding: 34px 18px 0 0; }
.tl-dot { position: absolute; top: 8px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); box-shadow: 0 0 0 4px var(--paper); }
.tl-goal .tl-dot { background: var(--signal); border-color: var(--signal); }
.tl-when { display: block; font-family: var(--ff-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tl-what { display: block; margin-top: 6px; font-size: clamp(18px, 2vw, 27px); font-weight: 700; letter-spacing: -0.025em; color: var(--ink); }
.tl-goal .tl-what { color: var(--signal); }
/* dynamic: nodes pop in sequence as the line fills, goal node pulses */
.tl-step { opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease; }
.tl-dot { transform: scale(.3); transition: transform .45s cubic-bezier(.2,1.4,.4,1); }
.timeline.in .tl-step { opacity: 1; transform: none; }
.timeline.in .tl-step .tl-dot { transform: scale(1); }
.timeline.in .tl-step:nth-child(1), .timeline.in .tl-step:nth-child(1) .tl-dot { transition-delay: .15s; }
.timeline.in .tl-step:nth-child(2), .timeline.in .tl-step:nth-child(2) .tl-dot { transition-delay: .5s; }
.timeline.in .tl-step:nth-child(3), .timeline.in .tl-step:nth-child(3) .tl-dot { transition-delay: .9s; }
.timeline.in .tl-step:nth-child(4), .timeline.in .tl-step:nth-child(4) .tl-dot { transition-delay: 1.3s; }
.timeline.in .tl-goal .tl-dot { animation: tlPulse 2.2s ease-out 1.7s infinite; }
@keyframes tlPulse {
  0% { box-shadow: 0 0 0 4px var(--paper), 0 0 0 0 oklch(0.6 0.13 250 / .5); }
  70%, 100% { box-shadow: 0 0 0 4px var(--paper), 0 0 0 14px oklch(0.6 0.13 250 / 0); }
}
@media (prefers-reduced-motion: reduce) {
  .tl-step, .tl-dot { opacity: 1; transform: none; transition: none; }
  .timeline.in .tl-goal .tl-dot { animation: none; }
}
@media (max-width: 680px) {
  .tl-steps { grid-template-columns: 1fr 1fr; gap: 24px 0; }
}

/* transition intro: complex board → 4 simple steps */
.story-intro { text-align: center; max-width: 720px; margin: 0 auto clamp(44px, 6vw, 84px); padding-top: clamp(52px, 7vw, 96px); }
.si-eyebrow { font-family: var(--ff-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.si-eyebrow .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); margin-right: 9px; vertical-align: middle; }
.si-title { font-size: clamp(30px, 4.4vw, 56px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.06; color: var(--ink); text-wrap: balance; }
.si-title .si-hl { color: var(--signal); }
.si-sub { margin: 18px auto 0; max-width: 52ch; font-size: clamp(16px, 1.7vw, 19px); color: var(--muted); line-height: 1.55; text-wrap: pretty; }

/* official partners band */
.partners { text-align: center; padding-block: clamp(40px, 5.5vw, 72px); border-top: 1px solid var(--line-2); margin-top: clamp(24px, 4vw, 56px); }
.partners-label { font-family: var(--ff-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.partners-label .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); margin-right: 9px; vertical-align: middle; }
.partners-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(20px, 3vw, 44px); }
.plogo { width: clamp(130px, 16vw, 190px); height: 84px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--surface); display: block; overflow: hidden; }
.partners-row .plogo { opacity: 0; transform: translateY(12px); transition: opacity .55s ease, transform .55s cubic-bezier(.2,.8,.2,1); }
.partners.in .partners-row .plogo { opacity: 1; transform: none; }
.partners.in .plogo:nth-child(1) { transition-delay: .05s; }
.partners.in .plogo:nth-child(2) { transition-delay: .18s; }
.partners.in .plogo:nth-child(3) { transition-delay: .31s; }
.partners.in .plogo:nth-child(4) { transition-delay: .44s; }

/* portfolio */
.portfolio { padding-top: clamp(48px, 7vw, 90px); border-top: 1px solid var(--line-2); margin-top: clamp(8px, 2vw, 24px); }
.pf-head { text-align: center; margin-bottom: clamp(28px, 4vw, 48px); }
.pf-eyebrow { font-family: var(--ff-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.pf-eyebrow .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); margin-right: 9px; vertical-align: middle; }
.pf-title { font-size: clamp(28px, 3.8vw, 48px); font-weight: 700; letter-spacing: -0.03em; color: var(--ink); text-wrap: balance; }
.pf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 22px); }
@media (max-width: 980px) { .pf-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .pf-grid { grid-template-columns: 1fr; } }
.pf-card {
  display: block; text-decoration: none; color: inherit;
  border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; background: var(--surface);
  box-shadow: 0 40px 90px -60px oklch(0.205 0.012 70 / .28);
  opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1), box-shadow .3s;
}
.portfolio.in .pf-card { opacity: 1; transform: none; }
.portfolio.in .pf-card:nth-child(1) { transition-delay: .06s; }
.portfolio.in .pf-card:nth-child(2) { transition-delay: .14s; }
.portfolio.in .pf-card:nth-child(3) { transition-delay: .22s; }
.portfolio.in .pf-card:nth-child(4) { transition-delay: .30s; }
.portfolio.in .pf-card:nth-child(5) { transition-delay: .38s; }
.portfolio.in .pf-card:nth-child(6) { transition-delay: .46s; }
.portfolio.in .pf-card:nth-child(7) { transition-delay: .54s; }
.portfolio.in .pf-card:nth-child(8) { transition-delay: .62s; }
.portfolio.in .pf-card:nth-child(9) { transition-delay: .70s; }
.pf-card:hover { box-shadow: 0 50px 100px -50px oklch(0.205 0.012 70 / .42); }
.pf-shot { aspect-ratio: 4 / 3; background: var(--paper-2); overflow: hidden; }
.pf-shot image-slot { display: block; width: 100%; height: 100%; }
.pf-shot img { transition: transform .8s cubic-bezier(.16,.84,.28,1); }
.pf-card:hover .pf-shot img { transform: scale(1.04); }
.pf-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-top: 1px solid var(--line); }
.pf-name { font-size: 16px; font-weight: 700; letter-spacing: -0.02em; }
.pf-name small { display: block; font-family: var(--ff-mono); font-size: 10px; font-weight: 500; color: var(--muted); letter-spacing: .05em; text-transform: uppercase; margin-top: 4px; }
.pf-stat { font-family: var(--ff-mono); font-size: 12px; color: var(--ink-2); display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.pf-stat .arr { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: all .25s; flex: none; }
.pf-card:hover .pf-stat .arr { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: rotate(-45deg); }
/* see full portfolio button */
.pf-more { text-align: center; margin-top: clamp(28px, 4vw, 48px); }
.pf-more-btn {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  font-family: var(--ff-mono); font-size: 13px; letter-spacing: .04em; color: var(--ink);
  border: 1px solid var(--ink); border-radius: 999px; padding: 14px 26px; transition: all .22s;
}
.pf-more-btn .arr { transition: transform .25s; }
.pf-more-btn:hover { background: var(--ink); color: var(--paper); }
.pf-more-btn:hover .arr { transform: translateX(4px); }

/* ===================== FOOTER ===================== */
.site-footer { background: #000; color: oklch(0.78 0.008 70); padding: clamp(56px, 7vw, 96px) max(clamp(24px, 5vw, 48px), calc((100% - 1280px) / 2)) clamp(24px, 3vw, 36px); }
.ft-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: clamp(28px, 4vw, 64px); }
@media (max-width: 900px) { .ft-inner { grid-template-columns: 1fr 1fr; gap: 40px 28px; } }
@media (max-width: 520px) { .ft-inner { grid-template-columns: 1fr; } }
.ft-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.02em; font-size: 17px; color: oklch(0.98 0 0); }
.ft-mark { color: var(--signal); font-size: 15px; }
.ft-logo-img { height: 28px; width: auto; display: block; }
.ft-tag { margin: 18px 0 22px; font-size: 14px; line-height: 1.6; color: oklch(0.62 0.01 70); max-width: 38ch; }
.ft-social { display: flex; gap: 12px; }
.ft-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid oklch(0.3 0.01 70); display: grid; place-items: center; color: oklch(0.78 0.008 70); transition: all .2s; }
.ft-social a:hover { background: var(--signal); border-color: var(--signal); color: #000; }
.ft-h { font-family: var(--ff-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: oklch(0.55 0.01 70); margin-bottom: 18px; }
.ft-col { display: flex; flex-direction: column; gap: 12px; }
.ft-col a { color: oklch(0.78 0.008 70); text-decoration: none; font-size: 14.5px; transition: color .18s; display: inline-flex; align-items: center; }
.ft-col a:hover { color: oklch(0.98 0 0); }
.ft-col a .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--signal); margin-right: 9px; display: inline-block; }
.ft-new { font-family: var(--ff-mono); font-size: 9px; letter-spacing: .08em; background: oklch(0.5 0.13 250); color: #fff; padding: 2px 6px; border-radius: 4px; margin-left: 8px; }
.ft-locs { display: flex; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.ft-loc { flex: 1; min-width: 130px; border: 1px solid oklch(0.26 0.01 70); border-radius: 12px; padding: 12px 14px; }
.ft-loc-t { display: block; font-size: 13.5px; font-weight: 600; color: oklch(0.92 0.008 70); }
.ft-loc-s { display: block; font-size: 12px; color: oklch(0.58 0.01 70); margin-top: 4px; }
.ft-lines { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.ft-lines a, .ft-mail { color: oklch(0.78 0.008 70); text-decoration: none; font-size: 14px; transition: color .18s; }
.ft-lines a:hover, .ft-mail:hover { color: var(--signal); }
.ft-mail { font-family: var(--ff-mono); font-size: 13px; }
.ft-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: clamp(40px, 5vw, 64px); padding-top: 22px; border-top: 1px solid oklch(0.22 0.01 70); font-family: var(--ff-mono); font-size: 12px; color: oklch(0.5 0.01 70); }
.ft-heart { color: var(--signal); }
.ft-legal { display: flex; gap: 22px; }
.ft-legal a { color: oklch(0.5 0.01 70); text-decoration: none; transition: color .18s; }
.ft-legal a:hover { color: oklch(0.9 0 0); }

/* ===================== STRATEGIA NOASTRĂ SECRETĂ ===================== */
.secret {
  background: #000;
  border-bottom: 1px solid oklch(0.28 0.01 70);
  padding: clamp(48px, 7vw, 100px) max(clamp(24px, 5vw, 48px), calc((100% - 1280px) / 2)) clamp(56px, 8vw, 120px);
  text-align: center;
}
.secret-eyebrow {
  font-family: var(--ff-mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: oklch(0.72 0.01 70); margin-bottom: 20px;
}
.secret-eyebrow .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); margin-right: 9px; vertical-align: middle; }
.secret-title {
  color: oklch(0.98 0 0); font-size: clamp(30px, 4.4vw, 60px); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.05; max-width: 18ch; margin: 0 auto clamp(18px, 2vw, 26px); text-wrap: balance;
}
.secret-sub {
  color: oklch(0.74 0.008 70); font-size: clamp(15px, 1.6vw, 19px); line-height: 1.55;
  max-width: 52ch; margin: 0 auto clamp(30px, 4vw, 52px); text-wrap: pretty;
}
.secret-shot {
  margin: 0 auto; max-width: 1080px;
}
.secret-shot img { width: 100%; height: auto; display: block; }
