/* Rivers Glass Productions — prototype styles.
   Tokens are lifted from the current portfolio build (see brief §3.3–3.5). */

:root {
  --ink: #000;
  --char: #252525;
  --panel: #0b0b0d;
  --bone: #ede7dd;
  --bone-2: rgba(237, 231, 221, 0.58);
  --bone-3: rgba(237, 231, 221, 0.55);
  --bone-4: rgba(237, 231, 221, 0.16);
  --signal: #247fff;
  --signal-sm: #368aff;
  --signal-2: rgba(36, 127, 255, 0.55);
  --signal-3: rgba(36, 127, 255, 0.22);
  --refract: #8fb4ff;
  --deep: #060b2a;
  --line: rgba(237, 231, 221, 0.13);
  --line-2: rgba(237, 231, 221, 0.24);
  --line-sig: rgba(36, 127, 255, 0.45);
  --warn: #ffbe50;

  --disp: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --text: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --fs-d0: clamp(120px, 16.4vw, 236px);
  --fs-d1: clamp(44px, 6.1vw, 88px);
  --fs-num: clamp(72px, 8.2vw, 118px);
  --fs-deck: clamp(18px, 1.5vw, 22px);
  --fs-body: 16px;
  --fs-meta: 12px;   /* Michael, 2026-09-03: labels up from 10.5px */

  --margin: clamp(20px, 5.3vw, 76px);
  --inset: clamp(0px, 2.2vw, 32px);     /* content sits this far inside the rails, both sides, every section */
  --gutter: clamp(14px, 1.7vw, 24px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --t-focus: 0.9s;
  --t-micro: 0.2s;
}

* { box-sizing: border-box; }
html { background: var(--ink); scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--text);
  font-weight: 300;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover, a:focus-visible { color: var(--signal-sm); }
:focus-visible { outline: 2px solid var(--signal-sm); outline-offset: 3px; border-radius: 2px; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* type roles */
.disp { font-family: var(--disp); text-transform: uppercase; line-height: 0.88; letter-spacing: -0.02em; margin: 0; }
.mono { font-family: var(--mono); font-size: var(--fs-meta); letter-spacing: 0.14em; text-transform: uppercase; color: var(--bone-3); line-height: 1.4; margin: 0; }
.mono--bone { color: var(--bone); }
.mono--sig { color: var(--signal-sm); }
.mono--lg { font-size: 14px; }
.text { margin: 0; font-size: var(--fs-body); color: rgba(237, 231, 221, 0.72); }
.rule { height: 1px; background: var(--line); }

.pill {
  display: inline-flex; align-items: center; gap: 12px; height: 48px; padding: 0 22px;
  border: 1px solid var(--bone); border-radius: 999px; color: var(--bone);
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  transition: border-color var(--t-micro) var(--ease), color var(--t-micro) var(--ease), background var(--t-micro) var(--ease);
}
.pill:hover, .pill:focus-visible { border-color: var(--signal-sm); color: var(--bone); background: rgba(36, 127, 255, 0.1); }
.pill .arrow { color: var(--signal); }
.pill--sm { height: 36px; padding: 0 16px; }
.pill--sig { border-color: var(--signal); }

.tag {
  display: inline-block; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 8px; border: 1px solid rgba(255, 190, 80, 0.6); color: var(--warn); border-radius: 3px;
}

/* page frame: two hairline rails like the portfolio */
.page { position: relative; overflow-x: clip; }  /* clips the wide glow horizontally without creating a scroll container, so sticky still works */
.page > main { position: relative; z-index: 1; }
.page > .nav { z-index: 20; }
.page::before, .page::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(237, 231, 221, 0.06); pointer-events: none;
}
.page::before { left: var(--margin); }
.page::after { right: var(--margin); }

.wrap { padding-left: calc(var(--margin) + var(--inset)); padding-right: calc(var(--margin) + var(--inset)); }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 20; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(0, 0, 0, 0.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__mark { display: flex; align-items: center; gap: 10px; padding: 14px 0; }
.nav__glyph { width: 8px; height: 8px; border: 1px solid var(--signal); }
.nav__links { display: flex; gap: 40px; }
.nav__links a { font-family: var(--mono); font-size: var(--fs-meta); letter-spacing: 0.14em; text-transform: uppercase; color: var(--bone); padding: 13px 0; }
.nav__links a[aria-current="true"] { color: var(--signal-sm); }
.nav__right { display: flex; align-items: center; gap: 24px; }

/* ---------- screen 1: hero ---------- */
.hero { position: relative; padding-top: clamp(40px, 5vh, 56px); padding-bottom: 24px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: var(--gutter); align-items: start; }
.hero__label { display: flex; gap: 24px; align-items: center; }
.hero__word { font-size: var(--fs-d0); font-variation-settings: "wdth" 62, "wght" 800; }
.hero__word--glass { color: var(--signal); }
.hero__productions { display: flex; align-items: center; gap: 18px; margin-top: 16px; }
.hero__productions .disp { font-size: clamp(20px, 2.6vw, 38px); font-variation-settings: "wdth" 84, "wght" 600; letter-spacing: 0.26em; }
.hero__copy { margin-top: clamp(20px, 3vh, 32px); max-width: 560px; }
.hero__copy .text { font-size: var(--fs-deck); color: rgba(237, 231, 221, 0.85); max-width: 520px; }
.hero__cta { display: flex; align-items: center; gap: 28px; margin-top: 28px; flex-wrap: wrap; }
.hero__cta-note a { display: block; margin-top: 4px; }

.hero__side { position: relative; display: flex; flex-direction: column; align-items: flex-end; }
/* the stage is 140px taller than the lens so the head can rise above the rim while overflow stays clipped */
.lens-stage { position: relative; width: min(100%, 500px); aspect-ratio: 544 / 660; overflow: clip; margin-top: -84px; z-index: 1; }
/* the glow lives outside the clipped stage so nothing cuts it; it mirrors the stage's box and the lens's position */
.lens-glow-stage { position: absolute; right: 0; top: -84px; width: min(100%, 500px); aspect-ratio: 544 / 660; pointer-events: none; z-index: 0; }
/* one continuous radial falloff centred on the lens (54.2% / 59.85% of the stage), no stacked shadows, no rings */
.lens-glow { position: absolute; left: 54.2%; top: 59.85%; width: 170%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(circle,
    rgba(36, 127, 255, 0.34) 0%, rgba(36, 127, 255, 0.30) 24%, rgba(36, 127, 255, 0.22) 30%, rgba(36, 127, 255, 0.14) 36%,
    rgba(36, 127, 255, 0.085) 42%, rgba(36, 127, 255, 0.045) 48%, rgba(36, 127, 255, 0.02) 55%, rgba(36, 127, 255, 0.006) 62%, rgba(36, 127, 255, 0) 70%); }
.lens {
  position: absolute; left: 11%; top: 24.24%; width: 86.4%; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(143, 180, 255, 0.7);
  box-shadow: inset 0 0 70px rgba(36, 127, 255, 0.16);
  background: radial-gradient(circle at 38% 32%, rgba(143, 180, 255, 0.14), rgba(6, 11, 42, 0.5) 55%, rgba(0, 0, 0, 0.9) 100%);
}
/* the portrait arrives soft and pulls into focus (the site's one optical moment on load) */
.hero .portrait { filter: blur(7px); transition: filter 1.4s var(--ease) 0.25s; }
.hero.is-focused .portrait { filter: blur(0); }
/* chromatic rim: two hairline rings split by a pixel, blue one side and refract the other */
.lens::before, .lens::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid transparent; pointer-events: none; }
.lens::before { border-color: rgba(36, 127, 255, 0.55); transform: translateX(-1.5px); }
.lens::after { border-color: rgba(143, 180, 255, 0.5); transform: translateX(1.5px); }

/* One portrait, one mask: the lens circle plus a head-shaped ellipse that rises above the rim.
   Mask geometry is in the image's own box (900 x 636 over a 544 x 660 stage): lens centre (52%, 62.1%) radius 235px;
   head ellipse centred (52%, 34%) so hair and dreads leave the circle along a curve, never a straight cut. */
.portrait {
  position: absolute; left: -31.8%; top: 0; width: 165.4%; max-width: none; height: auto; z-index: 1;
  pointer-events: none; user-select: none;
  -webkit-mask-image: radial-gradient(ellipse 26.1% 36.95% at 52% 62.1%, #000 99.4%, transparent 100%), radial-gradient(ellipse 15.5% 25% at 52% 34%, #000 99%, transparent 100%);
  mask-image: radial-gradient(ellipse 26.1% 36.95% at 52% 62.1%, #000 99.4%, transparent 100%), radial-gradient(ellipse 15.5% 25% at 52% 34%, #000 99%, transparent 100%);
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-composite: source-over; mask-composite: add;
}
.lens-stage .mono { position: absolute; }
.lens-stage .mono--subject { left: 11%; top: 21.2%; }
.lens-stage .mono--aperture { right: 2.5%; bottom: 1%; }

.services-list { width: min(100%, 364px); margin-top: 8px; }
.services-list__row {
  display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line);
}
.services-list__row:first-child { border-top-color: var(--line-2); }
.services-list__row:last-child { border-bottom: 1px solid var(--line-2); }
.services-list__row .disp { font-size: clamp(20px, 1.8vw, 26px); font-variation-settings: "wdth" 76, "wght" 700; }

/* studio line */
.studio {
  display: grid; grid-template-columns: 120px minmax(0, 560px) minmax(0, 1fr); gap: 40px; align-items: baseline;
  border-top: 1px solid var(--line); padding-top: 20px; margin-top: clamp(16px, 2vh, 24px); padding-bottom: 20px;
}
.studio__line { font-size: clamp(24px, 2.4vw, 34px); font-variation-settings: "wdth" 70, "wght" 750; }
.focus-word { display: inline-block; transition: filter var(--t-focus) var(--ease), color var(--t-focus) var(--ease), opacity var(--t-focus) var(--ease); }
.focus-word--soft { color: rgba(237, 231, 221, 0.62); filter: blur(4px); opacity: 0.85; }
.focus-word--focal { color: var(--signal); filter: blur(6px); opacity: 0.7; }
.is-focused .focus-word--soft { filter: blur(0); opacity: 1; color: rgba(237, 231, 221, 0.75); }
.is-focused .focus-word--focal { filter: blur(0); opacity: 1; }
/* studio line (Michael, 2026-09-03): only "potential" resolves; the rest of the sentence stays out of focus */
.studio .focus-word--soft, .studio.is-focused .focus-word--soft { filter: blur(1.6px); opacity: 0.9; color: rgba(237, 231, 221, 0.7); }

/* ---------- screen 2: services + impact ---------- */
.services { background: rgba(237, 231, 221, 0.02); padding-top: 32px; padding-bottom: 28px; }
.services__head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--gutter); }
.services__title { font-size: var(--fs-d1); font-variation-settings: "wdth" 66, "wght" 800; margin-top: 14px; }
.services__lede { width: min(100%, 380px); }
/* asymmetric mosaic: identity wide on top, product tall on the right, web low and wide below identity */
.services__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: minmax(272px, auto) minmax(200px, auto); gap: var(--gutter); margin-top: 28px; }
.card--identity { grid-column: 1 / 8; grid-row: 1; }
.card--product { grid-column: 8 / 13; grid-row: 1 / 3; border-radius: 30px; background: linear-gradient(180deg, #070c1f 0%, #05070f 100%); border-color: rgba(36, 127, 255, 0.3); }
.card--web { grid-column: 1 / 8; grid-row: 2; background: transparent; border-radius: 12px; border-color: var(--line-2); }
.card {
  position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 22px 28px; min-height: 0;
  overflow: hidden; container-type: inline-size;
  transition: border-color 0.5s var(--ease), transform 0.6s var(--ease);
}
.card:hover { border-color: var(--line-sig); }
.card__top { display: flex; justify-content: space-between; gap: 12px; }
.card__top .mono:last-child { text-align: right; }
.card__body, .card__text { display: block; }
.card__title { font-size: clamp(26px, 3vw, 44px); font-variation-settings: "wdth" 70, "wght" 750; margin-top: 16px; }
.card--identity .card__title { max-width: 52%; }
.card--product .card__title { max-width: 100%; }
.card--product .card__desc { max-width: 100%; }
.card--web .card__title { max-width: 48%; }
.card--product .card__title { font-size: clamp(30px, 3vw, 44px); }
.card__top .mono { font-size: clamp(10px, 0.85vw, 12px); }
.card__desc { margin-top: 14px; max-width: min(250px, 50%); font-size: clamp(12.5px, 1vw, 14.5px); }
.card--web .card__desc { max-width: 46%; }
.card__caps { position: absolute; left: 28px; right: 28px; bottom: 24px; }

/* ---- 01 identity system: one frame, four states, crossfade through focus ---- */
.idsys { position: absolute; right: 24px; bottom: 20px; width: clamp(150px, 42cqw, 200px); }
.idsys__frame { position: relative; width: 100%; aspect-ratio: 200 / 160; border: 1px solid var(--line-sig); background: rgba(0, 0, 0, 0.4); overflow: hidden; }
.idsys__tick { position: absolute; width: 10px; height: 10px; border-color: var(--refract); border-style: solid; border-width: 0; opacity: 0.8; }
.idsys__tick--tl { left: -1px; top: -1px; border-left-width: 1px; border-top-width: 1px; }
.idsys__tick--tr { right: -1px; top: -1px; border-right-width: 1px; border-top-width: 1px; }
.idsys__tick--bl { left: -1px; bottom: -1px; border-left-width: 1px; border-bottom-width: 1px; }
.idsys__tick--br { right: -1px; bottom: -1px; border-right-width: 1px; border-bottom-width: 1px; }
.idsys__state {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; padding: 16px;
  opacity: 0; filter: blur(8px); transform: scale(0.98); transition: opacity 0.7s var(--ease), filter 0.7s var(--ease), transform 0.7s var(--ease); pointer-events: none;
}
.idsys__state.is-active { opacity: 1; filter: blur(0); transform: none; }
.idsys__mark { font-size: clamp(64px, 44cqw, 88px); font-variation-settings: "wdth" 62, "wght" 800; }
.idsys__word { font-size: clamp(30px, 20cqw, 40px); font-variation-settings: "wdth" 62, "wght" 800; line-height: 0.86; }
.idsys__word--blue { color: var(--signal); }
.idsys__word-sub { color: var(--bone); letter-spacing: 0.3em; margin-top: 6px; }
.idsys__type { display: flex; align-items: baseline; gap: 12px; width: 100%; border-bottom: 1px solid var(--line); padding-bottom: 4px; font-variation-settings: "wdth" 62, "wght" 800; line-height: 1; }
.idsys__type .mono { margin-left: auto; }
.idsys__type--text { font-family: var(--text); font-weight: 300; font-size: 18px; text-transform: none; letter-spacing: 0; border-bottom: 0; }
.idsys__swatches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: 100%; height: 100%; }
.idsys__swatches > div { display: flex; align-items: flex-end; padding: 8px; border-radius: 4px; }
.idsys__swatches .mono { font-size: 8.5px; letter-spacing: 0.1em; }
.idsys__legend { display: flex; justify-content: space-between; margin-top: 6px; margin-left: -6px; margin-right: -6px; }
.idsys__legend button { color: var(--bone-3); padding: 16px 6px; margin: -8px 0; min-width: 44px; text-align: center; font-size: 8.5px; transition: color var(--t-micro) var(--ease); }
.idsys__legend button.is-active, .idsys__legend button:hover { color: var(--signal-sm); }

/* ---- 02 product: a working interval timer at phone scale ---- */
.phone {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: clamp(120px, 30cqw, 142px); aspect-ratio: 132 / 224; border-radius: 26px;
  border: 1px solid rgba(237, 231, 221, 0.3); background: var(--ink); padding: 32px 11px 11px; display: flex; flex-direction: column;
}
.phone__island {
  position: absolute; left: 50%; top: 9px; transform: translateX(-50%); height: 18px; padding: 0 8px; border-radius: 999px; background: #0b0b0d; border: 1px solid rgba(237, 231, 221, 0.12);
  display: flex; align-items: center; gap: 6px; width: 56px; justify-content: center; transition: width 0.4s var(--ease), background 0.4s var(--ease);
}
.phone__island .mono { font-size: 8px; letter-spacing: 0.06em; opacity: 0; transition: opacity 0.3s var(--ease); }
.phone__island-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--bone-4); }
.phone.is-running .phone__island { width: 84px; }
.phone.is-running .phone__island .mono { opacity: 1; color: var(--signal-sm); }
.phone.is-running .phone__island-dot { background: var(--signal); }
.phone__label { font-size: 8px; }
.phone__time { font-family: var(--text); font-weight: 500; font-size: clamp(20px, 16cqw, 24px); color: var(--signal); margin: 8px 0 0; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1; }
.phone__bar { margin-top: 10px; height: 2px; background: var(--line); overflow: hidden; }
.phone__bar span { display: block; height: 2px; width: 0; background: var(--signal); }
.phone__laps { list-style: none; margin: 6px 0 0; padding: 0; flex: 1; font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.06em; color: var(--bone-3); font-variant-numeric: tabular-nums; overflow: hidden; }
.phone__laps li { display: flex; justify-content: space-between; padding: 2px 0; border-top: 1px solid var(--line); }
.phone__laps li:first-child { color: var(--bone); }
.phone__btns { display: flex; gap: 6px; margin-top: 6px; }
.phone__btn {
  flex: 1; height: 44px; border-radius: 8px; border: 1px solid rgba(237, 231, 221, 0.3); color: var(--bone);
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; transition: background var(--t-micro) var(--ease), border-color var(--t-micro) var(--ease);
}
.phone__btn:hover { border-color: var(--bone); }
.phone__btn--go { background: var(--signal); border-color: var(--signal); color: #000; }
.phone__btn--go:hover { background: var(--signal-sm); }
.phone.is-running .phone__btn--go { background: transparent; color: var(--signal-sm); }

/* ---- 03 web: three page layers spread as the card enters, tilt to the pointer ---- */
.layers { position: absolute; left: 52%; right: 28px; bottom: 22px; height: 92px; perspective: 900px; }
.layers__frame {
  position: absolute; left: 0; top: 0; width: clamp(150px, 30cqw, 200px); height: 92px; border-radius: 8px; padding: 10px 12px; box-sizing: border-box;
  border: 1px solid rgba(237, 231, 221, 0.2); background: var(--ink);
  transform: translate3d(calc(var(--spread, 0) * var(--dx)), calc(var(--spread, 0) * var(--dy)), 0) rotateX(calc(var(--ty, 0) * 1deg)) rotateY(calc(var(--tx, 0) * 1deg));
  transition: transform 0.9s var(--ease), border-color 0.5s var(--ease);
}
.layers__frame .mono { position: absolute; right: 10px; top: 8px; font-size: 8px; }
.layers__frame--1 { --dx: 0px; --dy: 0px; }
.layers__frame--1 i { display: block; height: 6px; border-radius: 2px; background: rgba(237, 231, 221, 0.12); margin-top: 8px; width: 60%; }
.layers__frame--1 i:first-of-type { margin-top: 16px; width: 40%; }
.layers__frame--1 i:last-of-type { width: 75%; }
.layers__frame--2 { --dx: clamp(22px, 6cqw, 44px); --dy: -14px; border-color: rgba(143, 180, 255, 0.45); background: var(--deep); }
.layers__frame--2 .disp { position: absolute; left: 12px; bottom: 12px; font-size: 22px; font-variation-settings: "wdth" 62, "wght" 800; }
.layers__frame--2 b { color: var(--signal); font-weight: inherit; }
.layers__frame--3 { --dx: clamp(44px, 12cqw, 88px); --dy: -28px; border-color: var(--signal); background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(2px); }
.layers__ring { position: absolute; left: 14px; bottom: 10px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--refract); box-shadow: 0 0 22px rgba(36, 127, 255, 0.35); }
.layers__ring::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 1px solid rgba(143, 180, 255, 0.4); }
.card--web:hover .layers__frame--3 { border-color: var(--refract); }

/* impact module */
.impact {
  margin-top: 16px; display: grid; grid-template-columns: 160px minmax(0, 1fr) 340px;
  border: 1px solid rgba(36, 127, 255, 0.35); border-radius: 18px; background: var(--ink); min-height: 156px;
}
.impact__col { padding: 22px 26px; display: flex; flex-direction: column; justify-content: space-between; }
.impact__col--left { border-right: 1px solid var(--line); }
.impact__col--right { border-left: 1px solid var(--line); }
.impact__stage { position: relative; padding: 18px 32px; display: flex; align-items: center; gap: 36px; overflow: hidden; }
.impact__slide { position: absolute; inset: 0; padding: 18px 32px; display: flex; align-items: center; gap: 24px 36px; flex-wrap: wrap; opacity: 0; transform: translate3d(0, 10px, 0); filter: blur(8px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), filter 0.7s var(--ease); pointer-events: none; }
.impact__slide.is-active { opacity: 1; transform: none; filter: blur(0); pointer-events: auto; position: relative; }
.impact__num { font-size: clamp(64px, 7.4vw, 118px); font-variation-settings: "wdth" 62, "wght" 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.impact__label { font-size: clamp(18px, 1.6vw, 22px); font-variation-settings: "wdth" 80, "wght" 600; }
.impact__meta { min-width: 0; }
.impact__meta .mono { margin-top: 8px; }
.impact__meta .tag { margin-top: 12px; }
.impact__progress { height: 1px; background: var(--line); overflow: hidden; }
.impact__progress span { display: block; height: 1px; width: 0; background: var(--signal); }
.impact__controls { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.impact__btns { display: flex; gap: 6px; }
.impact__btns button { width: 44px; height: 44px; margin: -12px -6px -12px 0; display: grid; place-items: center; color: var(--bone-3); font-family: var(--mono); font-size: 14px; border-radius: 50%; }
.impact__btns button:hover { color: var(--bone); background: rgba(237, 231, 221, 0.06); }

/* ---------- screen 3: process, proof, close ---------- */
.process { padding-top: 32px; }
.process__head { display: flex; justify-content: space-between; align-items: flex-end; }
.process__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); margin-top: 24px; border-top: 1px solid var(--line-2); }
.step { position: relative; padding-top: 18px; }
.step .mono { font-size: 14px; }
.step__dot { position: absolute; left: 0; top: -4px; width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--signal); }
.step.is-on .step__dot { background: var(--signal); }
.step__title { font-size: clamp(22px, 2.1vw, 30px); font-variation-settings: "wdth" 74, "wght" 700; margin-top: 10px; }

.proof { display: grid; grid-template-columns: minmax(0, 760px) minmax(0, 1fr); gap: 40px; align-items: start; margin-top: 28px; }
.window {
  position: relative; height: 236px; border-radius: 22px; border: 1px solid rgba(143, 180, 255, 0.4); background: var(--deep); overflow: hidden;
  box-shadow: 0 0 80px rgba(36, 127, 255, 0.15);
}
.window__stage { position: absolute; inset: 0; }
.window img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; opacity: 0; filter: blur(8px); transform: scale(1.03); transition: filter 0.9s var(--ease), transform 0.9s var(--ease), opacity 0.6s var(--ease); }
.window img.is-active { opacity: 0.85; }
.window img.is-contain { object-fit: contain; object-position: center; padding: 26px 0; box-sizing: border-box; background: transparent; mix-blend-mode: screen; }
.window img.is-contain.is-active { opacity: 0.72; }
.is-focused .window img.is-active { filter: blur(0); transform: scale(var(--zoom, 1)); transform-origin: var(--origin, 50% 50%); }
.window__nums button { color: var(--bone-3); padding: 12px 6px; margin: -12px -2px; }
.window__nums button.is-active, .window__nums button:hover { color: var(--bone); }
.proof__note .text { transition: opacity 0.4s var(--ease); }
.window__bar { position: absolute; left: 0; right: 0; height: 40px; display: flex; align-items: center; justify-content: space-between; padding: 0 22px; background: rgba(0, 0, 0, 0.6); }
.window__bar--top { top: 0; border-bottom: 1px solid rgba(143, 180, 255, 0.25); }
.window__bar--bottom { bottom: 0; height: 36px; border-top: 1px solid rgba(143, 180, 255, 0.25); }
.window__nums { display: flex; gap: 12px; }
.proof__note { padding-top: 12px; font-size: 22px; }
.proof__outcome { font-size: clamp(40px, 4.4vw, 64px); font-variation-settings: "wdth" 62, "wght" 800; font-variant-numeric: tabular-nums; }
.proof__outcome-label { margin-top: 8px; margin-bottom: 16px; }

.close { margin-top: 32px; border-top: 1px solid var(--line-2); padding-top: 22px; padding-bottom: 28px; }
.close__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: 18px; flex-wrap: wrap; }
.close__statement { font-size: clamp(56px, 7.2vw, 104px); font-variation-settings: "wdth" 62, "wght" 800; }
.close__statement .real { color: var(--signal); display: inline-block; }
.close__statement .focus-word { transition-duration: 1.2s; }
.is-focused .close__statement .focus-word--soft { color: var(--bone); }
.close__actions { display: flex; flex-direction: column; align-items: flex-end; gap: 22px; padding-bottom: 10px; }
.contacts { display: flex; gap: 32px; }
.contacts a, .contacts p { white-space: nowrap; margin-top: 4px; display: block; }
.footer { display: flex; justify-content: space-between; margin-top: 26px; padding-top: 14px; border-top: 1px solid var(--line); }



/* ---------- start-a-project dialog ---------- */
.cta-dialog { border: 1px solid rgba(143, 180, 255, 0.5); border-radius: 18px; background: var(--panel); color: var(--bone); padding: 24px; width: min(92vw, 440px); box-shadow: 0 0 60px rgba(36, 127, 255, 0.18); }
.cta-dialog::backdrop { background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(6px); }
.cta-dialog h2 { font-size: 30px; font-variation-settings: "wdth" 70, "wght" 750; }
.cta-dialog .text { margin-top: 10px; }
.cta-dialog blockquote { margin: 16px 0 0; padding: 14px 16px; border-left: 2px solid var(--signal); background: rgba(36, 127, 255, 0.08); font-size: 14px; color: var(--bone); }
.cta-dialog__btns { display: flex; gap: 12px; margin-top: 18px; }
.cta-dialog__btns a { flex: 1; display: flex; align-items: center; justify-content: center; height: 48px; border-radius: 999px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.cta-dialog__btns .btn-text { background: var(--signal); color: #000; }
.cta-dialog__btns .btn-text:hover { background: var(--signal-sm); color: #000; }
.cta-dialog__btns .btn-mail { border: 1px solid var(--bone); color: var(--bone); }
.cta-dialog__close { position: absolute; right: 14px; top: 14px; width: 44px; height: 44px; display: grid; place-items: center; color: var(--bone-3); font-size: 18px; }
.cta-dialog { position: fixed; inset: 0; margin: auto; height: fit-content; }  /* stays in the top layer where the browser puts it; a relative override made the page jump on open */

/* ---------- pointer depth: --mx/--my (-1..1) are set on :root by main.js; each [data-depth] block drifts by its own --d ---------- */
[data-depth] { --d: 0px; --sy: 0px; transform: translate3d(calc(var(--mx, 0) * var(--d)), calc(var(--my, 0) * var(--d) * 0.7 + var(--sy)), 0); transition: transform 0.9s var(--ease); }

/* ---------- reveal on scroll (keeps its depth) ---------- */
/* a reveal inside a depth block must not inherit the block's depth values, or it moves twice */
.reveal:not([data-depth]) { --d: 0px; --sy: 0px; }
.reveal { opacity: 0; --ry: 18px; transform: translate3d(calc(var(--mx, 0) * var(--d, 0px)), calc(var(--my, 0) * var(--d, 0px) * 0.7 + var(--ry) + var(--sy, 0px)), 0); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-focused { opacity: 1; --ry: 0px; }
.reveal[data-delay="1"] { transition-delay: 0.06s; }
.reveal[data-delay="2"] { transition-delay: 0.12s; }
.reveal[data-delay="3"] { transition-delay: 0.18s; }

/* below the 1440 design width: services drop to two columns, impact loses its right column */
@media (max-width: 1380px) {
  .impact { grid-template-columns: 140px minmax(0, 1fr); }
  .impact__col--right { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); flex-direction: row; align-items: center; gap: 24px; padding: 14px 26px; }
  .impact__col--right > div { flex: 1; }
  .impact__col--right > .mono { max-width: 46%; }
}

/* narrow desktop, tablet, and phone: keep the desktop story, relax the grids (phone sizes follow below) */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__side { align-items: flex-start; margin-top: 64px; }
  .lens-glow-stage { right: auto; left: 0; }
  .lens-stage { width: min(100%, 440px); }
  .studio { grid-template-columns: 1fr; gap: 16px; }
  .services__grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .card--identity, .card--product, .card--web { grid-column: auto; grid-row: auto; min-height: 300px; }
  .card--product { min-height: 420px; }
  .impact { grid-template-columns: 1fr; }
  .impact__col--left { border-right: 0; border-bottom: 1px solid var(--line); flex-direction: row; justify-content: space-between; padding: 14px 26px; }
  .process__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, [data-depth], .focus-word, .lens, .lens-glow, .portrait, .impact__slide, .window img, .layers__frame, .idsys__state, .card { transition: none !important; }
  .idsys__state { filter: none; transform: none; }
  .layers__frame { --spread: 1; }
  .reveal { opacity: 1; --ry: 0px; }
  [data-depth], .reveal { transform: none !important; }
  .focus-word--soft, .focus-word--focal { filter: none; opacity: 1; }
  .hero .portrait { filter: none; transition: none; }
  .focus-word--soft { color: rgba(237, 231, 221, 0.75); }
  .close__statement .focus-word--soft { color: var(--bone); }
  .studio .focus-word--soft { filter: blur(1.6px); opacity: 0.9; color: rgba(237, 231, 221, 0.7); }
  .window img { filter: none; transform: none; }
}

/* ---------- small things from the brief checklist ---------- */
.skip { position: absolute; left: 16px; top: -60px; z-index: 30; padding: 13px 14px; background: var(--signal); color: #000; border-radius: 6px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.skip:focus { top: 12px; color: #000; }
.scroll-hint { position: absolute; left: calc(var(--margin) + var(--inset)); bottom: 14px; display: flex; align-items: center; gap: 10px; transition: opacity 0.6s var(--ease); }
.scroll-hint::before { content: ""; width: 1px; height: 22px; background: var(--signal); animation: hint 1.8s var(--ease-io) infinite; transform-origin: top; }
@keyframes hint { 0% { transform: scaleY(0); opacity: 0; } 40% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1) translateY(10px); opacity: 0; } }
.is-scrolled .scroll-hint { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .scroll-hint::before { animation: none; } }

/* 44px hit areas on small text links and the compact nav pill, without changing their visual size */
.hit { position: relative; }
.hit::after { content: ""; position: absolute; left: -4px; right: -4px; top: 50%; height: 44px; transform: translateY(-50%); }

/* ---------- background facets: canvas field drawn by prism.js; sits behind everything ---------- */
.prism { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 0.9s var(--ease); }
.prism.is-ready { opacity: 1; }
/* the field runs on touch screens too (prism.js draws at 1x there and with smaller panes) */

/* ---------- glass panes: on hover a specular highlight follows the pointer, a sheen sweeps once, the pane tilts a little ---------- */
.pane { position: relative; overflow: hidden; transition: transform 0.6s var(--ease), border-color 0.4s var(--ease), box-shadow 0.6s var(--ease); }
.pane .glass { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 5; opacity: 0; transition: opacity 0.4s var(--ease); }
.pane .glass::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(143, 180, 255, 0.16), rgba(36, 127, 255, 0.06) 38%, transparent 62%);
}
.pane .glass::after {
  content: ""; position: absolute; top: -40%; bottom: -40%; left: -60%; width: 60%;
  background: linear-gradient(105deg, transparent 0%, rgba(237, 231, 221, 0.08) 45%, rgba(237, 231, 221, 0.13) 50%, rgba(237, 231, 221, 0.08) 55%, transparent 100%);
  transform: translateX(0) skewX(-12deg); opacity: 0;
}
.pane.is-hover .glass { opacity: 1; }
.pane.is-hover .glass::after { animation: sheen 1.15s var(--ease) forwards; }
@keyframes sheen { 0% { opacity: 0; transform: translateX(0) skewX(-12deg); } 15% { opacity: 1; } 100% { opacity: 0; transform: translateX(380%) skewX(-12deg); } }
.pane.is-hover {
  border-color: rgba(143, 180, 255, 0.5);
  box-shadow: 0 0 0 1px rgba(143, 180, 255, 0.12), 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 50px rgba(36, 127, 255, 0.12);
  transform: perspective(1400px) rotateX(calc(var(--ry, 0) * 1deg)) rotateY(calc(var(--rx, 0) * 1deg)) translate3d(0, -2px, 0);
}
.pane.is-hover .card__top, .pane.is-hover .card__title { text-shadow: 0 0 24px rgba(36, 127, 255, 0.25); }
@media (prefers-reduced-motion: reduce) {
  .pane, .pane .glass { transition: none; }
  .pane.is-hover { transform: none; }
  .pane.is-hover .glass::after { animation: none; }
}

/* ---------- services: one stage, three scenes ---------- */
.svc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); margin-top: 28px; align-items: stretch; }
.svc__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.svc__item { border-bottom: 1px solid var(--line); }
.svc__tab { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: start; gap: 12px; width: 100%; text-align: left; padding: 18px 0 16px; color: var(--bone-2); transition: color 0.4s var(--ease); }
.svc__tab .mono { padding-top: 12px; }
.svc__title { font-size: clamp(30px, 3.3vw, 48px); font-variation-settings: "wdth" 66, "wght" 780; color: inherit; transition: color 0.4s var(--ease), transform 0.6s var(--ease); transform-origin: left; }
.svc__item.is-active .svc__tab { color: var(--bone); }
.svc__item:not(.is-active) .svc__tab:hover { color: rgba(237, 231, 221, 0.85); }
.svc__item.is-active .svc__title { transform: translateX(6px); }
.svc__body { max-height: 0; overflow: hidden; transition: max-height 0.6s var(--ease); }
.svc__item.is-active .svc__body { max-height: 220px; }
.svc__desc, .svc__caps { opacity: 0; transition: opacity 0.5s var(--ease) 0.1s; }
.svc__item.is-active .svc__desc, .svc__item.is-active .svc__caps { opacity: 1; }
.svc__desc { max-width: 420px; padding-left: 56px; }
.svc__caps { padding: 8px 0 20px 56px; }
.svc__stage { position: relative; min-height: 380px; }
.svc__stage::before { content: ""; position: absolute; inset: 6% 0; border-radius: 50%; background: radial-gradient(ellipse at 50% 55%, rgba(36, 127, 255, 0.10), rgba(36, 127, 255, 0) 65%); pointer-events: none; }
.svc__scene { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; opacity: 0; filter: blur(10px); transform: scale(0.97); transition: opacity 0.7s var(--ease), filter 0.7s var(--ease), transform 0.7s var(--ease); pointer-events: none; }
.svc__scene.is-active { opacity: 1; filter: blur(0); transform: none; pointer-events: auto; }
.svc__index { position: absolute; right: 0; bottom: 0; color: var(--bone); }
.svc__note { text-align: center; }
/* demos inside scenes: static flow, not the old card corners */
.svc__scene .idsys { position: static; transform: none; width: clamp(220px, 34cqw, 300px); }
.svc__scene .idsys__frame { aspect-ratio: 200 / 160; }
.svc__scene .idsys__mark { font-size: clamp(88px, 12vw, 130px); }
.svc__scene .idsys__word { font-size: clamp(44px, 5vw, 60px); }
.svc__scene .phone { position: static; transform: none; width: clamp(150px, 16vw, 190px); }
.svc__scene .phone__time { font-size: clamp(24px, 2.4vw, 30px); }
.svc__scene .layers { position: relative; width: min(100%, 460px); height: 200px; left: auto; right: auto; bottom: auto; }
.svc__scene .layers__frame { width: clamp(220px, 22vw, 300px); height: 150px; left: 0; top: 40px; }
.svc__scene .layers__frame--1 i { height: 8px; margin-top: 12px; }
.svc__scene .layers__frame--1 i:first-of-type { margin-top: 26px; }
.svc__scene .layers__frame--2 { --dx: 70px; --dy: -22px; }
.svc__scene .layers__frame--3 { --dx: 140px; --dy: -44px; }
.svc__scene .layers__frame--2 .disp { font-size: 30px; }
.svc__scene .layers__ring { width: 44px; height: 44px; left: 18px; bottom: 16px; }

/* ---------- impact, without a container ---------- */
.impact2 { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line-2); }
.impact2__head { display: flex; justify-content: space-between; }
.impact2__stage { position: relative; height: clamp(120px, 11vw, 150px); margin-top: 12px; overflow: hidden; }
.impact2__slide { position: absolute; inset: 0; display: flex; align-items: flex-end; gap: 36px; opacity: 0; transform: translate3d(0, -60%, 0); filter: blur(8px); pointer-events: none; transition: none; }
.impact2__slide.is-active { opacity: 1; transform: none; filter: blur(0); pointer-events: auto; transition: opacity 0.7s var(--ease), transform 0.8s var(--ease), filter 0.7s var(--ease); }
.impact2__slide.is-leaving { opacity: 0; transform: translate3d(0, 60%, 0); filter: blur(8px); transition: opacity 0.6s var(--ease), transform 0.7s var(--ease), filter 0.6s var(--ease); }
.impact2__num { font-size: clamp(80px, 8.6vw, 124px); font-variation-settings: "wdth" 62, "wght" 800; font-variant-numeric: tabular-nums; white-space: nowrap; line-height: 0.86; }
.impact2__meta { padding-bottom: 14px; }
.impact2__label { font-size: clamp(20px, 1.8vw, 26px); font-variation-settings: "wdth" 78, "wght" 600; }
.impact2__meta .mono { margin-top: 8px; }
/* the chain: four nodes on a line, the fill is the timer */
.impact2__chain { list-style: none; margin: 20px 0 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; --fill: 0%; }
.impact2__chain::before { content: ""; position: absolute; left: 0; right: 0; top: 3px; height: 1px; background: var(--line); }
.impact2__chain::after { content: ""; position: absolute; left: 0; top: 3px; height: 1px; width: var(--fill); background: var(--signal); }
.impact2__node { position: relative; padding-top: 18px; }
.impact2__node button { display: block; text-align: left; padding: 8px 12px 8px 0; margin: -8px 0; color: var(--bone-3); transition: color 0.3s var(--ease); }
.impact2__node::before { content: ""; position: absolute; left: 0; top: 0; width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--signal); background: var(--ink); box-sizing: border-box; transition: background 0.3s var(--ease), transform 0.3s var(--ease); }
.impact2__node.is-done::before, .impact2__node.is-active::before { background: var(--signal); }
.impact2__node.is-active::before { transform: scale(1.5); box-shadow: 0 0 14px rgba(36, 127, 255, 0.6); }
.impact2__node.is-active button { color: var(--bone); }
.impact2__node .mono--idx { display: block; font-size: 10px; margin-top: 4px; color: var(--bone-3); }
/* the end of the line: a dot at the far right that fills when the last figure's timer completes */
.impact2__end { position: absolute; right: 0; top: 0; width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--signal); background: var(--ink); box-sizing: border-box; transition: background 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.impact2__end.is-done { background: var(--signal); transform: scale(1.5); box-shadow: 0 0 14px rgba(36, 127, 255, 0.6); }

@media (max-width: 1100px) {
  .svc { grid-template-columns: 1fr; }
  .svc__stage { min-height: 380px; }
  .impact2__chain { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .svc__scene, .svc__body, .svc__title, .impact2__slide, .impact2__slide.is-active, .impact2__slide.is-leaving { transition: none !important; }
  .impact2__slide.is-leaving { display: none; }
}

/* ---------- 03 service: turnaround note inside the open service body ---------- */
.svc__note-inline { padding: 0 0 20px 56px; margin-top: -10px; color: var(--bone); opacity: 0; transition: opacity 0.5s var(--ease) 0.1s; }
.svc__item.is-active .svc__note-inline { opacity: 1; }
.svc__item.is-active .svc__body { max-height: 320px; }

/* ---------- 05 / web development preview on the landing page: three rows, hairlines, leads to the Work page section ---------- */
.devpre { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line-2); }
.devpre__head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--gutter); }
.devpre__title { font-size: clamp(26px, 2.5vw, 36px); font-variation-settings: "wdth" 66, "wght" 800; margin-top: 12px; max-width: none; white-space: nowrap; }  /* one line across, so the section stays short */
.devpre__lede { width: min(100%, 420px); }
.devpre__list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--gutter); border-top: 1px solid var(--line-2); }
.devpre__link { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto auto auto auto; column-gap: 12px; padding: 18px 0 20px; height: 100%; color: var(--bone); transition: color 0.3s var(--ease); }
.devpre__link::before { content: ""; position: absolute; left: 0; top: -4px; width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--signal); background: var(--ink); transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.devpre__link:hover::before, .devpre__link:focus-visible::before { background: var(--signal); box-shadow: 0 0 14px rgba(36, 127, 255, 0.6); }
.devpre__link > .mono--sig { grid-row: 1; padding-top: 10px; }
.devpre__name { grid-column: 2; grid-row: 1; font-size: clamp(22px, 2vw, 30px); font-variation-settings: "wdth" 72, "wght" 750; color: var(--bone); transition: color 0.3s var(--ease); }
.devpre__link:hover .devpre__name { color: var(--signal-sm); }
.devpre__type { grid-column: 2; grid-row: 2; margin-top: 8px; }
.devpre__desc { grid-column: 2; grid-row: 3; margin-top: 12px; font-size: 14px; line-height: 1.55; color: rgba(237, 231, 221, 0.66); max-width: 34ch; }
.devpre__action { grid-column: 2; grid-row: 4; margin-top: 16px; align-self: end; }
.devpre__arrow { color: var(--signal); }
.devpre__foot { display: flex; justify-content: space-between; align-items: center; gap: var(--gutter); margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.close__kinds { margin-top: 8px; }
@media (max-width: 1100px) {
  .devpre__head { flex-direction: column; align-items: flex-start; }
  .devpre__list { grid-template-columns: 1fr; }
  .devpre__link { border-bottom: 1px solid var(--line); }
  .devpre__desc { max-width: 60ch; }
}
@media (prefers-reduced-motion: reduce) { .svc__note-inline { transition: none; } }

/* ---------- phones (under 768px): every section stays, stacked; motion, reveals, the field, the demos and the switchers all keep working ---------- */
@media (max-width: 767px) {
  :root { --margin: 16px; --inset: 0px; --fs-deck: 17px; }
  .page::before, .page::after { display: none; }
  .nav { height: 56px; }
  .nav__right .mono { display: none; }
  .skip { left: 8px; }
  .scroll-hint { display: none; }
  /* hero */
  .hero { padding-top: 24px; }
  .hero__label { gap: 14px; flex-wrap: wrap; }
  .hero__word { font-size: clamp(72px, 23.5vw, 120px); }
  .hero__productions { gap: 12px; }
  .hero__productions .disp { font-size: clamp(16px, 4.6vw, 22px); letter-spacing: 0.22em; }
  .hero__copy { margin-top: 20px; }
  .hero__cta { gap: 18px; }
  .hero__side { margin-top: 24px; }
  .lens-stage { width: min(100%, 320px); margin-top: -48px; }
  .lens-glow-stage { width: min(100%, 320px); top: -48px; }
  .lens-stage .mono--subject { top: 22.5%; }
  .services-list { width: 100%; }
  .studio { margin-top: 12px; }
  .studio__line { font-size: clamp(22px, 6.6vw, 30px); }
  /* services stage */
  .services { padding-top: 24px; }
  .services__head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .services__lede { width: 100%; }
  .svc { margin-top: 20px; gap: 20px; }
  .svc__tab { grid-template-columns: 36px minmax(0, 1fr); padding: 14px 0 12px; }
  .svc__title { font-size: clamp(26px, 7.6vw, 40px); }
  .svc__desc, .svc__caps, .svc__note-inline { padding-left: 0; }
  .svc__item.is-active .svc__body { max-height: 420px; }
  .svc__stage { min-height: 330px; }
  .svc__scene .idsys { width: min(100%, 250px); }
  .svc__scene .idsys__mark { font-size: 96px; }
  .svc__scene .idsys__word { font-size: 44px; }
  .svc__scene .phone { width: 160px; }
  .svc__scene .layers { width: 100%; height: 180px; }
  .svc__scene .layers__frame { width: min(58%, 220px); height: 130px; }
  .svc__scene .layers__frame--2 { --dx: 15vw; --dy: -18px; }
  .svc__scene .layers__frame--3 { --dx: 30vw; --dy: -36px; }
  .svc__scene .layers__frame--2 .disp { font-size: 20px; }
  /* impact: number above its label */
  .impact2 { margin-top: 32px; }
  .impact2__head { flex-direction: column; gap: 4px; }
  .impact2__stage { height: 176px; }
  .impact2__slide { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 10px; }
  .impact2__num { font-size: clamp(64px, 19vw, 96px); }
  .impact2__meta { padding-bottom: 6px; }
  .impact2__label { font-size: 19px; }
  .impact2__node button { padding-right: 6px; }
  /* process, proof, dev preview, close */
  .process { padding-top: 24px; }
  .process__head { flex-direction: column; align-items: flex-start; gap: 4px; }
  .step .mono { font-size: 12px; }
  .step__title { font-size: 20px; }
  .proof { gap: 24px; }
  .window { height: clamp(180px, 52vw, 236px); }
  .window__bar { padding: 0 14px; }
  .proof__note { padding-top: 0; }
  .proof__outcome { font-size: clamp(36px, 10.5vw, 48px); }
  .devpre { margin-top: 32px; }
  .devpre__title { white-space: normal; }
  .devpre__foot { flex-direction: column; align-items: flex-start; }
  .close__row { flex-direction: column; align-items: flex-start; gap: 24px; }
  .close__statement { font-size: clamp(46px, 13.6vw, 72px); }
  .close__actions { align-items: flex-start; padding-bottom: 0; }
  .contacts { flex-wrap: wrap; gap: 14px 28px; }
  .footer { flex-direction: column; gap: 6px; }
  .cta-dialog__btns { flex-direction: column; }
}
