:root {
  --bg: #09080e;
  --bg-2: #12101a;
  --ink: #f5f2ec;
  --muted: #9b97a8;
  --line: rgba(255, 255, 255, 0.09);
  --hot: #ff3d6e;
  --violet: #7b5cff;
  --lime: #c8ff3d;
  --amber: #ffb547;
  --grad: linear-gradient(100deg, var(--hot) 0%, #ff7a59 30%, var(--violet) 70%, #3dd6ff 100%);
  /* headline font. To go back to the original bubble font, change this line to:  --display: "Unbounded", system-ui, sans-serif; */
  --display: "Inter Tight", system-ui, sans-serif;
  --body: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --gutter: clamp(16px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin: 0; }
h2 { font-size: clamp(2.2rem, 6vw, 5rem); }
p { margin: 0; }
::selection { background: var(--hot); color: #fff; }

.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.grad { background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradShift 6s ease-in-out infinite alternate; font-style: normal; }
@keyframes gradShift { to { background-position: 100% 0; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted); font-weight: 700;
  margin-bottom: 22px;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(200,255,61,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(200,255,61,0); } 100% { box-shadow: 0 0 0 0 rgba(200,255,61,0); } }

/* ---------- grain + cursor + progress ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-4%,3%)} 40%{transform:translate(3%,-5%)} 60%{transform:translate(-6%,-2%)} 80%{transform:translate(5%,4%)} 100%{transform:translate(0,0)} }

.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); z-index: 120; }

.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 150; }
.cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; border-radius: 50%; will-change: transform; }
.cursor__dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: #fff; mix-blend-mode: difference; }
.cursor__ring { width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 1.5px solid rgba(255,255,255,.5); transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s, border-color .3s; }
.cursor.is-hover .cursor__ring { width: 80px; height: 80px; margin: -40px 0 0 -40px; background: rgba(255,61,110,.15); border-color: var(--hot); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }
@media (hover: hover) and (pointer: fine) { body, a, button { cursor: none; } }

/* ---------- loader ---------- */
.loader { position: fixed; inset: 0; z-index: 200; background: var(--bg); display: grid; place-items: center; transition: clip-path 1s var(--ease) .1s; clip-path: inset(0 0 0 0); }
.loader.done { clip-path: inset(0 0 100% 0); }
.loader__word { display: flex; font-family: var(--display); font-weight: 900; font-size: clamp(2.6rem, 10vw, 8rem); letter-spacing: -0.04em; overflow: hidden; }
.loader__word span { display: inline-block; transform: translateY(110%); animation: up .7s var(--ease) forwards; }
.loader__word span:nth-child(1){animation-delay:.05s}.loader__word span:nth-child(2){animation-delay:.1s}.loader__word span:nth-child(3){animation-delay:.15s}.loader__word span:nth-child(4){animation-delay:.2s}.loader__word span:nth-child(5){animation-delay:.25s}.loader__word span:nth-child(6){animation-delay:.3s}.loader__word span:nth-child(7){animation-delay:.35s}.loader__word span:nth-child(8){animation-delay:.4s}
.loader__word .g { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes up { to { transform: translateY(0); } }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 100;
  width: min(1320px, calc(100% - 24px));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 10px 10px 18px; border-radius: 999px;
  background: rgba(14, 12, 20, 0.55); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--line);
  transition: transform .5s var(--ease);
}
.nav.hide { transform: translate(-50%, -140%); }
.logo { display: flex; align-items: center; gap: 10px; }
.logo__word { font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -0.025em; white-space: nowrap; }
.logo__word em { font-style: normal; font-weight: 400; color: var(--muted); margin-left: 3px; }
@keyframes spin { to { transform: rotate(360deg); } }
.nav__links { display: flex; gap: 6px; }
.nav__links a { padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--muted); transition: color .2s, background .2s; }
.nav__links a:hover { color: var(--ink); background: rgba(255,255,255,.06); }

/* glitch 3 */
.glitch { position: relative; display: inline-block; color: var(--hot); }
.grad .glitch { color: inherit; }
.glitch.on { animation: glitch .45s steps(2) 1; }
.glitch.on::before, .glitch.on::after { content: attr(data-text); position: absolute; left: 0; top: 0; }
.glitch.on::before { color: #3dd6ff; transform: translate(-2px, 1px); clip-path: inset(0 0 55% 0); }
.glitch.on::after { color: var(--lime); transform: translate(2px, -1px); clip-path: inset(50% 0 0 0); }
@keyframes glitch { 0%{transform:translate(0)} 25%{transform:translate(-2px,1px) skewX(-8deg)} 50%{transform:translate(2px,-1px) skewX(8deg)} 100%{transform:translate(0)} }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px; font-weight: 700; font-size: 16px;
  background: var(--ink); color: #0b0a10; overflow: hidden; isolation: isolate;
  transition: color .35s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; background: var(--grad); transform: translateY(101%); transition: transform .45s var(--ease); z-index: -1; border-radius: inherit; }
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: #fff; }
.btn .arrow { font-style: normal; transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid rgba(255,255,255,.22); }
.btn--small { padding: 11px 20px; font-size: 14px; }
.btn--big { padding: 22px 34px; font-size: clamp(15px, 2vw, 20px); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding: 120px 0 80px; }
#flow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.blob { --c: var(--hot); position: absolute; border-radius: 50%; background: radial-gradient(closest-side, var(--c), transparent) !important; opacity: .55; z-index: 0; pointer-events: none; will-change: transform; } /* soft gradient instead of a costly 90px blur filter */
.blob--1 { --c: var(--hot); width: 60vw; height: 60vw; top: -18vw; right: -8vw; animation: drift 14s ease-in-out infinite alternate; }
.blob--2 { --c: var(--violet); width: 50vw; height: 50vw; bottom: -18vw; left: -10vw; animation: drift 18s ease-in-out infinite alternate-reverse; }
.blob--3 { --c: #3dd6ff; width: 30vw; height: 30vw; top: 40%; left: 45%; opacity: .2; animation: drift 11s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(6vw, 5vw) scale(1.15); } }

.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero__title { font-size: clamp(3rem, 7.2vw, 7.4rem); font-weight: 900; letter-spacing: -0.05em; line-height: .92; margin-bottom: 30px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; }
.hero__title em { font-style: normal; }
.hero__lede { font-size: clamp(1rem, 1.4vw, 1.2rem); color: #c9c5d4; max-width: 520px; margin-bottom: 36px; }
.hero__lede strong { color: var(--ink); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-in { opacity: 0; transform: translateY(40px); }
.hero__title .hero-in { transform: translateY(105%) rotate(4deg); opacity: 1; }
body.ready .hero-in { opacity: 1; transform: none; transition: opacity .9s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s); }

.hero__stage { position: relative; height: 640px; perspective: 1400px; }
.stage__rig { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .2s linear; }
.phone-slot { position: absolute; top: 50%; left: 50%; opacity: 0; transition: opacity 1s var(--ease), transform 1.4s var(--ease); }
.slot--center { transform: translate(-50%, -30%) translateZ(80px); z-index: 3; transition-delay: .55s; }
.slot--left { transform: translate(-50%, -50%) translateX(0) rotate(0) scale(.8); z-index: 1; transition-delay: .75s; }
.slot--right { transform: translate(-50%, -50%) translateX(0) rotate(0) scale(.8); z-index: 2; transition-delay: .85s; }
body.ready .phone-slot { opacity: 1; }
body.ready .slot--center { transform: translate(-50%, -50%) translateZ(80px); }
body.ready .slot--left { transform: translate(-50%, -50%) translate(-62%, 4%) rotate(-11deg) scale(.84); }
body.ready .slot--right { transform: translate(-50%, -50%) translate(62%, 2%) rotate(10deg) scale(.84); }
.phone-slot > .phone { animation: float 6s ease-in-out infinite; }
.slot--left > .phone { animation-delay: -2s; }
.slot--right > .phone { animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-16px); } }

.chip {
  position: absolute; z-index: 5; padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; white-space: nowrap;
  background: rgba(20, 18, 28, .88); border: 1px solid var(--line); /* no backdrop blur: the particles behind redraw every frame */
  opacity: 0; transform: scale(.6); transition: opacity .6s var(--ease), transform .8s cubic-bezier(.3,1.6,.5,1);
  animation: float 5s ease-in-out infinite;
}
body.ready .chip { opacity: 1; transform: none; }
.chip--a { top: 10%; left: 2%; transition-delay: 1.2s; color: var(--lime); }
.chip--b { bottom: 14%; right: 0; transition-delay: 1.35s; color: #ff8fab; animation-delay: -1.5s; }
.chip--c { bottom: 3%; left: 8%; transition-delay: 1.5s; animation-delay: -3s; }

.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.3); border-radius: 20px; z-index: 3; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 4px; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- phone + ads ---------- */
.phone {
  --w: 252px;
  position: relative; width: var(--w); aspect-ratio: 9 / 19;
  padding: 9px; border-radius: 40px;
  background: linear-gradient(145deg, #2b2934, #0d0c12);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 80px -20px rgba(0,0,0,.8), 0 20px 50px -30px rgba(255,61,110,.5), inset 0 0 0 1.5px rgba(255,255,255,.06);
}
.screen { --display: "Unbounded", system-ui, sans-serif; /* the ad mockups keep their bold chunky ad lettering */ position: relative; width: 100%; height: 100%; border-radius: 32px; overflow: hidden; background: #fff; color: #111; display: flex; flex-direction: column; font-family: var(--body); }
.screen::before { content: ""; position: absolute; top: 7px; left: 50%; width: 30%; height: 20px; transform: translateX(-50%); background: #000; border-radius: 20px; z-index: 10; }
.sbar { container-type: inline-size; display: flex; justify-content: space-between; align-items: center; padding: 10px 6.5% 6px 8.5%; font-size: 11px; font-weight: 700; height: 34px; }
/* right-hand icons scale with the phone (cqw = % of screen width) so they always clear the camera cut-out */
.sbar i { display: inline-flex; gap: 1.6cqw; align-items: center; font-style: normal; }
.sbar__5g { font-size: 4.2cqw; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.sbar__wifi { width: 5.6cqw; height: 4.4cqw; fill: currentColor; }
.sbar__batt { position: relative; width: 8.6cqw; height: 4.2cqw; border: 1.5px solid currentColor; border-radius: 1.2cqw; padding: 1px; opacity: .95; }
.sbar__batt::after { content: ""; position: absolute; right: -1.7cqw; top: 50%; width: 1cqw; height: 1.4cqw; transform: translateY(-50%); border-radius: 0 1px 1px 0; background: currentColor; }
.sbar__batt span { display: block; width: 82%; height: 100%; border-radius: .7cqw; background: #34c759; }
.appbar { display: flex; justify-content: space-between; align-items: center; padding: 4px 14px 8px; font-family: var(--display); font-weight: 800; font-size: 14px; letter-spacing: -0.02em; border-bottom: 1px solid #eee; }
.appbar span { display: flex; gap: 10px; }
.appbar svg { width: 18px; height: 18px; fill: none; stroke: #111; stroke-width: 2; }

.ad { display: flex; flex-direction: column; }
.ad__head { display: flex; align-items: center; gap: 8px; padding: 8px 12px; font-size: 11.5px; line-height: 1.2; }
.ad__head b { display: block; font-weight: 700; }
.ad__head small { color: #888; font-size: 10px; }
.ad__avatar { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 9px; color: #fff; padding: 2px; background: var(--grad); }
.ad__avatar span { width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; border: 2px solid #fff; }
.ad__dots { margin-left: auto; color: #555; letter-spacing: 1px; }

.ad__media { position: relative; container-type: inline-size; aspect-ratio: 1; overflow: hidden; }
.ad__media.r4x5 { aspect-ratio: 4 / 5; }
.ad__art { position: absolute; left: 0; top: 4%; width: 100%; height: auto; }
.r4x5 .ad__art { top: 10%; }
.ad__copy { position: absolute; left: 6cqw; right: 6cqw; bottom: 6cqw; z-index: 2; }
.ad__tag { display: inline-block; font-size: 4cqw; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; padding: 1.4cqw 3cqw; border-radius: 99px; margin-bottom: 2.4cqw; }
.ad__headline { font-family: var(--display); font-weight: 900; font-size: 9.6cqw; line-height: .95; letter-spacing: -0.04em; }
.ad__sticker {
  position: absolute; top: 5cqw; right: 5cqw; z-index: 3; width: 23cqw; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; text-align: center; line-height: .9;
  font-family: var(--display); font-weight: 900; font-size: 6.6cqw; letter-spacing: -0.04em;
  animation: sticker 3.2s ease-in-out infinite;
}
.ad__sticker small { display: block; font-size: 3.4cqw; letter-spacing: .05em; }
@keyframes sticker { 0%,100% { transform: rotate(12deg) scale(1); } 50% { transform: rotate(-6deg) scale(1.08); } }

.ad__burst { position: absolute; left: 50%; top: 42%; width: 26cqw; height: 26cqw; margin: -13cqw 0 0 -13cqw; z-index: 4; opacity: 0; fill: #fff; filter: drop-shadow(0 6px 18px rgba(0,0,0,.35)); animation: burst 7s ease-in-out infinite; animation-delay: var(--bd, 2s); }
@keyframes burst { 0%, 70% { opacity: 0; transform: scale(.2); } 74% { opacity: 1; transform: scale(1.2); } 78% { transform: scale(.95); } 86% { opacity: 1; transform: scale(1); } 92%, 100% { opacity: 0; transform: scale(1.1) translateY(-10%); } }

.ad__cta { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; font-size: 11.5px; font-weight: 700; border-bottom: 1px solid #eee; }
.ad__cta .mini { white-space: nowrap; flex: none; margin-left: 8px; padding: 5px 10px; border-radius: 6px; font-size: 10.5px; color: #fff; }
.ad__actions { display: flex; gap: 12px; padding: 8px 12px 4px; }
.ad__actions svg { width: 19px; height: 19px; fill: none; stroke: #111; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.ad__actions .heart { animation: heart 7s ease-in-out infinite; animation-delay: var(--bd, 2s); transform-origin: center; }
.ad__actions .save { margin-left: auto; }
@keyframes heart { 0%, 72% { fill: none; stroke: #111; transform: scale(1); } 76% { fill: #ff3040; stroke: #ff3040; transform: scale(1.35); } 80%, 100% { fill: #ff3040; stroke: #ff3040; transform: scale(1); } }
.ad__caption { padding: 2px 12px 10px; font-size: 11px; line-height: 1.4; }
.ad__caption b { margin-right: 4px; }
.ghost-post { margin: 4px 12px; display: flex; gap: 8px; align-items: center; }
.ghost-post i { width: 28px; height: 28px; border-radius: 50%; background: #eee; }
.ghost-post span { flex: 1; height: 8px; border-radius: 6px; background: #eee; }

/* themes */
.t-garage .ad__media { background: radial-gradient(120% 80% at 70% 20%, #33323f 0%, #15141b 60%); color: #fff; }
.t-garage .ad__tag { background: #ffd23f; color: #111; }
.t-garage .ad__headline em { color: #ffd23f; font-style: normal; }
.t-garage .ad__sticker { background: #ff3b30; color: #fff; }
.t-garage .mini { background: #ff3b30; }
.t-coffee .ad__media { background: radial-gradient(120% 90% at 50% 20%, #fff4e4 0%, #f0dcc2 70%); color: #3b2116; }
.t-coffee .ad__tag { background: #3b2116; color: #f6e7d2; }
.t-coffee .ad__headline em { color: #c4622d; font-style: normal; }
.t-coffee .ad__sticker { background: #c4622d; color: #fff; }
.t-coffee .mini { background: #3b2116; }
.t-hair .ad__media { background: linear-gradient(160deg, #ffd3e6 0%, #e2d2ff 60%, #c9b6ff 100%); color: #2a1838; }
.t-hair .ad__tag { background: #2a1838; color: #ffd3e6; }
.t-hair .ad__headline em { color: #d6246e; font-style: normal; }
.t-hair .ad__sticker { background: #2a1838; color: #ffd3e6; }
.t-hair .mini { background: #d6246e; }

/* garage art */
.road-dash { animation: dash .5s linear infinite; }
@keyframes dash { to { transform: translateX(-60px); } }
.car { animation: bob .35s ease-in-out infinite alternate; }
@keyframes bob { to { transform: translateY(-1.5px); } }
.wheel { transform-box: fill-box; transform-origin: center; animation: spin .45s linear infinite; }
.speed rect { animation: speed .7s linear infinite; }
.speed rect:nth-child(2) { animation-delay: -.25s; } .speed rect:nth-child(3) { animation-delay: -.5s; }
@keyframes speed { from { transform: translateX(40px); opacity: 0; } 30% { opacity: 1; } to { transform: translateX(-60px); opacity: 0; } }
.beam { animation: beam 1.6s ease-in-out infinite alternate; }
@keyframes beam { from { opacity: .35; } to { opacity: .9; } }

/* coffee art */
.steam { stroke-dasharray: 18 120; animation: steam 2.6s linear infinite; }
.steam:nth-of-type(2) { animation-delay: -.9s; } .steam:nth-of-type(3) { animation-delay: -1.7s; }
@keyframes steam { from { stroke-dashoffset: 0; opacity: 0; } 20% { opacity: 1; } to { stroke-dashoffset: -138; opacity: 0; } }
.bean { transform-box: fill-box; transform-origin: center; animation: beanFloat 4s ease-in-out infinite; }
.bean:nth-of-type(2) { animation-delay: -1.3s; } .bean:nth-of-type(3) { animation-delay: -2.6s; }
@keyframes beanFloat { 50% { transform: translateY(-8px) rotate(25deg); } }
.cup { animation: cupWobble 4s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 100%; }
@keyframes cupWobble { 50% { transform: rotate(-2deg); } }

/* hair art */
.blade-a, .blade-b { transform-box: view-box; transform-origin: 160px 100px; }
.blade-a { animation: snipA 1.2s ease-in-out infinite; }
.blade-b { animation: snipB 1.2s ease-in-out infinite; }
@keyframes snipA { 0%, 100% { transform: rotate(0); } 40%, 55% { transform: rotate(13deg); } }
@keyframes snipB { 0%, 100% { transform: rotate(0); } 40%, 55% { transform: rotate(-13deg); } }
.strand { animation: fall 2.4s ease-in infinite; transform-box: fill-box; }
.strand:nth-of-type(2) { animation-delay: -.8s; } .strand:nth-of-type(3) { animation-delay: -1.6s; } .strand:nth-of-type(4) { animation-delay: -.4s; }
@keyframes fall { 0% { transform: translate(0, -10px) rotate(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translate(12px, 90px) rotate(70deg); opacity: 0; } }
.spark { transform-box: fill-box; transform-origin: center; animation: twinkle 2s ease-in-out infinite; }
.spark:nth-of-type(2) { animation-delay: -.7s; } .spark:nth-of-type(3) { animation-delay: -1.4s; }
@keyframes twinkle { 0%, 100% { transform: scale(.3) rotate(0); opacity: .2; } 50% { transform: scale(1) rotate(90deg); opacity: 1; } }

/* story format */
.phone--story .screen { background: #000; }
.story { position: absolute; inset: 0; container-type: inline-size; display: flex; flex-direction: column; }
.story .ad__media { position: absolute; inset: 0; aspect-ratio: auto; }
.story .ad__art { top: 26%; }
.story .ad__copy { bottom: 24cqw; }
.story .ad__headline { font-size: 12cqw; }
.story .ad__tag { font-size: 4.6cqw; }
.story .ad__sticker { top: 30cqw; width: 26cqw; font-size: 7.6cqw; }
.story__bars { position: absolute; top: 16cqw; left: 4cqw; right: 4cqw; display: flex; gap: 1.5cqw; z-index: 5; }
.story__bars span { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.35); overflow: hidden; }
.story__bars span:first-child { background: rgba(255,255,255,.95); }
.story__bars span:nth-child(2)::after { content: ""; display: block; height: 100%; background: #fff; transform-origin: 0 50%; animation: storyBar 5s linear infinite; }
@keyframes storyBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.story__head { position: absolute; top: 20cqw; left: 4cqw; right: 4cqw; z-index: 5; display: flex; align-items: center; gap: 2cqw; font-size: 4cqw; font-weight: 700; }
.t-garage .story__head, .t-garage .story__bars { color: #fff; }
.t-coffee .story__head, .t-hair .story__head { color: #111; }
.story__head .ad__avatar { width: 9cqw; height: 9cqw; font-size: 2.6cqw; }
.story__head small { opacity: .7; font-weight: 500; }
.story__cta { position: absolute; left: 50%; bottom: 7cqw; transform: translateX(-50%); z-index: 5; display: flex; flex-direction: column; align-items: center; gap: 1cqw; font-weight: 800; font-size: 4.2cqw; }
.story__cta .mini { padding: 3cqw 7cqw; border-radius: 99px; color: #fff; white-space: nowrap; }
.story__cta::before { content: "︿"; font-size: 5cqw; line-height: 1; animation: nudge 1.4s ease-in-out infinite; }
.t-garage .story__cta::before { color: #fff; }
@keyframes nudge { 50% { transform: translateY(-4px); } }

/* carousel */
.car-track { position: absolute; inset: 0; display: flex; width: 200%; animation: carousel 7s var(--ease) infinite; }
.car-track > .ad__media { width: 50%; flex: none; }
@keyframes carousel { 0%, 42% { transform: translateX(0); } 50%, 92% { transform: translateX(-50%); } 100% { transform: translateX(0); } }
.ad__media.has-carousel { background: none; }
.car-dots { display: flex; justify-content: center; gap: 4px; padding-top: 6px; }
.car-dots i { width: 5px; height: 5px; border-radius: 50%; background: #ccc; }
.car-dots i:first-child { animation: dotA 7s infinite; } .car-dots i:last-child { animation: dotB 7s infinite; }
@keyframes dotA { 0%, 45% { background: #0095f6; } 50%, 95% { background: #ccc; } }
@keyframes dotB { 0%, 45% { background: #ccc; } 50%, 95% { background: #0095f6; } }

/* facebook-style */
.fbbar { display: flex; justify-content: space-between; align-items: center; padding: 6px 14px 8px; font-family: var(--body); font-weight: 800; font-size: 17px; color: #1877f2; letter-spacing: -0.03em; border-bottom: 1px solid #eee; }
.ad__text { padding: 0 12px 8px; font-size: 11px; line-height: 1.4; }
.fb .ad__cta { background: #f0f2f5; border: 0; }
.fb .ad__cta small { display: block; color: #65676b; font-weight: 500; font-size: 9.5px; text-transform: uppercase; }
.fb .ad__cta .mini { background: #e4e6eb !important; color: #050505; }
.fb .ad__actions { justify-content: space-around; border-top: 1px solid #eee; margin-top: 6px; padding: 8px 12px; font-size: 11px; font-weight: 700; color: #65676b; }

/* ---------- marquee: crossing ribbons ---------- */
.marquee { position: relative; height: clamp(220px, 26vw, 340px); overflow: hidden; background: var(--bg); }
.marquee__row { position: absolute; left: -6%; right: -6%; top: 50%; display: flex; overflow: hidden; padding: clamp(14px, 1.6vw, 22px) 0; box-shadow: 0 24px 60px -20px rgba(0,0,0,.8); }
.marquee__row--a { z-index: 2; isolation: isolate; color: #0b0a10; transform: translateY(-50%) rotate(-4deg) skewX(var(--skew, 0deg)); }
.marquee__row--b { z-index: 1; background: var(--ink); color: #0b0a10; transform: translateY(-50%) rotate(3.5deg) skewX(calc(var(--skew, 0deg) * -1)); }
.marquee__row { will-change: transform; }
/* the ribbon gradient slides on its own GPU layer instead of repainting the ribbon every frame */
.marquee__row--a::before { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 200%; z-index: -1; background: var(--grad); will-change: transform; animation: gradSlide 6s ease-in-out infinite alternate; }
@keyframes gradSlide { to { transform: translateX(-50%); } }
.marquee__track { will-change: transform; display: flex; flex: none; align-items: center; gap: clamp(20px, 2.6vw, 40px); padding-right: clamp(20px, 2.6vw, 40px); font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.03em; white-space: nowrap; line-height: 1; will-change: transform; }
.marquee__row--a .marquee__track { font-size: clamp(1.5rem, 3.8vw, 3.1rem); }
.marquee__row--b .marquee__track { font-size: clamp(1rem, 2.2vw, 1.7rem); letter-spacing: 0; }
.marquee .it { display: inline-flex; align-items: center; gap: .35em; }
.marquee .it svg { width: .95em; height: .95em; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.marquee__track b { font-size: .55em; }
.marquee__row--a .marquee__track b { color: #fff; }
.marquee__row--b .marquee__track b { color: var(--hot); font-size: .5em; }

/* ---------- intro ---------- */
.intro { padding: clamp(100px, 16vw, 200px) var(--gutter); }
.intro__text { font-family: var(--display); font-weight: 600; font-size: clamp(1.7rem, 4.2vw, 3.6rem); line-height: 1.12; letter-spacing: -0.03em; max-width: 1150px; }
.intro__text .w { opacity: .14; transition: opacity .25s linear; }
.intro__text .w.lit { opacity: 1; }
.intro__text em { font-style: normal; }
.intro__text .w.em { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- services ---------- */
.services { padding-bottom: clamp(80px, 12vw, 160px); }
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc {
  --mx: 50%; --my: 50%;
  position: relative; padding: 32px 26px 30px; border-radius: 26px; background: var(--bg-2); border: 1px solid var(--line); overflow: hidden;
  transform-style: preserve-3d; transition: transform .25s ease-out, border-color .3s;
}
.svc::before { content: ""; position: absolute; inset: 0; background: radial-gradient(360px circle at var(--mx) var(--my), rgba(255,61,110,.18), transparent 50%); opacity: 0; transition: opacity .3s; }
.svc:hover { border-color: rgba(255,255,255,.2); }
.svc:hover::before { opacity: 1; }
.svc > * { position: relative; }
.svc__icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.05); border: 1px solid var(--line); margin-bottom: 40px; }
.svc__icon svg { width: 30px; height: 30px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.svc__icon .fill { fill: var(--hot); stroke: none; }
.svc h3 { font-size: 1.25rem; margin-bottom: 12px; letter-spacing: -0.02em; }
.svc p { color: var(--muted); font-size: 15.5px; }

/* ---------- industries stack ---------- */
.section-head { margin-bottom: clamp(40px, 6vw, 80px); }
.industries { padding-bottom: 12vh; }
.stack { display: flex; flex-direction: column; gap: 6vh; }
.stack__card {
  position: sticky; top: calc(90px + var(--i, 0) * 22px);
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 30px;
  min-height: min(78vh, 680px); padding: clamp(28px, 5vw, 64px); border-radius: 36px; overflow: hidden;
  transform-origin: 50% 0; will-change: transform;
  box-shadow: 0 -20px 60px -20px rgba(0,0,0,.6);
}
.stack__card::after { content: ""; position: absolute; inset: 0; background: #000; opacity: var(--dim, 0); pointer-events: none; border-radius: inherit; }
.card--garage { background: radial-gradient(90% 120% at 100% 0%, #3a3330 0%, #17161c 55%); border: 1px solid rgba(255,210,63,.18); }
.card--coffee { background: radial-gradient(90% 120% at 100% 0%, #6b3f27 0%, #2a1a14 60%); border: 1px solid rgba(240,200,160,.2); }
.card--hair { background: radial-gradient(90% 120% at 100% 0%, #7a3a7c 0%, #2a1838 60%); border: 1px solid rgba(255,180,220,.22); }
.card--next { background: radial-gradient(90% 120% at 100% 0%, #3d2ca8 0%, #120f22 60%); border: 1px solid rgba(123,92,255,.35); }
.stack__num { display: inline-block; font-family: var(--display); font-weight: 800; font-size: 14px; padding: 6px 14px; border-radius: 99px; border: 1px solid rgba(255,255,255,.25); margin-bottom: 24px; }
.stack__text h3 { font-size: clamp(2.2rem, 5vw, 4.4rem); font-weight: 900; letter-spacing: -0.045em; margin-bottom: 18px; }
.stack__text p { color: rgba(255,255,255,.75); font-size: clamp(1rem, 1.3vw, 1.15rem); max-width: 460px; margin-bottom: 24px; }
.stack__text ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.stack__text li { padding: 8px 14px; border-radius: 99px; background: rgba(255,255,255,.08); font-size: 14px; font-weight: 600; }
.card--garage h3 { color: #ffd23f; } .card--coffee h3 { color: #ffd9b0; } .card--hair h3 { color: #ffb3d4; }
.stack__visual { display: flex; justify-content: center; }
.stack__visual .phone { --w: min(270px, 31vh); transform: rotate(4deg); animation: float 6s ease-in-out infinite; }

.orbit { position: relative; width: 300px; height: 300px; border-radius: 50%; border: 1px dashed rgba(255,255,255,.2); animation: spin 22s linear infinite; }
.orbit::before { content: ""; position: absolute; inset: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,.1); }
.orbit__core { position: absolute; inset: 50%; width: 110px; height: 110px; margin: -55px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); font-family: var(--display); font-weight: 900; font-size: 52px; box-shadow: 0 0 60px rgba(255,61,110,.5); animation: spin 22s linear infinite reverse; }
.orbit__item { position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; margin: -30px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); backdrop-filter: blur(6px);
  transform: rotate(calc(var(--a) * 60deg)) translateY(-150px) rotate(calc(var(--a) * -60deg)); }
.orbit__item::after { content: ""; }

/* ---------- horizontal ---------- */
.hscroll { position: relative; background: linear-gradient(180deg, var(--bg) 0%, #0f0c18 50%, var(--bg) 100%); }
.hscroll__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; padding-bottom: clamp(64px, 11vh, 110px); box-sizing: border-box; }
.hscroll__track { display: flex; align-items: center; gap: clamp(32px, 5vw, 72px); padding: 0 var(--gutter); will-change: transform; }
.hscroll__intro { flex: none; width: min(460px, 82vw); }
.hscroll__intro h2 { margin-bottom: 20px; }
.hscroll__intro p { color: var(--muted); font-size: 1.1rem; margin-bottom: 26px; }
.hint { font-weight: 700; color: var(--lime); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; animation: nudgeX 1.6s ease-in-out infinite; display: inline-block; }
@keyframes nudgeX { 50% { transform: translateX(8px); } }
.fmt { flex: none; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.fmt:nth-child(odd) { transform: translateY(30px); }
.fmt:nth-child(even) { transform: translateY(-30px); }
.fmt .phone { --w: min(260px, 64vw); max-height: 72vh; width: auto; height: min(72vh, calc(var(--w) * 19 / 9)); }
.fmt figcaption { font-size: 14px; color: var(--muted); letter-spacing: .04em; }
.fmt figcaption b { color: var(--ink); font-family: var(--display); margin-right: 6px; }

/* ---------- process ---------- */
.process { padding: clamp(100px, 14vw, 180px) var(--gutter) 60px; }
.steps { position: relative; display: grid; gap: 18px; max-width: 900px; padding-left: 0; }
.steps__line { position: absolute; left: 34px; top: 0; height: 100%; width: 10px; overflow: visible; }
.steps__line path { stroke: var(--hot); stroke-width: 3; fill: none; vector-effect: non-scaling-stroke; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--draw, 0) * 100); }
.steps__line::before { content: ""; }
.steps::before { content: ""; position: absolute; left: 38px; top: 0; bottom: 0; width: 1px; background: var(--line); }
.step { position: relative; display: grid; grid-template-columns: 78px 1fr; gap: 24px; align-items: start; padding: 26px 30px 26px 0; }
.step__n { position: relative; z-index: 1; width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 800; background: var(--bg-2); border: 1px solid var(--line); transition: background .5s, border-color .5s, color .5s, transform .5s var(--ease); }
.step.lit .step__n { background: var(--grad); border-color: transparent; color: #fff; transform: scale(1.06); }
.step h3 { font-size: clamp(1.4rem, 2.6vw, 2.1rem); margin: 10px 0 10px; }
.step p { color: var(--muted); max-width: 560px; }

/* ---------- numbers ---------- */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 60px; padding-bottom: clamp(100px, 14vw, 180px); }
.num { padding: 30px 26px; border-radius: 26px; border: 1px solid var(--line); background: var(--bg-2); }
.num b { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(3rem, 6vw, 5rem); letter-spacing: -0.05em; line-height: 1; margin-bottom: 10px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.num span { color: var(--muted); font-weight: 600; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; padding: clamp(120px, 18vw, 220px) 0; text-align: center; border-top: 1px solid var(--line); }
.cta__rings { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.cta__rings span { position: absolute; width: 40vmax; height: 40vmax; border-radius: 50%; border: 1px solid rgba(255,61,110,.35); animation: ring 6s linear infinite; }
.cta__rings span:nth-child(2) { animation-delay: -2s; border-color: rgba(123,92,255,.35); }
.cta__rings span:nth-child(3) { animation-delay: -4s; border-color: rgba(61,214,255,.3); }
@keyframes ring { from { transform: scale(.2); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
.cta__inner { position: relative; }
.cta__title { font-size: clamp(2.6rem, 8.5vw, 8rem); font-weight: 900; letter-spacing: -0.05em; line-height: .95; margin-bottom: 26px; }
.cta__lede { color: var(--muted); font-size: 1.15rem; margin-bottom: 40px; }
.cta__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 30px; padding-bottom: 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer .logo__word { color: var(--ink); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.svc.reveal.in { transition: opacity .9s var(--ease) var(--d, 0s), transform .25s ease-out; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .numbers { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .hero { padding-top: 110px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__stage { height: 520px; margin-top: 10px; }
  .phone-slot .phone { --w: 210px; }
  .stack__card { grid-template-columns: 1fr; min-height: 0; top: calc(80px + var(--i, 0) * 14px); }
  .stack__visual .phone { --w: 220px; }
  .orbit { width: 240px; height: 240px; }
  .orbit__item { transform: rotate(calc(var(--a) * 60deg)) translateY(-120px) rotate(calc(var(--a) * -60deg)); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .logo__word em { display: none; }
  .hero__stage { height: 440px; }
  .phone-slot .phone { --w: 180px; }
  body.ready .slot--left { transform: translate(-50%, -50%) translate(-52%, 4%) rotate(-11deg) scale(.8); }
  body.ready .slot--right { transform: translate(-50%, -50%) translate(52%, 2%) rotate(10deg) scale(.8); }
  .chip { font-size: 12px; padding: 8px 12px; }
  .services__grid, .numbers { grid-template-columns: 1fr; }
  .stack__visual { display: none; }
  .stack__card { padding: 28px 22px; }
  .step { grid-template-columns: 58px 1fr; gap: 14px; padding-right: 0; }
  .step__n { width: 54px; height: 54px; font-size: 14px; }
  .steps__line { left: 22px; }
  .btn--big span { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, .hero-in { opacity: 1 !important; transform: none !important; }
}

/* contact fixes for narrow screens */
.cta__title .grad { white-space: nowrap; }
.btn--big { max-width: 100%; }
.btn--big span { white-space: nowrap; }
@media (max-width: 560px) { .cta__title { font-size: 11.5vw; } .btn--big { padding: 18px 22px; } .btn--big span { font-size: clamp(12px, 3.9vw, 16px); } }

/* faceted diamond logo */
.gem { --s: 40px; position: relative; display: inline-block; flex: none; width: var(--s); height: var(--s); color: var(--ink); }
.gem svg { display: block; width: 100%; height: 100%; overflow: visible; }
.gem__facet { animation: gemFacet 5s ease-in-out infinite; }
.gem__glint { transform-box: fill-box; transform-origin: center; animation: gemGlint 2.6s ease-in-out infinite; }
@keyframes gemFacet { 0%, 100% { opacity: .2; } 50% { opacity: .75; } }
@keyframes gemGlint { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.45) rotate(45deg); opacity: .45; } }
.logo:hover .gem svg { animation: gemTilt .9s var(--ease); }
@keyframes gemTilt { 40% { transform: rotate(-8deg) scale(1.08); } }
/* bigger diamonds get a soft glow */
.gem--loader svg, .gem--hero svg, .gem--done svg, .gem--about svg { filter: drop-shadow(0 0 22px rgba(180, 76, 255, .35)); }
/* loader: the diamond draws itself, then the facet lights up */
.gem--loader .gem__out, .gem--loader .gem__cuts { stroke-dasharray: 1; stroke-dashoffset: 1; animation: gemDraw 1.2s var(--ease) forwards; }
.gem--loader .gem__cuts { animation-delay: .45s; }
@keyframes gemDraw { to { stroke-dashoffset: 0; } }

.gem--nav { --s: 50px; margin: -6px 0; }
.loader { align-content: center; gap: 28px; }
.gem--loader { --s: clamp(110px, 16vw, 160px); justify-self: center; animation: badgeIn 1s cubic-bezier(.3,1.5,.5,1) both; }
@keyframes badgeIn { from { transform: scale(.3); opacity: 0; } }
.footer__brand { display: inline-flex; align-items: center; gap: 12px; }
.gem--footer { --s: 40px; }

/* wordmark: Flawl3ss with a gradient 3 */
.logo__3 { background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradShift 4s ease-in-out infinite alternate; }

/* ---------- unique creatives ---------- */
.flake { animation: snow 5s linear infinite; }
@keyframes snow { from { transform: translate(0, -20px); } to { transform: translate(14px, 220px); } }
.t-choc-m { background: radial-gradient(120% 90% at 50% 10%, #8a2b36 0%, #4a1820 75%) !important; color: #fff6ea !important; }
.t-choc-m .ad__tag { background: #fff6ea !important; color: #8a2b36 !important; }
.t-choc-m .ad__headline em { color: #ffc2d6 !important; }
.t-choc-m .ad__sticker { background: #fff6ea !important; color: #8a2b36 !important; }
.mallow { transform-box: fill-box; transform-origin: center; animation: mallow 1.8s ease-in-out infinite alternate; }
.mallow.m2 { animation-delay: -.6s; } .mallow.m3 { animation-delay: -1.2s; }
@keyframes mallow { from { transform: translateY(0) rotate(-6deg); } to { transform: translateY(-5px) rotate(8deg); } }
.croissant { transform-box: fill-box; transform-origin: center; animation: croiss 3s ease-in-out infinite; }
@keyframes croiss { 50% { transform: translateY(-6px) rotate(-3deg); } }
.card-tilt { transform-box: fill-box; transform-origin: center; animation: croiss 4s ease-in-out infinite; }
.stamp { transform-box: fill-box; transform-origin: center; animation: stamp 6s cubic-bezier(.3,1.6,.5,1) infinite both; }
@keyframes stamp { 0% { transform: scale(0); opacity: 0; } 6% { transform: scale(1.25); opacity: 1; } 10%, 82% { transform: scale(1); opacity: 1; } 90%, 100% { transform: scale(0); opacity: 0; } }
.free-pulse { transform-box: fill-box; transform-origin: center; animation: freePulse 1.4s ease-in-out infinite; }
@keyframes freePulse { 50% { transform: scale(1.12); } }
.tyre { transform-box: fill-box; transform-origin: center; animation: spin 1.4s linear infinite; }
.needle { transform-box: view-box; transform-origin: 160px 150px; animation: needle 3.2s cubic-bezier(.5,0,.3,1) infinite; }
@keyframes needle { 0% { transform: rotate(-80deg); } 40% { transform: rotate(72deg); } 48% { transform: rotate(58deg); } 56% { transform: rotate(66deg); } 100% { transform: rotate(-80deg); } }
.warn { animation: warn 1s steps(1) infinite; }
@keyframes warn { 50% { opacity: .2; } }
.warn-glow { animation: beam 1s ease-in-out infinite alternate; }

/* stylish hair story */
.t-hairdark-m { background: radial-gradient(110% 70% at 60% 30%, #3d1450 0%, #170b20 70%) !important; color: #fff !important; }
.t-hairdark .story__head { color: #fff; }
.t-hairdark-m .ad__tag { background: linear-gradient(90deg, #ff3d6e, #7b5cff) !important; color: #fff !important; }
.t-hairdark-m .ad__headline em { color: transparent !important; background: linear-gradient(90deg, #ff8fc0, #ffb547, #ff8fc0); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; animation: gradShift 3s ease-in-out infinite alternate; }
.t-hairdark-m .ad__sticker { background: #fff !important; color: #2a1838 !important; }
.t-hairdark .story__cta .mini { background: linear-gradient(90deg, #ff3d6e, #7b5cff); }
.ad__headline.serif { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-weight: 900; letter-spacing: -0.02em; line-height: .95; }
.story .ad__art.art--tall { top: 13%; }
.ad__art.art--tall { top: 0; }
.sway { transform-box: view-box; transform-origin: 190px 80px; animation: sway 3.4s ease-in-out infinite alternate; }
.sway-2 { animation-duration: 2.8s; animation-delay: -1s; }
.sway-3 { animation-duration: 4s; animation-delay: -2s; }
@keyframes sway { from { transform: rotate(-3deg); } to { transform: rotate(4deg) skewY(2deg); } }
.sun { transform-box: fill-box; transform-origin: center; animation: sunPulse 4s ease-in-out infinite; }
@keyframes sunPulse { 50% { transform: scale(1.08); opacity: .8; } }
.orbit-ring { transform-box: fill-box; transform-origin: center; animation: spin 30s linear infinite; }
.bokeh { animation: float 5s ease-in-out infinite; } .bokeh.b2 { animation-delay: -2s; } .bokeh.b3 { animation-delay: -3.5s; }

/* ---------- salon ad: haircut → beard trim ---------- */
.art--salon .scn { animation: scnA 9s ease-in-out infinite; }
.art--salon .scn-b { animation-name: scnB; }
@keyframes scnA { 0%, 44% { opacity: 1; transform: none; } 50%, 94% { opacity: 0; transform: translateX(-16px); } 100% { opacity: 1; transform: none; } }
@keyframes scnB { 0%, 44% { opacity: 0; transform: translateX(16px); } 50%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateX(16px); } }
.art--salon .sc-snip .blade-a, .art--salon .sc-snip .blade-b { animation-duration: .7s; }
.art--salon .sc-move { animation: scMove 2.8s ease-in-out infinite; }
@keyframes scMove { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(10px, 8px); } }
.art--salon .trimmer { animation: trimStroke 1.6s ease-in-out infinite; }
@keyframes trimStroke { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-10px, -12px); } }
.art--salon .trimmer > g { animation: buzz .08s linear infinite; }
@keyframes buzz { 50% { translate: .6px -.4px; } }
.art--salon .trim-led { animation: twinkle 1s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.art--salon .snip-bit, .art--salon .trim-bit { transform-box: fill-box; animation: bitFall 1.8s ease-in infinite; opacity: 0; }
.art--salon .trim-bit { animation-duration: 1.2s; }
@keyframes bitFall { 0% { transform: translate(0, -4px) rotate(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translate(-6px, 40px) rotate(-80deg); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .art--salon .scn-b { opacity: 0; } .art--salon .snip-bit, .art--salon .trim-bit { opacity: 0; } }

/* ---------- colour week lady (front facing) ---------- */
.art--lady .lady-bob { transform-box: view-box; transform-origin: 180px 320px; animation: ladyBob 4s ease-in-out infinite; }
@keyframes ladyBob { 0%, 100% { transform: rotate(-1.2deg); } 50% { transform: rotate(1.2deg) translateY(-2px); } }
.art--lady .lady-curls { transform-box: fill-box; transform-origin: 50% 70%; animation: curlBounce 2s ease-in-out infinite; }
@keyframes curlBounce { 50% { transform: scale(1.025); } }
.art--lady .swirl { transform-box: fill-box; transform-origin: center; animation: swirlSpin 6s linear infinite; }
@keyframes swirlSpin { to { transform: rotate(360deg); } }
.art--lady .hoop { transform-box: fill-box; transform-origin: 50% 0; animation: hoopSwing 2s ease-in-out infinite; }
.art--lady .hoop.h2 { animation-delay: -1s; }
@keyframes hoopSwing { 0%, 100% { transform: rotate(-12deg); } 50% { transform: rotate(12deg); } }
.art--lady .lady-eyes { transform-box: fill-box; transform-origin: center; animation: blink 5s infinite; }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }

/* ---------- colour week: lady in the salon chair ---------- */
.art--chair .lady-hair { transform-box: view-box; transform-origin: 180px 60px; animation: hairBlow 1.6s ease-in-out infinite; }
.art--chair .lh2 { animation-delay: -.5s; }
@keyframes hairBlow { 0%, 100% { transform: skewX(0) translateX(0); } 50% { transform: skewX(-2.5deg) translateX(3px); } }
.art--chair .chair-lady { transform-box: view-box; transform-origin: 180px 250px; animation: chairTurn 6s ease-in-out infinite; }
@keyframes chairTurn { 0%, 100% { transform: rotate(-1deg); } 50% { transform: rotate(1deg); } }
.art--chair .lady-eyes { transform-box: fill-box; transform-origin: center; animation: blink 5s infinite; }
.art--chair .hoop { transform-box: fill-box; transform-origin: 50% 0; animation: hoopSwing 2s ease-in-out infinite; }
.art--chair .hoop.h2 { animation-delay: -1s; }
.art--chair .dryer { transform-box: view-box; transform-origin: 50px 120px; animation: dryerWave 2.4s ease-in-out infinite; }
@keyframes dryerWave { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(5deg) translateY(4px); } }
.art--chair .air { transform-box: fill-box; animation: airFlow .75s linear infinite; opacity: 0; }
@keyframes airFlow { 0% { transform: translateX(-6px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateX(16px); opacity: 0; } }

/* ---------- formats scrollbar ---------- */
.hbar { position: absolute; left: 50%; bottom: clamp(18px, 4vh, 40px); transform: translateX(-50%); width: min(560px, calc(100% - 2 * var(--gutter))); display: flex; align-items: center; gap: 14px; z-index: 5; }
.hbar__rail { position: relative; flex: 1; height: 26px; cursor: pointer; touch-action: none; outline: none; }
.hbar__rail::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 6px; margin-top: -3px; border-radius: 6px; background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.hbar__thumb { position: absolute; left: 0; top: 50%; height: 10px; margin-top: -5px; border-radius: 10px; background: var(--grad); box-shadow: 0 0 18px rgba(255,61,110,.45); cursor: grab; transition: height .2s, margin .2s; }
.hbar__rail:hover .hbar__thumb, .hbar__rail.drag .hbar__thumb, .hbar__rail:focus-visible .hbar__thumb { height: 14px; margin-top: -7px; }
.hbar__rail.drag .hbar__thumb { cursor: grabbing; }
.hbar__rail:focus-visible::before { box-shadow: 0 0 0 2px var(--lime); }
.hbar__btn { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: rgba(20,18,28,.85); color: var(--ink); cursor: pointer; transition: background .25s, transform .25s; }
.hbar__btn:hover { background: var(--hot); transform: scale(1.08); }
.hbar__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- site menu (menu.js) ---------- */
.menu-btn { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); background: transparent; color: var(--ink); font: 600 15px var(--body); cursor: pointer; transition: background .25s, border-color .25s; }
.menu-btn:hover { background: rgba(255,255,255,.08); }
.menu-btn__icon { position: relative; width: 18px; height: 12px; }
.menu-btn__icon i { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease), width .3s; }
.menu-btn__icon i:first-child { top: 1px; }
.menu-btn__icon i:last-child { top: 9px; width: 70%; left: auto; }
.menu-btn:hover .menu-btn__icon i:last-child { width: 100%; }
.menu-btn[aria-expanded="true"] { background: var(--ink); color: #0b0a10; border-color: var(--ink); }
.menu-btn[aria-expanded="true"] .menu-btn__icon i:first-child { top: 5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__icon i:last-child { top: 5px; width: 100%; transform: rotate(-45deg); }
.nav.has-menu { gap: 10px; justify-content: flex-start; }
.nav.has-menu > .logo { margin-right: auto; }
/* dropdown list under the nav */
.menu-drop { position: fixed; z-index: 99; width: 270px; max-width: calc(100vw - 24px); padding: 8px; border-radius: 22px;
  background: rgba(14, 12, 20, .96); border: 1px solid var(--line); box-shadow: 0 30px 70px -20px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.03);
  transform-origin: top right; transform: translateY(-8px) scale(.96); opacity: 0; visibility: hidden; clip-path: inset(0 0 100% 0 round 22px);
  transition: clip-path .45s var(--ease), transform .45s var(--ease), opacity .25s, visibility 0s linear .45s; }
.menu-drop.open { transform: none; opacity: 1; visibility: visible; clip-path: inset(0 0 0 0 round 22px); transition: clip-path .5s var(--ease), transform .5s var(--ease), opacity .2s, visibility 0s; }
.menu-drop ul { list-style: none; margin: 0; padding: 0; }
.menu-drop li, .menu-drop__foot { opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .4s var(--ease); }
.menu-drop.open li, .menu-drop.open .menu-drop__foot { opacity: 1; transform: none; transition-delay: calc(.08s + var(--i) * .04s); }
.menu-drop a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; border-radius: 14px; font: 600 15px var(--body); color: var(--muted); transition: color .2s, background .2s; }
.menu-drop a i { font-style: normal; color: var(--hot); opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .25s var(--ease); }
.menu-drop a:hover, .menu-drop a:focus-visible { color: var(--ink); background: rgba(255,255,255,.06); outline: none; }
.menu-drop a:hover i, .menu-drop a:focus-visible i { opacity: 1; transform: none; }
.menu-drop a.current { color: var(--ink); }
.menu-drop a.current::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--hot); margin-right: -4px; order: -1; }
.menu-drop a.current { justify-content: flex-start; }
.menu-drop a.current i { margin-left: auto; }
.menu-drop__foot { margin-top: 6px; padding: 10px 14px 6px; border-top: 1px solid var(--line); }
.menu-drop__foot a { padding: 0; font-size: 13px; font-weight: 500; color: var(--muted); }
.menu-drop__foot a:hover { background: none; color: var(--hot); }
@media (max-width: 560px) {
  .nav.has-menu > .btn { display: none; }
  .menu-btn { padding: 10px 14px; }
}
@media (max-width: 380px) { .menu-btn__label { display: none; } .menu-btn { padding: 12px; } }

/* ---------- Inter Tight headline font: gentler letter spacing than the wide original needed ----------
   (to revert to the original bubble font, change --display at the top of this file and delete this block) */
:is(h1, h2, h3, .hero__title, .c-title, .a-title, .cta__title, .intro__text, .loader__word, .marquee__track, .stack__num, .num b, .step__n, .a-card__n):not(.screen *) { letter-spacing: -0.03em; }
.hero__title:not(.screen *), .c-title, .a-title, .cta__title { letter-spacing: -0.035em; font-weight: 800; }

/* logo a touch smaller on phones so the bar still fits */
@media (max-width: 560px) { .gem--nav { --s: 42px; } .logo__word { font-size: 18px; } }

/* crossing banners: Bebas Neue, a clean condensed font (option E on banner-options.html) */
.marquee .marquee__track { font-family: "Bebas Neue", "Inter Tight", sans-serif; font-weight: 400; letter-spacing: .06em; }
.marquee .marquee__row--a .marquee__track { font-size: clamp(2rem, 4.8vw, 3.9rem); }
.marquee .marquee__row--b .marquee__track { font-size: clamp(1.25rem, 2.7vw, 2.1rem); letter-spacing: .1em; }
.marquee .marquee__track b { font-family: var(--body); font-weight: 800; }

/* ---------- business icon cards (replaced the crossing ribbons) ---------- */
.biz { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 70px) 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.biz__track { display: flex; width: max-content; will-change: transform; animation: bizSlide 55s linear infinite; }
.biz:hover .biz__track { animation-play-state: paused; }
.biz__copy { display: contents; }
@keyframes bizSlide { to { transform: translateX(-50%); } }
.biz__card { flex: none; width: clamp(140px, 13vw, 170px); aspect-ratio: 1; margin-right: 16px; border-radius: 24px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 16px 12px;
  border: 1px solid var(--line); background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.015));
  box-shadow: 0 24px 50px -28px rgba(0,0,0,.9);
  transition: border-color .3s, background .3s; }
.biz__card:hover { border-color: rgba(255,61,110,.6); background: linear-gradient(160deg, rgba(255,61,110,.16), rgba(123,92,255,.08)); }
@keyframes bizFloat { 0%, 100% { transform: translateY(-7px); } 50% { transform: translateY(7px); } }
.biz__card svg { width: clamp(40px, 3.6vw, 50px); height: clamp(40px, 3.6vw, 50px); fill: none; stroke: url(#biz-grad); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.biz__card span { font: 700 clamp(.9rem, 1.1vw, 1.02rem)/1.2 var(--display); letter-spacing: -.015em; color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .biz { overflow-x: auto; } }

/* formats: a normal sideways carousel (no longer pinned), so page scrolling is never held up */
.hscroll { padding: clamp(70px, 9vw, 120px) 0 clamp(80px, 9vw, 110px); }
.hscroll__pin { position: relative; height: auto; padding: 20px 0 30px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
  scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.hscroll__pin::-webkit-scrollbar { display: none; }
.hscroll__track { width: max-content; transform: none !important; will-change: auto; }
.hscroll__intro, .fmt { scroll-snap-align: center; }
.hscroll__intro { scroll-snap-align: start; }
.hscroll .hbar { position: relative; left: auto; bottom: auto; transform: none; margin: 18px auto 0; }

/* ---------- "who we design for": auto-flipping deck (no scroll needed) ---------- */
.stack.deck { display: grid; gap: 0; padding-top: 40px; perspective: 1600px; }
.deck .stack__card { grid-area: 1 / 1; position: relative; top: auto; transform-origin: 50% 0;
  transition: transform .9s cubic-bezier(.7, 0, .2, 1), opacity .7s ease, filter .7s ease; }
.deck .stack__card[data-pos="0"] { z-index: 4; transform: none; opacity: 1; }
.deck .stack__card[data-pos="1"] { z-index: 3; transform: translateY(-22px) scale(.96); opacity: .85; filter: brightness(.6); }
.deck .stack__card[data-pos="2"] { z-index: 2; transform: translateY(-42px) scale(.92); opacity: .6; filter: brightness(.45); }
.deck .stack__card[data-pos="gone"] { z-index: 5; transform: translateY(70px) rotateX(-14deg) scale(1.02); opacity: 0; pointer-events: none; transition-duration: .75s, .5s, .5s; }
.deck .stack__card::after { opacity: 0; }
.deck__nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 22px; }
.deck__dot { position: relative; display: block; padding: 0 0 12px; border: 0; background: none; color: var(--muted); font: 600 14px var(--body); text-align: left; cursor: pointer; transition: color .3s; }
.deck__dot:hover, .deck__dot.on { color: var(--ink); }
.deck__dot i { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px; background: rgba(255,255,255,.12); overflow: hidden; }
.deck__dot i::after { content: ""; position: absolute; inset: 0; background: var(--grad); transform: scaleX(0); transform-origin: left; }
.deck__dot.on i::after { transform: scaleX(1); }
.deck.run ~ .deck__nav .deck__dot.on i::after { transform: scaleX(0); animation: deckFill var(--deck-ms, 5500ms) linear forwards; }
.industries:has(.deck.run) .deck__dot.on i::after { transform: scaleX(0); animation: deckFill var(--deck-ms, 4000ms) linear forwards; }
@keyframes deckFill { to { transform: scaleX(1); } }
@media (max-width: 560px) { .deck__dot { font-size: 12px; } }
