/* ============================================
   PIXALS — Design System v4 (SpaceX pitch deck)
   One-page scrolling presentation · horizontal sliders
   Fluid responsive from 320px to 4K
   ============================================ */

:root {
  /* Color — monochrome */
  --bg:           #000;
  --bg-soft:      #060606;
  --ink:          #fff;
  --ink-soft:     rgba(255, 255, 255, 0.78);
  --ink-muted:    rgba(255, 255, 255, 0.5);
  --ink-faint:    rgba(255, 255, 255, 0.28);
  --line:         rgba(255, 255, 255, 0.14);
  --line-soft:    rgba(255, 255, 255, 0.06);

  /* Type */
  --sans:   "futura-pt", "Futura PT", "Jost", "Futura",
            -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono:   "JetBrains Mono", "SF Mono", Menlo, monospace;

  /* Fluid scale — works from 360px to 4K */
  --t-mega:     clamp(2rem, 5vw, 5rem);     /* capped — was 6rem, prevents giant title overflow */
  --t-display:  clamp(1.625rem, 3.5vw, 3.5rem);
  --t-h2:       clamp(1.375rem, 2.4vw, 2.25rem);
  --t-h3:       clamp(1.125rem, 1.4vw, 1.5rem);
  --t-body:     clamp(0.9375rem, 0.95vw, 1.0625rem);
  --t-small:    clamp(0.8125rem, 0.78vw, 0.9375rem);
  --t-micro:    clamp(0.625rem, 0.65vw, 0.75rem);

  /* Space */
  --edge:       clamp(1.25rem, 3vw, 3.5rem);
  --gap:        clamp(1rem, 2vw, 2rem);
  --panel-h:    100svh;

  /* Motion */
  --ease:       cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast:   180ms;
  --dur:        320ms;
}

/* Ultra-wide / 4K */
@media (min-width: 2200px) {
  :root {
    --t-mega:    clamp(3.5rem, 4vw, 6.5rem);   /* capped — was 9rem, never overflows panel */
    --t-display: clamp(3rem, 3vw, 5rem);
    --edge:      clamp(3rem, 4vw, 6rem);
  }
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-width: 320px;
}
img, video, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; color: inherit; cursor: pointer; }
::selection { background: var(--ink); color: var(--bg); }

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  /* Explicit equal padding so items vertically center perfectly in the bar */
  padding-top: clamp(1rem, 1.4vw, 1.5rem);
  padding-bottom: clamp(1rem, 1.4vw, 1.5rem);
  padding-left: var(--edge);
  padding-right: var(--edge);
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  gap: 1rem;
}
.nav > * { pointer-events: auto; }
.nav__logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.nav__logo img {
  height: clamp(22px, 1.9vw, 30px);   /* +1/3 size — Pixals brand mark, bigger */
  width: auto;
  display: block;
}
.nav__menu {
  display: none;
  list-style: none;
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
}
@media (min-width: 900px) { .nav__menu { display: flex; } }
.nav__menu a {
  font-size: var(--t-micro);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.86;
  transition: opacity var(--dur-fast) var(--ease);
}
.nav__menu a:hover { opacity: 1; }
.nav__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
@media (min-width: 900px) { .nav__toggle { display: none; } }
.nav__toggle span { width: 22px; height: 1.5px; background: var(--ink); }

/* ============================================
   SIDE DOT NAV
   ============================================ */
.dot-nav {
  position: fixed;
  right: clamp(0.75rem, 1.8vw, 2rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: clamp(0.875rem, 1.2vw, 1.25rem);
}
@media (max-width: 700px) { .dot-nav { display: none; } }
.dot-nav__btn {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--ink-muted);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  position: relative;
  padding: 0;
  min-width: 8px;
}
.dot-nav__btn:hover { border-color: var(--ink); }
.dot-nav__btn.active { background: var(--ink); border-color: var(--ink); }
.dot-nav__btn[data-label]::before {
  content: attr(data-label);
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: var(--t-micro);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease);
}
.dot-nav__btn:hover::before,
.dot-nav__btn.active::before { opacity: 1; }

/* ============================================
   PANEL
   ============================================ */
.panel {
  position: relative;
  min-height: var(--panel-h);
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--bg);
  padding-top: clamp(4rem, 6vw, 6rem);
}

.panel__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.panel__media video,
.panel__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.panel__tint {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg,
      rgba(0,0,0,0.4) 0%,
      rgba(0,0,0,0.1) 30%,
      rgba(0,0,0,0.1) 60%,
      rgba(0,0,0,0.95) 92%,
      rgba(0,0,0,1) 100%);
  pointer-events: none;
}
.panel__tint--heavy {
  background:
    linear-gradient(180deg,
      rgba(0,0,0,0.6) 0%,
      rgba(0,0,0,0.2) 30%,
      rgba(0,0,0,0.2) 60%,
      rgba(0,0,0,0.95) 92%,
      rgba(0,0,0,1) 100%);
}

.panel__top {
  position: absolute;
  top: clamp(3.75rem, 5vw, 5.5rem);
  left: var(--edge);
  right: var(--edge);
  z-index: 3;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: var(--t-micro);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  pointer-events: none;
}
.panel__top span { pointer-events: auto; }

.panel__caption {
  position: relative;
  z-index: 3;
  padding: 0 var(--edge) clamp(2.5rem, 5vw, 5rem);
  max-width: clamp(20rem, 60vw, 56rem);
}
.panel__eyebrow {
  font-size: var(--t-micro);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: clamp(0.75rem, 1.2vw, 1.25rem);
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-wrap: wrap;
}
.panel__eyebrow .num {
  font-family: var(--mono);
  font-weight: 400;
  color: var(--ink-faint);
}
.panel__name {
  font-weight: 500;
  font-size: var(--t-mega);
  line-height: 0.96;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: clamp(0.875rem, 1.5vw, 1.5rem);
  color: var(--ink);
  /* Safety net — never let a panel title overflow the viewport */
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}
.panel__name em { font-style: normal; font-weight: 100; }
.panel__sub {
  font-size: clamp(0.95rem, 1.1vw, 1.25rem);
  font-weight: 400;
  color: var(--ink-soft);
  max-width: 60ch;
  margin-bottom: clamp(1.25rem, 2vw, 2.25rem);
  line-height: 1.5;
}
.panel__sub strong { color: var(--ink); font-weight: 500; }
.panel__links {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.625rem, 1vw, 1rem) clamp(1.25rem, 2.5vw, 2.25rem);
}
.panel__link {
  font-size: var(--t-micro);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--ink);
  transition: gap var(--dur) var(--ease), color var(--dur) var(--ease);
  min-height: 44px;
}
.panel__link:hover { gap: 1rem; }
.panel__link .arrow { transition: transform var(--dur) var(--ease); }
.panel__link:hover .arrow { transform: translateX(2px); }
.panel__link--ghost {
  border-bottom-color: var(--ink-muted);
  color: var(--ink-soft);
}
.panel__link--ghost:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* ============================================
   HERO — fixed 92:39 cinematic banner at all sizes
   ============================================ */
.hero-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 92 / 39;     /* locked ratio, every screen */
  background: var(--bg);
  overflow: hidden;
  /* sits below fixed nav (~56px), so push down a touch */
  margin-top: clamp(56px, 6vh, 80px);
}
.hero-banner__media,
.hero-banner__media video,
.hero-banner__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-banner__tint {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg,
      rgba(0,0,0,0.25) 0%,
      rgba(0,0,0,0.05) 30%,
      rgba(0,0,0,0.05) 60%,
      rgba(0,0,0,0.65) 100%);
  pointer-events: none;
}
.hero-banner__top {
  position: absolute;
  top: clamp(0.875rem, 2vw, 1.75rem);
  left: var(--edge);
  right: var(--edge);
  z-index: 3;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: var(--t-micro);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.hero-banner__caption {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 3;
  padding: 0 var(--edge) clamp(1rem, 3vw, 2.5rem);
}
.hero-banner__eyebrow {
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: clamp(0.5rem, 1vw, 0.875rem);
}
.hero-banner__title {
  font-weight: 500;
  font-size: clamp(1.5rem, 5.5vw, 5.5rem);
  line-height: 0.96;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin-bottom: clamp(0.5rem, 1vw, 1rem);
  max-width: 22ch;
}
.hero-banner__title em { font-style: normal; font-weight: 100; color: var(--ink-soft); }
.hero-banner__sub {
  font-size: clamp(0.8125rem, 1.1vw, 1.125rem);
  color: var(--ink-soft);
  max-width: 60ch;
  line-height: 1.4;
  margin-bottom: clamp(0.75rem, 1.5vw, 1.5rem);
  display: none;
}
@media (min-width: 700px) { .hero-banner__sub { display: block; } }
.hero-banner__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem clamp(1rem, 2vw, 2rem);
}
@media (max-width: 480px) {
  .hero-banner__links { display: none; } /* keep banner clean at tiny widths — CTAs in section below */
}

/* Sub-caption block below banner, for the talking-points + CTAs */
.hero-sub {
  padding: clamp(1.75rem, 4vw, 3.5rem) var(--edge);
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
}
.hero-sub__inner {
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  align-items: end;
}
@media (min-width: 900px) { .hero-sub__inner { grid-template-columns: 1.6fr 1fr; } }
.hero-sub__lede {
  font-size: clamp(1.0625rem, 1.4vw, 1.5rem);
  color: var(--ink-soft);
  line-height: 1.45;
  max-width: 56ch;
}
.hero-sub__lede strong { color: var(--ink); font-weight: 500; }
.hero-sub__cta {
  display: flex;
  gap: clamp(0.75rem, 1.5vw, 1.5rem);
  flex-wrap: wrap;
  justify-self: end;
}
@media (max-width: 900px) { .hero-sub__cta { justify-self: start; } }

/* ============================================
   QUOTE STRIP — delicate founder pull quote
   Sits between hero banner and client logos
   ============================================ */
.quote-strip {
  padding: clamp(3.5rem, 7vw, 6.5rem) var(--edge);
  text-align: center;
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg);
  position: relative;
}

/* ============================================
   QUOTE STRIP — EDITORIAL VARIANT
   Cinematic spread: oversized watermark glyph, dramatic typography,
   highlighted accent word, signed attribution with hairline rule.
   ============================================ */
.quote-strip--editorial {
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 11vw, 10rem) var(--edge);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.04) 0%, transparent 60%),
    linear-gradient(180deg, #060606 0%, #0a0a0a 50%, #060606 100%);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
/* Giant decorative quote mark — watermark behind text */
.quote-strip--editorial .quote-strip__mark {
  position: absolute;
  top: clamp(-2rem, -3vw, -1rem);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--sans);
  font-weight: 100;
  font-size: clamp(12rem, 26vw, 24rem);
  line-height: 1;
  color: var(--ink);
  opacity: 0.045;
  user-select: none;
  pointer-events: none;
  z-index: 0;
}
.quote-strip--editorial .quote-strip__inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}
.quote-strip--editorial .quote-strip__text {
  font-family: var(--sans);
  font-weight: 300;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: clamp(1.4rem, 2.6vw, 2.4rem);
  line-height: 1.5;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0;
  text-align: center;
  text-wrap: balance;     /* CSS-native pretty line balancing where supported */
}
.quote-strip--editorial .quote-strip__text .nowrap { white-space: nowrap; }

/* The accent word — "LIFE" — gets a hand-drawn-style underline + italic */
.quote-strip--editorial .quote-strip__highlight {
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0.04em;
  position: relative;
  display: inline-block;
  padding: 0 0.1em 0.05em;
}
.quote-strip--editorial .quote-strip__highlight::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.05em;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--ink) 18%, var(--ink) 82%, transparent 100%);
  transform: scaleX(1);
  transform-origin: center;
}

/* Attribution — signed footer with hairline rule */
.quote-strip--editorial .quote-strip__attribution {
  margin-top: clamp(3rem, 5vw, 4.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
}
.quote-strip--editorial .quote-strip__rule {
  display: block;
  width: clamp(48px, 6vw, 80px);
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--ink-muted) 50%, transparent 100%);
  margin-bottom: 0.5rem;
}
.quote-strip--editorial .quote-strip__name {
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-transform: none;
}
.quote-strip--editorial .quote-strip__role {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
@media (max-width: 700px) {
  .quote-strip--editorial { padding: clamp(3.5rem, 10vw, 6rem) var(--edge); }
  .quote-strip--editorial .quote-strip__mark { font-size: clamp(10rem, 40vw, 14rem); top: 0.5rem; }
  .quote-strip--editorial .quote-strip__text { font-size: clamp(1.1rem, 4.5vw, 1.5rem); }
  .quote-strip--editorial .quote-strip__text br { display: none; }
  .quote-strip--editorial .quote-strip__text .nowrap { white-space: normal; }
}
/* ============================================ */

.quote-strip__text {
  font-family: var(--sans);
  font-weight: 200;     /* Jost ExtraLight — bumped from 100 for Windows/low-DPI legibility */
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: clamp(1.25rem, 2.6vw, 2.5rem);
  line-height: 1.35;
  letter-spacing: -0.012em;
  max-width: 32ch;
  margin: 0 auto clamp(1.75rem, 3vw, 2.5rem);
  color: var(--ink);
  font-style: normal;
  quotes: none;
}
.quote-strip__text::before,
.quote-strip__text::after { content: none; }

.quote-strip__attribution {
  font-family: var(--sans);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  position: relative;
}
.quote-strip__attribution::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 1px;
  background: var(--ink-muted);
  opacity: 0.4;
}
.quote-strip__name {
  font-size: var(--t-small);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.quote-strip__role {
  font-size: var(--t-micro);
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ============================================
   CLIENT LOGOS STRIP — under hero, prominent
   ============================================ */
.clients-strip {
  position: relative;
  z-index: 5;
  padding: clamp(2rem, 4vw, 4rem) var(--edge);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg);
  text-align: center;
}
.clients-strip__label {
  font-size: var(--t-micro);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
.clients-strip__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2vw, 1.75rem) clamp(1.25rem, 2.5vw, 2.5rem);
  align-items: center;
  justify-items: center;
  max-width: 1600px;
  margin: 0 auto;
}
@media (min-width: 600px)  { .clients-strip__list { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px)  { .clients-strip__list { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1200px) { .clients-strip__list { grid-template-columns: repeat(6, 1fr); } }
@media (min-width: 1800px) { .clients-strip__list { grid-template-columns: repeat(8, 1fr); } }
.clients-strip__name {
  font-weight: 500;
  font-size: clamp(0.875rem, 1.1vw, 1.125rem);
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  opacity: 0.72;
  transition: opacity var(--dur) var(--ease), color var(--dur) var(--ease);
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
}
.clients-strip__name:hover { opacity: 1; color: var(--ink); }

/* ============================================
   CLIENT LOGOS — CONTINUOUS MARQUEE (2026-08)
   Auto-scroll, edge-fade masks, pause on hover.
   Per-brand optical variants (--hero, --tall, --wide).
   Track holds two identical sets → animation runs 0 → -50% for seamless loop.
   ============================================ */
.clients-strip__marquee {
  position: relative;
  overflow: hidden;
  /* Break out of parent padding — go true edge-to-edge of the viewport */
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  /* Fade sits at the actual page edge, tight (2%) so it's a hairline, not a wash */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 2%, #000 98%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 2%, #000 98%, transparent 100%);
}
.clients-strip__track {
  display: flex;
  align-items: center;
  gap: clamp(3rem, 6vw, 6rem);
  width: max-content;
  padding: clamp(0.5rem, 1vw, 1rem) 0;
  animation: pxLogosMarquee 52s linear infinite;
  will-change: transform;
}
.clients-strip__marquee:hover .clients-strip__track,
.clients-strip__marquee:focus-within .clients-strip__track {
  animation-play-state: paused;
}
@keyframes pxLogosMarquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .clients-strip__track { animation: none; justify-content: center; flex-wrap: wrap; width: 100%; }
  .clients-strip__marquee { -webkit-mask-image: none; mask-image: none; }
}

/* Base logo — standard optical height */
.clients-strip__logo {
  height: auto;
  width: auto;
  max-height: clamp(28px, 2.6vw, 40px);
  max-width: clamp(120px, 12vw, 190px);
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.68;
  /* Force to pure white regardless of source colour so mixed logos read on black */
  filter: brightness(0) invert(1);
  transition: opacity 300ms var(--ease), transform 300ms var(--ease);
}
.clients-strip__logo:hover {
  opacity: 1;
  transform: translateY(-1px);
}

/* --hero → Ritz-Carlton (flagship name, largest optical presence) */
.clients-strip__logo--hero {
  max-height: clamp(44px, 4.2vw, 62px);
  max-width: clamp(140px, 14vw, 220px);
  opacity: 0.85;
}
.clients-strip__logo--hero:hover { opacity: 1; }

/* --tall → logos with vertical marks or stacked lockups */
.clients-strip__logo--tall {
  max-height: clamp(36px, 3.4vw, 52px);
  max-width: clamp(120px, 12vw, 190px);
}

/* --wide → long wordmarks that read fine at slightly reduced height */
.clients-strip__logo--wide {
  max-height: clamp(22px, 2.2vw, 34px);
  max-width: clamp(150px, 15vw, 240px);
}

/* ============================================
   HARDWARE BAND — "we engineer our own"
   ============================================ */
.hardware {
  position: relative;
  padding: clamp(4rem, 8vw, 7rem) var(--edge);
  text-align: center;
  background: var(--bg);
  border-bottom: 1px solid var(--line-soft);
}
.hardware__eyebrow {
  font-size: var(--t-micro);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}
.hardware__line {
  font-weight: 500;
  /* Scale aggressively with viewport so "WE DREAM, WE DESIGN, WE CREATE…" stays on one line everywhere */
  font-size: clamp(0.9rem, 4vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  max-width: none;     /* no width cap — let the nowrap segments dictate */
  margin: 0 auto clamp(1.5rem, 3vw, 2.25rem);
  text-transform: uppercase;
}
.hardware__line em { font-style: normal; font-weight: 100; color: var(--ink-soft); }
/* nowrap utility — used in the Manifesto title so each line stays unbroken */
.hardware__line .nowrap { white-space: nowrap; }

/* ============================================
   AURA PANEL (row 03) — cinematic 1920:812 widescreen on desktop
   so the product video reads as a feature reel, not a full-screen hero.
   ============================================ */
@media (min-width: 760px) {
  #aura.panel {
    min-height: 540px;                          /* never crushed below content */
    height: calc(100vw * 812 / 1920);           /* perfect 1920:812 ratio */
    max-height: 88vh;                           /* on ultra-wide screens, cap it */
  }
}
.hardware__body {
  font-size: clamp(0.95rem, 1.1vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 64ch;
  margin: 0 auto;
  line-height: 1.5;
}

/* ============================================
   MANIFESTO — much thinner band, single-line title
   ============================================ */
.hardware--manifesto {
  padding-block: clamp(1.75rem, 3.5vw, 3rem);   /* roughly half the standard hardware band */
}
.hardware--manifesto .hardware__eyebrow {
  margin-bottom: clamp(0.75rem, 1.2vw, 1rem);
}
.hardware--manifesto .hardware__line {
  font-size: clamp(0.95rem, 2.4vw, 2rem);     /* smaller so it fits one line */
  line-height: 1.15;
  max-width: none;
  margin-bottom: clamp(0.875rem, 1.5vw, 1.25rem);
  letter-spacing: 0.01em;
}
@media (min-width: 760px) {
  /* Force one line at tablet+ widths */
  .hardware--manifesto .hardware__line { white-space: nowrap; }
}
.hardware--manifesto .hardware__body {
  font-size: clamp(0.875rem, 1vw, 1.0625rem);
  max-width: 56ch;
}

/* ============================================
   SLIDER — horizontal carousel inside a panel
   ============================================ */
.slider {
  position: relative;
  z-index: 3;
  width: 100%;
  margin-top: auto;
}
.slider__track {
  display: flex;
  gap: clamp(0.75rem, 1.5vw, 1.5rem);
  padding: 0 var(--edge) clamp(2rem, 3.5vw, 3.5rem);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  scroll-behavior: smooth;
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__track.grabbing { cursor: grabbing; scroll-behavior: auto; }

.slide {
  /* Locked to hero banner ratio — 92:39 cinematic letterbox at every size */
  flex: 0 0 clamp(280px, 88vw, 520px);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
  aspect-ratio: 92 / 39;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: clamp(8px, 0.8vw, 14px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
@media (min-width: 700px)  { .slide { flex-basis: clamp(520px, 78vw, 880px); } }
@media (min-width: 1100px) { .slide { flex-basis: clamp(720px, 66vw, 1100px); } }
@media (min-width: 1800px) { .slide { flex-basis: clamp(900px, 50vw, 1400px); } }

.slide:hover { transform: translateY(-4px); border-color: var(--line-strong, rgba(255,255,255,0.22)); }
.slide__bg, .slide__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  object-fit: cover;
  transition: transform var(--dur-slow, 700ms) var(--ease);
}
.slide:hover .slide__bg,
.slide:hover .slide__video { transform: scale(1.04); }
.slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.85) 100%);
  z-index: 1;
}
.slide__meta {
  position: relative;
  z-index: 2;
  padding: clamp(1.25rem, 1.8vw, 1.75rem);
}
.slide__num {
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0.18em;
  color: var(--ink-muted);
  margin-bottom: 0.5rem;
}
.slide__title {
  font-weight: 500;
  font-size: clamp(1.0625rem, 1.4vw, 1.5rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 0.375rem;
  text-transform: uppercase;
}
.slide__desc {
  font-size: var(--t-small);
  color: var(--ink-soft);
  line-height: 1.45;
  max-width: 36ch;
}

/* Slider controls */
.slider__controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--edge) clamp(0.75rem, 1.2vw, 1.25rem);
  position: relative;
  z-index: 4;
  gap: 1rem;
}
.slider__count {
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0.15em;
  color: var(--ink-muted);
}
.slider__count em { font-style: normal; color: var(--ink); font-weight: 500; }
.slider__buttons { display: flex; gap: 0.5rem; }
.slider__btn {
  width: clamp(40px, 3vw, 48px);
  height: clamp(40px, 3vw, 48px);
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--dur) var(--ease);
}
.slider__btn:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}
.slider__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.slider__btn:disabled:hover {
  background: rgba(0,0,0,0.4);
  color: var(--ink);
  border-color: var(--line);
}

/* Slide background gradients (placeholders for real photography) */
.bg-aurora { background: radial-gradient(ellipse at 40% 30%, #2dd4bf 0%, transparent 50%), radial-gradient(ellipse at 70% 70%, #b06bff 0%, transparent 55%), radial-gradient(ellipse at 30% 80%, #2997ff 0%, transparent 50%), linear-gradient(180deg, #0a0a1a, #050510); }
.bg-molten { background: radial-gradient(ellipse at 50% 30%, #ff375f 0%, transparent 50%), radial-gradient(ellipse at 30% 70%, #ffb84d 0%, transparent 50%), radial-gradient(ellipse at 80% 60%, #b06bff 0%, transparent 55%), linear-gradient(180deg, #1a0510, #0a0005); }
.bg-ocean  { background: radial-gradient(ellipse at 40% 40%, #00d4ff 0%, transparent 60%), radial-gradient(ellipse at 70% 80%, #2997ff 0%, transparent 55%), linear-gradient(180deg, #001a2a, #000510); }
.bg-bloom  { background: radial-gradient(circle at 50% 50%, #ff6bb5 0%, transparent 40%), radial-gradient(circle at 30% 30%, #b06bff 0%, transparent 50%), radial-gradient(circle at 80% 70%, #ff375f 0%, transparent 45%), linear-gradient(180deg, #15001a, #0a000f); }
.bg-neon   { background: radial-gradient(ellipse at 35% 25%, #2dff88 0%, transparent 50%), radial-gradient(ellipse at 65% 75%, #ff2dcc 0%, transparent 55%), radial-gradient(ellipse at 50% 50%, #2997ff 0%, transparent 60%), linear-gradient(180deg, #001a0f, #050008); }
.bg-stone  { background: radial-gradient(ellipse at 50% 40%, #c9a368 0%, transparent 55%), radial-gradient(ellipse at 30% 70%, #8b6e3c 0%, transparent 55%), linear-gradient(180deg, #1a1208, #0a0703); }
.bg-mountain { background: linear-gradient(180deg, #ff8c5c 0%, #ff5c8c 30%, #5c2a8c 60%, #0a0510 100%); }
.bg-mono   { background: linear-gradient(180deg, #1a1a1a 0%, #050505 100%); }

/* ============================================
   ZONES GRID — 3-column grid of 92:39 tiles
   (Environments section, replaces the slider)
   ============================================ */
/* ============================================
   GRIDS — column count controlled by data-cols="N"
   Default: 3 columns on desktop, 2 on tablet, 1 on mobile.
   ============================================ */
.zones-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr;  /* mobile = 1 column */
  gap: clamp(0.75rem, 1.2vw, 1.25rem);
  padding: 0 var(--edge) clamp(2.5rem, 5vw, 5rem);
  width: 100%;
}

/* Tablet: 2 columns (or fewer if data-cols=1) */
@media (min-width: 700px) {
  .zones-grid                { grid-template-columns: repeat(2, 1fr); }
  .zones-grid[data-cols="1"] { grid-template-columns: 1fr; }
}

/* Desktop: honour data-cols (defaults to 3 if not set) */
@media (min-width: 1100px) {
  .zones-grid                { grid-template-columns: repeat(3, 1fr); }
  .zones-grid[data-cols="1"] { grid-template-columns: 1fr; }
  .zones-grid[data-cols="2"] { grid-template-columns: repeat(2, 1fr); }
  .zones-grid[data-cols="3"] { grid-template-columns: repeat(3, 1fr); }
  .zones-grid[data-cols="4"] { grid-template-columns: repeat(4, 1fr); }
  .zones-grid[data-cols="5"] { grid-template-columns: repeat(5, 1fr); }
  .zones-grid[data-cols="6"] { grid-template-columns: repeat(6, 1fr); }
}

/* Tighter gap on dense layouts at 4K */
@media (min-width: 1800px) {
  .zones-grid[data-cols="4"],
  .zones-grid[data-cols="5"],
  .zones-grid[data-cols="6"] { gap: clamp(0.875rem, 1vw, 1.5rem); }
}

/* Legacy class name — still works, treated as 4-column */
@media (min-width: 1100px) { .zones-grid--4col { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1800px) { .zones-grid--4col { gap: clamp(0.875rem, 1vw, 1.5rem); } }

.zone-tile {
  position: relative;
  aspect-ratio: 4 / 3;       /* fits typical photo aspect, less letterbox empty space */
  border-radius: clamp(8px, 0.7vw, 12px);
  overflow: hidden;
  background: var(--bg-soft);
  /* No border — image goes flush to tile edge */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform var(--dur) var(--ease);
  cursor: pointer;
  isolation: isolate;
}
/* Sim + video tiles (Art row) stay 16:9 to match video content */
.zone-tile--sim,
.zone-tile:has(video) { aspect-ratio: 16 / 9; }

/* Interactive sim tile — embeds the WebGL fluid demo via iframe */
.zone-tile--sim { cursor: default; }
.zone-tile__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 0;
  background: #000;
  pointer-events: auto;
}
/* Minimalist "— LIVE" tag in bottom-left */
.zone-tile__meta--sim {
  padding: clamp(0.875rem, 1.2vw, 1.25rem);
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.55) 100%);
}
.zone-tile__meta--sim .zone-tile__num {
  font-size: var(--t-micro);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  font-weight: 500;
  mix-blend-mode: difference;
  margin-bottom: 0;
}
/* Tiny "Open" pill in bottom-right — opens the full /sim/ page in a new tab */
.zone-tile__fs {
  position: absolute;
  bottom: clamp(0.75rem, 1vw, 1rem);
  right: clamp(0.75rem, 1vw, 1rem);
  z-index: 4;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all var(--dur) var(--ease);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  opacity: 0;
  transform: translateY(4px);
}
/* Reveal the "Open" pill on hover — totally clean tile at rest */
.zone-tile--sim:hover .zone-tile__fs {
  opacity: 1;
  transform: translateY(0);
}
.zone-tile__fs:hover { background: #fff; color: #000; border-color: #fff; }
.zone-tile:hover { transform: translateY(-3px); }
.zone-tile__bg,
.zone-tile__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  object-fit: cover;
  object-position: center center;
  transition: transform 700ms var(--ease);
  z-index: 0;
}
/* Photo tiles: show the FULL image inside the rectangle (no crop).
   Empty space (if any) blends with the tile's dark background, looks like a frame. */
.zone-tile__bg {
  /* IMAGE FITS INSIDE THE BOX. Whole image visible. No crop.
     Forced with !important so nothing downstream can override. */
  background-size: contain !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: #0a0a0a;
}
/* Video tiles in the Art row still use cover so motion fills the frame */
.zone-tile__video { object-fit: cover; }
.zone-tile:hover .zone-tile__bg,
.zone-tile:hover .zone-tile__video { transform: scale(1.04); }
.zone-tile__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,0.85) 100%);
  z-index: 1;
}
/* Art row (04) — videos play at full visibility, no overlay tint */
[data-grid="art"] .zone-tile__overlay { background: transparent; }
[data-grid="art"] .zone-tile__video { opacity: 1; }

/* Panel caption when placed BELOW its gallery (vs floating over the panel media).
   Used on the Environments row so the title reads as a sign-off under the wall. */
.panel__caption--below {
  position: relative !important;
  inset: auto !important;
  z-index: auto !important;
  padding: clamp(3rem, 6vw, 5rem) var(--edge) clamp(2rem, 4vw, 3rem) !important;
  max-width: clamp(20rem, 60vw, 56rem);
  margin: 0 auto;
  text-align: left;
}

/* ============================================
   ENVIRONMENTS GRID (row 05) — perfect gallery treatment
   Edge-to-edge tiles, hard corners, no border, no gaps.
   Tiles touch each other like a unified gallery wall.
   ============================================ */
[data-panel="environments"] .zones-grid[data-grid="environments"] {
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
  border-radius: 0 !important;
}
[data-panel="environments"] .zones-grid[data-grid="environments"] .zone-tile {
  border-radius: 0 !important;
  border: 0 !important;
  outline: 0 !important;
}
/* Show the full PHOTO via cover-crop so the gallery reads as a wall of imagery,
   not letterboxed thumbnails. */
[data-panel="environments"] .zones-grid[data-grid="environments"] .zone-tile__bg {
  background-size: cover !important;
  background-color: transparent !important;
}

/* ============================================
   ENVIRONMENTS — taller banner to reveal more of Residential.mp4
   +311px over the default panel height (a quiet nod to FACTORY311 too)
   Focus point shifted DOWN 250px — top of the video clips first.
   ============================================ */
[data-panel="environments"] {
  min-height: calc(var(--panel-h) + 311px) !important;
}
[data-panel="environments"] .panel__media video {
  object-fit: cover;
  object-position: center calc(50% - 500px);
}

/* ============================================
   RETAIL — clean hero panel + sibling masonry section below
   Panel keeps standard 100svh shape (image bg + caption).
   Gallery lives in its own .retail-gallery-section underneath.
   ============================================ */
.retail-gallery-section {
  display: block;
  width: 100%;
  background: var(--bg, #000);
  padding: 0;
  margin: 0;
}
.retail-masonry {
  column-count: 3;
  column-gap: 0;
  width: 100%;
  display: block;
}
@media (max-width: 1100px) {
  .retail-masonry { column-count: 2; }
}
@media (max-width: 640px) {
  .retail-masonry { column-count: 1; }
}
.retail-masonry__item {
  display: block;
  width: 100%;
  margin: 0;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  overflow: hidden;
  position: relative;
}
.retail-masonry__item img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  transition: transform 600ms var(--ease, ease);
}
.retail-masonry__item:hover img { transform: scale(1.03); }

/* ============================================
   CORPORATE — PERFECT GALLERY WALL (matches Environments treatment)
   Pure image grid, 6 columns desktop / 3 cols tablet / 2 cols mobile.
   No tile labels, no meta, no overlay — just a wall of installs.
   ============================================ */

/* The 36-tile grid stretches the panel tall. Switch from flex-end to
   flex-start so caption stacks below panel__top naturally, with the
   gallery flowing underneath. Without this the caption gets jammed
   against the absolutely-positioned top meta bar. */
[data-panel="corporate"] {
  justify-content: flex-start !important;
  padding-top: 0 !important;
}
[data-panel="corporate"] .panel__caption {
  padding-top: clamp(7rem, 11vw, 11rem);
  padding-bottom: clamp(2.5rem, 4vw, 4rem);
}

[data-panel="corporate"] .zones-grid[data-grid="corporate"] {
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
  border-radius: 0 !important;
  grid-template-columns: repeat(7, 1fr);   /* 21 imgs = 7×3 perfect rectangle */
}
@media (max-width: 1100px) {
  [data-panel="corporate"] .zones-grid[data-grid="corporate"] { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  [data-panel="corporate"] .zones-grid[data-grid="corporate"] { grid-template-columns: repeat(2, 1fr); }
}
[data-panel="corporate"] .zones-grid[data-grid="corporate"] .zone-tile {
  aspect-ratio: 1 / 1;          /* square tiles — clean wall look */
  border-radius: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent;
}
/* Corporate tiles use real <img> elements (loading="lazy") instead of CSS
   background-image so browsers can defer offscreen fetches automatically. */
[data-panel="corporate"] .zones-grid[data-grid="corporate"] .zone-tile__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  background: transparent;
  transition: transform 600ms var(--ease, ease);
}
[data-panel="corporate"] .zones-grid[data-grid="corporate"] .zone-tile:hover .zone-tile__bg {
  transform: scale(1.04);
}
[data-panel="corporate"] .zones-grid[data-grid="corporate"] .zone-tile__overlay {
  background: transparent !important;
}
.zone-tile__meta {
  position: relative;
  z-index: 2;
  padding: clamp(1rem, 1.6vw, 1.5rem);
}
.zone-tile__num {
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0.18em;
  color: var(--ink-muted);
  margin-bottom: 0.375rem;
}
.zone-tile__title {
  font-weight: 500;
  font-size: clamp(0.9375rem, 1.2vw, 1.25rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}
.zone-tile__desc {
  font-size: var(--t-small);
  color: var(--ink-soft);
  line-height: 1.4;
  max-width: 36ch;
}

/* ============================================
   CINEMATIC BACKGROUND
   Soft moving deep-purple/red gradient · fractured-glass overlay
   Used as panel__media for Environments + Projects
   ============================================ */
.bg-cinematic {
  position: relative;
  background:
    linear-gradient(180deg, #0a0014 0%, #050008 50%, #0a0510 100%);
  overflow: hidden;
}
.bg-cinematic .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
  pointer-events: none;
}
.bg-cinematic .orb--1 {
  width: 70vw; height: 70vw;
  background: radial-gradient(circle, #5a0080 0%, transparent 65%);
  top: -15vw; left: -15vw;
  opacity: 0.62;
  animation: drift-1 48s ease-in-out infinite alternate;
}
.bg-cinematic .orb--2 {
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, #7a0028 0%, transparent 65%);
  bottom: -15vw; right: -15vw;
  opacity: 0.55;
  animation: drift-2 54s ease-in-out infinite alternate;
}
.bg-cinematic .orb--3 {
  width: 80vw; height: 80vw;
  background: radial-gradient(circle, #2a0050 0%, transparent 65%);
  top: 25%; left: 35%;
  opacity: 0.45;
  animation: drift-3 60s ease-in-out infinite alternate;
}
.bg-cinematic .orb--4 {
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, #4a0040 0%, transparent 60%);
  top: 60%; left: 10%;
  opacity: 0.38;
  animation: drift-4 42s ease-in-out infinite alternate;
}

/* Fractured-glass overlay — thin vertical lenticular lines */
.bg-cinematic::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(87deg, transparent 0 14px, rgba(255,255,255,0.018) 14px 15px),
    repeating-linear-gradient(93deg, transparent 0 22px, rgba(255,255,255,0.011) 22px 23px);
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
}

@keyframes drift-1 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(22vw, 18vh) scale(1.18); }
}
@keyframes drift-2 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-18vw, -22vh) scale(0.92); }
}
@keyframes drift-3 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-12vw, 26vh) scale(1.12); }
}
@keyframes drift-4 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(28vw, -14vh) scale(1.08); }
}

/* Slightly different palette for Projects panel — colder, more blue/violet */
.bg-cinematic--cold .orb--1 { background: radial-gradient(circle, #1a0a5a 0%, transparent 65%); }
.bg-cinematic--cold .orb--2 { background: radial-gradient(circle, #20144a 0%, transparent 65%); }
.bg-cinematic--cold .orb--3 { background: radial-gradient(circle, #3a0a50 0%, transparent 65%); }
.bg-cinematic--cold .orb--4 { background: radial-gradient(circle, #0a0a40 0%, transparent 60%); }

/* Environment slide visuals */
.bg-retail        { background: radial-gradient(ellipse at 30% 40%, rgba(176,107,255,0.5), transparent 55%), radial-gradient(ellipse at 70% 60%, rgba(41,151,255,0.4), transparent 55%), #0c0c10; }
.bg-automotive    { background: radial-gradient(ellipse 70% 50% at 50% 60%, rgba(255,55,95,0.5), transparent 60%), linear-gradient(180deg, #1a0606, #0a0303); }
.bg-residential   { background: radial-gradient(ellipse at 50% 30%, rgba(255,200,100,0.3), transparent 55%), radial-gradient(ellipse at 50% 70%, rgba(41,151,255,0.3), transparent 55%), #0c0c10; }
.bg-hospitality   { background: radial-gradient(ellipse at 50% 40%, rgba(200,164,92,0.4), transparent 55%), #0c0c10; }
.bg-corporate     { background: radial-gradient(ellipse at 50% 50%, rgba(120,140,160,0.3), transparent 55%), #0a0a0a; }
.bg-theater       { background: radial-gradient(ellipse at 50% 50%, rgba(180,40,40,0.4), transparent 55%), #050203; }
.bg-outdoor       { background: radial-gradient(ellipse at 50% 80%, rgba(80,140,200,0.3), transparent 55%), linear-gradient(180deg, #0a1525, #050810); }

/* Project visuals */
.bg-ferrari   { background: linear-gradient(135deg, #1a0606 0%, #5c1010 45%, #2a0808 100%); }
.bg-porsche   { background: linear-gradient(135deg, #0a0f1a 0%, #1d2a3f 60%, #0a0a0a 100%); }
.bg-mclaren   { background: linear-gradient(135deg, #1a1108 0%, #3a2410 50%, #1a0e05 100%); }
.bg-dior      { background: linear-gradient(135deg, #1a1310 0%, #2e2620 60%, #0a0a0a 100%); }
.bg-ihg       { background: linear-gradient(135deg, #0e1418 0%, #1f3540 50%, #0a0a0a 100%); }
.bg-hba       { background: linear-gradient(135deg, #1a1a1a 0%, #2e2e2e 50%, #0e0e0e 100%); }
.bg-maserati  { background: linear-gradient(135deg, #001a2a 0%, #0a2a3a 60%, #00050a 100%); }
.bg-fox       { background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #050505 100%); }

/* ============================================
   AURA chip specimen
   ============================================ */
.bg-aura-chip {
  background:
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(255,255,255,0.12), transparent 65%),
    radial-gradient(ellipse 80% 60% at 50% 90%, rgba(255,255,255,0.06), transparent 65%),
    #000;
  position: relative;
}
.bg-aura-chip::after {
  content: "";
  position: absolute;
  inset: clamp(20%, 25%, 30%) clamp(20%, 25%, 30%);
  background:
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(255,255,255,0.04) 3px 4px),
    repeating-linear-gradient(90deg, transparent 0 3px, rgba(255,255,255,0.04) 3px 4px);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 0 120px rgba(255,255,255,0.06);
}

.specimen-stats {
  position: relative;
  z-index: 3;
  padding: 0 var(--edge) clamp(2.5rem, 5vw, 5rem);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2vw, 2.25rem) clamp(1.5rem, 3vw, 3.5rem);
}
@media (min-width: 700px)  { .specimen-stats { grid-template-columns: repeat(4, auto); justify-content: start; } }

/* 5-spec variant — used for AURA panel (5 stats in one row on desktop) */
.specimen-stats--5 {
  gap: clamp(0.875rem, 1.6vw, 2rem) clamp(1.25rem, 2.5vw, 3rem);
}
@media (min-width: 700px)  { .specimen-stats--5 { grid-template-columns: repeat(3, auto); } }
@media (min-width: 1100px) { .specimen-stats--5 { grid-template-columns: repeat(5, auto); } }
.spec { text-align: left; }
.spec__value {
  font-weight: 500;
  font-size: clamp(1.375rem, 2.2vw, 2.25rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 0.375rem;
}
.spec__value em { font-style: normal; font-weight: 100; font-size: 0.55em; opacity: 0.7; margin-left: 2px; }
.spec__label {
  font-size: var(--t-micro);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ============================================
   TEAM — About Us grid
   2-column on desktop, stacked on mobile
   ============================================ */
.team-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2vw, 2rem);
  padding: 0 var(--edge) clamp(2.5rem, 5vw, 5rem);
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}
@media (min-width: 700px)  { .team-grid { grid-template-columns: repeat(2, 1fr); } }

.team-card {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.75rem);
  padding: clamp(1.25rem, 2vw, 2rem);
  border: 1px solid var(--line);
  border-radius: clamp(8px, 0.7vw, 12px);
  background: rgba(255,255,255,0.02);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.team-card:hover {
  border-color: rgba(255,255,255,0.22);
  transform: translateY(-3px);
}
.team-card__avatar {
  position: relative;
  flex-shrink: 0;
  width: clamp(72px, 8vw, 110px);
  height: clamp(72px, 8vw, 110px);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #2a2a2e, #0a0a0c);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--ink-muted);
  font-family: var(--sans);
  font-weight: 100;
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
  letter-spacing: -0.02em;
}
.team-card__avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-card__body { min-width: 0; }
.team-card__name {
  font-weight: 500;
  font-size: clamp(1.0625rem, 1.4vw, 1.5rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 0.375rem;
  text-transform: uppercase;
}
.team-card__role {
  font-size: var(--t-micro);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  line-height: 1.4;
}

/* ============================================
   PROCESS — compact 4-step strip
   ============================================ */
.process-strip {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(0.75rem, 1.5vw, 1.5rem);
  padding: 0 var(--edge) clamp(2.5rem, 5vw, 5rem);
  max-width: 1600px;
  margin: 0 auto;
}
@media (min-width: 700px)  { .process-strip { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .process-strip { grid-template-columns: repeat(4, 1fr); } }
.step {
  padding: clamp(1.25rem, 1.8vw, 1.75rem);
  border: 1px solid var(--line);
  border-radius: clamp(8px, 0.8vw, 14px);
  background: rgba(255,255,255,0.02);
}
.step__num {
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0.18em;
  color: var(--ink-muted);
  margin-bottom: 0.75rem;
}
.step__title {
  font-weight: 500;
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  margin-bottom: 0.5rem;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}
.step__body {
  font-size: var(--t-small);
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ============================================
   RENTALS CALLOUT — small panel linking out
   ============================================ */
.rentals-callout {
  position: relative;
  padding: clamp(3rem, 6vw, 5rem) var(--edge);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.02) 0%, transparent 100%),
    var(--bg);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  text-align: center;
}
.rentals-callout__eyebrow {
  font-size: var(--t-micro);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 1rem;
}
.rentals-callout__title {
  font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  max-width: 24ch;
  margin-inline: auto;
}
.rentals-callout__title em { font-style: normal; font-weight: 100; }
.rentals-callout__body {
  font-size: var(--t-body);
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0 auto 2rem;
  line-height: 1.5;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  position: relative;
  z-index: 3;
  padding: clamp(3rem, 5vw, 4.5rem) var(--edge) 2rem;
  background: var(--bg);
  border-top: 1px solid var(--line-soft);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  max-width: 1600px;
  margin-inline: auto;
}
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer__brand img { height: 18px; margin-bottom: 1rem; }
.footer__tagline {
  font-size: var(--t-small);
  color: var(--ink-muted);
  max-width: 28ch;
  line-height: 1.5;
}
.footer__heading {
  font-size: var(--t-micro);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 1rem;
}
.footer__list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer__list a {
  font-size: var(--t-small);
  color: var(--ink-soft);
  transition: color var(--dur-fast) var(--ease);
}
.footer__list a:hover { color: var(--ink); }
.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-soft);
  font-size: var(--t-micro);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  max-width: 1600px;
  margin-inline: auto;
}

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: 5rem var(--edge) 2rem;
  transform: translateY(-100%);
  transition: transform var(--dur) var(--ease);
  pointer-events: none;
  overflow-y: auto;
}
.mobile-menu.open { transform: translateY(0); pointer-events: auto; }
.mobile-menu a {
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line-soft);
}

/* ============================================
   REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============================================
   ACCESSIBILITY / REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Focus visible for keyboard nav */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
  border-radius: 2px;
}

/* ============================================
   SHORT-VIEWPORT (laptops, landscape phones)
   Prevents content from being cut on shorter screens
   ============================================ */
@media (max-height: 700px) and (min-width: 700px) {
  .panel { min-height: auto; padding-block: clamp(5rem, 8vh, 7rem) clamp(2rem, 4vh, 3rem); }
}

/* ============================================
   BLOG / JOURNAL
   Stacked posts. Same fonts, same dark vibe as homepage.
   ============================================ */

.blog-hero {
  position: relative;
  width: 100%;
  padding: clamp(7rem, 14vw, 12rem) var(--edge) clamp(4rem, 7vw, 6rem);
  background: var(--bg);
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}
.blog-hero__media {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, #0a0014 0%, #050008 50%, #0a0510 100%);
  overflow: hidden;
}
.blog-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
}
.blog-hero__eyebrow {
  font-size: var(--t-micro);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}
.blog-hero__title {
  font-weight: 500;
  font-size: clamp(2.5rem, 7vw, 6rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
  max-width: 16ch;
}
.blog-hero__sub {
  font-size: clamp(1rem, 1.4vw, 1.375rem);
  color: var(--ink-soft);
  max-width: 52ch;
  line-height: 1.45;
}

/* ============ POST ============ */
.post {
  position: relative;
  padding: clamp(4rem, 8vw, 8rem) var(--edge);
  max-width: none;
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg);
}
.post:nth-of-type(even) { background: var(--bg-soft); }

.post__head {
  max-width: 880px;
  margin: 0 auto clamp(2rem, 4vw, 3.5rem);
  text-align: left;
}
.post__meta {
  font-size: var(--t-micro);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: clamp(1rem, 1.5vw, 1.25rem);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.post__sep { color: var(--ink-faint); }
.post__category { color: var(--accent); }
.post__title {
  font-weight: 500;
  font-size: clamp(1.75rem, 4.5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-transform: none;
  max-width: 20ch;
  margin-bottom: clamp(1rem, 1.5vw, 1.25rem);
}
.post__byline {
  font-size: var(--t-small);
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Hero image — wide cinematic */
.post__hero {
  max-width: 1440px;
  margin: 0 auto clamp(2rem, 3vw, 3rem);
  display: block;
}
.post__hero img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: clamp(8px, 0.7vw, 12px);
  background: #050505;
  display: block;
}
.post__hero figcaption,
.post__gallery figcaption {
  margin-top: 0.75rem;
  font-size: var(--t-small);
  color: var(--ink-muted);
  font-style: italic;
  letter-spacing: -0.005em;
  max-width: 56ch;
}

/* Body text — narrow column for readability */
.post__body {
  max-width: 70ch;
  margin: 0 auto clamp(2.5rem, 4vw, 4rem);
}
.post__body p {
  font-size: clamp(1.0625rem, 1.2vw, 1.25rem);
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: clamp(1rem, 1.5vw, 1.5rem);
  letter-spacing: -0.005em;
}
.post__body p:last-child { margin-bottom: 0; }
.post__body strong { color: var(--ink); font-weight: 500; }

/* Gallery — 2-column on desktop, stacked on mobile */
.post__gallery {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 2vw, 2rem);
}
@media (min-width: 700px) {
  .post__gallery { grid-template-columns: 1fr 1fr; }
}
.post__gallery figure { margin: 0; }
.post__gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: clamp(8px, 0.7vw, 12px);
  background: #050505;
  display: block;
}

/* ============ BLOG CTA STRIP ============ */
.blog-cta {
  padding: clamp(4rem, 8vw, 7rem) var(--edge);
  text-align: center;
  background:
    radial-gradient(ellipse at center, rgba(41,151,255,0.10) 0%, transparent 60%),
    var(--bg);
  border-top: 1px solid var(--line-soft);
}
.blog-cta__title {
  font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.blog-cta__body {
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 48ch;
  margin: 0 auto 2rem;
}

/* ============================================
   JOURNAL — Blog index + individual post pages
   ============================================ */

/* Hero header on /blog/ */
.journal-hero {
  padding: clamp(7rem, 14vw, 11rem) var(--edge) clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line-soft);
}
.journal-hero__inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.journal-hero__eyebrow {
  font-size: var(--t-micro);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 1.25rem;
}
.journal-hero__title {
  font-weight: 100;
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.journal-hero__title em { font-style: italic; font-weight: 300; color: var(--ink-soft); }
.journal-hero__sub {
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0 auto;
  line-height: 1.6;
}

/* Grid of journal cards */
.journal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 720px)  { .journal-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .journal-grid { grid-template-columns: repeat(3, 1fr); gap: 1px; } }
@media (min-width: 1400px) { .journal-grid { grid-template-columns: repeat(4, 1fr); gap: 1px; } }

.journal-card {
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg);
  text-decoration: none;
  color: var(--ink);
  transition: transform 360ms var(--ease);
}
.journal-card:hover .journal-card__bg { transform: scale(1.04); }
.journal-card:hover .journal-card__cta { letter-spacing: 0.32em; }
.journal-card__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 700ms var(--ease);
  filter: brightness(0.78);
}
.journal-card__tint {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.4) 45%, rgba(0,0,0,0.95) 100%);
}
.journal-card__meta {
  position: relative;
  z-index: 2;
  padding: clamp(1.5rem, 2.5vw, 2rem) clamp(1.5rem, 2.5vw, 2rem) 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  display: flex; gap: 0.5rem;
}
.journal-card__body {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: clamp(1.5rem, 2.5vw, 2rem);
}
.journal-card__title {
  font-weight: 400;
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 0.75rem;
  color: #fff;
}
.journal-card__sub {
  font-size: var(--t-small);
  color: rgba(255,255,255,0.78);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.journal-card__cta {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 4px;
  transition: letter-spacing 360ms var(--ease);
}

/* ============ INDIVIDUAL POST PAGE ============ */
.post-page {
  padding: 0 0 clamp(4rem, 8vw, 8rem);
}
.post-page__hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  padding: clamp(6rem, 12vw, 10rem) var(--edge) clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
.post-page__hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(0.7);
}
.post-page__hero-tint {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 40%, rgba(0,0,0,0.98) 92%, rgba(0,0,0,1) 100%);
}
.post-page__hero-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 0 auto;
  width: 100%;
}
.post-page__back {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  margin-bottom: 2rem;
  transition: color 240ms ease;
}
.post-page__back:hover { color: #fff; }
.post-page__meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  display: flex; gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.post-page__title {
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  color: #fff;
  text-transform: uppercase;
}
.post-page__title em { font-style: italic; font-weight: 100; color: rgba(255,255,255,0.75); }
.post-page__lede {
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 1.55;
  color: rgba(255,255,255,0.85);
  max-width: 70ch;
}

/* Post body — editorial prose */
.post-page__body {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) var(--edge) clamp(2rem, 4vw, 3rem);
  font-size: clamp(1.0625rem, 1.2vw, 1.15rem);
  line-height: 1.78;
  color: var(--ink-soft);
}
.post-page__body p {
  margin-bottom: 1.5em;
}
.post-page__body p strong { color: var(--ink); font-weight: 500; }
.post-page__body h2 {
  font-weight: 300;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: clamp(2.5rem, 5vw, 4rem) 0 1rem;
  text-transform: uppercase;
}
.post-page__body h3 {
  font-weight: 500;
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: clamp(2rem, 4vw, 3rem) 0 1rem;
  text-transform: uppercase;
}
.post-page__body blockquote {
  font-weight: 300;
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--ink);
  border-left: 2px solid var(--ink);
  padding: 0.25rem 0 0.25rem 1.5rem;
  margin: clamp(2rem, 4vw, 3rem) 0;
  font-style: normal;
}
.post-page__body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5em;
}
.post-page__body ul li {
  padding: 0.5em 0;
  border-bottom: 1px solid var(--line-soft);
}
.post-page__body ul li::before { content: "— "; color: var(--ink-muted); }
.post-page__body ul li:last-child { border-bottom: 0; }
.post-page__body a {
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  transition: border-color 200ms ease;
}
.post-page__body a:hover { border-color: var(--ink); }

.post__figure {
  margin: clamp(2rem, 4vw, 3rem) calc(-1 * var(--edge));
  max-width: none;
}
.post__figure img {
  display: block;
  width: 100%;
  height: auto;
}

.post-page__foot {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3rem) var(--edge);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.post-page__share {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.post-page__share a {
  color: var(--ink-soft);
  margin: 0 0.5rem;
  transition: color 200ms ease;
}
.post-page__share a:hover { color: var(--ink); }
.post-page__foot .post-page__back {
  color: var(--ink-soft);
  margin-bottom: 0;
}

/* MOBILE — journal */
@media (max-width: 720px) {
  .journal-card { aspect-ratio: 3 / 4; }
  .post-page__hero { min-height: 60vh; }
  .post-page__title { font-size: clamp(1.75rem, 8vw, 2.5rem); }
  .post-page__lede { font-size: 1rem; }
  .post__figure { margin: 1.5rem 0; }
  .post-page__foot { flex-direction: column; text-align: center; }
}

/* ============================================
   ABOUT PAGE — Signature-style founder bios
   ============================================ */
.bios {
  background: var(--bg);
  padding: clamp(4rem, 8vw, 8rem) var(--edge) clamp(5rem, 10vw, 10rem);
  border-top: 1px solid var(--line-soft);
}
/* Two-column spread — paired, balanced, readable as one unit. */
.bios__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(3rem, 5vw, 4rem);
}
@media (min-width: 960px) {
  .bios__inner {
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 5vw, 5rem);     /* sensible centre gap, no dead canyon */
  }
}
.bio { max-width: 560px; }
.bio {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 2.5vw, 2.5rem);
}

/* Signature-style block — name + roles stacked, distinctive editorial feel */
.bio__sig {
  position: relative;
  padding-bottom: clamp(1.25rem, 2vw, 2rem);
  border-bottom: 1px solid var(--line);
}
.bio__name {
  font-weight: 300;
  font-size: clamp(1.5rem, 3.5vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  color: var(--ink);
  white-space: nowrap;       /* one line on desktop */
}
.bio__name em {
  font-style: italic;
  font-weight: 100;
  color: var(--ink-soft);
  margin-left: 0.3em;
}

/* MOBILE — let names wrap, kill horizontal overflow, align with footer cols */
@media (max-width: 760px) {
  .bios {
    padding: clamp(3rem, 8vw, 5rem) var(--edge) clamp(3rem, 8vw, 5rem);
  }
  .bio {
    max-width: 100%;          /* never wider than viewport */
    min-width: 0;
  }
  .bio__name {
    white-space: normal;      /* allow surname to drop to line 2 if needed */
    font-size: clamp(1.4rem, 7vw, 2rem);
  }
  .bio__name em {
    margin-left: 0;
    display: inline;          /* sits inline when room, wraps when not */
  }
}
.bio__roles {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.bio__role {
  font-family: var(--mono);
  font-size: var(--t-small);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.bio__role--plus {
  color: var(--ink-muted);
}

.bio__body {
  font-size: clamp(0.975rem, 1.15vw, 1.075rem);
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 56ch;
}
.bio__body strong {
  color: var(--ink);
  font-weight: 500;
}

/* ============================================
   MOBILE — GLOBAL POLISH & SAFETY
   Everything below kicks in at portrait phone widths.
   Goal: zero horizontal scroll, readable type, generous tap targets,
   hero that actually breathes, grids that stack cleanly.
   ============================================ */

/* Hard-stop horizontal overflow site-wide.
   Any rogue element wider than viewport would otherwise cause side-scroll. */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}
img, video, iframe { max-width: 100%; }

/* ============ HERO BANNER — portrait-friendly ============ */
/* Desktop locks at 92:39 (wide cinematic). On phones that ratio = ~158px tall
   which kills the title. Switch to a portrait-friendly ratio under 700px. */
@media (max-width: 700px) {
  .hero-banner {
    aspect-ratio: 4 / 5;            /* portrait, breathes */
    min-height: 480px;              /* never tiny */
    max-height: 90vh;               /* never overflows screen */
  }
  .hero-banner__caption {
    padding-bottom: clamp(1.5rem, 6vw, 2.5rem);
  }
  .hero-banner__title {
    font-size: clamp(1.75rem, 8vw, 2.75rem);
    line-height: 1.05;
  }
  .hero-banner__top {
    font-size: 10px;
    gap: 0.5rem;
  }
  .hero-banner__top span:nth-of-type(2) {
    display: none;                  /* hide second tagline on tiny screens */
  }
}

/* ============ NAV — tighter on phone ============ */
@media (max-width: 700px) {
  .nav {
    padding: 0.75rem var(--edge);
  }
  .nav__logo img {
    height: 22px;                   /* was bigger via clamp */
  }
}

/* ============ PANELS — generous mobile padding ============ */
@media (max-width: 700px) {
  .panel {
    padding-top: clamp(3rem, 10vw, 5rem);
    padding-bottom: clamp(3rem, 10vw, 5rem);
  }
  .panel__name {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
    line-height: 1.05;
  }
  .panel__sub {
    font-size: clamp(0.95rem, 4vw, 1.1rem);
  }
}

/* ============ CARS PAGE — tile typography on mobile ============ */
@media (max-width: 700px) {
  .car-tile {
    aspect-ratio: 3 / 2;            /* less squished than 16:9 at narrow widths */
  }
  .car-tile__body {
    font-size: 12px;
    line-height: 1.45;
  }
  .gallery-item {
    aspect-ratio: 3 / 2;            /* same — readable thumbnails */
  }
}

/* ============ RENTALS PAGE — pricing tiers always 1-col on phone ============ */
@media (max-width: 700px) {
  .pricing-tiers {
    grid-template-columns: 1fr !important;
    gap: 0.875rem !important;
  }
  .specs-bar {
    grid-template-columns: repeat(2, 1fr) !important;   /* 2x2 instead of 4x1 cramped */
  }
  .usecase {
    padding: 1.5rem !important;
  }
  .usecase__title {
    font-size: 1.05rem !important;
  }
}

/* ============ FORM — bigger tap targets, prevent iOS zoom on focus ============ */
@media (max-width: 700px) {
  .field input,
  .field textarea,
  .field select {
    font-size: 16px !important;     /* iOS zooms in if input font-size <16px on focus — this prevents it */
    padding: 1rem !important;
  }
  .btn-submit {
    width: 100%;
    justify-content: center;
    padding: 1.125rem 1.5rem !important;
  }
}

/* ============ CALENDLY EMBED — fluid mobile height ============ */
@media (max-width: 700px) {
  .calendly-inline-widget {
    height: 1100px !important;      /* mobile Calendly needs more vertical room */
    min-height: 1000px;
  }
  .calendly-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* ============ FOOTER — proper mobile redesign ============ */
@media (max-width: 760px) {
  .footer {
    padding: clamp(2.5rem, 6vw, 3.5rem) var(--edge) 1.5rem;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;     /* 2-col link blocks on phone */
    gap: 2.25rem 1.5rem;
    margin-bottom: 2rem;
  }
  /* Brand block spans full width — logo + tagline up top */
  .footer__brand {
    grid-column: 1 / -1;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--line-soft);
    margin-bottom: 0.5rem;
  }
  .footer__brand img { height: 20px; }
  .footer__tagline {
    font-size: 13px;
    max-width: 32ch;
    line-height: 1.5;
    color: var(--ink-muted);
  }
  /* Tighter heading + list typography */
  .footer__heading {
    font-size: 10px;
    margin-bottom: 0.875rem;
    color: var(--ink-muted);
  }
  .footer__list {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
  }
  .footer__list a {
    font-size: 14px;
    color: var(--ink-soft);
    transition: color 200ms ease;
  }
  .footer__list a:active { color: var(--ink); }
  /* Base strip — Pixals · trademark · separated cleanly */
  .footer__base {
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
    font-size: 11px;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line-soft);
    color: var(--ink-muted);
  }
}
/* Very small phones: stack the 4 link cols 1-up so they don't crush */
@media (max-width: 400px) {
  .footer__grid { grid-template-columns: 1fr; gap: 1.75rem; }
}

/* ============ ABOUT PAGE — full-width photo on mobile (no face crop) ============ */
@media (max-width: 760px) {
  /* Convert the about panel from full-bleed absolute photo to flow-photo + text-below */
  #about.panel {
    min-height: auto !important;
    display: flex;
    flex-direction: column;
  }
  #about .panel__media {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;       /* matches the 2048x1152 photo natively */
    background-size: cover !important;
    background-position: center 35% !important;  /* bias upward — keeps faces in frame */
    flex: 0 0 auto;
  }
  /* Hide the dark tint — no longer overlaying text on photo */
  #about .panel__tint {
    display: none !important;
  }
  /* Top meta strip sits OVER the photo near top */
  #about .panel__top {
    position: absolute;
    top: max(env(safe-area-inset-top, 0px), 64px);
    left: 0; right: 0;
    z-index: 5;
    padding: 0 var(--edge);
    background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, transparent 100%);
    padding-top: 0.5rem;
    padding-bottom: 1.5rem;
  }
  /* Caption text drops BELOW the photo on its own dark block */
  #about .panel__caption {
    position: relative !important;
    inset: auto !important;
    z-index: 3;
    padding: clamp(1.75rem, 5vw, 2.5rem) var(--edge) clamp(2.5rem, 7vw, 3.5rem);
    max-width: 100% !important;
    background: var(--bg);
  }
}

/* ============ MOBILE MENU — overlay polish ============ */
@media (max-width: 900px) {
  .mobile-menu {
    padding-top: 6rem;              /* clear of fixed nav + iOS notch */
    padding-bottom: max(2rem, env(safe-area-inset-bottom));
  }
  .mobile-menu a {
    font-size: 1.25rem;             /* hard-readable */
    padding: 1.125rem 0;
  }
}

/* ============ TAP-TARGET MINIMUMS — accessibility + iOS HIG ============ */
@media (max-width: 700px) {
  a, button, .panel__link, .btn {
    min-height: 44px;
  }
  .panel__link {
    padding: 0.625rem 0;
    display: inline-flex;
    align-items: center;
  }
}

/* ============ STUDIO — mobile-friendly editor ============ */
@media (max-width: 700px) {
  .sidebar__page-select,
  .field__control input,
  .field__control textarea,
  .field__control select {
    font-size: 16px !important;     /* prevent iOS zoom */
  }
  .main__title {
    font-size: clamp(1.25rem, 5vw, 1.75rem);
  }
}

/* ============ TYPOGRAPHY — body legibility on phone ============ */
@media (max-width: 700px) {
  body { font-size: 15px; }
  /* hardware__line scaled separately so its nowrap lines fit on small phones */
  .hardware__line {
    font-size: clamp(0.85rem, 3.6vw, 1.5rem) !important;
    line-height: 1.15 !important;
  }
  .panel__name,
  .led-section__title,
  .cars-intro__title,
  .cars-divider__title {
    font-size: clamp(1.6rem, 7vw, 2.5rem) !important;
    line-height: 1.1 !important;
  }
  .cars-cta__title,
  .blog-cta__title,
  .rentals-callout__title {
    font-size: clamp(1.6rem, 7vw, 2.25rem) !important;
  }
}

/* ============ PROCESS STRIP — 1-col vs cramped 2-col on phone ============ */
@media (max-width: 600px) {
  .process-strip {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }
  .step {
    padding: 1.5rem 1.25rem;
  }
}

/* ============ DOT NAV LABELS — kill them on touch (they need hover) ============ */
@media (hover: none) {
  .dot-nav__btn[data-label]::before { display: none; }
}

/* ============ MOBILE OVERLAP FIXES (2026-06-28)
   Three issues caught in iPhone QA:
   1. Two .panel__top spans wrap onto each other AND overlap the .panel__caption below
   2. .panel__name bold + italic em visually crush on tight mobile line-height
   3. Floating Pixals nav logo overlaps the founder quote text on small screens
   ============ */
@media (max-width: 700px) {
  /* 1. Hide the secondary panel-top tag on phones — keeps the primary, kills overlap */
  .panel__top span:nth-child(2) { display: none; }
  .panel__top {
    font-size: 9px;
    letter-spacing: 0.16em;
    top: clamp(3.5rem, 7vw, 5rem);
    line-height: 1.4;
    flex-wrap: nowrap;
  }

  /* 2. Looser line-height on panel headlines so bold + italic em breathe */
  .panel__name {
    line-height: 1.18 !important;
    margin-bottom: 1.25rem !important;
  }
  .panel__name em {
    display: inline-block;
    margin-top: 0.05em;
  }

  /* 3. Push the founder quote down so the floating nav logo never overlaps the text */
  .quote-strip {
    padding-top: clamp(6rem, 16vw, 8rem) !important;
  }
  .quote-strip__text {
    line-height: 1.5 !important;
  }
}

/* ============ iOS SAFE AREAS — notch + home indicator ============ */
/* iOS notch safety — uses padding-top only when notch present (additive via env())
   On non-notched displays env() = 0 so this rule no-ops and base equal padding stays. */
@supports (padding-top: env(safe-area-inset-top)) {
  .nav { padding-top: max(clamp(1rem, 1.4vw, 1.5rem), env(safe-area-inset-top)); }
}
.mobile-menu {
  padding-top: max(5rem, calc(env(safe-area-inset-top) + 4rem));
}


/* ============================================
   NAV — active page indicator (set by pixals-includes.js)
   ============================================ */
.nav__menu a.is-active,
.mobile-menu a.is-active {
  color: var(--ink, #fff);
}
.nav__menu a.is-active::after {
  content: '';
  display: block;
  height: 1px;
  background: currentColor;
  margin-top: 4px;
  opacity: 0.6;
}

/* ============================================
   NAV LANGUAGE TOGGLE — appears only when current page declares a translated alternate
   (see js/pixals-includes.js renderLangToggle + body data-lang-en / data-lang-es)
   ============================================ */
.nav__lang {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-left: clamp(0.5rem, 1.5vw, 1.25rem);
  padding: 0.375rem 0.75rem;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  font-family: var(--mono), 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.04);
}
.nav__lang:empty { display: none; }
.nav__lang-opt {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  padding: 0.0625rem 0.25rem;
  transition: color 200ms ease;
}
.nav__lang-opt:hover { color: #fff; }
.nav__lang-opt.is-active { color: #fff; font-weight: 500; }
.nav__lang-sep { color: rgba(255,255,255,0.25); }

/* Mobile — toggle moves into mobile menu via flex order */
@media (max-width: 720px) {
  .nav__lang { margin-left: auto; margin-right: 0.625rem; }
}

/* ============ NAV PHONE CTA (2026-06-30) — always-visible direct-line for high-ticket buyers ============ */
.nav__phone {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  margin-left: 14px;
  color: var(--ink, #fff);
  text-decoration: none;
  font-family: var(--mono, monospace);
  font-size: 12px;
  letter-spacing: 0.08em;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 3px;
  transition: border-color 200ms ease, background-color 200ms ease;
  white-space: nowrap;
}
.nav__phone:hover { border-color: rgba(255,255,255,0.55); background: rgba(255,255,255,0.05); }
.nav__phone-icon { display: inline-flex; align-items: center; opacity: 0.85; }
.nav__phone-text { font-weight: 400; }
@media (min-width: 900px) { .nav__phone { display: inline-flex; } }

.mobile-menu__phone {
  display: block;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-family: var(--mono, monospace);
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--ink, #fff);
  text-decoration: none;
}

/* ============ NAV CREATIVE DROPDOWN (2026-08, rev 2) ============
   Editorial menu grouping Studio / Design Lab / Digital Art.
   Trigger renders as a proper nav item (uppercase micro + inline caret).
   Menu is a numbered editorial card — mono numbers, Jost titles, mono
   subtitles. Higher-specificity selectors so nothing bleeds in from
   .nav__menu a / .nav a defaults.
   ============================================ */
.nav .nav__creative {
  position: relative;
  display: inline-flex;
  align-items: center;
  list-style: none;
}
.nav .nav__creative-btn {
  all: unset;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-family: 'Jost', system-ui, sans-serif;
  font-size: var(--t-micro, 0.75rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink, #fff);
  opacity: 0.86;
  line-height: 1;
  transition: opacity var(--dur-fast, 180ms) var(--ease, ease);
}
.nav .nav__creative-btn:hover,
.nav .nav__creative[data-open="true"] .nav__creative-btn { opacity: 1; }
.nav .nav__creative-caret {
  display: inline-block;
  width: 8px;
  height: 5px;
  flex-shrink: 0;
  opacity: 0.7;
  transition: transform 240ms cubic-bezier(0.22,0.61,0.36,1), opacity 200ms ease;
  transform-origin: 50% 50%;
}
.nav .nav__creative[data-open="true"] .nav__creative-caret {
  transform: rotate(180deg);
  opacity: 1;
}

.nav .nav__creative-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: -18px;
  width: 320px;
  padding: 1.375rem 1.5rem 1.25rem;
  background: rgba(8,8,10,0.75);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 30px 60px -12px rgba(0,0,0,0.65), 0 0 0 1px rgba(255,255,255,0.02);
  text-align: left;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 260ms ease, transform 260ms cubic-bezier(0.22,0.61,0.36,1), visibility 260ms ease;
  z-index: 300;
}
.nav .nav__creative[data-open="true"] .nav__creative-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
/* Small pointer/notch above the card — anchors it to the trigger */
.nav .nav__creative-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 30px;
  width: 10px;
  height: 10px;
  background: inherit;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-left: 1px solid rgba(255,255,255,0.08);
  transform: rotate(45deg);
  backdrop-filter: inherit;
  -webkit-backdrop-filter: inherit;
}

/* Optional section header inside the card */
.nav .nav__creative-menu-eyebrow {
  display: block;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin: 0 0 1rem;
}

/* Each item is a two-column grid: mono number | (title + subtitle) */
.nav .nav__creative-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: baseline;
  gap: 14px;
  padding: 0.875rem 0;
  color: inherit;
  text-decoration: none;
  border-top: 1px solid rgba(255,255,255,0.06);
  transition: none;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
}
.nav .nav__creative-item:first-of-type { border-top: 0; padding-top: 0.25rem; }
.nav .nav__creative-item:last-of-type  { padding-bottom: 0.25rem; }

.nav .nav__creative-num {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.35);
  transition: color 220ms ease;
  padding-top: 3px;
}
.nav .nav__creative-label {
  display: block;
  min-width: 0;
}
.nav .nav__creative-name {
  display: block;
  font-family: 'Jost', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,0.92);
  text-transform: none;
  transition: color 220ms ease, transform 260ms cubic-bezier(0.22,0.61,0.36,1);
}
.nav .nav__creative-desc {
  display: block;
  margin-top: 5px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  transition: color 220ms ease;
}
.nav .nav__creative-item:hover .nav__creative-num  { color: rgba(255,255,255,0.85); }
.nav .nav__creative-item:hover .nav__creative-name { color: #fff; transform: translateX(3px); }
.nav .nav__creative-item:hover .nav__creative-desc { color: rgba(255,255,255,0.7); }
.nav .nav__creative-item.is-active .nav__creative-num  { color: #fff; }
.nav .nav__creative-item.is-active .nav__creative-name { color: #fff; }

/* Mobile group section — replaces standalone Studio link on small screens */
.mobile-menu__group { margin-bottom: 0.75rem; }
.mobile-menu__group-label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin: 0.5rem 0 0.75rem;
}
.mobile-menu__sub {
  display: block;
  padding: 0.375rem 0 0.375rem 0.75rem;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-family: 'Jost', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.005em;
  text-transform: none;
}

/* ============ NAV CLIENT ACCESS DROPDOWN (2026-08) ============
   Discreet portal launcher — sits between lang toggle and phone CTA.
   Add clients by appending <a class="nav__client-item"> in nav.html.
   ============================================ */
.nav__client { position: relative; display: none; margin-left: 14px; }
@media (min-width: 900px) { .nav__client { display: inline-flex; } }

.nav__client-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: transparent;
  color: var(--ink, #fff);
  font-family: var(--mono, monospace);
  font-size: 12px;
  letter-spacing: 0.08em;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 3px;
  cursor: pointer;
  transition: border-color 200ms ease, background-color 200ms ease, color 200ms ease;
  white-space: nowrap;
}
.nav__client-btn:hover,
.nav__client[data-open="true"] .nav__client-btn {
  border-color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.05);
}
.nav__client-caret {
  transition: transform 220ms cubic-bezier(0.22,0.61,0.36,1);
  opacity: 0.85;
}
.nav__client[data-open="true"] .nav__client-caret { transform: rotate(180deg); }

.nav__client-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 200px;
  background: rgba(8,8,10,0.75);
  backdrop-filter: blur(24px) saturate(170%);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  border: 1px solid rgba(255,255,255,0.10);
  padding: 0.75rem 0.875rem 0.5rem;
  box-shadow: 0 24px 48px -12px rgba(0,0,0,0.55);
  text-align: right;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 220ms ease, transform 220ms cubic-bezier(0.22,0.61,0.36,1), visibility 220ms ease;
  z-index: 300;
}
.nav__client[data-open="true"] .nav__client-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__client-eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  text-align: right;
  margin: 0 0 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav__client-item {
  display: block;
  padding: 0.5rem 0;
  color: var(--ink, #fff);
  text-decoration: none;
  text-align: right;
  transition: color 180ms ease, transform 220ms cubic-bezier(0.22,0.61,0.36,1);
}
.nav__client-item + .nav__client-item { border-top: 1px solid rgba(255,255,255,0.05); }
.nav__client-item:hover { transform: translateX(-2px); }
.nav__client-name {
  display: block;
  font-family: 'Jost', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.005em;
  color: rgba(255,255,255,0.9);
  transition: color 180ms ease;
}
.nav__client-item:hover .nav__client-name { color: #fff; }

/* Mobile section — appears at bottom of mobile menu */
.mobile-menu__client {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  text-align: right;
}
.mobile-menu__client-eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.625rem;
}
.mobile-menu__client-item {
  display: block;
  padding: 0.375rem 0;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.005em;
}

/* ============ NEWSLETTER POPUP (pxn) — bottom-right editorial slide-in ============ */
.pxn {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2rem);
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 380ms ease;
  pointer-events: none;
}
.pxn.is-visible { opacity: 1; pointer-events: auto; }
.pxn__card {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: rgba(10, 10, 10, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  padding: clamp(28px, 4vw, 40px) clamp(24px, 3.5vw, 36px);
  color: #fff;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7);
  isolation: isolate;
  transform: translateY(16px) scale(0.98);
  transition: transform 460ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.pxn.is-visible .pxn__card { transform: translateY(0) scale(1); }
.pxn__close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: 0;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  transition: color 200ms ease;
}
.pxn__close:hover { color: #fff; }
.pxn__eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin: 0 0 8px;
}
.pxn__title {
  font-family: 'Jost', sans-serif;
  font-size: 1.75rem;
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: #fff;
  margin: 0 0 10px;
}
.pxn__title em { font-style: italic; font-weight: 300; }
.pxn__sub {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.55;
  margin: 0 0 16px;
}
.pxn__form { margin: 0; }
.pxn__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
}
.pxn__input {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 4px;
  outline: none;
  transition: border-color 200ms ease, background-color 200ms ease;
  min-width: 0;
}
.pxn__input::placeholder { color: rgba(255,255,255,0.4); }
.pxn__input:focus { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.06); }
.pxn__btn {
  background: #fff;
  color: #000;
  border: 1px solid #fff;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 10px 14px;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 200ms ease;
}
.pxn__btn:hover { opacity: 0.85; }
.pxn__btn:disabled { opacity: 0.55; cursor: default; }
.pxn__feedback {
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  margin: 10px 0 0;
  min-height: 1em;
  color: rgba(255,255,255,0.7);
}
.pxn__feedback.is-ok { color: #a3e0a3; }
.pxn__feedback.is-error { color: #ff9c9c; }
.pxn__decline {
  display: block;
  margin: 12px 0 0;
  background: transparent;
  border: 0;
  color: rgba(255,255,255,0.45);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 4px 0;
  cursor: pointer;
  transition: color 200ms ease;
}
.pxn__decline:hover { color: rgba(255,255,255,0.85); text-decoration: underline; }

@media (max-width: 500px) {
  .pxn { right: 0.75rem; bottom: 0.75rem; left: 0.75rem; width: auto; max-width: none; }
  .pxn__row { grid-template-columns: 1fr; }
  .pxn__btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .pxn { transition: opacity 200ms ease; transform: none; }
}

/* ============ ACCESSIBILITY / WCAG 2.1 AA (2026-07-07) ============ */

/* --- 1. Skip-to-content link — invisible until keyboard-focused --- */
.skip-link {
  position: fixed;
  top: -100px;
  left: 12px;
  z-index: 100000;
  padding: 10px 16px;
  background: #fff;
  color: #000;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: top 180ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.skip-link:focus {
  top: 12px;
  outline: 2px solid #000;
  outline-offset: 2px;
}

/* --- 2. Focus-visible outlines — only when keyboard, not mouse --- */
/* Baseline: keep the site clean for mouse users, provide clear focus for keyboard */
:focus:not(:focus-visible) { outline: none; }
:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  border-radius: 2px;
}
/* Softer treatment for dark buttons/inputs to keep the outline visible on all backgrounds */
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(0,0,0,0.6);
}

/* --- 3. Screen-reader-only utility class — visually hidden but announced --- */
.sr-only,
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- 4. Auto-play video: respect prefers-reduced-motion --- */
@media (prefers-reduced-motion: reduce) {
  video[autoplay] {
    animation: none !important;
  }
  /* Pause auto-play videos for users who prefer reduced motion */
  video[autoplay]:not([controls]) {
    display: none;
  }
  /* If the video has a fallback poster, show that instead */
  video[autoplay][poster] {
    display: block;
  }
}
