/* =====================================================================
   Evercrest Matrix — shared pillar-page styles
   One template; per page only --pillar / --pillar-text, the content and
   the style variant (body.v-creative | v-development | v-growth | v-intelligent).
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }

:root {
  --bg: #0A0A0B; --card: #121316; --card-2: #17191C; --text: #F5F3EF; --muted: #A5A7AA;
  --orange: #F36B35; --orange-hi: #FF7E4D; --ink: #0A0A0B;
  --line: rgba(255,255,255,.08); --line-2: rgba(255,255,255,.14);
  --pillar: #F36B35; --pillar-text: var(--pillar);
  --r: 16px; --r-sm: 10px; --r-chip: 999px;
  --wrap: 1160px; --gut: clamp(16px, 4vw, 40px);
  --f-head: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --f-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.2,.7,.2,1);
}
/* derived pillar variants — declared on body, where the page sets --pillar (vars resolve where declared) */
body {
  --p-faint: color-mix(in srgb, var(--pillar) 6%, transparent);
  --p-soft:  color-mix(in srgb, var(--pillar) 12%, transparent);
  --p-mid:   color-mix(in srgb, var(--pillar) 30%, transparent);
  --p-glow:  color-mix(in srgb, var(--pillar) 45%, transparent);
}
body.v-creative { --r: 22px; --r-sm: 12px; }

html { background: var(--bg); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3 { font-family: var(--f-head); margin: 0; letter-spacing: -.02em; font-weight: 700; }
p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
em { font-style: normal; color: var(--pillar-text); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--orange); color: var(--ink); padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }
.ic { width: 18px; height: 18px; flex: none; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.glass { background: rgba(23,25,28,.55); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); border: 1px solid var(--line); }

/* ---------------------------------------------------------------- buttons, labels, chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 10px;
  font: 600 15px/1 var(--f-body); white-space: nowrap; transition: transform .25s var(--ease), background-color .25s, border-color .25s; }
.btn .ic { width: 16px; height: 16px; }
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: var(--orange-hi); transform: translateY(-2px); }
.btn-ghost, .btn-dark { background: rgba(255,255,255,.04); border: 1px solid var(--line-2); color: var(--text); }
.btn-dark { background: var(--card-2); }
.btn-ghost:hover, .btn-dark:hover { border-color: var(--p-glow); transform: translateY(-2px); }
.btn-ghost .ic-pillar { color: var(--pillar-text); width: 14px; height: 14px; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }

.eyebrow { font: 600 12px/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--pillar-text); margin-bottom: 16px; }
.eyebrow-orange { color: var(--orange); }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: var(--r-chip); border: 1px solid var(--p-mid); background: var(--p-faint);
  font: 600 11.5px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--pillar-text); }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--pillar); }
.tags, .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 7px 14px; border-radius: var(--r-chip); border: 1px solid var(--line-2); font-size: 12.5px; color: var(--muted); }
.chips li { padding: 6px 11px; border-radius: var(--r-chip); background: rgba(255,255,255,.05); border: 1px solid var(--line); font-size: 11.5px; color: var(--muted); }

/* ---------------------------------------------------------------- navbar */
.nav-wrap { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; padding: 0 var(--gut); }
.nav { max-width: var(--wrap); margin: 0 auto; height: 68px; display: flex; align-items: center; gap: 24px; padding: 0 14px 0 20px; border-radius: 16px;
  box-shadow: 0 18px 40px -20px rgba(0,0,0,.8); }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.logo-mark { width: 28px; height: 28px; }
.brand-name { font: 600 15px/1 var(--f-head); letter-spacing: .14em; text-transform: uppercase; }
.nav-links { display: flex; gap: 6px; margin: 0 auto; }
.nav-links a { position: relative; padding: 10px 12px; font-size: 14px; color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-links a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--pc); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-links a:hover::after { transform: scaleX(.35); }
.nav-links a.is-active { color: var(--text); }
.nav-links a.is-active::after { transform: scaleX(1); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-2); place-items: center; margin-left: auto; }
.nav-toggle .ic { width: 20px; height: 20px; }
.nav-drawer { max-width: var(--wrap); margin: 8px auto 0; border-radius: 16px; padding: 10px; display: grid; gap: 2px; }
.nav-drawer[hidden] { display: none; }
.nav-drawer a:not(.btn) { padding: 12px 14px; border-radius: 10px; color: var(--muted); }
.nav-drawer a[aria-current] { color: var(--text); background: rgba(255,255,255,.05); box-shadow: inset 3px 0 0 var(--pc); }
.nav-drawer .btn { margin-top: 8px; }

/* ---------------------------------------------------------------- sections */
.sec { padding: clamp(72px, 9vw, 120px) 0 0; }
.sec-cta { padding-bottom: clamp(72px, 9vw, 110px); }
.sec-head { margin-bottom: clamp(32px, 4vw, 52px); }
h2 { font-size: clamp(32px, 4.2vw, 48px); line-height: 1.08; }
.h2-narrow { max-width: 680px; }
.h2-orange em { color: var(--orange); }
.sec-sub { margin-top: 16px; color: var(--muted); font-size: 16px; max-width: 560px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.card:hover { transform: translateY(-4px); border-color: var(--p-mid); }
.card h3 { font-size: 19px; line-height: 1.25; letter-spacing: -.01em; font-weight: 600; }
.card p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding: 168px 0 96px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 520px at 82% 18%, var(--p-mid), transparent 65%),
              radial-gradient(620px 360px at 18% 92%, rgba(243,107,53,.35), transparent 70%); opacity: .9; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(42px, 5.6vw, 76px); line-height: 1.02; letter-spacing: -.035em; margin: 26px 0 22px; }
.hero h1 em { display: block; }
.lead { color: var(--muted); font-size: 17px; line-height: 1.65; max-width: 500px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 30px; }

/* ---------------------------------------------------------------- brands strip */
.brands { margin-top: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #0D0E10; }
.brands-row { display: flex; align-items: center; gap: 36px; padding-top: 30px; padding-bottom: 30px; }
.brands-label { flex: none; font: 600 11px/1.4 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.brands ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; flex: 1; }
.brands li { font: 500 18px/1.3 var(--f-head); color: #CFCFCF; letter-spacing: -.01em; }

/* ---------------------------------------------------------------- problem */
.prob-num { display: block; font: 600 46px/1 var(--f-head); color: var(--p-glow); margin-bottom: 24px; letter-spacing: -.03em; }
.prob h3 { margin-bottom: 10px; }

/* ---------------------------------------------------------------- services */
.svc { display: flex; flex-direction: column; gap: 14px; }
.svc-icon { width: 42px; height: 42px; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--p-soft); color: var(--pillar-text); margin-bottom: 14px; }
.svc .chips { margin-top: auto; padding-top: 8px; }

/* ---------------------------------------------------------------- process */
.process { position: relative; }
.process-line { position: absolute; left: 0; right: 0; top: 23px; height: 1.5px; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, var(--pillar), var(--orange) 70%, transparent); transition: transform 1.6s var(--ease); }
.process.is-in .process-line { transform: scaleX(1); }
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.step-num { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--pillar);
  font: 600 14px/1 var(--f-head); color: var(--pillar-text); margin-bottom: 24px; }
.step h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; line-height: 1.6; }

/* ---------------------------------------------------------------- work */
.work-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { height: 36px; padding: 0 16px; border-radius: var(--r-chip); border: 1px solid var(--line-2); font-size: 13px; color: var(--muted); transition: background-color .2s, color .2s, border-color .2s; }
.filter:hover { color: var(--text); border-color: var(--p-glow); }
.filter.is-on { background: var(--pillar); border-color: var(--pillar); color: var(--ink); font-weight: 600; }   /* dark text on pillar colour */
.work-grid { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 218px; gap: 18px; }
.tile { position: relative; grid-column: span 2; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--card);
  display: flex; align-items: flex-end; padding: 20px; transition: transform .3s var(--ease), border-color .3s, opacity .35s; }
.tile::before { content: ""; position: absolute; inset: 0; pointer-events: none; }
.tile.tone-p::before { background: linear-gradient(150deg, var(--p-glow) 0%, transparent 62%); }
.tile.tone-o::before { background: linear-gradient(150deg, rgba(243,107,53,.42) 0%, transparent 62%); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(10,10,11,.85)); pointer-events: none; }
.tile > * { position: relative; z-index: 1; }
.tile:hover { transform: translateY(-4px); border-color: var(--p-mid); }
.tile-featured { grid-column: 1 / span 4; grid-row: span 2; border-color: var(--p-mid); }
.tile:nth-child(2), .tile:nth-child(3) { grid-column: 5 / span 2; }
.tile h3 { font-size: 18px; font-weight: 600; }
.tile p { font-size: 12.5px; color: var(--muted); margin-top: 4px; letter-spacing: .02em; }
.tile-featured h3 { font-size: 24px; }
.tile-featured p { font-size: 14px; letter-spacing: 0; }
.tile-badge { position: absolute; top: 18px; left: 18px; padding: 6px 11px; border-radius: var(--r-chip); background: rgba(10,10,11,.7); border: 1px solid var(--line-2);
  font: 600 10.5px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; }
.tile-play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform .3s var(--ease); }
.tile-play .ic { width: 20px; height: 20px; }
.tile-play:hover { transform: scale(1.08); }
.tile.is-dim { opacity: .28; }

/* ---------------------------------------------------------------- packages */
.pkgs { align-items: stretch; }
.pkg { display: flex; flex-direction: column; padding: 30px 28px 28px; }
.pkg h3 { font-size: 20px; }
.pkg-for { margin-top: 8px; min-height: 46px; }
.pkg-price { margin: 26px 0 24px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.pkg-price strong { font: 700 clamp(28px, 2.6vw, 34px)/1 var(--f-head); letter-spacing: -.03em; color: var(--text); }
.pkg-price span { color: var(--muted); font-size: 13px; }
.pkg-list { display: grid; gap: 12px; margin-bottom: 32px; }
.pkg-list li { display: flex; gap: 10px; font-size: 14.5px; color: #DADADA; line-height: 1.45; }
.pkg-list .ic { width: 16px; height: 16px; color: var(--pillar-text); margin-top: 2px; }
.pkg .btn { margin-top: auto; }
.pkg-popular { border: 1.5px solid var(--orange); background: linear-gradient(180deg, rgba(243,107,53,.10), var(--card) 45%); box-shadow: 0 0 60px -20px rgba(243,107,53,.55); }
.pkg-popular:hover { border-color: var(--orange); }
.pkg-badge { position: absolute; top: -12px; right: 22px; padding: 6px 12px; border-radius: var(--r-chip); background: var(--orange); color: var(--ink);
  font: 700 10.5px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; }

/* ---------------------------------------------------------------- FAQ */
.faq-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 56px; align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 14px; transition: border-color .3s; }
.faq-item.is-open { border-color: var(--line-2); }
.faq-item h3 { font: inherit; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; text-align: left;
  font: 600 15.5px/1.4 var(--f-body); color: var(--text); border-radius: 14px; }
.faq-ic { color: var(--orange); transition: transform .3s var(--ease); }
.faq-item.is-open .faq-ic { transform: rotate(45deg); }
.faq-a p { padding: 0 22px 22px; color: var(--muted); font-size: 14.5px; line-height: 1.65; }

/* ---------------------------------------------------------------- cross-links */
.xlink { display: block; padding: 26px 28px; overflow: hidden; }
.xlink::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--xc); }
.xlink:hover { border-color: color-mix(in srgb, var(--xc) 35%, transparent); }
.xlink-num { display: block; font: 600 11.5px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--xt); margin-bottom: 14px; }
.xlink h3 { margin-bottom: 10px; }
.xlink-go { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-size: 14px; font-weight: 600; color: var(--xt); }
.xlink-go .ic { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.xlink:hover .xlink-go .ic { transform: translateX(4px); }

/* ---------------------------------------------------------------- final CTA */
.cta-panel { position: relative; overflow: hidden; text-align: center; padding: clamp(56px, 7vw, 88px) var(--gut); border-radius: 28px; border: 1px solid var(--line-2);
  background: radial-gradient(520px 360px at 12% 18%, var(--p-glow), transparent 70%), radial-gradient(520px 340px at 92% 100%, rgba(243,107,53,.38), transparent 70%), rgba(18,19,22,.85); }
.cta-panel h2 { font-size: clamp(34px, 4.6vw, 56px); max-width: 760px; margin: 0 auto; }
.cta-panel .sec-sub { margin: 20px auto 0; max-width: 480px; }
.cta-btns { justify-content: center; margin-bottom: 0; }

/* ---------------------------------------------------------------- footer */
.foot { border-top: 1px solid var(--line); padding: 48px 0 36px; }
.foot-row { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-tag { margin-top: 18px; color: var(--muted); font-size: 14px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.foot-links a { font-size: 14px; color: var(--muted); }
.foot-links a:hover, .foot-links a[aria-current] { color: var(--text); }
.foot-copy { margin-top: 34px; color: #7D8085; font-size: 13px; }

/* ---------------------------------------------------------------- showreel modal */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: var(--gut); background: rgba(5,5,6,.82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal[hidden] { display: none; }
.modal-box { position: relative; width: min(1000px, 100%); aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; border: 1px solid var(--line-2); }
.modal-box video { width: 100%; height: 100%; object-fit: contain; }
.modal-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(10,10,11,.7); border: 1px solid var(--line-2); }

/* =====================================================================
   VARIANT 01 — Creative: film / reel feel
   ===================================================================== */
.v-creative .hero-bg { background:
    radial-gradient(760px 560px at 84% 16%, var(--p-mid), transparent 66%),
    radial-gradient(900px 260px at 28% 104%, rgba(243,107,53,.55), transparent 70%); }
.hv { position: relative; will-change: transform; }
.hv-creative .hv-stage { position: relative; height: 430px; }
.reel { position: absolute; width: 39%; aspect-ratio: 9 / 15; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-2);
  background: linear-gradient(165deg, var(--p-mid), #17191C 58%); box-shadow: 0 30px 60px -24px rgba(0,0,0,.85); transition: transform .45s var(--ease), border-color .3s; }
.reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel::after { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(180deg, rgba(10,10,11,.35), rgba(10,10,11,0) 26%, rgba(10,10,11,0) 72%, rgba(10,10,11,.45)); }
.reel-left { left: 0; top: 13%; width: 36%; transform: rotate(-6deg); }
.reel-right { right: 0; top: 17%; width: 35%; transform: rotate(6deg); background: linear-gradient(165deg, rgba(243,107,53,.55), #17191C 60%); }
.reel-mid { left: 31%; top: 0; z-index: 2; border-color: var(--p-glow); box-shadow: 0 30px 70px -20px rgba(0,0,0,.9), 0 0 50px -10px var(--p-glow); }
.reel:hover { border-color: var(--pillar); }
.reel-left:hover { transform: rotate(-3deg) translateY(-6px); }
.reel-right:hover { transform: rotate(3deg) translateY(-6px); }
.reel-mid:hover { transform: translateY(-6px); }
.reel-label { position: absolute; top: 12px; left: 12px; z-index: 1; padding: 5px 10px; border-radius: var(--r-chip); background: rgba(10,10,11,.75); border: 1px solid var(--line-2);
  font: 600 10px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; }
.reel-ph { position: absolute; left: 14px; bottom: 14px; z-index: 1; font-size: 11px; color: rgba(245,243,239,.75); }
.reel-play { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; z-index: 1; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); }
.reel-play .ic { width: 16px; height: 16px; }
.reel.is-playing .reel-play, .reel.is-playing .reel-ph { opacity: 0; }
.hv-chip { position: absolute; right: 0; top: 2%; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px;
  background: rgba(23,25,28,.8); border: 1px solid var(--line-2); font-size: 12.5px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hv-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 10px var(--orange); }
.scrubber { display: flex; align-items: center; gap: 14px; margin-top: 26px; padding: 12px 16px; border-radius: 12px; }
.scrub-play { color: var(--pillar-text); }
.scrub-play .ic { width: 13px; height: 13px; }
.scrub-track { position: relative; flex: 1; height: 4px; border-radius: 4px; background: rgba(255,255,255,.12); }
.scrub-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--pillar), var(--orange));
  transform-origin: left; transform: scaleX(.42); animation: scrub 9s linear infinite; }
.scrub-knob { position: absolute; top: 50%; left: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.12);
  animation: knob 9s linear infinite; }
@keyframes scrub { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes knob { from { transform: translateX(0); } to { transform: translateX(var(--track-w, 300px)); } }
.scrub-label { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
/* when the product film is playing the timeline follows the real clip (pillar.js) */
.scrubber.is-live .scrub-fill, .scrubber.is-live .scrub-knob { animation: none; }
.scrubber.is-live .scrub-fill { transform: scaleX(var(--p, 0)); }
.scrubber.is-live .scrub-knob { transform: translateX(calc(var(--track-w, 300px) * var(--p, 0))); }

/* ---------------------------------------------------------------- Creative: scroll-synced card wheel (selected work)
   Cards sit on a big circle below the fold; scroll turns the wheel one card at a time (JS sets --rot via transform). */
.reel-sec { --cw: clamp(176px, 16vw, 248px); --ch: calc(var(--cw) * 4 / 3); --R: clamp(560px, 50vw, 820px); --step: calc(360deg / var(--n));
  padding: 0; margin-top: clamp(72px, 9vw, 120px); height: calc(var(--n) * 52vh + 100vh); position: relative; }
.reel-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; padding-top: 104px; }
.reel-head { margin-bottom: 0; position: relative; z-index: 3; }
.reel-stage { position: relative; flex: 1; }
.reel-ghost { position: absolute; inset: 2% 0 auto; display: grid; gap: 0; pointer-events: none; z-index: 0; white-space: nowrap; }
.reel-ghost span { font: 700 clamp(64px, 11vw, 168px)/.95 var(--f-head); letter-spacing: -.04em; text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.07); will-change: transform; }
.reel-ghost span + span { margin-left: 18vw; -webkit-text-stroke-color: color-mix(in srgb, var(--pillar) 22%, transparent); }
.reel-ring { position: absolute; left: 50%; top: calc(50% + var(--R)); width: calc((var(--R) - var(--ch) * .62) * 2); height: auto; z-index: 0;
  transform: translate(-50%, -50%); overflow: visible; pointer-events: none; }
.reel-ring .ring-a { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 1.2; stroke-dasharray: 2 9; }
.reel-ring .ring-b { fill: none; stroke: rgba(255,255,255,.05); stroke-width: 1; }
.reel-ring text { fill: rgba(245,243,239,.28); font: 500 15px var(--f-mono); letter-spacing: .32em; }
.wheel { position: absolute; left: 50%; top: calc(50% + var(--R)); width: 0; height: 0; margin: 0; padding: 0; list-style: none; z-index: 1; will-change: transform; }
.wcard { position: absolute; left: calc(var(--cw) / -2); top: calc(var(--ch) / -2); width: var(--cw); height: var(--ch);
  transform: rotate(calc(var(--i) * var(--step))) translateY(calc(var(--R) * -1)); }
.wcard figure { position: relative; margin: 0; width: 100%; height: 100%; border-radius: var(--r); overflow: hidden; cursor: pointer;
  background: var(--card-2); border: 1px solid var(--line-2); box-shadow: 0 30px 60px -26px rgba(0,0,0,.95);
  transform: scale(.9); opacity: .5; transition: transform .6s var(--ease), opacity .6s var(--ease), border-color .4s, box-shadow .4s; }
.wcard video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wcard figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,11,.35) 0%, transparent 28%, transparent 52%, rgba(10,10,11,.9)); pointer-events: none; }
.wc-chip { position: absolute; top: 12px; left: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: var(--r-chip);
  background: rgba(10,10,11,.72); border: 1px solid var(--line-2); font: 600 10px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; }
.wc-chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--pillar); }
.wcard figcaption { position: absolute; left: 14px; right: 58px; bottom: 14px; z-index: 1; display: grid; gap: 3px; }
.wcard figcaption strong { font: 600 16px/1.2 var(--f-head); }
.wcard figcaption span { font-size: 11.5px; color: rgba(245,243,239,.72); }
.wc-open { position: absolute; right: 12px; bottom: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--orange); color: var(--ink); opacity: 0; transform: scale(.6); transition: opacity .35s, transform .35s var(--ease); }
.wc-open .ic { width: 14px; height: 14px; margin-left: 2px; }
.wcard.is-active figure { transform: scale(1.12); opacity: 1; border-color: var(--p-glow); box-shadow: 0 40px 80px -24px rgba(0,0,0,.95), 0 0 70px -12px var(--p-glow); }
.wcard.is-active .wc-open { opacity: 1; transform: none; }
.wcard.is-near figure { opacity: .78; }
.wcard.is-far figure { opacity: 0; }
/* fade the lower stage into the page so the info / nav corners stay readable over the outer cards */
.reel-stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(10,10,11,.86) 62%, var(--bg)); }
.reel-marker { position: absolute; left: 50%; top: calc(50% + var(--ch) * .62 + 14px); z-index: 2; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px; font: 500 11px/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.reel-marker i { width: 7px; height: 7px; border-radius: 50%; background: var(--pillar); box-shadow: 0 0 12px var(--pillar); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.reel-info { position: absolute; left: var(--gut); bottom: clamp(20px, 5vh, 44px); z-index: 3; display: grid; gap: 4px; max-width: 280px; }
.ri-count { display: flex; align-items: baseline; gap: 8px; font-family: var(--f-head); }
.ri-count strong { font-size: clamp(40px, 4.4vw, 60px); line-height: 1; letter-spacing: -.04em; color: var(--pillar-text); }
.ri-count span { color: var(--muted); font-size: 15px; }
.ri-title { font: 600 20px/1.2 var(--f-head); margin-top: 6px; }
.ri-type { color: var(--muted); font-size: 13.5px; }
.ri-watch { margin-top: 14px; justify-self: start; }
.ri-watch .ic { width: 13px; height: 13px; }
.reel-nav { position: absolute; right: var(--gut); bottom: clamp(20px, 5vh, 44px); z-index: 3; display: flex; align-items: center; gap: 12px; }
.reel-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); background: rgba(23,25,28,.7); transition: border-color .2s, transform .2s; }
.reel-btn:hover { border-color: var(--p-glow); transform: translateY(-2px); }
.reel-btn[data-step="-1"] .ic { transform: scaleX(-1); }
.reel-bar { width: clamp(80px, 12vw, 160px); height: 2px; border-radius: 2px; background: rgba(255,255,255,.12); overflow: hidden; }
.reel-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--pillar), var(--orange)); transform-origin: left; transform: scaleX(0); }
html:not(.js) .reel-sec { height: auto; }
@media (max-width: 760px) {
  .reel-sec { --cw: 150px; --R: 470px; height: calc(var(--n) * 46vh + 100vh); }
  .reel-pin { padding-top: 92px; }
  .reel-head { gap: 14px; }
  .reel-head .filters { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; padding-bottom: 4px; scrollbar-width: none; }
  .reel-head .filters::-webkit-scrollbar { display: none; }
  .reel-head .filter { flex: none; }
  .reel-head h2 { font-size: 30px; }
  .wcard figcaption strong { font-size: 13.5px; }
  .wcard figcaption span { display: none; }
  .wc-open { width: 34px; height: 34px; }
  .reel-info { max-width: 56%; }
  .ri-title { font-size: 16px; }
  .ri-watch { height: 36px; padding: 0 14px; font-size: 13px; }
  .reel-bar { display: none; }
  .reel-btn { width: 40px; height: 40px; }
}

/* ---------------------------------------------------------------- pricing (amounts from src/data/pricing.json) */
.price-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 48px); }
.cur { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 4px; border-radius: var(--r-chip); border: 1px solid var(--line-2); background: rgba(23,25,28,.6);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.cur-btn { height: 34px; min-width: 52px; padding: 0 12px; border-radius: var(--r-chip); font: 600 12.5px/1 var(--f-mono); color: var(--muted); transition: background-color .2s, color .2s; }
.cur-btn:hover { color: var(--text); }
.cur-btn[aria-pressed="true"] { background: var(--orange); color: var(--ink); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pkgs.grid-3 { gap: 20px; }
.money { white-space: nowrap; }
.pkg-price strong .money { font: inherit; color: inherit; }
.from { font: 500 13px/1 var(--f-body); color: var(--muted); }
.pkg-price { margin: 18px 0 22px; }
.pkg-bill { display: block; width: 100%; margin-top: 4px; }
.pkg-list { margin-bottom: 22px; }
.pkg-time { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0 0; margin: auto 0 22px; border-top: 1px solid var(--line); font-size: 13.5px; color: #DADADA !important; }
.pkg-time span { font: 400 11px/1.6 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pkg-time + .btn { margin-top: 0; }
.price-line { margin-top: 22px; text-align: center; font-size: 14px; color: var(--muted); }
.starting { margin-top: 40px; padding: 26px 28px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); }
.starting-title { margin-bottom: 18px; font: 600 12px/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--pillar-text); }
.v-development .starting-title { font: 400 13px/1 var(--f-mono); letter-spacing: 0; text-transform: none; }
.v-development .starting-title::before { content: "// "; }
.sp-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(176px, 1fr)); gap: 12px; }
.sp { display: grid; align-content: start; gap: 6px; padding: 16px; border-radius: var(--r-sm); border: 1px solid var(--line); background: rgba(255,255,255,.025);
  transition: border-color .3s, transform .3s var(--ease); }
.sp:hover { border-color: var(--p-mid); transform: translateY(-2px); }
.sp-name { font-size: 13.5px; color: #DADADA; line-height: 1.35; }
.sp-price { font: 700 22px/1.15 var(--f-head); letter-spacing: -.02em; }
.sp-unit { font-size: 12.5px; color: var(--muted); }
.sp-unit .pct { color: var(--pillar-text); }
.price-note { margin-top: 18px; font-size: 14.5px; color: #DADADA; }
.price-note + .price-note { margin-top: 8px; }
.price-note .money { color: var(--text); font-weight: 600; }
.price-foot { margin-top: 14px; font-size: 12.5px; color: #8A8D92; }
.price-more { margin-top: 26px; }

/* ---------------------------------------------------------------- shared tweaks used by every variant */
.pkg-popular .pkg-list .ic { color: var(--orange); }
.filter.is-on { background: var(--pillar-text); border-color: var(--pillar-text); }   /* lighter tone keeps ink text ≥ 4.5:1 */
.win-bar { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.02); }
.win-bar i { width: 7px; height: 7px; border-radius: 50%; background: #3A3D44; }
.win-bar i:first-child { background: var(--pillar); }
.win-bar span { margin-left: 8px; font: 400 11.5px/1 var(--f-mono); color: var(--muted); }
.win-bar .url { flex: 1; height: 16px; margin-left: 10px; border-radius: 6px; background: rgba(255,255,255,.06); }
.hv-ani .anim { transition: transform .9s var(--ease), opacity .7s var(--ease); }

/* =====================================================================
   VARIANT 02 — Development: code / IDE feel
   ===================================================================== */
body.v-development { --r: 10px; --r-sm: 6px;
  background-image: linear-gradient(rgba(255,255,255,.032) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.032) 1px, transparent 1px);
  background-size: 56px 56px; }
.v-development .hero-bg { background: radial-gradient(640px 520px at 86% 22%, var(--p-glow), transparent 66%), radial-gradient(620px 300px at 22% 100%, rgba(243,107,53,.4), transparent 70%); }
.v-development .hero h1 em, .v-intelligent .hero h1 em { display: inline; }
.v-development .eyebrow:not(.eyebrow-orange):not(.eyebrow-plain) { font: 400 13px/1 var(--f-mono); letter-spacing: 0; text-transform: none; }
.v-development .pill { font: 400 12px/1 var(--f-mono); letter-spacing: 0; text-transform: none; border-radius: 6px; }
.v-development .tags li, .v-development .chips li { font-family: var(--f-mono); font-size: 11px; border-radius: 6px; color: var(--pillar-text); border-color: var(--p-mid); background: var(--p-faint); }
.v-development .prob-num { font: 400 40px/1 var(--f-mono); }
.hv-dev { height: 460px; }
.browser { position: absolute; right: 0; top: 0; width: 76%; height: 365px; border-radius: 10px; overflow: hidden; background: #141519; border: 1px solid var(--line-2); box-shadow: 0 30px 60px -28px rgba(0,0,0,.9); }
.wf { position: relative; padding: 18px 20px; height: calc(100% - 32px); }
.wf > *, .wf-nav > *, .wf-ctas > * { transform-origin: left; }
.wf-nav { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.wf-logo { width: 18px; height: 18px; border-radius: 4px; background: var(--pillar); }
.wf-links { display: flex; gap: 8px; margin-left: auto; }
.wf-links i { width: 26px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.18); }
.wf-btn { width: 46px; height: 16px; border-radius: 4px; background: var(--orange); }
.wf-bar { display: block; height: 12px; border-radius: 3px; margin-bottom: 12px; }
.wf-h1 { width: 74%; background: #E9E7E2; }
.wf-h2 { width: 48%; background: var(--pillar); }
.wf-p { width: 62%; height: 5px; background: rgba(255,255,255,.14); margin-top: 18px; }
.wf-p2 { width: 46%; height: 5px; background: rgba(255,255,255,.14); }
.wf-ctas { display: flex; gap: 10px; margin-top: 22px; }
.wf-c1 { width: 70px; height: 22px; border-radius: 4px; background: var(--orange); }
.wf-c2 { width: 70px; height: 22px; border-radius: 4px; border: 1px solid var(--line-2); }
.wf-card { position: absolute; right: 18px; bottom: 18px; width: 46%; height: 60px; border-radius: 6px; border: 1px solid var(--line); background: rgba(255,255,255,.03); padding: 14px; }
.wf-card span { display: block; height: 5px; border-radius: 3px; background: rgba(255,255,255,.14); margin-bottom: 8px; width: 70%; }
.wf-card span + span { width: 45%; }
.editor { position: absolute; left: 0; top: 41%; z-index: 2; width: 60%; border-radius: 10px; overflow: hidden; background: #0E0F12; border: 1px solid var(--line-2); box-shadow: 0 30px 70px -20px rgba(0,0,0,.95); }
.ed-tab { height: 38px; display: flex; align-items: flex-end; padding: 0 14px; border-bottom: 1px solid var(--line); }
.ed-tab span { font: 400 12px/1 var(--f-mono); padding: 0 2px 11px; box-shadow: inset 0 -2px 0 var(--pillar); }
.code { margin: 0; padding: 14px 16px 18px; font: 400 12.5px/1.85 var(--f-mono); color: #E4E2DD; white-space: pre; overflow: hidden; }
.code .ln { display: block; min-height: 1.85em; }
.code b { display: inline-block; width: 24px; font-weight: 400; color: #555962; }
.code .k { color: var(--pillar-text); } .code .s { color: var(--orange); } .code .c { color: #6E727A; }
.chip-live { right: 0; top: auto; bottom: 38%; font-family: var(--f-mono); font-size: 11.5px; }
.chip-live i { background: var(--pillar); box-shadow: 0 0 10px var(--pillar); }
/* code types in, wireframe fills (transform + opacity only) */
.js .hv-dev .ln { opacity: 0; transform: translateX(-8px); transition: opacity .35s ease, transform .35s ease; transition-delay: calc(var(--i) * .11s + .5s); }
.js .hv-dev.is-in .ln { opacity: 1; transform: none; }
.js .hv-dev .wf > *, .js .hv-dev .wf-nav > *, .js .hv-dev .wf-ctas > * { transform: scaleX(0); transition: transform .8s var(--ease); }
.js .hv-dev.is-in .wf > *, .js .hv-dev.is-in .wf-nav > *, .js .hv-dev.is-in .wf-ctas > * { transform: none; }
.js .hv-dev.is-in .wf-h2 { transition-delay: .15s; } .js .hv-dev.is-in .wf-p { transition-delay: .3s; } .js .hv-dev.is-in .wf-p2 { transition-delay: .4s; }
.js .hv-dev.is-in .wf-ctas > * { transition-delay: .55s; } .js .hv-dev.is-in .wf-card { transition-delay: .7s; }
.svc-code { padding: 0; overflow: hidden; }
.svc-in { display: flex; flex-direction: column; gap: 14px; padding: 24px 24px 26px; flex: 1; }
.svc-in .chips { margin-top: auto; padding-top: 6px; }
.v-development .step-num { border-radius: 6px; font-family: var(--f-mono); font-weight: 500; }
.v-development .step:last-child .step-num { border-color: var(--orange); color: var(--orange); }
.step-tag { display: block; margin-top: 10px; font: 400 11.5px/1 var(--f-mono); color: var(--pillar-text); }
.step:last-child .step-tag { color: var(--orange); }
.tile-browser { flex-direction: column; align-items: stretch; padding: 0; }
.tile-browser .win-bar { position: relative; z-index: 1; background: rgba(10,10,11,.4); }
.tile-browser .win-bar .url { max-width: 60%; }
.tile-wf { position: relative; z-index: 1; padding: 18px 16px 0; flex: 1; }
.tile-wf span { display: block; height: 9px; border-radius: 3px; margin-bottom: 10px; }
.tile-wf .w1 { width: 58%; background: #E9E7E2; } .tile-wf .w2 { width: 36%; background: var(--pillar); }
.tile-wf .w3, .tile-wf .w4 { height: 4px; background: rgba(255,255,255,.18); } .tile-wf .w3 { width: 50%; margin-top: 16px; } .tile-wf .w4 { width: 40%; }
.tile-browser .tile-meta { padding: 0 18px 18px; }
.tile-browser.tile-featured .tile-wf { padding: 26px 22px 0; }
.tile-browser.tile-featured .tile-wf .w1 { height: 13px; } .tile-browser.tile-featured .tile-wf .w2 { height: 13px; }

/* =====================================================================
   VARIANT 03 — Growth: data / dashboard feel
   ===================================================================== */
body.v-growth { --r: 16px;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px); background-size: 100% 72px; }
.v-growth .hero-bg { background: radial-gradient(640px 520px at 84% 22%, var(--p-mid), transparent 66%), radial-gradient(620px 320px at 26% 100%, rgba(243,107,53,.45), transparent 70%); }
.hv-growth { padding-top: 12px; }
.dash { position: relative; border-radius: 18px; padding: 20px; background: rgba(23,25,28,.72); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 30px 70px -28px rgba(0,0,0,.9); }
.dash-head { display: flex; justify-content: space-between; align-items: center; font: 600 14.5px/1 var(--f-head); margin-bottom: 16px; }
.live { display: inline-flex; align-items: center; gap: 6px; font: 400 10.5px/1 var(--f-mono); text-transform: uppercase; color: var(--pillar-text); }
.live i { width: 6px; height: 6px; border-radius: 50%; background: var(--pillar); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
.kpi { padding: 12px; border-radius: 10px; background: rgba(0,0,0,.3); border: 1px solid var(--line); display: grid; gap: 6px; }
.kpi-l { font: 400 9.5px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.kpi strong { font: 700 21px/1 var(--f-head); color: var(--pillar-text); letter-spacing: -.02em; }
.kpi-s { font-size: 10.5px; color: var(--muted); }
.bars { display: flex; align-items: flex-end; gap: 7px; height: 120px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.bars i { flex: 1; height: 100%; border-radius: 3px 3px 0 0; background: var(--pillar); transform-origin: bottom; transform: scaleY(var(--h)); }
.bars i:last-child { background: var(--orange); }
.funnel { display: grid; gap: 9px; }
.fr { display: grid; grid-template-columns: 82px 1fr 34px; align-items: center; gap: 10px; font: 400 10.5px/1 var(--f-mono); color: var(--muted); }
.fr span:last-child { text-align: right; }
.ftrack { height: 7px; border-radius: 4px; background: rgba(255,255,255,.07); overflow: hidden; }
.ftrack i { display: block; height: 100%; border-radius: 4px; background: var(--pillar); transform-origin: left; transform: scaleX(var(--w)); }
.fr:nth-child(3) .ftrack i { opacity: .7; } .fr:nth-child(4) .ftrack i { opacity: .45; }
.roi { position: absolute; top: -2px; right: -8px; z-index: 2; padding: 8px 13px; border-radius: 10px; background: var(--orange); color: var(--ink); font: 600 12.5px/1 var(--f-body); box-shadow: 0 10px 30px -8px rgba(243,107,53,.7); }
/* bars rise, funnel fills */
.js .hv-growth .bars i { transform: scaleY(0); transition: transform .9s var(--ease); transition-delay: calc(var(--i) * .06s + .3s); }
.js .hv-growth.is-in .bars i { transform: scaleY(var(--h)); }
.js .hv-growth .ftrack i { transform: scaleX(0); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * .12s + .8s); }
.js .hv-growth.is-in .ftrack i { transform: scaleX(var(--w)); }
.svc-metric .chips { margin-top: 0; padding-top: 0; }
.metric-row { display: flex; justify-content: space-between; margin-top: auto; padding-top: 18px; font: 400 11px/1 var(--f-mono); color: var(--muted); }
.metric-v { color: var(--pillar-text); }
.svc-spark, .tile-spark { width: 100%; height: 34px; overflow: visible; }
.svc-spark polyline, .tile-spark polyline { stroke: var(--pillar); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.v-growth .process-line { display: none; }
.v-growth .steps { align-items: end; gap: 16px; }
.v-growth .step { display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.v-growth .step:nth-child(1) { min-height: 130px; } .v-growth .step:nth-child(2) { min-height: 158px; } .v-growth .step:nth-child(3) { min-height: 186px; }
.v-growth .step:nth-child(4) { min-height: 214px; } .v-growth .step:nth-child(5) { min-height: 242px; border-color: var(--orange); box-shadow: 0 0 40px -16px rgba(243,107,53,.6); }
.v-growth .step-num { width: auto; height: auto; border: 0; border-radius: 0; background: none; place-items: start; font: 500 12px/1 var(--f-mono); margin-bottom: 10px; }
.v-growth .step:last-child .step-num { color: var(--orange); }
.tile-metric { flex-direction: column; align-items: stretch; justify-content: space-between; }
.tm-top { display: grid; gap: 6px; }
.tm-num { font: 700 38px/1 var(--f-head); color: var(--pillar-text); letter-spacing: -.03em; }
.tile-featured .tm-num { font-size: clamp(48px, 5.4vw, 78px); }
.tm-label { font: 400 10.5px/1 var(--f-mono); color: var(--muted); }
.tile-metric .tile-spark { height: 28px; margin: 6px 0 10px; }
.tile-featured.tile-metric .tile-spark { height: 50px; }
.v-growth .tile-badge, .v-intelligent .tile-badge { left: auto; right: 18px; }
.v-growth .tile.tone-p::before { background: linear-gradient(150deg, var(--p-mid) 0%, transparent 62%); }

/* =====================================================================
   VARIANT 04 — Intelligent: automation feel
   ===================================================================== */
body.v-intelligent { --r: 24px; --r-sm: 12px;
  background-image: radial-gradient(rgba(255,255,255,.075) 1px, transparent 1.3px); background-size: 24px 24px; }
.v-intelligent .hero-bg { background: radial-gradient(700px 560px at 86% 24%, var(--p-mid), transparent 66%), radial-gradient(620px 320px at 24% 100%, rgba(243,107,53,.42), transparent 70%); }
.hv-ai { height: 500px; }
.net { position: absolute; right: 0; top: 0; width: 88%; height: auto; overflow: visible; }
.net .ring-dash { fill: none; stroke: rgba(255,255,255,.2); stroke-width: 1; stroke-dasharray: 3 6; }
.net .ring-in { fill: none; stroke: rgba(255,255,255,.07); stroke-width: 1; }
.net .links line { stroke: color-mix(in srgb, var(--pillar) 38%, transparent); stroke-width: 1.2; }
.net text { fill: #D9D9D9; font: 500 11.5px var(--f-body); }
.net .pt { fill: var(--pillar); opacity: 0; }
.js .hv-ai.is-in .net .pt { animation: flow 2.6s linear infinite; animation-delay: calc(var(--i) * .43s); }
@keyframes flow { 0% { transform: translate(0, 0); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)); opacity: 0; } }
.chat { position: absolute; left: 0; bottom: 4px; z-index: 2; width: 54%; padding: 14px; border-radius: 16px; background: rgba(14,17,20,.94); border: 1px solid var(--p-mid);
  box-shadow: 0 30px 60px -24px rgba(0,0,0,.9), 0 0 40px -18px var(--p-glow); }
.chat-head { display: flex; align-items: center; gap: 8px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line); font: 600 12.5px/1 var(--f-body); }
.chat-head .ic { width: 15px; height: 15px; color: var(--pillar-text); }
.online { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font: 400 10.5px/1 var(--f-mono); color: var(--pillar-text); }
.online i { width: 6px; height: 6px; border-radius: 50%; background: var(--pillar); }
.bub { max-width: 82%; padding: 9px 12px; border-radius: 12px; font-size: 12px; line-height: 1.45; margin-top: 8px; }
.bub-user { margin-left: auto; width: fit-content; background: #2A2D33; }
.bub-bot { background: var(--p-soft); border: 1px solid var(--p-mid); }
.js .hv-ai .bub { opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .hv-ai.is-in .bub-user { opacity: 1; transform: none; transition-delay: .6s; }
.js .hv-ai.is-in .bub-bot { opacity: 1; transform: none; transition-delay: 1.5s; }
.chip-auto { top: auto; bottom: 30px; right: 0; }
.svc-auto { display: flex; flex-direction: column; gap: 14px; }
.wt { margin: auto 0 0; padding: 12px 14px; border-radius: 12px; background: var(--p-faint); border: 1px solid var(--p-mid); display: grid; gap: 8px; font: 400 11.5px/1.45 var(--f-mono); }
.wt div { display: grid; grid-template-columns: 44px 1fr; gap: 8px; }
.wt dt { color: var(--muted); text-transform: uppercase; }
.wt div + div dt { color: var(--pillar-text); }
.wt dd { margin: 0; color: #DADADA; }
.v-intelligent .step-num { border-radius: 12px; box-shadow: 0 0 22px -4px var(--p-glow); font-family: var(--f-mono); font-weight: 500; }
.v-intelligent .step:last-child .step-num { border-color: var(--orange); color: var(--orange); box-shadow: 0 0 22px -4px rgba(243,107,53,.6); }
.v-intelligent .process-line { height: 0; background: none; border-top: 1.5px dashed var(--p-glow); }
.tile-flow { flex-direction: column; align-items: stretch; justify-content: space-between; }
.flow { display: flex; align-items: center; }
.flow i { position: relative; flex: none; width: 26px; height: 26px; border-radius: 8px; border: 1.5px solid var(--pillar); }
.flow i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: var(--pillar); }
.flow i.o { border-color: var(--orange); } .flow i.o::after { background: var(--orange); }
.flow b { width: 30px; border-top: 1.5px dashed var(--p-glow); }
.tile-featured .flow i { width: 34px; height: 34px; border-radius: 10px; } .tile-featured .flow b { width: 46px; }

/* ---------------------------------------------------------------- scroll reveal (transform + opacity only) */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .card[data-reveal].is-in:hover, .js .tile[data-reveal].is-in:hover { transform: translateY(-4px); }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .nav-links a { padding: 10px 8px; font-size: 13px; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: grid; }
  .nav { padding: 0 10px 0 16px; }
  .hero { padding: 132px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hv { max-width: 560px; width: 100%; margin: 0 auto; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .process-line { display: none; }
  .work-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 210px; }
  .tile, .tile:nth-child(2), .tile:nth-child(3) { grid-column: auto; }
  .tile-featured { grid-column: 1 / -1; grid-row: span 2; }
  .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .v-growth .step { min-height: 0 !important; }
  .brands-row { flex-direction: column; gap: 18px; }
  .brands-label { max-width: none; }
}
@media (max-width: 640px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-3 > :last-child:nth-child(odd) { grid-column: auto; }
  .grid-4 { grid-template-columns: 1fr; }
  .starting { padding: 20px 16px; }
  .sp-list { grid-template-columns: 1fr 1fr; gap: 10px; }
  .sp { padding: 13px; }
  .sp-price { font-size: 19px; }
  .cur-btn { min-width: 0; padding: 0 10px; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .step { display: grid; grid-template-columns: 46px 1fr; column-gap: 18px; }
  .step-num { grid-row: span 2; margin: 0; }
  .work-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .tile-featured { grid-row: span 1; min-height: 260px; }
  .brands ul { gap: 10px 22px; }
  .brands li { font-size: 15.5px; }
  .hero-ctas .btn { flex: 1 1 auto; }
  .hv-creative .hv-stage { height: 330px; }
  .hv-chip { font-size: 11px; padding: 7px 10px; }
  .hv-creative .hv-chip { top: auto; bottom: -4px; right: 50%; translate: 50% 0; }
  .pkg-for { min-height: 0; }
  .brand-name { font-size: 13px; letter-spacing: .12em; }
  /* hero visuals simplify on phones */
  .hv-dev { height: 380px; }
  .browser { width: 90%; height: 290px; }
  .editor { width: 86%; top: 40%; }
  .code { font-size: 11px; padding: 10px 12px 14px; }
  .chip-live { bottom: auto; top: -16px; right: 0; }
  .kpis { gap: 6px; } .kpi { padding: 9px; } .kpi strong { font-size: 16px; } .kpi-s { display: none; }
  .bars { height: 90px; gap: 5px; }
  .roi { right: 4px; top: -6px; }
  .hv-ai { height: auto; }
  .net { position: relative; width: 100%; }
  .chat { position: relative; width: 100%; margin-top: 10px; }
  .chip-auto { position: relative; right: auto; bottom: auto; margin-top: 12px; }
  .wt div { grid-template-columns: 40px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .process-line { transform: scaleX(1); }
}

/* ---------------------------------------------------------------- project tiles with video + case study */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.tile-media { background: #050506; }
.tile-media::before { display: none; }
.tile-media::after { background: linear-gradient(180deg, rgba(10,10,11,0) 38%, rgba(10,10,11,.55) 62%, rgba(10,10,11,.94)); }
.tile-media .win-bar { background: rgba(10,10,11,.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.tile-media .win-bar .url { padding-left: 10px; line-height: 16px; font-size: 11px; color: var(--muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tile-media .tile-shot { position: absolute; inset: 32px 0 0; z-index: 0; overflow: hidden; }
.tile-media .tile-shot video { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .8s var(--ease); }
.tile-media:hover .tile-shot video { transform: scale(1.03); }
.tile-media .tile-badge { top: 46px; }
.tile-media .tile-meta { margin-top: auto; padding: 0 18px 18px; }
.tile-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tile-actions .btn-sm { height: 36px; padding: 0 14px; font-size: 13px; }
.tile-actions .ic { width: 14px; height: 14px; }
.tile-featured.tile-media .tile-meta { padding: 0 24px 24px; }
.tile-featured.tile-media .tile-actions .btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }

.case-modal { align-items: start; overflow-y: auto; padding-top: clamp(16px, 5vh, 56px); padding-bottom: clamp(16px, 5vh, 56px); }
.case-box { position: relative; width: min(1180px, 100%); display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr);
  border-radius: 18px; overflow: hidden; background: var(--card); border: 1px solid var(--line-2); box-shadow: 0 40px 120px -30px rgba(0,0,0,.8); }
.case-media { background: #000; display: grid; align-items: center; }
.case-media video { width: 100%; aspect-ratio: 16 / 9; display: block; background: #000; }
.case-body { padding: 28px 28px 30px; display: flex; flex-direction: column; }
.case-title { font: 600 clamp(24px, 2.4vw, 32px)/1.1 var(--f-head, 'Space Grotesk'), sans-serif; margin-bottom: 12px; }
.case-sum { color: var(--muted); font-size: 15px; line-height: 1.6; margin-bottom: 20px; }
.case-label { font: 600 11px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--text); margin-bottom: 10px; }
.case-did { display: grid; gap: 8px; margin-bottom: 18px; }
.case-did li { position: relative; padding-left: 18px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.case-did li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 2px; background: var(--pillar); }
.case-tools { margin-bottom: 18px; }
.case-stills { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 22px; }
.case-stills a { display: block; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; background: #000; }
.case-stills img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.case-stills a:hover img { transform: scale(1.05); }
.case-live { margin-top: auto; align-self: flex-start; }
.case-modal .modal-close { top: 12px; right: 12px; }
@media (max-width: 980px) {
  .case-box { grid-template-columns: 1fr; }
  .case-body { padding: 22px 20px 24px; }
}
@media (max-width: 640px) {
  .work-grid { grid-auto-rows: minmax(200px, auto); }
  .work-grid .tile-media { min-height: 300px; }
  .tile-featured.tile-media { min-height: 340px; }
}

/* placeholder tiles: next case studies / catalogue under maintenance */
.tile-soon .tile-wf span { background: rgba(255,255,255,.08) !important; position: relative; overflow: hidden; }
.tile-soon .tile-wf span::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent); animation: soon-shine 2.4s var(--ease) infinite; }
.tile-soon .tile-wf .w2::after { animation-delay: .25s; }
@keyframes soon-shine { to { transform: translateX(100%); } }
.tile-soon h3 { color: var(--text); }
.tile-soon p { color: var(--muted); }
.soon-badge { position: absolute; top: 46px; right: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 6px 11px;
  border-radius: var(--r-chip); background: rgba(10,10,11,.7); border: 1px solid var(--line-2); font: 600 11px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--text); }
.soon-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(243,107,53,.6); animation: soon-pulse 2s infinite; }
@keyframes soon-pulse { 70% { box-shadow: 0 0 0 8px rgba(243,107,53,0); } 100% { box-shadow: 0 0 0 0 rgba(243,107,53,0); } }
/* small video tiles: deeper shade under the text so light sites (e.g. MedXlink) stay readable */
.tile-media:not(.tile-featured)::after { background: linear-gradient(180deg, rgba(10,10,11,0) 14%, rgba(10,10,11,.8) 46%, rgba(10,10,11,.97) 68%); }
.tile-media .tile-meta h3, .tile-media .tile-meta p { text-shadow: 0 1px 12px rgba(0,0,0,.6); }

/* footer: social links */
.foot-right { display: flex; flex-direction: column; align-items: flex-end; gap: 18px; }
.foot-social { display: flex; gap: 10px; }
.foot-social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); color: var(--muted); transition: color .25s, border-color .25s; }
.foot-social a:hover { color: var(--text); border-color: var(--orange); }
.foot-social svg { width: 18px; height: 18px; }
@media (max-width: 760px) { .foot-right { align-items: flex-start; } }
