/* ============================================================
   BRAND FONT
   To use the MeldStack font: put the files in assets/fonts/,
   uncomment the @font-face below, and change --font-sans.
   ============================================================ */
/*
@font-face {
  font-family: "MeldStack Sans";
  src: url("fonts/meldstack-regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
*/

:root {
  --black: #000;
  --ink: #050505;
  --ink-2: #0b0b0c;
  --white: #fff;
  --text: #f4f4f2;
  --muted: rgba(244, 244, 242, 0.56);
  --faint: rgba(244, 244, 242, 0.32);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --glass: rgba(255, 255, 255, 0.04);
  --glass-strong: rgba(255, 255, 255, 0.07);
  --font-sans: "Inter Tight", system-ui, -apple-system, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --radius: 22px;
  --gutter: clamp(16px, 4vw, 48px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
em { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
::selection { background: #fff; color: #000; }

.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }

h1, h2 { font-weight: 400; letter-spacing: -0.035em; line-height: 1; }
h2 { font-size: clamp(2.4rem, 5.6vw, 4.8rem); max-width: 16ch; }
h2 em { font-size: 1.06em; }
h3 { font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--muted); max-width: 52ch; }

/* ---------- Split text (word reveal) ---------- */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; will-change: transform; }

/* ---------- Badge (line · diamond · pill) ---------- */
.badge { display: inline-flex; align-items: center; gap: 0; margin-bottom: 28px; }
.badge span {
  font-size: 0.78rem; letter-spacing: 0.02em; color: var(--text);
  padding: 7px 16px; border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.03));
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 0 24px rgba(255,255,255,.05);
}
.badge-line { display: block; width: 56px; height: 1px; position: relative; background: linear-gradient(90deg, transparent, rgba(255,255,255,.5)); }
.badge-line:last-child { background: linear-gradient(-90deg, transparent, rgba(255,255,255,.5)); }
.badge-line::after {
  content: ""; position: absolute; top: 50%; width: 5px; height: 5px; background: #fff;
  transform: translateY(-50%) rotate(45deg); box-shadow: 0 0 10px #fff;
}
.badge-line:first-child::after { right: 6px; }
.badge-line:last-child::after { left: 6px; }

/* ---------- Glass ---------- */
.glass {
  background: linear-gradient(160deg, rgba(255,255,255,.075), rgba(255,255,255,.015) 60%);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  font-family: inherit; font-size: 0.95rem; font-weight: 500; letter-spacing: -0.01em;
  padding: 8px 8px 8px 22px; min-height: 50px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .5s var(--ease), background .3s, color .3s; overflow: hidden; isolation: isolate;
}
.btn > span { position: relative; z-index: 1; }
.btn-white { background: #fff; color: #000; }
.btn-white::before {
  content: ""; position: absolute; inset: 0; z-index: 0; background: #d9d9d6;
  transform: translateY(101%); border-radius: inherit; transition: transform .5s var(--ease);
}
.btn-white:hover::before { transform: none; }
.btn-arrow {
  position: relative; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: #000; color: #fff; font-style: normal; font-size: 1rem; transition: transform .5s var(--ease);
}
.btn:hover .btn-arrow { transform: rotate(-45deg); }
.btn-glass {
  padding: 8px 24px; color: var(--text); background: rgba(255,255,255,.06); border: 1px solid var(--line-strong);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.btn-glass:hover { background: rgba(255,255,255,.12); }
.btn-full { width: 100%; justify-content: space-between; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 1000; overflow: hidden;
  background: #f4f4f2; color: #050505;
  display: grid; place-items: center;
}
.loader-top {
  position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; gap: 16px;
  padding: calc(22px + env(safe-area-inset-top, 0px)) var(--gutter) 0; font-size: .78rem; letter-spacing: .02em; color: rgba(5,5,5,.55);
}
.loader-top span { overflow: hidden; }
.loader-logo { width: clamp(90px, 13vw, 170px); height: auto; overflow: visible; margin-top: -8vh; }
.loader-logo .lb { fill: #050505; stroke: #050505; transform-box: fill-box; transform-origin: 50% 100%; }
.loader-logo .lb4 { transform-origin: 100% 100%; }
.loader-bottom {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: flex-end;
  gap: 20px; padding: 0 var(--gutter) calc(18px + env(safe-area-inset-bottom, 0px));
}
.loader-word { display: flex; overflow: hidden; font-size: clamp(3rem, 13vw, 13rem); font-weight: 500; letter-spacing: -0.065em; line-height: .82; padding-bottom: .04em; }
.loader-word span { display: inline-block; transform: translateY(110%); }
.loader-count {
  overflow: hidden; font-size: clamp(3rem, 13vw, 13rem); font-weight: 300; letter-spacing: -0.06em; line-height: .82;
  font-variant-numeric: tabular-nums; padding-bottom: .04em; text-align: right; min-width: 2.2ch;
}
.loader-count span { display: inline-block; transform: translateY(110%); }
.loader-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; }
.loader-bar i { display: block; height: 100%; background: #050505; transform-origin: left; transform: scaleX(0); }
.loader-panel {
  position: absolute; left: 0; right: 0; bottom: 0; height: 100%; background: #000;
  border-radius: 48px 48px 0 0; transform: translateY(101%);
}
.no-js .loader { display: none; }

/* ---------- Cursor ---------- */
.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 900; display: none; }
.has-cursor .cursor { display: block; }
.cursor-dot, .cursor-ring { position: absolute; top: 0; left: 0; border-radius: 50%; will-change: transform; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; mix-blend-mode: difference; }
.cursor-ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(255,255,255,.5);
  display: grid; place-items: center; transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background .3s, border-color .3s;
}
.cursor-ring span { font-size: .72rem; font-weight: 500; color: #000; opacity: 0; transition: opacity .2s; }
.cursor.is-hover .cursor-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: rgba(255,255,255,.9); }
.cursor.is-label .cursor-ring { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: #fff; border-color: #fff; }
.cursor.is-label .cursor-ring span { opacity: 1; }
.cursor.is-label .cursor-dot { opacity: 0; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px var(--gutter); transition: transform .6s var(--ease), padding .4s var(--ease);
}
.nav.is-hidden { transform: translateY(-110%); }
.nav.is-scrolled { padding-top: 12px; padding-bottom: 12px; }
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(5,5,5,.7); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); opacity: 0; transition: opacity .4s; }
@media (max-width: 960px) { .nav.is-scrolled::before { opacity: 1; } }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 1.12rem; letter-spacing: -0.03em; }
.logo svg { width: 24px; height: auto; color: #fff; }
.nav-pill {
  display: flex; gap: 4px; padding: 5px; border-radius: 999px;
  background: rgba(20,20,20,.45); border: 1px solid var(--line);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.nav-pill a { padding: 8px 16px; border-radius: 999px; font-size: .88rem; color: var(--muted); transition: color .3s, background .3s; }
.nav-pill a:hover, .nav-pill a.is-active { color: #fff; background: rgba(255,255,255,.08); }
.nav-mobile-cta { display: none; }
.nav-cta { min-height: 44px; padding: 5px 5px 5px 18px; font-size: .88rem; }
.nav-cta .btn-arrow { width: 34px; height: 34px; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(20,20,20,.5); backdrop-filter: blur(12px); cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: #fff; transition: transform .4s var(--ease), top .4s var(--ease); }
.nav-toggle span:first-child { top: 19px; }
.nav-toggle span:last-child { top: 26px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between;
  padding: 140px var(--gutter) 40px; overflow: hidden; background: #000;
}
.hero-canvas, .hero-fallback, .hero-grain { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-fallback {
  display: none;
  background:
    radial-gradient(60% 18% at 50% 64%, rgba(255,255,255,.85), transparent 70%),
    radial-gradient(90% 40% at 50% 64%, rgba(200,200,205,.25), transparent 70%), #000;
}
.no-webgl .hero-fallback { display: block; }
.hero-grain {
  opacity: .09; pointer-events: none; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-title {
  font-size: clamp(2.7rem, 6.2vw, 6.2rem); max-width: 13ch; line-height: .95; letter-spacing: -0.05em;
  text-shadow: 0 0 60px rgba(0,0,0,.6);
}
.hero-title em { font-size: 1.08em; letter-spacing: -0.02em; }
.hero-sub { margin-top: 28px; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: rgba(255,255,255,.75); }
.rotator { position: relative; display: inline-grid; vertical-align: -0.42em; overflow: hidden; height: 1.75em; min-width: 5.2em; }
.rot-word {
  grid-area: 1 / 1; align-self: center; font-family: var(--font-serif); font-style: italic; font-size: 1.3em; line-height: 1.3; color: #fff;
  transform: translateY(100%); opacity: 0; transition: transform .7s var(--ease), opacity .7s var(--ease);
  text-align: center;
}
.rot-word.is-active { transform: none; opacity: 1; }
.rot-word.is-out { transform: translateY(-100%); opacity: 0; }
.hero-cta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.hero-bottom { position: relative; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.hero-tagline { font-size: .92rem; color: rgba(255,255,255,.8); line-height: 1.3; padding: 12px 18px; border-radius: 16px; background: rgba(0,0,0,.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); }
.hero-tagline em { font-size: 1.15em; color: #fff; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.hero-chips li { font-size: .8rem; padding: 10px 16px; border-radius: 14px; color: #fff; background: rgba(0,0,0,.55) !important; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; mix-blend-mode: difference; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.scroll-cue i { width: 1px; height: 44px; background: linear-gradient(#fff, transparent); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Marquee ---------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; overflow: hidden; background: #000; }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; flex-shrink: 0; }
.marquee li { font-size: clamp(1.3rem, 2.4vw, 2rem); letter-spacing: -0.03em; color: var(--faint); padding: 0 34px; position: relative; transition: color .3s; white-space: nowrap; }
.marquee li:hover { color: #fff; }
.marquee li::after { content: ""; position: absolute; right: -3px; top: 50%; width: 6px; height: 6px; background: rgba(255,255,255,.4); transform: translateY(-50%) rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Statement ---------- */
.statement { padding: clamp(110px, 16vw, 200px) 0; text-align: center; }
.statement .wrap { display: flex; flex-direction: column; align-items: center; }
.statement-text { font-size: clamp(1.7rem, 3.9vw, 3.4rem); line-height: 1.12; letter-spacing: -0.035em; max-width: 24ch; }
.statement-text .sw { opacity: .14; transition: none; }
.statement-text em { font-size: 1.05em; }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(90px, 12vw, 160px) 0; }
.section-head { margin-bottom: clamp(48px, 7vw, 88px); }
.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }

/* ---------- Problem cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; perspective: 1200px; }
.card {
  position: relative; padding: 32px 28px; border-radius: var(--radius); min-height: 300px;
  display: flex; flex-direction: column; gap: 14px; overflow: hidden; transform-style: preserve-3d;
  transition: border-color .4s;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.12), transparent 45%);
}
.card:hover::before { opacity: 1; }
.card:hover { border-color: var(--line-strong); }
.card-index { font-size: .78rem; color: var(--faint); }
.card h3 { font-size: 1.55rem; margin-top: 26px; }
.card p { color: var(--muted); font-size: .96rem; }
.card-outcome { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); color: #fff !important; font-family: var(--font-serif); font-style: italic; font-size: 1.15rem !important; }

/* ---------- Services (horizontal) ---------- */
.services { position: relative; background: #000; border-top: 1px solid var(--line); overflow: hidden; }
.services::before {
  content: ""; position: absolute; left: 50%; top: 58%; width: 140%; height: 70%; transform: translate(-50%, -50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(255,255,255,.10), transparent 70%); pointer-events: none;
}
.services-pin { padding: clamp(90px, 11vw, 150px) 0 clamp(90px, 11vw, 150px); }
.services-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 64px); }
.services-head h2 { font-size: clamp(2.2rem, 4.8vw, 4.2rem); }
.services-note { color: var(--muted); max-width: 38ch; }
.services-track {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
  max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); perspective: 1200px;
}
.service {
  position: relative; min-width: 0; padding: 30px 28px 28px; border-radius: 24px;
  display: flex; flex-direction: column; overflow: hidden; transform-style: preserve-3d; transition: border-color .4s;
}
.service::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.12), transparent 45%);
}
.service:hover::before { opacity: 1; }
.service:hover { border-color: var(--line-strong); }
.service-num {
  position: absolute; top: 24px; left: 26px; z-index: 2; font-size: .74rem; letter-spacing: .08em; color: rgba(255,255,255,.55);
  padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line); background: rgba(0,0,0,.4); font-variant-numeric: tabular-nums;
}
.service h3 { font-size: clamp(1.4rem, 1.8vw, 1.7rem); margin-top: 22px; letter-spacing: -0.03em; line-height: 1.15; font-family: var(--font-sans); font-weight: 500; }
.service p { color: var(--muted); margin-top: 12px; font-size: .95rem; }
.service .tags { margin-top: auto; padding-top: 22px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.tags li { font-size: .76rem; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line-strong); color: rgba(255,255,255,.8); background: rgba(255,255,255,.03); }

/* ---------- Offers (list) ---------- */
.offers { border-top: 1px solid var(--line); }
.offer { border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.offer a {
  position: relative; display: grid; grid-template-columns: 70px 1.3fr 1.2fr 180px 50px; align-items: center; gap: 24px;
  padding: 34px 0; z-index: 1; transition: color .5s var(--ease), padding .5s var(--ease);
}
.offer::before {
  content: ""; position: absolute; inset: 0; background: #fff; transform: scaleY(0); transform-origin: bottom;
  transition: transform .6s var(--ease);
}
.offer:hover::before { transform: scaleY(1); transform-origin: top; }
.offer:hover a { color: #000; padding-left: 24px; padding-right: 24px; }
.offer-num { font-size: .82rem; color: var(--faint); transition: color .5s; }
.offer-title { font-size: clamp(1.4rem, 2.4vw, 2.1rem); letter-spacing: -0.035em; line-height: 1.05; }
.offer-title em { font-size: 1.08em; }
.offer-desc { color: var(--muted); font-size: .95rem; transition: color .5s; }
.offer-for { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--faint); transition: color .5s; }
.offer-arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: transform .6s var(--ease), background .5s, color .5s, border-color .5s; }
.offer:hover .offer-num, .offer:hover .offer-desc, .offer:hover .offer-for { color: rgba(0,0,0,.6); }
.offer:hover .offer-arrow { background: #000; color: #fff; border-color: #000; transform: rotate(-45deg); }

/* ---------- Process (inverted) ---------- */
.process-section {
  position: relative; background: #f4f4f2; color: #0a0a0a; padding: clamp(100px, 13vw, 170px) 0;
  border-radius: clamp(28px, 6vw, 80px) clamp(28px, 6vw, 80px) 0 0; margin-top: 40px;
}
.process-section + .section { background: #f4f4f2; color: #0a0a0a; }
.process-section h2 em { color: #0a0a0a; }
.badge-dark span { color: #0a0a0a; background: linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,.02)); border-color: rgba(0,0,0,.15); box-shadow: none; }
.badge-dark .badge-line { background: linear-gradient(90deg, transparent, rgba(0,0,0,.5)); }
.badge-dark .badge-line:last-child { background: linear-gradient(-90deg, transparent, rgba(0,0,0,.5)); }
.badge-dark .badge-line::after { background: #000; box-shadow: none; }
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.step { position: relative; padding-top: 26px; }
.step-num { font-size: clamp(3.2rem, 5vw, 4.6rem); letter-spacing: -0.06em; font-weight: 300; line-height: 1; display: block; color: #0a0a0a; }
.step-line { display: block; height: 1px; background: #0a0a0a; margin: 22px 0 22px; transform-origin: left; transform: scaleX(0); }
.step h3 { font-size: 1.5rem; }
.step p { color: rgba(10,10,10,.6); margin-top: 10px; font-size: .95rem; }

/* ---------- Why (stays light, then curves back to black) ---------- */
#why { padding-top: clamp(40px, 6vw, 80px); border-radius: 0 0 clamp(28px, 6vw, 80px) clamp(28px, 6vw, 80px); }
#why .badge span { color: #0a0a0a; background: rgba(0,0,0,.04); border-color: rgba(0,0,0,.15); box-shadow: none; }
#why .badge-line { background: linear-gradient(90deg, transparent, rgba(0,0,0,.5)); }
#why .badge-line:last-child { background: linear-gradient(-90deg, transparent, rgba(0,0,0,.5)); }
#why .badge-line::after { background: #000; box-shadow: none; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(0,0,0,.12); }
.value { padding: 36px 32px 40px 0; border-bottom: 1px solid rgba(0,0,0,.12); }
.value:not(:nth-child(3n)) { border-right: 1px solid rgba(0,0,0,.12); }
.value:not(:nth-child(3n+1)) { padding-left: 32px; }
.value span { font-size: .78rem; color: rgba(0,0,0,.4); }
.value h3 { font-size: 1.4rem; margin-top: 30px; }
.value p { color: rgba(10,10,10,.6); margin-top: 10px; font-size: .95rem; }
.engage { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 72px; }
.engage-item { padding: 28px; border-radius: 20px; background: #0a0a0a !important; color: #fff; border: 0; }
.engage-item h4 { font-weight: 400; font-size: 1.5rem; letter-spacing: -0.03em; }
.engage-item p { color: var(--muted); margin-top: 8px; font-size: .92rem; }

/* ---------- Markets ---------- */
.markets { padding: clamp(110px, 14vw, 180px) 0 clamp(60px, 8vw, 100px); text-align: center; display: flex; flex-direction: column; align-items: center; overflow: hidden; }
.markets-list { display: flex; flex-direction: column; gap: 0; }
.markets-list li { font-size: clamp(2.4rem, 8.4vw, 8rem); letter-spacing: -0.055em; line-height: 1.02; white-space: nowrap; }
.m-outline { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.35); transition: color .5s var(--ease), -webkit-text-stroke-color .5s; display: inline-block; }
.markets-list li:hover .m-outline, .m-outline.is-lit { color: #fff; -webkit-text-stroke-color: #fff; }

/* ---------- Promise ---------- */
.promise { position: relative; overflow: hidden; padding: clamp(130px, 18vw, 240px) 0; text-align: center; }
.promise-glow {
  position: absolute; left: 50%; top: 50%; width: 160%; height: 120%; transform: translate(-50%, -50%);
  background:
    radial-gradient(38% 9% at 50% 50%, rgba(255,255,255,.75), transparent 80%),
    radial-gradient(60% 24% at 50% 50%, rgba(255,255,255,.18), transparent 75%);
  filter: blur(10px); animation: breathe 7s ease-in-out infinite alternate;
}
.promise::before, .promise::after {
  content: ""; position: absolute; left: -10%; right: -10%; height: 50%; background: #050505; z-index: 0;
}
.promise::before { top: -12%; border-radius: 0 0 50% 50% / 0 0 100% 100%; }
.promise::after { bottom: -12%; border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
@keyframes breathe { from { transform: translate(-50%, -50%) scaleX(.85); opacity: .75; } to { transform: translate(-50%, -50%) scaleX(1.1); opacity: 1; } }
.promise-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.promise-text { font-size: clamp(2.3rem, 6vw, 5.4rem); line-height: 1; letter-spacing: -0.045em; max-width: 17ch; margin-bottom: 48px; text-shadow: 0 0 40px rgba(0,0,0,.8); }
.promise-text em { font-size: 1.06em; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.contact h2 { font-size: clamp(2.4rem, 5vw, 4.4rem); }
.contact .lead { margin-top: 26px; }
.contact-points { margin-top: 34px; display: grid; gap: 14px; }
.contact-points li { padding-left: 26px; position: relative; color: rgba(255,255,255,.85); }
.contact-points li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; background: #fff; transform: rotate(45deg); }
.contact-direct { margin-top: 34px; color: var(--muted); }
.email-trigger { font: inherit; color: #fff; background: none; border: 0; padding: 0; cursor: pointer; border-bottom: 1px solid rgba(255,255,255,.4); transition: border-color .3s; }
.email-trigger:hover, .email-trigger:focus-visible { border-color: #fff; outline: none; }
.email-menu {
  position: fixed; z-index: 600; width: 260px; padding: 8px; border-radius: 18px;
  background: rgba(16,16,17,.92); border: 1px solid var(--line-strong);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 24px 60px rgba(0,0,0,.55);
}
.email-menu[hidden] { display: none !important; }
.email-menu-label { font-size: .74rem; color: var(--faint); padding: 8px 12px 10px; }
.email-menu-label span { display: block; color: #fff; font-size: .9rem; margin-top: 2px; }
.email-menu a, .email-menu button {
  display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 11px 12px; border-radius: 11px;
  font: inherit; font-size: .92rem; color: rgba(255,255,255,.85); background: none; border: 0; cursor: pointer; text-align: left;
  transition: background .25s, color .25s;
}
.email-menu a:hover, .email-menu button:hover, .email-menu a:focus-visible, .email-menu button:focus-visible { background: #fff; color: #000; outline: none; }
.email-menu i { font-style: normal; opacity: .6; }

.form { padding: clamp(22px, 3vw, 40px); border-radius: 28px; display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; display: block; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: #fff; background: rgba(0,0,0,.35);
  border: 1px solid var(--line-strong); border-radius: 14px; padding: 24px 16px 10px; transition: border-color .3s, background .3s;
  appearance: none; -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 130px; }
.field > span {
  position: absolute; left: 17px; top: 17px; font-size: .95rem; color: var(--muted); pointer-events: none;
  transition: transform .35s var(--ease), font-size .35s var(--ease), color .3s; transform-origin: left;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: #fff; background: rgba(0,0,0,.55); }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span,
.field select:focus + span, .field select.has-value + span {
  transform: translateY(-10px); font-size: .72rem; color: rgba(255,255,255,.7);
}
.field-select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 7px; height: 7px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.field select option { background: #111; color: #fff; }
.field .invalid, .invalid { border-color: #ff6b6b !important; }
.hp { position: absolute !important; left: -9999px; }
.form-status { font-size: .9rem; min-height: 1.3em; text-align: center; color: var(--muted); }
.form-status.ok { color: #fff; }
.form-status.err { color: #ff8a8a; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-top: 70px; overflow: hidden; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; }
.footer-tag { font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: -0.03em; line-height: 1.1; }
.footer-tag em { font-size: 1.08em; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; color: var(--muted); font-size: .95rem; }
.footer-links a:hover { color: #fff; }
.footer-word {
  font-size: clamp(4.4rem, 21vw, 22rem); letter-spacing: -0.07em; line-height: .8; text-align: center; white-space: nowrap;
  margin-top: 60px; font-weight: 500;
  background: linear-gradient(180deg, #fff 10%, rgba(255,255,255,.04) 95%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; padding-bottom: 28px; border-top: 1px solid var(--line); color: var(--faint); font-size: .82rem; }
.footer-bottom a:hover { color: #fff; }


/* ---------- Stats ---------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: clamp(40px, 6vw, 72px) clamp(16px, 3vw, 40px); display: flex; flex-direction: column; gap: 18px; }
.stat:first-child { padding-left: 0; }
.stat:not(:last-child) { border-right: 1px solid var(--line); }
.stat-num { font-size: clamp(3.4rem, 8vw, 7.4rem); font-weight: 300; letter-spacing: -0.06em; line-height: .9; font-variant-numeric: tabular-nums; }
.stat-label { color: var(--muted); max-width: 30ch; font-size: .95rem; }

/* ---------- About (vision / mission) ---------- */
.about { padding: clamp(90px, 12vw, 150px) 0 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); }
.about-item h3 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); font-weight: 400; letter-spacing: -0.04em; line-height: 1.02; max-width: 18ch; }
.about-item h3 em { font-size: 1.06em; }
.about-item p { color: var(--muted); margin-top: 22px; max-width: 46ch; }

/* ---------- Work (uniform grid) ---------- */
.works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.work {
  display: flex; flex-direction: column; min-width: 0; cursor: pointer; border-radius: 22px;
  background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.01) 60%);
  border: 1px solid var(--line); padding: 10px; transition: border-color .4s, background .4s, transform .6s var(--ease);
}
.work:hover, .work:focus-visible { border-color: var(--line-strong); background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02) 60%); }
.work:focus-visible { outline: 1px solid #fff; outline-offset: 3px; }
.work-media { position: relative; overflow: hidden; border-radius: 14px; aspect-ratio: 16 / 10; background: #111; max-width: 100%; }
.work-media img {
  width: 100%; height: 115%; object-fit: cover; object-position: top; display: block; max-width: none;
  filter: grayscale(1) contrast(1.05) brightness(.85); transform: scale(1.03);
  transition: filter .8s var(--ease), transform 1.2s var(--ease);
}
.work:hover .work-media img, .work:focus-visible .work-media img { filter: grayscale(0) brightness(1); transform: scale(1.08); }
.work-info { display: flex; flex-direction: column; gap: 10px; padding: 20px 12px 12px; flex: 1; }
.work-meta { display: flex; justify-content: space-between; gap: 12px; font-size: .78rem; color: var(--faint); font-variant-numeric: tabular-nums; }
.work h3 { font-size: clamp(1.35rem, 1.8vw, 1.6rem); font-weight: 400; letter-spacing: -0.035em; }
.work-desc { color: var(--muted); font-size: .92rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.work .tags { margin-top: auto; padding-top: 8px; }

/* ---------- Project viewer ---------- */
.viewer { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) 16px max(16px, env(safe-area-inset-bottom, 0px)); }
.viewer[hidden] { display: none !important; }
.viewer-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.viewer-panel {
  position: relative; width: min(1180px, 100%); max-height: 100%; overflow: auto; overscroll-behavior: contain;
  background: #0b0b0c; border: 1px solid var(--line-strong); border-radius: 28px; padding: 16px;
}
.viewer-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 4px 4px 14px; }
.viewer-count { font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.viewer-nav { display: flex; gap: 8px; }
.viewer-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; color: #fff;
  font: inherit; font-size: 1rem; cursor: pointer; transition: background .3s, color .3s;
}
.viewer-btn:hover, .viewer-btn:focus-visible { background: #fff; color: #000; outline: none; }
.viewer-body { display: grid; grid-template-columns: 1.55fr 1fr; gap: 28px; align-items: start; }
.viewer-media { border-radius: 18px; overflow: hidden; background: #111; aspect-ratio: 16 / 10; max-width: 100%; }
.viewer-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.viewer-info { display: flex; flex-direction: column; gap: 16px; padding: 8px 8px 8px 0; }
.viewer-meta { display: flex; gap: 16px; font-size: .8rem; color: var(--faint); }
.viewer-info h3 { font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 400; letter-spacing: -0.045em; line-height: 1; }
.viewer-info p { color: var(--muted); }
.viewer-info .btn { align-self: flex-start; margin-top: 10px; }

@media (max-width: 1100px) {
  .services-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .works { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .works .work:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .works .work:last-child:nth-child(odd) .work-media { aspect-ratio: 21 / 9; }
}
@media (max-width: 860px) {
  .viewer-body { grid-template-columns: 1fr; gap: 20px; }
  .viewer-info { padding: 0 6px 6px; }
}
@media (max-width: 640px) {
  .works { grid-template-columns: 1fr; }
  .works .work:last-child:nth-child(odd) .work-media { aspect-ratio: 16 / 10; }
  .viewer-panel { border-radius: 22px; padding: 12px; }
}

/* ---------- Footer contact ---------- */
.footer-contact { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.footer-mail { font-size: clamp(1.2rem, 2vw, 1.6rem); letter-spacing: -0.03em; }
.socials { display: flex; gap: 8px; flex-wrap: wrap; }
.socials a { font-size: .82rem; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); transition: color .3s, background .3s, border-color .3s; }
.socials a:hover { background: #fff; color: #000; border-color: #fff; }

@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat { padding: 36px 0; }
  .stat:not(:last-child) { border-right: 0; border-bottom: 1px solid var(--line); }
  .footer-contact { align-items: flex-start; }
}


/* ---------- Morph (3D particles) ---------- */
.morph { position: relative; height: 100vh; min-height: 560px; overflow: hidden; background: #000; border-top: 1px solid var(--line); }
.morph-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.morph::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 70% 50%, transparent 40%, rgba(0,0,0,.65)); }
.morph-ui { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 40px; pointer-events: none; }
.morph-panels { position: relative; width: min(520px, 44%); min-height: 340px; }
.morph-panel { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; opacity: 0; transform: translateY(30px); filter: blur(6px); transition: opacity .7s var(--ease), transform .9s var(--ease), filter .7s var(--ease); }
.morph-panel.is-active { opacity: 1; transform: none; filter: none; }
.morph-panel h2 { font-size: clamp(2.2rem, 4.4vw, 4rem); max-width: 13ch; }
.morph-panel p { color: var(--muted); margin-top: 22px; max-width: 40ch; }
.morph-kicker { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 22px; }
.morph-steps { position: absolute; right: var(--gutter); bottom: 48px; display: flex; gap: 22px; font-size: .78rem; color: var(--faint); }
.morph-steps li { position: relative; padding-top: 14px; transition: color .4s; }
.morph-steps li::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 1px; background: var(--line-strong); }
.morph-steps li::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 1px; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.morph-steps li.is-active { color: #fff; }
.morph-steps li.is-active::after { transform: scaleX(1); }
.reduced .morph { height: auto; }
.reduced .morph-panels { position: static; width: auto; }
.reduced .morph-panel { position: static; opacity: 1; transform: none; filter: none; padding: 60px 0; }
.reduced .morph-canvas, .reduced .morph-steps { display: none; }
@media (max-width: 760px) {
  .morph-ui { align-items: flex-end; padding-bottom: 96px; }
  .morph-panels { width: 100%; min-height: 260px; }
  .morph-panel { justify-content: flex-end; }
  .morph-panel h2 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .morph-steps { left: var(--gutter); right: var(--gutter); bottom: 36px; justify-content: space-between; gap: 8px; font-size: .68rem; }
  .morph-steps li { flex: 1; }
  .morph::after { background: linear-gradient(transparent 35%, rgba(0,0,0,.85) 75%); }
}



/* ---------- Capability motion graphics ---------- */
.service-art {
  position: relative; margin: -12px -10px 0; aspect-ratio: 16 / 9; max-width: calc(100% + 20px); border-radius: 16px; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, rgba(255,255,255,.07), rgba(255,255,255,0) 60%), rgba(0,0,0,.35);
  border: 1px solid var(--line); transition: border-color .4s, transform .8s var(--ease);
}
.service:hover .service-art { border-color: var(--line-strong); transform: translateY(-3px); }
.art { width: 100%; height: 100%; display: block; overflow: visible; }
.art * { transform-box: fill-box; }
.art .wire, .art .wire path { fill: none; stroke: rgba(255,255,255,.18); stroke-width: 1.2; }
.art .frame { fill: rgba(255,255,255,.02); stroke: rgba(255,255,255,.32); stroke-width: 1.2; }
.art .soft { fill: rgba(255,255,255,.06); stroke: rgba(255,255,255,.1); }
.art .line { fill: rgba(255,255,255,.22); }
.art .dim { fill: rgba(255,255,255,.3); }
.art .ico { fill: none; stroke: rgba(255,255,255,.7); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.art .node rect { fill: rgba(255,255,255,.06); stroke: rgba(255,255,255,.35); stroke-width: 1.2; }
.art .dot { fill: #fff; filter: drop-shadow(0 0 4px rgba(255,255,255,.9)); }
.art .cursor { fill: #fff; stroke: #000; stroke-width: .8; }
.art .draw { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 420; stroke-dashoffset: 420; animation: art-draw 3.6s var(--ease) infinite; }

/* AI */
.art-ai .ring { fill: rgba(255,255,255,.04); stroke: rgba(255,255,255,.4); stroke-width: 1.2; }
.art-ai .spin { fill: none; stroke: rgba(255,255,255,.5); stroke-width: 1.2; stroke-dasharray: 3 7; transform-origin: center; animation: art-spin 9s linear infinite; }
.art-ai .pulse { fill: none; stroke: rgba(255,255,255,.6); transform-origin: center; animation: art-pulse 2.4s ease-out infinite; }
.art-ai .spark { fill: #fff; transform-origin: center; animation: art-spark 2.4s ease-in-out infinite; filter: drop-shadow(0 0 8px rgba(255,255,255,.7)); }
.art-ai .check { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; animation: art-check 1.2s ease-in-out infinite; }
.art-ai .node:nth-of-type(2) rect { animation: art-blink 2.4s 0s infinite; }
.art-ai .node:nth-of-type(3) rect { animation: art-blink 2.4s .8s infinite; }
.art-ai .node:nth-of-type(4) rect { animation: art-blink 2.4s 1.6s infinite; }

/* Software */
.art-app .bar { fill: rgba(255,255,255,.75); transform-origin: 50% 100%; animation: art-grow 3.6s var(--ease) infinite; animation-delay: var(--d); }
.art-app .num { fill: #fff; transform-origin: 0 50%; animation: art-shimmer 3.6s ease-in-out infinite; }
.art-app .kpi:nth-of-type(2) { animation: art-blink 3.6s 0s infinite; }

/* Web */
.art-web .card { animation: art-rise 3.6s var(--ease) infinite; }
.art-web .c2 { animation-delay: .12s; } .art-web .c3 { animation-delay: .24s; }
.art-web .img { fill: rgba(255,255,255,.14); }
.art-web .btn { fill: rgba(255,255,255,.35); }
.art-web .btn.hit { animation: art-hit 3.6s infinite; }
.art-web .cta { fill: #fff; }
.art-web .badge circle { fill: #fff; transform-origin: center; animation: art-badge 3.6s infinite; }
.art-web .ripple, .art-mobile .ripple { fill: none; stroke: #fff; stroke-width: 1.4; transform-origin: center; opacity: 0; animation: art-ripple 3.6s infinite; }

/* Mobile */
.art-mobile .frame { stroke: rgba(255,255,255,.5); }
.art-mobile .notch { fill: rgba(255,255,255,.35); }
.art-mobile .feed { animation: art-feed 6s linear infinite; }
.art-mobile .notif rect { fill: rgba(255,255,255,.92); }
.art-mobile .notif .nd { fill: #000; } .art-mobile .notif .nl { fill: rgba(0,0,0,.45); }
.art-mobile .notif { animation: art-notif 3.6s var(--ease) infinite; }
.art-mobile .ghost { fill: none; stroke: rgba(255,255,255,.14); stroke-width: 1.2; transform-origin: center; }
.art-mobile .g1 { animation: art-float-l 6s ease-in-out infinite; } .art-mobile .g2 { animation: art-float-r 6s ease-in-out infinite; }
.art-mobile .ripple { animation-delay: 1.4s; }

/* Cloud */
.art-cloud .flow path { stroke-dasharray: 3 6; animation: art-dash 1.2s linear infinite; }
.art-cloud .cloud { fill: rgba(255,255,255,.07); stroke: rgba(255,255,255,.6); stroke-width: 1.4; animation: art-breathe 3s ease-in-out infinite; transform-origin: center; }
.art-cloud .sync path { fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.art-cloud .sync { transform-origin: center; animation: art-spin 3s linear infinite; }
.art-cloud .n1 rect { animation: art-blink 2s 0s infinite; } .art-cloud .n2 rect { animation: art-blink 2s .5s infinite; }
.art-cloud .n3 rect { animation: art-blink 2s 1s infinite; } .art-cloud .n4 rect { animation: art-blink 2s 1.5s infinite; }

/* Design */
.art-design .pen { stroke-width: 2.4; }
.art-design .handle { fill: none; stroke: rgba(255,255,255,.3); stroke-dasharray: 3 3; }
.art-design .hdot { fill: #000; stroke: rgba(255,255,255,.7); }
.art-design .anchor { fill: #000; stroke: #fff; stroke-width: 1.2; }
.art-design .tip { fill: #fff; filter: drop-shadow(0 0 6px rgba(255,255,255,.9)); }
.art-design .morph { fill: rgba(255,255,255,.88); transform-origin: center; animation: art-turn 3.6s var(--ease) infinite; }
.art-design .select { fill: none; stroke: rgba(255,255,255,.6); stroke-dasharray: 4 3; animation: art-dash 1s linear infinite; }
.art-design .corner { fill: #000; stroke: #fff; stroke-width: 1.2; }

/* Pause everything that is off screen */
.service-art:not(.is-playing) * { animation-play-state: paused !important; }

@keyframes art-spin { to { transform: rotate(360deg); } }
@keyframes art-pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes art-spark { 0%, 100% { transform: scale(.85) rotate(0deg); } 50% { transform: scale(1.12) rotate(45deg); } }
@keyframes art-check { 0%, 30% { stroke-dashoffset: 24; } 60%, 100% { stroke-dashoffset: 0; } }
@keyframes art-blink { 0%, 100% { stroke: rgba(255,255,255,.35); } 12% { stroke: #fff; fill: rgba(255,255,255,.16); } 30% { stroke: rgba(255,255,255,.35); fill: rgba(255,255,255,.06); } }
@keyframes art-draw { 0% { stroke-dashoffset: 420; } 60%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -420; } }
@keyframes art-grow { 0% { transform: scaleY(.15); } 35%, 80% { transform: scaleY(1); } 100% { transform: scaleY(.15); } }
@keyframes art-shimmer { 0%, 100% { transform: scaleX(.4); opacity: .5; } 40%, 80% { transform: scaleX(1); opacity: 1; } }
@keyframes art-rise { 0% { opacity: 0; transform: translateY(12px); } 15%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes art-hit { 0%, 45% { fill: rgba(255,255,255,.35); } 50%, 70% { fill: #fff; } 100% { fill: rgba(255,255,255,.35); } }
@keyframes art-badge { 0%, 48% { transform: scale(0); } 56% { transform: scale(1.35); } 62%, 90% { transform: scale(1); } 100% { transform: scale(0); } }
@keyframes art-ripple { 0%, 44% { opacity: 0; transform: scale(.4); } 48% { opacity: .9; } 66%, 100% { opacity: 0; transform: scale(2.6); } }
@keyframes art-feed { from { transform: translateY(0); } to { transform: translateY(-140px); } }
@keyframes art-notif { 0%, 10% { transform: translateY(-30px); opacity: 0; } 22%, 70% { transform: none; opacity: 1; } 82%, 100% { transform: translateY(-30px); opacity: 0; } }
@keyframes art-float-l { 0%, 100% { transform: rotate(-8deg) translateY(4px); } 50% { transform: rotate(-5deg) translateY(-6px); } }
@keyframes art-float-r { 0%, 100% { transform: rotate(8deg) translateY(-4px); } 50% { transform: rotate(5deg) translateY(6px); } }
@keyframes art-dash { to { stroke-dashoffset: -18; } }
@keyframes art-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
@keyframes art-turn { 0%, 15% { transform: rotate(0deg); } 50%, 65% { transform: rotate(90deg); } 100% { transform: rotate(180deg); } }
@media (prefers-reduced-motion: reduce) { .service-art * { animation: none !important; } .art .draw { stroke-dashoffset: 0; } }


/* ---------- Services: expanding chrome panels ---------- */
.svc-track {
  display: flex; gap: 10px; height: clamp(540px, 70vh, 640px);
  max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter);
}
.svc {
  position: relative; flex: 1 1 0; min-width: 0; border-radius: 22px; overflow: hidden; cursor: pointer; isolation: isolate;
  border: 1px solid rgba(255,255,255,.1); transition: flex-grow .9s var(--ease), border-color .5s, box-shadow .5s;
  outline: none;
}
.svc.is-active { flex-grow: 6; cursor: default; border-color: rgba(255,255,255,.26); box-shadow: 0 30px 80px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.18); }
.svc:focus-visible { border-color: #fff; }
.svc-bg { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #19191b 0%, #0b0b0c 50%, #131315 100%); }
/* liquid chrome sheen */
.svc-bg::before {
  content: ""; position: absolute; inset: -40% -60%;
  background:
    radial-gradient(28% 18% at 50% 30%, rgba(255,255,255,.55), transparent 70%),
    radial-gradient(22% 30% at 40% 78%, rgba(255,255,255,.28), transparent 70%),
    radial-gradient(30% 12% at 62% 52%, rgba(200,200,210,.22), transparent 70%);
  filter: blur(14px); opacity: .55; animation: svc-liquid 9s ease-in-out infinite alternate;
  transition: opacity .8s;
}
.svc:nth-child(2) .svc-bg::before { animation-delay: -1.5s; } .svc:nth-child(3) .svc-bg::before { animation-delay: -3s; }
.svc:nth-child(4) .svc-bg::before { animation-delay: -4.5s; } .svc:nth-child(5) .svc-bg::before { animation-delay: -6s; }
.svc:nth-child(6) .svc-bg::before { animation-delay: -7.5s; }
.svc-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.14) 48%, rgba(255,255,255,.03) 54%, transparent 64%);
  background-size: 260% 100%; animation: svc-shine 6s ease-in-out infinite;
}
.svc:hover:not(.is-active) .svc-bg::before { opacity: .9; }
.svc.is-active .svc-bg::before { opacity: .35; }
@keyframes svc-liquid { 0% { transform: translate3d(-6%, -8%, 0) rotate(-6deg) scale(1); } 100% { transform: translate3d(6%, 10%, 0) rotate(8deg) scale(1.15); } }
@keyframes svc-shine { 0%, 15% { background-position: 120% 0; } 60%, 100% { background-position: -40% 0; } }

/* collapsed strip */
.svc-closed {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 24px 0 22px; transition: opacity .35s ease;
}
.svc.is-active .svc-closed { opacity: 0; pointer-events: none; }
.svc-vtitle {
  writing-mode: vertical-rl; flex: 1; padding-top: 18px; font-size: 1.05rem; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; color: #fff;
}
.svc-num { font-size: .74rem; letter-spacing: .08em; color: rgba(255,255,255,.6); font-variant-numeric: tabular-nums; }
.svc-icon { width: 20px; height: 20px; fill: none; stroke: rgba(255,255,255,.8); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.svc-closed .svc-icon { width: 34px; height: 34px; padding: 8px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(0,0,0,.35); box-sizing: border-box; }

/* expanded content */
.svc-open {
  position: absolute; inset: 0; display: flex; flex-direction: column; gap: 22px;
  padding: 26px 28px 28px; opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .3s ease, transform .5s var(--ease);
}
.svc.is-active .svc-open { opacity: 1; transform: none; pointer-events: auto; transition: opacity .6s .35s ease, transform .9s .3s var(--ease); }
.svc-open .service-art { margin: 0; flex: 1 1 auto; min-height: 0; width: 100%; max-width: 100%; aspect-ratio: auto; }
.svc-open .service-art .art { height: 100%; }
.svc-body { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.svc-meta { display: flex; align-items: center; justify-content: space-between; }
.svc-body { flex: none; }
.svc-body h3 { font-family: var(--font-sans); font-size: clamp(1.6rem, 2.2vw, 2.2rem); font-weight: 500; letter-spacing: -0.035em; line-height: 1.05; }
.svc-body p { color: rgba(255,255,255,.7); font-size: .96rem; max-width: 52ch; }
.svc-body .tags { margin-top: 4px; }
.svc:not(.is-active) .service-art * { animation-play-state: paused !important; }

/* Phones and tablets: vertical accordion */
@media (max-width: 860px) {
  .svc-track { flex-direction: column; height: auto; }
  .svc { flex: none; height: 74px; transition: height .8s var(--ease), border-color .5s; }
  .svc.is-active { height: 500px; }
  .svc-closed { flex-direction: row; padding: 0 20px; gap: 14px; }
  .svc-vtitle { writing-mode: horizontal-tb; padding: 0; text-align: left; font-size: 1.05rem; }
  .svc-open { padding: 20px; gap: 18px; }
  .svc-open .service-art { flex: none; aspect-ratio: 16 / 9; }
}
@media (max-width: 420px) { .svc.is-active { height: 530px; } }
@media (prefers-reduced-motion: reduce) { .svc-bg::before, .svc-bg::after { animation: none; } }

/* ---------- Reveal defaults (JS animates) ---------- */
.reveal { opacity: 0; transform: translateY(24px); }
.no-js .reveal, .reduced .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .offer a { grid-template-columns: 50px 1fr 1fr 46px; }
  .offer-for { display: none; }
  .process { grid-template-columns: repeat(3, 1fr); row-gap: 50px; }
  .engage { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .nav-pill {
    position: fixed; top: 0; left: 0; right: 0; flex-direction: column; gap: 0; padding: 96px var(--gutter) 32px;
    border-radius: 0 0 28px 28px; background: rgba(5,5,5,.92); border: 0; border-bottom: 1px solid var(--line);
    transform: translateY(-105%); transition: transform .7s var(--ease); z-index: -1;
  }
  .nav-pill.open { transform: none; }
  .nav-pill a { font-size: 1.7rem; letter-spacing: -0.03em; color: #fff; padding: 12px 0; border-radius: 0; border-bottom: 1px solid var(--line); background: none !important; }
  .nav-mobile-cta { display: block; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .value, .value:not(:nth-child(3n+1)) { padding: 32px 24px 36px 0; border-right: 0 !important; }
  .value:nth-child(odd) { border-right: 1px solid rgba(0,0,0,.12) !important; }
  .value:nth-child(even) { padding-left: 24px; }
}
@media (max-width: 640px) {
  .services-track { grid-template-columns: 1fr; }
  .service h3 { margin-top: 48px; }
  .hero { padding-top: 120px; }
  .hero-bottom { flex-direction: column; align-items: flex-start; }
  .hero-chips { display: none; }
  .hero-sub { font-size: 1rem; }
  .rotator { min-width: 4.8em; }
  .scroll-cue { display: none; }
  .badge-line { width: 32px; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .card h3 { margin-top: 12px; }
  .offer a { grid-template-columns: 1fr 46px; gap: 10px 16px; padding: 26px 0; }
  .offer-num { display: none; }
  .offer-desc { grid-column: 1; grid-row: 2; }
  .offer-arrow { grid-column: 2; grid-row: 1 / span 2; }
  .offer:hover a { padding-left: 14px; padding-right: 14px; }
  .process { grid-template-columns: 1fr; gap: 40px; }
  .values { grid-template-columns: 1fr; }
  .value, .value:nth-child(even), .value:not(:nth-child(3n+1)) { padding: 28px 0; border-right: 0 !important; }
  .engage { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .markets-list li { white-space: normal; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track, .promise-glow, .scroll-cue i { animation: none; }
}
