/* ==========================================================================
   GIOFLIX — Beyond displays
   Design system: tokens, primitives, components, pages
   Typeface: SF UI Display (system stack)
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --font-sans: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SF Mono", ui-monospace, "Cascadia Mono", "Roboto Mono", Menlo, monospace;

  --r-xs: 3px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-pill: 999px;

  --gutter: clamp(20px, 4.4vw, 64px);
  --maxw: 1560px;
  --section: clamp(76px, 9.2vw, 148px);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --header-h: 78px;
}

:root,
:root[data-theme="dark"] {
  color-scheme: dark;

  --bg: #06070b;
  --bg-elev: #0a0c13;
  --bg-soft: #0d1018;
  --ink: #f2f4fa;
  --ink-soft: #ccd1e0;
  --muted: #9097ac;
  --faint: #6a7186;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.19);
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);

  --brand: #7a85ee;
  --brand-strong: #526be3;
  --brand-soft: #9aa0f8;
  --brand-ink: #06070b;
  --glow: 82, 107, 227;

  --header-bg: rgba(6, 7, 11, 0.62);
  --panel: rgba(10, 12, 19, 0.72);
  --hero-panel: transparent;
  --hero-panel-line: transparent;
  --footer-bg: #04050a;

  --shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9);
  --shadow-soft: 0 20px 50px -30px rgba(0, 0, 0, 0.8);
  --img-dim: 0.92;
}

:root[data-theme="light"] {
  color-scheme: light;

  --bg: #f4f2ec;
  --bg-elev: #fbfaf6;
  --bg-soft: #eeebe3;
  --ink: #0b0c12;
  --ink-soft: #262a36;
  --muted: #5d6272;
  --faint: #8a8e9c;
  --line: rgba(11, 12, 18, 0.12);
  --line-strong: rgba(11, 12, 18, 0.24);
  --surface: #fdfcf9;
  --surface-2: #ffffff;

  --brand: #3a4cc4;
  --brand-strong: #2c3aa6;
  --brand-soft: #5f6de2;
  --brand-ink: #ffffff;
  --glow: 58, 76, 196;

  --header-bg: rgba(247, 245, 240, 0.72);
  --panel: rgba(253, 252, 249, 0.86);
  --hero-panel: rgba(247, 245, 240, 0.94);
  --hero-panel-line: rgba(255, 255, 255, 0.6);
  --footer-bg: #08090f;

  --shadow: 0 40px 80px -44px rgba(20, 24, 46, 0.35);
  --shadow-soft: 0 18px 44px -28px rgba(20, 24, 46, 0.3);
  --img-dim: 1;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "kern" 1, "liga" 1;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(1100px 620px at 78% -12%, rgba(var(--glow), 0.2), transparent 62%),
    radial-gradient(820px 520px at -8% 8%, rgba(var(--glow), 0.1), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg) 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

input,
select,
textarea {
  font: inherit;
  color: inherit;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: rgba(var(--glow), 0.4);
  color: var(--ink);
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 300;
  padding: 12px 18px;
  background: var(--brand);
  color: #fff;
  border-radius: var(--r-sm);
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 16px;
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: var(--section);
}

.section--tight {
  padding-block: clamp(48px, 6vw, 88px);
}

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 32px);
}

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--brand);
}

.eyebrow--plain::before {
  display: none;
}

.display {
  font-size: clamp(2.9rem, 6.6vw, 6.6rem);
  line-height: 0.94;
  letter-spacing: -0.048em;
  font-weight: 500;
  text-wrap: balance;
}

.h2 {
  font-size: clamp(2rem, 3.9vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 500;
  text-wrap: balance;
}

.h3 {
  font-size: clamp(1.35rem, 1.9vw, 1.9rem);
  line-height: 1.14;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.lede {
  font-size: clamp(1rem, 1.22vw, 1.18rem);
  line-height: 1.62;
  color: var(--ink-soft);
  max-width: 62ch;
}

.small {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

.mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}

.grad-text {
  background: linear-gradient(104deg, var(--brand-soft) 0%, var(--brand) 46%, #cfd6ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

[data-theme="light"] .grad-text {
  background: linear-gradient(104deg, #2c3aa6 0%, #4c5fd6 48%, #7f8cf0 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease),
    border-color 0.35s var(--ease), color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.btn svg {
  width: 15px;
  height: 15px;
  transition: transform 0.35s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--primary {
  color: #fff;
  background: linear-gradient(112deg, #5f6de2 0%, #4459d6 55%, #7a85ee 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 14px 30px -16px rgba(58, 76, 196, 0.9);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 20px 38px -16px rgba(58, 76, 196, 0.95);
}

.btn--ghost {
  color: var(--ink);
  border-color: var(--line-strong);
  background: transparent;
}

.btn--ghost:hover {
  background: var(--surface);
  border-color: var(--ink-soft);
}

.btn--light {
  background: var(--ink);
  color: var(--bg);
}

.btn--sm {
  padding: 10px 18px;
  font-size: 13px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line-strong);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.link-arrow svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease);
}

.link-arrow:hover {
  color: var(--brand);
  border-color: var(--brand);
}

.link-arrow:hover svg {
  transform: translate(2px, -2px);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
[data-theme="light"] .site-header {
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  backdrop-filter: blur(22px) saturate(160%);
  border-bottom-color: var(--line);
}

.site-header.is-scrolled {
  box-shadow: 0 18px 40px -30px rgba(0, 0, 0, 0.6);
}

.header-inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  height: 24px;
  width: auto;
}

.brand .logo-on-light {
  display: none;
}

[data-theme="light"] .brand .logo-on-dark {
  display: none;
}

[data-theme="light"] .brand .logo-on-light {
  display: block;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 38px);
  margin-left: auto;
  margin-right: clamp(12px, 2vw, 28px);
}

.nav-desktop a {
  position: relative;
  font-size: 14px;
  color: var(--ink-soft);
  padding: 8px 0;
  white-space: nowrap;
  transition: color 0.25s var(--ease);
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 1px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] {
  color: var(--ink);
}

.nav-desktop a:hover::after,
.nav-desktop a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle,
.menu-toggle {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--surface);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.theme-toggle:hover,
.menu-toggle:hover {
  border-color: var(--line-strong);
  background: var(--surface-2);
}

.theme-toggle svg {
  width: 17px;
  height: 17px;
}

.theme-toggle .icon-sun {
  display: none;
}

[data-theme="light"] .theme-toggle .icon-sun {
  display: block;
}

[data-theme="light"] .theme-toggle .icon-moon {
  display: none;
}

.menu-toggle {
  display: none;
}

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: transparent;
}

.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--brand-strong), var(--brand-soft));
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 28px) var(--gutter) 40px;
  background: var(--bg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease),
    visibility 0.35s;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
}

.mobile-menu nav a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.6rem, 7vw, 2.2rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.mobile-menu nav a span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--faint);
  letter-spacing: 0.1em;
}

.mobile-menu-foot {
  margin-top: auto;
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mobile-menu-foot a {
  color: var(--muted);
  font-size: 14px;
}

body.menu-open {
  overflow: hidden;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: stretch;
  padding: calc(var(--header-h) + clamp(10px, 2.4vh, 36px)) 0 clamp(12px, 2vh, 26px);
  overflow: hidden;
  background: #06070b;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 54%;
  transform: scale(1.06);
  filter: saturate(0.96) contrast(1.05) brightness(0.9);
  will-change: transform;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 5, 9, 0.94) 0%, rgba(4, 5, 9, 0.72) 34%, rgba(4, 5, 9, 0.2) 68%, rgba(4, 5, 9, 0.42) 100%),
    linear-gradient(180deg, rgba(4, 5, 9, 0.78) 0%, rgba(4, 5, 9, 0.04) 32%, rgba(4, 5, 9, 0.42) 74%, rgba(4, 5, 9, 0.96) 100%),
    radial-gradient(820px 560px at 68% 30%, rgba(255, 158, 88, 0.16), transparent 72%);
}

/* Atmosphere: beams, glow and grain sit between the photograph and the type.
   They give the hero layered depth without adding another panel. */
.hero-atmos {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-beam {
  position: absolute;
  top: -26%;
  height: 158%;
  width: clamp(180px, 24vw, 420px);
  transform-origin: top center;
  filter: blur(30px);
  mix-blend-mode: screen;
  background: linear-gradient(
    180deg,
    rgba(255, 220, 176, 0.3) 0%,
    rgba(255, 187, 122, 0.1) 44%,
    transparent 78%
  );
  animation: beam-sway-a 17s var(--ease) infinite alternate;
}

.hero-beam--a {
  left: 56%;
  transform: rotate(17deg);
}

.hero-beam--b {
  left: 74%;
  width: clamp(150px, 19vw, 330px);
  opacity: 0.72;
  transform: rotate(-13deg);
  background: linear-gradient(
    180deg,
    rgba(198, 222, 255, 0.26) 0%,
    rgba(150, 180, 255, 0.08) 46%,
    transparent 78%
  );
  animation-name: beam-sway-b;
  animation-duration: 23s;
  animation-delay: -6s;
}

@keyframes beam-sway-a {
  from { transform: rotate(15deg) translateX(-2%); }
  to { transform: rotate(21deg) translateX(3%); }
}

@keyframes beam-sway-b {
  from { transform: rotate(-15deg) translateX(2%); }
  to { transform: rotate(-9deg) translateX(-3%); }
}

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(680px 480px at 76% 26%, rgba(255, 168, 92, 0.16), transparent 68%),
    radial-gradient(560px 420px at 58% 74%, rgba(122, 133, 238, 0.16), transparent 70%);
  mix-blend-mode: screen;
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Aperture: a CSS-only light instrument that anchors the right side. */
.hero-aperture {
  position: absolute;
  top: 47%;
  right: clamp(-260px, -9vw, -60px);
  z-index: 1;
  width: clamp(360px, 46vw, 720px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0.62;
}

.aperture-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.aperture-glass {
  position: absolute;
  inset: 5%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background:
    linear-gradient(132deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 28%, transparent 48%),
    radial-gradient(circle at 62% 78%, rgba(255, 170, 96, 0.12), transparent 58%);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

[data-theme="light"] .aperture-glass {
  border-color: rgba(11, 12, 18, 0.06);
  background:
    linear-gradient(132deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.1) 30%, transparent 50%),
    radial-gradient(circle at 62% 78%, rgba(217, 122, 44, 0.1), transparent 58%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.aperture-ring--1 { inset: 0; border-color: rgba(255, 255, 255, 0.12); }
.aperture-ring--2 { inset: 13%; border-color: rgba(255, 190, 128, 0.22); }
.aperture-ring--3 { inset: 27%; border-color: rgba(150, 165, 255, 0.24); }

.aperture-core {
  position: absolute;
  inset: 41%;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, rgba(255, 244, 226, 0.95), rgba(255, 176, 96, 0.55) 38%, rgba(255, 138, 61, 0) 72%);
  filter: blur(8px);
  box-shadow: 0 0 120px 46px rgba(255, 166, 86, 0.16);
  animation: aperture-breathe 7s ease-in-out infinite;
}

@keyframes aperture-breathe {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.035); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(30px, 4.2vw, 56px);
}

.hero-copy {
  color: #f7f8ff;
  max-width: min(1080px, 88vw);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(247, 248, 255, 0.72);
  margin-bottom: clamp(18px, 2.2vw, 28px);
}

.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-soft);
  box-shadow: 0 0 0 4px rgba(122, 133, 238, 0.18);
}

.hero h1 {
  font-size: clamp(3.4rem, 10.6vw, 10.6rem);
  line-height: 0.86;
  letter-spacing: -0.055em;
  font-weight: 500;
  margin-left: -0.045em;
}

.hero-line {
  display: block;
  width: fit-content;
}

.hero .hero-line--accent {
  background: linear-gradient(102deg, #ffdcae 0%, #ffb166 34%, #ff8f45 58%, #8f99f2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}

.hero-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 64px);
  flex-wrap: wrap;
  margin-top: clamp(22px, 2.8vw, 34px);
}

.hero-sub {
  margin: 0;
  max-width: 46ch;
  font-size: clamp(0.98rem, 1.1vw, 1.1rem);
  line-height: 1.62;
  color: rgba(240, 243, 255, 0.78);
}

.hero .btn-row {
  margin-top: 0;
  flex: 0 0 auto;
}

.hero .btn--ghost {
  color: #f4f6ff;
  border-color: rgba(255, 255, 255, 0.26);
}

.hero .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.45);
}

/* Light theme: the photograph becomes a faint atmospheric wash on a warm
   paper field, so the same hero reads airy instead of dark. */
[data-theme="light"] .hero {
  background: linear-gradient(180deg, #f6f2ea 0%, #f1ece2 62%, #e9e3d8 100%);
}

[data-theme="light"] .hero-media img {
  opacity: 0.26;
  filter: saturate(1.02) contrast(1.02) brightness(1.12);
}

[data-theme="light"] .hero-media::after {
  background:
    linear-gradient(90deg, rgba(246, 242, 234, 0.94) 0%, rgba(246, 242, 234, 0.7) 38%, rgba(246, 242, 234, 0.18) 72%, rgba(246, 242, 234, 0.4) 100%),
    linear-gradient(180deg, rgba(246, 242, 234, 0.86) 0%, rgba(246, 242, 234, 0.08) 34%, rgba(246, 242, 234, 0.7) 80%, rgba(246, 242, 234, 0.98) 100%),
    radial-gradient(760px 540px at 72% 26%, rgba(255, 160, 90, 0.18), transparent 72%);
}

[data-theme="light"] .hero-glow {
  opacity: 0.5;
  mix-blend-mode: multiply;
}

[data-theme="light"] .hero-beam {
  opacity: 0.28;
  mix-blend-mode: multiply;
}

[data-theme="light"] .aperture-ring--1 { border-color: rgba(11, 12, 18, 0.12); }
[data-theme="light"] .aperture-ring--2 { border-color: rgba(180, 86, 28, 0.22); }
[data-theme="light"] .aperture-ring--3 { border-color: rgba(63, 79, 196, 0.2); }
[data-theme="light"] .aperture-core { opacity: 0.55; }
[data-theme="light"] .hero-copy { color: var(--ink); }
[data-theme="light"] .hero-eyebrow { color: var(--muted); }
[data-theme="light"] .hero-sub { color: var(--muted); }

[data-theme="light"] .hero .hero-line--accent {
  background: linear-gradient(102deg, #b4561c 0%, #d97a2c 40%, #3f4fc4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

[data-theme="light"] .hero .btn--ghost {
  color: var(--ink);
  border-color: var(--line-strong);
}

[data-theme="light"] .hero .btn--ghost:hover {
  background: var(--surface-2);
  border-color: var(--ink-soft);
}

.hero-strip {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

[data-theme="light"] .hero-strip {
  border-color: var(--line);
  background: var(--bg);
}

.hero-strip .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 16px;
  overflow: visible;
}

.hero-strip .wrap::-webkit-scrollbar {
  display: none;
}

.hero-strip span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(240, 243, 255, 0.88);
  text-shadow: 0 1px 10px rgba(3, 4, 8, 0.55);
  white-space: normal;
  overflow-wrap: break-word;
}

[data-theme="light"] .hero-strip span {
  color: var(--muted);
  text-shadow: none;
}

[data-theme="dark"] .hero-strip {
  background: linear-gradient(
    to top,
    rgba(5, 6, 10, 0.7) 0%,
    rgba(5, 6, 10, 0.22) 68%,
    rgba(5, 6, 10, 0) 100%
  );
}

.hero-strip .cue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(240, 243, 255, 0.85);
}

[data-theme="light"] .hero-strip .cue {
  color: var(--ink);
}

.hero-strip .cue svg {
  width: 12px;
  height: 12px;
  animation: nudge 2.6s var(--ease) infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

@keyframes nudge {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(3px);
  }
}

/* ---------- Marquee ---------- */
.marquee {
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding-block: 22px;
  background: linear-gradient(180deg, transparent, rgba(var(--glow), 0.045));
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 44px;
  width: max-content;
  animation: marquee 46s linear infinite;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 44px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.marquee-track span::after {
  content: "◆";
  font-size: 6px;
  color: var(--brand);
  opacity: 0.7;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Section head ---------- */
.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: end;
  margin-bottom: clamp(32px, 4.4vw, 64px);
}

.sec-head .h2 {
  margin-top: 18px;
}

.sec-head .side {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 6px;
}

.sec-head .side p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
  max-width: 46ch;
}

/* ---------- Manifesto ---------- */
.manifesto {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 88px);
  align-items: start;
}

.manifesto--reverse {
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
}

.manifesto-figure {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-soft);
}

.manifesto-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.03) brightness(var(--img-dim));
  transition: transform 1.2s var(--ease);
}

.manifesto-figure:hover img {
  transform: scale(1.035);
}

.manifesto-figure figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 18px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  background: linear-gradient(0deg, rgba(4, 5, 9, 0.8), transparent);
}

.manifesto-body .statement {
  font-size: clamp(1.5rem, 2.6vw, 2.45rem);
  line-height: 1.22;
  letter-spacing: -0.03em;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 28px;
  text-wrap: pretty;
}

.manifesto-body .statement em {
  font-style: normal;
  color: var(--brand);
}

.manifesto-body .lede {
  max-width: 60ch;
}

.principles {
  margin-top: clamp(32px, 4vw, 52px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  overflow: hidden;
}

.principle {
  background: var(--bg-elev);
  padding: 22px 20px;
}

.principle .num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--brand);
}

.principle h3 {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.principle p {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- Capability list ---------- */
.cap-list {
  border-top: 1px solid var(--line);
}

.cap-row {
  position: relative;
  display: grid;
  grid-template-columns: 62px minmax(0, 1.15fr) minmax(0, 1.45fr) 132px 40px;
  gap: clamp(12px, 2vw, 28px);
  align-items: center;
  padding: clamp(18px, 2.2vw, 26px) 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.4s var(--ease), padding 0.4s var(--ease);
}

.cap-row::before {
  content: "";
  position: absolute;
  inset: 0 calc(var(--gutter) * -1);
  background: linear-gradient(90deg, rgba(var(--glow), 0.09), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.cap-row:hover::before {
  opacity: 1;
}

.cap-row .idx {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--faint);
}

.cap-row h3 {
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
  font-weight: 500;
  letter-spacing: -0.028em;
  transition: color 0.35s var(--ease);
}

.cap-row:hover h3 {
  color: var(--brand);
}

.cap-row p {
  font-size: 13.5px;
  line-height: 1.58;
  color: var(--muted);
  max-width: 44ch;
}

.cap-row .thumb {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xs);
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10;
}

.cap-row .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(35%) brightness(0.85);
  transition: transform 0.7s var(--ease), filter 0.5s var(--ease);
}

.cap-row:hover .thumb img {
  transform: scale(1.08);
  filter: grayscale(0) brightness(1);
}

.cap-row .chev {
  display: inline-flex;
  justify-content: flex-end;
  color: var(--faint);
  transition: transform 0.35s var(--ease), color 0.35s var(--ease);
}

.cap-row .chev svg {
  width: 18px;
  height: 18px;
}

.cap-row:hover .chev {
  transform: translateX(4px);
  color: var(--brand);
}

.cap-foot {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ---------- Work cards ---------- */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}

.media-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg-elev);
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.4s var(--ease),
    box-shadow 0.5s var(--ease);
}

.media-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-soft);
}

.media-card .media {
  position: relative;
  overflow: hidden;
  background: var(--bg-soft);
}

.media-card .media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.02) brightness(var(--img-dim));
  transition: transform 1s var(--ease);
}

.media-card:hover .media img {
  transform: scale(1.05);
}

.media-card .tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 11px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(6, 7, 11, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.media-card .body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 22px 24px;
  flex: 1;
}

.media-card .body .kicker {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--brand);
}

.media-card .body h3 {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.media-card .body p {
  font-size: 13.5px;
  line-height: 1.58;
  color: var(--muted);
}

.media-card .body .foot {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}

.media-card .body .foot svg {
  width: 14px;
  height: 14px;
  transition: transform 0.35s var(--ease);
}

.media-card:hover .body .foot svg {
  transform: translate(2px, -2px);
  color: var(--brand);
}

.cards-3 .media-card:nth-child(2) {
  margin-top: clamp(0px, 3vw, 40px);
}

/* ---------- Stats / proof ---------- */
.proof {
  border-block: 1px solid var(--line);
  background:
    radial-gradient(800px 400px at 12% 0%, rgba(var(--glow), 0.12), transparent 70%),
    var(--bg-elev);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat {
  padding: clamp(28px, 3.4vw, 44px) clamp(16px, 2vw, 32px);
  border-left: 1px solid var(--line);
}

.stat:first-child {
  border-left: 0;
  padding-left: 0;
}

.stat .val {
  font-size: clamp(2.4rem, 4.2vw, 3.9rem);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

.stat .val sup {
  font-size: 0.42em;
  vertical-align: super;
  letter-spacing: 0;
  color: var(--brand);
  margin-left: 2px;
}

.stat .lbl {
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--muted);
  max-width: 22ch;
}

.quote-band {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
}

.quote-band blockquote {
  font-size: clamp(1.35rem, 2.35vw, 2.15rem);
  line-height: 1.32;
  letter-spacing: -0.028em;
  font-weight: 400;
  color: var(--ink);
  text-wrap: pretty;
}

.quote-band blockquote::before {
  content: "“";
  display: block;
  font-size: 3.4em;
  line-height: 0.6;
  color: var(--brand);
  margin-bottom: 8px;
  font-weight: 300;
}

.quote-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 6px;
}

.quote-meta .name {
  font-size: 14px;
  font-weight: 500;
}

.quote-meta .role {
  font-size: 12.5px;
  color: var(--muted);
}

.quote-meta .rule {
  margin-top: 14px;
}

/* ---------- Horizontal gallery ---------- */
.rail-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.rail-nav {
  display: flex;
  gap: 8px;
}

.rail-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.rail-btn:hover {
  background: var(--surface);
  border-color: var(--ink-soft);
}

.rail-btn svg {
  width: 15px;
  height: 15px;
}

.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 31%);
  gap: clamp(14px, 1.8vw, 24px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.rail::-webkit-scrollbar {
  display: none;
}

.rail-item {
  scroll-snap-align: start;
}

.rail-item .media {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--bg-soft);
}

.rail-item img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  filter: saturate(0.94) brightness(var(--img-dim));
  transition: transform 1s var(--ease);
}

.rail-item:hover img {
  transform: scale(1.045);
}

.rail-item .cap {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 14px;
}

.rail-item .cap h3 {
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.rail-item .cap span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--faint);
  white-space: nowrap;
}

/* ---------- Events ---------- */
.event-row {
  display: grid;
  grid-template-columns: 116px minmax(0, 1.6fr) minmax(0, 1fr) 132px;
  gap: clamp(16px, 2.4vw, 36px);
  align-items: center;
  padding: clamp(20px, 2.4vw, 28px) 0;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  transition: background 0.35s var(--ease), padding 0.35s var(--ease);
}

.event-row + .event-row {
  border-top: 0;
}

.event-row:hover {
  background: linear-gradient(90deg, rgba(var(--glow), 0.07), transparent 70%);
}

.date-chip {
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  text-align: center;
  line-height: 1;
  background: var(--surface);
}

.date-chip .m {
  display: block;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
}

.date-chip .d {
  display: block;
  margin-top: 6px;
  font-size: 26px;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.event-row .title {
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
  font-weight: 500;
  letter-spacing: -0.024em;
  line-height: 1.3;
}

.event-row .meta {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--muted);
}

.event-row .type {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.event-row .go {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  font-size: 13px;
  color: var(--ink);
  white-space: nowrap;
}

.event-row .go svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease);
}

.event-row:hover .go svg {
  transform: translateX(4px);
  color: var(--brand);
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  padding-block: clamp(80px, 11vw, 168px);
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  filter: saturate(0.85) brightness(0.55);
}

.cta-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(720px 460px at 50% 40%, rgba(var(--glow), 0.3), transparent 70%),
    linear-gradient(180deg, rgba(4, 5, 9, 0.9), rgba(4, 5, 9, 0.7) 45%, rgba(4, 5, 9, 0.96));
}

.cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  color: #f5f7ff;
}

.cta-inner .eyebrow {
  color: rgba(245, 247, 255, 0.65);
}

.cta-inner h2 {
  font-size: clamp(2.4rem, 5.6vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 500;
  max-width: 16ch;
}

.cta-inner p {
  color: rgba(240, 243, 255, 0.72);
  max-width: 46ch;
  font-size: 15px;
}

.cta-inner .btn--ghost {
  color: #f4f6ff;
  border-color: rgba(255, 255, 255, 0.28);
}

.cta-inner .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background: var(--footer-bg);
  color: #eef1fb;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 82% 0%, rgba(82, 107, 227, 0.22), transparent 65%),
    radial-gradient(600px 400px at 0% 100%, rgba(58, 76, 196, 0.14), transparent 70%);
  pointer-events: none;
}

.footer-top {
  position: relative;
  padding-block: clamp(56px, 7vw, 96px) clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px);
}

.footer-brand img {
  height: 26px;
  width: auto;
}

.footer-brand .tag {
  margin-top: 22px;
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: rgba(238, 241, 251, 0.9);
  max-width: 18ch;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(238, 241, 251, 0.55);
  max-width: 38ch;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.footer-cols h4 {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(238, 241, 251, 0.42);
  margin-bottom: 16px;
}

.footer-cols ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-cols a {
  font-size: 13.5px;
  color: rgba(238, 241, 251, 0.78);
  transition: color 0.25s var(--ease);
}

.footer-cols a:hover {
  color: #fff;
}

.footer-cols .addr {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(238, 241, 251, 0.6);
}

.footer-bottom {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding-block: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 11.5px;
  color: rgba(238, 241, 251, 0.42);
}

.footer-bottom .legal {
  display: flex;
  gap: 20px;
}

.footer-bottom a:hover {
  color: rgba(238, 241, 251, 0.85);
}

.to-top {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(238, 241, 251, 0.6);
  font-size: 11.5px;
}

.to-top svg {
  width: 12px;
  height: 12px;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(44px, 6vw, 88px));
  padding-bottom: clamp(40px, 5vw, 72px);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 480px at 78% 0%, rgba(var(--glow), 0.16), transparent 68%);
  pointer-events: none;
}

.page-hero .wrap {
  position: relative;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: clamp(26px, 3vw, 44px);
}

.breadcrumb a:hover {
  color: var(--ink);
}

.breadcrumb .sep {
  opacity: 0.5;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: end;
}

.page-hero h1 {
  font-size: clamp(2.7rem, 5.8vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.047em;
  font-weight: 500;
  text-wrap: balance;
}

.page-hero .intro {
  padding-bottom: 8px;
}

.page-hero .intro p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  max-width: 42ch;
}

.page-hero .intro .meta-row {
  margin-top: 22px;
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.page-hero .intro .meta-row div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.page-hero .intro .meta-row strong {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.page-hero .intro .meta-row span {
  font-size: 11.5px;
  color: var(--faint);
}

.page-hero-media {
  margin-top: clamp(32px, 4vw, 56px);
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-soft);
}

.page-hero-media img {
  width: 100%;
  height: clamp(240px, 38vw, 480px);
  object-fit: cover;
  filter: saturate(0.95) brightness(var(--img-dim));
}

/* ---------- Solutions page ---------- */
.sol-layout {
  display: grid;
  grid-template-columns: 244px minmax(0, 1fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: start;
}

.sol-index {
  position: sticky;
  top: calc(var(--header-h) + 28px);
}

.sol-index .lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.sol-index ol {
  margin-top: 6px;
}

.sol-index a {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 8px;
  padding: 12px 0;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  transition: color 0.3s var(--ease), padding 0.3s var(--ease);
}

.sol-index a .n {
  font-family: var(--font-mono);
  font-size: 10px;
  padding-top: 3px;
  color: var(--faint);
}

.sol-index a:hover {
  color: var(--ink);
  padding-left: 4px;
}

.sol-index a.is-active {
  color: var(--brand);
  padding-left: 4px;
}

.sol-index a.is-active .n {
  color: var(--brand);
}

.sol-index .index-cta {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
}

.sol-index .index-cta p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
}

.sol-index .index-cta a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
}

.sol-block {
  scroll-margin-top: calc(var(--header-h) + 24px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(22px, 3.4vw, 56px);
  padding-block: clamp(36px, 4.4vw, 64px);
  border-top: 1px solid var(--line);
  align-items: start;
}

.sol-block:first-child {
  border-top: 0;
  padding-top: 0;
}

.sol-block:nth-child(even) .sol-media {
  order: 2;
}

.sol-media {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-soft);
}

.sol-media img {
  width: 100%;
  aspect-ratio: 4 / 3.3;
  object-fit: cover;
  filter: saturate(0.94) brightness(var(--img-dim));
  transition: transform 1.1s var(--ease);
}

.sol-block:hover .sol-media img {
  transform: scale(1.035);
}

.sol-media .stamp {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 12px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(6, 7, 11, 0.5);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
}

.sol-copy .kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}

.sol-copy .kicker .rule {
  flex: 1;
  background: var(--line);
}

.sol-copy h2 {
  margin-top: 14px;
  font-size: clamp(1.7rem, 2.5vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 500;
}

.sol-copy .lead {
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
}

.sol-copy ul {
  margin-top: 22px;
  display: grid;
  gap: 0;
}

.sol-copy li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-soft);
}

.sol-copy li::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--brand);
}

.chips {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.chip {
  padding: 6px 11px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

/* Process */
.process {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  margin-top: 8px;
}

.step {
  position: relative;
  padding: 26px 26px 0 0;
  border-right: 1px solid var(--line);
}

.step:last-child {
  border-right: 0;
  padding-right: 0;
}

.step .n {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--faint);
}

.step .bar {
  width: 100%;
  height: 2px;
  background: var(--line);
  margin: 16px 0 18px;
  position: relative;
  overflow: hidden;
}

.step .bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--brand-strong), var(--brand-soft));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s var(--ease);
}

.step.is-in .bar::after {
  transform: scaleX(1);
}

.step h3 {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.step p {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* Sectors */
.sectors {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  overflow: hidden;
}

.sector {
  background: var(--bg-elev);
  padding: clamp(22px, 2.4vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 168px;
  transition: background 0.35s var(--ease);
}

.sector:hover {
  background: var(--surface);
}

.sector .ico {
  width: 26px;
  height: 26px;
  color: var(--brand);
}

.sector .ico svg {
  width: 100%;
  height: 100%;
}

.sector h3 {
  margin-top: auto;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.sector p {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- Events page ---------- */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-block: 18px;
  border-block: 1px solid var(--line);
  margin-top: clamp(28px, 3vw, 44px);
}

.tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
}

.tab {
  padding: 8px 16px;
  border-radius: var(--r-pill);
  font-size: 12.5px;
  color: var(--muted);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.tab[aria-selected="true"] {
  background: var(--ink);
  color: var(--bg);
}

.filter-bar .count {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

.featured-event {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bg-elev);
  margin-top: clamp(28px, 3.4vw, 48px);
}

.featured-event .media {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}

.featured-event .media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) brightness(var(--img-dim));
  transition: transform 1.2s var(--ease);
}

.featured-event:hover .media img {
  transform: scale(1.04);
}

.featured-event .media .badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 7px 12px;
  border-radius: var(--r-pill);
  background: rgba(6, 7, 11, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.featured-event .body {
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}

.featured-event .date-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}

.featured-event h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.3rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 500;
}

.featured-event p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

.featured-event .body .btn-row {
  margin-top: 8px;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
}

.event-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bg-elev);
  transition: transform 0.45s var(--ease), border-color 0.35s var(--ease),
    box-shadow 0.45s var(--ease);
}

.event-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-soft);
}

.event-card .media {
  position: relative;
  overflow: hidden;
}

.event-card .media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(0.9) brightness(var(--img-dim));
  transition: transform 1s var(--ease);
}

.event-card:hover .media img {
  transform: scale(1.05);
}

.event-card .type-tag {
  position: absolute;
  top: 13px;
  left: 13px;
  padding: 6px 10px;
  border-radius: var(--r-pill);
  background: rgba(6, 7, 11, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.event-card .body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.event-card .when {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}

.event-card h3 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.event-card .place {
  font-size: 12.5px;
  color: var(--muted);
}

.event-card .foot {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
}

.event-card .foot a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
}

.event-card .foot svg {
  width: 13px;
  height: 13px;
}

.event-card.is-past .media img {
  filter: grayscale(65%) brightness(0.72);
}

.event-card.is-past:hover .media img {
  filter: grayscale(0%) brightness(1);
}

.empty-state {
  padding: 48px 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

/* ---------- About ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  overflow: hidden;
}

.value {
  background: var(--bg-elev);
  padding: clamp(24px, 3vw, 38px);
}

.value .n {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--brand);
}

.value h3 {
  margin-top: 14px;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.value p {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 44ch;
}

.timeline {
  border-top: 1px solid var(--line);
}

.tl-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(16px, 3vw, 48px);
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.tl-row .year {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--brand);
}

.tl-row h3 {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.tl-row p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
}

.creds {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.cred {
  background: var(--bg-elev);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cred strong {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.cred span {
  font-size: 11.5px;
  color: var(--faint);
  line-height: 1.5;
}

/* ---------- Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 4.4vw, 72px);
  align-items: start;
}

.contact-aside {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-aside .big-mail {
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  letter-spacing: -0.03em;
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
  display: inline-block;
}

.contact-aside .big-mail:hover {
  color: var(--brand);
  border-color: var(--brand);
}

.contact-block h3 {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 12px;
}

.contact-block p,
.contact-block a {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.offices {
  display: grid;
  gap: 18px;
}

.office {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.office .city {
  font-size: 13.5px;
  font-weight: 500;
}

.office .addr {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 3px;
}

.form-card {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg-elev);
  padding: clamp(22px, 3vw, 40px);
  box-shadow: var(--shadow-soft);
}

.form-card .form-head {
  padding-bottom: 22px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.form-card .form-head h2 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.form-card .form-head p {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: var(--r-xs);
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23888' stroke-width='1.5'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.field textarea {
  resize: vertical;
  min-height: 118px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--faint);
  opacity: 0.8;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: var(--bg-elev);
  box-shadow: 0 0 0 3px rgba(var(--glow), 0.14);
}

.field input:user-invalid,
.field textarea:user-invalid {
  border-color: #c2564f;
}

.check {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
}

.check input {
  width: 15px;
  height: 15px;
  margin-top: 3px;
  accent-color: var(--brand);
  flex-shrink: 0;
}

.form-foot {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.form-foot .small {
  font-size: 11.5px;
  max-width: 32ch;
}

.form-success {
  display: none;
  padding: 28px;
  border: 1px solid rgba(var(--glow), 0.35);
  border-radius: var(--r-sm);
  background: rgba(var(--glow), 0.08);
}

.form-success.is-visible {
  display: block;
}

.form-success h3 {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.form-success p {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------- Reveal ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--delay, 0ms);
}

html.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

html.js .reveal-img img {
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 1.1s var(--ease-out), transform 1.4s var(--ease-out);
}

html.js .reveal-img.is-in img {
  opacity: 1;
  transform: scale(1);
}

/* ---------- Reveal watchdog ----------
   If the reveal or motion layer fails to boot, nothing may stay hidden.
   site.js / motion.js add .reveal-fallback after 1.6s when a readiness flag
   is missing, so a JS error or a blocked script degrades to a static page. */
html.reveal-fallback .reveal,
html.reveal-fallback .reveal-img img,
html.reveal-fallback .step,
html.reveal-fallback .hero-copy > *,
html.reveal-fallback .page-hero-grid > .reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

html.reveal-fallback .page-veil {
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .hero-aperture {
    opacity: 0.42;
  }

  .cap-row {
    grid-template-columns: 48px minmax(0, 1.2fr) minmax(0, 1.3fr) 108px 30px;
  }

  .cards-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards-3 .media-card:nth-child(3) {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    margin-top: 0;
  }

  .cards-3 .media-card:nth-child(3) img {
    aspect-ratio: 16 / 11;
    height: 100%;
  }

  .event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  :root {
    --header-h: 70px;
  }

  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-inner {
    padding-bottom: 40px;
  }

  .hero-aperture {
    opacity: 0.3;
    right: -180px;
  }

  .hero {
    min-height: 92svh;
  }

  .sec-head {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .manifesto {
    grid-template-columns: 1fr;
  }

  .manifesto-figure img {
    aspect-ratio: 16 / 9;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat:nth-child(3) {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--line);
  }

  .stat:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .quote-band {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .sol-layout {
    grid-template-columns: 1fr;
  }

  .sol-index {
    position: static;
    display: none;
  }

  .process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }

  .step {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 22px 22px 22px 0;
  }

  .step:nth-child(even) {
    padding-left: 22px;
    border-left: 1px solid var(--line);
  }

  .sectors {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-aside {
    position: static;
  }

  .featured-event {
    grid-template-columns: 1fr;
  }

  .featured-event .media {
    min-height: 260px;
  }

  .creds {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .cap-row {
    grid-template-columns: 40px minmax(0, 1fr) 28px;
    grid-template-areas:
      "idx title chev"
      ". desc desc";
    row-gap: 8px;
  }

  .cap-row .idx {
    grid-area: idx;
  }

  .cap-row h3 {
    grid-area: title;
  }

  .cap-row p {
    grid-area: desc;
  }

  .cap-row .thumb {
    display: none;
  }

  .cap-row .chev {
    grid-area: chev;
  }

  .event-row {
    grid-template-columns: 92px minmax(0, 1fr);
    grid-template-areas:
      "date title"
      "date meta";
    row-gap: 4px;
  }

  .event-row .date-chip {
    grid-area: date;
  }

  .event-row .title {
    grid-area: title;
  }

  .event-row .meta {
    grid-area: meta;
  }

  .event-row .type,
  .event-row .go {
    display: none;
  }

  .sol-block {
    grid-template-columns: 1fr;
  }

  .sol-block:nth-child(even) .sol-media {
    order: 0;
  }

  .rail {
    grid-auto-columns: minmax(260px, 78%);
  }

  .timeline .tl-row {
    grid-template-columns: 76px minmax(0, 1fr);
    grid-template-areas:
      "year title"
      ". desc";
    row-gap: 8px;
  }

  .tl-row .year {
    grid-area: year;
  }

  .tl-row h3 {
    grid-area: title;
  }

  .tl-row p {
    grid-area: desc;
  }

  .principles {
    grid-template-columns: 1fr;
  }

  .values {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: 88svh;
    padding-top: calc(var(--header-h) + 28px);
  }

  .hero h1 {
    font-size: clamp(2.9rem, 14vw, 5rem);
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }

  .hero-aperture {
    top: 34%;
    width: 70vw;
    right: -34vw;
    opacity: 0.24;
  }

  .hero-strip .wrap {
    gap: 20px;
  }

  .hero-strip .cue span {
    display: none;
  }

  .cards-3 {
    grid-template-columns: 1fr;
  }

  .cards-3 .media-card:nth-child(2) {
    margin-top: 0;
  }

  .cards-3 .media-card:nth-child(3) {
    display: flex;
    grid-template-columns: none;
  }

  .cards-3 .media-card:nth-child(3) img {
    aspect-ratio: 4 / 3;
  }

  .event-grid {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .stat {
    padding: 22px 16px;
  }

  .stat:nth-child(3),
  .stat:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .stat .val {
    font-size: 2.2rem;
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 26px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .sectors {
    grid-template-columns: 1fr;
  }

  .process {
    grid-template-columns: 1fr;
  }

  .step,
  .step:nth-child(even) {
    padding: 20px 0;
    border-left: 0;
  }
}

@media (max-width: 520px) {
  .brand img {
    height: 19px;
  }

  .header-actions .btn {
    display: none;
  }

  .hero-strip span:nth-child(n + 3) {
    display: none;
  }

  .quote-band blockquote {
    font-size: 1.28rem;
  }

  .rail-nav {
    display: none;
  }

  .creds {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  html.js .reveal,
  html.js .reveal.is-in {
    opacity: 1;
    transform: none;
  }

  html.js .reveal-img img,
  html.js .reveal-img.is-in img {
    opacity: 1;
    transform: none;
  }

  .hero-media img {
    transform: none !important;
  }

  .marquee-track {
    animation: none;
    flex-wrap: wrap;
  }
}

/* ---------- Print ---------- */
@media print {
  .site-header,
  .mobile-menu,
  .cta,
  .site-footer {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }

  .hero {
    min-height: auto;
  }
}

/* ==========================================================================
   EXTENDED ARCHITECTURE — detail pages, work, events, products
   ========================================================================== */

/* ---------- Page veil / load sequence ---------- */
.page-veil {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: grid;
  place-items: center;
  background: var(--bg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease);
}

.page-veil img {
  height: 30px;
  width: auto;
  opacity: 0.55;
}

html.js body:not(.is-ready) .page-veil { opacity: 1; }
body.is-leaving .page-veil { opacity: 1; pointer-events: all; }

html.js .hero-copy > *,
html.js .page-hero-grid > .reveal {
  opacity: 0;
  transform: translateY(20px);
}

html.js body.is-ready .hero-copy > *,
html.js body.is-ready .page-hero-grid > .reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

html.js body.is-ready .hero-copy > *:nth-child(2) { transition-delay: 90ms; }
html.js body.is-ready .hero-copy > *:nth-child(3) { transition-delay: 170ms; }
html.js body.is-ready .hero-copy > *:nth-child(4) { transition-delay: 250ms; }
html.js body.is-ready .page-hero-grid > .reveal:nth-child(2) { transition-delay: 110ms; }

[data-reveal-order="1"] { --delay: 0ms; }
[data-reveal-order="2"] { --delay: 110ms; }

/* ---------- Custom cursor ---------- */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 500;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
}

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

.cursor-ring {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line-strong);
  transition: width 0.3s var(--ease), height 0.3s var(--ease),
    background 0.3s var(--ease), border-color 0.3s var(--ease);
}

body.has-cursor .cursor-dot,
body.has-cursor .cursor-ring { opacity: 1; }

.cursor-ring.is-active {
  width: 58px;
  height: 58px;
  background: rgba(var(--glow), 0.12);
  border-color: var(--brand);
}

@media (hover: none), (pointer: coarse) {
  .cursor-dot,
  .cursor-ring { display: none; }
}

/* ---------- Detail pages ---------- */
.detail-hero { padding-bottom: clamp(36px, 4.6vw, 64px); }

.detail-hero h1 {
  font-size: clamp(2.5rem, 5.2vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 500;
  text-wrap: balance;
}

.detail-hero .page-hero-grid { align-items: end; }

.detail-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--bg-soft);
}

.detail-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.02) brightness(var(--img-dim));
}

.media-stamp {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 7px 12px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(6, 7, 11, 0.55);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.detail-section { padding-top: clamp(48px, 6vw, 88px); }
.section--flush-top { padding-top: 0; }

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.detail-rail { position: relative; }

.rail-sticky {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--panel);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.rail-sticky .btn { width: 100%; }

.chapter-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.chapter-nav a {
  padding: 9px 0;
  font-size: 12.5px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
}

.chapter-nav a:hover,
.chapter-nav a[aria-current="true"] {
  color: var(--ink);
  padding-left: 6px;
}

.chapter-nav a[aria-current="true"] { box-shadow: inset 2px 0 0 var(--brand); }

.rail-facts { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.rail-facts div { display: flex; justify-content: space-between; gap: 16px; }
.rail-facts dt,
.rail-facts dd { margin: 0; font-size: 12.5px; }
.rail-facts dt { color: var(--faint); }
.rail-facts dd { color: var(--ink-soft); text-align: right; }

.detail-article { min-width: 0; display: flex; flex-direction: column; gap: clamp(56px, 7vw, 92px); }

.chapter { scroll-margin-top: calc(var(--header-h) + 32px); }
.chapter .h2 { margin-top: 14px; max-width: 22ch; }
.chapter .lede { margin-top: 22px; }

.pullquote {
  margin: 32px 0 0;
  padding: 24px 0 24px 26px;
  border-left: 2px solid var(--brand);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.5;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 48ch;
}

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
a.chip { transition: border-color 0.25s var(--ease), color 0.25s var(--ease); }
a.chip:hover { border-color: var(--brand); color: var(--ink); }

.cap-list { display: flex; flex-direction: column; margin-top: 26px; border-top: 1px solid var(--line); }

.cap-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(0.98rem, 1.2vw, 1.1rem);
  color: var(--ink-soft);
}

.cap-num {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--brand);
  padding-top: 4px;
}

.spec-table {
  margin: 30px 0 0;
  border-top: 1px solid var(--line);
}

.spec-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 24px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.spec-row dt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  padding-top: 3px;
}

.spec-row dd { margin: 0; font-size: 14.5px; color: var(--ink-soft); }

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
  margin-top: 30px;
}

.related-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bg-elev);
  transition: border-color 0.35s var(--ease), transform 0.5s var(--ease);
}

.related-card:hover { border-color: var(--line-strong); }

.related-media { overflow: hidden; background: var(--bg-soft); }
.related-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(0.94) brightness(var(--img-dim));
  transition: transform 1s var(--ease);
}
.related-card:hover .related-media img { transform: scale(1.05); }

.related-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; }
.related-body h3 { font-size: 18px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; }
.related-body .go {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
}
.related-body .go svg { width: 13px; height: 13px; transition: transform 0.3s var(--ease); }
.related-card:hover .go svg { transform: translateX(3px); }

/* ---------- Work ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}

.work-card {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.35s var(--ease);
}

.work-card:hover { border-color: var(--line-strong); }

.work-card--wide { grid-column: span 2; }
.work-card--wide .work-media img { aspect-ratio: 16 / 8; }

.work-media { overflow: hidden; border-radius: var(--r-md); background: var(--bg-soft); }
.work-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.02) brightness(var(--img-dim));
  transition: transform 1.2s var(--ease);
}
.work-card:hover .work-media img { transform: scale(1.04); }

.work-body h2 {
  margin-top: 12px;
  font-size: clamp(1.5rem, 2.5vw, 2.3rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 500;
}
.work-body p { margin-top: 12px; max-width: 54ch; color: var(--muted); font-size: 14px; }

.work-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}
.work-meta span + span::before { content: "·"; margin-right: 14px; color: var(--line-strong); }
.work-body .go {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--brand);
}
.work-body .go svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.work-card:hover .go svg { transform: translateX(3px); }

.stat-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--line);
}
.stat-band .stat strong {
  display: block;
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1;
}
.stat-band .stat span { display: block; margin-top: 10px; font-size: 12px; color: var(--muted); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}
.gallery-item { margin: 0; overflow: hidden; border-radius: var(--r-sm); background: var(--bg-soft); }
.gallery-item--wide { grid-column: span 2; }
.gallery-item img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(0.94) brightness(var(--img-dim));
}
.gallery-item--wide img { aspect-ratio: 16 / 8; }

/* ---------- Events detail ---------- */
.date-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--surface);
}
.date-badge span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
}
.date-badge strong {
  font-size: 2.4rem;
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.04em;
  margin-top: 6px;
}

.schedule { margin-top: 28px; border-top: 1px solid var(--line); }
.schedule-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.schedule-time {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--brand);
  padding-top: 2px;
}
.schedule-text { font-size: 15px; color: var(--ink-soft); }

.callout {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--brand);
  border-radius: var(--r-xs);
  background: var(--surface);
}
.callout strong { font-size: 18px; font-weight: 500; letter-spacing: -0.02em; }
.callout span { font-size: 13px; color: var(--muted); }

.included-list {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.included-list li {
  padding: 16px 18px;
  background: var(--bg);
  font-size: 13.5px;
  color: var(--ink-soft);
}
.included-list li::before { content: "—"; color: var(--brand); margin-right: 10px; }

/* ---------- Products ---------- */
.shop-hero { padding-bottom: clamp(24px, 3vw, 40px); }

.catalogue-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding: 20px 0;
  border-block: 1px solid var(--line);
}

.catalogue-mode { display: flex; align-items: center; gap: 16px; }
.catalogue-note { font-size: 12.5px; color: var(--muted); max-width: 40ch; }

.mode-toggle {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  width: 164px;
  padding: 4px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: var(--surface);
  isolation: isolate;
}

.mode-toggle--lg { width: 196px; }

.mode-slider {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: var(--r-pill);
  background: linear-gradient(112deg, #5f6de2, #4459d6 60%, #7a85ee);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.45s var(--ease);
  z-index: -1;
}

[data-shop-mode="buy"] .mode-slider { transform: translateX(100%); }

.mode-toggle button {
  position: relative;
  padding: 9px 0;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--muted);
  transition: color 0.3s var(--ease);
}

.mode-toggle button[aria-pressed="true"] { color: #fff; }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.filter-group { display: flex; flex-direction: column; gap: 10px; }
.filter-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 7px; }

.filter-chip {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 12.5px;
  color: var(--muted);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.filter-chip:hover { color: var(--ink); border-color: var(--line-strong); }
.filter-chip.is-active { color: var(--ink); border-color: var(--brand); background: rgba(var(--glow), 0.1); }

.filter-count { margin-left: auto; font-size: 12.5px; color: var(--muted); }
.filter-count strong { color: var(--ink); font-weight: 500; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 30px);
  margin-top: clamp(30px, 4vw, 48px);
}

.product-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 26px; }

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg-elev);
  overflow: hidden;
  transition: border-color 0.35s var(--ease), box-shadow 0.45s var(--ease);
}

.product-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-soft); }

.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 32%, rgba(var(--glow), 0.1) 46%, transparent 60%);
  transform: translateX(-130%);
  transition: transform 0.9s var(--ease);
  pointer-events: none;
}
.product-card:hover::after { transform: translateX(130%); }

.product-media { position: relative; display: block; overflow: hidden; background: var(--bg-soft); }
.product-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.02) brightness(var(--img-dim));
  transition: transform 1.1s var(--ease);
}
.product-card:hover .product-media img { transform: scale(1.045); }

.availability {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(6, 7, 11, 0.58);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
}
.availability i,
.availability-line i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #7ee2b8;
  box-shadow: 0 0 8px rgba(126, 226, 184, 0.7);
}
.availability.is-low i,
.availability-line.is-low i { background: #f0c674; box-shadow: 0 0 8px rgba(240, 198, 116, 0.65); }
.availability.is-booked i,
.availability-line.is-booked i { background: #e88c8c; box-shadow: 0 0 8px rgba(232, 140, 140, 0.6); }

.product-body { display: flex; flex-direction: column; gap: 12px; padding: 20px 22px 22px; flex: 1; }

.product-meta {
  display: flex;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}
.product-meta span + span::before { content: "/"; margin-right: 8px; color: var(--line-strong); }

.product-body h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.025em; line-height: 1.22; }
.product-body h3 a { transition: color 0.25s var(--ease); }
.product-body h3 a:hover { color: var(--brand); }
.product-tagline { font-size: 13px; line-height: 1.55; color: var(--muted); }

.price-pair { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); }

.price-block { padding-top: 12px; }
.price-block > span {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}
.price-block strong {
  display: block;
  margin-top: 3px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.price-block em { display: block; margin-top: 2px; font-size: 11px; font-style: normal; color: var(--muted); }

/* mode visibility — pricing only, never the comparison table */
[data-shop-mode="buy"] .price-block.price-rent,
[data-shop-mode="buy"] .price-panel.price-rent { display: none; }
[data-shop-mode="rent"] .price-block.price-buy,
[data-shop-mode="rent"] .price-panel.price-buy { display: none; }

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  margin-top: 4px;
  border-top: 1px solid var(--line);
}
.product-foot .link-arrow { font-size: 12px; border: 0; padding: 0; }
.link-plain {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.link-plain:hover { color: var(--brand); border-color: var(--brand); }

.product-hero { padding-bottom: clamp(36px, 4.6vw, 64px); }

.product-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
  margin-top: 28px;
}

.product-hero-grid .detail-media { position: sticky; top: calc(var(--header-h) + 24px); }

.buybox {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--panel);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.buybox h1 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 500;
}
.buybox .lede { font-size: 14px; margin-top: -4px; }

.buybox-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 6px;
  border-top: 1px solid var(--line);
}

.price-panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
}
.price-main { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.price-main strong { font-size: clamp(1.5rem, 2.2vw, 1.9rem); font-weight: 500; letter-spacing: -0.035em; }
.price-main span { font-size: 11.5px; color: var(--muted); }

.price-facts { display: flex; flex-direction: column; gap: 8px; margin: 14px 0 0; }
.price-facts div { display: flex; justify-content: space-between; gap: 16px; }
.price-facts dt,
.price-facts dd { margin: 0; font-size: 12px; }
.price-facts dt { color: var(--faint); }
.price-facts dd { color: var(--ink-soft); text-align: right; }

.availability-line {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: var(--muted);
}

.compare-wrap { margin-top: 28px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-sm); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 540px; }
.compare-table th,
.compare-table td {
  padding: 14px 16px;
  text-align: left;
  font-size: 13px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.compare-table thead th {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  background: var(--surface);
}
.compare-table thead th.col-rent,
.compare-table thead th.col-buy { color: var(--brand); }
.compare-table tbody th { font-weight: 400; color: var(--faint); width: 30%; }
.compare-table tbody td { color: var(--ink-soft); }
.compare-table tr:last-child th,
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table td.col-rent { background: rgba(var(--glow), 0.05); }

/* ---------- 3D tilt / parallax ---------- */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  [data-tilt] { transform-style: preserve-3d; will-change: transform; }
  [data-parallax] img { height: 112%; object-fit: cover; will-change: transform; }
}

[data-parallax] { overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (max-width: 1024px) {
  .detail-layout { grid-template-columns: minmax(0, 1fr); }
  .detail-rail { display: none; }
  .product-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .product-hero-grid .detail-media { position: static; }
  .work-card--wide { grid-column: auto; }
  .work-card--wide .work-media img { aspect-ratio: 3 / 2; }
}

@media (max-width: 860px) {
  .related-grid,
  .work-grid { grid-template-columns: minmax(0, 1fr); }
  .stat-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-band .stat:nth-child(3) { border-left: 0; }
  .gallery-grid { grid-template-columns: minmax(0, 1fr); }
  .gallery-item--wide { grid-column: auto; }
  .gallery-item--wide img { aspect-ratio: 3 / 2; }
  .included-list { grid-template-columns: minmax(0, 1fr); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalogue-bar { align-items: flex-start; flex-direction: column; }
  .filter-count { margin-left: 0; width: 100%; }
  .chapter .h2 { max-width: none; }
}

@media (max-width: 640px) {
  .product-grid,
  .product-grid--three { grid-template-columns: minmax(0, 1fr); }
  .stat-band { grid-template-columns: minmax(0, 1fr); }
  .stat-band .stat { border-left: 0; border-top: 1px solid var(--line); }
  .stat-band .stat:first-child { border-top: 0; }
  .schedule-row { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; }
  .spec-row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .buybox-head { flex-direction: column; align-items: flex-start; }
  .product-foot { flex-direction: column; align-items: flex-start; }
  .detail-hero h1 { font-size: clamp(2.2rem, 9vw, 3.4rem); }
}

@media (prefers-reduced-motion: reduce) {
  .page-veil { display: none; }
  .cursor-dot,
  .cursor-ring { display: none; }
  .hero-beam,
  .aperture-core { animation: none; }
  [data-parallax] img { height: 100%; transform: none !important; }
  html.js .hero-copy > *,
  html.js body.is-ready .hero-copy > *,
  html.js .page-hero-grid > .reveal,
  html.js body.is-ready .page-hero-grid > .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Motion refinements ---------- */
html.js [data-tilt].is-in {
  transition: transform 0.35s var(--ease-out), opacity 0.9s var(--ease-out);
}

html.js [data-tilt].is-in:hover {
  transition: transform 0.14s linear, opacity 0.9s var(--ease-out);
}

[data-parallax].is-in img { transition: opacity 0.9s var(--ease-out); }

.product-card[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
  html.js [data-tilt].is-in,
  html.js [data-tilt].is-in:hover { transition: none; }
}

/* ---------- Enquiry context ---------- */
.form-context {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  margin: 0 0 24px;
  padding: 12px 16px;
  border: 1px solid rgba(var(--glow), 0.28);
  border-radius: var(--r-sm);
  background: rgba(var(--glow), 0.07);
  font-size: 13px;
  color: var(--ink-soft);
}

.form-context strong { color: var(--ink); font-weight: 500; }

.form-context span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-soft);
}

.form-context a {
  margin-left: auto;
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
}

/* ---------- Glass light sweep ---------- */
.rail-sticky {
  position: relative;
  overflow: hidden;
}

.rail-sticky::after {
  content: "";
  position: absolute;
  inset: -40% -70%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 42%,
    rgba(140, 154, 255, 0.13) 50%,
    transparent 58%
  );
  transform: translateX(-75%);
  animation: glass-sheen 12s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes glass-sheen {
  0%,
  72% {
    transform: translateX(-75%);
  }
  100% {
    transform: translateX(75%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rail-sticky::after {
    animation: none;
    opacity: 0;
  }
}

/* ---------- Event gallery ---------- */
.event-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.event-gallery-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg-soft);
}

.event-gallery-item img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out);
}

.event-gallery-item:hover img { transform: scale(1.035); }

@media (max-width: 760px) {
  .event-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .event-gallery-item:first-child { grid-column: span 2; }
}

@media (prefers-reduced-motion: reduce) {
  .event-gallery-item img,
  .event-gallery-item:hover img { transition: none; transform: none; }
}

/* ==========================================================================
   Refinement pass — rhythm, hierarchy, states
   ========================================================================== */

::selection {
  background: rgba(var(--glow), 0.3);
  color: var(--ink);
}

/* Anchors should never land under the sticky header. */
:where(section[id], article[id], div[id]) {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

/* Slightly more generous section rhythm and display scale. */
:root {
  --section: clamp(84px, 9.6vw, 164px);
}

.display {
  font-size: clamp(3rem, 6.9vw, 7rem);
}

.h2 {
  font-size: clamp(2.05rem, 4.05vw, 3.9rem);
}

p {
  text-wrap: pretty;
}

.lede {
  line-height: 1.66;
}

/* Every card media window uses the same 3:2 frame as the source photography,
   so nothing is crushed or double-cropped at any breakpoint. */
.media-card .media img,
.event-card .media img {
  aspect-ratio: 3 / 2;
}

.media-card .media::after,
.event-card .media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(4, 5, 9, 0.26) 0%,
    transparent 34%,
    transparent 66%,
    rgba(4, 5, 9, 0.32) 100%
  );
}

/* Keyboard parity for every interactive card. */
.media-card:focus-within,
.event-card:focus-within,
.product-card:focus-within {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-soft);
  transform: translateY(-4px);
}

.product-card {
  transition: transform 0.4s var(--ease), border-color 0.35s var(--ease),
    box-shadow 0.45s var(--ease);
}

.product-card:hover {
  transform: translateY(-4px);
}

/* A single light sweep across the primary action. */
.btn--primary {
  overflow: hidden;
}

.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    110deg,
    transparent 30%,
    rgba(255, 255, 255, 0.22) 48%,
    transparent 64%
  );
  transform: translateX(-130%);
  transition: transform 0.85s var(--ease);
}

.btn--primary:hover::after {
  transform: translateX(130%);
}

.btn:active {
  transform: translateY(1px);
}

/* Empty states read as a deliberate panel, not a stray line of text. */
.empty-state {
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-md);
  background: var(--surface);
  padding: clamp(42px, 6vw, 76px) 24px;
}

@media (prefers-reduced-motion: reduce) {
  .btn--primary::after {
    display: none;
  }

  .product-card,
  .product-card:hover,
  .media-card:focus-within,
  .event-card:focus-within,
  .product-card:focus-within {
    transform: none;
  }
}

/* ==========================================================================
   LED Display range
   ========================================================================== */

.led-hero {
  position: relative;
  min-height: 92svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding-top: calc(var(--header-h) + 40px);
  background: #05060a;
  isolation: isolate;
}

.led-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.led-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% 40%;
  transform: scale(1.03);
  filter: brightness(0.7) saturate(0.95) contrast(1.08);
}

.led-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 5, 9, 0.96) 0%, rgba(4, 5, 9, 0.74) 38%, rgba(4, 5, 9, 0.24) 72%, rgba(4, 5, 9, 0.5) 100%),
    linear-gradient(180deg, rgba(4, 5, 9, 0.72) 0%, rgba(4, 5, 9, 0.05) 30%, rgba(4, 5, 9, 0.55) 74%, rgba(4, 5, 9, 0.98) 100%),
    radial-gradient(760px 520px at 68% 34%, rgba(255, 164, 88, 0.16), transparent 72%);
}

.led-hero-atmos {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.led-hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(640px 460px at 76% 28%, rgba(255, 168, 92, 0.16), transparent 68%),
    radial-gradient(580px 420px at 52% 78%, rgba(122, 133, 238, 0.16), transparent 70%);
  mix-blend-mode: screen;
}

.led-hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

.led-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: calc(clamp(40px, 6vw, 78px) + 34px);
  color: #f7f8ff;
}

.led-hero .eyebrow {
  color: rgba(247, 248, 255, 0.72);
}

.led-hero .eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-soft);
  box-shadow: 0 0 0 4px rgba(122, 133, 238, 0.18);
}

.led-hero h1 {
  margin: 18px 0 22px;
  font-size: clamp(3.4rem, 9.6vw, 9.6rem);
  line-height: 0.88;
  letter-spacing: -0.052em;
  font-weight: 500;
}

.led-hero-accent {
  background: linear-gradient(102deg, #ffdcae 0%, #ffb166 34%, #ff8f45 58%, #8f99f2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}

.led-hero .lede {
  max-width: 58ch;
  color: rgba(240, 243, 255, 0.78);
}

.led-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.led-hero .btn--ghost {
  color: #f4f6ff;
  border-color: rgba(255, 255, 255, 0.26);
}

.led-hero .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.45);
}

.led-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(30px, 4vw, 48px);
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.led-hero-stats strong {
  display: block;
  font-size: clamp(1.2rem, 1.8vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.led-hero-stats span {
  display: block;
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 248, 255, 0.52);
}

.led-pitch-scale {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 15px clamp(24px, 4vw, 64px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(4, 5, 9, 0.42);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 248, 255, 0.45);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

[data-theme="light"] .led-hero {
  background: linear-gradient(180deg, #f6f2ea 0%, #f1ece2 65%, #e9e3d8 100%);
}

[data-theme="light"] .led-hero-media img {
  opacity: 0.2;
  filter: saturate(1.02) contrast(1.02) brightness(1.12);
}

[data-theme="light"] .led-hero-media::after {
  background:
    linear-gradient(90deg, rgba(246, 242, 234, 0.94) 0%, rgba(246, 242, 234, 0.7) 40%, rgba(246, 242, 234, 0.16) 74%, rgba(246, 242, 234, 0.44) 100%),
    linear-gradient(180deg, rgba(246, 242, 234, 0.84) 0%, rgba(246, 242, 234, 0.06) 32%, rgba(246, 242, 234, 0.72) 78%, rgba(246, 242, 234, 0.98) 100%),
    radial-gradient(720px 520px at 70% 30%, rgba(255, 160, 90, 0.18), transparent 72%);
}

[data-theme="light"] .led-hero-inner { color: var(--ink); }
[data-theme="light"] .led-hero .eyebrow { color: var(--muted); }
[data-theme="light"] .led-hero .lede { color: var(--muted); }
[data-theme="light"] .led-hero-stats { border-color: var(--line); }
[data-theme="light"] .led-hero-stats span { color: var(--faint); }
[data-theme="light"] .led-hero .btn--ghost { color: var(--ink); border-color: var(--line-strong); }
[data-theme="light"] .led-hero .btn--ghost:hover { background: var(--surface-2); border-color: var(--ink-soft); }
[data-theme="light"] .led-hero-accent {
  background: linear-gradient(102deg, #b4561c 0%, #d97a2c 40%, #3f4fc4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
[data-theme="light"] .led-pitch-scale {
  color: var(--muted);
  background: rgba(246, 242, 234, 0.72);
  border-color: var(--line);
}

.led-intro {
  padding-top: clamp(56px, 7vw, 110px);
  padding-bottom: clamp(28px, 3vw, 48px);
}

.led-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
}

.led-intro-copy .lede {
  margin-top: 0;
}

.led-family-index {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  margin-top: clamp(34px, 5vw, 64px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.led-family-link {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px 16px 18px;
  border-right: 1px solid var(--line);
  color: var(--ink);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.led-family-link:last-child { border-right: 0; }
.led-family-link:hover { background: var(--surface); }
.led-family-index { font-family: var(--font-mono); font-size: 10px; color: var(--faint); }
.led-family-name { font-size: 14px; letter-spacing: -0.01em; }
.led-family-count { font-family: var(--font-mono); font-size: 10px; color: var(--brand-soft); }

.led-range {
  padding: var(--section) 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}

.led-range-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 24px;
}

.led-range-note {
  max-width: 34ch;
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

.led-filter-bar {
  position: sticky;
  top: calc(var(--header-h) + 12px);
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 10px;
  margin-bottom: clamp(32px, 4vw, 56px);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(6, 7, 11, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  backdrop-filter: blur(18px) saturate(130%);
}

[data-theme="light"] .led-filter-bar {
  background: rgba(246, 242, 234, 0.82);
}

.led-filter {
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  padding: 9px 13px;
  font: inherit;
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.led-filter span {
  margin-left: 6px;
  font-family: var(--font-mono);
  font-size: 9px;
  opacity: 0.6;
}

.led-filter:hover { background: var(--surface-2); color: var(--ink); }

.led-filter.is-active {
  background: var(--brand);
  color: #fff;
  border-color: transparent;
}

.led-family { scroll-margin-top: calc(var(--header-h) + 90px); }
.led-family[hidden] { display: none; }
.led-family + .led-family { margin-top: clamp(52px, 7vw, 96px); }

.led-family-head {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: end;
  padding-top: 22px;
  margin-bottom: clamp(26px, 3.4vw, 44px);
  border-top: 1px solid var(--line);
}

.led-family-head .eyebrow { margin-bottom: 8px; }

.led-family-blurb {
  justify-self: end;
  max-width: 40ch;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.led-editorial {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(22px, 2.8vw, 40px);
  align-items: start;
}

.led-card { grid-column: span 6; min-width: 0; }
.led-card--wide { grid-column: span 7; }
.led-card--narrow { grid-column: span 5; }
.led-card--offset { margin-top: clamp(28px, 5vw, 76px); }

.led-card-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #08090e;
  box-shadow: var(--shadow-soft);
}

.led-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease), filter 0.6s var(--ease);
}

.led-card:hover .led-card-media img,
.led-card:focus-within .led-card-media img {
  transform: scale(1.045);
  filter: brightness(1.06);
}

.led-card-no,
.led-card-env {
  position: absolute;
  top: 13px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.led-card-no { left: 14px; }

.led-card-env {
  right: 13px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(4, 5, 9, 0.35);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.led-hover {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  display: grid;
  gap: 9px;
  padding: 22px 18px 18px;
  background: linear-gradient(180deg, transparent 0%, rgba(4, 5, 9, 0.9) 46%);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
}

.led-card:hover .led-hover,
.led-card:focus-within .led-hover {
  opacity: 1;
  transform: none;
}

.led-hover > span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.led-hover em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.52);
}

.led-hover b {
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  text-align: right;
}

.led-card-body { padding-top: 16px; }

.led-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}

.led-card-family { color: var(--brand-soft); }

.led-card h3 {
  margin: 10px 0 8px;
  font-size: clamp(1.3rem, 1.9vw, 1.85rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.led-card h3 a { color: var(--ink); }
.led-card h3 a:hover { color: var(--brand); }

.led-card p {
  margin: 0;
  max-width: 46ch;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.led-card-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.led-card-chips span {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.led-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.led-quick { display: flex; gap: 6px; }

.led-quick a {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.led-quick a:hover {
  background: var(--brand);
  border-color: transparent;
  color: #fff;
}

.led-choose {
  border-top: 1px solid var(--line);
}

.led-choose-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: clamp(28px, 4vw, 52px);
}

.led-choose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2.4vw, 28px);
}

.led-choose-card {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(24px, 3.4vw, 44px);
  background: var(--surface);
}

.led-choose-card h3 {
  margin: 14px 0 12px;
  font-size: clamp(1.5rem, 2.6vw, 2.3rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.led-choose-card p { color: var(--muted); }

.led-choose-card ul {
  margin: 18px 0 24px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.led-choose-card li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  color: var(--muted);
}

.led-choose-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-soft);
}

.led-quote-band {
  position: relative;
  overflow: hidden;
  padding: var(--section) 0;
  background: #07080d;
  color: #f5f6ff;
}

.led-quote-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 480px at 78% 30%, rgba(255, 166, 88, 0.16), transparent 70%),
    radial-gradient(600px 420px at 22% 80%, rgba(122, 133, 238, 0.14), transparent 72%);
}

.led-quote-inner { position: relative; z-index: 1; }
.led-quote-inner .eyebrow { color: rgba(247, 248, 255, 0.6); }

.led-quote-inner h2 {
  margin: 16px 0 18px;
  font-size: clamp(2.4rem, 5.6vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  font-weight: 500;
}

.led-quote-inner p { max-width: 48ch; color: rgba(240, 243, 255, 0.7); }
.led-quote-inner .btn--ghost { color: #f4f6ff; border-color: rgba(255, 255, 255, 0.26); }
.led-quote-inner .btn--ghost:hover { background: rgba(255, 255, 255, 0.08); }

/* ---------- LED detail ---------- */
.led-detail-hero {
  padding-top: calc(var(--header-h) + 26px);
  border-bottom: 1px solid var(--line);
}

.led-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(28px, 4.4vw, 72px);
  align-items: center;
  padding: clamp(18px, 3vw, 40px) 0 clamp(30px, 4vw, 54px);
}

.led-detail-copy h1 {
  margin: 14px 0 16px;
  font-size: clamp(2.6rem, 5.4vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.048em;
  font-weight: 500;
}

.led-detail-copy .lede { max-width: 52ch; }

.led-key-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 24px 0;
  border-top: 1px solid var(--line);
}

.led-key-grid div {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.led-key-grid div:nth-child(odd) { padding-right: 18px; }
.led-key-grid div:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }

.led-key-grid span {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}

.led-key-grid strong {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

.led-detail-media {
  position: relative;
  overflow: hidden;
  margin: 0;
  aspect-ratio: 3 / 2;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #08090e;
}

.led-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.led-media-stamp {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(4, 5, 9, 0.45);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.led-variant-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 22px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.led-variant-chips { display: flex; flex-wrap: wrap; gap: 6px; }

.led-variant-chips span {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
}

.led-detail-section { padding-top: clamp(30px, 4vw, 56px); }
.led-detail-article .detail-block + .detail-block { margin-top: clamp(46px, 6vw, 82px); }

.led-feature-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.led-feature-list li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.led-feature-list span {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--brand-soft);
}

.led-feature-list p { margin: 0; font-size: 14px; color: var(--muted); }

.led-app-grid { display: flex; flex-wrap: wrap; gap: 8px; }

.led-app-grid span {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--muted);
}

.led-gallery {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
}

.led-gallery-item {
  position: relative;
  overflow: hidden;
  margin: 0;
  min-height: 150px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #08090e;
}

.led-gallery-item--full { grid-row: span 2; }

.led-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.led-gallery-item--a img { object-position: 32% 44%; transform: scale(1.5); }
.led-gallery-item--b img { object-position: 70% 58%; transform: scale(1.65); }

.led-gallery-item figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(4, 5, 9, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.led-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.led-compare-card {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(20px, 2.6vw, 32px);
  background: var(--surface);
}

.led-compare-card h4 {
  margin: 12px 0;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.led-compare-card ul {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.led-compare-card li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  color: var(--muted);
}

.led-compare-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-soft);
}

.led-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.led-related-card {
  display: grid;
  gap: 7px;
  padding: 10px 10px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--ink);
  transition: border-color 0.3s, transform 0.4s var(--ease);
}

.led-related-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }

.led-related-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border-radius: calc(var(--r-md) - 4px);
  background: #08090e;
}

.led-related-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.led-related-card:hover img { transform: scale(1.04); }
.led-related-card strong { font-weight: 500; font-size: 15px; }

/* ==========================================================================
   Quote builder
   ========================================================================== */

.quote-page { padding-top: calc(var(--header-h) + clamp(20px, 3vw, 40px)); }

.quote-head {
  max-width: 860px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.quote-head h1 {
  margin: 14px 0 16px;
  font-size: clamp(2.6rem, 5.4vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 500;
}

.quote-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}

.quote-aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: grid;
  gap: 14px;
}

.quote-product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  padding-bottom: 20px;
}

.quote-product-card > *:not(.quote-product-media) { padding-left: 20px; padding-right: 20px; }

.quote-product-media {
  aspect-ratio: 3 / 2;
  margin-bottom: 16px;
  background: #08090e;
}

.quote-product-media img { width: 100%; height: 100%; object-fit: cover; }

.quote-product-card h2 {
  margin: 6px 0 8px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.quote-product-facts {
  margin: 14px 0 0;
  border-top: 1px solid var(--line);
}

.quote-product-facts div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.quote-product-facts dt { font-size: 11px; color: var(--muted); }

.quote-product-facts dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  text-align: right;
}

.quote-note { margin-top: 14px; }

.quote-help {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg-soft);
  padding: 18px 20px;
}

.quote-help p { margin: 0 0 8px; }

.quote-main { min-width: 0; }

.quote-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--line);
}

.quote-steps li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 15px;
  background: var(--surface);
  font-size: 11.5px;
  color: var(--muted);
  transition: background 0.25s, color 0.25s;
}

.quote-steps li span:first-child {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--faint);
}

.quote-steps li em { font-style: normal; }

.quote-steps li[aria-current="step"] {
  background: var(--brand);
  color: #fff;
}

.quote-steps li[aria-current="step"] span:first-child { color: rgba(255, 255, 255, 0.68); }
.quote-steps li.is-done { color: var(--ink); cursor: pointer; }
.quote-steps li.is-done:hover { background: var(--surface-2); }

.quote-form {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  padding: clamp(22px, 3.2vw, 42px);
}

.quote-step[hidden] { display: none; }

.quote-step h2 {
  margin: 6px 0 22px;
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.quote-mode {
  display: inline-flex;
  gap: 3px;
  margin-bottom: 22px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-soft);
}

.quote-mode button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  padding: 9px 24px;
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}

.quote-mode button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--bg);
}

.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
}

.field {
  display: grid;
  gap: 7px;
  min-width: 0;
  font-size: 12px;
  color: var(--muted);
}

.field--wide { grid-column: 1 / -1; }
.field > span { font-weight: 500; letter-spacing: 0.02em; }

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink);
  padding: 12px 13px;
  font: inherit;
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field textarea { resize: vertical; min-height: 88px; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(var(--glow), 0.18);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #d9534f; }

.field-error {
  display: block;
  color: #e06c68;
  font-size: 11px;
  font-style: normal;
  line-height: 1.4;
}

.field-error:empty { display: none; }

.quote-fieldset {
  margin: 18px 0;
  padding: 0;
  border: 0;
}

.quote-fieldset legend {
  margin-bottom: 10px;
  font-size: 12px;
  color: var(--muted);
}

.quote-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.quote-checks label {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 12.5px;
  color: var(--muted);
  cursor: pointer;
}

.quote-checks input { accent-color: var(--brand); }

.quote-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.quote-nav .btn--primary { margin-left: auto; }

.quote-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--muted);
}

.quote-consent input { margin-top: 3px; accent-color: var(--brand); }

.quote-summary-group {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.quote-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.quote-summary-head h4 {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}

.quote-summary-head button {
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  font-size: 11px;
  color: var(--brand-soft);
  text-decoration: underline;
  cursor: pointer;
}

.quote-summary dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  margin: 0;
}

.quote-summary dl div {
  min-width: 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.quote-summary dt { font-size: 11px; color: var(--muted); }

.quote-summary dd {
  margin: 2px 0 0;
  font-size: 13px;
  overflow-wrap: break-word;
}

.quote-confirm {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  padding: clamp(24px, 3.4vw, 48px);
}

.quote-confirm h2 {
  margin: 12px 0 12px;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.quote-ref {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 22px 0;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quote-ref strong {
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0.08em;
}

@media (max-width: 1024px) {
  .led-detail-grid { grid-template-columns: 1fr; }
  .led-card--wide,
  .led-card--narrow { grid-column: span 6; }
  .led-card--offset { margin-top: 0; }
  .led-family-index { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .led-family-link:nth-child(4) { border-right: 0; }
  .led-family-link:nth-child(n + 5) { border-top: 1px solid var(--line); }
  .quote-layout { grid-template-columns: 1fr; }
  .quote-aside { position: static; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .led-hero { min-height: 88svh; }
  .led-hero h1 { font-size: clamp(3rem, 14.5vw, 5.4rem); }
  .led-hero-stats { grid-template-columns: 1fr 1fr; gap: 14px; }
  .led-pitch-scale {
    gap: 4px;
    padding: 12px 20px;
    font-size: 7.5px;
    letter-spacing: 0.06em;
  }
  .led-pitch-scale { overflow-x: auto; }
  .led-intro-grid { grid-template-columns: 1fr; }
  .led-family-index { grid-template-columns: 1fr 1fr; }
  .led-family-link { border-right: 0; border-top: 1px solid var(--line); }
  .led-family-link:nth-child(odd) { border-right: 1px solid var(--line); }
  .led-family-link:nth-child(1),
  .led-family-link:nth-child(2) { border-top: 0; }
  .led-range-head { flex-direction: column; align-items: flex-start; }
  .led-range-note { text-align: left; }
  .led-filter-bar { position: static; border-radius: var(--r-md); }
  .led-family-head { grid-template-columns: 1fr; gap: 12px; }
  .led-family-blurb { justify-self: start; }
  .led-editorial { grid-template-columns: 1fr; }
  .led-card,
  .led-card--wide,
  .led-card--narrow { grid-column: 1 / -1; }
  .led-card--offset { margin-top: 0; }
  .led-hover { opacity: 1; transform: none; position: static; background: none; padding: 12px 0 0; }
  .led-hover > span { border-color: var(--line); }
  .led-hover em { color: var(--faint); }
  .led-hover b { color: var(--ink); }
  .led-card-no,
  .led-card-env { font-size: 8px; }
  .led-choose-head { flex-direction: column; align-items: flex-start; }
  .led-choose-grid { grid-template-columns: 1fr; }
  .led-quote-band { padding: 72px 0; }
  .led-key-grid { grid-template-columns: 1fr; }
  .led-key-grid div:nth-child(even) { padding-left: 0; border-left: 0; }
  .led-gallery { grid-template-columns: 1fr; grid-template-rows: auto; }
  .led-gallery-item--full { grid-row: auto; }
  .led-gallery-item { min-height: 0; aspect-ratio: 3 / 2; }
  .led-compare-grid { grid-template-columns: 1fr; }
  .led-related-grid { grid-template-columns: 1fr; }
  .quote-layout { display: flex; flex-direction: column; }
  .quote-main { order: 1; }
  .quote-aside { order: 2; grid-template-columns: 1fr; }
  .quote-product-media { display: none; }
  .quote-steps li { flex-direction: column; align-items: flex-start; gap: 2px; padding: 11px 10px; font-size: 10.5px; }
  .quote-grid { grid-template-columns: 1fr; }
  .quote-checks { grid-template-columns: 1fr; }
  .quote-summary dl { grid-template-columns: 1fr; }
  .quote-mode { width: 100%; }
  .quote-mode button { flex: 1; }
}

/* ==========================================================================
   Home — LED Display flagship band
   ========================================================================== */
.home-led {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 120px) 0;
  background: #07080d;
  color: #f5f6ff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.home-led::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(760px 520px at 18% 22%, rgba(122, 133, 238, 0.18), transparent 68%),
    radial-gradient(680px 460px at 82% 78%, rgba(255, 166, 88, 0.13), transparent 70%);
  pointer-events: none;
}

.home-led-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 84px);
  align-items: center;
}

.home-led-copy .eyebrow { color: rgba(247, 248, 255, 0.58); }
.home-led-copy h2 { margin: 16px 0 20px; }
.home-led-copy h2 em { font-style: normal; color: #aab2ff; }
.home-led-copy .lede { max-width: 44ch; color: rgba(240, 243, 255, 0.72); }

.home-led-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 30px;
}

.home-led-actions .link-arrow { color: rgba(240, 243, 255, 0.78); }
.home-led-actions .link-arrow:hover { color: #fff; }

.home-led-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 26px clamp(24px, 4vw, 52px);
  margin: 40px 0 0;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.home-led-stats dt {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(240, 243, 255, 0.46);
}

.home-led-stats dd {
  margin: 7px 0 0;
  font-size: clamp(14px, 1.3vw, 17px);
  letter-spacing: -0.01em;
  color: #f4f6ff;
}

.home-led-stack {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(10, 1fr);
  gap: 14px;
  min-height: clamp(360px, 34vw, 520px);
}

.home-led-tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 4px;
  background: #0b0d15;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 80px -46px rgba(0, 0, 0, 0.95);
}

.home-led-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 900ms var(--ease-out), opacity 600ms var(--ease);
}

.home-led-tile span {
  position: absolute;
  left: 12px;
  bottom: 10px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.9);
}

.home-led-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 46%, rgba(4, 5, 10, 0.72));
  opacity: 0.85;
  transition: opacity 500ms var(--ease);
}

.home-led-tile:hover img { transform: scale(1.05); opacity: 1; }
.home-led-tile:hover::after { opacity: 0.55; }

.home-led-tile--a { grid-column: 1 / 8; grid-row: 1 / 7; }
.home-led-tile--b { grid-column: 8 / 13; grid-row: 3 / 9; }
.home-led-tile--c { grid-column: 3 / 9; grid-row: 7 / 11; z-index: 2; }

[data-theme="light"] .home-led {
  background: #0a0b12;
  border-color: rgba(10, 12, 19, 0.12);
}

@media (max-width: 1024px) {
  .home-led-inner { grid-template-columns: 1fr; }
  .home-led-stack { min-height: 340px; }
}

@media (max-width: 720px) {
  .home-led { padding: 60px 0; }
  .home-led-stats { gap: 18px 26px; }
  .home-led-stack {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, minmax(0, 1fr));
    min-height: 0;
  }
  .home-led-tile--a,
  .home-led-tile--b,
  .home-led-tile--c {
    grid-column: 1 / -1;
    grid-row: auto;
    aspect-ratio: 3 / 2;
  }
}

/* ==========================================================================
   LED catalogue — faceted showroom grid
   ========================================================================== */
.led-cat-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
}

.led-facets {
  position: sticky;
  top: calc(var(--header-h) + 18px);
  max-height: calc(100svh - var(--header-h) - 36px);
  overflow: auto;
  padding-right: 6px;
  scrollbar-width: thin;
}

.led-facets-head { display: none; }

.led-facet {
  margin: 0 0 18px;
  padding: 0 0 14px;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.led-facet legend {
  padding: 0;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}

.led-facet-options { display: grid; gap: 1px; }

.led-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 2px;
  font-size: 12.5px;
  color: var(--muted);
  cursor: pointer;
  border-radius: 6px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.led-option:hover { color: var(--ink); background: var(--surface); }

.led-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.led-option-box {
  position: relative;
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.led-option-box::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 6px;
  height: 9px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(40deg) scale(0.6);
  opacity: 0;
  transition: opacity 0.15s var(--ease), transform 0.15s var(--ease);
}

.led-option input:checked + .led-option-box {
  background: var(--brand);
  border-color: var(--brand);
}

.led-option input:checked + .led-option-box::after {
  opacity: 1;
  transform: rotate(40deg) scale(1);
}

.led-option input:focus-visible + .led-option-box {
  outline: 2px solid var(--brand-soft);
  outline-offset: 3px;
}

.led-option input:checked ~ .led-option-label { color: var(--ink); }
.led-option.is-empty { opacity: 0.38; cursor: default; }

.led-option-label { flex: 1 1 auto; }

.led-option-count {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  color: var(--faint);
}

.led-facets-foot { display: none; }

.led-cat-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  margin-bottom: clamp(18px, 2.4vw, 30px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.led-showing {
  margin: 0;
  font-size: 12.5px;
  color: var(--muted);
}

.led-showing strong { color: var(--ink); font-weight: 600; }

.led-cat-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.led-select {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  white-space: nowrap;
}

.led-select select {
  appearance: none;
  padding: 8px 28px 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%) calc(100% - 14px) 50% / 5px 5px no-repeat,
    linear-gradient(135deg, var(--muted) 50%, transparent 50%) calc(100% - 9px) 50% / 5px 5px no-repeat,
    var(--surface);
  color: var(--ink);
  font: inherit;
  font-family: var(--font-sans);
  font-size: 11.5px;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}

.led-filter-open {
  display: none;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 11.5px;
  cursor: pointer;
}

.led-filter-count {
  display: inline-grid;
  place-items: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 9px;
}

.led-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}

.led-showcase .led-card {
  grid-column: auto;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.led-showcase .led-card-body { display: flex; flex-direction: column; flex: 1 1 auto; }

.led-card-media-link { display: block; width: 100%; height: 100%; }

.led-compare-toggle {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 30px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(6, 7, 11, 0.62);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  font: inherit;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.led-compare-toggle svg { width: 9px; height: 9px; }

.led-compare-toggle:hover { background: rgba(122, 133, 238, 0.82); border-color: transparent; }

.led-compare-toggle.is-active {
  background: var(--brand);
  border-color: transparent;
}

.led-compare-toggle.is-active svg { transform: rotate(45deg); }

.led-card-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 10px 0 12px;
  border-top: 1px solid var(--line);
}

.led-card-specs div {
  padding: 8px 0 7px;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.led-card-specs div:nth-child(even) {
  padding-left: 12px;
  border-left: 1px solid var(--line);
}

.led-card-specs dt {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

.led-card-specs dd {
  margin: 3px 0 0;
  font-size: 11.5px;
  line-height: 1.35;
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.led-card-price {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin: auto 0 12px;
}

.led-card-price div {
  padding: 7px 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}

.led-card-price span {
  display: block;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}

.led-card-price strong {
  display: block;
  margin-top: 2px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.led-card-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.led-card-primary svg { width: 12px; height: 12px; }

.led-card-primary:hover { color: var(--brand-soft); }

.led-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: clamp(28px, 4vw, 52px);
}

.led-page-btn {
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.led-page-btn svg { width: 12px; height: 12px; }
.led-page-btn:hover { background: var(--surface-2); color: var(--ink); }
.led-page-btn.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.led-page-btn:disabled { opacity: 0.3; cursor: not-allowed; }

.led-empty {
  padding: 44px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  text-align: center;
}

.led-empty h3 { margin: 0 0 8px; font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.led-empty p { margin: 0 auto; max-width: 44ch; color: var(--muted); font-size: 13px; }

.led-empty-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.led-empty-actions button {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}

.led-empty-actions button:hover { background: var(--brand); border-color: transparent; color: #fff; }

/* Comparison tray + dialog */
.led-compare-tray {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  border-top: 1px solid var(--line-strong);
  background: rgba(6, 7, 11, 0.9);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  color: #f5f6ff;
}

.led-compare-tray-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
}

.led-compare-tray p { margin: 0; font-size: 12px; white-space: nowrap; }
.led-compare-tray p strong { font-size: 15px; }
.led-compare-tray .small { color: rgba(245, 246, 255, 0.55); }

.led-compare-chips { display: flex; gap: 6px; flex: 1 1 auto; overflow-x: auto; }

.led-compare-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font: inherit;
  font-size: 10px;
  white-space: nowrap;
  cursor: pointer;
}

.led-compare-chip svg { width: 9px; height: 9px; opacity: 0.6; }
.led-compare-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.led-compare-clear {
  border: 0;
  background: none;
  color: rgba(245, 246, 255, 0.6);
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}

.led-compare-dialog {
  width: min(1120px, calc(100vw - 28px));
  max-height: 88svh;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--bg-elev);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.led-compare-dialog::backdrop {
  background: rgba(2, 3, 6, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.led-compare-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-elev);
}

.led-compare-head .eyebrow { margin-bottom: 6px; }
.led-compare-head h2 { margin: 0; }

.led-compare-close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.led-compare-close svg { width: 13px; height: 13px; }

.led-compare-scroll { overflow: auto; max-height: calc(88svh - 130px); padding: 0 22px 14px; }

.led-compare-table { width: 100%; border-collapse: collapse; min-width: 560px; }

.led-compare-table th,
.led-compare-table td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 11.5px;
  text-align: left;
  vertical-align: top;
}

.led-compare-table thead th { padding-top: 16px; vertical-align: bottom; }

.led-compare-table tbody th {
  width: 140px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

.led-compare-model { display: block; color: var(--ink); }

.led-compare-model img {
  width: 100%;
  max-width: 200px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 6px;
  background: #000;
  margin-bottom: 7px;
}

.led-compare-model span {
  display: block;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}

.led-compare-model strong { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 500; }

.led-compare-note { padding: 0 22px 18px; color: var(--faint); margin: 0; }

/* ==========================================================================
   LED detail — mode choice, sticky buy bar, grouped specs
   ========================================================================== */
.led-mode-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}

.led-mode-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 132px;
  padding: 15px 15px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}

.led-mode-card:hover {
  border-color: var(--brand);
  background: var(--surface-2);
  transform: translateY(-2px);
}

.led-mode-card strong { font-size: 15px; font-weight: 500; letter-spacing: -0.01em; }

.led-mode-card > span:not(.mono):not(.led-mode-go) {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--muted);
}

.led-mode-go {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-soft);
}

.led-mode-go svg { width: 11px; height: 11px; }

.rail-spec {
  margin: 10px 0 18px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.rail-spec > .mono { margin: 0 0 4px; }

.rail-spec dl { margin: 0; }

.rail-spec div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 0;
  border-top: 1px solid var(--line);
  font-size: 10.5px;
}

.rail-spec dt { color: var(--faint); }
.rail-spec dd { margin: 0; color: var(--ink-soft); text-align: right; }

.led-spec-base { margin-bottom: 26px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }

.led-spec-group + .led-spec-group { margin-top: 30px; }

.led-spec-title {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}

.led-gallery-count {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(6, 7, 11, 0.62);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.78);
}

.led-gallery-item { position: relative; overflow: hidden; }
.led-gallery-item img { transition: transform 0.9s var(--ease-out); }
.led-gallery-item:hover img { transform: scale(1.035); }

.led-family-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 18px;
}

.led-family-nav a {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10.5px;
  color: var(--muted);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.led-family-nav a:hover { color: var(--ink); border-color: var(--line-strong); }

.led-family-nav a.is-active {
  background: var(--brand);
  border-color: transparent;
  color: #fff;
}

.led-compare-lede {
  max-width: 66ch;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 13px;
}

.led-compare-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.led-compare-price { margin: 0; text-align: right; }

.led-compare-price span {
  display: block;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

.led-compare-price strong { display: block; font-size: 11px; font-weight: 500; color: var(--ink-soft); }

/* Sticky detail purchase bar */
.led-buybar-spacer { height: 66px; }

.led-buybar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 58;
  border-top: 1px solid var(--line-strong);
  background: rgba(6, 7, 11, 0.9);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  color: #f5f6ff;
}

.led-buybar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 0;
}

.led-buybar-id {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #fff;
}

.led-buybar-id img {
  width: 44px;
  height: 32px;
  object-fit: cover;
  border-radius: 4px;
  background: #000;
}

.led-buybar-id .mono {
  display: block;
  font-size: 8px;
  letter-spacing: 0.12em;
  color: rgba(245, 246, 255, 0.52);
}

.led-buybar-id strong {
  display: block;
  margin-top: 1px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.led-buybar-actions { display: flex; gap: 8px; flex-shrink: 0; }

[data-theme="light"] .led-buybar {
  background: rgba(251, 250, 246, 0.92);
  color: var(--ink);
}

[data-theme="light"] .led-buybar-id { color: var(--ink); }
[data-theme="light"] .led-buybar-id .mono { color: var(--faint); }

/* ==========================================================================
   LED catalogue + detail responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .led-showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .led-cat-layout { grid-template-columns: 220px minmax(0, 1fr); }
}

@media (max-width: 1024px) {
  .led-cat-layout { grid-template-columns: 1fr; }

  .led-facets {
    position: fixed;
    top: var(--header-h);
    bottom: 0;
    left: 0;
    z-index: 92;
    width: min(360px, 92vw);
    max-height: none;
    padding: 18px 20px 88px;
    border-right: 1px solid var(--line);
    background: var(--bg-elev);
    transform: translateX(-102%);
    transition: transform 0.36s var(--ease-out);
    overflow: auto;
  }

  .led-facets.is-open { transform: none; }

  .led-facets-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
  }

  .led-facets-head .mono { margin: 0; }

  .led-facets-close {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface);
    color: var(--ink);
    cursor: pointer;
  }

  .led-facets-close svg { width: 12px; height: 12px; }

  .led-facets-foot {
    position: sticky;
    bottom: -88px;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    margin: 18px -20px -88px;
    padding: 14px 20px;
    border-top: 1px solid var(--line);
    background: var(--bg-elev);
  }

  .led-facets-backdrop {
    position: fixed;
    inset: 0;
    z-index: 90;
    border: 0;
    background: rgba(2, 3, 6, 0.58);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
  }

  .led-facets-backdrop[hidden] { display: none; }

  .led-filter-open { display: inline-flex; }

  html.led-facets-open,
  html.led-facets-open body { overflow: hidden; }
}

@media (max-width: 720px) {
  .led-showcase { grid-template-columns: 1fr; gap: 22px; }

  .led-cat-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .led-cat-tools { width: 100%; gap: 8px; }

  .led-select { flex: 1 1 auto; }
  .led-select select { width: 100%; }
  .led-select--per { flex: 0 0 auto; }

  .led-card-specs dd { font-size: 12px; }
  .led-card-price strong { font-size: 11px; }

  .led-compare-tray-inner { flex-wrap: wrap; gap: 8px; padding: 9px 0 12px; }
  .led-compare-chips { order: 3; flex: 1 0 100%; }
  .led-compare-actions { margin-left: auto; }

  .led-compare-dialog { width: 100vw; max-width: none; max-height: 92svh; border-radius: 14px 14px 0 0; margin: auto 0 0; }
  .led-compare-scroll { max-height: calc(92svh - 120px); padding: 0 14px 12px; }
  .led-compare-head { padding: 16px 16px 12px; }
  .led-compare-note { padding: 0 14px 14px; }
  .led-compare-table th, .led-compare-table td { padding: 9px; }

  .led-mode-choice { grid-template-columns: 1fr; }
  .led-mode-card { min-height: 0; }

  .led-buybar-inner { padding: 8px 0; gap: 10px; }
  .led-buybar-id img { display: none; }
  .led-buybar-id strong { font-size: 11px; max-width: 38vw; }
  .led-buybar-actions .btn { padding: 9px 11px; font-size: 10px; }
  .led-buybar-spacer { height: 60px; }

  .spec-table .spec-row { grid-template-columns: 1fr; gap: 2px; padding: 10px 0; }
  .spec-table dt { font-size: 8.5px; }
  .spec-table dd { font-size: 14px; }

  .led-gallery-count { top: 10px; left: 10px; }
}

/* Catalogue card refinements */
.led-showcase .led-card-env {
  top: auto;
  right: auto;
  bottom: 12px;
  left: 12px;
}

.led-showcase .led-hover { padding-bottom: 48px; }

/* ==========================================================================
   Quote builder — progress, mode briefs, review and confirmation
   ========================================================================== */
.quote-progress { margin-bottom: 14px; }

.quote-progress-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
}

.quote-progress-meta .mono { margin: 0; font-size: 9px; letter-spacing: 0.14em; }
.quote-progress-meta .small { color: var(--faint); }

.quote-progress-track {
  position: relative;
  height: 3px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}

.quote-progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--brand);
  transition: width 0.45s var(--ease-out);
}

.quote-steps li {
  cursor: pointer;
  transition: color 0.2s var(--ease), opacity 0.2s var(--ease);
}

.quote-steps li:not(.is-reachable) { cursor: default; }
.quote-steps li em { font-style: normal; }
.quote-steps li.is-done span { color: var(--brand-soft); }
.quote-steps li.is-done::after { content: "✓"; margin-left: 4px; font-size: 9px; color: var(--brand-soft); }

.quote-mode button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 11px 14px;
  text-align: left;
}

.quote-mode button strong { font-size: 13px; font-weight: 500; letter-spacing: -0.01em; }
.quote-mode button span { font-size: 10px; color: var(--faint); }
.quote-mode button[aria-pressed="true"] span { color: rgba(255, 255, 255, 0.7); }

.quote-mode-note {
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.5;
}

.quote-brief-intro {
  max-width: 58ch;
  margin: -6px 0 18px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
}

.quote-fieldset { margin: 0 0 16px; }
.quote-fieldset legend { margin-bottom: 8px; }

.quote-review-notes {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 18px;
  margin: 18px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.quote-review-notes .mono { margin: 0 0 8px; }
.quote-review-notes .small { margin: 0; color: var(--muted); line-height: 1.5; }

.quote-next-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.quote-next-list li {
  position: relative;
  padding-left: 26px;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--ink-soft);
}

.quote-next-list li span {
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  color: var(--brand-soft);
}

.quote-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 14px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}

.quote-trust li { position: relative; padding-left: 12px; }
.quote-trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brand-soft);
  transform: translateY(-50%);
}

.quote-confirm-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  list-style: none;
}

.quote-confirm-steps li { display: grid; gap: 4px; }

.quote-confirm-steps li span {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  color: var(--brand-soft);
}

.quote-confirm-steps li strong { font-size: 12px; font-weight: 500; letter-spacing: -0.01em; }
.quote-confirm-steps li p { margin: 0; font-size: 11px; line-height: 1.45; color: var(--muted); }

.quote-confirm .quote-trust { margin-top: 0; }

@media (max-width: 720px) {
  .quote-progress-meta .small { display: none; }
  .quote-steps { gap: 4px; }
  .quote-steps li { padding: 8px 6px; font-size: 10px; }
  .quote-steps li span { font-size: 8px; }
  .quote-review-notes { grid-template-columns: 1fr; gap: 14px; padding: 14px; }
  .quote-confirm-steps { grid-template-columns: 1fr; gap: 12px; padding: 14px; }
  .quote-mode button { padding: 10px 12px; }
  .quote-trust { gap: 7px 14px; }
}

/* ==========================================================================
   Home hero — ambient YouTube background
   Sits under the existing grade and atmosphere layers, never takes input.
   ========================================================================== */
.hero-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  opacity: 0;
  background: #05060a;
  pointer-events: none;
  transition: opacity 1.4s var(--ease);
}

.hero-video.is-playing { opacity: 1; }

.hero-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100vw, 177.78svh);
  height: max(56.25vw, 100svh);
  border: 0;
  transform: translate(-50%, -50%) scale(1.05);
  pointer-events: none;
  filter: saturate(0.82) contrast(1.08) brightness(0.72) hue-rotate(-4deg);
}

/* Extra grade and haze so the footage blends into the page, not a box. */
.hero-video::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 640px at 62% 38%, rgba(255, 150, 76, 0.12), transparent 70%),
    radial-gradient(760px 520px at 22% 62%, rgba(96, 110, 240, 0.16), transparent 72%),
    linear-gradient(180deg, rgba(4, 5, 9, 0.22) 0%, rgba(4, 5, 9, 0.05) 40%, rgba(4, 5, 9, 0.62) 100%);
}

/* The scrim belongs above the video inside the media layer. */
.hero-media::after { z-index: 2; }

.hero.has-video .hero-media img { transition: opacity 0.8s var(--ease); }

/* Keep the grade and type clear in light theme too — the hero stays cinematic. */
[data-theme="light"] .hero-video iframe {
  filter: saturate(0.78) contrast(1.1) brightness(0.66) hue-rotate(-4deg);
}

@media (max-width: 720px) {
  .hero-video iframe {
    width: max(100vw, 177.78svh);
    height: max(56.25vw, 100svh);
    transform: translate(-50%, -50%) scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}

/* Quote — mode selector as two deliberate briefing cards */
.quote-form .quote-mode {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  width: 100%;
  max-width: 520px;
  padding: 5px;
  border-radius: 14px;
  background: var(--bg-soft);
}

.quote-form .quote-mode button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-height: 54px;
  padding: 9px 13px;
  border-radius: 10px;
  text-align: left;
  text-transform: none;
  letter-spacing: 0;
}

.quote-form .quote-mode button strong {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.quote-form .quote-mode button span {
  font-size: 10px;
  color: var(--faint);
}

.quote-form .quote-mode button[aria-pressed="true"] {
  background: var(--brand);
  color: #fff;
}

.quote-form .quote-mode button[aria-pressed="true"] span {
  color: rgba(255, 255, 255, 0.74);
}

@media (max-width: 480px) {
  .quote-form .quote-mode { grid-template-columns: 1fr; max-width: none; }
  .quote-form .quote-mode button { min-height: 0; }
}

/* ==========================================================================
   Stage Lighting — home flagship band
   ========================================================================== */
.home-stage {
  background: #08090f;
  border-top-color: rgba(255, 255, 255, 0.06);
}

.home-stage::before {
  background:
    radial-gradient(720px 500px at 20% 18%, rgba(216, 160, 74, 0.14), transparent 68%),
    radial-gradient(680px 460px at 84% 82%, rgba(74, 108, 168, 0.16), transparent 70%);
}

.home-stage .home-led-copy h2 em { color: #f0c27a; }

.home-stage .home-led-tile span { background: rgba(8, 9, 15, 0.78); }

.led-pagination { flex-wrap: wrap; }
.led-page-gap {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 38px;
  color: var(--faint);
  font-size: 12px;
}

/* ==========================================================================
   Home hero — editorial recomposition
   ========================================================================== */
.hero-inner {
  --hero-gap-x: clamp(16px, 2vw, 32px);
  --hero-gap-y: clamp(16px, 2vw, 32px);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--hero-gap-x);
  align-items: end;
  align-self: center;
  padding-bottom: clamp(18px, 2.2vw, 32px);
}

.hero-copy {
  grid-column: 1 / 10;
  max-width: none;
}

.hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: var(--hero-gap-y);
}

.hero-eyebrow { margin-bottom: 0; }

.hero-top-meta {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 248, 255, 0.46);
  white-space: nowrap;
}

.hero h1 {
  font-size: clamp(2.15rem, 6.1vw, 5.6rem);
  line-height: 1;
  letter-spacing: -0.032em;
  font-weight: 500;
  margin: 0;
}

.hero-line {
  display: block;
  width: auto;
}

.hero .hero-line--accent {
  margin-left: calc((100% + var(--hero-gap-x)) / 9);
  padding-right: 0.04em;
  background: linear-gradient(100deg, #f8f4ea 0%, #e9d5ae 38%, #d9b478 72%, #c79f5e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (max-width: 1199px) {
  .hero .hero-line--accent { margin-left: 0; }
}

[data-theme="light"] .hero .hero-line--accent {
  background: linear-gradient(100deg, #5d3a10 0%, #7a4c15 45%, #8f5c1d 78%, #a06a25 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-second {
  max-width: 48ch;
  margin-left: 0;
  margin-top: var(--hero-gap-y);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: var(--hero-gap-y);
}

.hero-sub {
  max-width: none;
}

.hero .btn-row {
  margin-top: var(--hero-gap-y);
}

.hero-meta {
  grid-column: 10 / 13;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 16px;
  padding-right: clamp(18px, 2.4vw, 42px);
  padding-bottom: clamp(8px, 1.2vw, 18px);
}

.hero-meta-index {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(247, 248, 255, 0.72);
  writing-mode: vertical-rl;
}

.hero-meta-rule {
  flex: 1;
  width: 1px;
  min-height: 40px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.34));
}

.hero-meta-label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(247, 248, 255, 0.6);
  writing-mode: vertical-rl;
}

[data-theme="light"] .hero-meta-index,
[data-theme="light"] .hero-meta-label {
  color: rgba(11, 12, 18, 0.62);
}

[data-theme="light"] .hero-meta-rule {
  background: linear-gradient(to bottom, rgba(11, 12, 18, 0.04), rgba(11, 12, 18, 0.36));
}

.hero-strip .hero-strip-inner {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 18px;
}

.hero-strip-inner > span {
  display: flex;
  align-items: baseline;
  gap: 7px;
  min-width: 0;
}

.hero-strip-inner i {
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.14em;
  color: rgba(247, 248, 255, 0.68);
}

.hero-strip-inner .cue {
  justify-self: end;
}

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-top { animation: hero-rise 0.8s var(--ease) 0.05s both; }
.hero-line { animation: hero-rise 0.9s var(--ease) both; }
.hero-line:nth-child(1) { animation-delay: 0.12s; }
.hero-line:nth-child(2) { animation-delay: 0.2s; }
.hero-second { animation: hero-rise 0.9s var(--ease) 0.34s both; }
.hero-meta { animation: hero-rise 0.9s var(--ease) 0.42s both; }
.hero-strip-inner { animation: hero-rise 0.9s var(--ease) 0.52s both; }

@media (max-width: 1180px) {
  .hero-strip .hero-strip-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 12px;
  }

  .hero-strip-inner .cue { justify-self: start; }
}

@media (max-width: 1023px) {
  .hero-copy { grid-column: 1 / -1; }

  .hero-meta {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    order: -1;
    gap: 14px;
    padding: 0 0 16px;
  }

  .hero-meta-index,
  .hero-meta-label { writing-mode: horizontal-tb; }

  .hero-meta-rule {
    flex: 0 0 auto;
    width: 30px;
    height: 1px;
    min-height: 0;
    background: rgba(255, 255, 255, 0.3);
  }

  .hero .hero-line--accent { margin-left: 0; }

  .hero-second {
    margin-left: 0;
    max-width: min(52ch, 82%);
  }

  .hero-strip .hero-strip-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 12px;
  }
}

@media (max-width: 720px) {
  .hero h1 { font-size: clamp(2.05rem, 8.4vw, 3.1rem); }
  .hero-second { max-width: none; }
  .hero-top-meta { display: none; }

  .hero-strip .wrap,
  .hero-strip .hero-strip-inner {
    overflow: visible;
  }

  .hero-strip .hero-strip-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
    padding-block: 18px;
  }

  .hero-strip .hero-strip-inner > span {
    display: flex;
    align-items: flex-start;
    white-space: normal;
    overflow-wrap: break-word;
  }

  .hero-strip-inner > span i { flex: 0 0 auto; }

  .hero-strip-inner .cue {
    justify-self: start;
    align-items: center;
  }

  /* Sector list: static two-column block — no scrolling, no clipped words */
  .marquee {
    overflow: visible;
    padding-block: 18px;
  }

  .marquee-track {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: auto;
    animation: none;
    gap: 12px 18px;
    padding-inline: var(--gutter);
  }

  .marquee-track span {
    gap: 8px;
    font-size: 11px;
    letter-spacing: 0.1em;
    white-space: normal;
    overflow-wrap: break-word;
  }

  .marquee-track span:nth-child(n + 9) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-top,
  .hero-line,
  .hero-second,
  .hero-meta,
  .hero-strip-inner { animation: none; opacity: 1; transform: none; }
}

/* Compact header nav before labels are forced to wrap */
@media (max-width: 1100px) {
  .nav-desktop {
    gap: 12px;
    margin-right: 12px;
  }

  .nav-desktop a { font-size: 13px; }
}
