/* Averon: black, acid lime, heavy italic type. Motion is transform and opacity only. */
:root {
  --bg: #060606;
  --surface: #0d0d0d;
  --surface-2: #141414;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --ink: #f3f3ee;
  --ink-2: rgba(243, 243, 238, 0.66);
  --ink-3: rgba(243, 243, 238, 0.42);
  --lime: #9dfd00;
  --lime-ink: #0b1200;
  --lime-soft: rgba(157, 253, 0, 0.12);
  --font: 'Archivo', system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --gutter: clamp(16px, 5vw, 80px);
  --max: 1360px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.85), 0 12px 40px -20px rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
html.lenis, html.lenis body { height: auto; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 var(--font);
  font-feature-settings: 'ss01', 'tnum' 0;
  -webkit-font-smoothing: antialiased;
  user-select: none;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; -webkit-user-drag: none; user-select: none; }
a { color: inherit; }
em { font-style: italic; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: fixed; left: 16px; top: -60px; z-index: 50; padding: 10px 14px; border-radius: var(--r-sm); background: var(--lime); color: var(--lime-ink); font-weight: 700; text-decoration: none; }
.skip:focus { top: 16px; }
.wrap { width: min(var(--max), 100%); margin: 0 auto; padding: 0 var(--gutter); }

/* Line breaks: headings balanced, paragraphs without a lonely last word, labels and buttons never broken */
h1, h2, h3, .display, .case-line, .hero-sub, .section-head p, .lede { text-wrap: balance; }
p, dd, blockquote, li span, .includes span, .steps span { text-wrap: pretty; }
.button, .pill, .filters button, .case-pieces span, .got li, .nav-links a, .case-link, .label, .hero-kicker, dt, .review figcaption b, .service-list a { white-space: nowrap; }

/* Type */
.display { margin: 0; font-weight: 850; font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: 0.98; letter-spacing: -0.035em; text-wrap: balance; }
.display em { font-weight: 900; }
.section-title { margin: 0 0 24px; font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 800; letter-spacing: -0.02em; }
.lede { color: var(--ink-2); font-size: clamp(1.05rem, 1.3vw, 1.2rem); max-width: 56ch; }
.label { margin: 0 0 12px; color: var(--ink-3); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.text-link { color: var(--ink-2); font-size: 0.95rem; text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; transition: color 200ms var(--ease), border-color 200ms var(--ease); }
.text-link:hover { color: var(--lime); border-color: var(--lime); }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent; font-weight: 700; font-size: 0.98rem; letter-spacing: -0.01em; text-decoration: none; cursor: pointer; transition: transform 300ms var(--spring), background 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease); }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0) scale(0.98); }
.button--lime { background: var(--lime); color: var(--lime-ink); box-shadow: 0 0 0 0 rgba(157, 253, 0, 0); }
.button--lime:hover { box-shadow: 0 12px 40px -12px rgba(157, 253, 0, 0.55); }
.button--ghost { border-color: var(--line-2); color: var(--ink); }
.button--ghost:hover { border-color: var(--ink); }
.button--small { min-height: 40px; padding: 0 18px; font-size: 0.88rem; }
.button--big { min-height: 64px; padding: 0 34px; font-size: 1.08rem; margin-top: 12px; }

/* Nav: floating and contained */
.nav { position: fixed; z-index: 30; top: 14px; left: 50%; width: min(1120px, calc(100% - 24px)); transform: translateX(-50%); display: flex; align-items: center; gap: 20px; padding: 8px 8px 8px 22px; border: 1px solid var(--line); border-radius: 999px; background: rgba(8, 8, 8, 0.86); transition: transform 500ms var(--ease), background 300ms var(--ease); }
.nav.hide { transform: translate(-50%, -140%); }
.wordmark { font-weight: 900; font-style: italic; font-size: 1.15rem; letter-spacing: -0.02em; text-decoration: none; }
.nav nav { margin-left: auto; }
.nav-links { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav-links a { display: block; padding: 8px 14px; border-radius: 999px; color: var(--ink-2); font-size: 0.92rem; font-weight: 500; text-decoration: none; transition: color 200ms var(--ease), background 200ms var(--ease); }
.nav-links a:hover, .nav-links a.on { color: var(--ink); background: rgba(255, 255, 255, 0.06); }
.menu { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.06); cursor: pointer; position: relative; }
.menu span:not(.sr) { position: absolute; left: 14px; width: 16px; height: 1.5px; background: var(--ink); transition: transform 300ms var(--ease); }
.menu span:first-child { top: 18px; }
.menu span:nth-child(2) { top: 25px; }
.menu[aria-expanded='true'] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu[aria-expanded='true'] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
.sheet[hidden] { display: none; }
.sheet { position: fixed; z-index: 29; inset: 70px 12px auto; display: grid; gap: 4px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #0b0b0b; box-shadow: var(--shadow); }
.sheet a:not(.button) { padding: 14px 12px; border-radius: var(--r-sm); font-size: 1.1rem; font-weight: 600; text-decoration: none; }
.sheet .button { margin-top: 8px; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; overflow: hidden; isolation: isolate; }
.warp { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 50% 55%, transparent 0%, var(--bg) 92%); pointer-events: none; }
.hero-inner { align-self: center; justify-self: center; width: min(1200px, 100%); padding: 140px var(--gutter) 64px; text-align: center; }
.hero-kicker { margin: 0 0 22px; color: var(--ink-3); font-size: 0.9rem; font-weight: 500; opacity: 0; transform: translateY(12px); transition: opacity 900ms var(--ease) 700ms, transform 900ms var(--ease) 700ms; }
.hero-title { margin: 0; font-weight: 900; font-size: clamp(2.2rem, 7.8vw, 7.2rem); line-height: 0.92; letter-spacing: -0.045em; text-transform: uppercase; }
.hero-title .line { display: block; overflow: hidden; padding: 0 0.06em 0.06em; white-space: nowrap; }
.hero-title .line > span { display: inline-block; transform: translateY(110%); transition: transform 1100ms var(--ease); }
.hero-title .line:nth-child(2) > span { transition-delay: 110ms; }
.hero-title .line:nth-child(3) > span { transition-delay: 220ms; }
.hero-title em { font-style: italic; }
.line--lime { color: var(--lime); }
.hero-sub { margin: 28px auto 0; max-width: 46ch; color: var(--ink-2); font-size: clamp(1.02rem, 1.4vw, 1.2rem); opacity: 0; transform: translateY(12px); transition: opacity 900ms var(--ease) 500ms, transform 900ms var(--ease) 500ms; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; opacity: 0; transform: translateY(12px); transition: opacity 900ms var(--ease) 650ms, transform 900ms var(--ease) 650ms; }
.ready .hero-title .line > span, .ready .hero-sub, .ready .hero-actions, .ready .hero-kicker { transform: none; opacity: 1; }
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 18px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 28px; width: max-content; align-items: center; animation: marquee 60s linear infinite; color: var(--ink-3); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; }
.marquee-track i { color: var(--lime); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Reveal: one per block, never on every small thing */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 900ms var(--ease), transform 900ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* R500 special */
.special { position: relative; padding: clamp(96px, 12vw, 160px) 0 clamp(80px, 10vw, 140px); }
.special::before { content: ''; position: absolute; inset: 10% 0 auto; height: 70%; background: radial-gradient(50% 50% at 30% 40%, rgba(157, 253, 0, 0.09), transparent 70%); pointer-events: none; }
.special-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 6vw, 96px); align-items: center; position: relative; }
.pill { display: inline-block; margin: 0 0 28px; padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink-2); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.special .display { font-size: clamp(1.9rem, 3.4vw, 3.15rem); line-height: 1; text-transform: uppercase; }
.special .display span, .special .display em { display: block; }
.price { display: flex; flex-wrap: wrap; align-items: flex-end; column-gap: 14px; margin: 32px 0 12px; }
.price b { color: var(--lime); font-weight: 900; font-size: clamp(5rem, 13vw, 10.5rem); line-height: 0.8; letter-spacing: -0.06em; text-shadow: 0 0 80px rgba(157, 253, 0, 0.28); }
.price span { font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 2.2rem); line-height: 1; padding-bottom: 0.2em; }
.price small { flex-basis: 100%; margin-top: 16px; color: var(--ink-3); font-size: 0.9rem; font-weight: 500; }
.includes { display: grid; gap: 0; margin: 32px 0 36px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.includes li { display: grid; grid-template-columns: 22px 1fr; column-gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.includes li::before { content: ''; grid-row: span 2; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.2l2.6 2.6L13 6.4' fill='none' stroke='%230b1200' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.includes b { font-weight: 700; font-size: 1.06rem; }
.includes span { color: var(--ink-2); font-size: 0.96rem; }
.special-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 28px; }
.cheaper { margin: 0; color: var(--ink-3); font-size: 0.98rem; }
.swap { display: inline-grid; color: var(--ink); font-weight: 700; }
.swap span { grid-area: 1 / 1; transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
.swap span[hidden] { display: inline; opacity: 0; transform: translateY(8px); visibility: hidden; }
.bundle { position: relative; margin: 0; aspect-ratio: 1 / 1.08; }
.bundle img { pointer-events: none; }
.bundle > div { position: absolute; transition: transform 1100ms var(--ease), opacity 900ms var(--ease); }
.bundle-site { top: 0; left: 0; width: 88%; }
.bundle-ad { width: 36%; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.bundle-ad--one { left: 4%; bottom: 0; aspect-ratio: 9 / 15; transform: rotate(-5deg); }
.bundle-ad--two { right: 0; bottom: 6%; width: 40%; aspect-ratio: 4 / 5; transform: rotate(4deg); }
.bundle-ad img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.bundle-guide { left: 38%; bottom: 2%; width: 30%; padding: 16px; border: 1px solid var(--line-2); border-radius: var(--r-md); background: #101010; box-shadow: var(--shadow); display: grid; gap: 8px; }
.bundle-guide .label { margin: 0; font-size: 0.66rem; }
.bundle-swatches { display: flex; gap: 4px; }
.bundle-swatches i { flex: 1; aspect-ratio: 1; border-radius: 4px; background: var(--swatch); }
.bundle-guide b { font-size: 2rem; line-height: 1; font-weight: 600; }
.bundle-guide small { color: var(--ink-3); font-size: 0.68rem; }
.bundle-phone { top: 14%; right: 0; width: 23%; border: 5px solid #1c1c1c; border-radius: 22px; overflow: hidden; background: #000; box-shadow: var(--shadow), 0 0 0 1px var(--line); aspect-ratio: 390 / 844; }
.bundle-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.bundle:not(.in) .bundle-phone { transform: translate(30px, 20px); opacity: 0; }
.bundle.in .bundle-phone { transition-delay: 120ms; }
.bundle:not(.in) .bundle-site { transform: translateY(30px); opacity: 0; }
.bundle:not(.in) .bundle-ad--one { transform: translate(-30px, 40px) rotate(-12deg); opacity: 0; }
.bundle:not(.in) .bundle-ad--two { transform: translate(30px, 40px) rotate(10deg); opacity: 0; }
.bundle:not(.in) .bundle-guide { transform: translateY(50px); opacity: 0; }
.bundle.in .bundle-ad--one { transition-delay: 200ms; }
.bundle.in .bundle-ad--two { transition-delay: 320ms; }
.bundle.in .bundle-guide { transition-delay: 440ms; }
.bundle.reveal { opacity: 1; transform: none; }
.steps-grid { display: grid; grid-template-columns: 1fr 0.8fr; gap: clamp(32px, 6vw, 96px); align-items: center; margin-top: clamp(80px, 10vw, 140px); }
.steps ol { margin: 0 0 28px; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 14px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); transition: border-color 300ms var(--ease), transform 400ms var(--ease); }
.steps li:hover { border-color: rgba(157, 253, 0, 0.35); transform: translateX(4px); }
.steps li::before { content: counter(step); grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--lime-soft); color: var(--lime); font-weight: 800; }
.steps b { font-size: 1.12rem; font-weight: 700; }
.steps span { color: var(--ink-2); font-size: 0.96rem; }
.chat { margin: 0; justify-self: center; text-align: center; }
.chat figcaption { margin-top: 18px; color: var(--ink-3); font-size: 0.85rem; }

/* The chat phone: a real-looking handset with WhatsApp inside it */
.iphone { position: relative; width: min(340px, 84vw); aspect-ratio: 9 / 19.2; padding: 11px; border-radius: 56px; background: linear-gradient(145deg, #3b3b3e, #141416 38%, #2b2b2e 100%); box-shadow: var(--shadow), inset 0 0 0 1.5px rgba(255, 255, 255, 0.16), 0 0 0 1px #000, 0 60px 140px -60px rgba(157, 253, 0, 0.32); text-align: left; animation: float 7s ease-in-out infinite; }
.iphone::before, .iphone::after { content: ''; position: absolute; width: 3px; border-radius: 2px; background: #2c2c2e; }
.iphone::before { left: -3px; top: 118px; height: 54px; box-shadow: 0 68px 0 #2c2c2e; }
.iphone::after { right: -3px; top: 150px; height: 86px; }
.iphone svg { display: block; }
.iphone-screen { position: relative; display: flex; flex-direction: column; height: 100%; border-radius: 45px; overflow: hidden; background: #0b141a; color: #e9edef; }
.status { position: relative; display: flex; flex: none; align-items: center; justify-content: space-between; height: 48px; padding: 4px 24px 0 32px; background: #1f2c33; font-size: 0.82rem; }
.status b { font-weight: 700; letter-spacing: -0.01em; }
.island { position: absolute; left: 50%; top: 11px; width: 98px; height: 29px; margin-left: -49px; border-radius: 20px; background: #000; }
.status-icons { display: flex; align-items: center; gap: 5px; }
.status-icons svg { width: 15px; height: 15px; }
.battery { position: relative; width: 24px; height: 11.5px; padding: 1.5px; border: 1.2px solid rgba(255, 255, 255, 0.5); border-radius: 4px; }
.battery i { display: block; width: 80%; height: 100%; border-radius: 1.5px; background: #fff; }
.battery::after { content: ''; position: absolute; right: -4px; top: 3px; width: 2px; height: 4px; border-radius: 0 1px 1px 0; background: rgba(255, 255, 255, 0.5); }
.wa-head { display: flex; flex: none; align-items: center; gap: 8px; padding: 6px 16px 10px 8px; background: #1f2c33; }
.wa-head > svg { width: 24px; height: 24px; }
.chat-avatar { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--lime); color: var(--lime-ink); font-weight: 900; font-style: italic; }
.wa-who { flex: 1; min-width: 0; line-height: 1.25; }
.wa-who b { display: block; font-size: 0.92rem; }
.wa-who small { display: block; color: #8696a0; font-size: 0.72rem; }
.wa-actions { display: flex; gap: 18px; }
.wa-actions svg { width: 21px; height: 21px; }
.chat-body { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; overflow: hidden; background: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1.3px) 0 0 / 16px 16px, #0b141a; }
.day { align-self: center; margin: 2px 0 6px; padding: 4px 10px; border-radius: 8px; background: #182229; color: #8696a0; font-size: 0.7rem; font-weight: 600; }
.bubble { position: relative; margin: 0; max-width: 84%; padding: 7px 9px 6px 10px; border-radius: 10px; font-size: 0.84rem; line-height: 1.4; opacity: 0; transform: translateY(10px) scale(0.96); transform-origin: 0 100%; transition: opacity 450ms var(--ease), transform 550ms var(--spring); }
.bubble--them { align-self: flex-start; background: #202c33; border-top-left-radius: 0; }
.bubble--me { align-self: flex-end; background: #005c4b; border-top-right-radius: 0; transform-origin: 100% 100%; }
.bubble::before { content: ''; position: absolute; top: 0; width: 8px; height: 10px; background: inherit; }
.bubble--them::before { left: -7px; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.bubble--me::before { right: -7px; clip-path: polygon(0 0, 100% 0, 0 100%); }
.bubble.on { opacity: 1; transform: none; }
.meta { float: right; display: inline-flex; align-items: center; gap: 3px; margin: 7px 0 -4px 10px; color: rgba(233, 237, 239, 0.6); font-size: 0.66rem; }
.meta svg { width: 16px; height: 16px; color: #53bdeb; }
.typing { display: none; align-self: flex-start; gap: 4px; margin: 0; padding: 11px 12px; border-radius: 10px; border-top-left-radius: 0; background: #202c33; }
.typing.on { display: flex; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #8696a0; animation: dot 1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: 150ms; }
.typing i:nth-child(3) { animation-delay: 300ms; }
.wa-input { display: flex; flex: none; align-items: center; gap: 6px; padding: 6px 8px 28px; background: #0b141a; }
.wa-field { flex: 1; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 22px; background: #202c33; color: #8696a0; font-size: 0.86rem; }
.wa-field span { flex: 1; }
.wa-field svg { width: 20px; height: 20px; }
.wa-mic { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: #00a884; color: #0b141a; }
.wa-mic svg { width: 20px; height: 20px; }
.home-bar { position: absolute; left: 50%; bottom: 8px; width: 118px; height: 4.5px; margin-left: -59px; border-radius: 3px; background: rgba(255, 255, 255, 0.78); }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes dot { 0%, 60%, 100% { transform: none; opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }

/* What R500 a month looks like: two rows of real work drifting past */
.standard { display: grid; gap: 14px; margin-top: clamp(72px, 9vw, 120px); }
.standard .label { margin-bottom: 4px; }
.strip { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.strip-track { display: flex; gap: 14px; width: max-content; animation: marquee 80s linear infinite; }
.strip--back .strip-track { animation-direction: reverse; animation-duration: 90s; }
.strip:hover .strip-track { animation-play-state: paused; }
.strip-item { flex: none; height: clamp(150px, 15vw, 220px); border: 1px solid var(--line-2); border-radius: var(--r-md); overflow: hidden; background: #111; }
.strip-item img { width: auto; height: 100%; }

/* My own tools: a rail you can drag, swipe or step through */
.tools { padding: clamp(84px, 10vw, 130px) 0 clamp(56px, 7vw, 90px); border-top: 1px solid var(--line); }
.tools .section-head { margin-bottom: clamp(32px, 4vw, 48px); }
.tools .display { font-size: clamp(2.1rem, 4.2vw, 3.6rem); }
.special .display em { width: fit-content; }
.tool--lead .tool-preview img { object-position: center; }
.tool-preview--logo { background: #0b0b0b; }
.tool-preview--logo img { filter: invert(1); }
.tool-list { --edge: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); display: grid; grid-auto-flow: column; grid-auto-columns: clamp(250px, 21vw, 290px); gap: 14px; margin: 0; padding: 6px var(--edge) 22px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge); scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab; }
.tool-list::-webkit-scrollbar { display: none; }
.tool-list.dragging { cursor: grabbing; scroll-snap-type: none; }
.tool-list.dragging .tool { pointer-events: none; }
.tool { display: flex; flex-direction: column; gap: 14px; padding: 12px 12px 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: linear-gradient(180deg, color-mix(in srgb, var(--tint) 7%, var(--surface)), var(--surface) 55%); scroll-snap-align: start; transition: transform 500ms var(--ease), border-color 300ms var(--ease), box-shadow 500ms var(--ease); }
.tool:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--tint) 45%, transparent); box-shadow: 0 30px 80px -42px color-mix(in srgb, var(--tint) 70%, transparent); }
.tool--lead { grid-column: span 2; display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: auto 1fr; align-content: start; gap: 14px 18px; }
.tool--lead .tool-preview { grid-row: span 3; aspect-ratio: auto; height: 100%; min-height: 220px; }
.tool--lead .tool-meta { padding-top: 10px; }
.tool-preview { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; padding: 0; border: 1px solid var(--line); border-radius: var(--r-md); background: #0a0a0a; overflow: hidden; cursor: zoom-in; }
.tool-preview img { width: 100%; height: 100%; object-fit: cover; object-position: left top; pointer-events: none; transform: scale(1.02); transition: transform 900ms var(--ease); }
.tool:hover .tool-preview img { transform: scale(1.07); }
.tool-preview--logo img { object-fit: contain; object-position: center; padding: 12%; }
.tool-preview--art { display: grid; place-items: center; color: var(--tint); background: radial-gradient(55% 65% at 50% 45%, color-mix(in srgb, var(--tint) 24%, transparent), transparent 72%), #0b0b0b; cursor: default; }
.tool-preview--art svg { width: 30%; height: auto; filter: drop-shadow(0 0 18px color-mix(in srgb, var(--tint) 60%, transparent)); transition: transform 900ms var(--ease); }
.tool:hover .tool-preview--art svg { transform: scale(1.12) rotate(-4deg); }
.tool-meta { display: flex; align-items: center; gap: 12px; padding: 0 4px; }
.tool-icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; color: var(--tint); background: color-mix(in srgb, var(--tint) 13%, #0c0c0c); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tint) 32%, transparent); }
.tool-icon svg { width: 22px; height: 22px; }
.tool-meta b { display: block; font-size: 1.04rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; }
.tool-meta small { display: block; color: var(--ink-3); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.tool p { margin: 0; padding: 0 4px; color: var(--ink-2); font-size: 0.9rem; line-height: 1.55; }
.tool--lead p { font-size: 0.98rem; }
.tool-link { align-self: flex-start; justify-self: start; margin: auto 4px 0; padding-bottom: 2px; border-bottom: 1px solid var(--tint); color: var(--ink); font-size: 0.86rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.tool-link:hover { color: var(--lime); }
.rail-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 6px; }
.rail-foot .label { margin: 0; }
.rail-buttons { display: flex; gap: 8px; }
.rail-button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line-2); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; transition: border-color 200ms var(--ease), color 200ms var(--ease), transform 300ms var(--spring); }
.rail-button:hover { border-color: var(--lime); color: var(--lime); }
.rail-button:active { transform: scale(0.92); }
.rail-button svg { width: 18px; height: 18px; }

/* Work */
.work { padding: clamp(96px, 12vw, 160px) 0 clamp(60px, 8vw, 100px); border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head p { margin: 0; color: var(--ink-2); font-size: 1.06rem; max-width: 52ch; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.filters button { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--ink-2); font-size: 0.92rem; font-weight: 600; cursor: pointer; transition: background 250ms var(--ease), color 250ms var(--ease), border-color 250ms var(--ease); }
.filters button span { color: var(--ink-3); font-weight: 500; }
.filters button[aria-pressed='true'] { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); }
.filters button[aria-pressed='true'] span { color: rgba(11, 18, 0, 0.6); }
.index { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-bottom: clamp(48px, 7vw, 88px); padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.index a { color: var(--ink-3); font-size: 0.92rem; text-decoration: none; transition: color 200ms var(--ease); }
.index a:hover { color: var(--lime); }
.index a.out, .case.out { display: none; }
.cases { display: grid; gap: clamp(96px, 12vw, 160px); }
.case-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 6px 24px; padding-bottom: 28px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.case-pieces { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.case-pieces span { padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); font-size: 0.76rem; font-weight: 600; }
.case-head h3 { margin: 0; font-weight: 900; font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 1; letter-spacing: -0.04em; }
.case-line { grid-column: 1; margin: 6px 0 0; color: var(--ink-2); font-size: 1.08rem; font-style: italic; }
.case-link { grid-column: 2; grid-row: 2 / span 2; align-self: end; color: var(--ink); font-size: 0.95rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--lime); padding-bottom: 3px; transition: color 200ms var(--ease); }
.case-link:hover { color: var(--lime); }
.case-body { display: grid; grid-template-columns: minmax(280px, 0.42fr) 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.case-info { position: sticky; top: 96px; display: grid; gap: 28px; }
.case-info dl { display: grid; gap: 20px; margin: 0; }
.case-info dt { margin-bottom: 4px; color: var(--lime); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.case-info dd { margin: 0; color: var(--ink-2); font-size: 0.98rem; line-height: 1.6; }
.guide { padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0; padding: 0; list-style: none; }
.swatches li { display: grid; gap: 2px; min-width: 0; }
.swatch { display: block; aspect-ratio: 1 / 1.1; border-radius: var(--r-sm); background: var(--swatch); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); margin-bottom: 6px; }
.swatches b { font-size: 0.74rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.swatches code { color: var(--ink-3); font: 500 0.68rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; }
.specimen { display: flex; align-items: center; gap: 16px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.aa { font-size: 2.6rem; line-height: 1; font-weight: 600; }
.specimen p { margin: 0; color: var(--ink-2); font-size: 0.85rem; line-height: 1.45; }
.specimen b { color: var(--ink); font-weight: 600; }
.case-media { display: grid; gap: 20px; min-width: 0; }
.stage { position: relative; }
.stage--phone { padding: 0 0 clamp(40px, 6vw, 70px); }
.browser { margin: 0; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line-2); background: #111; box-shadow: var(--shadow); }
.stage--phone .browser { width: 88%; }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #161616; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2c2c2c; }
.browser-bar span { margin: 0 auto; padding: 2px 14px; border-radius: 999px; background: #0d0d0d; color: var(--ink-3); font-size: 0.72rem; }
.phone { translate: 0 var(--drift, 0px); transition: translate 120ms linear; position: absolute; right: 0; bottom: 0; width: clamp(130px, 24%, 230px); margin: 0; border-radius: 30px; border: 6px solid #1c1c1c; background: #000; overflow: hidden; box-shadow: var(--shadow), 0 0 0 1px var(--line); }
.phone-screen { aspect-ratio: 390 / 844; overflow: hidden; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; pointer-events: none; }
.gallery { columns: 2 220px; column-gap: 16px; }
.zoom { display: block; width: 100%; margin: 0 0 16px; padding: 0; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); overflow: hidden; cursor: zoom-in; break-inside: avoid; }
.zoom img { width: 100%; pointer-events: none; transform: scale(1.04); transition: transform 900ms var(--ease); }
.zoom:hover img { transform: scale(1); }
.zoom:hover { border-color: rgba(157, 253, 0, 0.3); box-shadow: 0 26px 70px -42px rgba(157, 253, 0, 0.5); }
.browser .zoom { margin: 0; border: 0; border-radius: 0; }
.browser .zoom:hover { box-shadow: none; }
.browser video { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 750; background: #000; }
.case .browser { transition: box-shadow 700ms var(--ease); }
.case:hover .browser { box-shadow: var(--shadow), 0 0 0 1px rgba(157, 253, 0, 0.16), 0 40px 120px -60px rgba(157, 253, 0, 0.4); }
.gallery--stack { display: grid; gap: 16px; columns: auto; }
.gallery--stack .zoom { margin: 0; }
/* Pictures in a gallery arrive one after another */
.rise { opacity: 0; transform: translateY(24px) scale(0.985); transition: opacity 800ms var(--ease) calc(var(--i, 0) * 90ms), transform 900ms var(--ease) calc(var(--i, 0) * 90ms), border-color 300ms var(--ease), box-shadow 500ms var(--ease); }
.rise.in { opacity: 1; transform: none; }
/* More screens of an app, each in a small phone */
.screens { display: flex; flex-wrap: wrap; gap: clamp(10px, 1.6vw, 18px); }
.mini { width: clamp(112px, 17%, 172px); padding: 0; border: 5px solid #1c1c1c; border-radius: 26px; background: #000; overflow: hidden; cursor: zoom-in; box-shadow: var(--shadow), 0 0 0 1px var(--line); }
.mini-screen { display: block; aspect-ratio: 390 / 844; overflow: hidden; }
.mini img { width: 100%; height: 100%; object-fit: cover; object-position: top; pointer-events: none; transition: transform 900ms var(--ease); }
.mini:hover img { transform: scale(1.04); }

/* Reviews */
.review { margin: 0; display: grid; gap: 18px; align-content: start; }
.review blockquote { margin: 0; font-size: 1.08rem; line-height: 1.55; color: var(--ink); }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.review figcaption b { display: block; font-size: 0.95rem; }
.review figcaption small { display: block; color: var(--ink-3); font-size: 0.82rem; }
.avatar { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: color-mix(in srgb, var(--tint) 30%, #111); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tint) 60%, transparent); color: var(--ink); font-size: 0.82rem; font-weight: 800; letter-spacing: 0.02em; }
.review--inline { padding: 20px; border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(157, 253, 0, 0.06), transparent 80%); border: 1px solid rgba(157, 253, 0, 0.16); }
.review--inline blockquote { font-size: 0.98rem; }
.reviews { padding: clamp(96px, 12vw, 160px) 0; border-top: 1px solid var(--line); }
.review-grid { columns: 3 300px; column-gap: 16px; }
.review-grid .review { break-inside: avoid; margin-bottom: 16px; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); transition: transform 500ms var(--ease), border-color 300ms var(--ease); }
.review-grid .review:hover { transform: translateY(-5px); border-color: var(--line-2); }
.review-grid .review blockquote { font-size: 1.14rem; }
.review-grid .review blockquote::first-letter { color: var(--lime); }
.got { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.got li { padding: 3px 10px; border-radius: 999px; background: var(--surface-2); color: var(--ink-3); font-size: 0.74rem; font-weight: 600; }
.review-link { color: var(--ink-2); font-size: 0.85rem; text-decoration: none; border-bottom: 1px solid var(--line-2); justify-self: start; }
.review-link:hover { color: var(--lime); border-color: var(--lime); }

/* Services */
.services { padding: clamp(96px, 12vw, 160px) 0; border-top: 1px solid var(--line); }
.service-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.service-list li { display: grid; grid-template-columns: 0.9fr 1.4fr auto; gap: 12px 32px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); transition: padding 400ms var(--ease); }
.service-list li:hover { padding-left: 12px; }
.service-list b { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 800; letter-spacing: -0.02em; }
.service-list span { color: var(--ink-2); }
.service-list a { color: var(--ink-3); font-size: 0.9rem; font-weight: 600; text-decoration: none; white-space: nowrap; transition: color 200ms var(--ease); }
.service-list li:hover a, .service-list a:hover { color: var(--lime); }

/* Contact */
.contact { padding: clamp(96px, 12vw, 160px) 0; border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact .display { text-transform: uppercase; }
.brief { display: grid; gap: 14px; padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); user-select: text; }
.brief label { display: grid; gap: 6px; }
.brief label span { color: var(--ink-2); font-size: 0.86rem; font-weight: 500; }
.brief input, .brief select, .brief textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--r-md); background: #0a0a0a; transition: border-color 200ms var(--ease); }
.brief textarea { resize: vertical; }
.brief input:focus, .brief select:focus, .brief textarea:focus { border-color: var(--lime); outline: none; }
.brief .button { margin-top: 6px; }
.brief .text-link { justify-self: center; }

/* Footer */
.footer { padding: 48px 0 calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 12px 32px; align-items: center; color: var(--ink-3); font-size: 0.9rem; }
.footer p { margin: 0; }
.footer nav { display: flex; gap: 20px; }
.footer nav a { color: var(--ink-2); text-decoration: none; }
.footer nav a:hover { color: var(--lime); }
.footer .fine { grid-column: 1 / -1; font-size: 0.8rem; }

/* Lightbox */
.lightbox { max-width: min(1200px, 94vw); max-height: 92vh; padding: 0; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: #0a0a0a; overflow: hidden; }
.lightbox::backdrop { background: rgba(0, 0, 0, 0.86); }
.lightbox img { max-height: 88vh; width: auto; margin: 0 auto; }
.lightbox-close { position: absolute; top: 10px; right: 10px; z-index: 1; min-height: 40px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(10, 10, 10, 0.9); cursor: pointer; font-size: 0.85rem; font-weight: 600; }
.lightbox[open] { animation: rise 400ms var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(12px) scale(0.98); } }

/* Glow: a slow lime aura behind the whole page that crosses every section line, a soft light that follows the
   pointer, and a thin reading line along the top */
main { position: relative; isolation: isolate; }
.aura { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aura i { position: absolute; width: min(1150px, 130vw); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(157, 253, 0, 0.085), rgba(157, 253, 0, 0.03) 50%, transparent); transform: translate(-50%, -50%); animation: drift 28s ease-in-out infinite alternate; }
.aura i:nth-child(1) { top: 7%; left: 12%; }
.aura i:nth-child(2) { top: 16%; left: 88%; animation-duration: 34s; }
.aura i:nth-child(3) { top: 31%; left: 6%; animation-duration: 30s; }
.aura i:nth-child(4) { top: 47%; left: 94%; animation-duration: 38s; }
.aura i:nth-child(5) { top: 63%; left: 10%; animation-duration: 32s; }
.aura i:nth-child(6) { top: 80%; left: 90%; animation-duration: 36s; }
.aura i:nth-child(7) { top: 97%; left: 22%; width: min(1400px, 150vw); }
@keyframes drift { to { transform: translate(-42%, -58%) scale(1.14); } }
.glow { position: fixed; left: 0; top: 0; width: 560px; height: 560px; margin: -280px 0 0 -280px; border-radius: 50%; background: radial-gradient(closest-side, rgba(157, 253, 0, 0.075), transparent); pointer-events: none; opacity: 0; transition: opacity 700ms var(--ease); }
.glow.on { opacity: 1; }
.progress { position: fixed; z-index: 40; inset: 0 0 auto; height: 2px; pointer-events: none; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, rgba(157, 253, 0, 0), var(--lime)); box-shadow: 0 0 14px rgba(157, 253, 0, 0.7); transform: scaleX(0); transform-origin: 0 50%; }
/* The italic half of each heading gets a lime line drawn under it as it arrives */
.section-head .display em, .special .display em { background: linear-gradient(var(--lime), var(--lime)) 0 96% / 0 0.065em no-repeat; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size 1400ms var(--ease) 350ms; }
.reveal.in .display em { background-size: 100% 0.065em; }
.button--big { animation: halo 3.4s ease-in-out infinite; }
@keyframes halo { 50% { box-shadow: 0 18px 70px -14px rgba(157, 253, 0, 0.6); } }
@media (min-width: 900px) {
  .hero-sub { max-width: 62ch; }
}
@media (hover: none), (pointer: coarse) {
  .glow { display: none; }
}

/* Phones and tablets */
@media (max-width: 999px) {
  .tool-list { grid-auto-columns: clamp(250px, 40vw, 300px); }
  .nav nav, .nav > .button { display: none; }
  .menu { display: block; }
  .special-grid, .steps-grid, .section-head, .contact-grid { grid-template-columns: 1fr; }
  .bundle { max-width: 560px; width: 100%; justify-self: center; }
  .case-body { grid-template-columns: 1fr; }
  .case-info { position: static; }
  .case-media { order: -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero-inner { padding-top: 120px; }
  .case-head { grid-template-columns: 1fr; }
  .case-link { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 10px; }
  .service-list li { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stage--phone .browser { width: 100%; }
  .stage--phone { padding-bottom: 0; }
  .phone { position: relative; width: 52%; margin: -60px 0 0 auto; }
  .swatch { aspect-ratio: 1; }
  .swatches b { font-size: 0.68rem; }
  .price b { font-size: clamp(4.6rem, 26vw, 7rem); }
  .pill { font-size: 0.68rem; letter-spacing: 0.04em; padding: 6px 12px; }
  .special-actions .button, .steps .button, .contact .button, .brief .button { width: 100%; }
  .special-actions { gap: 18px; }
  .cheaper { width: 100%; text-align: center; }
  .button--big { min-height: 58px; padding: 0 22px; font-size: 1rem; }
  .includes li { padding: 18px 0; }
  .steps li { padding: 20px; grid-template-columns: 44px 1fr; column-gap: 14px; }
  .steps li::before { width: 36px; height: 36px; font-size: 0.92rem; }
  .case-head h3 { font-size: clamp(2rem, 10vw, 2.8rem); }
  .case-head { margin-bottom: 28px; padding-bottom: 22px; }
  .guide { padding: 16px; }
  .review-grid .review { padding: 24px; }
  .section-head { margin-bottom: 36px; }
  .filters button { min-height: 38px; padding: 0 13px; font-size: 0.86rem; }
  .bundle-ad--two { right: 3%; }
  .tool-list { grid-auto-columns: 78vw; gap: 12px; }
  .tool--lead { grid-column: span 1; display: flex; }
  .tool--lead .tool-preview { aspect-ratio: 16 / 10; height: auto; min-height: 0; }
  .tool--lead .tool-meta { padding-top: 0; }
  .rail-foot .label { font-size: 0.7rem; }
  .mini { width: calc((100% - 20px) / 3); border-width: 4px; border-radius: 20px; }
  .strip-item { height: 132px; }
  .iphone { border-radius: 50px; padding: 10px; }
  .iphone-screen { border-radius: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .rise, .hero-title .line > span, .hero-sub, .hero-actions, .hero-kicker, .bubble { opacity: 1 !important; transform: none !important; }
  .glow, .typing { display: none !important; }
}
