/* Shared visuals: flask hero, brand marks, mockups, scroll reveal.
   Hidden state applies only after html.js, so content stays visible without JS. */

.rv, .reveal, .reveal-card { opacity: 1; transform: none; }
html.js .rv,
html.js .reveal,
html.js .reveal-card {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
}
html.js .rv.in,
html.js .reveal.in,
html.js .reveal-card.in { opacity: 1; transform: none; }
html.no-io .rv,
html.no-io .reveal,
html.no-io .reveal-card { opacity: 1 !important; transform: none !important; transition: none !important; }

#hero {
  align-items: center;
  text-align: left;
  min-height: 100svh;
  padding: 108px clamp(20px, 4vw, 56px) 64px;
}
#hero .orb-wrap { left: 74%; top: 48%; }
#hero .hero-layout {
  position: relative;
  z-index: 3;
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(240px, .82fr);
  align-items: center;
  gap: clamp(8px, 2vw, 28px);
}
#hero .hero-content { max-width: none; text-align: left; }
#hero .hero-title {
  font-size: clamp(2.5rem, 4.4vw, 4.35rem);
  line-height: .94;
}
#hero .hero-title .hero-kw { margin: 0 0 14px; }
#hero .hero-sub { margin: 18px 0 0; max-width: 34rem; }
#hero .hero-cta-row,
#hero .hero-badges { justify-content: flex-start; }

.hero-flask {
  position: relative;
  z-index: 3;
  justify-self: end;
  width: min(460px, 100%);
  pointer-events: none;
}
.hero-flask picture, .hero-flask img { position: relative; z-index: 1; display: block; width: 100%; height: auto; }
.hero-flask img {
  -webkit-mask-image: radial-gradient(ellipse 58% 64% at 50% 46%, #000 42%, transparent 74%);
  mask-image: radial-gradient(ellipse 58% 64% at 50% 46%, #000 42%, transparent 74%);
  animation: flaskFloat 7.5s ease-in-out infinite;
}
.hero-flask::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 16%;
  right: 16%;
  top: 22%;
  bottom: 8%;
  background: radial-gradient(circle, rgba(139,92,246,.55), rgba(76,29,149,.18) 46%, transparent 72%);
  filter: blur(16px);
  animation: flaskGlow 7.5s ease-in-out infinite;
}
@keyframes flaskFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes flaskGlow {
  0%, 100% { opacity: .55; transform: scale(1); }
  50% { opacity: .95; transform: scale(1.05); }
}

.brand-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 0 0 18px;
}
.brand-row img { width: 28px; height: 28px; display: block; }
.brand-row span {
  font-size: .68rem;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--t3);
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(260px, .88fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.hero-split h1 { max-width: none; }
.hero-copy { min-width: 0; }

#outils { scroll-margin-top: 88px; }
.why-panel .tool {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 2px;
  align-items: center;
  padding: 13px 22px;
}
.why-panel .tool img {
  grid-row: 1 / span 2;
  width: 28px;
  height: 28px;
}
.why-panel .tool .wp-name {
  font-size: .84rem;
  font-weight: 650;
  color: var(--t0);
  letter-spacing: -.02em;
}
.why-panel .tool .wp-use {
  font-size: .75rem;
  color: var(--t3);
  font-weight: 400;
  line-height: 1.35;
}

.met-logo { width: 34px; height: 34px; display: block; margin: 0 auto 12px; }

.sv-tag { display: inline-flex; align-items: center; gap: 6px; }
.sv-tag img, .sv-more img { width: 14px; height: 14px; display: block; flex: none; }
.sv-more a { display: inline-flex; align-items: center; gap: 8px; }

#problem .pstat { grid-template-columns: 112px minmax(0, 1fr); }
#problem .pstat-n {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -.04em;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  line-height: 1;
  padding-top: 2px;
}
.pstat-logos { display: flex; gap: 5px; align-items: center; }
.pstat-logos img, .pstat-logos svg { width: 20px; height: 20px; display: block; }

.step-ico, .proc-ico {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  border: 1px solid rgba(167,139,250,.35);
  background: rgba(124,58,237,.14);
  color: #C4B5FD;
  margin-bottom: 14px;
}
.step-ico svg, .proc-ico svg { width: 18px; height: 18px; display: block; }
.proc-ico { margin-bottom: 16px; }

.mock {
  margin: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 22px;
  padding: 16px;
  box-shadow: 0 28px 70px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.07);
}
.mock-h {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: .78rem;
  color: var(--t2);
}
.mock-h strong { color: var(--t0); font-weight: 700; letter-spacing: -.02em; }
.mock-h img { width: 18px; height: 18px; display: block; }
.mock-cap {
  margin-left: auto;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #C4B5FD;
  border: 1px solid rgba(167,139,250,.35);
  background: rgba(124,58,237,.14);
  border-radius: 999px;
  padding: 4px 8px;
  white-space: nowrap;
}
.mock-row, .mock-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: .82rem;
  color: var(--t1);
}
.mock-row em, .mock-step em {
  margin-left: auto;
  font-style: normal;
  font-size: .68rem;
  font-weight: 650;
  color: var(--t3);
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  flex: none;
}
.dot.on { background: #34D399; box-shadow: 0 0 0 4px rgba(52,211,153,.12); }
.mock-note {
  margin: 12px 0 0;
  font-size: .68rem;
  color: var(--t3);
  line-height: 1.45;
}
.mock-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 72px;
  margin-top: 14px;
  padding: 8px;
  border-radius: 12px;
  background: rgba(0,0,0,.28);
}
.mock-bars i {
  display: block;
  flex: 1;
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, #C4B5FD, #7C3AED);
  opacity: .9;
}
.mock-chart { width: 100%; height: auto; display: block; margin-top: 6px; }
.mock-phone {
  width: min(180px, 46%);
  margin-left: auto;
  aspect-ratio: 9/14;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.14);
  background:
    radial-gradient(120px 80px at 50% 30%, rgba(37,244,238,.35), transparent 70%),
    linear-gradient(160deg, #1a1024, #07070f 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.mock-phone span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mock-split { display: flex; gap: 14px; align-items: center; }
.mock-flow { display: flex; flex-direction: column; gap: 8px; }
.mock-flow .mock-arrow { align-self: center; transform: rotate(90deg); line-height: 1; }
.mock-node {
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.03);
  border-radius: 14px;
  padding: 12px;
  font-size: .78rem;
  color: var(--t1);
}
.mock-node strong { display: block; color: var(--t0); margin-bottom: 4px; font-size: .82rem; }
.mock-arrow { color: #A78BFA; font-size: 1.1rem; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .sv-card, .prob-card, .step, .rel-card, .res-card, .proc-step, .tcard, .pcard, .mock {
    transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
  }
  .sv-card:hover, .prob-card:hover, .rel-card:hover, .res-card:hover, .tcard:hover, .pcard:hover, .mock:hover {
    transform: translateY(-4px);
  }
  html.js .reveal-card.in:hover { transform: translateY(-4px); }
}

@media (max-width: 900px) {
  #hero { min-height: 0; text-align: center; padding: 96px 20px 36px; }
  #hero .orb-wrap { left: 50%; top: 22%; opacity: .5; }
  #hero .hero-layout { grid-template-columns: 1fr; }
  #hero .hero-content, #hero .hero-sub { text-align: center; }
  #hero .hero-title .hero-kw { margin-left: auto; margin-right: auto; }
  #hero .hero-sub { margin-left: auto; margin-right: auto; }
  #hero .hero-cta-row, #hero .hero-badges { justify-content: center; }
  .hero-flask { justify-self: center; width: min(220px, 62vw); margin-top: 8px; }
  .hero-flask img { animation-duration: 9s; }
  .hero-split { grid-template-columns: 1fr; }
  .mock-split { flex-direction: column; align-items: stretch; }
  .mock-phone { margin: 0 auto; }
  #problem .pstat { grid-template-columns: 96px minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-flask img, .hero-flask::before { animation: none !important; }
  html.js .rv, html.js .reveal, html.js .reveal-card,
  html.js .rv.in, html.js .reveal.in, html.js .reveal-card.in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  html.js .rm-step, .rm-slide, .rm-step-card, .rm-line-fill { transition: none !important; }
}

/* Method roadmap — timeline + sticky step card */
#process.roadmap { overflow: visible; }
.rm-head { max-width: 640px; text-align: left; }
.rm-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #C4B5FD;
}
.rm-kicker::before { content: ""; width: 28px; height: 1px; background: #C4B5FD; }
.rm-head h2 {
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 4.6rem);
  font-weight: 560;
  letter-spacing: -.045em;
  line-height: .98;
  color: #fff;
}
.rm-head h2 em {
  display: block;
  margin-top: 4px;
  font-family: var(--fi), serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.03em;
  color: #C4B5FD;
}
.rm-lead {
  max-width: 380px;
  margin: 18px 0 0;
  color: #9a9ab4;
  font-size: .95rem;
  font-weight: 300;
  line-height: 1.65;
}
.rm-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(260px, .85fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
  margin-top: 64px;
}
.rm-track { position: relative; margin: 0; padding: 0; }
.rm-track::before {
  content: "";
  position: absolute;
  left: 18.5px;
  top: 37px;
  bottom: 48px;
  width: 1px;
  background: rgba(255,255,255,.16);
}
html.js .rm-track::before { opacity: 0; }
.rm-line, .rm-line-fill {
  position: absolute;
  left: 18px;
  top: 37px;
  width: 2px;
  height: 0;
  border-radius: 2px;
  pointer-events: none;
}
.rm-line { background: rgba(255,255,255,.16); }
.rm-line-fill {
  background: linear-gradient(#EDE9FE, #7C3AED);
  box-shadow: 0 0 10px rgba(167,139,250,.85);
}
.rm-steps { list-style: none; margin: 0; padding: 0; }
.rm-step { position: relative; padding: 0 0 18px; opacity: 1; }
html.js .rm-step {
  opacity: .4;
  transition: opacity .4s ease;
}
html.js .rm-step.is-active { opacity: 1; }
.rm-num {
  position: absolute;
  left: 0;
  top: 18px;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.22);
  background: #07070f;
  color: #a39bbd;
  font-family: var(--fi), serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.02rem;
  line-height: 1;
  transition: color .4s ease, border-color .4s ease, background .4s ease;
}
html.js .rm-step.is-active .rm-num {
  color: #EDE9FE;
  border-color: rgba(196,181,253,.75);
  background: #161228;
}
.rm-step-card {
  position: relative;
  margin-left: 19px;
  padding: 20px 64px 18px 36px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: transparent;
  transition: background .4s ease, border-color .4s ease;
}
html.js .rm-step.is-active .rm-step-card {
  border-color: rgba(196,186,214,.42);
  background: rgba(255,255,255,.035);
}
.rm-step h3 {
  margin: 0 0 4px;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -.03em;
  color: #fff;
}
.rm-when {
  margin: 0 0 8px;
  font-size: .68rem;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8d86a8;
}
.rm-desc {
  margin: 0;
  max-width: 52ch;
  color: #9a9ab4;
  font-size: .86rem;
  font-weight: 300;
  line-height: 1.6;
}
.rm-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 22px;
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}
.rm-checks li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #c8c6d8;
  font-size: .78rem;
  font-weight: 400;
  line-height: 1.35;
}
.rm-checks svg { width: 14px; height: 14px; flex: none; margin-top: 1px; color: #C4B5FD; }
.rm-corner {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 46px;
  height: 46px;
}
.rm-corner svg, .rm-inline svg, .rm-art { width: 100%; height: auto; display: block; }
.rm-inline { display: none; }
.rm-sticky { position: sticky; top: 84px; }
.rm-card {
  border-radius: 18px;
  padding: 26px 22px 22px;
  background:
    radial-gradient(90% 55% at 50% 0%, rgba(196,181,253,.42), transparent 62%),
    linear-gradient(180deg, #3b2170 0%, #1a1036 46%, #0d0b16 100%);
  border: 1px solid rgba(196,181,253,.32);
  box-shadow: 0 24px 70px rgba(76,29,149,.35), inset 0 1px 0 rgba(255,255,255,.14);
}
.rm-slides { display: grid; }
.rm-slide { grid-area: 1 / 1; opacity: 0; }
.rm-slide:first-child { opacity: 1; }
html.js .rm-slide { opacity: 0; transition: opacity .4s ease; }
html.js .rm-slide.is-on { opacity: 1; z-index: 1; }
.rm-card-kicker {
  margin: 0;
  font-size: .62rem;
  font-weight: 650;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #C4B5FD;
}
.rm-card-n {
  margin: 8px 0 4px;
  font-family: var(--fi), serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.4rem, 3vw, 3.15rem);
  line-height: .95;
  letter-spacing: -.03em;
  color: #DDD6FE;
}
.rm-card h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -.03em;
  color: #fff;
}
.rm-art { width: min(210px, 78%); margin: 8px auto 0; }
.rm-rule {
  height: 1px;
  margin: 6px 0 14px;
  border: 0;
  background: rgba(255,255,255,.14);
}
.rm-card .rm-desc { font-size: .82rem; }
.rm-end {
  max-width: 640px;
  margin: 36px auto 0;
  text-align: center;
  font-family: var(--fi), serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.45;
  color: rgba(167,139,250,.78);
}

@media (max-width: 900px) {
  .rm-layout { grid-template-columns: 1fr; margin-top: 40px; }
  .rm-sticky { display: none; }
  .rm-corner { display: none; }
  .rm-inline { display: block; width: 132px; margin: 12px auto 2px; }
  .rm-step-card { padding-right: 18px; }
  .rm-checks { gap: 8px 12px; }
  .cta-float { display: none; }
  .svc-mark { width: 56px; height: 56px; }
}

/* Glossy service marks */
.sv-icon-wrap.sv-gloss {
  background: radial-gradient(120% 120% at 30% 18%, rgba(237,233,254,.42), rgba(124,58,237,.22) 46%, rgba(18,10,36,.55)) !important;
  border: 1px solid rgba(196,181,253,.4) !important;
  box-shadow: 0 10px 28px rgba(76,29,149,.32), inset 0 1px 0 rgba(255,255,255,.22);
}
.sv-icon-wrap.sv-gloss img { width: 40px; height: 40px; display: block; }
.svc-mark {
  width: 72px;
  height: 72px;
  display: block;
  margin: 0 0 16px;
  filter: drop-shadow(0 12px 22px rgba(124,58,237,.4));
}

/* Platforms we work on — not a client or partner wall */
.platforms { padding: 28px 0 36px; border-top: 1px solid var(--b1); border-bottom: 1px solid var(--b1); background: var(--bg1); }
.plat-title {
  margin: 0 0 22px;
  text-align: center;
  font-size: clamp(.95rem, 1.5vw, 1.15rem);
  font-weight: 500;
  letter-spacing: -.02em;
  text-transform: none;
  color: #b4b4cc;
}
.mq {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.mq-track { display: flex; width: max-content; animation: mqScroll 36s linear infinite; }
.mq:hover .mq-track { animation-play-state: paused; }
.mq-row { display: flex; align-items: center; gap: 72px; margin: 0; padding: 8px 36px; list-style: none; }
.mq-row li { display: flex; align-items: center; justify-content: center; min-width: 48px; }
.mq-row img {
  height: 36px;
  width: auto;
  max-width: 120px;
  display: block;
  filter: brightness(0) invert(1);
  opacity: .6;
  transition: filter .25s ease, opacity .25s ease;
}
.mq-row li:hover img { filter: none; opacity: 1; }
@keyframes mqScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.tcard-k { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.tcard-logo { height: 34px; width: auto; max-width: 88%; display: block; margin: 0 auto 8px; object-fit: contain; }
.tcard-logo-wide { height: 26px; max-width: 96%; }

#cta-banner { position: relative; }
#cta-banner .cta-words {
  flex-direction: row;
  flex-wrap: nowrap;
  gap: clamp(10px, 2vw, 28px);
  margin-bottom: clamp(28px, 4vw, 56px);
}
#cta-banner .cta-word,
#cta-banner .cta-dot {
  font-size: clamp(1.65rem, 5.6vw, 6.2rem);
  white-space: nowrap;
  line-height: 1;
}
#cta-banner .cta-dot { display: block; }
.cta-floats { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.cta-float {
  position: absolute;
  width: 108px;
  height: auto;
  filter: drop-shadow(0 16px 28px rgba(124,58,237,.45));
  animation: ctaFloat 7.5s ease-in-out infinite;
}
.cta-float.a { left: 3%; top: 16%; width: 120px; }
.cta-float.b { right: 4%; top: 12%; width: 96px; animation-delay: -2.2s; }
.cta-float.c { left: 7%; bottom: 10%; width: 84px; animation-delay: -4s; }
.cta-float.d { right: 8%; bottom: 14%; width: 92px; animation-delay: -1s; }
@keyframes ctaFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@media (max-width: 520px) {
  #cta-banner .cta-words { flex-wrap: wrap; row-gap: 0; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .mq-track { animation: none; flex-wrap: wrap; width: 100%; justify-content: center; }
  .mq-row[aria-hidden="true"] { display: none; }
  .cta-float { animation: none; }
  .mq-row img { transition: none; }
}
