@import url("fonts/fonts.css");

:root {
  --bg: #0e0e11;
  --surface: #17171c;
  --surface-2: #1f1f26;
  --ink: #f3f3f5;
  --muted: #a8a8b3;
  --accent: #a2a5ed;
  --accent-ink: #14142b;
  --hairline: rgb(255 255 255 / .1);
  --r-card: 20px;
  --r-phone: 26px;
  --page: min(1320px, calc(100vw - 48px));
  --display: "Unbounded", system-ui, sans-serif;
  --body: "Manrope", system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
/* Nothing may widen the page: on a phone a sideways swipe must not drag the whole site left and right. */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; overscroll-behavior-x: none; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

h1, h2 { font-family: var(--display); font-weight: 600; letter-spacing: -.02em; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(30px, 3.2vw, 46px); }
h2 { font-size: clamp(27px, 3.1vw, 44px); }
h3 { font-family: var(--display); font-weight: 500; font-size: 19px; line-height: 1.3; letter-spacing: -.01em; }
.lead { color: var(--muted); font-size: clamp(17px, 1.35vw, 19px); max-width: 56ch; }

/* The drawn line sits behind every module. */
.page { position: relative; }
.page > section, .page > footer { position: relative; z-index: 1; }
/* The line layer stands still together with the pinned hero, with no script in between:
   sticky holds it for the first --pin pixels of scroll, then it leaves with the page. */
#line-pin, #line-front-pin {
  position: absolute; left: 0; top: calc(var(--off, 0px) - var(--pin, 0px)); z-index: 0;
  width: 100%; height: calc(100% - var(--off, 0px) + var(--pin, 0px)); pointer-events: none;
}
#line-front-pin { z-index: 2; } /* the copy of the line that runs over the cards it wraps */
#line, #line-front {
  position: sticky; top: calc(-1 * var(--pin, 0px)); display: block;
  width: 100%; height: calc(100% - var(--pin, 0px)); overflow: visible;
}
#line path, #line-front path { fill: none; stroke: var(--ink); stroke-linecap: round; stroke-linejoin: round; }
#line-front .line-shade { stroke: rgb(0 0 0 / .38); }

/* Spectral strands run over the icon and pulse, so the icon shows through them. */
#prisms { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.prism { position: absolute; overflow: visible; }
@keyframes strand-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .08; } }
@media (prefers-reduced-motion: no-preference) {
  .prism.pulse.visible .strand { animation: strand-pulse 2.6s ease-in-out infinite; }
}

/* Logo: letters and ring are static, the slash belongs to the page line. */
.logo { display: block; width: 100%; height: auto; overflow: visible; }
.logo * { fill: none; stroke: var(--ink); stroke-width: 10.5; stroke-linecap: round; stroke-linejoin: round; }
.js .logo .slash { visibility: hidden; }

/* Buttons: the same spectrum as the line runs around their edge. */
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --a: 360deg; } }
.btn, .round {
  --spectrum: conic-gradient(from var(--a), #ff4d4d, #ff9a3d, #ffd93d, #4fd964, #3db8ff, #5a6bff, #b05cff, #ff4d4d);
  position: relative; isolation: isolate; cursor: pointer;
  color: var(--ink); text-decoration: none;
  transition: transform .3s cubic-bezier(.16, 1, .3, 1), background .25s, color .25s, box-shadow .25s;
}
.btn::before, .round::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1.5px;
  background: var(--spectrum);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity .25s;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 8px 24px; border-radius: 999px;
  background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px var(--hairline);
  font: 600 15px/1 var(--body); white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; flex: none; fill: currentColor; transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.btn:active, .round:active { transform: scale(.97); }

.btn-primary {
  padding: 6px 6px 6px 26px; background: var(--ink); color: #15151b; box-shadow: none; font-weight: 700;
}
.btn-primary::before { inset: -3px; padding: 2px; opacity: .95; }
.btn-primary::after {
  content: ""; position: absolute; inset: 4px; z-index: -2; border-radius: inherit;
  background: var(--spectrum); filter: blur(16px); opacity: .28; transition: opacity .3s;
}
.btn-primary .go {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; flex: none;
  background: #15151b; color: var(--ink); transition: transform .35s cubic-bezier(.16, 1, .3, 1);
}
.btn-primary .go svg { width: 18px; height: 18px; }

.btn[aria-disabled="true"] { color: var(--muted); cursor: default; background: transparent; box-shadow: none; outline: 1px dashed rgb(255 255 255 / .22); outline-offset: -1px; }
.btn[aria-disabled="true"]::before { display: none; }

.round {
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%;
  background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px var(--hairline);
}
.round svg { width: 20px; height: 20px; fill: currentColor; transition: transform .3s cubic-bezier(.16, 1, .3, 1); }

@media (hover: hover) {
  .btn:not([aria-disabled="true"]):hover { background: rgb(255 255 255 / .09); transform: translateY(-2px); }
  .btn:not([aria-disabled="true"]):hover::before, .round:hover::before { opacity: 1; animation: spin 2.6s linear infinite; }
  .btn:not(.btn-primary):not([aria-disabled="true"]):hover svg { transform: scale(1.12); }
  .btn-primary:hover { background: #fff; }
  .btn-primary:hover::after { opacity: .75; animation: spin 2.6s linear infinite; }
  .btn-primary:hover .go { transform: translateX(2px) rotate(-45deg); }
  .round:hover { background: rgb(255 255 255 / .09); }
  .round[data-dir="1"]:hover svg { transform: translateX(3px); }
  .round[data-dir="-1"]:hover svg { transform: translateX(-3px); }
}

/* Sticky bar appears after the hero logo has scrolled away. */
.bar {
  position: fixed; inset: 0 0 auto; z-index: 20; height: 64px;
  display: flex; align-items: center;
  background: rgb(14 14 17 / .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
  transform: translateY(-100%); transition: transform .35s cubic-bezier(.16, 1, .3, 1);
}
.bar.on { transform: none; }
.bar-in { width: var(--page); margin: auto; display: flex; align-items: center; gap: 32px; }
.bar-logo { width: 78px; flex: none; }
.bar-logo .logo * { stroke-width: 13; }
.js .bar-logo .logo .slash { visibility: visible; }
.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--ink); }
.nav .btn { min-height: 44px; padding: 4px 4px 4px 18px; font-size: 14px; color: #15151b; gap: 10px; }
.nav .btn:hover { color: #15151b; }
.nav .btn .go { width: 34px; height: 34px; }
.nav .btn .go svg { width: 15px; height: 15px; }
.hero > div.top-nav { position: absolute; inset: 0 0 auto; z-index: 5; }
.top-nav .nav { width: var(--page); margin: auto; height: 80px; justify-content: flex-end; }

/* Hero */
.hero {
  width: var(--page); margin: auto; min-height: 100dvh;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px;
  align-items: center; padding: 96px 0 72px;
}
.hero-logo { width: min(420px, 74vw); margin-bottom: 16px; }
.slogan { font: 500 clamp(15px, 1.25vw, 18px)/1.3 var(--display); letter-spacing: -.005em; color: var(--accent); }
.hero .slogan { margin-bottom: 40px; }
.foot-brand { display: grid; justify-items: center; gap: 18px; text-align: center; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { margin-bottom: 32px; max-width: 46ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.fan { position: relative; height: min(640px, 76dvh); margin-right: 84px; }
.fan .phone { position: absolute; top: 50%; left: 50%; width: min(250px, 19vw); margin: 0; }
.fan .phone:nth-child(1) { transform: translate(-112%, -50%) rotate(-7deg); }
.fan .phone:nth-child(2) { transform: translate(-50%, -54%); z-index: 2; width: min(278px, 21vw); }
.fan .phone:nth-child(3) { transform: translate(12%, -50%) rotate(7deg); }

/* Screens */
.phone {
  flex: none; aspect-ratio: 9 / 19.5; margin: 0;
  border-radius: var(--r-phone); overflow: hidden; background: #000;
  border: 5px solid #26262d; box-shadow: 0 24px 50px rgb(0 0 0 / .4);
}
.phone img, .phone video { width: 100%; height: 100%; object-fit: cover; }
.poster { flex: none; margin: 0; border-radius: var(--r-card); overflow: hidden; background: #000; }
.poster img { width: 100%; height: 100%; object-fit: cover; }

/* Showreel head: its own full-width screen above the hero, muted loop. Fades under the menu and into the page below. */
.reel-head {
  position: relative; width: 100vw; margin-left: calc(50% - 50vw);
  height: 100vh; height: 100svh; overflow: hidden; background: #0e0e11;
}
.reel-head > .top-nav { position: absolute; inset: 0 0 auto; z-index: 5; }
.reel-video, .reel-video video { position: absolute; inset: 0; width: 100%; height: 100%; }
.reel-video video { object-fit: cover; }
.reel-video::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(rgb(14 14 17 / 0.850) 0.0%, rgb(14 14 17 / 0.833) 2.0%, rgb(14 14 17 / 0.787) 4.0%, rgb(14 14 17 / 0.717) 6.0%, rgb(14 14 17 / 0.630) 8.0%, rgb(14 14 17 / 0.530) 10.0%, rgb(14 14 17 / 0.425) 12.0%, rgb(14 14 17 / 0.320) 14.0%, rgb(14 14 17 / 0.220) 16.0%, rgb(14 14 17 / 0.133) 18.0%, rgb(14 14 17 / 0.063) 20.0%, rgb(14 14 17 / 0.017) 22.0%, rgb(14 14 17 / 0.000) 24.0%),
    linear-gradient(rgb(14 14 17 / 0.000) 40.0%, rgb(14 14 17 / 0.020) 45.0%, rgb(14 14 17 / 0.074) 50.0%, rgb(14 14 17 / 0.156) 55.0%, rgb(14 14 17 / 0.259) 60.0%, rgb(14 14 17 / 0.376) 65.0%, rgb(14 14 17 / 0.500) 70.0%, rgb(14 14 17 / 0.624) 75.0%, rgb(14 14 17 / 0.741) 80.0%, rgb(14 14 17 / 0.844) 85.0%, rgb(14 14 17 / 0.926) 90.0%, rgb(14 14 17 / 0.980) 95.0%, rgb(14 14 17 / 1.000) 100.0%);
}
/* fine grain over the fades: breaks up 8-bit banding on light frames */
.reel-video::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: 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='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E"); opacity: .07; mix-blend-mode: overlay;
}
.reel-video::after { z-index: 2; }
/* the reel fills the whole first screen on every device (vertical cut on phones) */

/* Intro statement */
.intro { width: var(--page); margin: auto; padding: 96px 0 72px; }
.intro h2 { max-width: 860px; }
.intro p { margin-top: 20px; }
.apps-row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); margin-top: 44px; }
.apps-row a { min-width: 0; display: grid; justify-items: center; gap: 10px; text-align: center; text-decoration: none; transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.apps-row a:hover { transform: translateY(-4px); }
.apps-row img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 22%; }
.apps-row span { font-size: clamp(13px, 1.2vw, 17px); font-weight: 600; line-height: 1.2; color: var(--ink); white-space: nowrap; }

/* App chapters: the line runs down the rail and passes through each icon. */
/* Each chapter sits on its own icon, cropped to fill the screen. The layer stays under the drawn line. */
.page { isolation: isolate; }
.page > .app { z-index: auto; }
.hero-pin { position: relative; }
/* Pinned hero: the page stands still until the logo has fully unravelled. */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-pin::after { content: ""; display: block; height: var(--hero-pin, 40vh); }
  .js .hero { position: sticky; top: 0; }
}
.hero { position: relative; }
.hero > div:not(.app-bg):not(.top-nav) { position: relative; z-index: 1; }
.app-bg.hero-bg {
  -webkit-mask-image: linear-gradient(#000 78%, transparent);
  mask-image: linear-gradient(#000 78%, transparent);
}
.app-bg.hero-bg img { opacity: .95; }
/* Desktop: the prism point sits in the gap between the text and the phones, the ribbons come out behind them. */
@media (min-width: 1101px) {
  .app-bg.hero-bg img { left: -15vw; width: 125vw; }
}
.app-bg.hero-bg::after { background: linear-gradient(90deg, rgb(14 14 17 / .5), transparent 46%); }
.app > .rail, .app > .app-text, .app > .gallery-wrap { position: relative; z-index: 1; }
.app-bg {
  position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; margin-left: -50vw;
  overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(transparent, #000 16%, #000 84%, transparent);
  mask-image: linear-gradient(transparent, #000 16%, #000 84%, transparent);
}
.app-bg img {
  position: absolute; top: -16%; left: 0; width: 100%; height: 132%; max-width: none;
  object-fit: cover; opacity: .4; will-change: transform;
}
.app-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgb(14 14 17 / .6), rgb(14 14 17 / .3) 50%, rgb(14 14 17 / .6));
}
.app { width: var(--page); margin: auto; padding: 172px 0 56px; display: grid; gap: 28px 44px; grid-template-columns: 84px minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
.app.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr) 84px; }
.app.flip .rail { order: 3; }
.app.flip .app-text { order: 2; }
.app.flip .gallery { order: 1; }
.rail { display: flex; justify-content: center; }
.rail img { width: 84px; height: 84px; border-radius: 22%; box-shadow: 0 10px 30px rgb(0 0 0 / .45); transition: transform .6s cubic-bezier(.34, 1.56, .64, 1), filter .6s, border-radius .7s cubic-bezier(.16, 1, .3, 1); }
.rail img.lit { transform: scale(1.08); filter: saturate(1.15); border-radius: 50%; }
.app-text h2 { font-size: clamp(25px, 2.5vw, 36px); margin-bottom: 8px; }
.kicker { color: var(--accent); font-weight: 600; font-size: 16px; margin-bottom: 18px; }
.app-text > p:not(.kicker) { color: rgb(236 236 240 / .86); }
.app-text h2, .app-text p, .app-text li { text-shadow: 0 1px 14px rgb(14 14 17 / .7); }
.app .kicker { color: #c3c5f7; }
.points { margin: 20px 0 26px; display: grid; gap: 10px; }
.points li { padding-left: 18px; position: relative; font-size: 16px; }
.points li::before { content: ""; position: absolute; left: 0; top: .78em; width: 9px; height: 2px; border-radius: 2px; background: var(--accent); }
.links { display: flex; flex-wrap: wrap; gap: 10px; }
.links .btn { min-height: 46px; padding: 8px 20px 8px 16px; font-size: 14px; }

.gallery-wrap { position: relative; min-width: 0; }
.gallery {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity;
  scrollbar-width: none; padding: 32px 8px 44px; margin: -32px -8px -44px;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery > * { scroll-snap-align: start; width: 232px; }
.card { flex: none; perspective: 1100px; }
.card-in { position: relative; }
.card .front { width: 100%; }
.card .back { display: none; }
.flip-cards .card-in {
  transform-style: preserve-3d; transform: rotateY(-180deg);
  transition: transform .95s cubic-bezier(.3, 1.25, .45, 1) var(--d, 0s);
}
.flip-cards .card .front { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flip-cards .card .back {
  display: grid; place-items: center; position: absolute; inset: 0;
  transform: rotateY(180deg); backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border-radius: var(--r-phone); border: 1px solid var(--hairline);
  background: linear-gradient(160deg, #24242c, #15151a);
  box-shadow: 0 24px 50px rgb(0 0 0 / .4);
}
.card .back .logo { width: 62%; }
.card .back .logo * { stroke-width: 13; }
.js .card .back .logo .slash { visibility: visible; }
.flip-cards .card.flipped .card-in { transform: rotateY(0deg); }
.flip-cards .card.settled .card-in { transform: none; transform-style: flat; transition: none; }
.flip-cards .card.settled .back { display: none; }
.flip-cards .card.scrub .card-in { transition: none; }
/* Every card in a gallery shares one corner radius, front and back alike. */
.gallery .poster { aspect-ratio: 1242 / 2688; border-radius: var(--r-phone); }
.gallery-nav { position: relative; z-index: 2; display: flex; gap: 8px; margin-top: 22px; }
.flip .gallery-nav { justify-content: flex-end; }

/* Services */
.services { width: var(--page); margin: auto; padding: 96px 0 72px; }
.services h2 { max-width: 20ch; margin-bottom: 40px; }
.bento { display: grid; gap: 16px; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.cell {
  --spectrum: conic-gradient(from var(--a), #ff4d4d, #ff9a3d, #ffd93d, #4fd964, #3db8ff, #5a6bff, #b05cff, #ff4d4d);
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column;
  min-height: 280px; padding: 28px; border-radius: var(--r-card);
  background: linear-gradient(160deg, #1d1d24, #141419);
  box-shadow: inset 0 0 0 1px var(--hairline);
  transition: transform .4s cubic-bezier(.16, 1, .3, 1), box-shadow .4s;
}
.cell::after {
  content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: var(--spectrum);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity .3s;
}
.tile {
  display: grid; place-items: center; flex: none; width: 52px; height: 52px; margin-bottom: auto;
  border-radius: 15px; background: rgb(255 255 255 / .07); box-shadow: inset 0 0 0 1px var(--hairline);
}
.tile svg { width: 26px; height: 26px; fill: var(--ink); }
.cell h3 { position: relative; margin: 28px 0 8px; font-size: 20px; }
.cell p { position: relative; color: var(--muted); font-size: 16px; max-width: 46ch; }
.chips { position: relative; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.chips li {
  padding: 6px 11px; border-radius: 999px; font-size: 13px; font-weight: 600; line-height: 1.2; white-space: nowrap;
  color: var(--ink); background: rgb(255 255 255 / .07); box-shadow: inset 0 0 0 1px var(--hairline);
}
.c-a { grid-column: span 4; min-height: 420px; }
.c-b { grid-column: span 2; min-height: 420px; }
.c-c, .c-d, .c-e { grid-column: span 2; }
.c-a img { position: absolute; z-index: -1; right: 28px; top: 28px; width: 216px; border-radius: 20px; transform: rotate(5deg); box-shadow: 0 20px 40px rgb(0 0 0 / .45); }
.c-a img + img { right: 212px; top: 62px; transform: rotate(-5deg); }
.c-a > h3, .c-a > p, .c-a > .chips { max-width: 40%; }
.c-b .peek { position: absolute; z-index: -1; top: -118px; right: 22px; width: 148px; border-radius: 20px; transform: rotate(7deg); box-shadow: 0 20px 40px rgb(0 0 0 / .45); transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
.c-c { background: linear-gradient(160deg, #142127, #121419); }
.c-c .tile svg { fill: #6fd2ff; }
.c-d { background: radial-gradient(120% 120% at 100% 0%, #3a2f7a, #1a1830 55%, #141419); }
.c-d::after { opacity: .9; }
.c-d .tile svg { fill: #c3c5f7; }
.c-e { background: linear-gradient(160deg, #2a1c17, #151316); }
.c-e .tile svg { fill: #ffb27a; }
.aside {
  display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 18px 24px; border-radius: var(--r-card);
  color: var(--muted); font-size: 16px; background: rgb(255 255 255 / .03); box-shadow: inset 0 0 0 1px var(--hairline);
}
.aside svg { width: 24px; height: 24px; flex: none; fill: var(--ink); }
@media (hover: hover) {
  .cell:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--hairline), 0 24px 50px rgb(0 0 0 / .4); }
  .cell:hover::after { opacity: 1; animation: spin 2.6s linear infinite; }
  .c-b:hover .peek { transform: rotate(3deg) translateY(10px); }
}

/* Process */
.process { width: var(--page); margin: auto; padding: 96px 0 72px; }
.process h2 { margin-bottom: 44px; max-width: 18ch; }
.steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 72px; max-width: 980px; }
.steps > li { background: var(--bg); box-shadow: 0 0 0 12px var(--bg); border-radius: 2px; }
.steps > li:nth-child(even) { transform: translateY(32px); }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 16px; }

/* FAQ: plain questions that open in place. Also feeds search engines and AI assistants. */
.faq { width: var(--page); margin: auto; padding: 72px 0 24px; }
.faq h2 { margin-bottom: 32px; max-width: 20ch; }
.faq-list { display: grid; gap: 10px; max-width: 980px; }
.faq details { border-radius: var(--r-card); background: #121216; box-shadow: inset 0 0 0 1px var(--hairline); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 24px; line-height: 1; color: var(--muted); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary h3 { margin: 0; font-size: 18px; }
.faq details p { padding: 0 24px 22px; color: var(--muted); font-size: 16px; max-width: 72ch; }
@media (max-width: 767px) { .faq summary { padding: 16px 18px; } .faq details p { padding: 0 18px 18px; } .faq summary h3 { font-size: 16px; } }

/* Prices: the same cells as the services, with a price list at the bottom of each. */
.prices { width: var(--page); margin: auto; padding: 96px 0 72px; }
.prices h2 { max-width: 20ch; }
.prices .lead { margin: 18px 0 40px; }
.plans { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.plan { min-height: 0; }
.plan .tile { margin-bottom: 0; }
.rates { position: relative; margin-top: auto; padding-top: 22px; }
.rates li {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px;
  padding: 20px 0; border-top: 1px solid var(--hairline);
}
.rates li:last-child { padding-bottom: 0; }
.rates li > div { flex: 1 1 11em; min-width: 0; }
.rates h4 { margin: 0; font: 600 17px/1.35 var(--body); color: var(--ink); }
.cell .rates p { margin-top: 4px; font-size: 14px; line-height: 1.5; max-width: 38ch; }
.cell .rates .sum {
  margin: 0; color: var(--ink); max-width: none; white-space: nowrap;
  font: 500 clamp(19px, 1.7vw, 23px)/1.2 var(--display); letter-spacing: -.01em; font-variant-numeric: tabular-nums;
}
.sum small { margin-right: 2px; font: 500 14px var(--body); letter-spacing: 0; color: var(--muted); }
.sum span { font-family: var(--body); font-weight: 600; }
.p-app { background: radial-gradient(120% 120% at 100% 0%, #3a2f7a, #1a1830 55%, #141419); }
.p-app::after { opacity: .9; }
.p-app .tile svg { fill: #c3c5f7; }
.p-web { background: linear-gradient(160deg, #142127, #121419); }
.p-web .tile svg { fill: #6fd2ff; }
.prices .aside a { color: var(--ink); text-underline-offset: 3px; }

/* Team: no cards. People stand in a zigzag along the middle and the line threads through every avatar. */
.team { width: var(--page); margin: auto; padding: 96px 0 0; }
.team .lead { margin-top: 18px; }
.crew { list-style: none; margin: 0; padding: 120px 0 90px; }
.member { display: flex; align-items: center; justify-content: flex-end; gap: 28px; width: 50%; min-height: 290px; padding-right: 40px; text-align: right; }
.member:nth-child(even) { margin-left: 50%; flex-direction: row-reverse; padding: 0 0 0 40px; text-align: left; }
.who { max-width: 380px; }
.ava { flex: none; }
.ava img {
  width: 128px; height: 128px; border-radius: 50%; object-fit: cover; filter: grayscale(1) contrast(1.05);
  box-shadow: 0 0 0 1px var(--hairline), 0 14px 34px rgb(0 0 0 / .5);
  transition: transform .6s cubic-bezier(.34, 1.56, .64, 1), box-shadow .6s;
}
.ava img.lit { transform: scale(1.07); box-shadow: 0 0 0 3px rgb(255 255 255 / .14), 0 18px 44px rgb(0 0 0 / .55); }
.member h3 { font-size: 22px; }
.member .role { margin: 4px 0 8px; color: #c3c5f7; font-weight: 600; font-size: 15px; line-height: 1.35; }
.member p:not(.role) { color: var(--muted); font-size: 15px; line-height: 1.55; }
.member .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink); }
.member .more svg { width: 15px; height: 15px; fill: currentColor; transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.member .more:hover svg { transform: translateX(3px); }

/* Other work: three tiles that lead to the portfolio pages, kept below the apps. */
.works { width: var(--page); margin: auto; padding: 96px 0 24px; }
.works .lead { margin: 18px 0 40px; }
.works-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.work-tile {
  --spectrum: conic-gradient(from var(--a), #ff4d4d, #ff9a3d, #ffd93d, #4fd964, #3db8ff, #5a6bff, #b05cff, #ff4d4d);
  position: relative; isolation: isolate; display: block; aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: var(--r-card); text-decoration: none; box-shadow: inset 0 0 0 1px var(--hairline);
}
.work-tile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.16, 1, .3, 1); }
.work-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(14 14 17 / 0) 30%, rgb(14 14 17 / .62) 62%, rgb(14 14 17 / .96)); }
.work-tile::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: var(--spectrum); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); opacity: 0; transition: opacity .3s;
}
.work-text { position: absolute; left: 24px; right: 84px; bottom: 22px; }
.work-tile h3 { font-size: 22px; }
.work-tile p { margin-top: 4px; font-size: 14px; line-height: 1.45; color: rgb(236 236 240 / .82); }
.work-tile .go {
  position: absolute; right: 20px; bottom: 20px; display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; background: var(--ink); color: #15151b; transition: transform .35s cubic-bezier(.16, 1, .3, 1);
}
.work-tile .go svg { width: 18px; height: 18px; fill: currentColor; }
@media (hover: hover) {
  .work-tile:hover img { transform: scale(1.05); }
  .work-tile:hover::after { opacity: 1; animation: spin 2.6s linear infinite; }
  .work-tile:hover .go { transform: rotate(-45deg); }
}

/* Portfolio pages: same bar, type and cards as the home page, without the drawn line. */
.sub .bar { transform: none; }
.sub .logo .slash { visibility: visible; }
.sub-hero { width: var(--page); margin: auto; padding: 152px 0 40px; }
.sub-hero h1 { font-size: clamp(34px, 4.4vw, 60px); margin: 14px 0 18px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.tabs a { min-height: 44px; padding: 6px 20px; font-size: 14px; }
.tabs a[aria-current="page"] { background: var(--ink); color: #15151b; box-shadow: none; }
.how { list-style: none; width: var(--page); margin: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 8px 0 32px; counter-reset: how; }
.how li { padding: 22px 24px; border-radius: var(--r-card); background: rgb(255 255 255 / .03); box-shadow: inset 0 0 0 1px var(--hairline); counter-increment: how; }
.how li::before { content: "0" counter(how); display: block; margin-bottom: 10px; font: 600 14px var(--display); color: #c3c5f7; }
.how h3 { font-size: 18px; margin-bottom: 6px; }
.how p { color: var(--muted); font-size: 15px; }
.case { width: var(--page); margin: auto; padding: 56px 0; border-top: 1px solid var(--hairline); }
.case-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px 64px; align-items: end; margin-bottom: 28px; }
.case-head h2 { font-size: clamp(26px, 2.8vw, 40px); }
.case-head .kicker { margin: 8px 0 0; }
.case-head > p { color: rgb(236 236 240 / .86); }
.shots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.shots img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; background: var(--surface); }
.shots img:first-child { grid-column: span 2; grid-row: span 2; }
.shots img:nth-child(4):last-child { grid-column: span 2; aspect-ratio: auto; }
.case .how { width: auto; padding: 16px 0 0; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.reels { width: var(--page); margin: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding: 24px 0 48px; }
.reel { overflow: hidden; border-radius: var(--r-card); background: linear-gradient(160deg, #1d1d24, #141419); box-shadow: inset 0 0 0 1px var(--hairline); }
.reel .play { position: relative; display: block; aspect-ratio: 16 / 9; background: #000; }
.reel .play img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.16, 1, .3, 1), opacity .3s; }
.reel .play span {
  position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 64px; height: 64px; margin: -32px 0 0 -32px;
  border-radius: 50%; background: rgb(243 243 245 / .92); color: #15151b; box-shadow: 0 10px 30px rgb(0 0 0 / .4);
  transition: transform .35s cubic-bezier(.16, 1, .3, 1);
}
.reel .play svg { width: 26px; height: 26px; fill: currentColor; margin-left: 3px; }
.reel iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.reel-body { padding: 20px 24px 24px; }
.reel-body .kicker { margin-bottom: 6px; font-size: 14px; color: #c3c5f7; }
.reel-body h3 { font-size: 21px; margin-bottom: 8px; }
.reel-body p:not(.kicker) { color: var(--muted); font-size: 15px; }
@media (hover: hover) {
  .reel .play:hover img { transform: scale(1.04); opacity: .85; }
  .reel .play:hover span { transform: scale(1.08); }
}
.sub .note { width: var(--page); margin: 0 auto 24px; }

/* Contact */
.contact { width: var(--page); margin: auto; padding: 128px 0 72px; }
.contact-in { max-width: 760px; }
.contact .lead { margin: 18px 0 32px; }
.contact .plain { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; }
.contact .plain .btn { min-height: 46px; padding: 8px 20px 8px 16px; font-size: 14px; }

/* Footer: the line ends inside this logo. */
.page > .foot { position: relative; z-index: auto; }
.foot > div:not(.app-bg) { position: relative; z-index: 1; }
.app-bg.foot-bg {
  top: -260px;
  -webkit-mask-image: linear-gradient(transparent, #000 34%);
  mask-image: linear-gradient(transparent, #000 34%);
}
.app-bg.foot-bg img { opacity: .9; }
.app-bg.foot-bg::after { background: rgb(14 14 17 / .18); }
.foot { width: var(--page); margin: auto; padding: 120px 0 44px; display: grid; justify-items: center; gap: 56px; }
.foot-logo { width: min(420px, 74vw); }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: 14px; color: var(--muted); }
.foot-links a { text-underline-offset: 3px; }
.foot-req { margin-top: -40px; max-width: 70ch; text-align: center; font-size: 13px; line-height: 1.5; color: rgb(168 168 179 / .75); }

/* Entrance */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1); }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .fan.reveal { transform: translateY(32px); }
  .js .fan.reveal.in { transform: none; }
  .js .steps > li.reveal:nth-child(even) { transform: translateY(54px); }
  .js .steps > li.reveal.in:nth-child(even) { transform: translateY(32px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bar, .btn, .round, .rail img { transition: none; }
  .btn::before, .btn::after, .round::before { animation: none !important; }
}

/* Tablet */
@media (max-width: 1100px) {
  .app, .app.flip { grid-template-columns: 72px minmax(0, 1fr); }
  .app.flip .rail, .app .rail { order: 1; grid-row: 1 / span 2; }
  .app.flip .app-text, .app .app-text { order: 2; }
  .app.flip .gallery-wrap, .app .gallery-wrap { order: 3; grid-column: 2; }
  .app.flip .gallery-nav { justify-content: flex-start; }
  .rail img { width: 64px; height: 64px; }
  .fan .phone { width: 27vw; }
  .fan .phone:nth-child(2) { width: 30vw; }
  .fan { margin-right: 40px; }
  .hero { grid-template-columns: 1fr; padding-top: 96px; }
  .fan { height: 66vw; max-height: 620px; }
  .c-a { grid-column: span 6; }
  .c-b, .c-c, .c-d, .c-e { grid-column: span 3; }
  .c-c { grid-column: span 3; }
  .c-e { grid-column: span 6; min-height: 0; }
  .case .how { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Mobile: one column, the line runs along the left edge. */
@media (max-width: 767px) {
  :root { --page: calc(100vw - 40px); }
  body { font-size: 16px; }
  .top-nav .nav a:not(.btn) { display: none; }
  .bar .nav a:not(.btn) { display: none; }
  .top-nav .nav { height: 68px; }
  .hero { min-height: auto; padding: 88px 0 48px; gap: 36px; }
  .js .hero-pin { --hero-pin: 40vh; }
  .hero-logo { width: 62vw; margin-bottom: 12px; }
  .hero .slogan { margin-bottom: 26px; font-size: 13px; }
  .fan { height: 96vw; margin-right: 8px; }
  .fan .phone { width: 37vw; }
  .fan .phone:nth-child(2) { width: 42vw; }
  .intro, .services, .process, .prices, .works { padding: 84px 0 40px; padding-left: 16px; }
  .works-row { grid-template-columns: 1fr; }
  .team { padding: 84px 0 0; padding-left: 16px; }
  .crew { padding: 90px 0 60px; }
  .member, .member:nth-child(even) { width: 100%; margin-left: 0; min-height: 300px; gap: 16px; padding: 0; }
  .ava img { width: 84px; height: 84px; }
  .member h3 { font-size: 19px; }
  .member .role, .member p:not(.role) { font-size: 14px; }
  .work-tile { aspect-ratio: 16 / 10; }
  .sub-hero { padding: 112px 0 28px; }
  .how, .case .how { grid-template-columns: 1fr; }
  .case { padding: 40px 0; }
  .case-head { grid-template-columns: 1fr; }
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reels { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .plan { padding: 24px; }
  .apps-row { gap: 6px; margin-left: -16px; margin-right: 0; }
  .apps-row a { gap: 6px; }
  .apps-row span { font-size: 10px; letter-spacing: -.01em; }
  .app, .app.flip { display: block; padding: 150px 0 36px 16px; }
  .rail { justify-content: center; margin: 0 0 166px -16px; }
  .app.flip { padding: 150px 16px 36px 0; }
  .app.flip .rail { justify-content: center; margin: 0 -16px 166px 0; }
  .rail img { width: min(50vw, 210px); height: auto; aspect-ratio: 1; }
  .app-bg { overflow: clip; }
  .app-bg img { position: sticky; top: -6dvh; height: 112dvh; opacity: .36; }
  .app-bg.hero-bg img { opacity: .55; }
  .app-bg.hero-bg::after { background: rgb(14 14 17 / .25); }
  .app-bg.foot-bg { top: -120px; }
  .app-bg.foot-bg img { opacity: .6; position: absolute; top: -16%; height: 132%; }
  .app-bg::after { background: rgb(14 14 17 / .42); }
  .rail img.lit { transform: scale(1.03); }
  .app-text h2, .kicker { text-align: center; margin-left: -16px; }
  .flip .app-text h2, .flip .kicker { margin-left: 0; margin-right: -16px; }
  .app-text h2 { font-size: 30px; }
  .gallery-wrap { margin: 24px -20px 0 -36px; }
  .flip .gallery-wrap { margin: 24px -36px 0 -20px; }
  .gallery { padding: 24px 20px 40px 20px; margin: -8px 0 -24px; background: none; scroll-padding-left: 20px; scroll-snap-type: x mandatory; }
  .gallery > * { width: 62vw; max-width: 240px; }
  .gallery-nav { display: none; }
  .c-a, .c-b, .c-c, .c-d, .c-e { grid-column: span 6; min-height: 0; }
  .c-b { padding-top: 28px; }
  .c-b .peek { top: -74px; right: 18px; width: 118px; }
  .c-b > h3 { margin-top: 136px; }
  .aside { align-items: flex-start; padding: 16px 18px; }
  .c-a { padding-top: 330px; }
  .c-a .tile { margin-bottom: 0; }
  .c-a > h3, .c-a > p, .c-a > .chips { max-width: none; }
  .c-a img { width: 128px; top: 24px; left: 50%; right: auto; margin-left: 2px; }
  .c-a img + img { left: 50%; right: auto; top: 24px; margin-left: -130px; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .steps > li:nth-child(even), .js .steps > li.reveal.in:nth-child(even) { transform: none; }
  .contact { padding: 72px 0 40px; padding-left: 16px; }
  .flip-cards .card-in { transition-duration: .6s; }
  .cta .btn { flex: 1 1 auto; }
  .nav .btn { min-height: 42px; }
  .foot { padding-top: 64px; gap: 44px; }
  .foot-logo { width: 66vw; }
}
