/* ============================================================
   RAMAS TECH — flagship site
   Design system: deep black / warm paper / brass hairline
   Type: Audiowide (display) + Exo 2 (body/UI) — v19, 07.10.2026 (was Fraunces + Instrument Sans)
   ============================================================ */

:root {
  /* color */
  --void: #04060A;
  --bg: #090D15;
  --surface: #121316;
  --graphite: #1B1C20;
  --paper: #E6E8EC;
  --paper-dim: #D8DBE1;
  --text: #E6E9EF;
  --muted: #9AA3B3;
  --faint: #6B7383;
  --faint-legible: #7C8494;  /* footer copy: same tone, passes 4.5:1 on --void */
  --line: rgba(200, 212, 235, 0.16);
  --line-soft: rgba(200, 212, 235, 0.07);
  --brass: #4C8DFF;
  --brass-bright: #8FC5FF;
  --silver: #C9D2E0;

  /* light-inversion section */
  --light-bg: #E6E8EC;
  --light-text: #0E1220;
  --light-muted: #4E5668;
  --light-line: rgba(14, 18, 32, 0.14);

  /* type */
  --serif: "Audiowide", "Audiowide Fallback", "Exo 2", "Helvetica Neue", Arial, sans-serif;   /* v19: rounded techno display face (owner choice E, 07.10.2026) */
  --sans: "Exo 2", "Exo 2 Fallback", "Helvetica Neue", Arial, sans-serif;

  /* scale */
  --display-xl: clamp(2.25rem, 7vw, 7rem);
  --display-lg: clamp(1.8rem, 4.7vw, 4.4rem);
  --display-md: clamp(1.4rem, 3vw, 2.7rem);
  --display-sm: clamp(1.05rem, 1.7vw, 1.4rem);
  --body-lg: clamp(1.05rem, 1.4vw, 1.3rem);
  --body: clamp(0.95rem, 1.1vw, 1.05rem);
  --label: 0.72rem;

  /* rhythm */
  --gutter: clamp(1.4rem, 6vw, 6.5rem);
  --section-gap: clamp(7rem, 16vh, 13rem);

  /* motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
  --dur: 0.7s;

  color-scheme: dark;
}

/* ---------- reset / base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

html { overflow-x: clip; }

img, svg { max-width: 100%; display: block; }

h1, h2, h3, h4, p, ul, figure { margin: 0; }

a { color: inherit; text-decoration: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

::selection { background: var(--brass); color: var(--void); }

:focus-visible {
  outline: 1.5px solid var(--brass-bright);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 300;
  padding: 0.6rem 1rem;
  background: var(--paper);
  color: var(--light-text);
  font-size: 0.85rem;
  border-radius: 2px;
  transform: translateY(-300%);
}
.skip-link:focus { transform: none; }

/* ---------- typography helpers ---------- */

.label {
  font-family: var(--sans);
  font-size: var(--label);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.label--brass { color: var(--brass); }

.serif { font-family: var(--serif); }

.display {
  font-family: var(--serif);
  font-weight: 380;
  font-variation-settings: "opsz" 100;
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.display em {
  font-style: normal;
  font-weight: 400;
  color: inherit;
}

.lede {
  font-size: var(--body-lg);
  line-height: 1.6;
  color: var(--muted);
  max-width: 34em;
}

/* split-line mask reveal scaffolding (JS wraps lines) */
.split-lines .line-mask { display: block; overflow: hidden; }
.split-lines .line-inner { display: block; will-change: transform; }

/* ---------- layout ---------- */

.wrap {
  padding-inline: var(--gutter);
  max-width: 100rem;
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: var(--section-gap);
  scroll-margin-top: 4.5rem;
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
  margin-bottom: clamp(2.5rem, 6vh, 5rem);
}

.section-head .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--brass);
  min-width: 2.2rem;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--gutter);
  transition: background 0.5s var(--ease-out), padding 0.5s var(--ease-out),
              border-color 0.5s;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  padding-block: 0.7rem;
  background: rgba(7, 7, 8, 0.9);  /* was color-mix 82%: 90% opacity keeps nav text ≥4.5:1 over ivory sections; rgba for older Safari */
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.7rem;
  line-height: 1;
}

.logo-ds {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  color: var(--paper);
}

.logo-sep {
  width: 1px;
  height: 1.05rem;
  background: var(--brass);
  align-self: center;
}

.logo-name {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--silver);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header-nav {
  display: flex;
  gap: 1.8rem;
}

.header-nav a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s;
}
.header-nav a:hover { color: var(--paper); }

@media (max-width: 860px) {
  .header-nav { display: none; }
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
}

.menu-btn .menu-icon {
  position: relative;
  width: 1.6rem;
  height: 0.7rem;
}
.menu-btn .menu-icon::before,
.menu-btn .menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--paper);
  transition: transform 0.45s var(--ease-out), top 0.45s var(--ease-out);
}
.menu-btn .menu-icon::before { top: 0; }
.menu-btn .menu-icon::after { top: 100%; }

body.menu-open .menu-btn .menu-icon::before { top: 50%; transform: rotate(45deg); }
body.menu-open .menu-btn .menu-icon::after { top: 50%; transform: rotate(-45deg); }

/* fullscreen menu */

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--void);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--gutter);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.8s var(--ease-inout), visibility 0s 0.8s;
}

body.menu-open .menu-overlay {
  clip-path: inset(0 0 0% 0);
  visibility: visible;
  transition: clip-path 0.8s var(--ease-inout);
}

.menu-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.menu-links a {
  display: inline-flex;
  align-items: baseline;
  gap: 1.4rem;
  font-family: var(--serif);
  font-weight: 360;
  font-size: clamp(2.2rem, 6.5vw, 4.8rem);
  line-height: 1.15;
  color: var(--paper);
  transition: color 0.35s, letter-spacing 0.5s var(--ease-out);
}

.menu-links a:hover {
  color: var(--brass-bright);
  letter-spacing: 0.01em;
}

.menu-links .menu-num {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--faint);
}

.menu-foot {
  margin-top: clamp(2rem, 6vh, 4rem);
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}
.menu-foot a { color: var(--muted); transition: color 0.3s; }
.menu-foot a:hover { color: var(--paper); }


/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  padding-bottom: 0;
  padding-top: 0;
  overflow: hidden;
}

/* The Caret — the signature is a behaviour, not an object:
   an idea exists as a living sentence, and its caret is what persists
   while the words around it become different realities. */

.h-caret {
  display: inline-block;
  width: 0.055em;
  height: 0.78em;
  margin-left: 0.09em;
  vertical-align: baseline;
  transform: translateY(0.06em);
  background: var(--brass-bright);
  animation: caret-blink 1.25s steps(1) infinite;
}

.hero-title {
  font-size: var(--display-xl);
  max-width: 12ch;
}

.hero-title > span { display: block; overflow: clip; }
.hero-title .line-inner { display: inline-block; will-change: transform; }

.hero-title .line-2 { margin-left: clamp(1.5rem, 8vw, 9rem); }
.hero-title .line-3 { margin-left: clamp(0.5rem, 3vw, 3rem); }

.hero-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2.5rem;
  margin-top: clamp(2.5rem, 6vh, 4.5rem);
}

.hero-lede { max-width: 30em; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem 1.6rem;
}

.scroll-hint {
  position: absolute;
  bottom: clamp(3rem, 9vh, 6rem);
  right: var(--gutter);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--faint);
  writing-mode: vertical-rl;
}
.scroll-hint::after {
  content: "";
  width: 1px;
  height: 3.2rem;
  background: linear-gradient(to bottom, var(--faint), transparent);
  animation: hint-drop 2.4s var(--ease-inout) infinite;
}
@keyframes hint-drop {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
@media (max-width: 700px) { .scroll-hint { display: none; } }

/* ---------- buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1.05rem 2.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
  overflow: hidden;
  transition: color 0.45s var(--ease-out), border-color 0.45s;
  will-change: transform;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--paper);
  border-radius: inherit;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.5s var(--ease-out);
  z-index: -1;
}

.btn:hover { color: var(--void); border-color: var(--paper); }
.btn:hover::before { transform: scaleY(1); transform-origin: top; }

.btn--solid {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--void);
  transition: color 0.45s var(--ease-out), border-color 0.45s, box-shadow 0.5s;
}
.btn--solid:hover { box-shadow: 0 0 36px rgba(76, 141, 255, 0.45); }
.btn--solid::before { background: var(--brass-bright); }
.btn--solid:hover { color: var(--void); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s;
}
.link-arrow::after {
  content: "→";
  font-family: var(--serif);
  transition: transform 0.4s var(--ease-out);
}
.link-arrow:hover { color: var(--paper); }
.link-arrow:hover::after { transform: translateX(0.4rem); }

/* ============================================================
   IDEA FIRST — a magazine spread: statement, then form resolving
   ============================================================ */

.idea-first { position: relative; overflow: clip; }

.if-title {
  font-size: var(--display-lg);
  max-width: 14ch;
}

.if-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  margin-top: clamp(2.5rem, 6vh, 4.5rem);
}
@media (max-width: 860px) { .if-row { grid-template-columns: 1fr; } }

.if-lede { max-width: 26em; padding-bottom: 1.2rem; }
.if-lede strong { display: block; margin-top: 1rem; color: var(--light-text); font-weight: 500; }

/* uncertainty resolving into structure: five standing forms */
.if-resolve {
  display: flex;
  align-items: flex-end;
  gap: 4.5%;
  height: clamp(11rem, 30vh, 17rem);
  border-bottom: 1px solid var(--light-line);
  padding-bottom: 0;
  margin-right: calc(-1 * var(--gutter));
  padding-right: var(--gutter);
}

.if-resolve i {
  display: block;
  flex: 1 1 0;
}
.if-resolve i:nth-child(1) {
  height: 56%;
  border-radius: 46% 54% 58% 42% / 58% 48% 52% 42%;
  background: radial-gradient(120% 130% at 32% 22%, #d6cdba 0%, #b3a88f 62%, #8d8069 100%);
  box-shadow: 10px 16px 34px -12px rgba(70, 60, 44, 0.35);
}
.if-resolve i:nth-child(2) {
  height: 66%;
  border-radius: 34% 40% 30% 36% / 42% 34% 38% 30%;
  background: radial-gradient(115% 120% at 34% 24%, #d2c9b4 0%, #ac9f85 64%, #857860 100%);
  box-shadow: 10px 16px 34px -12px rgba(70, 60, 44, 0.35);
}
.if-resolve i:nth-child(3) {
  height: 76%;
  border-radius: 1.4rem;
  background: linear-gradient(160deg, #cfc6b1 0%, #a2957a 100%);
  box-shadow: 10px 16px 34px -12px rgba(70, 60, 44, 0.35);
}
.if-resolve i:nth-child(4) {
  height: 87%;
  border-radius: 0.4rem;
  background: linear-gradient(165deg, #c9bfa8 0%, #998c72 100%);
  box-shadow: 10px 16px 34px -12px rgba(70, 60, 44, 0.35);
}
.if-resolve i:nth-child(5) {
  height: 100%;
  border-radius: 0;
  background: linear-gradient(170deg, #f2eee3 0%, #d9d1bd 100%);
  border: 1px solid rgba(20, 20, 23, 0.28);
  border-top: 3px solid var(--brass);
  box-shadow: 14px 20px 40px -14px rgba(70, 60, 44, 0.45);
}

/* ============================================================
   BECOME — "What could your idea become?"
   One frame, many futures. The signature moment.
   ============================================================ */

.become { position: relative; }
.become-stage .wrap { position: relative; }

.become-head { margin-bottom: clamp(2.5rem, 6vh, 4rem); }
.become-head h2 { font-size: var(--display-md); margin-top: 0; }

/* --- the idea, spoken --- */

.idea-line {
  margin-bottom: clamp(2.5rem, 6vh, 4rem);
  max-width: 46em;
}
.idea-line .il-label {
  display: block;
  margin-bottom: 0.9rem;
}
.idea-line .il-text {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 340;
  font-size: clamp(1.3rem, 2.6vw, 2.1rem);
  line-height: 1.35;
  color: var(--paper-dim);
}
.idea-line .il-ch { display: inline; }

/* the caret lives quietly inside each future — the idea, still writing */
.caret-anchor {
  display: inline-block;
  width: 2.5px;
  height: 1em;
  margin-left: 0.15em;
  vertical-align: -0.12em;
  background: var(--brass-bright);
  animation: caret-blink 1.15s steps(1) infinite;
}

/* --- the futures --- */

/* default (no JS / reduced motion): the futures simply stack, readable */
.become-words {
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 7vh, 4.5rem);
}

.become-word {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 1.6rem clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
@media (max-width: 860px) {
  .become-word { grid-template-columns: 1fr; }
}

.become-word .bw-big {
  display: block;
  font-family: var(--serif);
  font-weight: 370;
  font-size: clamp(1.9rem, 4.2vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.become-word .bw-big em { font-style: normal; color: inherit; }
.become-word .bw-cap {
  display: block;
  margin-top: 0.7rem;
  color: var(--faint);
  font-size: 0.92rem;
  max-width: 30em;
}


/* vignettes: the same words, set as different realities.
   Typography and hairlines only — no device chrome. */

.bvig {
  border-left: 1px solid var(--line-soft);
  padding-left: clamp(1.4rem, 3vw, 2.6rem);
  min-height: 13rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.9rem;
}
@media (max-width: 860px) {
  .bvig { min-height: 0; padding-block: 0.4rem; }
}

.bvig .v-nav {
  display: flex;
  gap: 1.6rem;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--faint);
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 0.8rem;
}

.bvig .v-h {
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(1.5rem, 2.6vw, 2.3rem);
  line-height: 1.1;
  color: var(--paper);
}

.bvig .v-sub { color: var(--muted); font-size: 0.95rem; }

.bvig .v-btn {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 1.3rem;
}

.bvig .v-num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3.2rem, 6vw, 5rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--paper);
}

.bvig .v-progress {
  width: min(16rem, 80%);
  height: 1px;
  background: var(--line);
  position: relative;
}
.bvig .v-progress::before {
  content: "";
  position: absolute;
  inset: -0.5px 62% -0.5px 0;
  background: var(--brass);
}

.bvig .v-caps {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--paper);
}
.bvig .v-ital {
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted);
  font-size: 1.05rem;
}
.bvig .v-meta {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}

.bvig .v-q {
  font-family: var(--serif);
  font-style: italic;
  color: var(--faint);
  font-size: 1rem;
}
.bvig .v-a { color: var(--text); font-size: 1.02rem; max-width: 26em; }

@keyframes caret-blink { 50% { opacity: 0; } }

/* ============================================================
   WHAT WE DO — four rows, built for a ten-second scan
   ============================================================ */

.cando {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.cando-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 1rem clamp(2rem, 5vw, 5rem);
  align-items: baseline;
  padding-block: clamp(1.6rem, 3.5vh, 2.4rem);
  border-bottom: 1px solid var(--line);
}

.cando-row h3 {
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  line-height: 1.15;
}

.cando-row p { color: var(--muted); max-width: 34em; }

@media (max-width: 700px) {
  .cando-row { grid-template-columns: 1fr; gap: 0.4rem; }
}

.become-close {
  margin-top: clamp(2.5rem, 6vh, 4rem);
  color: var(--muted);
  max-width: 34em;
}
.become-close strong { color: var(--text); font-weight: 500; }

/* ============================================================
   WORK
   ============================================================ */

.work-intro { max-width: 52em; margin-bottom: clamp(3rem, 8vh, 6rem); }
.work-intro .display { font-size: var(--display-md); margin-bottom: 1.6rem; }

/* --- LOOP flagship block --- */

.loop-feature {
  position: relative;
  background: var(--void);
  border-radius: 4px;
  overflow: hidden;
  padding: clamp(3rem, 8vw, 7rem) var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 24rem);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
  border: 1px solid var(--line-soft);
}

.loop-copy .label { margin-bottom: 1.4rem; display: block; }

.loop-title {
  font-family: var(--serif);
  font-weight: 360;
  font-size: clamp(3.8rem, 10vw, 9.5rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: var(--paper);
}

.loop-tag {
  margin-top: 1.2rem;
  font-size: var(--body-lg);
  color: var(--muted);
  max-width: 26em;
}

.loop-areas {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0;
  max-width: 30em;
}
.loop-areas span {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}
.loop-areas span:not(:last-child)::after {
  content: "·";
  margin-inline: 0.7rem;
  color: var(--brass);
}

.loop-cta { margin-top: 2.6rem; display: flex; flex-wrap: wrap; gap: 1.2rem 1.6rem; align-items: center; }

/* CSS phone */
.phone-scene {
  perspective: 1200px;
  display: grid;
  place-items: center;
}

.phone {
  width: min(15rem, 62vw);
  aspect-ratio: 9 / 19;
  background: #0A0A0C;
  border: 1px solid #2A2B30;
  border-radius: 2.6rem;
  padding: 0.55rem;
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.9),
    0 40px 80px -20px rgba(0,0,0,0.8),
    inset 0 0 0 1px rgba(233,231,224,0.04);
  transform-style: preserve-3d;
  will-change: transform;
}

.phone-screen {
  height: 100%;
  border-radius: 2.1rem;
  background: linear-gradient(175deg, #101014 0%, #0B0B0E 60%, #0D0C10 100%);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2.2rem 1.2rem 1.4rem;
  gap: 0.9rem;
}

.phone-screen::before {
  /* notch */
  content: "";
  position: absolute;
  top: 0.55rem;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 0.85rem;
  background: #060607;
  border-radius: 999px;
}

.ui-line {
  height: 0.5rem;
  border-radius: 999px;
  background: rgba(233,231,224,0.10);
}
.ui-line.w60 { width: 60%; }
.ui-line.w80 { width: 80%; }
.ui-line.w40 { width: 40%; }

.ui-ring {
  width: 5.2rem;
  height: 5.2rem;
  margin: 1rem auto;
  border-radius: 50%;
  border: 1px solid rgba(143,197,255,0.5);
  position: relative;
}
.ui-ring::after {
  content: "";
  position: absolute;
  inset: 0.55rem;
  border-radius: 50%;
  border: 1px solid rgba(233,231,224,0.14);
}

.ui-card {
  border: 1px solid rgba(233,231,224,0.08);
  border-radius: 0.9rem;
  padding: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (max-width: 900px) {
  .loop-feature { grid-template-columns: 1fr; }
  .phone-scene { order: -1; }
}

/* --- secondary work rows --- */

.work-grid {
  margin-top: clamp(2rem, 5vh, 4rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  gap: 1.2rem;
}

.work-card {
  position: relative;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  background: var(--surface);
  padding: clamp(1.8rem, 3.5vw, 2.8rem);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  min-height: 22rem;
  overflow: hidden;
  transition: border-color 0.4s;
}
.work-card:hover { border-color: var(--line); }

.work-card .card-kicker { color: var(--brass); }

.work-card h3 {
  font-family: var(--serif);
  font-weight: 380;
  font-size: var(--display-sm);
  line-height: 1.15;
}

.work-card p { color: var(--muted); max-width: 30em; }

.work-card .card-foot {
  margin-top: auto;
  padding-top: 1.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}

/* objects inside cards */
.card-object {
  margin-top: 0.6rem;
  height: 7.5rem;
  position: relative;
}

/* agent line — a quiet AI input with a breathing caret */
.agentline {
  position: absolute;
  inset: auto 0 0.2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.al-input {
  height: 3.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  position: relative;
  background: linear-gradient(160deg, rgba(233, 231, 224, 0.03), transparent 60%);
}
.al-input::after {
  content: "";
  position: absolute;
  left: 1.3rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 1.15rem;
  background: var(--brass-bright);
  animation: caret-blink 1.2s steps(1) infinite;
}
.al-row {
  height: 0.5rem;
  border-radius: 999px;
  background: rgba(233, 231, 224, 0.08);
  width: 68%;
  margin-left: 1.3rem;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.al-row + .al-row { width: 44%; transition-delay: 0.1s; }
.work-card:hover .al-row { opacity: 1; transform: none; }

/* browser frame */
.browser {
  position: absolute;
  inset: 0;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: var(--graphite);
  overflow: hidden;
}
.browser::before {
  content: "";
  display: block;
  height: 1.5rem;
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(circle 3px at 0.9rem 0.75rem, var(--faint) 2.6px, transparent 3px),
    radial-gradient(circle 3px at 1.7rem 0.75rem, var(--faint) 2.6px, transparent 3px),
    radial-gradient(circle 3px at 2.5rem 0.75rem, var(--faint) 2.6px, transparent 3px);
}
.browser .b-line {
  height: 0.42rem;
  border-radius: 999px;
  background: rgba(233,231,224,0.08);
  margin: 0.7rem 0.9rem 0;
  transition: width 0.6s var(--ease-out);
}
.work-card:hover .browser .b-line:first-of-type { width: 50%; }

/* product sheets */
.sheets {
  position: absolute;
  inset: 0.4rem 20% 0;
}
.sheets i {
  position: absolute;
  inset: 0;
  background: var(--paper-dim);
  border-radius: 3px;
  transition: transform 0.6s var(--ease-out);
}
.sheets i:nth-child(1) { transform: rotate(-4deg) translateX(-6%); background: #494A42; }
.sheets i:nth-child(2) { transform: rotate(2deg) translateX(4%); background: #807E72; }
.sheets i:nth-child(3) {
  background: var(--paper);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-style: italic;
  color: var(--light-text);
  font-size: 0.85rem;
}
.work-card:hover .sheets i:nth-child(1) { transform: rotate(-7deg) translateX(-11%); }
.work-card:hover .sheets i:nth-child(2) { transform: rotate(5deg) translateX(9%); }

/* ============================================================
   OUR GOAL — light inversion
   ============================================================ */

.goal {
  background: var(--light-bg);
  color: var(--light-text);
  color-scheme: light;
}

.goal ::selection { background: var(--light-text); color: var(--paper); }

.goal .section-head { border-top-color: var(--light-line); }
.goal .label { color: var(--light-muted); }
.goal .section-head .num { color: #1F4FB8; }

.why-title { font-size: var(--display-md); }
.goal .why-title em { color: inherit; }

.why-list {
  list-style: none;
  margin: clamp(2rem, 5vh, 3.5rem) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.why-list li {
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  line-height: 1.3;
}
.why-list li::before {
  content: "—";
  color: #1F4FB8;
  margin-right: 0.7rem;
}

.why-sign {
  margin-top: clamp(2rem, 5vh, 3rem);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--light-muted);
}

.goal-close {
  margin-top: clamp(3rem, 8vh, 5.5rem);
  max-width: 36em;
  color: var(--light-muted);
  font-size: var(--body-lg);
  line-height: 1.65;
}
.goal-close strong { color: var(--light-text); font-weight: 500; }

/* ============================================================
   CONTACT
   ============================================================ */

.contact {
  background: var(--void);
  border-top: 1px solid var(--line-soft);
}

.contact-title {
  font-size: var(--display-lg);
  max-width: 14ch;
  margin-bottom: clamp(3rem, 7vh, 5rem);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}

.contact-aside { color: var(--muted); display: flex; flex-direction: column; gap: 1.4rem; }
.contact-aside .label { display: block; margin-bottom: 0.4rem; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* form */

.enquiry { display: flex; flex-direction: column; gap: 2.2rem; }

.enquiry fieldset { border: 0; margin: 0; padding: 0; }
.enquiry legend, .enquiry label:not(.chip) {
  font-size: var(--label);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
  display: block;
  padding: 0;
}

.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.chip {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}
.chip input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}
.chip span {
  padding: 0.75rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--muted);
  transition: all 0.35s var(--ease-out);
}
.chip:hover span { border-color: var(--muted); color: var(--text); }
.chip input:checked + span {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--void);
}
.chip input:focus-visible + span {
  outline: 1.5px solid var(--brass-bright);
  outline-offset: 3px;
}

.field input, .field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font: inherit;
  font-size: var(--body-lg);
  padding: 0.7rem 0;
  transition: border-color 0.35s;
  border-radius: 0;
}
.field textarea { resize: vertical; min-height: 6.5rem; line-height: 1.6; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-bottom-color: var(--brass-bright);
}
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

.enquiry .form-note { font-size: 0.8rem; color: var(--faint); max-width: 34em; }
.enquiry .form-note a { text-decoration: underline; text-underline-offset: 3px; }

.hp-field { position: absolute; left: -9999px; }

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--void);
  padding: clamp(3.5rem, 8vh, 6rem) var(--gutter) 2.2rem;
  border-top: 1px solid var(--line-soft);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3rem;
  padding-bottom: clamp(2.5rem, 6vh, 4rem);
}

.footer-brand { display: flex; flex-direction: column; gap: 1.2rem; max-width: 26em; }
.footer-brand p { color: var(--faint-legible); font-size: 0.9rem; }

.footer-cols { display: flex; gap: clamp(2.5rem, 6vw, 6rem); flex-wrap: wrap; }

.footer-col { display: flex; flex-direction: column; gap: 0.7rem; min-width: 8rem; }
.footer-col .label { margin-bottom: 0.5rem; }
.footer-col a {
  font-size: 0.88rem;
  color: var(--muted);
  transition: color 0.3s;
  width: fit-content;
}
.footer-col a:hover { color: var(--paper); }

.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--faint-legible);
}
.footer-bottom .sig {
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--paper-dim);
  vertical-align: -0.12em;
}

/* ============================================================
   CURSOR (desktop, fine pointers only)
   ============================================================ */

.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 250;
  pointer-events: none;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .has-cursor .cursor-dot, .has-cursor .cursor-ring { display: block; }
}

.cursor-dot {
  width: 5px;
  height: 5px;
  background: var(--brass-bright);
}

.cursor-ring {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(233, 231, 224, 0.35);
  transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out),
              border-color 0.35s, background 0.35s, opacity 0.3s;
  display: none;
  align-items: center;
  justify-content: center;
}

.cursor-ring .cursor-label {
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--void);
  opacity: 0;
  transition: opacity 0.25s;
}

.has-cursor .cursor-ring[data-state="view"],
.has-cursor .cursor-ring[data-state="open"] {
  width: 74px;
  height: 74px;
  background: var(--paper);
  border-color: var(--paper);
  display: flex;
}
.has-cursor .cursor-ring[data-state="view"] .cursor-label,
.has-cursor .cursor-ring[data-state="open"] .cursor-label { opacity: 1; }

/* hide native cursor only when custom is active over interactive targets */
.has-cursor [data-cursor] { cursor: none; }

/* ============================================================
   SUBPAGES (case study / legal)
   ============================================================ */

.page-hero {
  padding-top: clamp(9rem, 22vh, 14rem);
  padding-bottom: clamp(3rem, 8vh, 6rem);
}

.page-hero .label { display: block; margin-bottom: 1.6rem; }
.page-hero h1 { font-size: var(--display-lg); max-width: 16ch; }
.page-hero .lede { margin-top: 2rem; }

.cs-meta {
  margin-top: clamp(2.5rem, 6vh, 4rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 1.5rem;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  max-width: 60rem;
}
.cs-meta .label { display: block; margin-bottom: 0.5rem; }
.cs-meta p { font-size: 0.95rem; }

.cs-section {
  padding-block: clamp(3.5rem, 9vh, 7rem);
  border-top: 1px solid var(--line-soft);
}

.cs-section .cs-grid {
  display: grid;
  grid-template-columns: minmax(10rem, 16rem) minmax(0, 42em);
  gap: 2rem 4rem;
}
@media (max-width: 800px) { .cs-section .cs-grid { grid-template-columns: 1fr; } }

.cs-section h2 {
  font-family: var(--serif);
  font-weight: 380;
  font-size: var(--display-sm);
  line-height: 1.1;
}
.cs-section .cs-body { color: var(--muted); display: flex; flex-direction: column; gap: 1.3rem; }
.cs-body strong { color: var(--text); font-weight: 500; }

.cs-areas {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.cs-areas li {
  display: grid;
  grid-template-columns: minmax(8rem, 14rem) 1fr;
  gap: 1.5rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.cs-areas li b { font-weight: 500; color: var(--text); font-family: var(--serif); font-size: 1.05rem; }
.cs-areas li span { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 620px) { .cs-areas li { grid-template-columns: 1fr; gap: 0.3rem; } }

.cs-note {
  font-size: 0.82rem;
  color: var(--faint-legible);
  border-left: 1px solid var(--brass);
  padding-left: 1.2rem;
}

/* legal pages */

.legal-body {
  max-width: 42em;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  padding-bottom: var(--section-gap);
}
.legal-body h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--text);
  margin-top: 1.5rem;
}
.legal-body .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.legal-body table { border-collapse: collapse; width: 100%; min-width: 36rem; font-size: 0.86rem; line-height: 1.45; }
.legal-body th, .legal-body td { text-align: left; vertical-align: top; padding: 0.55rem 0.7rem; border-bottom: 1px solid var(--line-soft); }
.legal-body th { color: var(--text); font-weight: 500; }
.legal-body code { font-size: 0.85em; }
.legal-body .todo {
  border: 1px dashed var(--brass);
  border-radius: 4px;
  padding: 1.2rem 1.4rem;
  color: var(--brass-bright);
  font-size: 0.9rem;
}

/* ============================================================
   MOTION GUARDS
   ============================================================ */


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

/* ============================================================
   ART DIRECTION v6 — rooms, light, material
   The page is a walk through rooms: dark cinema → warm ivory →
   stone gallery → graphite workshop → limestone process →
   intimate dark → monument.
   ============================================================ */

:root {
  --limestone: #ECEEF1;
  --stone: #D8DBE1;
  --ink-warm: #100E11;
}

/* ---------- the DS mark ---------- */

.mark { display: inline-block; }
.mark svg { display: block; width: 100%; height: 100%; overflow: visible; }

.logo .mark { width: 1.7rem; height: 1.8rem; }
/* at navigation size the weave gap dissolves — render the mark solid */
.logo .mark [mask] { mask: none; -webkit-mask: none; }

/* ---------- film grain ---------- */

.grain { position: relative; isolation: isolate; }
.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

/* ---------- light rooms (shared overrides) ---------- */

.room-light {
  background: var(--paper);
  color: var(--light-text);
  color-scheme: light;
}
.room-light.room-limestone { background: var(--limestone); }
.room-light.room-stone { background: var(--stone); }

.room-light ::selection { background: var(--light-text); color: var(--paper); }
.room-light .section-head { border-top-color: var(--light-line); }
.room-light .label { color: var(--light-muted); }
.room-light .label--brass, .room-light .section-head .num { color: #1F4FB8; }
.room-light .lede { color: var(--light-muted); }
.room-light .lede strong { color: var(--light-text); }
.room-light .display em { color: inherit; }

/* ---------- HERO scene: light through an aperture ---------- */

.hero { overflow: clip; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  min-height: 100svh;
}
.hero-grid > div:first-child { padding-block: 8rem 4rem; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero-eyebrow { display: block; margin-bottom: 1.6rem; }

.hero-scene {
  position: relative;
  align-self: stretch;
  min-height: 100%;
  margin-right: calc(-1 * var(--gutter));
  border-radius: 0;
  overflow: hidden;
  background:
    linear-gradient(200deg, #141926 0%, #0B0F18 55%, #06080E 100%);
}

/* monolithic slabs and a fissure of warm light — sculpture, not building */
.hs-slab { position: absolute; top: -2%; bottom: -2%; }

.hs-slab-a {
  left: -2%;
  width: 59%;
  background: linear-gradient(112deg, #17151a 0%, #0d0c0f 58%, #0a090c 100%);
  border-right: 1px solid rgba(143, 197, 255, 0.10);
  transform: skewY(-1.6deg);
}

.hs-slab-b {
  left: 63%;
  right: -2%;
  background: linear-gradient(248deg, #1b181e 0%, #100e12 52%, #0b0a0d 100%);
  border-left: 1px solid rgba(143, 197, 255, 0.14);
  transform: skewY(1.1deg);
}

.hs-fissure {
  position: absolute;
  left: 58.2%;
  top: -6%;
  bottom: 6%;
  width: 5.2%;
  transform: rotate(2.6deg);
  background: linear-gradient(to bottom,
    #f7efdc 0%,
    #ecdcb6 30%,
    #c4ab7f 58%,
    #6e5e45 82%,
    rgba(45, 38, 28, 0) 100%);
  box-shadow:
    0 0 70px 22px rgba(232, 212, 166, 0.20),
    0 0 220px 60px rgba(143, 197, 255, 0.08);
}

.hs-pool {
  position: absolute;
  bottom: 0;
  left: 34%;
  width: 52%;
  height: 24%;
  transform: skewX(-40deg);
  background: linear-gradient(to bottom,
    rgba(238, 224, 192, 0.20) 0%,
    rgba(143, 197, 255, 0.05) 60%,
    rgba(143, 197, 255, 0) 100%);
}

@media (max-width: 900px) {
  /* phones/tablets: video edge to edge (cancels the page gutter on both sides) */
  .hero-scene { min-height: 15rem; order: -1; margin-top: 4.5rem; margin-inline: calc(-1 * var(--gutter)); border-radius: 0; }
  .hero { padding-top: 1rem; }
}

/* ---------- IDEA FIRST: warm ivory room, sculpted shape ---------- */

.idea-first {
  position: relative;
  overflow: clip;
}

.if-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
@media (max-width: 860px) { .if-grid { grid-template-columns: 1fr; } }

.if-copy { display: flex; flex-direction: column; gap: 1.6rem; align-items: flex-start; }

/* stone study: layered soft forms, replaced by photography later */
.if-stone {
  position: relative;
  min-height: clamp(14rem, 40vh, 26rem);
}
.if-stone i {
  position: absolute;
  border-radius: 58% 42% 52% 48% / 62% 55% 45% 38%;
}
.if-stone i:nth-child(2) { border-radius: 44% 56% 60% 40% / 45% 60% 40% 55%; }
.if-stone i:nth-child(1) {
  inset: 6% 18% 30% 4%;
  background: radial-gradient(120% 120% at 30% 20%, #d9d2c2 0%, #b8ae99 55%, #8d8471 100%);
  box-shadow: 24px 30px 60px -20px rgba(60, 52, 40, 0.45);
}
.if-stone i:nth-child(2) {
  inset: 48% 4% 4% 34%;
  background: radial-gradient(120% 120% at 35% 25%, #cfc6b2 0%, #a2977f 60%, #6f6653 100%);
  box-shadow: 20px 26px 50px -18px rgba(60, 52, 40, 0.5);
}
.if-stone::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(215deg, rgba(239, 236, 228, 0.5), transparent 45%);
  border-radius: inherit;
  pointer-events: none;
}

/* the capability index beside the stone (from the campaign language) */
.if-index {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.6rem;
}
.if-index span {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--light-muted);
  border-bottom: 1px solid var(--light-line);
  padding-bottom: 0.55rem;
  width: 11rem;
}

/* ---------- BECOME: one stage, one ribbon, four futures ---------- */

.become.room-light { background: var(--paper); }

.idea-script {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  line-height: 1.25;
  color: var(--light-text);
  transform: rotate(-1.2deg);
  display: inline-block;
}

.become-strip {
  position: relative;
  margin-top: clamp(3rem, 7vh, 5rem);
  padding-block: 1rem 2rem;
}

.strip-ribbon {
  position: absolute;
  left: -3%;
  right: -3%;
  top: 55%;
  height: 8rem;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0.9;
  z-index: 2;
}
/* the ribbon weaves: in front of even futures, behind odd ones */
.strip-item { position: relative; }
.strip-item:nth-child(odd) { z-index: 3; }
.strip-item:nth-child(even) { z-index: 1; }
.strip-ribbon svg { width: 100%; height: 100%; }

.strip-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.2rem, 3vw, 3rem);
  align-items: end;
  z-index: 2;
}

.strip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.3rem;
}

.strip-item .si-label {
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--light-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.strip-item .si-label::after {
  content: "";
  width: 1px;
  height: 1.6rem;
  background: var(--light-line);
}

/* artifacts — the same idea, four material forms */

.af {
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
  will-change: transform;
}
.strip-item:hover .af { transform: translateY(-6px); }

.af-site {
  width: min(17rem, 100%);
  background: #F7F4EC;
  border: 1px solid rgba(20, 20, 23, 0.1);
  box-shadow: 0 24px 50px -24px rgba(40, 34, 24, 0.45);
  padding: 1.1rem 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.af-site .afs-nav {
  display: flex;
  gap: 0.8rem;
  font-size: 0.5rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8b8574;
  border-bottom: 1px solid rgba(20, 20, 23, 0.1);
  padding-bottom: 0.5rem;
  margin-bottom: 0.3rem;
}
.af-site .afs-h {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: #141417;
  line-height: 1.1;
}
.af-site .afs-sub { font-size: 0.62rem; color: #8b8574; }
.af-site .afs-btn {
  align-self: flex-start;
  margin-top: 0.4rem;
  font-size: 0.5rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #141417;
  border: 1px solid rgba(20, 20, 23, 0.35);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
}

.af-app {
  width: 8.2rem;
  aspect-ratio: 9 / 18;
  background: #131215;
  border: 1px solid #2c2a30;
  border-radius: 1.4rem;
  box-shadow: 0 26px 50px -22px rgba(20, 16, 10, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  position: relative;
}
.af-app::before {
  content: "";
  position: absolute;
  top: 0.5rem;
  width: 30%;
  height: 0.4rem;
  border-radius: 999px;
  background: #060607;
}
.af-app .afa-num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.9rem;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}
.af-app .afa-rule {
  width: 55%;
  height: 1px;
  background: rgba(233, 231, 224, 0.25);
  position: relative;
}
.af-app .afa-rule::before {
  content: "";
  position: absolute;
  inset: -0.5px 45% -0.5px 0;
  background: var(--brass-bright);
}
.af-app .afa-cap { font-size: 0.52rem; letter-spacing: 0.16em; text-transform: uppercase; color: #8a8d94; }

.af-book {
  width: 9.6rem;
  aspect-ratio: 3 / 4;
  background: linear-gradient(160deg, #E5DEC9 0%, #D6CCB2 100%);
  border-left: 5px solid #b9a882;
  box-shadow: 14px 22px 44px -18px rgba(50, 42, 28, 0.55);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
}
.af-book .afb-caps {
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #3d382c;
}
.af-book .afb-title {
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.15;
  color: #141417;
}
.af-book .afb-meta { font-size: 0.5rem; letter-spacing: 0.16em; text-transform: uppercase; color: #877e64; }

.af-ai {
  width: min(17rem, 100%);
  background: #0F131C;
  border: 1px solid #2a262c;
  border-radius: 0.9rem;
  box-shadow: 0 26px 50px -22px rgba(15, 12, 8, 0.65);
  padding: 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.af-ai .afi-q {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.72rem;
  color: #77797f;
}
.af-ai .afi-a { font-size: 0.72rem; color: var(--text); line-height: 1.5; }
.af-ai .afi-a .caret-anchor { height: 0.8em; }
.af-ai .afi-wave {
  margin-top: 0.2rem;
  height: 1px;
  background: linear-gradient(to right, var(--brass) 0%, rgba(143, 197, 255, 0.1) 100%);
}

@media (max-width: 900px) {
  .strip-row { grid-template-columns: 1fr 1fr; gap: 2.5rem 1.5rem; align-items: start; }
  .strip-ribbon { display: none; }
}
@media (max-width: 480px) {
  .strip-row { grid-template-columns: 1fr; }
  .strip-item { flex-direction: column; }
}

.become-end {
  margin-top: clamp(3rem, 7vh, 5rem);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  border-top: 1px solid var(--light-line);
  padding-top: 1.6rem;
}
.become-end .be-big {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  color: var(--light-text);
}
.become-end .be-note { color: var(--light-muted); max-width: 26em; }
.become-end .be-note strong { color: var(--light-text); font-weight: 500; }

/* ---------- SELECTED WORK: stone gallery ---------- */

#work.room-asphalt { background: #1A1E26; color: var(--text); }
#work.room-asphalt .work-intro .display, #work.room-asphalt .wl-title { color: var(--text); }
#work.room-asphalt .lede, #work.room-asphalt .label, #work.room-asphalt .wl-meta, #work.room-asphalt .wl-num, #work.room-asphalt .wl-kick { color: #A3ABBA; }
#work.room-asphalt .label--brass, #work.room-asphalt .section-head .num { color: var(--brass-bright); }
#work.room-asphalt .section-head, #work.room-asphalt .wl-row, #work.room-asphalt .work-list { border-color: rgba(230, 233, 239, 0.14); }

#work .loop-feature {
  background: transparent;
  border: 0;
  padding-inline: 0;
  overflow: visible;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 30rem);
}
#work .phone-scene { margin: -2rem -1rem -5rem 0; position: relative; z-index: 2; }
@media (max-width: 900px) { #work .phone-scene { margin: -1rem 0 1.5rem; z-index: 1; } #work .loop-copy { position: relative; z-index: 2; } }  /* phones: no negative side margin (caused horizontal scroll ≤430px); positive bottom margin so the rotated phone never overlaps the label/title (v17.12) */
@media (max-width: 900px) {
  #work .loop-feature { grid-template-columns: 1fr; }
}

#work .loop-title { color: var(--text); }
#work .loop-tag { color: #A3ABBA; }
#work .loop-areas span { color: #8A94A8; }
#work .btn { border-color: rgba(230, 233, 239, 0.3); color: var(--text); }
#work .btn::before { background: var(--paper); }
#work .btn:hover { color: var(--void); border-color: var(--paper); }

#work .phone {
  width: min(23rem, 82vw);
  transform: rotate(-7deg);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.65),
    0 60px 110px -30px rgba(45, 38, 25, 0.55);
}
@media (max-width: 480px) { #work .phone { width: min(23rem, 70vw); } }  /* rotated phone must fit inside the viewport (was cut ≤430px) */
#work .phone-screen { padding: 0; }
#work .phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* dark posters for supporting work */
.poster-grid {
  margin-top: clamp(2.5rem, 6vh, 4rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: 1.2rem;
}

.poster {
  position: relative;
  min-height: 17rem;
  border-radius: 3px;
  overflow: hidden;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.6rem;
  background:
    radial-gradient(140% 110% at 85% -10%, #2b2830 0%, #17151a 48%, #0e0d10 100%);
  color: var(--text);
  transition: transform 0.5s var(--ease-out);
}
.poster:hover { transform: translateY(-5px); }
.poster::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(143, 197, 255, 0.12), transparent 40%);
  pointer-events: none;
}
.poster .p-kicker { color: var(--brass-bright); }
.poster h3 {
  font-family: var(--serif);
  font-weight: 380;
  font-size: 1.6rem;
  line-height: 1.15;
  color: var(--paper);
}
.poster p { color: var(--muted); font-size: 0.92rem; max-width: 26em; }
.poster .p-foot {
  margin-top: 0.8rem;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
}

.work-note {
  margin-top: 1.6rem;
  color: var(--light-muted);
  font-size: 0.85rem;
}

/* ---------- WHAT WE DO: graphite workshop ---------- */

#services { background: var(--graphite); }

/* ---------- HOW WE WORK: limestone, horizontal acts ---------- */

#method.room-light .method-steps { border-top-color: var(--light-line); }
#method.room-light .method-step {
  border-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding-block: 0;
}
#method.room-light .method-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  padding-top: clamp(2rem, 5vh, 3.5rem);
}
@media (max-width: 900px) {
  #method.room-light .method-steps { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
@media (max-width: 540px) {
  #method.room-light .method-steps { grid-template-columns: 1fr; }
}
#method.room-light .method-step h3 { color: var(--light-text); font-size: var(--display-sm); }
#method.room-light .step-num { color: #1F4FB8; padding-top: 0; }
#method.room-light .step-body { color: var(--light-muted); }
#method.room-light .lede { max-width: 44em; }

/* ---------- FINAL: the monument ---------- */

.contact {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(120% 90% at 12% 100%, #201a14 0%, rgba(16, 13, 10, 0) 55%),
    linear-gradient(200deg, #0d0c0f 0%, #08080a 100%);
}

.cta-mark {
  position: absolute;
  right: -6%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(20rem, 44vw, 44rem);
  aspect-ratio: 150 / 166;
  opacity: 0.14;
  pointer-events: none;
  z-index: 0;
}
.cta-mark svg { width: 100%; height: 100%; overflow: visible; }
.contact .wrap { position: relative; z-index: 2; }

@media (max-width: 900px) {
  .cta-mark { right: -30%; opacity: 0.1; }
}

/* hero title scaled for the two-column composition */
.hero-grid .hero-title { font-size: clamp(3rem, 7vw, 7.6rem); max-width: none; }
.hero-grid .hero-foot { margin-top: clamp(2rem, 5vh, 3.5rem); }
@media (max-width: 900px) {
  .hero-grid .hero-title { font-size: clamp(2.8rem, 11vw, 4.5rem); }
}


@media (max-width: 900px) {
  .hero-index { display: none; }
  .if-stone { min-height: 13rem; }
  .if-stone i:nth-child(1) { inset: 4% 30% 34% 2%; }
  .if-stone i:nth-child(2) { inset: 40% 8% 6% 42%; }
}

/* the two ivory rooms sit closer — one continuous gallery */
.idea-first { padding-bottom: clamp(3rem, 6vh, 5rem); }
.become.room-light { padding-top: clamp(4rem, 8vh, 6.5rem); }

/* ============================================================
   v7 — dashboard-reference execution layer
   ============================================================ */

/* real-image slots: a generated asset drops in over the CSS stand-in */
.scene-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}

/* nav CTA button */
.btn--nav {
  padding: 0.65rem 1.3rem;
  font-size: 0.7rem;
  border-color: var(--line);
}
@media (max-width: 600px) { .btn--nav { display: none; } }

/* glyph mark sizing */
.logo .mark { width: 1.35rem; height: 2.1rem; }
.logo .mark svg { width: 100%; height: 100%; }

/* idea-first: system line */
.if-system {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-width: 13rem;
}
.if-system span {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--light-muted);
  border-bottom: 1px solid var(--light-line);
  padding-bottom: 0.55rem;
}

.if-visual {
  position: relative;
  min-height: clamp(12rem, 32vh, 18rem);
  overflow: hidden;
  margin-right: calc(-1 * var(--gutter));
}
.if-visual .if-resolve { position: absolute; inset: 0; margin: 0; padding-right: var(--gutter); }

/* BECOME — dark stage */
.become-dark {
  background:
    radial-gradient(90% 70% at 78% 12%, #191720 0%, var(--ink-warm) 52%, #0a090c 100%);
  color: var(--text);
}
.become-dark .section-head { border-top-color: var(--line); }
.become-dark .label { color: var(--muted); }
.become-dark .section-head .num { color: var(--brass); }
.become-dark .il-label { color: var(--muted); }
.become-dark .idea-script { color: var(--paper); }
.become-dark .si-label { color: var(--faint); }
.become-dark .si-label::after { background: var(--line); }
.become-dark .become-end { border-top-color: var(--line); }
.become-dark .become-end .be-big { color: var(--paper); }
.become-dark .become-end .be-note { color: var(--muted); }
.become-dark .become-end .be-note strong { color: var(--text); }
.become-dark .af-site { box-shadow: 0 30px 60px -24px rgba(0,0,0,0.8); border-color: rgba(239,236,228,0.14); }
.become-dark .af-book { box-shadow: 16px 26px 50px -18px rgba(0,0,0,0.75); }
.become-dark .af-ai { border-color: #34303a; }

/* WHAT WE DO — reference composition */
.svc-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 6vh, 4.5rem);
}
.svc-title { font-size: var(--display-md); }
.svc-intro { max-width: 24em; }

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3.5vw, 3.5rem);
  border-top: 1px solid var(--line);
  padding-top: clamp(1.8rem, 4vh, 2.8rem);
}
@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem 2rem; } }
@media (max-width: 540px) { .svc-grid { grid-template-columns: 1fr; } }

.svc-col h3 {
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(1.25rem, 1.9vw, 1.7rem);
  line-height: 1.15;
  margin-bottom: 0.8rem;
}
.svc-col p { color: var(--muted); font-size: 0.9rem; max-width: 24em; }

/* METHOD — title + numbered acts */
.method-title {
  font-size: var(--display-md);
  margin-bottom: clamp(2.5rem, 6vh, 4rem);
}
#method .method-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3.5vw, 3.5rem);
  border-top: 1px solid var(--light-line);
  padding-top: clamp(1.8rem, 4vh, 2.8rem);
}
@media (max-width: 900px) { #method .method-steps { grid-template-columns: 1fr 1fr; gap: 2.5rem 2rem; } }
@media (max-width: 540px) { #method .method-steps { grid-template-columns: 1fr; } }

#method .method-step {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  border-left: 1px solid var(--light-line);
  padding-left: 1.2rem;
}
#method .step-num {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: #1F4FB8;
}
#method .method-step h3 {
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: 1;
}
#method .step-body { color: var(--light-muted); font-size: 0.92rem; }

/* WHY — integrated strip */
.why-strip {
  margin-top: clamp(4rem, 9vh, 6.5rem);
  border-top: 1px solid var(--light-line);
  padding-top: clamp(2rem, 5vh, 3.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 2rem clamp(2.5rem, 6vw, 6rem);
}
@media (max-width: 860px) { .why-strip { grid-template-columns: 1fr; } }

.why-h {
  font-family: var(--serif);
  font-weight: 380;
  font-size: var(--display-sm);
  line-height: 1.08;
}
.why-h em { font-style: normal; color: inherit; }

.why-lines {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  line-height: 1.55;
  color: var(--light-text);
  margin-bottom: 1.2rem;
}
.why-note { color: var(--light-muted); max-width: 36em; font-size: 0.95rem; }

/* CTA — monument grid + identity panel */
.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: stretch;
  margin-bottom: clamp(4rem, 9vh, 7rem);
}
@media (max-width: 900px) { .cta-grid { grid-template-columns: 1fr; } }

.cta-copy { display: flex; flex-direction: column; gap: 1.8rem; align-items: flex-start; justify-content: center; }
.cta-copy .contact-title { margin: 0; font-size: var(--display-lg); }
.cta-go { font-size: 0.85rem; color: var(--paper); }
.cta-go::after { color: var(--brass-bright); }

.cta-panel {
  position: relative;
  min-height: clamp(20rem, 50vh, 30rem);
  overflow: hidden;
  border-radius: 3px;
  background:
    radial-gradient(120% 100% at 20% 100%, #241c13 0%, rgba(20,16,11,0) 55%),
    linear-gradient(215deg, #16131a 0%, #0b0a0d 60%, #080709 100%);
  margin-right: 0;                                   /* inside the content edge on every width: not cut by the window edge */
  border: 1px solid rgba(143, 197, 255, 0.12);
}
.cta-panel .cta-id {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
}
.cta-panel .cta-mark {
  position: static;
  transform: none;
  width: clamp(7rem, 12vw, 10rem);
  opacity: 1;
  aspect-ratio: auto;
}
.cta-panel .cta-name {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.5em;
  text-indent: 0.5em;
  text-transform: uppercase;
  color: var(--paper);
}
.cta-panel .cta-tag {
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  text-transform: uppercase;
  color: var(--faint);
}
@media (max-width: 900px) { .cta-panel { margin-right: 0; min-height: 22rem; } .cta-panel .cta-mark { width: 5.5rem; } }

#enquiry { scroll-margin-top: 5rem; }


/* v8 — art-direction polish */
.room-light { position: relative; }
.room-light::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}
.room-light > * { position: relative; z-index: 1; }

.logo { gap: 0.55rem; }
.logo .mark { width: 1.2rem; height: 1.85rem; }
.logo-name { font-size: 0.66rem; letter-spacing: 0.34em; }
.btn--nav { padding: 0.55rem 1.15rem; font-size: 0.66rem; }

/* circled arrow — the reference's quiet signature detail */
.circ-arrow {
  display: inline-grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--brass-bright);
  flex: none;
}
.become-dark .become-end { align-items: center; }

/* incomplete-asset notice (visible only until real images arrive) */
.asset-note {
  position: absolute;
  left: 1rem;
  bottom: 0.8rem;
  z-index: 4;
  font-size: 0.56rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(143,197,255,0.5);
}
.scene-img ~ .asset-note { display: none; }

/* ============================================================
   v9 — final assets in place
   ============================================================ */

.hero-scene .scene-img { object-position: 62% center; }
/* gentle life in the hero (no video): very slow push-in and drift + the light in the fissure breathes.
   transform/opacity only (no layout shift); disabled for prefers-reduced-motion */
.hero-scene .scene-img { transform-origin: 66% 50%; animation: hero-drift 28s ease-in-out infinite alternate; will-change: transform; }
/* video layer "from light to structure": while waiting the video's poster (first frame) replaces the still;
   the video holds its last frame (= the still) after playing once */
.hero-scene .scene-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% center; z-index: 2; opacity: 0; pointer-events: none; background: #070608; }
.hero-scene.will-video .scene-video { opacity: 1; }
.hero-scene.will-video .scene-img, .hero-scene.will-video::after { animation: none; opacity: 0; }
@media (prefers-reduced-motion: reduce) { .hero-scene .scene-video { display: none; } }
.hero-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(22% 60% at 66% 48%, rgba(255, 226, 170, 0.32) 0%, rgba(255, 226, 170, 0) 70%);
  mix-blend-mode: screen;
  opacity: 0.35;
  animation: hero-light 7s ease-in-out infinite alternate;
}
@keyframes hero-drift { from { transform: scale(1) translate3d(0, 0, 0); } to { transform: scale(1.07) translate3d(-1.2%, -0.8%, 0); } }
@keyframes hero-light { from { opacity: 0.2; } to { opacity: 0.75; } }
@media (prefers-reduced-motion: reduce) { .hero-scene .scene-img, .hero-scene::after { animation: none; } }
.hero-scene::before {
  /* whisper of dark on the seam so type never fights the light */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(to right, rgba(8,8,10,0.55) 0%, rgba(8,8,10,0) 30%);
  pointer-events: none;
}

.if-visual { min-height: clamp(16rem, 44vh, 26rem); border-radius: 0; }
.if-visual .scene-img { object-position: center 68%; }

.cta-panel .scene-img { object-position: center; }
.cta-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(80% 60% at 50% 52%, rgba(8,7,9,0.42) 0%, rgba(8,7,9,0.05) 70%);
  pointer-events: none;
}
.cta-panel .cta-id { text-shadow: 0 2px 24px rgba(0,0,0,0.55); }
.cta-panel .cta-id { right: 0; }
@media (max-width: 900px) { .cta-panel .cta-id { right: 0; } }

/* ============================================================
   v11 — products layer (same design system, new templates)
   ============================================================ */

.p-hero { padding-top: clamp(8rem, 18vh, 11rem); padding-bottom: clamp(3rem, 7vh, 5rem); }
.p-hero .label { display:block; margin-bottom: 1.4rem; }
.p-hero h1 { font-size: var(--display-lg); max-width: 14ch; }
.p-hero .lede { margin-top: 1.8rem; }
/* overview pages: a shorter opener so the cards are on the first screen */
.p-hero--compact { padding-top: clamp(5.5rem, 11vh, 7.5rem); padding-bottom: clamp(1.6rem, 3.5vh, 2.6rem); }
.p-hero--compact h1 { font-size: var(--display-md); max-width: 18ch; }
.p-hero--compact .lede { margin-top: 1rem; max-width: 40em; font-size: 1rem; }
.p-hero--compact .label { margin-bottom: 0.9rem; }
.section--tight { padding-top: clamp(2rem, 4vh, 3rem); }
.section--tight .section-head { margin-bottom: clamp(1.4rem, 3vh, 2.2rem); }

.status-chip {
  display:inline-block; margin-left: 1rem; vertical-align: middle;
  font-size: .62rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  border: 1px solid var(--line); border-radius: 999px; padding: .4rem .9rem; color: var(--brass-bright);
}
.room-light .status-chip { border-color: var(--light-line); color: #1F4FB8; }

/* product gallery rows */
.pg-rows { list-style:none; margin:0; padding:0; border-top: 1px solid var(--light-line); }
.pg-rows li { border-bottom: 1px solid var(--light-line); }
.pg-rows a {
  display:grid; grid-template-columns: 3rem minmax(0,1.1fr) minmax(0,1fr) auto;
  gap: 1.5rem; align-items: baseline; padding: clamp(1.4rem,3vh,2rem) 0;
  transition: transform .5s var(--ease-out);
}
.pg-rows a:hover { transform: translateX(.5rem); }
.pg-rows .pg-num { font-family: var(--serif); font-style: italic; font-size: .9rem; color: #1F4FB8; }
.pg-rows .pg-name { font-family: var(--serif); font-weight: 380; font-size: clamp(1.4rem,2.6vw,2.2rem); line-height:1.1; color: var(--light-text); }
.pg-rows .pg-line { color: var(--light-muted); font-size: .95rem; max-width: 30em; }
.pg-rows .pg-meta { font-size:.66rem; letter-spacing:.18em; text-transform:uppercase; color:#8A94A8; white-space:nowrap; }
@media (max-width: 860px){ .pg-rows a { grid-template-columns: 2.2rem 1fr; } .pg-rows .pg-line{grid-column:2} .pg-rows .pg-meta{grid-column:2} }
@media (max-width: 480px){ .pg-rows .pg-meta { white-space: normal; } }

/* artist page (RAMAS): dark top with the DistroKid release card, small, beside the text */
.artist-top { padding-bottom: clamp(2.5rem, 6vh, 4rem); }
.artist-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.artist-card { margin: 0; justify-self: end; width: clamp(11rem, 22vw, 16rem); padding: 0.35rem; background: #0F131C; border: 1px solid rgba(143, 197, 255, 0.35); border-radius: 3px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.85); }
.artist-card img { display: block; width: 100%; height: auto; border-radius: 2px; }
@media (max-width: 860px) { .artist-grid { grid-template-columns: 1fr; } .artist-card { justify-self: start; width: clamp(10rem, 48vw, 14rem); } }

.pd-cover-img { width: 100%; max-width: 24rem; aspect-ratio: 1; object-fit: cover; border-radius: 3px; border: 1px solid rgba(20, 20, 23, 0.25); padding: 0.6rem; background: var(--paper); box-shadow: 0 30px 60px -24px rgba(45, 38, 25, 0.5); display: block; margin-inline: auto; }

/* products overview: card grid, every card is a link to its page */
.pcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.1rem, 2.2vw, 1.8rem); }
@media (max-width: 1000px) { .pcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pcards { grid-template-columns: 1fr; } }
.pcard { display: flex; flex-direction: column; gap: 0.55rem; padding: clamp(1.3rem, 2.6vw, 1.9rem); background: rgba(255, 255, 255, 0.6); border: 1px solid var(--light-line); border-radius: 4px; box-shadow: 0 18px 40px -28px rgba(45, 38, 25, 0.45); color: var(--light-text); text-decoration: none; transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s; }
.pcard:hover, .pcard:focus-visible { transform: translateY(-3px); box-shadow: 0 28px 50px -26px rgba(45, 38, 25, 0.55); border-color: rgba(150, 121, 63, 0.55); }
.pcard:focus-visible { outline: 2px solid #1F4FB8; outline-offset: 3px; }
.pcard .label { color: #1F4FB8; }
.pcard .pc-title { font-family: var(--serif); font-weight: 500; font-size: clamp(1.45rem, 2.2vw, 1.9rem); line-height: 1.12; color: var(--light-text); margin-top: 0.15rem; }
.pcard .pc-sub { color: var(--light-muted); font-size: 0.93rem; line-height: 1.5; }
.pcard .pc-meta { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--light-line); display: grid; gap: 0.55rem; font-size: 0.86rem; color: var(--light-muted); }
.pcard .pc-row { display: flex; align-items: center; gap: 0.6rem; }
.pcard .pc-row b { color: #1F4FB8; font-weight: 500; }
.pcard .pc-ico { display: inline-flex; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: rgba(150, 121, 63, 0.12); color: #1F4FB8; align-items: center; justify-content: center; flex: none; }
.pcard .pc-ico svg { width: 0.95rem; height: 0.95rem; }

/* product detail */
.pd-grid { display:grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: clamp(2rem,5vw,5rem); align-items:center; }
@media (max-width:860px){ .pd-grid{grid-template-columns:1fr} }

.pd-object {
  position:relative; min-height: clamp(14rem,38vh,22rem);
  display:grid; place-items:center;
}
/* editorial cover object (vector, in Become-artifact language) */
.pd-cover {
  width: min(15rem, 70vw); aspect-ratio: 3/4;
  background: linear-gradient(160deg,#F4F1E8 0%,#E2DBC8 100%);
  border-left: 6px solid #b9a882;
  box-shadow: 18px 26px 54px -18px rgba(50,42,28,.45);
  display:flex; flex-direction:column; justify-content:center; gap:.6rem; padding:1.4rem;
}
.pd-cover .c-caps { font-size:.62rem; font-weight:500; letter-spacing:.24em; text-transform:uppercase; color:#3d382c; }
.pd-cover .c-title { font-family:var(--serif); font-size:1.35rem; line-height:1.15; color:#141417; }
.pd-cover .c-meta { font-size:.56rem; letter-spacing:.16em; text-transform:uppercase; color:#877e64; }
.pd-cover--sheet { background: linear-gradient(165deg,#173047 0%,#0e1e2e 100%); border-left-color:#C9A96A; }
.pd-cover--sheet .c-caps{color:#C9B487}.pd-cover--sheet .c-title{color:#EFECE4}.pd-cover--sheet .c-meta{color:#8fa3b5}

.need-line {
  font-family: var(--serif); font-weight:370;
  font-size: clamp(1.5rem,3vw,2.4rem); line-height:1.3;
  max-width: 24ch; text-wrap:balance;
}
.need-line em { font-style: normal; color: inherit; }

.inside-rows { list-style:none; margin:1.5rem 0 0; padding:0; border-top:1px solid var(--light-line); max-width: 44em; }
.inside-rows li { display:grid; grid-template-columns: minmax(9rem,14rem) 1fr; gap:1.2rem; padding:.95rem 0; border-bottom:1px solid var(--light-line); }
.inside-rows b { font-family:var(--serif); font-weight:500; font-size:1.02rem; color:var(--light-text); }
.inside-rows span { color:var(--light-muted); font-size:.93rem; }
@media (max-width:620px){ .inside-rows li{grid-template-columns:1fr; gap:.25rem} }

/* where to get it */
.channels { list-style:none; margin:1.6rem 0 0; padding:0; max-width: 34rem; }
.channels li + li { margin-top:.8rem; }
.channels a {
  display:flex; justify-content:space-between; align-items:center; gap:1.5rem;
  border:1px solid var(--line); border-radius:999px; padding:1rem 1.6rem;
  transition: border-color .3s, background .3s, color .3s;
}
.channels a:hover { border-color: var(--paper); background: var(--paper); color: var(--void); }
.channels .ch-name { font-size:.82rem; font-weight:500; letter-spacing:.14em; text-transform:uppercase; }
.channels .ch-note { font-size:.66rem; letter-spacing:.16em; text-transform:uppercase; color:var(--faint); }
.channels a:hover .ch-note { color: inherit; opacity:.7; }

.pd-note { font-size:.8rem; color:var(--faint); border-left:1px solid var(--brass); padding-left:1.1rem; max-width:38em; margin-top:1.6rem; }
.room-light .pd-note { color:var(--light-muted); border-left-color:#1F4FB8; }

/* ---------- language selector (EN/IT) ---------- */
.lang-switch {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--muted, rgba(233,231,224,0.55));
  border: 1px solid var(--line-soft, rgba(233,231,224,0.16));
  padding: 0.38rem 0.66rem;
  border-radius: 2px;
  text-decoration: none;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.lang-switch:hover,
.lang-switch:focus-visible {
  color: var(--brass-bright, #C9A961);
  border-color: var(--brass-bright, #C9A961);
}


/* ============================================================
   v15 — editorial devices (marquee, work list previews, mega footer, chapters)
   ============================================================ */
.marquee { overflow: hidden; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding: 0.9rem 0; background: var(--void); }
.mq-track { display: flex; width: max-content; gap: 2.2rem; align-items: baseline; white-space: nowrap; animation: mq-scroll 48s linear infinite; }
.marquee:hover .mq-track { animation-play-state: paused; }
.mq-item { font-family: var(--serif); font-style: italic; font-size: clamp(1.05rem, 1.6vw, 1.35rem); color: var(--paper-dim); }
.mq-item:nth-child(4n+1) { color: var(--brass-bright); }
.mq-dot { color: var(--faint-legible); }
@keyframes mq-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .mq-track { animation: none; } }

.work-list { list-style: none; margin: clamp(2.5rem, 6vh, 4rem) 0 0; padding: 0; border-top: 1px solid var(--light-line); }
.work-list li { border-bottom: 1px solid var(--light-line); }
.wl-row { display: grid; grid-template-columns: 3rem minmax(0, 1fr) auto 2rem; gap: 1.2rem; align-items: center; padding: 1.3rem 0; color: var(--light-text); text-decoration: none; position: relative; transition: padding-left 0.4s var(--ease-out); }
.wl-row:hover, .wl-row:focus-visible { padding-left: 0.6rem; }
.wl-row:focus-visible { outline: 2px solid #1F4FB8; outline-offset: 4px; }
.wl-num { font-family: var(--serif); font-style: italic; color: #1F4FB8; font-size: 0.95rem; }
.wl-main { display: grid; gap: 0.2rem; min-width: 0; }
.wl-kick { font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: #8A94A8; }
.wl-title { font-family: var(--serif); font-weight: 380; font-size: clamp(1.5rem, 3vw, 2.6rem); line-height: 1.1; }
.wl-meta { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--light-muted); white-space: nowrap; }
.wl-arrow { color: #1F4FB8; font-size: 1.3rem; transition: transform 0.35s var(--ease-out); }
.wl-row:hover .wl-arrow { transform: translateX(0.3rem); }
.wl-thumb { display: none; }
@media (hover: none), (max-width: 760px) {
  .wl-row { grid-template-columns: 2.4rem minmax(0, 1fr) 4.2rem; }
  .wl-meta, .wl-arrow { display: none; }
  .wl-thumb { display: block; width: 4.2rem; aspect-ratio: 4 / 5; border-radius: 3px; overflow: hidden; }
  .wl-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
  }


.chapters { display: none; }
@media (min-width: 1500px) and (hover: hover) {
  .chapters { display: block; position: fixed; right: 1.6rem; top: 50%; transform: translateY(-50%); z-index: 80; }
  .chapters ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
  .chapters a { display: flex; align-items: center; gap: 0.6rem; font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint-legible); text-decoration: none; mix-blend-mode: difference; transition: color 0.3s; }
  .chapters a span { font-family: var(--serif); font-style: italic; font-size: 0.8rem; letter-spacing: 0; color: var(--brass); }
  .chapters a:hover, .chapters a:focus-visible, .chapters a.is-current { color: var(--paper); }
  .chapters a::after { content: ""; width: 0; height: 1px; background: var(--brass); transition: width 0.3s; order: -1; }
  .chapters a.is-current::after { width: 1.2rem; }
  body.menu-open .chapters { display: none; }
}

.svc-col { position: relative; padding-top: 1rem; }
.svc-col::before { content: ""; position: absolute; left: 0; top: 0; width: 0; height: 1px; background: var(--brass); transition: width 0.5s var(--ease-out); }
.svc-col:hover::before { width: 100%; }


/* ============================================================
   v17.9 — desktop: the hero video fills the whole first screen, edge to edge,
   with the headline on top of it (dark gradient on the left keeps the text readable)
   ============================================================ */
@media (min-width: 901px) {
  .hero.wrap { max-width: none; isolation: isolate; }
  .hero-grid { width: 100%; max-width: calc(100rem - 2 * var(--gutter)); margin-inline: auto; }
  .hero-grid > :first-child { position: relative; z-index: 2; }   /* headline + buttons above the video */
  .hero-scene { position: absolute; inset: 0; margin: 0; min-height: 0; z-index: 0; border-radius: 0; }
  .hero-scene::before { background: linear-gradient(90deg, rgba(8,8,10,0.88) 0%, rgba(8,8,10,0.62) 38%, rgba(8,8,10,0.12) 62%, rgba(8,8,10,0) 75%), linear-gradient(to top, rgba(8,8,10,0.55) 0%, rgba(8,8,10,0) 28%), linear-gradient(to bottom, rgba(8,8,10,0.78) 0%, rgba(8,8,10,0.35) 10%, rgba(8,8,10,0) 20%); }
}


/* ============================================================
   v17.10 — phones/tablets: the hero video fills the whole first screen too (edge to edge, full height),
   the headline sits on top of it at the bottom; the frame is positioned on the light fissure
   ============================================================ */
@media (max-width: 900px) {
  .hero { padding-top: 0; min-height: 100svh; isolation: isolate; }
  .hero-grid { min-height: 100svh; align-content: end; padding-top: 5.5rem; padding-bottom: clamp(2.5rem, 6vh, 4rem); }
  .hero-grid > :first-child { position: relative; z-index: 2; }
  .hero-scene { position: absolute; inset: 0; order: 0; margin: 0; min-height: 0; z-index: 0; border-radius: 0; }
  .hero-scene .scene-img, .hero-scene .scene-video { object-position: 55% center; }
  .hero-scene::before { background: linear-gradient(to top, rgba(8,8,10,0.92) 0%, rgba(8,8,10,0.72) 30%, rgba(8,8,10,0.25) 55%, rgba(8,8,10,0) 72%), linear-gradient(to bottom, rgba(8,8,10,0.75) 0%, rgba(8,8,10,0.3) 9%, rgba(8,8,10,0) 18%); }
  .hero-grid .hero-foot { margin-top: clamp(1.4rem, 3.5vh, 2.2rem); }
}

/* v17.10 — short phone screens (iPhone SE, phones in landscape): smaller headline so the first screen fits better */
@media (max-width: 900px) and (max-height: 700px) {
  .hero-grid { padding-top: 4.5rem; }
  .hero-grid .hero-title { font-size: clamp(2.2rem, 8.5vw, 3.2rem); }
  .hero-lede { font-size: 0.95rem; }
  .hero-grid .hero-foot { margin-top: 1.2rem; gap: 1.2rem; }
}
/* v17.10 — "Idea first" five-stones photo on phones/tablets: whole picture visible (16:9 box, edge to edge) */
@media (max-width: 860px) {
  .if-visual { min-height: 0; aspect-ratio: 16 / 9; margin-inline: calc(-1 * var(--gutter)); border-radius: 0; }
  .if-visual .scene-img { object-position: center center; }
}


/* v19 — Audiowide has no italic face: italic accents become upright; display face gets a little tracking and breathing room */
em, i, .mq-item, .wl-num { font-style: normal; }
.display, h1, h2, h3, .serif { letter-spacing: 0.02em; line-height: 1.18; }
.hero-grid .hero-title { font-size: clamp(2rem, 4.7vw, 4.9rem); }
@media (max-width: 900px) { .hero-grid .hero-title { font-size: clamp(2rem, 8.4vw, 3.2rem); } }
@media (max-width: 900px) and (max-height: 700px) { .hero-grid .hero-title { font-size: clamp(1.35rem, 5vw, 1.9rem); } }

/* ============================================================
   v21 (08.10.2026) — MOTION FX LAYER (assets/js/motion-fx.js)
   html.fx = script active (never with prefers-reduced-motion); html.fx-desktop = >900px.
   ============================================================ */
html.fx body { overflow-x: clip; }                /* sticky pins need a body that does not scroll-clip */
html.fx .hero-title > span { overflow: visible; } /* scattered letters leave their line masks */
html.fx .hero-scene, html.fx .hero-foot { will-change: transform; }
.fx-ch { display: inline-block; will-change: transform, opacity, filter; }
.fx-ghost { position: absolute; left: -0.04em; top: -0.1em; font-family: var(--serif); font-size: clamp(9rem, 26vw, 24rem); line-height: 1; -webkit-text-fill-color: transparent; -webkit-text-stroke: 1px currentColor; color: var(--paper); opacity: 0.2; pointer-events: none; user-select: none; z-index: 0; white-space: nowrap; }
.room-light .fx-ghost { color: var(--light-text); opacity: 0.1; } #work.room-asphalt .fx-ghost { opacity: 0.12; }
html.fx .section { position: relative; } html.fx .section > .wrap, html.fx .section-head, html.fx .display, html.fx .svc-head, html.fx .svc-grid, html.fx .method-steps, html.fx .work-intro, html.fx .work-list, html.fx .loop-feature, html.fx .fx-pin { position: relative; z-index: 1; }
.fx-outline { position: relative; overflow: hidden; padding: clamp(2.5rem, 6vh, 4.5rem) 0; background: var(--bg); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.fx-outline .t { display: flex; gap: 0.6em; white-space: nowrap; font-family: var(--serif); font-size: clamp(3.4rem, 9vw, 8.5rem); line-height: 1; letter-spacing: 0.02em; -webkit-text-fill-color: transparent; -webkit-text-stroke: 1px rgba(200, 212, 235, 0.5); color: var(--paper); will-change: transform; }
.fx-outline .t span { padding-right: 0.6em; } .fx-outline .t span b { -webkit-text-fill-color: var(--brass); -webkit-text-stroke: 0; font-weight: inherit; }
/* pinned horizontal "What we do" */
html.fx-desktop #services { height: 320vh; padding-top: 0; padding-bottom: 0; }
html.fx-desktop #services .fx-pin { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-top: 5rem; }
html.fx-desktop #services .svc-head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; margin-bottom: 3rem; }
html.fx-desktop #services .svc-grid { display: flex; gap: 2.5rem; width: max-content; will-change: transform; padding-right: 20vw; counter-reset: fxsvc; }
html.fx-desktop #services .svc-col { width: clamp(300px, 28vw, 440px); flex: none; padding: 2.2rem 2.2rem 2.6rem; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(180deg, rgba(230,233,239,0.04), rgba(230,233,239,0.015)); position: relative; overflow: hidden; transform-style: preserve-3d; transition: transform 0.25s ease-out; }
html.fx-desktop #services .svc-col::before { content: counter(fxsvc); counter-increment: fxsvc; position: absolute; right: 1.4rem; top: 1rem; font-family: var(--serif); font-size: 5rem; line-height: 1; color: rgba(143, 197, 255, 0.16); }
html.fx-desktop #services .svc-col::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(300px circle at var(--gx, 50%) var(--gy, 50%), rgba(143,197,255,0.2), transparent 60%); opacity: 0; transition: opacity 0.4s; pointer-events: none; }
html.fx-desktop #services .svc-col:hover::after { opacity: 1; } html.fx-desktop #services .svc-col h3 { margin-top: 2.5rem; }
.fx-hbar { height: 1px; background: var(--line); margin-top: 3rem; position: relative; overflow: hidden; } .fx-hbar i { position: absolute; inset: 0; background: var(--brass); transform: scaleX(var(--p, 0)); transform-origin: left; }
/* stacked method cards */
html.fx-desktop #method .method-steps { display: block; border-top: 0; padding-top: 0; }
html.fx-desktop #method .method-step { position: sticky; top: calc(14vh + var(--i, 0) * 1.4rem); min-height: 52vh; margin: 0 0 6vh; padding: 3rem clamp(1.5rem, 4vw, 4rem); border: 1px solid var(--light-line); border-radius: 26px; background: var(--limestone); box-shadow: 0 -10px 40px rgba(14,18,32,0.08), 0 30px 60px rgba(14,18,32,0.12); display: grid; grid-template-columns: auto 1fr; gap: 1rem 3rem; align-items: start; transform-origin: top center; will-change: transform; }
html.fx-desktop #method .method-step:nth-child(2) { background: #E2E5EA; } html.fx-desktop #method .method-step:nth-child(3) { background: var(--stone); } html.fx-desktop #method .method-step:nth-child(4) { background: #CED2D9; }
html.fx-desktop #method .method-step .step-num { font-size: clamp(4rem, 9vw, 8rem); line-height: 0.9; color: #1F4FB8; grid-row: 1 / span 2; }
html.fx-desktop #method .method-step h3 { font-size: clamp(2rem, 4vw, 3.4rem); margin: 0; } html.fx-desktop #method .method-step .step-body { font-size: 1.25rem; max-width: 30em; }
html.fx-desktop #method .method-step::after { content: ""; position: absolute; left: 2rem; right: 2rem; bottom: 1.6rem; height: 1px; background: linear-gradient(to right, var(--brass), transparent); }
/* curtain reveals */
html.fx .if-visual, html.fx .cta-panel, html.fx .phone-scene { clip-path: inset(0 100% 0 0); transition: clip-path 1.3s cubic-bezier(.76,0,.24,1); }
html.fx .if-visual img, html.fx .cta-panel > picture img { transform: scale(1.35); transition: transform 1.6s cubic-bezier(.2,.7,.2,1); }
html.fx .is-in.if-visual, html.fx .is-in.cta-panel, html.fx .is-in.phone-scene { clip-path: inset(0 0 0 0); } html.fx .is-in img, html.fx .is-in > picture img { transform: scale(1); }
/* masked headings */
.fx-mask { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; } .fx-line { display: block; transform: translateY(115%); transition: transform 1s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); } .is-in .fx-line { transform: none; }
/* velocity skew */
html.fx .if-visual, html.fx .cta-panel, html.fx .wl-thumb, html.fx .mq-track { will-change: transform; }
/* page curtain */
.fx-curtain { position: fixed; inset: 0; z-index: 2000; background: var(--bg); transform: scaleY(0); transform-origin: bottom; pointer-events: none; display: grid; place-items: center; }
.fx-curtain.is-in { transition: transform 0.65s cubic-bezier(.76,0,.24,1); transform: scaleY(1); }
.fx-curtain.is-arrive { transform: scaleY(1); transform-origin: top; } .fx-curtain.is-arrive.is-out { transition: transform 0.8s cubic-bezier(.76,0,.24,1) 0.05s; transform: scaleY(0); }
.fx-curtain span { font-family: var(--serif); font-size: clamp(1.2rem, 3vw, 2rem); letter-spacing: 0.3em; text-transform: uppercase; color: var(--brass-bright); text-shadow: 0 0 24px rgba(76,141,255,0.8); opacity: 0; transition: opacity 0.3s 0.3s; } .fx-curtain.is-in span { opacity: 1; }
/* progress thread + to-top ring */
.fx-progress { position: fixed; left: 0; top: 0; height: 2px; width: 100%; z-index: 120; pointer-events: none; } .fx-progress i { display: block; height: 100%; background: linear-gradient(to right, var(--brass), var(--brass-bright)); transform: scaleX(var(--p, 0)); transform-origin: left; }
.fx-top { position: fixed; left: 22px; bottom: 22px; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(9,13,21,0.7); color: var(--paper); cursor: pointer; z-index: 120; opacity: 0; transform: translateY(12px); transition: opacity 0.4s, transform 0.4s; backdrop-filter: blur(8px); display: grid; place-items: center; pointer-events: none; }
.fx-top svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); } .fx-top circle { fill: none; stroke-width: 1.5; } .fx-top .bg { stroke: rgba(230,233,239,0.15); } .fx-top .fg { stroke: var(--brass-bright); stroke-dasharray: 151; stroke-dashoffset: calc(151 - 151 * var(--p, 0)); } .fx-top span { font-size: 14px; } .fx-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.fx-top:focus-visible { outline: 1.5px solid var(--brass-bright); outline-offset: 3px; }
@media (max-width: 900px) { .fx-top { left: 14px; bottom: 14px; width: 44px; height: 44px; } }
/* stacked light sheets */
html.fx .room-light { border-radius: 28px 28px 0 0; margin-top: -28px; position: relative; z-index: 2; box-shadow: 0 -24px 60px rgba(0,0,0,0.45); }
@media (max-width: 700px) { html.fx .room-light { border-radius: 18px 18px 0 0; margin-top: -18px; } }
/* v21.1 (08.10): the stacked light sheet overlaps the block above it by 28px/18px; the hero marquee
   is only ~50px tall, so its text was half-hidden under the sheet. Reserve that overlap inside the strip. */
html.fx .marquee { padding-bottom: calc(0.9rem + 28px); }
@media (max-width: 700px) { html.fx .marquee { padding-bottom: calc(0.9rem + 18px); } }
@media (prefers-reduced-motion: reduce) { .fx-outline, .fx-curtain, .fx-progress, .fx-top, .fx-ghost { display: none !important; } .fx-line { transform: none !important; } }
@media (max-width: 480px) { .hero-actions { flex-direction: column; align-items: flex-start; gap: 1.1rem; } }  /* v21: on phones the two hero actions always stack — the row no longer depends on font metrics (CLS fix) */
