/* Layout idea: one dark navy world. Hero = a ring of work covers orbiting behind a centred figure,
   title bottom-left, pitch bottom-right. After the hero a developer card on a lanyard drops in
   from the top right and stays. Then: marquee, bento of works, statement, service rows,
   one white slab, process line, contact panel.
   Radius rule: interactive = full pill, cards = 28px shell / 20px core, small tags = pill. */
:root {
  color-scheme: dark;
  --bg: #05060C;
  --surface: #0A0E22;
  --navy: #0F1A4A;
  --navy-hi: #2B3FA6;
  --line: rgba(255, 255, 255, 0.09);
  --text: #F3F4FA;
  --muted: #9AA0BD;
  --pink: #FF3D9A;
  --ink: #070A18;
  --white: #F6F7FB;

  --font-display: 'Unbounded', 'Arial Black', 'Segoe UI', sans-serif;
  --font-body: 'Onest', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-sine: cubic-bezier(0.45, 0, 0.55, 1);
  --r-shell: 28px;
  --r-core: 20px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(5.5rem, 11vw, 10rem);
  /* Space kept free on the right for the hanging card (desktop only) */
  --badge-room: 0px;
}
@media (min-width: 1100px) {
  :root { --badge-room: clamp(0px, 1740px - 100vw, 210px); }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
::selection { background: var(--pink); color: var(--ink); }
:focus-visible { outline: 2px solid var(--text); outline-offset: 4px; border-radius: 6px; }

/* Ambient layers: fixed, never on scrolling containers */
.ambient {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(46vw 46vw at 96% 4%, rgba(255, 61, 154, 0.1), transparent 70%),
    radial-gradient(60vw 60vw at -10% 46%, rgba(43, 63, 166, 0.22), transparent 70%);
}
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 60; opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, footer { position: relative; z-index: 1; }
.wrap { width: min(100% - 2 * var(--gutter), 1240px); margin-inline: auto; }
.after-hero { padding-right: var(--badge-room); }

/* Type */
.display {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.02;
  text-wrap: balance;
}
.h2 { font-size: clamp(1.9rem, 4.4vw, 3.75rem); }
.pink { color: var(--pink); }

/* Buttons: pill with a nested icon circle */
.btn {
  display: inline-flex; align-items: center; gap: 0.85rem;
  padding: 0.4rem 0.4rem 0.4rem 1.5rem;
  border-radius: 999px;
  background: var(--pink); color: var(--ink);
  font-weight: 600; font-size: 1rem; white-space: nowrap;
  transition: transform 0.5s var(--ease), background-color 0.5s var(--ease);
  will-change: transform;
}
.btn .ic {
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(7, 10, 24, 0.16);
  transition: transform 0.5s var(--ease);
}
.btn:hover .ic { transform: translate(3px, -2px) scale(1.06); }
.btn:active { transform: scale(0.98); }
.btn-sm { padding: 0.6rem 1.15rem; font-size: 0.9rem; }

/* Navigation: floating island. Slides left a little when the card is hanging on the right. */
.nav {
  position: fixed; z-index: 50; top: 16px; left: 50%;
  transform: translateX(-50%);
  width: min(100% - 2 * var(--gutter), 760px);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.5rem 0.5rem 0.5rem 1.25rem;
  border-radius: 999px;
  background: rgba(10, 14, 34, 0.66);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.9s var(--ease);
}
body.past-hero .nav { transform: translateX(calc(-50% - var(--badge-room) / 2)); }
.brand {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; white-space: nowrap;
}
.mark { position: relative; width: 26px; height: 18px; flex: none; }
.mark::before, .mark::after {
  content: ""; position: absolute; top: 0; width: 18px; height: 18px; border-radius: 50%;
}
.mark::before { left: 0; background: var(--pink); }
.mark::after { right: 0; background: var(--navy-hi); mix-blend-mode: screen; }
.nav-links { display: flex; gap: 0.25rem; }
.nav-links a {
  padding: 0.5rem 0.85rem; border-radius: 999px;
  font-size: 0.9rem; font-weight: 500; color: var(--muted);
  transition: color 0.4s var(--ease), background-color 0.4s var(--ease);
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.burger { display: none; width: 2.6rem; height: 2.6rem; border-radius: 50%; position: relative; background: rgba(255, 255, 255, 0.08); }
.burger span {
  position: absolute; left: 50%; top: 50%; width: 16px; height: 1.5px; background: var(--text);
  transition: transform 0.5s var(--ease);
}
.burger span:first-child { transform: translate(-50%, -4px); }
.burger span:last-child { transform: translate(-50%, 3px); }
.burger[aria-expanded="true"] span:first-child { transform: translate(-50%, -50%) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translate(-50%, -50%) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 45;
  display: flex; flex-direction: column; justify-content: center; gap: 0.5rem;
  padding: 6rem var(--gutter) 3rem;
  background: rgba(5, 6, 12, 0.92);
  -webkit-backdrop-filter: blur(28px);
  backdrop-filter: blur(28px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0s linear 0.5s;
}
.menu.open { opacity: 1; visibility: visible; transition: opacity 0.5s var(--ease), visibility 0s; }
.menu a {
  font-family: var(--font-display); font-weight: 900; font-size: clamp(1.8rem, 9vw, 3rem); line-height: 1.25;
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: calc(var(--i) * 60ms + 80ms);
}
.menu.open a { opacity: 1; transform: none; }
.menu a:last-child { color: var(--pink); }

/* ---------- HERO: ring of works orbiting behind the figure ---------- */
.hero {
  --R: clamp(520px, 76vw, 1100px);     /* ring radius */
  position: relative; z-index: 1; isolation: isolate; overflow: hidden;
  touch-action: pan-y; cursor: grab;    /* the ring can be dragged sideways */
  height: clamp(640px, 100svh, 940px);
  background:
    radial-gradient(58% 56% at 50% 60%, rgba(43, 63, 166, 0.5), transparent 72%),
    var(--bg);
}
.ring-scene {
  position: absolute; inset: 0; z-index: 1;
  perspective: calc(var(--R) * 0.64);   /* camera sits inside the ring, so side cards come closer */
  perspective-origin: 50% 33%;
}
.ring { position: absolute; left: 50%; top: 33%; transform-style: preserve-3d; }
.rc {
  position: absolute;
  width: calc(var(--R) * 0.345); aspect-ratio: 16 / 10;
  left: calc(var(--R) * -0.1725); top: calc(var(--R) * -0.108);
  border-radius: calc(var(--R) * 0.013); overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14);
  transform: rotateY(calc(var(--n) * 30deg - 180deg)) translateZ(calc(var(--R) * -1));
  visibility: hidden;                   /* near half of the ring stays hidden; js/main.js spins the ring */
  will-change: transform;
}
.rc.st { visibility: visible; }
.hero.dragging { cursor: grabbing; -webkit-user-select: none; user-select: none; }
.rc .cover { height: 100%; }
.hero-vig {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, var(--bg), transparent 15%, transparent 85%, var(--bg));
}
.figure {
  position: absolute; z-index: 3; left: 50%; bottom: 0;
  height: 76%; aspect-ratio: 400 / 480;
  transform: translateX(-50%);
}
.figure-in { position: relative; width: 100%; height: 100%; }
.figure-in::before {
  content: ""; position: absolute; inset: -6% -16% 20%; z-index: -1; border-radius: 50%;
  background: radial-gradient(42% 42% at 72% 34%, rgba(255, 61, 154, 0.3), transparent 70%);
}
.figure svg, .figure .portrait { display: block; width: 100%; height: 100%; }
.figure .portrait { object-fit: contain; object-position: 50% 100%; }
.hero-fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 30%; z-index: 4; pointer-events: none;
  background: linear-gradient(0deg, var(--bg) 4%, transparent);
}
.hero-ui { position: absolute; z-index: 5; left: 0; right: 0; bottom: clamp(1.5rem, 5vh, 3.5rem); }
.hero-ui .wrap { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; }
.hello {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
}
.hero h1 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(1.9rem, 3.5vw, 3.2rem); line-height: 1.04; letter-spacing: -0.03em;
  margin: 0.7rem 0 1.5rem;
}
.hero-right { max-width: 20rem; }
.hero-right p { color: var(--muted); font-size: 1rem; line-height: 1.55; }
.hero-right strong { color: var(--text); font-weight: 600; }

/* Covers: poster art that stands in until real screenshots are dropped in.
   To use a screenshot, put <img src="assets/..." alt="..."> inside .cover and delete the <b>. */
.cover {
  position: relative; display: block; overflow: hidden; container-type: inline-size;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover b {
  position: absolute; left: 5%; bottom: -0.08em;
  font-family: var(--font-display); font-weight: 900; font-size: 25cqw; line-height: 0.8; letter-spacing: -0.04em;
  white-space: nowrap;
}
.cover::before, .cover::after { content: ""; position: absolute; border-radius: 50%; }
.c1 {
  background:
    radial-gradient(70% 90% at 12% 8%, rgba(255, 61, 154, 0.95), transparent 62%),
    radial-gradient(80% 90% at 96% 96%, rgba(43, 63, 166, 1), transparent 62%),
    #0C1338;
  color: var(--white);
}
.c2 { background: var(--white); color: var(--ink); }
.c2::before { width: 44%; aspect-ratio: 1; right: 8%; top: 10%; background: var(--navy); }
.c2::after { width: 30%; aspect-ratio: 1; right: 34%; top: 26%; border: 2px solid var(--pink); }
.c3 {
  background:
    repeating-radial-gradient(circle at 78% 26%, rgba(255, 255, 255, 0.16) 0 2px, transparent 2px 30px),
    #1F2F86;
  color: var(--white);
}
.c4 {
  background:
    repeating-linear-gradient(180deg, transparent 0 21px, rgba(255, 255, 255, 0.07) 21px 22px),
    #080B1C;
  color: transparent;
}
.c4::before { width: 52%; aspect-ratio: 1; right: 9%; top: 14%; background: linear-gradient(180deg, var(--pink), var(--navy-hi)); }
.c4 b { -webkit-text-stroke: 1.5px var(--white); }
.c5 { background: var(--pink); color: var(--ink); }
.c5::before { width: 58%; aspect-ratio: 1; right: -8%; top: -22%; background: var(--white); }
.c5::after { width: 20%; aspect-ratio: 1; right: 30%; top: 30%; background: var(--navy); }
.c6 {
  background:
    radial-gradient(rgba(255, 255, 255, 0.22) 1.2px, transparent 1.6px) 0 0 / 18px 18px,
    var(--navy);
  color: var(--white);
}
.c6::before { width: 34%; aspect-ratio: 1; right: 10%; top: 12%; border-radius: 24%; background: var(--pink); transform: rotate(14deg); }

/* Marquee (the only one on the page) */
.marquee {
  position: relative; z-index: 1;
  overflow: hidden; padding: clamp(1.25rem, 2.5vw, 2rem) 0;
  border-block: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; width: max-content; }
.marquee ul { display: flex; align-items: center; flex: none; }
.marquee li {
  display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 2.75rem); padding-right: clamp(1.5rem, 3vw, 2.75rem);
  font-family: var(--font-display); font-weight: 900; font-size: clamp(1.4rem, 3.2vw, 2.6rem); white-space: nowrap;
}
.marquee li:nth-child(even) { color: transparent; -webkit-text-stroke: 1px rgba(243, 244, 250, 0.7); }
.marquee li::after { content: ""; width: 0.42em; height: 0.42em; background: var(--pink); transform: rotate(45deg); flex: none; }
.marquee li:nth-child(even)::after { background: var(--white); }

/* Sections */
.section { padding-block: var(--section); }
.section-head { margin-bottom: clamp(2rem, 5vw, 4rem); }

/* Works bento: 6 projects, 6 cells, mirrored halves */
.works-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.work {
  display: flex; flex-direction: column; padding: 8px; border-radius: var(--r-shell);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color 0.6s var(--ease), transform 0.6s var(--ease);
}
.work:hover { background: rgba(255, 255, 255, 0.07); }
.work:active { transform: scale(0.992); }
.cover-wrap { display: block; flex: 1; border-radius: var(--r-core); overflow: hidden; min-height: 220px; }
.work .cover { height: 100%; transition: transform 0.9s var(--ease); }
.work:hover .cover { transform: scale(1.045); }
.work-meta { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 1rem; padding: 1rem 0.75rem 0.6rem 1rem; }
.work-title { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; line-height: 1.3; }
.work-type { display: block; font-size: 0.9rem; color: var(--muted); }
.work-year { font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.arrow {
  width: 2.5rem; height: 2.5rem; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: rgba(255, 255, 255, 0.08);
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease), transform 0.5s var(--ease);
}
.work:hover .arrow, .tile:hover .arrow, .service:hover .arrow { background: var(--pink); color: var(--ink); transform: translate(2px, -2px); }
.w1 { grid-column: 1 / span 8; grid-row: 1 / span 2; }
.w2 { grid-column: 9 / span 4; grid-row: 1; }
.w3 { grid-column: 9 / span 4; grid-row: 2; }
.w4 { grid-column: 1 / span 4; grid-row: 3; }
.w5 { grid-column: 1 / span 4; grid-row: 4; }
.w6 { grid-column: 5 / span 8; grid-row: 3 / span 2; }
.w2 .cover-wrap, .w3 .cover-wrap, .w4 .cover-wrap, .w5 .cover-wrap { aspect-ratio: 4 / 3; }

/* Statement */
.statement p {
  max-width: 24ch; font-weight: 500;
  font-size: clamp(1.7rem, 3.8vw, 3.2rem); line-height: 1.18; letter-spacing: -0.02em;
  text-wrap: balance;
}
.statement .wrap { display: flex; justify-content: flex-end; }
@keyframes lit { to { opacity: 1; } }

/* Services: typographic rows */
.services { border-top: 1px solid var(--line); }
.service {
  display: grid; grid-template-columns: 5fr 5fr auto; gap: clamp(1rem, 3vw, 3rem); align-items: center;
  padding: clamp(1.5rem, 3vw, 2.5rem) 0.25rem;
  border-bottom: 1px solid var(--line);
}
.service h3 {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.25rem, 2.4vw, 2rem); line-height: 1.12; letter-spacing: -0.02em;
  transition: transform 0.6s var(--ease), color 0.6s var(--ease);
}
.service:hover h3 { transform: translateX(14px); color: var(--pink); }
.service p { color: var(--muted); max-width: 46ch; }
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.9rem; }
.tags span {
  padding: 0.25rem 0.7rem; border-radius: 999px; font-size: 0.78rem; font-weight: 500;
  color: var(--text); box-shadow: inset 0 0 0 1px var(--line);
}

/* White slab */
.slab {
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(1.75rem, 5vw, 4.5rem);
  border-radius: var(--r-shell);
  background: var(--white); color: var(--ink);
}
.slab .h2 { font-size: clamp(1.9rem, 3.8vw, 3.2rem); }
.promises { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.75rem, 3.5vw, 3rem) clamp(1.5rem, 3vw, 2.5rem); }
.promises h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; margin: 1rem 0 0.4rem; }
.promises p { color: #454A63; font-size: 1rem; max-width: 34ch; }
.shape { display: block; width: 40px; height: 40px; }
.shape-1 { border-radius: 50%; background: var(--pink); }
.shape-2 { border-radius: 10px; background: var(--navy); }
.shape-3 { border-radius: 50%; border: 9px solid var(--navy); }
.shape-4 { border-radius: 40px 40px 0 0; height: 20px; margin-top: 20px; background: var(--pink); }

/* Process: a line that runs pink to white */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); padding-top: 2.5rem; }
.steps::before { content: ""; position: absolute; top: 5px; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--pink), var(--navy-hi)); }
.steps li { position: relative; }
.steps li::before {
  content: ""; position: absolute; top: calc(-2.5rem - 1px); left: 0; width: 14px; height: 14px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--text);
}
.steps .n { font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted); }
.steps h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.2; margin: 0.5rem 0 0.6rem; }
.steps p { color: var(--muted); font-size: 1rem; max-width: 30ch; }

/* Contact panel */
.contact-shell { padding: 8px; border-radius: calc(var(--r-shell) + 8px); background: rgba(255, 255, 255, 0.035); box-shadow: inset 0 0 0 1px var(--line); }
.contact-core {
  position: relative; overflow: hidden; border-radius: var(--r-shell);
  padding: clamp(2rem, 6vw, 5rem) clamp(1.25rem, 5vw, 4.5rem);
  background:
    radial-gradient(60% 90% at 10% 120%, rgba(255, 61, 154, 0.45), transparent 70%),
    radial-gradient(70% 100% at 92% 120%, rgba(43, 63, 166, 0.8), transparent 70%),
    var(--surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.contact-core h2 { font-size: clamp(2.1rem, 6.4vw, 5.6rem); line-height: 1; letter-spacing: -0.03em; }
.contact-core > p { margin-top: 1.5rem; max-width: 46ch; color: var(--muted); font-size: clamp(1.05rem, 1.4vw, 1.2rem); }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: clamp(2rem, 5vw, 3.5rem); }
.tile {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1rem;
  padding: 1.25rem 1.25rem 1.25rem 1.5rem; border-radius: var(--r-core);
  background: rgba(5, 6, 12, 0.55);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color 0.5s var(--ease);
}
.tile:hover { background: rgba(5, 6, 12, 0.8); }
.tile small { display: block; font-size: 0.8rem; color: var(--muted); }
.tile strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(0.95rem, 1.5vw, 1.2rem); overflow-wrap: anywhere; }
.copy {
  padding: 0.55rem 1rem; border-radius: 999px; font-size: 0.85rem; font-weight: 600;
  background: var(--text); color: var(--ink);
  transition: transform 0.4s var(--ease), background-color 0.4s var(--ease);
}
.copy:active { transform: scale(0.97); }
.copy.done { background: var(--pink); }

/* Footer */
footer { padding: 2.5rem 0 3rem; }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; font-size: 0.9rem; color: var(--muted); }
.foot nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.foot a { transition: color 0.4s var(--ease); }
.foot a:hover { color: var(--text); }

/* ---------- Motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes ring-in { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: none; } }
@keyframes fig-in { from { opacity: 0; transform: translateY(8%); } to { opacity: 1; transform: none; } }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .ring-scene { animation: ring-in 1.8s var(--ease) both; }
  .figure-in { animation: fig-in 1.4s var(--ease) 0.35s both; }
  .hero [data-in] { animation: rise 1s var(--ease) both; animation-delay: calc(var(--i) * 110ms + 800ms); }
  .marquee-track { animation: slide 36s linear infinite; }
  @supports (animation-timeline: view()) {
    .statement p { view-timeline-name: --statement; view-timeline-axis: block; }
    .statement .wd {
      opacity: 0.22;
      animation: lit linear both;
      animation-timeline: --statement;
      animation-range: cover calc(16% + var(--w) * 1.4%) cover calc(24% + var(--w) * 1.4%);
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  .nav { transition-duration: 0.01s; }
}

/* Tablet and phone */
@media (max-width: 900px) {
  .nav-links, .nav .btn-sm { display: none; }
  .burger { display: block; }
  .nav { padding-left: 1.1rem; }
  .w1, .w2, .w3, .w4, .w5, .w6 { grid-column: 1 / -1; grid-row: auto; }
  .cover-wrap, .w2 .cover-wrap, .w3 .cover-wrap, .w4 .cover-wrap, .w5 .cover-wrap { aspect-ratio: 4 / 3; min-height: 0; }
  .service { grid-template-columns: 1fr auto; }
  .service h3 { grid-column: 1 / -1; }
  .slab { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; padding-top: 0; padding-left: 2.25rem; gap: 2rem; }
  .steps::before { top: 0; bottom: 0; left: 6px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--pink), var(--navy-hi)); }
  .steps li::before { top: 0.35rem; left: -2.25rem; }
  .tiles { grid-template-columns: 1fr; }
  .statement .wrap { justify-content: flex-start; }
}
@media (max-width: 767px) {
  .ring-scene { perspective-origin: 50% 24%; }
  .ring { top: 24%; }
  .figure { height: 50%; bottom: 30%; }
  .ph-note { display: none; }
  .hero-fade { height: 52%; background: linear-gradient(0deg, var(--bg) 52%, transparent); }
  .hero-ui .wrap { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .hero-left { display: contents; }
  .hero h1 { margin: -0.6rem 0 0; font-size: clamp(2rem, 10vw, 2.75rem); }
  .hero-right { order: 2; max-width: 34ch; }
  .hero-left .btn { order: 3; align-self: stretch; justify-content: space-between; }
  .promises { grid-template-columns: 1fr; }
}
