/* PM Studio: pmstudio73.com, v7
   A dark grid room lit blue from the left and red from the right, a glass bubble with the PM inside,
   and the films on an arc in front of it. The room and the bubble are one WebGL canvas behind the page. */

@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

:root {
  --bg: #07080c;
  --surface: #0e1017;
  --surface-2: #171a25;
  --surface-3: #232838;
  --ink: #eef0f5;
  --muted: #a6abbb;
  --accent: #f4f5f8;
  --accent-ink: #07080c;
  --blue: #3d8bff;
  --red: #ff3355;

  --font: 'TikTok Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 0.9rem + 2.4vw, 3rem);
  --step-display: clamp(2rem, 0.9rem + 3vw, 3.75rem);

  --margin: clamp(1.25rem, 4vw, 3.5rem);
  --gutter: clamp(1rem, 2vw, 2rem);
  --section: clamp(7rem, 12vw, 12rem);
  --radius: 24px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-spring: cubic-bezier(0.2, 1.3, 0.32, 1);
  --ease-exit: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: var(--step-body); line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
h1, h2, h3, p, figure, ul, ol, dl, dd { margin: 0; }
:where(ul, ol)[class], :where(ul, ol)[role="list"] { padding: 0; list-style: none; }
img, video, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3 { font-weight: 650; line-height: 1.04; letter-spacing: -0.015em; text-wrap: balance; }
p { max-width: 62ch; text-wrap: pretty; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
:target { scroll-margin-top: 5rem; }
.muted { color: var(--muted); }
.wrap { padding-inline: var(--margin); }
.head { font-size: var(--step-head); }
.display-wide { font-stretch: 150%; text-transform: uppercase; font-weight: 720; letter-spacing: -0.01em; line-height: 0.98; }

.skip { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); text-decoration: none; transform: translateY(-160%); transition: transform var(--t-ui) var(--ease-out); }
.skip:focus { transform: none; }

/* ---------- the room: fixed behind everything ---------- */
.gl { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
main, .foot { position: relative; z-index: 1; }
.over-bubble body { cursor: grab; }
.is-spinning, .is-spinning * { cursor: grabbing !important; user-select: none; }

/* when there is no WebGL: a still bubble drawn in CSS sits in each anchor instead */
.bubble-css { display: none; }
.gl-off .bubble-css, html:not(.js) .bubble-css {
  display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; container-type: inline-size;
  background:
    radial-gradient(circle at 50% 50%, #fff4e6 0 2%, #cfe0ff99 5%, #3d8bff55 22%, #8a5cff33 42%, #ff335522 60%, #0000 72%); /* taste-skill-ignore: the no-WebGL galaxy glow */
}

/* ---------- controls ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.25rem; padding: 0 1.7rem; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 650; font-size: var(--step-body); text-decoration: none; white-space: nowrap;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.button:active { transform: scale(0.96); }
.button--sm { min-height: 2.75rem; padding: 0 1.25rem; font-size: var(--step-small); }
.button--block { width: 100%; min-height: 3.5rem; }
.button--ghost { background: var(--surface-2); color: var(--ink); }
.roll { display: grid; overflow: clip; line-height: 1.3; }
.roll > span { grid-area: 1 / 1; transition: transform 420ms var(--ease-expo); }
.roll > span + span { transform: translateY(105%); }
@media (hover: hover) and (pointer: fine) {
  .button:hover { background-color: #ffffff; color: var(--accent-ink); }
  .button:hover .roll > span:first-child { transform: translateY(-105%); }
  .button:hover .roll > span + span { transform: none; }
}

.icon-btn {
  display: grid; place-items: center; width: 44px; height: 44px; flex: none;
  border-radius: 50%; background: var(--surface-2); color: var(--ink);
  transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.icon-btn svg { width: 20px; height: 20px; fill: currentColor; }
.icon-btn:active { transform: scale(0.9); }
.icon-btn--lg { width: 52px; height: 52px; }
@media (hover: hover) and (pointer: fine) { .icon-btn:hover { background: var(--surface-3); } }
.i-play, .i-mute { display: none; }
.is-paused .i-pause { display: none; }
.is-paused .i-play { display: block; }
.is-muted .i-wave { display: none; }
.is-muted .i-mute { display: block; }

@media (hover: none) { .for-mouse { display: none; } }
@media (hover: hover) { .for-touch { display: none; } }

/* ---------- the bar ---------- */
.mark { display: inline-flex; align-items: center; gap: 0.65rem; text-decoration: none; font-weight: 650; font-size: var(--step-body); }
.mark__tile { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: #ffffff; color: #07080c; font-weight: 800; font-size: var(--step-small); letter-spacing: 0; }
.bar {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem;
  padding: 18px var(--margin);
  transition: background-color 400ms ease, padding 400ms var(--ease-out);
}
.bar.is-solid { background: #07080cf0; padding-block: 12px; }
.bar__nav { position: relative; display: flex; gap: 1.9rem; font-size: var(--step-small); font-weight: 550; }
.bar__nav a { color: var(--muted); text-decoration: none; transition: color var(--t-hover) ease; }
.bar__nav a.is-here { color: var(--ink); }
.bar__cta { justify-self: end; }
.bar__menu { display: none; justify-self: end; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--surface-2); font-size: var(--step-small); font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .bar__nav a:hover, .foot a:hover { color: var(--ink); } }

.sheet {
  position: fixed; inset: 0; z-index: 45; background: #07080cf7;
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  padding: 96px var(--margin) 40px;
  clip-path: circle(0% at calc(100% - 52px) 36px);
  transition: clip-path 600ms var(--ease-in-out);
}
.sheet.is-open { clip-path: circle(150% at calc(100% - 52px) 36px); }
.sheet[hidden] { display: none; }
.sheet nav { display: grid; gap: 0.4rem; }
.sheet nav a { font-size: var(--step-head); font-weight: 650; text-decoration: none; line-height: 1.15; }
@media (prefers-reduced-motion: no-preference) {
  .sheet nav a, .sheet .button { opacity: 0; transform: translateY(24px) scale(0.96); transition: opacity 400ms ease, transform 700ms var(--ease-spring); }
  .sheet.is-open nav a, .sheet.is-open .button { opacity: 1; transform: none; }
  .sheet.is-open nav a:nth-child(1) { transition-delay: 120ms; } .sheet.is-open nav a:nth-child(2) { transition-delay: 165ms; }
  .sheet.is-open nav a:nth-child(3) { transition-delay: 210ms; } .sheet.is-open nav a:nth-child(4) { transition-delay: 255ms; }
  .sheet.is-open nav a:nth-child(5) { transition-delay: 300ms; } .sheet.is-open nav a:nth-child(6) { transition-delay: 345ms; }
  .sheet.is-open .button { transition-delay: 400ms; }
}
.sheet nav a:active { transform: scale(0.97); }
.sheet .button { align-self: flex-start; }

/* =====================================================================
   1. HERO: the bubble in the middle of the room
   ===================================================================== */
.hero { position: relative; height: 100svh; min-height: 660px; }
.hero__bubble { position: absolute; left: 50%; top: 43%; width: min(56svh, 42vw); aspect-ratio: 1; transform: translate(-50%, -50%); }
.hero__hint { position: absolute; left: 100%; top: 70%; padding: 8px 14px; border-radius: 999px; background: #07080cc2; color: var(--muted); font-size: var(--step-small); font-weight: 550; white-space: nowrap; pointer-events: none; }
.hero__copy { position: absolute; left: var(--margin); bottom: 44px; }
.hero__title { font-size: var(--step-display); font-stretch: 150%; text-transform: uppercase; font-weight: 720; line-height: 0.98; letter-spacing: -0.01em; }
.hero__lede { margin-top: 18px; max-width: 44ch; color: #d4d8e3; }
.hero__act { position: absolute; right: var(--margin); bottom: 44px; display: flex; gap: 12px; }
.lines .line { display: block; overflow: clip; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.lines [data-line] { display: block; }

@media (prefers-reduced-motion: no-preference) {
  .js .hero [data-line] { transform: translateY(105%); animation: line-up 1000ms var(--ease-expo) forwards; animation-delay: calc(1000ms + var(--i) * 110ms); }
  .js .hero [data-load] { opacity: 0; transform: translateY(14px); animation: rise 700ms var(--ease-out) forwards; animation-delay: var(--d); }
  .js .bar { opacity: 0; animation: fade 800ms ease 900ms forwards; }
}
@keyframes line-up { to { transform: none; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fade { to { opacity: 1; } }

/* =====================================================================
   2. WORK: five 9:16 films on an arc, popping up and spinning in
   ===================================================================== */
.work { padding-top: clamp(4rem, 8vw, 7rem); overflow-x: clip; }
.work__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: end; }
.work__head h2 { grid-column: 1 / span 6; }
.work__lede { grid-column: 8 / span 5; }

.ring {
  --cw: clamp(150px, 12vw, 215px);
  --ch: calc(var(--cw) * 16 / 9);
  --orbit: min(31vw, 480px);
  position: relative; height: calc(var(--ch) + var(--orbit) * 0.62 + 120px); margin-top: 8px;
  perspective: 1600px; perspective-origin: 50% 50%;
  touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none;
}
.ring:focus-visible { outline-offset: -6px; border-radius: var(--radius); }
.ring.is-dragging { cursor: grabbing; }
.ring__bubble { position: absolute; left: 50%; top: 50%; width: calc(var(--orbit) * 1.5); aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; }
.ring__track { position: absolute; inset: 0; transform-style: preserve-3d; }
.card {
  position: absolute; left: 50%; top: 50%;
  width: var(--cw); aspect-ratio: 9 / 16;
  margin: calc(var(--ch) / -2) 0 0 calc(var(--cw) / -2);
  transform: translate3d(var(--x, 0px), var(--y, 0px), var(--z, 0px)) rotateY(var(--ry, 0deg)) scale(var(--s, 1));
  opacity: var(--o, 1); z-index: var(--zi, 1);
  transform-style: preserve-3d;
  transition: transform 1100ms var(--ease-spring) var(--delay, 0ms), opacity 500ms ease var(--delay, 0ms);
  cursor: pointer;
}
/* once the films have popped in, the script drives them every frame round the orbit */
.ring.is-orbit .card { transition: opacity 300ms ease; }
/* before the orbit arrives: every film is a speck, turned away and tipped over */
.js .ring:not(.is-in) .card { transform: translate3d(0, 70px, -380px) rotateY(150deg) rotateZ(-28deg) scale(0) !important; opacity: 0 !important; transition-duration: 0ms; } /* taste-skill-ignore: the client asked for the films to grow from zero */
.card__media {
  position: absolute; inset: 0; border-radius: 20px; overflow: clip; background: #000;
  filter: brightness(var(--b, 1)) saturate(var(--sat, 1));
  transition: transform 600ms var(--ease-expo), filter 400ms ease, box-shadow 600ms ease;
}
.card__media video { width: 100%; height: 100%; object-fit: cover; }
.card__play {
  position: absolute; left: 50%; top: 50%; z-index: 2; width: 58px; height: 58px; margin: -29px 0 0 -29px;
  display: grid; place-items: center; border-radius: 50%; background: #07080cc7; color: var(--ink);
  opacity: 0; transform: scale(0.7); transition: opacity 240ms ease, transform 500ms var(--ease-spring);
}
.card__play svg { width: 24px; height: 24px; fill: currentColor; margin-left: 3px; }
.card__ui {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2;
  display: grid; gap: 10px;
  opacity: 0; transform: translateY(18px); pointer-events: none;
  transition: opacity 260ms ease, transform 560ms var(--ease-expo);
}
.card__btns { display: flex; gap: 8px; justify-content: center; }
.card__btns .icon-btn { width: 38px; height: 38px; background: #07080cd9; }
.card__btns .icon-btn svg { width: 17px; height: 17px; }
.card__progress { height: 3px; border-radius: 3px; background: #ffffff3d; overflow: clip; }
.card__progress span { display: block; height: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); }
.card.is-playing { cursor: default; }
.card.is-playing .card__ui, .card:focus-within .card__ui { opacity: 1; transform: none; pointer-events: auto; }
.card:not(.is-playing):focus-within .card__play { opacity: 1; transform: none; }
@media (hover: hover) and (pointer: fine) {
  /* the pop: the film under the pointer lifts toward you, tilts after it, and offers play */
  .card:hover .card__media {
    transform: translateY(-12px) scale(1.06) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg));
    box-shadow: -26px 10px 70px -24px #3d8bffb3, 26px 10px 70px -24px #ff3355b3; /* taste-skill-ignore: the pop, only under the pointer */
    --b: 1;
  }
  .card:not(.is-playing):hover .card__play { opacity: 1; transform: none; }
}
@media (hover: none) { .card.is-active:not(.is-playing) .card__play { opacity: 1; transform: none; } }

/* the rotation control: stop/start and a speed slider */
.spin { display: flex; align-items: center; gap: 12px; }
.spin__label { font-size: var(--step-small); color: var(--muted); }
.spin__range { -webkit-appearance: none; appearance: none; width: 140px; height: 28px; background: transparent; cursor: pointer; }
.spin__range::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: var(--surface-3); }
.spin__range::-moz-range-track { height: 4px; border-radius: 4px; background: var(--surface-3); }
.spin__range::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -7px; border-radius: 50%; background: var(--ink); }
.spin__range::-moz-range-thumb { width: 18px; height: 18px; border: 0; border-radius: 50%; background: var(--ink); }
.spin__range:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

.info { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; margin-top: 4px; }
.info__main { max-width: 640px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chips li { padding: 5px 12px; border-radius: 999px; background: var(--surface-2); font-size: var(--step-small); font-weight: 550; color: #d4d8e3; }
.chips li:first-child { background: #3d8bff26; color: #b9d3ff; }
.info__name { font-size: var(--step-head); }
.info__desc { margin-top: 14px; color: #d4d8e3; }
.info__side { display: grid; justify-items: end; gap: 20px; }
.info__made { font-size: var(--step-small); text-align: right; max-width: 30ch; }
.info__nav { display: flex; align-items: center; gap: 14px; }
.info__count { font-variant-numeric: tabular-nums; white-space: nowrap; min-width: 3.5em; text-align: center; }
[data-i] { transition: opacity 240ms ease, transform 520ms var(--ease-expo); }
.info.is-swap [data-i] { opacity: 0; transform: translateY(12px); transition: opacity 150ms var(--ease-exit), transform 150ms var(--ease-exit); }

/* =====================================================================
   3. SHOWREEL: on wide screens it opens from a window to the whole screen
   ===================================================================== */
.reel { padding-top: var(--section); }
.reel__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: end; margin-bottom: 40px; }
.reel--open .reel__head { margin-bottom: -6svh; position: relative; z-index: 2; }
.reel__head h2 { grid-column: 1 / span 6; }
.reel__lede { grid-column: 8 / span 5; }
.reel__stage { position: relative; margin-inline: var(--margin); aspect-ratio: 16 / 9; overflow: clip; background: #000; border-radius: var(--radius); }
.reel__window { position: absolute; inset: 0; transform-origin: 50% 50%; border-radius: var(--radius); overflow: clip; }
.reel__video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.reel__ui { position: absolute; left: 20px; bottom: 20px; z-index: 2; display: flex; align-items: center; gap: 14px; }
.reel__cap { padding: 10px 16px; border-radius: 999px; background: #07080cdb; font-size: var(--step-small); font-weight: 600; white-space: nowrap; }
.reel__btns { display: flex; gap: 8px; }
.reel__btns .icon-btn { background: #07080cdb; }
.reel--open .reel__runway { height: 220svh; }
.reel--open .reel__stage { position: sticky; top: 0; height: 100svh; aspect-ratio: auto; margin-inline: 0; background: transparent; border-radius: 0; overflow: visible; }
.reel--open .reel__window { will-change: transform; background: #000; }
.reel--open .reel__ui { will-change: transform; }

/* =====================================================================
   4. ABOUT: the two neon portraits
   ===================================================================== */
.about { padding-top: var(--section); }
.about__panel {
  margin-inline: var(--margin); padding: clamp(28px, 4vw, 56px);
  background: var(--surface); border-radius: var(--radius); min-height: 92svh;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 1fr; column-gap: var(--gutter);
}
.about__statement { grid-column: 1 / span 7; grid-row: 1; font-size: var(--step-head); max-width: 13em; }
.about__people { grid-column: 1 / span 7; grid-row: 2; align-self: end; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); width: min(100%, 46vw); margin-top: 56px; perspective: 900px; }
.about__text { grid-column: 8 / span 5; grid-row: 1 / span 2; display: flex; flex-direction: column; align-items: flex-start; gap: 44px; padding-top: 6px; }
.about__block { max-width: 34ch; }
.about__block h3 { font-size: var(--step-lead); margin-bottom: 12px; }

/* neon frame: kept exactly as the client asked, light travelling round the corners */
.neon { position: relative; margin: 0; padding: 2px; border-radius: 26px; isolation: isolate; background: #ffffff29; transform-style: preserve-3d; transition: transform 600ms var(--ease-out); }
.neon::before, .neon::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  background: conic-gradient(from var(--ang), #0000 0deg, #35d6ff 30deg, var(--blue) 75deg, var(--red) 145deg, #0000 185deg, #0000 360deg); /* taste-skill-ignore: client's neon frame */
  animation: neon-spin 5.5s linear infinite;
}
.neon::after { filter: blur(18px); opacity: 0.7; }
.neon--late::before, .neon--late::after { animation-delay: -2.75s; }
@keyframes neon-spin { to { --ang: 360deg; } }
.neon__inner { position: relative; border-radius: 24px; overflow: clip; aspect-ratio: 4 / 5; background: #05050a; }
.neon__inner img { width: 100%; height: 100%; object-fit: cover; }
.neon__tag { position: absolute; left: 14px; bottom: 14px; padding: 6px 14px; border-radius: 999px; background: #07080cdb; font-size: var(--step-small); font-weight: 600; }

/* =====================================================================
   5. PROCESS: a line down the middle fills as you read; each step pops off it
   ===================================================================== */
.process { padding-top: var(--section); overflow-x: clip; }
.process__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: end; }
.process__head h2 { grid-column: 1 / span 6; }
.process__lede { grid-column: 8 / span 5; }
.steps { position: relative; max-width: 1180px; margin: 56px auto 0; }
.steps__line { position: absolute; left: 50%; top: 24px; bottom: 24px; width: 2px; margin-left: -1px; background: var(--surface-3); border-radius: 2px; overflow: clip; }
.steps__line span { position: absolute; inset: 0; background: linear-gradient(to bottom, var(--blue), #9a6bff 55%, var(--red)); transform-origin: 50% 0; transform: scaleY(var(--fill, 0)); } /* taste-skill-ignore: the portraits' two lights, as the progress line */
.step { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 18px 0; }
.step + .step { margin-top: -84px; }
.step__node { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2px var(--surface-3); transition: background-color 400ms ease, box-shadow 500ms ease, transform 600ms var(--ease-spring); } /* taste-skill-ignore: a timeline node, ring drawn as an inset */
.step.is-lit .step__node { background: #ffffff; box-shadow: 0 0 0 6px #3d8bff2e, 0 0 26px 2px #6aa5ff; transform: scale(1.1); } /* taste-skill-ignore: the node lights when the line reaches it */
.step__card { width: min(460px, 100%); padding: 26px 28px; border-radius: 22px; background: var(--surface); }
.step:nth-child(odd) .step__card { grid-column: 1; justify-self: end; margin-right: 52px; }
.step:nth-child(even) .step__card { grid-column: 2; justify-self: start; margin-left: 52px; }
.step__when { font-size: var(--step-small); font-weight: 600; color: #9cc0ff; margin-bottom: 8px; }
.step:nth-child(4) .step__when, .step:nth-child(5) .step__when, .step:nth-child(6) .step__when { color: #ff9aac; }
.step h3 { font-size: var(--step-lead); margin-bottom: 10px; }
@media (prefers-reduced-motion: no-preference) {
  .js .step__card { opacity: 0; transform: translateX(-36px) rotate(-5deg) scale(0.86); transition: opacity 500ms ease, transform 1000ms var(--ease-spring); }
  .js .step:nth-child(even) .step__card { transform: translateX(36px) rotate(5deg) scale(0.86); }
  .js .step.is-lit .step__card { opacity: 1; transform: none; }
}

/* =====================================================================
   6. GROWTH: the line that climbs
   ===================================================================== */
.growth { padding-top: var(--section); }
.growth__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: end; }
.growth__head h2 { grid-column: 1 / span 6; }
.growth__lede { grid-column: 8 / span 5; }
.chart { margin-top: 48px; }
.chart__frame { position: relative; aspect-ratio: 1000 / 460; border-radius: var(--radius); background: var(--surface); }
.chart__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.chart__grid line { stroke: #ffffff12; stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart__area { fill: url(#g-area); }
.chart__base { fill: none; stroke: #7c8296; stroke-width: 2; stroke-dasharray: 0.006 0.008; }
.chart__line { fill: none; stroke: url(#g-line); stroke-width: 4; stroke-linecap: round; }
.chart__guide { stroke: #ffffff40; stroke-width: 1; vector-effect: non-scaling-stroke; opacity: 0; transition: opacity 200ms ease; }
.chart.is-scrub .chart__guide { opacity: 1; }
.chart__marks { position: absolute; inset: 0; pointer-events: none; }
.mark-dot { position: absolute; left: 0; top: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #ffffff; box-shadow: 0 0 0 5px #ffffff1f; } /* taste-skill-ignore: a data point halo */
.mark-dot b { position: absolute; left: 50%; bottom: calc(100% + 12px); transform: translateX(-50%); padding: 6px 12px; border-radius: 999px; background: var(--surface-3); font-size: var(--step-small); font-weight: 600; white-space: nowrap; }
.mark-dot--end { background: var(--red); box-shadow: 0 0 0 6px #ff335533, 0 0 24px #ff3355; } /* taste-skill-ignore: the end of the line glows */
.mark-dot--end b { left: auto; right: -6px; transform: none; background: #ff3355; color: #fff; }
.chart__cursor { position: absolute; left: 0; top: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--ink); opacity: 0; transition: opacity 200ms ease; pointer-events: none; }
.chart.is-scrub .chart__cursor { opacity: 1; }
.chart__cursor::after { content: attr(data-stage); position: absolute; left: 50%; top: calc(100% + 12px); transform: translateX(-50%); padding: 5px 11px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 0.75rem; font-weight: 650; white-space: nowrap; }
.chart__stages { display: none; }
.chart__y, .chart__x { position: absolute; font-size: var(--step-small); color: var(--muted); }
.chart__y { left: 20px; top: 16px; }
.chart__x { right: 22px; bottom: 12px; }
.chart__legend { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 18px; font-size: var(--step-small); }
.chart__legend p { display: flex; align-items: center; gap: 10px; }
.key { display: inline-block; width: 28px; height: 4px; border-radius: 4px; }
.key--pm { background: linear-gradient(90deg, var(--blue), var(--red)); } /* taste-skill-ignore: matches the chart line */
.key--base { background: repeating-linear-gradient(90deg, #7c8296 0 6px, #0000 6px 11px); } /* taste-skill-ignore: a dashed legend key */
.chart__note { margin-top: 10px; font-size: var(--step-small); color: var(--muted); max-width: 70ch; }
@media (prefers-reduced-motion: no-preference) {
  .js .chart .chart__area { opacity: 0; transition: opacity 1200ms ease 900ms; }
  .js .chart.is-in .chart__area { opacity: 1; }
  .js .chart .mark-dot { transform: scale(0.2); transition: transform 700ms var(--ease-spring); transition-delay: var(--delay, 0ms); }
  .js .chart .mark-dot b { opacity: 0; translate: 0 10px; transition: opacity 400ms ease, translate 600ms var(--ease-expo); transition-delay: calc(var(--delay, 0ms) + 120ms); }
  .js .chart.is-in .mark-dot { transform: none; }
  .js .chart.is-in .mark-dot b { opacity: 1; translate: 0 0; }
}
.levers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); margin-top: 56px; }
.lever { padding: 26px 28px; border-radius: 22px; background: var(--surface); }
.lever h3 { font-size: var(--step-lead); margin-bottom: 10px; }

/* =====================================================================
   7. CONTACT: the bubble comes back beside the brief
   ===================================================================== */
.contact { padding: var(--section) var(--margin) 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 1fr; column-gap: var(--gutter); }
.contact__intro.wrap { grid-column: 1 / span 7; grid-row: 1; padding: 0; }
.contact__title { font-size: var(--step-display); max-width: 11em; }
.contact__lede { margin-top: 18px; color: #d4d8e3; }
.contact__bubble { grid-column: 1 / span 7; grid-row: 2; justify-self: center; align-self: center; width: min(44svh, 30vw); aspect-ratio: 1; margin-top: 32px; }
.brief {
  grid-column: 8 / span 5; grid-row: 1 / span 2; align-self: center;
  padding: 32px; border-radius: var(--radius); background: var(--surface);
  display: grid; gap: 14px;
}
.brief__h { font-size: var(--step-head); margin-bottom: 6px; }
.brief__label { font-size: var(--step-small); font-weight: 600; color: var(--muted); }
.field { width: 100%; min-height: 3.25rem; padding: 0 1.2rem; border: 0; border-radius: 999px; background: var(--surface-2); color: var(--ink); font-size: max(1rem, var(--step-body)); transition: background-color var(--t-hover) ease, box-shadow var(--t-hover) ease; }
.field::placeholder { color: #8a8fa0; }
.field:focus { background: var(--surface-3); outline: 2px solid #3d8bff99; outline-offset: 0; }
.brief__live { min-height: 3em; }
.brief__live.is-new { animation: live-in 520ms var(--ease-out); }
@keyframes live-in { from { opacity: 0; transform: translateY(8px); } }
.brief__rows { display: grid; gap: 8px; margin: 2px 0 8px; }
.brief__rows div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.brief__rows dt { color: var(--muted); }
.brief__rows dd { text-align: right; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.brief__rows a, .brief__alt a { text-underline-offset: 0.2em; }
.brief__alt { font-size: var(--step-small); color: var(--muted); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.foot { min-height: 64svh; margin-top: clamp(5rem, 8vw, 8rem); display: grid; grid-template-rows: auto 1fr auto auto; padding: 40px var(--margin) 20px; background: linear-gradient(to bottom, #07080c00, var(--bg) 120px); } /* taste-skill-ignore: lets the room fade out under the footer */
.foot__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 32px; }
.foot__cols > div { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.foot__cols a, .foot__cols span { color: var(--muted); overflow-wrap: anywhere; text-decoration: none; }
.foot__h { font-size: var(--step-body); font-weight: 650; letter-spacing: 0; margin-bottom: 4px; }
.foot__mark { grid-row: 3; align-self: end; transform-origin: 50% 100%; }
.foot__mark svg { width: 100%; height: auto; overflow: visible; }
.foot__mark text { fill: var(--ink); font-family: var(--font); font-weight: 800; font-stretch: 150%; font-size: 148px; }
.foot__legal { grid-row: 4; margin-top: 20px; font-size: var(--step-small); color: var(--muted); max-width: none; }

/* =====================================================================
   Section entrances
   ===================================================================== */
[data-lines] .line { display: block; overflow: clip; padding-bottom: 0.1em; margin-bottom: -0.1em; }
[data-lines] .line > span { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms + 60ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .neon[data-reveal] { transform: translateY(40px) rotate(var(--tilt, -3deg)); }
  .js .neon[data-reveal].is-in { transform: none; }
  .js .neon--late { --tilt: 3deg; }
  .is-split .line > span { transform: translateY(110%); }
  .is-split.is-in .line > span { transform: none; transition: transform 900ms var(--ease-expo) calc(var(--i) * 90ms); }
  .js .brief { opacity: 0; transform: translateY(40px) scale(0.96); transition: opacity 700ms var(--ease-out), transform 1000ms var(--ease-spring); }
  .js .brief.is-in { opacity: 1; transform: none; }
  .js .info { opacity: 0; transform: translateY(20px); transition: opacity 700ms var(--ease-out) 500ms, transform 900ms var(--ease-expo) 500ms; }
  .js .info.is-in { opacity: 1; transform: none; }
}

/* =====================================================================
   Smaller screens
   ===================================================================== */
@media (max-width: 1100px) {
  .bar { grid-template-columns: auto 1fr auto; }
  .bar__nav { justify-self: center; gap: 1.3rem; }
}
@media (max-width: 900px) {
  .hero { height: auto; min-height: 100svh; display: flex; flex-direction: column; padding: 92px 0 28px; }
  .hero__bubble { position: relative; left: auto; top: auto; transform: none; width: min(80vw, 46svh); margin: 0 auto; }
  .hero__hint { display: none; }
  .hero__copy { position: static; margin: 44px var(--margin) 0; }
  .hero__act { position: static; margin: 24px var(--margin) 0; flex-wrap: wrap; }
  .bar { display: flex; gap: 12px; }
  .bar__nav { display: none; }
  .bar__cta { margin-left: auto; }
  .bar__menu { display: block; }
  .work__head, .reel__head, .process__head, .growth__head { display: block; }
  .work__lede, .reel__lede, .process__lede, .growth__lede { margin-top: 14px; }
  .info { grid-template-columns: 1fr; }
  .info__side { justify-items: start; }
  .info__made { text-align: left; }
  .about__panel { display: flex; flex-direction: column; gap: 40px; min-height: 0; }
  .about__people { order: 3; width: 100%; margin-top: 8px; }
  .about__text { gap: 32px; }
  .steps__line { left: 9px; }
  .step { grid-template-columns: 1fr; padding: 12px 0; }
  .step + .step { margin-top: 0; }
  .step__node { left: 9px; }
  .step:nth-child(odd) .step__card, .step:nth-child(even) .step__card { grid-column: 1; justify-self: stretch; width: auto; margin: 0 0 0 40px; }
  .levers { grid-template-columns: 1fr; }
  .contact { display: flex; flex-direction: column; }
  .contact__bubble { width: min(64vw, 340px); margin: 32px auto; }
  .brief { width: 100%; }
  .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .bar { padding-block: 14px; }
  .bar .mark__name { display: none; }
  .bar__cta { min-height: 2.6rem; padding: 0 1rem; }
  .hero__title { font-stretch: 112%; font-size: 1.95rem; }
  .about__statement, .contact__title { font-stretch: 112%; font-size: 1.9rem; }
  .ring { --cw: min(23vw, 120px); --orbit: 32vw; perspective: 1000px; }
  .ring__bubble { width: 84vw; }
  .reel__stage { overflow: visible; margin-bottom: 76px; border-radius: 18px; }
  .reel__window { border-radius: 18px; }
  .reel__ui { left: 0; bottom: auto; top: calc(100% + 14px); }
  .reel__cap { padding-inline: 0; background: none; }
  .chart__frame { aspect-ratio: 1000 / 640; }
  .mark-dot b { display: none; }
  .chart__stages { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
  .chart__stages li { padding: 5px 12px; border-radius: 999px; background: var(--surface-2); font-size: var(--step-small); font-weight: 550; }
  .chart__stages li:last-child { background: var(--red); color: #fff; }
  .chart__y { left: 14px; top: 10px; }
  .chart__x { right: 14px; bottom: 8px; }
  .brief { padding: 24px; }
  .foot__cols > div:first-child { grid-column: 1 / -1; }
  .foot__cols a, .foot__cols span { overflow-wrap: normal; }
  .steps { margin-top: 32px; }
  .about__people { gap: 12px; }
}


/* =====================================================================
   Hover pop: things you can point at lift toward you
   ===================================================================== */
.bar__pill { position: absolute; left: 0; top: 50%; z-index: -1; height: 2.3rem; width: var(--pw, 60px); margin-top: -1.15rem; border-radius: 999px; background: var(--surface-3); opacity: 0; transform: translateX(var(--px, 0px)) scale(0.6); pointer-events: none; }
.bar__nav a { position: relative; display: inline-block; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .bar__pill { transition: transform 520ms var(--ease-spring), width 520ms var(--ease-spring), opacity 220ms ease; }
  .bar__nav.is-pointing .bar__pill { opacity: 1; transform: translateX(var(--px, 0px)) scale(1); }
  .bar__nav a { transition: color var(--t-hover) ease, transform 420ms var(--ease-spring); }
  .bar__nav a:hover { color: var(--ink); transform: translateY(-2px) scale(1.08); }
  .mark__tile { transition: transform 520ms var(--ease-spring); }
  .mark:hover .mark__tile { transform: rotate(-10deg) scale(1.14); }
  .button { transition: transform 420ms var(--ease-spring), background-color var(--t-hover) ease, color var(--t-hover) ease; }
  .button:hover { transform: translateY(-3px) scale(1.04); }
  .button:active { transform: scale(0.96); }
  .icon-btn { transition: background-color var(--t-hover) ease, transform 420ms var(--ease-spring); }
  .icon-btn:hover { transform: scale(1.12); }
  .chips li { transition: transform 420ms var(--ease-spring), background-color var(--t-hover) ease; }
  .chips li:hover { transform: translateY(-3px) scale(1.06); }
  .foot__cols a { transition: color var(--t-hover) ease, transform 420ms var(--ease-spring); }
  .foot__cols a:hover { transform: translateX(6px); }

  /* cards and portraits: lift, grow a touch, tilt after the pointer, and catch the blue and red light */
  .pop { transform-style: preserve-3d; will-change: transform; }
  .js .pop.is-in:hover, .js .step.is-lit .pop:hover, .pop.chart__frame:hover, .pop.about__block:hover, .js .pop.svc__item.is-in:hover {
    transform: perspective(900px) translateY(-10px) scale(1.035) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transition: transform 520ms var(--ease-spring), opacity 500ms ease;
  }
  .step__card.pop, .lever.pop, .brief.pop, .chart__frame.pop {
    background-image: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), #3d8bff1f, #ff33550f 45%, #0000 70%); /* taste-skill-ignore: the light under the pointer */
  }
  .step__card.pop:hover, .lever.pop:hover, .brief.pop:hover {
    box-shadow: -18px 18px 60px -30px #3d8bffaa, 18px 18px 60px -30px #ff3355aa; /* taste-skill-ignore: the pop, only under the pointer */
  }
  .neon.pop:hover .neon__tag { transform: translateY(-4px) scale(1.08); }
  .neon__tag { transition: transform 420ms var(--ease-spring); }
  .lever.pop, .about__block.pop, .chart__frame.pop { transition: transform 600ms var(--ease-spring); }
  .step:hover .step__node { transform: scale(1.6); }
  .about__block.pop:hover h3 { color: #b9d3ff; }
  .mark-dot { transition: transform 420ms var(--ease-spring); }
}

/* =====================================================================
   Service pages and links
   ===================================================================== */
.chip-link { display: inline-flex; align-items: center; min-height: 2.25rem; padding: 0 14px; margin: 0 6px 8px 0; border-radius: 999px; background: var(--surface-2); font-size: var(--step-small); font-weight: 600; text-decoration: none; transition: background-color var(--t-hover) ease, transform 420ms var(--ease-spring); }
.about__links { display: flex; flex-wrap: wrap; }
@media (hover: hover) and (pointer: fine) { .chip-link:hover { background: var(--surface-3); transform: translateY(-3px) scale(1.05); } }
.svc { position: relative; z-index: 1; }
.svc__hero { min-height: 92svh; display: flex; flex-direction: column; justify-content: center; padding-top: 110px; }
.svc__crumbs { font-size: var(--step-small); color: var(--muted); margin-bottom: 22px; }
.svc__crumbs a { text-decoration: none; color: var(--ink); }
.svc__heroGrid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gutter); align-items: center; }
.svc__title { font-size: var(--step-display); max-width: 12em; }
.svc__lede { margin-top: 20px; font-size: var(--step-lead); line-height: 1.4; color: #d4d8e3; max-width: 34ch; }
.svc__act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.svc__bubble { width: min(100%, 52svh); aspect-ratio: 1; justify-self: center; }
.svc__block { padding-top: var(--section); }
.svc__grid, .svc__steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); margin-top: 40px; }
.svc__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.svc__item { padding: 26px 28px; border-radius: 22px; background: var(--surface); }
.svc__item h3 { font-size: var(--step-lead); margin-bottom: 10px; }
.svc__example { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.svc__poster { border-radius: 22px; overflow: clip; max-width: 340px; aspect-ratio: 9 / 16; background: #000; }
.svc__poster img { width: 100%; height: 100%; object-fit: cover; }
.svc__p { margin-top: 16px; }
.svc__example .button { margin-top: 26px; }
.faq { margin-top: 32px; display: grid; gap: 10px; max-width: 860px; }
.faq__item { border-radius: 18px; background: var(--surface); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { font-size: var(--step-body); font-weight: 650; letter-spacing: 0; line-height: 1.35; }
.faq__icon { position: relative; flex: none; width: 14px; height: 14px; }
.faq__icon::before, .faq__icon::after { content: ''; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 400ms var(--ease-spring); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__item p { padding: 0 24px 22px; color: #d4d8e3; }
.svc__ctaTitle { font-size: var(--step-display); max-width: 11em; }
.svc__more { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; max-width: none; }
.svc__more .muted { margin-right: 12px; margin-bottom: 8px; font-size: var(--step-small); }
@media (max-width: 900px) {
  .svc__heroGrid, .svc__example { grid-template-columns: 1fr; }
  .svc__bubble { order: -1; width: min(70vw, 340px); }
  .svc__hero { min-height: 0; padding-top: 96px; }
  .svc__grid, .svc__steps { grid-template-columns: 1fr; }
  .svc__poster { max-width: 260px; }
}
@media (max-width: 760px) { .svc__title, .svc__ctaTitle { font-stretch: 112%; font-size: 1.9rem; } }

@media (max-width: 380px) {
  .hero__title { font-size: 1.68rem; }
  .about__statement, .contact__title, .svc__title, .svc__ctaTitle { font-size: 1.65rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .neon::before, .neon::after { animation: none; }
}
