/* 1 Dot Studio, main styles */
:root {
  --paper: #ffffff;
  --paper-2: #f4f4f2;
  --ink: #0e0e0e;
  --ink-2: #2b2b2b;
  --muted: #6b6b6b;
  --line: #e2e2e0;
  --red: #ef3e2d;
  --red-ink: #c92a1b;
  --night: #0b0b0c;
  --night-2: #161618;
  --night-line: #2a2a2d;
  --night-muted: #9a978f;
  --display: "Inter Tight", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--display);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--red); letter-spacing: -0.01em; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex: none; }
.label {
  font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 22px; display: flex; align-items: center; gap: 10px;
}
.label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.label.light { color: var(--night-muted); }
.h2 {
  font: 700 clamp(40px, 6.4vw, 96px)/.95 var(--display); letter-spacing: -0.045em; margin: 0;
}
.h2 em { font-size: 1.08em; line-height: .8; }
.h2.big { font-size: clamp(48px, 8.5vw, 140px); }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); max-width: 46ch; margin: 28px 0 0; }
.lead.light { color: var(--night-muted); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 26px; border-radius: 999px;
  font: 600 16px/1 var(--display); letter-spacing: -0.01em;
  transition: transform .4s var(--ease), background .3s, color .3s, box-shadow .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--red); }
.btn-line { border: 1.5px solid var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-red { background: var(--red); color: #fff; }
.btn-brand { background: var(--brand, var(--red)); color: #0b0b0c; }

/* ---------- Loader and cursor ---------- */
.loader { position: fixed; inset: 0; z-index: 100; background: var(--paper); pointer-events: none; }
.loader-dot { position: absolute; left: 50%; top: 44%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--red); transform: scale(0); }
body:not(.is-loading) .loader { visibility: hidden; }

.cursor {
  position: fixed; left: 0; top: 0; z-index: 99; pointer-events: none;
  width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: var(--red); display: grid; place-items: center;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), opacity .2s, background .3s;
  opacity: 0;
}
.cursor-label { font: 600 13px/1 var(--display); color: #fff; opacity: 0; transition: opacity .2s; white-space: nowrap; }
.cursor.is-big { width: 78px; height: 78px; margin: -39px 0 0 -39px; }
.cursor.is-big .cursor-label { opacity: 1; }
.cursor.is-text { width: 4px; height: 26px; margin: -13px 0 0 -2px; border-radius: 2px; }
@media (hover: hover) and (pointer: fine) {
  .has-cursor, .has-cursor a, .has-cursor button, .has-cursor label { cursor: none; }
  .has-cursor .cursor { opacity: 1; }
  .has-cursor input, .has-cursor textarea { cursor: none; }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px var(--gutter);
  transition: background .3s, color .3s, box-shadow .3s;
}
.nav.is-scrolled { background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.nav.on-dark { color: var(--paper); }
.nav.on-dark.is-scrolled { background: color-mix(in srgb, var(--night) 78%, transparent); }
.logo { display: inline-flex; align-items: baseline; font: 800 30px/1 var(--display); letter-spacing: -0.06em; }
.logo-dot { width: .3em; height: .3em; border-radius: 50%; background: var(--red); margin: 0 .07em 0 .05em; transform: translateY(-.02em); }
.logo-word { letter-spacing: -0.045em; }
.nav-links { display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px; background: color-mix(in srgb, currentColor 6%, transparent); }
.nav-links > a, .nav-drop-btn { padding: 9px 16px; border-radius: 999px; font-weight: 500; font-size: 15px; transition: background .25s, color .25s; }
.nav-links > a:hover, .nav-links > a.is-on, .nav-drop:hover .nav-drop-btn, .nav-drop:focus-within .nav-drop-btn, .nav-drop-btn.is-on { background: var(--ink); color: var(--paper); }
.nav.on-dark .nav-links > a:hover, .nav.on-dark .nav-links > a.is-on, .nav.on-dark .nav-drop:hover .nav-drop-btn, .nav.on-dark .nav-drop-btn.is-on { background: var(--paper); color: var(--ink); }
.nav-drop { position: relative; }
.nav-drop-btn { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; font-weight: 500; font-size: 15px; transition: background .25s, color .25s; }
.nav-drop-btn svg { width: 12px; height: 12px; transition: transform .3s var(--ease); }
.nav-drop:hover .nav-drop-btn svg, .nav-drop:focus-within .nav-drop-btn svg { transform: rotate(180deg); }
.drop {
  position: absolute; left: 50%; top: 100%; width: 340px; padding: 8px; margin-top: 14px;
  background: #fff; color: var(--ink); border-radius: 20px;
  box-shadow: 0 24px 60px -18px rgba(0,0,0,.28), 0 0 0 1px rgba(0,0,0,.06);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity .25s, transform .35s var(--ease), visibility 0s .35s;
}
.drop::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-drop:hover .drop, .nav-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .25s, transform .35s var(--ease); }
.drop-item { display: grid; grid-template-columns: 52px 1fr 20px; gap: 14px; align-items: center; padding: 10px; border-radius: 14px; transition: background .2s; }
.drop-item:hover { background: var(--tint); }
.drop-logo { width: 52px; height: 52px; border-radius: 12px; background: var(--tint); display: grid; place-items: center; overflow: hidden; }
.drop-logo img { width: 44px; height: auto; }
.drop-text b { display: block; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.drop-text small { display: block; font-size: 13px; color: var(--muted); line-height: 1.3; }
.drop-item i { font-style: normal; font-size: 16px; color: var(--muted); transition: transform .3s var(--ease), color .2s; }
.drop-item:hover i { transform: translate(2px, -2px); color: var(--ink); }
.drop-all { display: block; margin-top: 4px; padding: 12px 10px 6px; border-top: 1px solid var(--line); font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.drop-all:hover { color: var(--red); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid currentColor; position: relative; }
.nav-burger span { position: absolute; left: 13px; right: 13px; height: 1.6px; background: currentColor; transition: transform .35s var(--ease); }
.nav-burger span:first-child { top: 18px; }
.nav-burger span:last-child { top: 25px; }
.menu-open .nav-burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .nav-burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mnav { position: fixed; inset: 0; z-index: 45; background: var(--paper); padding: 110px var(--gutter) 40px; overflow: auto; }
.mnav[hidden] { display: none; }
.mnav nav { display: grid; }
.mnav a { font: 700 40px/1.1 var(--display); letter-spacing: -0.04em; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mnav a.mnav-sub { font: 500 18px/1 var(--display); letter-spacing: 0; display: flex; align-items: center; gap: 12px; padding: 14px 0 14px 4px; color: var(--muted); }
.menu-open .nav { color: var(--ink); background: var(--paper); }
.nav-cta { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; padding: 12px 18px; border-radius: 999px; border: 1.5px solid currentColor; transition: background .25s, color .25s; }
.nav-cta:hover { background: var(--red); border-color: var(--red); color: #fff; }
.nav-cta:hover .dot { background: #fff; }

.li-pill {
  position: fixed; right: var(--gutter); bottom: 22px; z-index: 40;
  display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px 11px 14px;
  border-radius: 999px; background: var(--ink); color: var(--paper);
  font: 600 14px/1 var(--display); box-shadow: 0 10px 30px rgba(0,0,0,.18);
  transform: translateY(calc(100% + 40px)); transition: transform .6s var(--ease), background .3s;
}
.li-pill svg { width: 16px; height: 16px; color: #fff; background: #0a66c2; border-radius: 4px; padding: 2px; box-sizing: content-box; }
.li-pill.is-in { transform: none; }
.li-pill:hover { background: var(--red); }

/* ---------- Hero ---------- */
.hero { position: relative; height: 560vh; }
.hero-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }

.hero-copy { position: absolute; left: var(--gutter); bottom: clamp(36px, 9vh, 96px); z-index: 3; }
.eyebrow { display: flex; align-items: center; gap: 10px; font: 500 13px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 22px; }
.hero-title { font: 700 clamp(46px, 8.4vw, 136px)/.9 var(--display); letter-spacing: -0.05em; margin: 0; }
.hero-title em { font-size: 1.1em; }

.hero-word { position: absolute; left: 0; right: 0; bottom: clamp(30px, 7vh, 80px); z-index: 3; text-align: center; pointer-events: none; }
.hero-word span { display: inline-block; font: italic 400 clamp(44px, 6vw, 92px)/1 var(--serif); color: var(--ink); opacity: 0; }

.hero-steps { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); z-index: 3; list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.hero-steps li { font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--line); display: flex; gap: 10px; align-items: center; justify-content: flex-end; transition: color .4s; }
.hero-steps li b { font-weight: 500; }
.hero-steps li::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; transition: transform .4s var(--ease), background .4s; }
.hero-steps li.is-on { color: var(--ink); }
.hero-steps li.is-on::after { background: var(--red); transform: scale(1.7); }

.hero-scroll { position: absolute; right: var(--gutter); bottom: clamp(36px, 9vh, 96px); z-index: 3; display: flex; align-items: center; gap: 12px; font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hero-scroll span { width: 1.5px; height: 44px; background: var(--line); position: relative; overflow: hidden; }
.hero-scroll span::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--red); animation: drip 1.8s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }

.hero-final { position: absolute; left: var(--gutter); bottom: clamp(36px, 8vh, 90px); z-index: 4; opacity: 0; visibility: hidden; }
.hero-final h2 { font: 700 clamp(40px, 6.2vw, 100px)/.92 var(--display); letter-spacing: -0.05em; margin: 0 0 26px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* The browser mockup. The particle wireframe is sampled from these boxes, so they double as layout. */
.mock {
  --mw: min(880px, 76vw, 98vh);
  position: absolute; left: 50%; top: 47%; width: var(--mw); transform: translate(-50%, -50%);
  z-index: 1; opacity: 0; font-size: calc(var(--mw) / 60);
  border-radius: 1.2em; overflow: hidden; background: #fff;
  box-shadow: 0 2.4em 6em -1.4em rgba(20, 16, 10, .35), 0 0 0 1px rgba(0,0,0,.06);
}
.mock-chrome { display: flex; align-items: center; gap: .55em; height: 3.1em; padding: 0 1.2em; background: #f1efe9; }
.mock-tl { width: .85em; height: .85em; border-radius: 50%; background: #d9d4c9; }
.mock-tl:first-child { background: var(--red); }
.mock-url { margin: 0 auto; padding: .45em 1.6em; border-radius: 99em; background: #fff; font: 500 .95em/1 var(--mono); color: var(--muted); }
.mock-body { padding: 1.6em 2.2em 2.2em; background: linear-gradient(160deg, #141823 0%, #1d2333 60%, #2a1f2a 100%); color: #fff; }
.mock-nav { display: flex; align-items: center; gap: 2em; margin-bottom: 3em; }
.mock-logo { font: 700 1.35em/1 var(--display); letter-spacing: -0.04em; display: inline-flex; align-items: center; gap: .25em; }
.mock-logo i { width: .45em; height: .45em; border-radius: 50%; background: var(--red); }
.mock-links { display: flex; gap: 1.4em; margin-left: auto; }
.mock-links i { width: 3.4em; height: .55em; border-radius: 1em; background: rgba(255,255,255,.28); }
.mock-btn { display: inline-flex; align-items: center; justify-content: center; height: 2.9em; padding: 0 1.5em; border-radius: 99em; background: var(--red); font: 600 1em/1 var(--display); color: #fff; }
.mock-btn.sm { height: 2.4em; padding: 0 1.1em; font-size: .9em; }
.mock-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.4em; align-items: center; margin-bottom: 2.4em; }
.mock-text { display: flex; flex-direction: column; align-items: flex-start; gap: .4em; }
.mock-kicker { font: 500 .85em/1 var(--mono); color: #ff9c90; letter-spacing: .06em; margin-bottom: .8em; }
.mock-h { font: 700 3.6em/.98 var(--display); letter-spacing: -0.045em; }
.mock-p { margin: .9em 0 1.4em; color: rgba(255,255,255,.66); font-size: 1.1em; }
.mock-art { position: relative; height: 15em; border-radius: 1em; background: radial-gradient(circle at 70% 30%, rgba(239,62,45,.55), transparent 55%), linear-gradient(140deg, #2b3245, #191d29); overflow: hidden; }
.mock-orb { position: absolute; width: 7em; height: 7em; border-radius: 50%; right: 2.2em; top: 1.8em; background: radial-gradient(circle at 35% 30%, #ff8a7c, var(--red) 55%, #8f1a10); box-shadow: 0 1.5em 3em rgba(239,62,45,.45); }
.mock-card { position: absolute; left: 1.6em; border-radius: .7em; background: rgba(255,255,255,.12); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.18); }
.mock-card.c1 { top: 2em; width: 9em; height: 4.2em; }
.mock-card.c2 { bottom: 1.8em; width: 12em; height: 3em; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2em; }
.mock-cards span { display: flex; flex-direction: column; gap: .8em; padding: 1.2em; border-radius: .9em; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.mock-cards b { font: 600 1.05em/1 var(--display); }
.mock-cards i { height: .5em; width: 70%; border-radius: 1em; background: rgba(255,255,255,.2); }

/* Hero showcase: the browser shows real projects. The placeholder layout stays in place (invisible)
   because the particle wireframe is traced from it. */
.mock-body { position: relative; }
.mock.has-shots .mock-nav, .mock.has-shots .mock-hero, .mock.has-shots .mock-cards { visibility: hidden; }
.mock-shots { position: absolute; inset: 0; background: #f4f4f2; overflow: hidden; }
.mock-shots img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; opacity: 0; transition: opacity .9s ease; }
.mock-shots img.is-on { opacity: 1; }
.mock-url { transition: opacity .3s; }
.mock-cap {
  display: flex; align-items: center; gap: 1em; height: 4.2em; padding: 0 1.4em;
  background: #fff; border-top: 1px solid rgba(0,0,0,.07); color: var(--ink); text-decoration: none;
}
.mock-cap-dot { width: .9em; height: .9em; border-radius: 50%; background: var(--red); flex: none; box-shadow: 0 0 0 .35em rgba(239,62,45,.15); }
.mock-cap-text { display: grid; gap: .25em; min-width: 0; transition: opacity .3s; }
.mock-cap-text b { font: 700 1.3em/1 var(--display); letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-cap-text small { font: 500 .85em/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-cap-count { display: flex; gap: .45em; margin-left: auto; }
.mock-cap-count i { width: .6em; height: .6em; border-radius: 50%; background: #dcdad4; transition: background .3s, transform .3s; }
.mock-cap-count i.is-on { background: var(--red); transform: scale(1.3); }
.mock-cap-go { font: 600 1.05em/1 var(--display); padding: .75em 1.2em; border-radius: 99em; background: var(--ink); color: #fff; transition: background .25s; white-space: nowrap; }
.mock-cap:hover .mock-cap-go { background: var(--red); }
.mock.is-swapping .mock-cap-text, .mock.is-swapping .mock-url { opacity: 0; }

/* ---------- Services ---------- */
.services { padding: clamp(100px, 16vh, 180px) 0; position: relative; z-index: 2; background: var(--paper); }
.services-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.services-head { position: sticky; top: 120px; }
.services-list { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.service { display: grid; grid-template-columns: 110px 1fr; gap: 30px; padding: 40px 0; border-bottom: 1px solid var(--line); align-items: start; }
.service-icon { width: 100%; height: auto; }
.service-icon .draw { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.service-icon .red { fill: var(--red); }
.service-n { font: 500 12px/1 var(--mono); color: var(--muted); letter-spacing: .12em; }
.service h3 { font: 700 clamp(28px, 3vw, 42px)/1 var(--display); letter-spacing: -0.035em; margin: 10px 0 12px; }
.service p { margin: 0; color: var(--muted); max-width: 44ch; }

/* ---------- Products: stacked cards ---------- */
.products { padding: clamp(100px, 14vh, 160px) 0 clamp(60px, 10vh, 120px); }
.products-head { display: grid; grid-template-columns: 1.7fr 1fr; gap: 40px; align-items: end; margin-bottom: 60px; }
.products-head .h2 { max-width: 14ch; }
.products-head .lead { margin: 0; }
.pstack { display: grid; gap: 28px; }
.pcard {
  position: sticky; top: calc(96px + var(--i) * 18px);
  display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(24px, 4vw, 70px); align-items: center;
  min-height: min(640px, calc(100vh - 140px)); padding: clamp(28px, 4vw, 60px);
  border-radius: 36px; background: var(--tint); overflow: hidden;
  box-shadow: 0 -1px 0 rgba(0,0,0,.04), 0 30px 60px -40px rgba(0,0,0,.35);
  transform-origin: 50% 0;
}
.pcard::before { content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -160px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--brand) 26%, transparent), transparent 65%); pointer-events: none; }
.pcard-info { position: relative; }
.pcard-top { display: flex; align-items: center; gap: 12px; margin-bottom: 30px; font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pcard-n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; letter-spacing: 0; }
.pcard-logo { height: 64px; width: auto; margin-bottom: 26px; }
.pcard h3 { font: 700 clamp(32px, 3.6vw, 54px)/1 var(--display); letter-spacing: -0.04em; margin: 0 0 24px; max-width: 16ch; }
.pcard-info ul { list-style: none; margin: 0 0 34px; padding: 0; display: grid; gap: 12px; }
.pcard-info li { display: flex; gap: 12px; align-items: baseline; color: var(--ink-2); }
.pcard-info li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); flex: none; transform: translateY(-1px); }
.pcard-info p { color: var(--ink-2); max-width: 40ch; margin: 0 0 30px; font-size: 18px; }
.pcard-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.pcard-demo { position: relative; display: grid; place-items: center; }
.pcard-next { --tint: var(--ink); --brand: var(--red); color: #fff; }
.pcard-next .pcard-top { color: var(--night-muted); }
.pcard-next .pcard-n { background: var(--red); }
.pcard-next .pcard-info p { color: #cfcbc2; }
.next-dot { position: relative; width: min(340px, 60vw); aspect-ratio: 1; display: grid; place-items: center; }
.next-dot span { position: absolute; border-radius: 50%; }
.next-dot span:nth-child(1) { width: 22%; height: 22%; background: var(--red); box-shadow: 0 0 80px rgba(239,62,45,.6); animation: breathe 3s ease-in-out infinite; }
.next-dot span:nth-child(2) { inset: 18%; border: 1.5px dashed #3a3a3d; animation: spin 26s linear infinite; }
.next-dot span:nth-child(3) { inset: 0; border: 1.5px dashed #2a2a2d; animation: spin 40s linear infinite reverse; }
@keyframes breathe { 50% { transform: scale(1.15); } }
@keyframes spin { to { transform: rotate(360deg); } }

.wheel-demo { display: grid; justify-items: center; gap: 26px; width: 100%; }
.wheel-wrap { position: relative; width: min(400px, 52vh, 80vw); aspect-ratio: 1; }
.wheel { width: 100%; height: 100%; border-radius: 50%; box-shadow: 0 30px 70px -24px rgba(11,100,60,.55); }
.wheel-pointer { position: absolute; right: -6px; top: 50%; width: 0; height: 0; transform: translateY(-50%); border: 16px solid transparent; border-right: 30px solid var(--ink); border-left: 0; filter: drop-shadow(0 4px 8px rgba(0,0,0,.25)); }
.wheel-hub { position: absolute; left: 50%; top: 50%; width: 22%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; color: var(--night); font: 800 15px/1 var(--display); letter-spacing: -0.02em; box-shadow: 0 8px 26px rgba(0,0,0,.35); transition: transform .3s var(--ease); }
.wheel-hub:hover { transform: translate(-50%, -50%) scale(1.06); }
.wheel-form { width: min(440px, 100%); }
.wheel-row { display: flex; gap: 8px; }
.wheel-row input { flex: 1; min-width: 0; height: 54px; padding: 0 20px; border-radius: 999px; border: 1.5px solid rgba(0,0,0,.1); background: #fff; color: var(--ink); font: inherit; }
.wheel-row input:focus { outline: none; border-color: var(--brand); }
.wheel-msg { margin: 12px 0 0; font-size: 14px; color: var(--muted); min-height: 2.6em; text-align: center; }
.wheel-msg.win { color: var(--ink); }
.wheel-msg b { color: #087f4c; }

/* RealtorGlide CRM dashboard composition. Laid out on a 645 x 567 grid and scaled with the
   card width (container units), so it looks the same on a phone and a big screen. */
.crm { position: relative; width: min(600px, 100%); aspect-ratio: 645 / 567; container-type: inline-size; color: #111827; font-family: var(--display); }
.crm > * { position: absolute; font-size: 13px; font-size: 2.17cqw; }
.crm svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.crm-glow { left: 6%; right: 4%; top: 3%; bottom: 2%; border-radius: 3em; background: linear-gradient(140deg, #fff3c4 0%, #ffe680 55%, rgba(255,230,128,.25) 100%); filter: blur(1.4em); opacity: .85; }
.crm-dash { left: 9.6%; top: 9.5%; width: 79.7%; height: 78.6%; background: #fff; border-radius: 1.1em; border: 1px solid #e5e7eb; box-shadow: 0 2em 4em -2em rgba(120, 90, 0, .25); overflow: hidden; }
.crm-top { display: flex; align-items: center; gap: .6em; padding: 1.05em 1.4em; border-bottom: 1px solid #eef0f3; font-size: .95em; }
.crm-pro { padding: .15em .55em; border-radius: 99em; background: #dcfce7; color: #15803d; font-size: .75em; font-weight: 700; letter-spacing: .03em; }
.crm-body { padding: 1.4em; background: #fafafa; height: 100%; }
.crm-body h4 { margin: 0; font-size: 1.4em; font-weight: 700; letter-spacing: -0.02em; }
.crm-sub { margin: .2em 0 1.1em; color: #4b5563; font-size: .95em; }
.crm-stats { display: grid; grid-template-columns: 1fr 1fr; gap: .9em; }
.crm-stat { position: relative; display: grid; gap: .25em; padding: 1em 1.1em; background: #fff; border: 1px solid #e5e7eb; border-radius: .9em; }
.crm-stat span { font-size: .88em; color: #374151; }
.crm-stat b { font-size: 1.6em; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.crm-stat small { font-size: .8em; color: #16a34a; }
.crm-stat .ic { position: absolute; right: 1.1em; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 2.5em; height: 2.5em; border-radius: .65em; }
.ic-green { background: #dcfce7; color: #15803d; }
.ic-blue { background: #dbeafe; color: #2563eb; }
.ic-red { background: #fee2e2; color: #dc2626; }
.ic-yellow { background: #fef3c7; color: #b45309; }
.crm b.is-bump { animation: crmBump .6s var(--ease); }
@keyframes crmBump { 40% { transform: scale(1.18); color: #16a34a; } }
.crm-bill { left: 50.5%; top: 4.2%; display: flex; align-items: baseline; gap: .45em; padding: 1.05em 1.3em; border-radius: .9em; background: #ffc60a; color: #1c1c1c; box-shadow: 0 1.2em 2.4em -1em rgba(180, 130, 0, .6); animation: crmFloat 5s ease-in-out infinite; }
.crm-bill span { font-size: .95em; font-weight: 600; }
.crm-bill b { font-size: 2.05em; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.crm-bill small { font-size: .95em; font-weight: 600; }
.crm-col { left: 4.3%; top: 57.3%; width: 30.5%; padding: .85em; border-radius: 1.1em; background: #f1f4ff; border: 1.5px dashed #b4c2f5; box-shadow: 0 1.4em 2.6em -1.4em rgba(37, 99, 235, .35); animation: crmFloat 6s ease-in-out -2s infinite; }
.crm-col-head { margin: 0 0 .75em; padding: .6em; border-radius: .6em; background: #fff; text-align: center; font-size: .95em; font-weight: 600; }
.crm-col-head span { color: #6b7280; font-weight: 500; }
.crm-col-head i { font-style: normal; }
.crm-lead { display: grid; gap: .3em; padding: .95em; background: #fff; border: 1px solid #e5e7eb; border-radius: .8em; opacity: 0; transform: translateY(-1.2em) scale(.96); transition: opacity .5s, transform .7s var(--ease); }
.crm-lead.is-in { opacity: 1; transform: none; }
.crm-lead b { font-size: 1em; }
.crm-lead strong { font-size: 1.15em; color: #2563eb; }
.crm-lead span { font-size: .9em; color: #6b7280; }
.crm-lead em { margin-top: .4em; padding: .5em .7em; border-radius: .45em; background: #f3f4f6; font-style: normal; font-size: .8em; color: #374151; }
.crm-task { left: 46.8%; top: 65.8%; width: 45%; padding: 1.15em 1.25em; background: #fff; border-radius: 1.05em; box-shadow: 0 1.6em 3em -1.2em rgba(0, 0, 0, .28), 0 0 0 1px rgba(0,0,0,.04); animation: crmFloat 5.5s ease-in-out -1s infinite; }
.crm-task p { margin: 0; }
.crm-task-head { display: flex; align-items: center; gap: .55em; font-size: 1em; }
.ic-alert { color: #dc2626; display: grid; }
.crm-high { margin-left: auto; padding: .2em .6em; border-radius: 99em; background: #fee2e2; color: #dc2626; font-size: .78em; font-weight: 600; }
.crm-task-desc { margin: .65em 0 .7em !important; color: #4b5563; font-size: .92em; line-height: 1.4; }
.crm-task-meta { display: flex; align-items: center; gap: .5em; color: #4b5563; font-size: .85em; }
.crm-task-foot { display: flex; align-items: center; justify-content: space-between; margin-top: .55em; }
.crm-done { padding: .75em 1.15em; border-radius: .5em; background: #2563eb; color: #fff; font: 600 .85em/1 var(--display); pointer-events: none; transition: background .3s, transform .2s; }
.crm-done.is-press { transform: scale(.92); }
.crm-done.is-done { background: #16a34a; }
@keyframes crmFloat { 50% { transform: translateY(-.45em); } }
@media (prefers-reduced-motion: reduce) { .crm-bill, .crm-col, .crm-task { animation: none; } }

/* ---------- Work: the Dot Index ---------- */
.work { padding: clamp(110px, 16vh, 180px) 0 clamp(80px, 12vh, 140px); position: relative; }
.work-head { display: grid; gap: 34px; margin-bottom: 20px; }
.work-controls { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 11px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 500; font-size: 15px; transition: background .25s, border-color .25s, color .25s; }
.chip span { font: 500 11px/1 var(--mono); color: var(--muted); margin-left: 4px; }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip.is-on span { color: var(--red); }
.view-toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--paper-2); }
.view-toggle button { padding: 8px 14px; border-radius: 999px; font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.view-toggle button.is-on { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.08); }

.dot-field { position: relative; isolation: isolate; /* keeps the dots' z-index inside the section, below the menu and case study */ height: min(88vh, 860px); min-height: 600px; margin: 10px auto 0; max-width: 1500px; }
.orbits { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.orbits ellipse { fill: none; stroke: var(--line); stroke-width: 1.2; stroke-dasharray: 3 7; }
.orbits ellipse.o0 { stroke: rgba(239,62,45,.35); }
.hub { --hub: 92px; position: absolute; left: 50%; top: 50%; width: var(--hub); height: var(--hub); margin: calc(var(--hub) / -2) 0 0 calc(var(--hub) / -2); border-radius: 50%; background: var(--red); color: #fff; display: grid; place-content: center; text-align: center; z-index: 1; box-shadow: 0 20px 60px -10px rgba(239,62,45,.55); }
.hub b { font: 800 34px/1 var(--display); letter-spacing: -0.04em; }
.hub span { font: 500 10px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; opacity: .85; margin-top: 4px; }
.hub::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1.5px solid rgba(239,62,45,.35); animation: hubPulse 3s ease-out infinite; }
@keyframes hubPulse { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.pitem { position: absolute; left: 0; top: 0; width: 0; height: 0; will-change: transform; }
.pdot {
  position: absolute; left: 0; top: 0; width: 88px; height: 88px; transform: translate(-50%, -50%);
  border-radius: 50%; overflow: hidden; background: var(--paper-2);
  border: 4px solid #fff; box-shadow: 0 14px 34px -12px rgba(0,0,0,.35), 0 0 0 1px rgba(0,0,0,.06);
  transition: opacity .35s, box-shadow .3s;
}
.pdot img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform .7s var(--ease); }
.pitem.is-featured .pdot { box-shadow: 0 14px 34px -12px rgba(0,0,0,.35), 0 0 0 3px var(--red); }
.pitem.is-hover .pdot img { transform: scale(1); }
.plabel { position: absolute; left: 0; top: 0; transform: translateX(-50%); width: max-content; max-width: 132px; text-align: center; font: 600 12.5px/1.2 var(--display); letter-spacing: -0.01em; color: var(--ink); transition: opacity .3s; pointer-events: none; }
.pitem.is-dim .plabel, .pitem.is-hover .plabel, .pitem.is-tight .plabel { opacity: 0; }
.pitem.is-dim .pdot { border-width: 0; }
.pitem.is-dim .pdot img { opacity: 0; }
.pitem.is-dim .pdot { background: var(--ink); }
.dot-field.has-hover .pitem:not(.is-hover) { opacity: .35; }
.pitem { transition: opacity .35s; }
.dot-tip { position: absolute; z-index: 6000; left: 0; top: 0; pointer-events: none; opacity: 0; padding: 12px 16px; border-radius: 14px; background: var(--ink); color: var(--paper); white-space: nowrap; transition: opacity .2s; }
.dot-tip b { display: block; font: 700 17px/1.2 var(--display); letter-spacing: -0.02em; }
.dot-tip span { font: 500 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--night-muted); }
.dot-tip.is-on { opacity: 1; }

.work-list { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); display: none; }
.work.show-list .work-list { display: block; }
.work.show-list .dot-field { display: none; }
.work-list li.is-out { display: none; }
.work-list a { display: grid; grid-template-columns: 54px 1.6fr 1fr 1fr 30px; gap: 18px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); transition: padding .35s var(--ease), color .2s; }
.work-list a:hover { padding-left: 14px; color: var(--red); }
.wl-n { font: 500 12px/1 var(--mono); color: var(--muted); }
.wl-t { font: 700 clamp(22px, 2.4vw, 32px)/1.1 var(--display); letter-spacing: -0.03em; }
.wl-tags, .wl-loc { font-size: 14px; color: var(--muted); }
.wl-arrow { font-size: 22px; text-align: right; }
.list-thumb { position: fixed; z-index: 30; width: 300px; aspect-ratio: 1.45; border-radius: 14px; overflow: hidden; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.8); transition: opacity .25s, transform .35s var(--ease); box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.list-thumb.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.list-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Case study overlay */
.case { position: fixed; inset: 0; z-index: 70; background: var(--paper); clip-path: circle(0 at 50% 50%); overflow: auto; overscroll-behavior: contain; }
.case[hidden] { display: none; }
.case-inner { min-height: 100%; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 80px); align-items: center; padding: 110px var(--gutter) 60px; max-width: 1400px; margin: 0 auto; }
.case-close { position: fixed; top: 22px; right: var(--gutter); width: 54px; height: 54px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 28px; line-height: 1; z-index: 2; transition: background .25s, transform .4s var(--ease); }
.case-close:hover { background: var(--red); transform: rotate(90deg); }
.case-title { font: 700 clamp(42px, 6vw, 92px)/.95 var(--display); letter-spacing: -0.045em; margin: 0 0 24px; }
.case-summary { font-size: clamp(17px, 1.4vw, 21px); color: var(--muted); max-width: 44ch; margin: 0 0 36px; }
.case-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.case-visit[hidden] { display: none; }
.case-nav { display: flex; gap: 8px; }
.case-nav button { width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid var(--line); font-size: 20px; transition: border-color .2s, background .2s, color .2s; }
.case-nav button:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.case-frame { border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 40px 90px -30px rgba(20,16,10,.4), 0 0 0 1px rgba(0,0,0,.06); }
.case-bar { display: flex; gap: 7px; padding: 14px 16px; background: #f1efe9; }
.case-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d9d4c9; }
.case-bar i:first-child { background: var(--red); }
.case-scroll { height: min(64vh, 620px); overflow: hidden; position: relative; }
.case-scroll img { width: 100%; height: auto; transition: transform 6s cubic-bezier(.45,.05,.55,.95); }
.case-scroll.is-short img { height: 100%; object-fit: cover; }

/* ---------- Clients: constellation ---------- */
.clients { padding: clamp(110px, 16vh, 180px) 0; background: var(--paper); }
.clients-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 90px); align-items: center; margin-top: 50px; }
.constellation { position: relative; width: 100%; max-width: 620px; aspect-ratio: 1; margin: 0 auto; }
.const-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.const-svg .orbit { fill: none; stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 6; }
.const-svg .link { fill: none; stroke: #bdb8ad; stroke-width: 1.2; transition: stroke .4s, stroke-width .4s; }
.const-svg .link.is-on { stroke: var(--red); stroke-width: 2; }
.const-svg .bond { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; fill: var(--muted); transition: fill .4s; }
.const-svg .bond.is-on { fill: var(--red); }
.const-svg .spark { fill: var(--red); }
.const-svg .core { fill: var(--red); }
.const-svg .core-ring { fill: none; stroke: var(--red); stroke-width: 1.5; opacity: .35; }
.const-nodes { position: absolute; inset: 0; }
.cnode { position: absolute; width: 13%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; overflow: hidden; border: 3px solid var(--paper); box-shadow: 0 0 0 1.5px var(--line); transition: box-shadow .4s, transform .5s var(--ease); background: var(--ink); }
.cnode img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .4s; }
.cnode:hover, .cnode.is-on { transform: translate(-50%, -50%) scale(1.18); box-shadow: 0 0 0 3px var(--red); }
.cnode.is-on img, .cnode:hover img { filter: none; }
.quotes { position: relative; display: grid; }
.quote { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transition: opacity .5s, visibility 0s .5s; }
.quote.is-on { opacity: 1; visibility: visible; transition: opacity .6s .1s; }
.quote blockquote { margin: 0 0 30px; font: 400 clamp(22px, 2.15vw, 32px)/1.28 var(--serif); letter-spacing: -0.005em; }
.quote blockquote::before { content: "\201C"; display: block; font: italic 400 110px/.6 var(--serif); color: var(--red); margin-bottom: 12px; height: 46px; }
.quote figcaption { display: flex; align-items: center; gap: 14px; }
.quote figcaption img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.quote figcaption b { display: block; font-size: 17px; }
.quote figcaption span { font-size: 14px; color: var(--muted); line-height: 1.35; }
.quote-nav { grid-row: 2; display: flex; align-items: center; gap: 18px; margin-top: 40px; }
.quote-nav button { width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid var(--line); font-size: 18px; transition: background .2s, color .2s, border-color .2s; }
.quote-nav button:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.q-count { font: 500 13px/1 var(--mono); color: var(--muted); letter-spacing: .1em; }

/* ---------- World ---------- */
.world { background: var(--night); color: var(--paper); padding: clamp(110px, 16vh, 180px) 0; overflow: hidden; }
.world-top { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(30px, 4vw, 70px); align-items: end; margin-bottom: clamp(30px, 5vh, 60px); }
.world-top .lead { margin-top: 0; }
.status { margin: 28px 0 0; display: grid; gap: 12px; }
.status p { margin: 0; display: flex; align-items: center; gap: 12px; color: #d8d4cb; }
.clock-time { font-family: var(--mono); font-weight: 500; color: #fff; }
.dot.pulse { box-shadow: 0 0 0 0 rgba(239,62,45,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(239,62,45,0); } 100% { box-shadow: 0 0 0 0 rgba(239,62,45,0); } }
.socials { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: clamp(24px, 4vh, 50px); }
.social-card { position: relative; display: grid; gap: 4px; padding: 20px 64px 20px 22px; border-radius: 18px; background: var(--night-2); border: 1px solid var(--night-line); transition: border-color .3s, background .3s, transform .4s var(--ease); }
.social-card b { font-size: 19px; }
.social-card span { font-size: 14px; color: var(--night-muted); }
.social-card i { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 22px; transition: transform .3s var(--ease); }
.social-card:hover { border-color: var(--red); transform: translateY(-3px); }
.social-card:hover i { transform: translate(5px, -50%); color: var(--red); }
.map { position: relative; width: 100%; aspect-ratio: 360 / 131; }
.map-canvas { width: 100%; height: 100%; display: block; }

/* ---------- Contact ---------- */
.contact { padding: clamp(110px, 16vh, 180px) 0; }
.contact-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.contact-direct { margin: 36px 0 0; font: 600 clamp(18px, 1.6vw, 22px)/1.7 var(--display); }
.contact-direct a { background: linear-gradient(var(--red), var(--red)) 0 100% / 0 2px no-repeat; transition: background-size .4s var(--ease); }
.contact-direct a:hover { background-size: 100% 2px; }
.contact-form { display: grid; gap: 22px; padding-top: 10px; }
.field { position: relative; }
.field input, .field textarea { width: 100%; border: 0; border-bottom: 1.5px solid var(--line); background: transparent; padding: 26px 0 12px; font: 500 19px/1.4 var(--display); color: var(--ink); resize: vertical; transition: border-color .3s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field label { position: absolute; left: 0; top: 26px; color: var(--muted); pointer-events: none; transition: transform .3s var(--ease), color .3s, font-size .3s; transform-origin: left top; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-24px) scale(.78); color: var(--ink); }
.field.is-bad input, .field.is-bad textarea { border-color: var(--red); }
.field-chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.field-chips legend { font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; padding: 0; }
.field-chips label { position: relative; }
.field-chips input { position: absolute; opacity: 0; pointer-events: none; }
.field-chips span { display: inline-block; padding: 11px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 500; font-size: 15px; transition: background .2s, border-color .2s, color .2s; }
.field-chips label:hover span { border-color: var(--ink); }
.field-chips input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.field-chips input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.send-row { display: flex; align-items: center; gap: 24px; margin-top: 10px; }
.send { width: 120px; height: 120px; border-radius: 50%; background: var(--red); color: #fff; font: 700 18px/1 var(--display); flex: none; transition: transform .5s var(--ease), background .3s; }
.send:hover { transform: scale(1.06); background: var(--ink); }
.send-msg { margin: 0; color: var(--muted); }
.send-msg.is-bad { color: var(--red-ink); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--paper); padding: 70px 0 30px; overflow: hidden; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-top nav { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.footer-top nav a { color: #cfcbc2; transition: color .2s; }
.footer-top nav a:hover { color: var(--red); }
.footer-mark { margin: 50px 0 20px; text-align: center; font: 800 clamp(90px, 23vw, 380px)/.8 var(--display); letter-spacing: -0.07em; color: transparent; -webkit-text-stroke: 1.5px #3a3a3c; white-space: nowrap; user-select: none; }
.footer-dot { display: inline-block; width: .26em; height: .26em; border-radius: 50%; background: var(--red); margin: 0 .04em; -webkit-text-stroke: 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--night-muted); }
kbd { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 6px; background: #2a2a2d; color: #fff; font: 700 14px/1 var(--mono); }

/* Easter egg burst */
.burst { position: fixed; inset: 0; z-index: 98; pointer-events: none; }

/* Scroll reveals (JS adds .is-in) */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .services-grid, .clients-grid, .world-top, .contact-grid, .case-inner, .products-head { grid-template-columns: 1fr; }
  .services-head { position: static; }
  .nav-burger { display: block; }
  .pcard { position: relative; top: 0; grid-template-columns: 1fr; min-height: 0; border-radius: 28px; }
  .hero-steps { display: none; }
  .case-inner { padding-top: 96px; align-items: start; }
  .case-scroll { height: 52vh; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { padding: 14px var(--gutter); }
  .logo { font-size: 26px; }
  .nav-cta { padding: 10px 14px; font-size: 14px; }
  .hero-scroll { display: none; }
  .loader-dot { top: 38%; }
  .hero-title { font-size: 12.4vw; line-height: .92; }
  .hero-copy { bottom: clamp(28px, 6vh, 56px); right: var(--gutter); }
  .mock { --mw: 92vw; top: 44%; }
  .mock-cards span:nth-child(3) { display: none; }
  .mock-cap-count { display: none; }
  .mock-cap { font-size: 9px; height: 5em; }
  .crm { width: calc(100% + 40px); margin: 0 -20px; }
  .mock-cards { grid-template-columns: 1fr 1fr; }
  .service { grid-template-columns: 70px 1fr; gap: 18px; padding: 30px 0; }
  .work-list a { grid-template-columns: 34px 1fr 24px; }
  .wl-tags, .wl-loc { display: none; }
  .dot-field { height: 96vh; min-height: 620px; }
  .plabel { display: none; }
  .hub b { font-size: 26px; }
  .hub span { font-size: 8px; }
  .pdot { border-width: 3px; }
  .send { width: 100px; height: 100px; }
  .li-pill span { display: none; }
  .nav-cta { display: none; }
  .socials { grid-template-columns: 1fr; }
  .map { margin: 0 calc(var(--gutter) * -1); width: calc(100% + var(--gutter) * 2); }
  .pcard-logo { height: 50px; }
  .li-pill { padding: 12px; }
  .footer-bottom .egg { display: none; }
}

/* Reduced motion: skip the scroll story and show the finished product. */
@media (prefers-reduced-motion: reduce) {
  .hero { height: auto; }
  .hero-sticky { position: relative; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-scroll span::after, .panel-hint span::after, .dot.pulse, .mock-shots img.is-on { animation: none; }
}

/* Spam trap: hidden from people, visible to bots */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Inner pages (project, product, page, 404) ---------- */
.logo-img { height: 34px; width: auto; display: block; }
.footer .logo-img { height: 40px; }
.inner { padding: 130px 0 0; }
.draft-bar { position: fixed; left: 50%; top: 84px; transform: translateX(-50%); z-index: 44; margin: 0; padding: 8px 16px; border-radius: 999px; background: #fff3c2; font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.back { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 40px; font-weight: 500; color: var(--muted); transition: color .2s; }
.back span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line); transition: background .25s, border-color .25s, color .25s; }
.back:hover { color: var(--ink); }
.back:hover span { background: var(--ink); border-color: var(--ink); color: #fff; }
.ihero { padding-bottom: clamp(30px, 6vh, 60px); }
.ititle { font: 700 clamp(48px, 9vw, 150px)/.9 var(--display); letter-spacing: -0.055em; margin: 0 0 30px; max-width: 14ch; }
.isummary { font-size: clamp(19px, 1.8vw, 26px); line-height: 1.45; color: var(--ink-2); max-width: 40ch; margin: 0 0 40px; }
.imeta { display: flex; flex-wrap: wrap; gap: 14px 50px; margin: 0; padding-top: 26px; border-top: 1.5px solid var(--ink); }
.imeta dt { font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.imeta dd { margin: 0; font-weight: 600; }
.imeta a:hover { color: var(--red); }
.ishot { margin-bottom: clamp(50px, 9vh, 100px); }
.ishot .case-scroll { height: min(78vh, 760px); }
.prose { max-width: 820px; font-size: 19px; line-height: 1.7; color: var(--ink-2); margin-bottom: clamp(50px, 9vh, 100px); }
.prose h2 { font: 700 clamp(30px, 3.2vw, 44px)/1.05 var(--display); letter-spacing: -0.035em; color: var(--ink); margin: 1.6em 0 .5em; }
.prose h3 { font: 700 24px/1.2 var(--display); letter-spacing: -0.02em; color: var(--ink); margin: 1.4em 0 .4em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 1.4em 0; padding-left: 22px; border-left: 3px solid var(--red); font: italic 400 26px/1.35 var(--serif); color: var(--ink); }
.prose img { border-radius: 16px; margin: 1.4em 0; }
.prose > :first-child { margin-top: 0; }
.igallery { columns: 2; column-gap: 20px; margin-bottom: clamp(50px, 9vh, 100px); }
.igallery figure { break-inside: avoid; margin: 0 0 20px; border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.07), 0 24px 50px -34px rgba(0,0,0,.35); }
.igallery .zoom { position: relative; display: block; width: 100%; max-height: 1100px; overflow: hidden; background: var(--paper-2); }
.igallery .zoom::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(transparent, rgba(14,14,14,.55)); opacity: 0; pointer-events: none; }
.igallery .zoom::before { content: "View full page"; position: absolute; left: 50%; bottom: 22px; z-index: 1; transform: translateX(-50%); padding: 10px 16px; border-radius: 99px; background: #fff; color: var(--ink); font: 600 13px/1 var(--display); box-shadow: 0 8px 20px rgba(0,0,0,.25); opacity: 0; pointer-events: none; white-space: nowrap; }
.igallery .zoom.is-capped::after, .igallery .zoom.is-capped::before { opacity: 1; }
.igallery img { width: 100%; height: auto; transition: transform .8s var(--ease); }
.igallery .zoom:hover img { transform: scale(1.02); }
/* Image viewer */
.lb { position: fixed; inset: 0; z-index: 80; display: grid; grid-template-rows: 1fr auto; gap: 14px; padding: 70px var(--gutter) 24px; background: rgba(10,10,12,.92); opacity: 0; transition: opacity .3s; }
.lb.is-on { opacity: 1; }
.lb-img { min-height: 0; display: grid; place-items: center; overflow: auto; overscroll-behavior: contain; }
.lb-img img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.5); background: #fff; }
.lb-img.is-tall { place-items: start center; }
.lb-img.is-tall img { max-height: none; width: min(1280px, 100%); }
.lb-cap { margin: 0 auto; max-width: 860px; text-align: center; color: #e8e6e0; font-size: 16px; line-height: 1.5; }
.lb-cap small { display: block; margin-top: 6px; font: 500 12px/1 var(--mono); letter-spacing: .1em; color: var(--night-muted); }
.lb button { position: fixed; width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 22px; transition: background .2s; }
.lb button:hover { background: var(--red); }
.lb-close { top: 18px; right: var(--gutter); font-size: 28px !important; }
.lb-prev { left: var(--gutter); top: 50%; transform: translateY(-50%); }
.lb-next { right: var(--gutter); top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; } .lb { padding-bottom: 84px; } }
.inext { margin-bottom: clamp(50px, 9vh, 100px); }
.inext a { display: block; padding: 40px 0; border-top: 1.5px solid var(--ink); border-bottom: 1px solid var(--line); }
.inext-row { display: flex; align-items: center; gap: 24px; }
.inext-dot { width: 90px; height: 90px; border-radius: 50%; overflow: hidden; flex: none; background: var(--paper-2); box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px var(--red); transition: transform .6s var(--ease); }
.inext-dot img { width: 100%; height: 100%; object-fit: cover; }
.inext b { font: 700 clamp(34px, 5vw, 76px)/1 var(--display); letter-spacing: -0.045em; transition: color .3s; }
.inext i { margin-left: auto; font-style: normal; font-size: 40px; transition: transform .4s var(--ease); }
.inext a:hover .inext-dot { transform: scale(1.12) rotate(-6deg); }
.inext a:hover b { color: var(--red); }
.inext a:hover i { transform: translateX(8px); }
.icta { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: clamp(40px, 6vw, 80px); margin-bottom: clamp(60px, 10vh, 120px); border-radius: 36px; background: var(--ink); color: #fff; }
.icta-btn { display: grid; place-items: center; }
.pcard-solo { position: relative; top: 0; margin-bottom: clamp(50px, 9vh, 100px); }
.pcard-h1 { font: 700 clamp(36px, 4.4vw, 66px)/1 var(--display); letter-spacing: -0.045em; margin: 0 0 24px; max-width: 15ch; }
.pcard-name { font: 800 34px/1 var(--display); letter-spacing: -0.04em; margin: 0 0 26px; }
.pshot { width: 100%; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 40px 80px -40px rgba(0,0,0,.4), 0 0 0 1px rgba(0,0,0,.06); }
.pshot img { width: 100%; max-height: 560px; object-fit: cover; object-position: top; }
.nf { min-height: 80vh; display: grid; place-content: center; justify-items: center; text-align: center; padding: 140px var(--gutter) 80px; }
.nf-dot { width: 120px; height: 120px; border-radius: 50%; background: var(--red); margin-bottom: 40px; animation: breathe 3s ease-in-out infinite; }
.nf .ititle { max-width: none; }
.nf-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
@media (max-width: 640px) {
  .inner { padding-top: 100px; }
  .igallery { columns: 1; }
  .inext-dot { width: 60px; height: 60px; }
  .ishot .case-scroll { height: 60vh; }
  .icta { border-radius: 24px; }
}

/* ---------- Services menu ---------- */
.drop-wide { width: 460px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 16px; }
.drop-col { display: grid; align-content: start; gap: 2px; }
.drop-head { margin: 0 0 6px; padding: 0 10px; font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.drop-link { padding: 9px 10px; border-radius: 10px; font-weight: 500; font-size: 15px; transition: background .2s, color .2s; }
.drop-link:hover { background: var(--paper-2); color: var(--red); }

/* ---------- Homepage: service links and industries ---------- */
.service h3 a { transition: color .2s; }
.service h3 a:hover { color: var(--red); }
.service-more { display: inline-flex; gap: 8px; margin-top: 14px; font-weight: 600; font-size: 15px; }
.service-more span { transition: transform .3s var(--ease); }
.service-more:hover { color: var(--red); }
.service-more:hover span { transform: translateX(4px); }
.industries { margin-top: clamp(60px, 10vh, 110px); }
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ind { position: relative; display: grid; gap: 8px; align-content: start; min-height: 170px; padding: 24px 24px 56px; border-radius: 22px; border: 1.5px solid var(--line); transition: border-color .3s, transform .4s var(--ease), background .3s; }
.ind b { font: 700 24px/1.1 var(--display); letter-spacing: -0.03em; }
.ind span { color: var(--muted); font-size: 15px; line-height: 1.45; }
.ind i { position: absolute; left: 24px; bottom: 20px; font-style: normal; font-size: 20px; transition: transform .3s var(--ease), color .3s; }
.ind:hover { border-color: var(--ink); transform: translateY(-4px); }
.ind:hover i { transform: translateX(6px); color: var(--red); }

/* ---------- Footer link columns ---------- */
.footer-cols { display: flex; flex-wrap: wrap; gap: 30px 70px; margin-top: 44px; padding-top: 34px; border-top: 1px solid #2a2a2d; }
.footer-cols div { display: grid; gap: 8px; align-content: start; }
.footer-cols a { color: #cfcbc2; transition: color .2s; }
.footer-cols a:hover { color: var(--red); }
.footer-head { margin: 0 0 6px; font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--night-muted); }

/* ---------- Service / industry landing page ---------- */
.stitle { max-width: 18ch; font-size: clamp(42px, 6.6vw, 110px); }
.shero .hero-actions { margin-top: 6px; }
.spoints { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: clamp(30px, 6vh, 60px) auto clamp(60px, 10vh, 110px); }
.spoint { padding: 28px; border-radius: 22px; background: var(--paper-2); }
.spoint-n { font: 500 12px/1 var(--mono); color: var(--red); letter-spacing: .1em; }
.spoint h2 { font: 700 23px/1.15 var(--display); letter-spacing: -0.025em; margin: 14px 0 10px; }
.spoint p { margin: 0; color: var(--ink-2); line-height: 1.55; }
.sproof, .sfaq, .salso { margin-bottom: clamp(60px, 10vh, 110px); }
.sproof .h2, .sfaq .h2 { margin-bottom: 34px; }
.scards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.scard { display: grid; gap: 8px; align-content: start; padding: 14px 14px 22px; border-radius: 22px; border: 1.5px solid var(--line); transition: border-color .3s, transform .4s var(--ease); }
.scard:hover { border-color: var(--ink); transform: translateY(-4px); }
.scard-img { display: block; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: var(--paper-2); margin-bottom: 8px; }
.scard-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.scard:hover .scard-img img { transform: scale(1.04); }
.scard-logo { display: grid; place-items: center; background: var(--tint, var(--paper-2)); }
.scard-logo img { width: 60%; height: auto; object-fit: contain; }
.scard-meta { padding: 0 8px; font: 500 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.scard b { padding: 0 8px; font: 700 24px/1.15 var(--display); letter-spacing: -0.03em; }
.scard-sum { padding: 0 8px; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.faq { max-width: 900px; border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font: 600 clamp(18px, 1.6vw, 22px)/1.3 var(--display); letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; line-height: 1; color: var(--red); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 24px; max-width: 70ch; color: var(--ink-2); font-size: 17px; line-height: 1.65; }
.salso-links { display: flex; flex-wrap: wrap; gap: 10px; }
.salso-links a { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; transition: border-color .2s, background .2s, color .2s; }
.salso-links a span { font: 500 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.salso-links a i { font-style: normal; color: var(--red); }
.salso-links a:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Blog ---------- */
.bposts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: clamp(60px, 10vh, 110px); }
.bpost { display: grid; gap: 10px; align-content: start; }
.bpost-img { display: block; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: var(--paper-2); }
.bpost-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.bpost:hover .bpost-img img { transform: scale(1.04); }
.bpost-meta { font: 500 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.bpost b { font: 700 24px/1.2 var(--display); letter-spacing: -0.025em; transition: color .2s; }
.bpost:hover b { color: var(--red); }
.bpost-sum { color: var(--ink-2); line-height: 1.55; }
.bmore { grid-template-columns: repeat(3, 1fr); padding-top: 40px; border-top: 1.5px solid var(--ink); }
.bmore .label { grid-column: 1 / -1; }
.bpager { display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 80px; }
.ptitle { max-width: 20ch; font-size: clamp(40px, 6vw, 92px); }
.pauthor { margin: 0; color: var(--muted); }
.pcover { margin: 0 auto clamp(40px, 7vh, 80px); }
.pcover img { width: 100%; border-radius: 24px; }

@media (max-width: 1000px) {
  .ind-grid { grid-template-columns: 1fr 1fr; }
  .spoints, .scards, .bposts, .bmore { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .ind-grid, .spoints, .scards, .bposts, .bmore { grid-template-columns: 1fr; }
  .ind { min-height: 0; }
}

/* WhatsApp chat link in the contact section */
.wa-link { display: inline-flex; align-items: center; gap: 10px; }
.wa-link svg { width: 22px; height: 22px; color: #25d366; flex: none; }
