/* ==========================================================================
   WEBSTERS. — home.css
   Agency layout: giant type, tilted showreel, sideways services, bento stats,
   black "Let's connect" footer. Webster's tokens: Geist, ink, blue, iris.
   ========================================================================== */

:root {
  --ink: #101013;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --muted-2: #8e8e93;
  --soft: #f0f0f3;
  --soft-2: #f5f5f7;
  --line: rgba(16, 16, 19, 0.14);
  --blue: #0071e3;
  --blue-2: #0a84ff;
  --violet: #6e56cf;
  --pink: #ff4f8b;
  --amber: #ff9f0a;
  --iris: linear-gradient(100deg, #0071e3 0%, #6e56cf 34%, #ff4f8b 66%, #ff9f0a 100%);
  --pad: clamp(20px, 3.06vw, 44px);
  --hd: 76px;
  --r-card: clamp(24px, 2.8vw, 40px);
  --sans: "Geist", "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* 3D panels and cards tilt in perspective and poke past the screen edge; clip it so phones do not widen the page.
   (only on main: clipping html would break the sticky 3D laptop stage) */
@supports (overflow: clip) { main { overflow-x: clip; } }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button,
input,
select,
textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.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;
}

.skip {
  position: fixed; left: 12px; top: -64px; z-index: 300;
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: 14px;
  transition: top 0.3s var(--ease);
}
.skip:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue); color: #fff; }

.iris {
  background: var(--iris);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ───────────────────────────── loader ───────────────────────────── */
.loader {
  position: fixed; inset: 0; z-index: 250;
  background: #fff; color: var(--ink);
  transition: transform 0.9s var(--ease), visibility 0s linear 0.9s;
  /* safety net only: the pixel reveal below normally finishes long before this */
  animation: loader-out 0.6s var(--ease) 7s forwards;
}
/* the pixel grid: white and soft-gray tiles that shrink away in a wave */
.loader__grid { position: absolute; inset: 0; display: grid; }
.loader__grid div { background: #fff; will-change: transform; }
.loader__center { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; }
/* white plate so the black ring stays readable over black tiles */
.loader__plate { display: grid; place-items: center; gap: 14px; padding: 30px 42px 24px; border-radius: 30px; background: #fff; box-shadow: 0 0 0 1px rgba(16, 16, 19, 0.1), 0 40px 70px -35px rgba(16, 16, 19, 0.45); }
.loader__mark { width: 96px; height: 96px; }
.loader__ring { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.1s var(--ease) forwards; }
.loader__count { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.loader.is-done { visibility: hidden; pointer-events: none; }
.no-js .loader,
.reduced .loader { display: none; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes loader-out { to { transform: translateY(-100%); visibility: hidden; } }

/* ───────────────────────────── cursor ───────────────────────────── */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 240;
  width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: var(--blue); pointer-events: none;
  transform: translate3d(-100px, -100px, 0);
  transition: width 0.35s var(--ease), height 0.35s var(--ease), margin 0.35s var(--ease), opacity 0.3s;
}
.cursor.is-big { width: 46px; height: 46px; margin: -23px 0 0 -23px; opacity: 0.22; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ───────────────────────────── header ───────────────────────────── */
.hd {
  position: fixed; inset: 0 0 auto; z-index: 200;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  transition: transform 0.55s var(--ease), box-shadow 0.3s;
}
.hd.is-stuck { box-shadow: 0 1px 0 var(--line); }
.hd.is-hidden { transform: translateY(-100%); }

.hd__in {
  height: var(--hd); padding: 0 var(--pad);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px;
}

.logo { display: inline-flex; align-items: center; gap: 10px; justify-self: start; }
.logo svg { width: 40px; height: 40px; }
.logo span { font-weight: 700; font-style: italic; font-size: 19px; letter-spacing: -0.03em; }

.hd__nav { display: flex; align-items: center; gap: 32px; font-size: 15px; }
.hd__nav > a,
.hd__dropbtn { position: relative; padding: 8px 0; color: var(--text); }
.hd__nav > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease);
}
.hd__nav > a:hover::after { transform: scaleX(1); transform-origin: left; }
.hd__dropbtn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer; }
.hd__dropbtn svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.hd__dropbtn[aria-expanded="true"] svg { transform: rotate(180deg); }

.hd__right { justify-self: end; display: flex; align-items: center; gap: 12px; }
.hd__cta { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; padding: 8px 0; }
.blob { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); transition: transform 0.45s var(--ease); }
.hd__cta:hover .blob { transform: scale(1.9); }

.burger { display: none; position: relative; width: 44px; height: 44px; border: 0; background: none; padding: 0; cursor: pointer; }
.burger span {
  position: absolute; left: 10px; right: 10px; height: 2.5px; border-radius: 2px; background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.2s;
}
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mega {
  position: absolute; left: 0; right: 0; top: var(--hd);
  background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 40px 70px -40px rgba(16, 16, 19, 0.3);
}
.mega[hidden] { display: none; }
.mega__in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding: 34px var(--pad) 44px; }
.mega__h { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.mega__col a { display: block; padding: 7px 0; font-size: 17px; color: var(--text); transition: color 0.2s, transform 0.35s var(--ease); }
.mega__col a:hover { color: var(--blue); transform: translateX(4px); }
.mega__soon { display: inline-block; margin-top: 6px; font-size: 13px; color: var(--muted); }

.mnav { position: fixed; inset: 0; z-index: 190; background: #fff; padding: calc(var(--hd) + 20px) var(--pad) 40px; overflow: auto; }
.mnav[hidden] { display: none; }
.mnav nav { display: flex; flex-direction: column; }
.mnav a { font-size: clamp(28px, 8vw, 40px); letter-spacing: -0.035em; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mnav a:last-child { color: var(--blue); border-bottom: 0; }
body.menu-open { overflow: hidden; }

/* ───────────────────────────── hero ───────────────────────────── */
main { padding-top: var(--hd); }

.hero {
  position: relative; min-height: calc(100svh - var(--hd));
  padding: clamp(28px, 3.4vw, 56px) var(--pad);
}
.hero__tag {
  position: absolute; left: var(--pad); bottom: var(--pad);
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
.hero__badge {
  position: absolute; left: 50%; bottom: clamp(20px, 3vw, 40px);
  width: clamp(96px, 8vw, 124px); margin-left: calc(clamp(96px, 8vw, 124px) / -2);
  color: var(--ink);
}
.hero__badge svg { width: 100%; height: auto; overflow: visible; }
.hero__badge text { font-family: var(--mono); font-size: 15.5px; letter-spacing: 0.16em; fill: currentColor; }
.hero__badge svg { animation: badgeSpin 14s linear infinite; }
.hero__badge circle { stroke: var(--blue); }
@keyframes badgeSpin { to { transform: rotate(360deg); } }

/* ───────────────────────────── walker + floating screen ───────────────────────────── */
.float {
  position: fixed; top: calc(var(--hd) + clamp(16px, 2vw, 28px)); right: var(--pad); z-index: 40;
  display: flex; align-items: center; justify-content: flex-end;
  pointer-events: none;
}
.float__walker {
  position: relative; z-index: 1;
  width: clamp(110px, 11vw, 180px); aspect-ratio: 1;
  margin-right: calc(clamp(110px, 11vw, 180px) * -0.3);
  will-change: transform;
  filter: drop-shadow(0 18px 18px rgba(16, 16, 19, 0.22));
}
.float__screen {
  position: relative; display: block; pointer-events: auto;
  width: max(320px, min(58vw, 1000px, (100svh - var(--hd) - 200px) * 1.5));
  transform-origin: top right; will-change: width, transform;
}
.float__screen::before {
  content: ""; position: absolute; inset: 8% 6% -6%; z-index: -1;
  background: var(--iris); filter: blur(46px); opacity: 0.45; border-radius: 40px;
  animation: floatGlow 6s var(--ease) infinite alternate;
}
@keyframes floatGlow { to { opacity: 0.7; transform: scale(1.04) translateY(-6px); } }
.float__screen .browser { border-radius: 16px; }
.float__screen .browser__bar span { flex: 1; }
.float__live {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink);
}
.float__live::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: #30d158;
  box-shadow: 0 0 0 0 rgba(48, 209, 88, 0.55); animation: livePing 1.8s infinite;
}
@keyframes livePing { 70%, 100% { box-shadow: 0 0 0 8px rgba(48, 209, 88, 0); } }
.float__shots { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.float__shots img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top;
  opacity: 0; transform: scale(1.04); transition: opacity 0.9s var(--ease), transform 1.4s var(--ease);
}
.float__shots img.is-on { opacity: 1; transform: none; }
.float__screen:hover .browser { transform: translateY(-6px); }

/* ───────────────────────────── sliding headline ───────────────────────────── */
.words { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 90px) var(--pad) clamp(90px, 10vw, 150px); }
.words__title {
  display: flex; flex-direction: column;
  font-weight: 500; font-size: clamp(64px, 13.4vw, 212px); line-height: 0.9; letter-spacing: -0.06em;
}
.words__line { display: flex; align-items: center; gap: 0.06em; white-space: nowrap; will-change: transform; }
.words__line--a { align-self: flex-start; margin-left: 6%; }
.words__line--b { align-self: flex-end; margin-right: 2%; }
.words__line--c { align-self: center; }
.words__pal {
  flex: none; width: 0.82em; aspect-ratio: 1; margin: 0 0.04em;
  filter: drop-shadow(0 12px 12px rgba(16, 16, 19, 0.18));
}
.words__pal--violet { filter: hue-rotate(45deg) drop-shadow(0 12px 12px rgba(16, 16, 19, 0.18)); }
.words__pal--pink { filter: hue-rotate(120deg) saturate(1.2) drop-shadow(0 12px 12px rgba(16, 16, 19, 0.18)); }
.words__foot {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px;
  margin-top: clamp(48px, 6vw, 90px);
}
.words__lead { max-width: 30em; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.5; color: var(--muted); }
.words__ctas { display: flex; flex-wrap: wrap; gap: 10px; }

/* no motion: screen sits in the hero instead of floating */
.reduced .float { position: absolute; }

/* ───────────────────────────── 3D scroll: laptop over big type ───────────────────────────── */
.xp { position: relative; background: #111113; color: #fff; overflow: clip; }
.xp__stage { position: sticky; top: 0; height: 100vh; margin-bottom: -100vh; z-index: 2; pointer-events: none; }
.xp__gl { display: block; width: 100%; height: 100%; }
.xp__intro { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: 0.06em; padding: calc(var(--hd) + 20px) var(--pad) 40px; }
.xp__row { display: flex; align-items: center; gap: clamp(24px, 8vw, 180px); }
.xp__row h2 { font-weight: 400; font-size: clamp(64px, 11vw, 186px); line-height: 0.85; letter-spacing: -0.055em; text-transform: uppercase; }
.xp__row:nth-child(3) h2 { background: linear-gradient(100deg, #fff 0%, #a1a1a6 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.xp__lead { max-width: 30em; margin-top: 34px; font-family: var(--mono); font-size: 12.5px; line-height: 1.6; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }

.xp__archive { position: relative; min-height: 200vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: clamp(36px, 5vw, 64px); padding: 20vh var(--pad); }
.xp__kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.xp__item { display: block; width: min(100%, 52vw); color: #4f4f55; transition: color 0.5s var(--ease); }
.xp__item h3 { font-weight: 300; font-size: clamp(42px, 6.4vw, 104px); line-height: 1; letter-spacing: -0.045em; }
.xp__info { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 14px; }
.xp__info p { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.xp__item.is-on { color: #fff; }
.xp__item.is-on .xp__info p { color: rgba(255, 255, 255, 0.65); }

.xp__outro { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 14vh var(--pad); }
.xp__statement { max-width: min(18em, 58vw); font-weight: 400; font-size: clamp(30px, 4.2vw, 62px); line-height: 1.05; letter-spacing: -0.03em; text-transform: uppercase; margin-bottom: 0.8em; }
.xp__statement .line { display: block; overflow: hidden; clip-path: inset(0 0 -0.1em 0); }
.xp__contact { display: flex; gap: 2em; margin: 0.6em 0; font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.xp__contact a { color: #fff; }
.xp__contact a:hover { color: rgba(255, 255, 255, 0.7); }

/* ───────────────────────────── marquee ───────────────────────────── */
.names {
  display: flex; overflow: hidden; user-select: none;
  padding: clamp(56px, 8vw, 120px) 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.names__track { display: flex; flex: none; animation: marquee 42s linear infinite; }
.names span { display: inline-flex; align-items: center; white-space: nowrap; font-size: clamp(17px, 1.4vw, 20px); color: #a1a1a6; padding-right: clamp(28px, 4vw, 60px); }
.names span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #d2d2d7; margin-right: clamp(28px, 4vw, 60px); }
.names:hover .names__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ───────────────────────────── shared type ───────────────────────────── */
.h2 { font-weight: 400; font-size: clamp(36px, 4.6vw, 66px); line-height: 1.05; letter-spacing: -0.04em; }
.work__lead { max-width: 58ch; margin-top: 16px; color: var(--muted); font-size: clamp(16px, 1.25vw, 18px); line-height: 1.7; }

.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 22px; border-radius: 999px;
  border: 1px solid var(--ink); background: transparent; color: var(--ink);
  font-size: 15px; font-weight: 500; cursor: pointer; white-space: nowrap;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.35s var(--ease);
}
.pill:hover { transform: translateY(-2px); }
.pill:active { transform: translateY(0) scale(0.98); }
.pill.is-on { background: var(--ink); color: #fff; }
.pill--light { background: #fff; color: var(--ink); border-color: #fff; }
.pill--ghost { min-height: 34px; padding: 0 18px; font-size: 12.5px; border-color: rgba(255, 255, 255, 0.75); color: #fff; }
.pill--ghost:hover { background: #fff; color: #000; }

/* ───────────────────────────── selected work ───────────────────────────── */
.work { padding: 0 var(--pad) clamp(90px, 10vw, 150px); }
.work__grid { margin-top: clamp(36px, 4vw, 56px); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }

.wcard {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: clamp(400px, 44vw, 640px); border-radius: var(--r-card);
}
.wcard--big { grid-column: span 4; }
.wcard--small { grid-column: span 2; }
.wcard--full { grid-column: span 6; }
.wcard--half { grid-column: span 3; min-height: clamp(400px, 38vw, 560px); }
.wcard--amb { background: #e4edff; }
.wcard--twz { background: #0b0b0e; color: #fff; }
.wcard--nb { background: #f1ebe2; }
.wcard--mb { background: linear-gradient(160deg, #1f3a5a 0%, #23395c 55%, #1d5c45 130%); color: #fff; }
.wcard--mb .wcard__meta p { color: rgba(255, 255, 255, 0.7); }
.wcard--mb .wcard__go { background: #8ee6a4; color: #0b2a1a; }
.wcard--mb .wcard__tags li { background: rgba(255, 255, 255, 0.14); color: #fff; }
.wcard--soon { background: #fff3e2; }
.wcard--cta { background: var(--ink); color: #fff; }

.wcard__media {
  position: absolute; inset: 0; z-index: -1;
  display: grid; place-items: center;
  padding: clamp(64px, 6vw, 96px) clamp(22px, 5.5vw, 96px) clamp(110px, 9vw, 140px);
}
.browser {
  width: 100%; max-width: 1000px; border-radius: 14px; overflow: hidden; background: #fff;
  box-shadow: 0 50px 90px -40px rgba(16, 16, 19, 0.55), 0 0 0 1px rgba(16, 16, 19, 0.08);
  transition: transform 0.9s var(--ease);
}
.browser__bar { height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #f5f5f7; border-bottom: 1px solid rgba(16, 16, 19, 0.08); }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: #d2d2d7; }
.browser__bar span { margin-left: 10px; font-family: var(--mono); font-size: 11px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.wcard:hover .browser { transform: translateY(-10px) scale(1.02); }
.wcard--full .browser { max-width: 860px; }
.wcard__phone {
  position: absolute; right: clamp(24px, 12vw, 200px); bottom: clamp(70px, 7vw, 110px);
  width: clamp(110px, 13vw, 200px); height: auto; border-radius: 22px;
  border: 6px solid #1c1c1f; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.7);
  transition: transform 0.9s var(--ease);
}
.wcard:hover .wcard__phone { transform: translateY(-14px) rotate(-2deg); }

.wcard__tags { position: absolute; top: clamp(16px, 1.8vw, 26px); right: clamp(16px, 1.8vw, 26px); z-index: 2; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; max-width: 80%; }
.wcard__tags li { background: #fff; color: var(--ink); font-size: 13px; line-height: 1; padding: 8px 13px; border-radius: 999px; box-shadow: 0 1px 0 rgba(16, 16, 19, 0.06); }

.wcard__meta { position: relative; padding: clamp(20px, 2.2vw, 32px); padding-right: 150px; }
.wcard__meta h3 { font-weight: 500; font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -0.02em; }
.wcard__meta p { margin-top: 4px; font-size: 15px; line-height: 1.5; color: var(--muted); max-width: 52ch; }
.wcard--twz .wcard__meta p,
.wcard--cta .wcard__meta p { color: rgba(255, 255, 255, 0.6); }
.wcard__go {
  position: absolute; right: clamp(20px, 2.2vw, 32px); bottom: clamp(20px, 2.2vw, 32px);
  font-size: 14px; font-weight: 500; padding: 9px 15px; border-radius: 999px; background: var(--ink); color: #fff;
  transition: background 0.3s;
}
.wcard--twz .wcard__go { background: #fff; color: var(--ink); }
.wcard:hover .wcard__go { background: var(--blue); color: #fff; }
.wcard--soon .wcard__meta { padding-right: clamp(20px, 2.2vw, 32px); }

.wcard__cta { padding: clamp(26px, 3vw, 44px); display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.wcard__kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.wcard__big { font-size: clamp(30px, 3.4vw, 50px); line-height: 1.05; letter-spacing: -0.035em; max-width: 14ch; }
.wcard--cta::before {
  content: ""; position: absolute; width: 70%; aspect-ratio: 1; right: -20%; top: -30%; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 113, 227, 0.55), transparent 65%); filter: blur(10px);
  transition: transform 1.2s var(--ease);
}
.wcard--cta:hover::before { transform: scale(1.15) translate(-6%, 6%); }

/* 3D ring — the mark, spinning in space */
.ring3d {
  position: absolute; left: 50%; top: 42%; width: clamp(130px, 15vw, 230px); aspect-ratio: 1;
  transform: translate(-50%, -50%); transform-style: preserve-3d;
  animation: ring3d 16s linear infinite;
}
.ring3d i { position: absolute; inset: 0; border-radius: 50%; border: clamp(8px, 0.9vw, 14px) solid; }
.ring3d i:nth-child(1) { transform: rotateY(0deg); border-color: rgba(0, 113, 227, 0.9); }
.ring3d i:nth-child(2) { transform: rotateY(30deg); border-color: rgba(110, 86, 207, 0.85); }
.ring3d i:nth-child(3) { transform: rotateY(60deg); border-color: rgba(255, 79, 139, 0.8); }
.ring3d i:nth-child(4) { transform: rotateY(90deg); border-color: rgba(255, 159, 10, 0.8); }
.ring3d i:nth-child(5) { transform: rotateY(120deg); border-color: rgba(16, 16, 19, 0.75); }
.ring3d i:nth-child(6) { transform: rotateY(150deg); border-color: rgba(16, 16, 19, 0.35); }
.ring3d i:nth-child(7) { transform: rotateX(90deg); border-color: rgba(255, 255, 255, 0.55); }
.ring3d i:nth-child(8) { transform: rotateX(90deg) rotateY(45deg); border-color: rgba(255, 255, 255, 0.3); }
@keyframes ring3d {
  from { transform: translate(-50%, -50%) rotate3d(1, 0.7, 0.2, 0deg); }
  to { transform: translate(-50%, -50%) rotate3d(1, 0.7, 0.2, 360deg); }
}

/* ───────────────────────────── services (sideways) ───────────────────────────── */
.svc { position: relative; isolation: isolate; overflow: hidden; padding: clamp(80px, 9vw, 130px) 0; }
.svc__glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.svc__glow i { position: absolute; border-radius: 50%; filter: blur(100px); }
.svc__glow i:nth-child(1) { width: 48vw; height: 48vw; left: -14vw; bottom: -18vw; background: var(--blue); opacity: 0.32; }
.svc__glow i:nth-child(2) { width: 40vw; height: 40vw; right: -10vw; top: 6%; background: var(--violet); opacity: 0.22; }
.svc__glow i:nth-child(3) { width: 32vw; height: 32vw; left: 42%; bottom: -16vw; background: var(--pink); opacity: 0.16; }

.svc__pin { display: flex; align-items: center; min-height: 0; }
.svc__track { display: flex; flex-direction: column; gap: clamp(28px, 3vw, 40px); padding: 0 var(--pad); width: 100%; }
.svc__title { font-weight: 400; font-size: clamp(38px, 6.1vw, 88px); line-height: 1.04; letter-spacing: -0.045em; }
.svc__cards { display: flex; flex-wrap: wrap; gap: clamp(14px, 2vw, 28px); }
.scard {
  flex: 1 1 280px; max-width: 420px; border: 1px solid rgba(16, 16, 19, 0.55); border-radius: 18px;
  padding: 26px 24px 30px; background: rgba(255, 255, 255, 0.4);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.scard h3 { font-weight: 400; font-size: clamp(22px, 1.9vw, 28px); line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 20px; }
.scard h3 small { display: inline-block; margin-left: 6px; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-family: var(--mono); letter-spacing: 0.02em; color: #fff; background: var(--blue); vertical-align: 4px; }
.scard li { display: flex; align-items: center; gap: 12px; padding: 5px 0; font-size: 17px; color: #3a3a3e; }
.scard li::before {
  content: "\2197"; flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue); color: #fff; font-size: 12px; line-height: 1;
}

/* desktop: JS adds .is-h and pins the row sideways */
.svc.is-h { padding: 0; }
.svc.is-h .svc__pin { height: 100vh; }
.svc.is-h .svc__track { width: max-content; will-change: transform; }
.svc.is-h .svc__title { white-space: nowrap; }
.svc.is-h .svc__cards { flex-wrap: nowrap; }
.svc.is-h .scard { flex: none; width: clamp(300px, 24vw, 380px); max-width: none; }

/* ───────────────────────────── about + bento ───────────────────────────── */
.about { padding: clamp(90px, 10vw, 150px) var(--pad) clamp(60px, 7vw, 100px); }
.about__big { font-size: clamp(28px, 3.2vw, 46px); line-height: 1.24; letter-spacing: -0.03em; max-width: 17.5em; text-indent: clamp(0px, 23vw, 330px); }
.about__indent { color: var(--ink); }
.about__mark { white-space: nowrap; }
.about__mark svg { display: inline-block; width: 0.72em; height: 0.72em; vertical-align: -0.06em; color: var(--blue); }

.about__row { margin-top: clamp(56px, 7vw, 100px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 44px); align-items: center; }
.about__visual { position: relative; aspect-ratio: 16 / 11; border-radius: 32px; background: #0b0b0e; overflow: hidden; }
.about__visual::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 50%, rgba(110, 86, 207, 0.35), transparent 70%); }
.ring3d--lg { top: 50%; width: clamp(160px, 20vw, 290px); }
.about__copy p { font-size: clamp(16px, 1.25vw, 18px); line-height: 2; color: #222226; }
.about__copy p + p { margin-top: 22px; }

.bento { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.tile {
  border-radius: var(--r-card); padding: clamp(22px, 2.2vw, 34px);
  min-height: clamp(200px, 19vw, 272px); display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
}
.bento .tile:nth-child(1) { grid-column: span 4; }
.bento .tile:nth-child(2) { grid-column: span 3; }
.bento .tile:nth-child(3) { grid-column: span 5; }
.bento .tile:nth-child(4) { grid-column: span 8; }
.bento .tile:nth-child(5) { grid-column: span 4; }
.bento .tile:nth-child(6) { grid-column: span 5; }
.bento .tile:nth-child(7) { grid-column: span 7; }
.tile--blue { background: var(--blue); color: #fff; }
.tile--dark { background: #000; }
.tile--soft { background: var(--soft-2); }
.tile__k { font-size: 15px; margin-bottom: 10px; }
.tile__n { font-size: clamp(44px, 4vw, 58px); line-height: 1; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.tile__t { font-size: 15px; line-height: 1.35; color: #8a8a8f; margin-top: 24px; }
.tile--blue .tile__t { color: rgba(255, 255, 255, 0.86); }

.orb {
  position: absolute; left: 50%; top: 50%; width: 62%; aspect-ratio: 1; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: conic-gradient(from 0deg, #0071e3, #6e56cf, #ff4f8b, #ff9f0a, #0071e3);
  filter: blur(2px); animation: spin 9s linear infinite;
  -webkit-mask: radial-gradient(circle, transparent 38%, #000 40%);
  mask: radial-gradient(circle, transparent 38%, #000 40%);
}
.bars { position: absolute; inset: 22% 14% 18%; display: flex; align-items: flex-end; gap: 7%; }
.bars i { flex: 1; border-radius: 10px 10px 4px 4px; background: var(--iris); background-size: 600% 100%; transform-origin: bottom; animation: grow 3.2s var(--ease) infinite alternate; }
.bars i:nth-child(1) { height: 30%; background-position: 0 0; animation-delay: 0s; }
.bars i:nth-child(2) { height: 42%; background-position: 20% 0; animation-delay: 0.15s; }
.bars i:nth-child(3) { height: 38%; background-position: 40% 0; animation-delay: 0.3s; }
.bars i:nth-child(4) { height: 62%; background-position: 60% 0; animation-delay: 0.45s; }
.bars i:nth-child(5) { height: 74%; background-position: 80% 0; animation-delay: 0.6s; }
.bars i:nth-child(6) { height: 100%; background-position: 100% 0; animation-delay: 0.75s; }
@keyframes grow { from { transform: scaleY(0.35); } to { transform: scaleY(1); } }

/* ───────────────────────────── flow carousel ───────────────────────────── */
.flow { padding: clamp(60px, 8vw, 120px) var(--pad); text-align: center; }
.flow__eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.flow__slides { display: grid; max-width: 920px; margin: 22px auto 0; }
.flow__slide { grid-area: 1 / 1; opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.flow__slide.is-on { opacity: 1; transform: none; pointer-events: auto; }
.flow blockquote { font-size: clamp(22px, 2.3vw, 32px); line-height: 1.3; letter-spacing: -0.02em; }
.flow figcaption { display: grid; gap: 6px; margin-top: 30px; }
.flow figcaption b { font-weight: 500; font-size: 20px; }
.flow figcaption span { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2); }
.flow__dots { display: flex; justify-content: center; gap: 6px; margin-top: 44px; }
.flow__dots button { position: relative; width: 22px; height: 26px; border: 0; padding: 0; background: none; cursor: pointer; transition: width 0.45s var(--ease); }
.flow__dots button::after { content: ""; position: absolute; left: 3px; right: 3px; top: 11px; height: 4px; border-radius: 4px; background: var(--ink); transition: background 0.3s; }
.flow__dots button.is-on { width: 38px; }
.flow__dots button.is-on::after { background: var(--blue); }

/* ───────────────────────────── platforms ───────────────────────────── */
.plat { padding: clamp(70px, 9vw, 130px) var(--pad); }
.plat__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.plat__panels { margin-top: 22px; }
.plat__panel { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(20px, 3.4vw, 52px); border-radius: var(--r-card); background: var(--soft-2); padding: clamp(24px, 3.4vw, 50px); }
.plat__panel[hidden] { display: none; }
.plat__best { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue); }
.plat h3 { font-weight: 400; font-size: clamp(32px, 3.4vw, 48px); letter-spacing: -0.035em; margin: 10px 0 16px; }
.plat__copy p:not(.plat__best) { color: #3a3a3e; font-size: 17px; line-height: 1.75; }
.plat__copy p + p { margin-top: 12px; }
.plat__facts { display: grid; align-content: start; }
.plat__facts div { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.plat__facts div:first-child { border-top: 1px solid var(--line); }
.plat__facts dt { color: var(--muted); }
.plat__facts dd { font-weight: 500; text-align: right; }

/* ───────────────────────────── pricing ───────────────────────────── */
.price { padding: 0 var(--pad) clamp(70px, 9vw, 130px); }
.price__grid { margin-top: clamp(32px, 4vw, 52px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 14px; border-radius: var(--r-card); padding: clamp(24px, 2.6vw, 38px); background: var(--soft-2); }
.plan h3 { font-weight: 500; font-size: 22px; letter-spacing: -0.01em; }
.plan__price { font-size: clamp(40px, 4vw, 58px); line-height: 1; letter-spacing: -0.04em; }
.plan__price span { font-size: 15px; letter-spacing: 0; color: var(--muted); }
.plan__desc { font-size: 15px; color: var(--muted); }
.plan ul { flex: 1; display: grid; align-content: start; gap: 9px; margin: 6px 0 12px; }
.plan li { position: relative; padding-left: 22px; font-size: 15px; }
.plan li::before { content: ""; position: absolute; left: 0; top: 0.58em; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.plan .pill { align-self: flex-start; }
.plan--blue { background: var(--blue); color: #fff; }
.plan--blue .plan__desc,
.plan--blue .plan__price span { color: rgba(255, 255, 255, 0.82); }
.plan--blue li::before { background: #fff; }
.plan--iris { background: linear-gradient(150deg, #6e56cf 0%, #ff4f8b 70%, #ff9f0a 130%); color: #fff; }
.plan--iris .plan__desc,
.plan--iris .plan__price span { color: rgba(255, 255, 255, 0.85); }
.plan--iris li::before { background: #fff; }
.plan--dark { background: #000; color: #fff; }
.plan--dark .plan__desc,
.plan--dark .plan__price span { color: rgba(255, 255, 255, 0.6); }
.plan__badge { position: absolute; top: clamp(22px, 2.4vw, 34px); right: clamp(22px, 2.4vw, 34px); font-family: var(--mono); font-size: 12px; padding: 6px 11px; border-radius: 999px; background: #fff; color: var(--blue); }

/* ───────────────────────────── USA ───────────────────────────── */
.usa { padding: 0 var(--pad) clamp(70px, 9vw, 130px); }
.usa__card {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 4vw, 64px);
  border-radius: clamp(28px, 3.2vw, 48px); padding: clamp(28px, 4.4vw, 64px);
  background: #0b0b0e; color: #fff;
}
.usa__card::before {
  content: ""; position: absolute; z-index: -1; width: 60%; aspect-ratio: 1; left: -18%; bottom: -55%; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 113, 227, 0.45), transparent 65%);
}
.usa__soon { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.usa h2 { font-weight: 400; font-size: clamp(36px, 4.6vw, 66px); line-height: 1.04; letter-spacing: -0.04em; margin: 14px 0 20px; }
.usa__left > p:not(.usa__soon):not(.usa__note) { color: rgba(255, 255, 255, 0.75); font-size: 17px; line-height: 1.75; }
.usa__form { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.usa__form input { flex: 1 1 220px; min-height: 48px; padding: 0 20px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.3); background: transparent; color: #fff; outline: none; }
.usa__form input::placeholder { color: rgba(255, 255, 255, 0.5); }
.usa__form input:focus { border-color: var(--blue-2); }
.usa__form .pill { min-height: 48px; }
.usa__note { margin-top: 14px; font-size: 13px; line-height: 1.6; color: rgba(255, 255, 255, 0.5); }
.usa__list { display: grid; align-content: start; }
.usa__list li { position: relative; padding: 14px 0 14px 34px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); font-size: 15.5px; line-height: 1.5; color: rgba(255, 255, 255, 0.72); }
.usa__list li::before { content: "\2713"; position: absolute; left: 0; top: 14px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: var(--blue); color: #fff; }
.usa__list b { color: #fff; font-weight: 500; }

/* ───────────────────────────── FAQ ───────────────────────────── */
.faq { padding: 0 var(--pad) clamp(90px, 10vw, 150px); display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.faq__list details { border-top: 1px solid var(--line); }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: clamp(18px, 1.5vw, 21px); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 28px; line-height: 1; color: var(--blue); transition: transform 0.35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; max-width: 62ch; font-size: 16.5px; line-height: 1.75; color: #3a3a3e; }

/* ───────────────────────────── let's connect / footer ───────────────────────────── */
.connect {
  background: #000; color: #fff;
  border-radius: clamp(32px, 4vw, 56px) clamp(32px, 4vw, 56px) 0 0;
  padding: clamp(56px, 6vw, 92px) var(--pad) 26px;
}
.connect__title { font-weight: 400; font-size: clamp(44px, 5.6vw, 80px); line-height: 1; letter-spacing: -0.045em; }
.connect__lead { margin-top: 16px; max-width: 58ch; font-size: 17px; color: rgba(255, 255, 255, 0.6); }
.connect__form { margin-top: clamp(28px, 4vw, 48px); max-width: 870px; }
.uf { border-bottom: 1px solid rgba(255, 255, 255, 0.55); transition: border-color 0.3s; }
.uf:focus-within { border-bottom-color: var(--blue-2); }
.uf label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.uf input,
.uf select,
.uf textarea { width: 100%; border: 0; background: transparent; color: #fff; font-size: 17px; padding: 22px 0 14px; outline: none; border-radius: 0; }
.uf ::placeholder { color: #fff; opacity: 0.95; }
.uf select {
  -webkit-appearance: none; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center; background-size: 16px;
}
.uf select option { color: #000; }
.uf textarea { resize: vertical; min-height: 92px; }
.uf.is-bad { border-bottom-color: var(--pink); }

.chips { border: 0; padding: 0; margin: 30px 0 0; }
.chips legend { padding: 0; margin-bottom: 14px; font-size: 17px; }
.chips label { position: relative; display: inline-block; margin: 0 8px 10px 0; cursor: pointer; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--blue-2); font-size: 14px; transition: background 0.25s, color 0.25s; }
.chips label:hover span { background: rgba(10, 132, 255, 0.16); }
.chips input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }

.connect__submit {
  margin-top: 26px; width: 100%; min-height: 84px; border: 0; border-radius: 24px;
  background: var(--blue); color: #fff; font-size: 20px; cursor: pointer;
  transition: background 0.3s, transform 0.35s var(--ease);
}
.connect__submit:hover { background: var(--blue-2); }
.connect__submit:active { transform: scale(0.99); }
.connect__note { margin-top: 14px; font-size: 14px; color: rgba(255, 255, 255, 0.55); }
.connect__note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.offices { margin-top: clamp(64px, 8vw, 110px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 28px; }
.offices h3 { font-weight: 400; font-size: clamp(22px, 1.9vw, 27px); margin-bottom: 16px; }
.offices p { font-size: 15px; line-height: 1.9; }
.offices a:hover { color: var(--blue-2); }
.offices__dim { color: rgba(255, 255, 255, 0.55); }
.offices__side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.up { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; font-size: 15px; }
.up i { display: grid; place-items: center; width: 40px; height: 28px; border-radius: 9px; background: #fff; color: #000; font-style: normal; transition: transform 0.35s var(--ease); }
.up:hover i { transform: translateY(-3px); }

.foot__mark { margin-top: clamp(48px, 6vw, 90px); color: rgba(255, 255, 255, 0.24); }
.foot__mark svg { width: 100%; height: auto; }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 12.5px; color: rgba(255, 255, 255, 0.45); }

/* ───────────────────────────── sections as stacked 3D panels ───────────────────────────── */
.sec {
  position: relative;
  margin-top: calc(var(--r-card) * -1);
  padding-top: clamp(64px, 7vw, 110px);
  border-radius: var(--r-card) var(--r-card) 0 0;
  box-shadow: 0 -28px 60px -40px rgba(16, 16, 19, 0.35);
  transform-origin: 50% 0;
}
.sec--light { background: #fff; }
.sec--soft { background: var(--soft); }
.sec--dark { background: #0b0b0e; color: #fff; }
.chap {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: clamp(28px, 3.4vw, 48px);
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.svc .chap { padding: 0 var(--pad); }
.flow .chap { text-align: left; }
.chap__n {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--ink); color: #fff; font-size: 11px; letter-spacing: 0;
}
.chap__line { flex: 1; height: 1px; background: currentColor; opacity: 0.35; transform-origin: left; }
.chap__t { color: var(--ink); }
.chap__of { opacity: 0.6; }
.sec--dark .chap { color: rgba(255, 255, 255, 0.55); }
.sec--dark .chap__n { background: var(--iris); }
.sec--dark .chap__t { color: #fff; }

/* the process panel goes dark */
.flow.sec--dark { padding-bottom: clamp(90px, 10vw, 150px); }
.flow.sec .flow__eyebrow { display: none; }
.sec--dark .flow__eyebrow,
.sec--dark .flow figcaption span { color: rgba(255, 255, 255, 0.55); }
.sec--dark .flow__dots button::after { background: rgba(255, 255, 255, 0.4); }
.sec--dark .flow__dots button.is-on::after { background: var(--iris); }
.flow.sec--dark::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(50% 60% at 50% 100%, rgba(110, 86, 207, 0.32), transparent 70%);
}

/* marquee: a tilted 3D band between hero and work */
.names {
  position: relative; z-index: 2;
  width: 110%; margin: clamp(30px, 4vw, 60px) 0 calc(var(--r-card) + 30px) -5%;
  padding: clamp(18px, 2vw, 26px) 0;
  background: var(--ink);
  transform: perspective(1200px) rotateX(16deg) rotate(-2.5deg);
  box-shadow: 0 40px 60px -30px rgba(16, 16, 19, 0.45);
}
.names span { color: #fff; font-size: clamp(18px, 1.7vw, 26px); font-weight: 500; }
.names span::before { background: var(--iris); width: 9px; height: 9px; }

/* 3D headings: words keep their perspective while letters flip in */
.flip .word { display: inline-block; perspective: 700px; }
.flip .char { display: inline-block; transform-style: preserve-3d; }

/* mouse-tilt cards with a moving glare */
.tilt { transform-style: preserve-3d; will-change: transform; }
.glare {
  position: absolute; inset: 0; z-index: 5; border-radius: inherit; pointer-events: none;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, 0.38), transparent 45%);
  mix-blend-mode: overlay; opacity: 0; transition: opacity 0.4s;
}
.tilt:hover .glare { opacity: 1; }

/* WebGL ring logo */
.gl { position: absolute; display: block; pointer-events: none; }
.connect { position: relative; overflow: hidden; isolation: isolate; }
.gl--foot { top: -6%; right: -8%; width: min(60vw, 760px); height: min(60vw, 760px); z-index: -1; opacity: 0.85; }

/* ───────────────────────────── chat bubble ───────────────────────────── */
.chat {
  position: fixed; right: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2vw, 28px); z-index: 180;
  display: flex; align-items: center; gap: 10px;
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity 0.4s, transform 0.55s var(--ease);
}
.chat.is-on { opacity: 1; transform: none; pointer-events: auto; }
.chat__bubble { background: #fff; color: var(--ink); border-radius: 10px; padding: 9px 13px; font-size: 13px; box-shadow: 0 12px 30px -12px rgba(16, 16, 19, 0.35), 0 0 0 1px rgba(16, 16, 19, 0.06); }
.chat__avatar { position: relative; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; box-shadow: 0 16px 34px -14px rgba(0, 113, 227, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.25); transition: transform 0.4s var(--ease); }
.chat:hover .chat__avatar { transform: scale(1.06); }
.chat__avatar svg { width: 26px; height: 26px; }
.chat__avatar i { position: absolute; right: 1px; bottom: 1px; width: 14px; height: 14px; border-radius: 50%; background: #25d366; border: 2px solid #fff; }

/* ───────────────────────────── responsive ───────────────────────────── */
@media (max-width: 1100px) {
  .hd__nav { display: none; }
  .burger { display: block; }
  .hd__in { grid-template-columns: auto 1fr; }
  .offices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .offices__side { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-start; }
  .up { margin: 0 0 0 auto; }
  .price__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --hd: 68px; }
  .logo svg { width: 36px; height: 36px; }
  .logo span { font-size: 17px; }
  .hero__tag { display: none; }
  .float__screen { width: calc(100vw - 2 * var(--pad) - 40px); }
  .float__walker { width: 80px; margin-right: -26px; }
  .words__title { font-size: clamp(54px, 17vw, 120px); }
  .words__line--a { margin-left: 0; }
  .words__line--b { margin-right: 0; }
  .gl--foot { width: 90vw; height: 90vw; top: auto; bottom: 10%; right: -30%; }
  .chap__of { display: none; }
  .xp__row { flex-direction: column; align-items: flex-start; gap: 18px; }
  .xp__item { width: 100%; }
  .xp__archive { padding-top: 60vh; }
  .work__grid { grid-template-columns: minmax(0, 1fr); }
  .wcard,
  .wcard--big,
  .wcard--small,
  .wcard--full,
  .wcard--half { grid-column: auto; min-height: clamp(520px, 140vw, 640px); }
  .wcard--small { min-height: 440px; }
  .wcard--cta { min-height: 360px; }
  .wcard__media { place-items: start center; padding: 112px 18px 170px; }
  .wcard__meta { padding-right: 20px; padding-bottom: 76px; }
  .wcard__go { left: 20px; right: auto; bottom: 22px; }
  .wcard__phone { right: 14px; bottom: 190px; width: 88px; border-width: 4px; border-radius: 16px; }
  .wcard--soon .ring3d { top: 38%; }
  .wcard__tags { left: 16px; right: 16px; justify-content: flex-start; max-width: none; }
  .about__big { text-indent: 0; }
  .about__row { grid-template-columns: minmax(0, 1fr); }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bento .tile:nth-child(n) { grid-column: auto; }
  .tile--art,
  .tile--art2 { min-height: 300px; }
  .plat__panel { grid-template-columns: minmax(0, 1fr); }
  .price__grid { grid-template-columns: minmax(0, 1fr); }
  .usa__card { grid-template-columns: minmax(0, 1fr); }
  .faq { grid-template-columns: minmax(0, 1fr); }
  .offices { grid-template-columns: minmax(0, 1fr); }
  .connect__submit { min-height: 64px; font-size: 18px; border-radius: 18px; }
  .chat__bubble { display: none; }
}

@media (max-width: 520px) {
  .hd__cta { font-size: 14px; }
  .scard { flex-basis: 100%; max-width: none; }
  .plat__tabs .pill { flex: 1 1 calc(50% - 8px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .names__track { animation: none; }
}

/* walker slots collapse when the animation cannot run */
.no-walk .words__pal,
.no-walk .float__walker { display: none; }
