/* ==========================================================================
   Benjamin Originals — site styles
   ========================================================================== */

:root {
  --bg: #05050b;
  --bg-2: #090914;
  --bg-3: #0e0e1c;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f4f4fa;
  --muted: #a7a7be;
  --dim: #6d6d88;

  --blue: #1f3bff;
  --indigo: #4a1dff;
  --cyan: #00e5ff;
  --magenta: #cc00ff;
  --sky: #3ab0f5;
  --gold: #d6ad5c;

  --grad: linear-gradient(90deg, #1f3bff 0%, #00e5ff 48%, #cc00ff 100%);
  --grad-benos: linear-gradient(90deg, #cc00ff 0%, #7a1dff 50%, #1f4bff 100%);
  --grad-script: linear-gradient(90deg, #3ab0f5 0%, #00e5ff 45%, #b86bff 100%);

  --font: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Playfair Display", Georgia, serif;

  --radius: 24px;
  --radius-sm: 14px;
  --maxw: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 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(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
::selection { background: rgba(0, 229, 255, 0.3); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

/* Film grain over everything for a softer, premium finish */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.i--fill { fill: currentColor; stroke: none; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: min(var(--maxw), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.section { position: relative; padding-block: clamp(88px, 12vw, 160px); }
.section--tight { padding-block: clamp(64px, 8vw, 110px); }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--grad);
}
.h1 {
  font-size: clamp(2.8rem, 7.4vw, 6.4rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
}
.h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.025em;
}
.h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; }
.h1 em, .h2 em, .h3 em, .em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  background: var(--grad-script);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}
.lead { font-size: clamp(1.08rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--muted); font-weight: 400; }
.muted { color: var(--muted); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-head { display: grid; gap: 20px; max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head--split {
  max-width: none;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px 48px;
}
.section-head--split > div { display: grid; gap: 20px; max-width: 680px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.3s, border-color 0.3s, color 0.3s;
}
.btn .i { font-size: 18px; transition: transform 0.4s var(--ease); }
.btn:hover .i--arrow { transform: translate(2px, -2px); }
.btn--primary { background: #fff; color: #07070d; }
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -12px rgba(0, 229, 255, 0.55), 0 10px 40px -16px rgba(204, 0, 255, 0.7);
}
.btn--ghost {
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.03);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.07); transform: translateY(-2px); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--text);
  transition: gap 0.3s var(--ease), color 0.3s;
}
.link-arrow .i { font-size: 17px; transition: transform 0.35s var(--ease); }
.link-arrow:hover { color: var(--cyan); }
.link-arrow:hover .i { transform: translate(2px, -2px); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 8px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(8, 8, 18, 0.55);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: 14px;
  color: var(--muted);
  transition: border-color 0.3s, background 0.3s;
}
.pill:hover { border-color: rgba(255, 255, 255, 0.32); background: rgba(255, 255, 255, 0.07); color: var(--text); }
.pill__tag {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--grad-benos);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pill .i { font-size: 15px; }

.tag {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
  white-space: nowrap;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(5, 5, 11, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-color: var(--line);
}
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; z-index: 2; }
.brand img { width: 34px; height: 34px; }
.brand__text { display: flex; align-items: baseline; gap: 8px; line-height: 1; }
.brand__caps { font-size: 14px; font-weight: 500; letter-spacing: 0.3em; }
.brand__script { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--sky); }
.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a:not(.btn) {
  position: relative;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 15px;
  color: var(--muted);
  transition: color 0.3s, background 0.3s;
}
.nav__links a:not(.btn):hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav__links a[aria-current="page"] { color: var(--text); }
.nav__links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  transform: translateX(-50%);
}
.nav__links .btn { margin-left: 10px; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); place-items: center; z-index: 2; }
.nav__toggle span { position: relative; display: block; width: 16px; height: 1.5px; background: currentColor; transition: transform 0.4s var(--ease), background 0.3s; }
.nav__toggle span::before, .nav__toggle span::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 100%; background: currentColor; transition: transform 0.4s var(--ease);
}
.nav__toggle span::before { transform: translateY(-5px); }
.nav__toggle span::after { transform: translateY(5px); }
.nav.is-open .nav__toggle span { background: transparent; }
.nav.is-open .nav__toggle span::before { transform: rotate(45deg); }
.nav.is-open .nav__toggle span::after { transform: rotate(-45deg); }

@media (max-width: 820px) {
  .nav__toggle { display: grid; }
  .nav__links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    background: rgba(5, 5, 11, 0.96);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s;
  }
  .nav__links a:not(.btn) { font-size: 30px; color: var(--text); padding: 10px 24px; }
  .nav__links a[aria-current="page"]::after { display: none; }
  .nav__links .btn { margin: 20px 0 0; }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; }
  .nav.is-open { background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: calc(var(--nav-h) + 32px) 0 96px;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: center center;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 42%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 55% at 50% 42%, #000 0%, transparent 75%);
}
.aurora { position: absolute; inset: 0; z-index: -3; pointer-events: none; }
.aurora span {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.42;
  will-change: transform;
}
.aurora span:nth-child(1) { width: 52vw; height: 52vw; left: -16vw; top: 18%; background: #1f2bff; animation: drift-a 22s ease-in-out infinite alternate; }
.aurora span:nth-child(2) { width: 46vw; height: 46vw; right: -14vw; top: 30%; background: #b000ff; animation: drift-b 26s ease-in-out infinite alternate; }
.aurora span:nth-child(3) { width: 36vw; height: 24vw; left: 32vw; bottom: -14vw; background: #00d5ff; opacity: 0.32; animation: drift-a 30s ease-in-out infinite alternate-reverse; }
@keyframes drift-a { to { transform: translate(8vw, -6vh) scale(1.1); } }
@keyframes drift-b { to { transform: translate(-7vw, 5vh) scale(0.92); } }

.hero__inner { position: relative; display: grid; justify-items: center; }

.hero__mark {
  position: relative;
  width: clamp(96px, min(14vw, 19vh), 180px);
  aspect-ratio: 1;
  margin: clamp(44px, 7vh, 92px) 0 clamp(24px, 4vh, 48px);
}
.hero__mark-inner { position: absolute; inset: 0; transition: transform 0.8s var(--ease); }
.hero__mark img { position: relative; z-index: 2; width: 100%; height: 100%; filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.45)); animation: float 7s ease-in-out infinite; }
.portal {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 215%;
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(closest-side,
    #0618ff 0%, #0a2cff 36%, #00e5ff 47%, #00e5ff 51%, #8f45ff 61%, #cc00ff 69%, rgba(140, 0, 255, 0.4) 84%, transparent 100%);
  filter: blur(7px);
  opacity: 0.9;
  animation: breathe 8s ease-in-out infinite;
}
.portal--halo {
  width: 420%;
  background: radial-gradient(closest-side, rgba(70, 40, 255, 0.3), rgba(204, 0, 255, 0.1) 55%, transparent 100%);
  filter: blur(30px);
  animation-duration: 11s;
  animation-direction: reverse;
}
@keyframes breathe { 0%, 100% { scale: 1; } 50% { scale: 1.07; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.orbits {
  position: absolute; left: 50%; top: 50%; width: 330%; aspect-ratio: 1; translate: -50% -50%; z-index: 1; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 40%, transparent 58%);
  mask-image: linear-gradient(180deg, #000 0%, #000 40%, transparent 58%);
}
.orbits svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbits g { transform-box: view-box; transform-origin: 50% 50%; }
.orbits .o1 { animation: spin 40s linear infinite; }
.orbits .o2 { animation: spin 60s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

.lockup { display: grid; justify-items: center; gap: 6px; }
.lockup__caps {
  display: flex;
  font-size: clamp(2rem, min(8.6vw, 11.5vh), 6.6rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0.3em;
  margin-right: -0.3em;
  padding: 0.06em 0 0.24em;
  margin-bottom: -0.24em;
  background: linear-gradient(180deg, #ffffff 30%, #b9b9cc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lockup__caps span { display: inline-block; animation: letter-in 1.3s var(--ease) both; animation-delay: calc(0.45s + var(--i) * 0.07s); }
.lockup__script {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.6rem, min(4.6vw, 6vh), 3.5rem);
  line-height: 1.15;
  padding: 0 0.1em 0.08em;
  background: var(--grad-script);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@keyframes letter-in { from { opacity: 0; transform: translateY(0.4em); filter: blur(12px); } }

.hero__tagline { margin-top: clamp(18px, 3vh, 30px); font-size: clamp(1.1rem, 1.8vw, 1.35rem); color: var(--muted); }
.hero__tagline strong { color: var(--text); font-weight: 500; }
.hero .btn-row { justify-content: center; margin-top: clamp(22px, 4vh, 38px); }
/* Keep hero text above the glow and orbit lines so nothing looks struck through */
.hero__inner > :not(.hero__mark) { position: relative; z-index: 3; }

[data-intro] { animation: intro 1.3s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes intro { from { opacity: 0; transform: translateY(18px); filter: blur(10px); } }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 30px;
  translate: -50% 0;
  display: grid;
  justify-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--dim);
}
.scroll-cue::after {
  content: "";
  width: 1px;
  height: 44px;
  background: linear-gradient(var(--cyan), transparent);
  animation: cue 2.4s var(--ease) infinite;
  transform-origin: top;
}
@keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 30px 0;
  border-block: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 48px; padding-right: 48px; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #8b8ba6;
  white-space: nowrap;
  transition: color 0.3s;
}
.marquee__item .i, .marquee__item img { width: 0.95em; height: 0.95em; flex: none; transition: transform 0.4s var(--ease); }
.marquee__item:hover { color: var(--text); }
.marquee__item:hover .i, .marquee__item:hover img { transform: scale(1.12); }
.marquee__item .i--arrow { width: 0.6em; height: 0.6em; opacity: 0; transform: translate(-4px, 4px); transition: opacity 0.3s, transform 0.4s var(--ease); }
.marquee__item:hover .i--arrow { opacity: 1; transform: none; }
.marquee__star { width: 14px; height: 14px; flex: none; background: var(--grad); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0l2.6 9.4L24 12l-9.4 2.6L12 24l-2.6-9.4L0 12l9.4-2.6z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0l2.6 9.4L24 12l-9.4 2.6L12 24l-2.6-9.4L0 12l9.4-2.6z'/%3E%3C/svg%3E") center / contain no-repeat; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Spotlight card hover ---------- */
.spot { position: relative; isolation: isolate; }
.spot::before, .spot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
}
.spot::before {
  z-index: -1;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 229, 255, 0.08), rgba(204, 0, 255, 0.05) 35%, transparent 60%);
}
.spot::after {
  padding: 1px;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 229, 255, 0.75), rgba(204, 0, 255, 0.5) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.spot:hover::before, .spot:hover::after { opacity: 1; }

.card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
}

/* ---------- BenOS spotlight ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(48px, 6vw, 88px); align-items: center; }
.feature__copy { display: grid; gap: 26px; }
.feature__logo { width: min(340px, 80%); }

.ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  font-size: 22px;
  color: #fff;
  background: var(--ico-bg, var(--grad-benos));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 8px 24px -10px var(--ico-glow, rgba(204, 0, 255, 0.8));
}
.ico--blue { --ico-bg: linear-gradient(135deg, #3ab0f5, #1f3bff); --ico-glow: rgba(31, 59, 255, 0.9); }
.ico--cyan { --ico-bg: linear-gradient(135deg, #00e5ff, #1f6bff); --ico-glow: rgba(0, 229, 255, 0.7); }
.ico--magenta { --ico-bg: linear-gradient(135deg, #e04dff, #8a00ff); --ico-glow: rgba(204, 0, 255, 0.8); }
.ico--indigo { --ico-bg: linear-gradient(135deg, #6a5cff, #3b1dff); --ico-glow: rgba(74, 29, 255, 0.9); }
.ico--gold { --ico-bg: linear-gradient(135deg, #f0cf86, #b8862e); --ico-glow: rgba(214, 173, 92, 0.7); }
.ico--gray { --ico-bg: linear-gradient(135deg, #8d8d99, #50505c); --ico-glow: rgba(140, 140, 160, 0.5); }

/* Device mock of BenOS HTML */
.device-wrap { perspective: 1600px; }
.device {
  position: relative;
  border-radius: 18px;
  background: #0b0b16;
  border: 1px solid var(--line-2);
  overflow: hidden;
  box-shadow:
    0 50px 120px -40px rgba(31, 59, 255, 0.65),
    0 40px 100px -50px rgba(204, 0, 255, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  transform: rotateY(var(--ry, -6deg)) rotateX(var(--rx, 4deg));
  transition: transform 0.8s var(--ease);
  transform-style: preserve-3d;
}
.device__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--line);
}
.device__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.device__url {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: min(62%, 320px);
  height: 24px;
  margin: 0 auto;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
}
.device__url .i { font-size: 11px; flex: none; }
.device__shot { display: block; width: 100%; height: auto; }
.showcase { margin: 0; display: grid; gap: 18px; }
.disclaimer {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 7px;
  max-width: 520px;
  margin: 0 auto;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--dim);
  text-align: center;
}
.disclaimer .i { font-size: 13px; margin-top: 2px; }

/* Real BenOS app icons, laid out like the BenOS dock */
.apps { display: grid; gap: 14px; margin-top: 4px; }
.apps__label { font-size: 12.5px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--dim); }
.apps__dock {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  padding: 14px 10px 12px;
  border-radius: 22px;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.apps__dock li { display: grid; justify-items: center; gap: 8px; min-width: 0; }
.apps__dock img {
  width: 100%;
  max-width: 64px;
  height: auto;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.35));
  transition: transform 0.45s var(--ease);
  transform-origin: bottom center;
}
.apps__dock li:hover img { transform: translateY(-6px) scale(1.12); }
.apps__dock span { white-space: nowrap; font-size: 11.5px; letter-spacing: -0.01em; color: var(--muted); }

.project__shot {
  position: relative;
  width: 86%;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  box-shadow: 0 30px 70px -25px rgba(31, 59, 255, 0.6), 0 20px 60px -30px rgba(204, 0, 255, 0.6);
  transition: transform 0.7s var(--ease);
}
.project:hover .project__shot { transform: scale(1.02); }
.project--featured .project__body .disclaimer { justify-content: flex-start; text-align: left; margin: 0; font-size: 12.5px; color: var(--dim); }
.project--featured .project__art .project__shot { width: 86%; max-width: 86%; }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pillar { display: flex; flex-direction: column; gap: 18px; padding: clamp(28px, 3vw, 40px); min-height: 100%; }
.pillar__num { font-size: 13px; letter-spacing: 0.2em; color: var(--dim); }
.pillar__top { display: flex; justify-content: space-between; align-items: flex-start; }
.pillar p { color: var(--muted); }
.pillar__links { display: grid; gap: 10px; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); }
.pillar__links a { display: flex; justify-content: space-between; align-items: center; font-size: 15px; color: var(--muted); transition: color 0.3s; }
.pillar__links a:hover { color: var(--text); }
.pillar__links .i { font-size: 15px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.stat { padding: clamp(32px, 4vw, 52px) clamp(16px, 2vw, 28px); text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat__num { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 500; line-height: 1; letter-spacing: -0.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { margin-top: 12px; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* ---------- Videos ---------- */
.videos { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.player { overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: #000; }
.yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.yt__facade { position: absolute; inset: 0; display: block; color: #fff; }
.yt__facade img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.yt__facade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.75)); }
.yt__facade:hover img { transform: scale(1.03); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt__play {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 28px;
  transition: transform 0.5s var(--ease), background 0.3s;
}
.yt__play .i { translate: 2px 0; }
.yt__facade:hover .yt__play { transform: scale(1.08); background: rgba(255, 255, 255, 0.24); }
.yt__caption { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: clamp(18px, 3vw, 30px); text-align: left; }
.yt__caption small { display: block; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.yt__caption b { display: block; margin-top: 6px; font-size: clamp(1.1rem, 2.2vw, 1.6rem); font-weight: 500; line-height: 1.2; }
.yt.is-playing .yt__facade { display: none; }

.vlist { display: grid; gap: 12px; }
.vitem {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 16px;
  align-items: center;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  text-align: left;
  transition: background 0.3s, border-color 0.3s;
}
.vitem:hover { background: var(--surface-2); border-color: var(--line-2); }
.vitem.is-current { border-color: rgba(0, 229, 255, 0.45); background: rgba(0, 229, 255, 0.05); }
.vitem__thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; }
.vitem__thumb img { width: 100%; height: 100%; object-fit: cover; }
.vitem__thumb em { position: absolute; right: 6px; bottom: 6px; padding: 1px 6px; border-radius: 5px; background: rgba(0, 0, 0, 0.75); font-style: normal; font-size: 11.5px; font-weight: 500; }
.vitem b { display: block; font-size: 15px; font-weight: 500; line-height: 1.35; }
.vitem span { display: block; margin-top: 4px; font-size: 13px; color: var(--dim); }

/* ---------- Big CTA band (radial brand wallpaper look) ---------- */
.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: clamp(24px, 3vw, 36px);
  padding: clamp(72px, 11vw, 140px) clamp(20px, 5vw, 64px);
  text-align: center;
  color: #fff;
}
.cta-band::before {
  content: "";
  --r: clamp(200px, 26vw, 320px);
  position: absolute;
  inset: -10%;
  z-index: -1;
  background: radial-gradient(circle at 50% 50%,
    #0716ff 0, #0b2cff calc(var(--r) * 0.85), #00e5ff calc(var(--r) * 1.1),
    #8f45ff calc(var(--r) * 1.4), #cc00ff calc(var(--r) * 1.7), #6a00ff calc(var(--r) * 2.4));
  animation: breathe 12s ease-in-out infinite;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../img/icon-silhouette-white.png") center / auto min(420px, 80%) no-repeat;
  opacity: 0.07;
}
.cta-band .h2 em { background: linear-gradient(90deg, #fff, #bff6ff); -webkit-background-clip: text; background-clip: text; }
.cta-band p { max-width: 560px; margin: 22px auto 0; font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: rgba(255, 255, 255, 0.86); }
.cta-band .btn-row { justify-content: center; margin-top: 38px; }
.cta-band .btn--ghost { border-color: rgba(255, 255, 255, 0.45); background: rgba(255, 255, 255, 0.1); color: #fff; }
.cta-band .btn--ghost:hover { background: rgba(255, 255, 255, 0.18); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--nav-h) + clamp(72px, 10vw, 140px)) 0 clamp(64px, 8vw, 110px);
}
.page-hero .aurora span { opacity: 0.38; }
.page-hero .aurora span:nth-child(1) { top: -20%; }
.page-hero .aurora span:nth-child(2) { top: -10%; }
.page-hero__inner { display: grid; gap: 28px; max-width: 920px; }
.page-hero .lead { max-width: 680px; }

/* ---------- About ---------- */
.banner {
  position: relative;
  overflow: hidden;
  border-radius: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  aspect-ratio: 16 / 6;
  margin: 0 0 16px;
}
.banner img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 2s var(--ease); }
.banner.in img { transform: scale(1); }
.banner__caption {
  position: absolute;
  left: clamp(18px, 3vw, 36px);
  bottom: clamp(18px, 3vw, 32px);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(5, 5, 11, 0.5);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
}

.banner__actions { position: absolute; right: clamp(18px, 3vw, 32px); bottom: clamp(18px, 3vw, 32px); display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.banner__dl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(5, 5, 11, 0.5);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  transition: background 0.3s, color 0.3s;
}
.banner__dl:hover { background: #fff; color: #07070d; }

.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.story__quote { position: sticky; top: calc(var(--nav-h) + 40px); font-size: clamp(1.8rem, 3.4vw, 2.8rem); font-weight: 400; line-height: 1.18; letter-spacing: -0.02em; }
.story__quote em { font-family: var(--serif); font-style: italic; background: var(--grad-script); -webkit-background-clip: text; background-clip: text; color: transparent; }
.story__body { display: grid; gap: 22px; font-size: 18px; color: var(--muted); }
.story__body p:first-child::first-letter { font-family: var(--serif); font-style: italic; float: left; font-size: 4.2em; line-height: 0.9; padding: 0.04em 0.12em 0 0; color: var(--text); }
.story__body strong { color: var(--text); font-weight: 500; }

.timeline { position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 34px; height: 1px; background: linear-gradient(90deg, var(--blue), var(--cyan), var(--magenta), transparent); }
.timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tl { position: relative; padding-top: 70px; }
.tl::before { content: ""; position: absolute; left: 0; top: 27px; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); border: 2px solid var(--cyan); box-shadow: 0 0 0 6px rgba(0, 229, 255, 0.1), 0 0 18px rgba(0, 229, 255, 0.6); }
.tl:nth-child(3)::before { border-color: var(--magenta); box-shadow: 0 0 0 6px rgba(204, 0, 255, 0.1), 0 0 18px rgba(204, 0, 255, 0.6); }
.tl__year { font-size: clamp(2.6rem, 4.4vw, 3.6rem); font-weight: 500; line-height: 1; letter-spacing: -0.03em; }
.tl__year em { font-family: var(--serif); font-style: italic; font-weight: 400; }
.tl h3 { margin-top: 14px; }
.tl p { margin-top: 10px; color: var(--muted); max-width: 34ch; }


.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.value { padding: 30px 28px 32px; display: grid; gap: 16px; align-content: start; }
.value p { color: var(--muted); font-size: 16px; }

.family { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.fam { display: grid; gap: 14px; padding: 32px; align-content: start; }
.fam__logo { height: 64px; display: flex; align-items: center; }
.fam__logo img { max-height: 100%; width: auto; }
.fam p { color: var(--muted); font-size: 16px; }
.fam .link-arrow { margin-top: 6px; }


.spelling { padding-top: 8px; }
.spelling__box { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); gap: 20px 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.spelling__title { font-size: 15px; font-weight: 500; letter-spacing: 0.02em; }
.spelling__note { margin-top: 6px; font-size: 13.5px; color: var(--dim); }
.spelling__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px 24px; margin: 0; }
.spelling__list dt { font-size: 15px; font-weight: 500; }
.spelling__list dd { margin: 2px 0 0; font-size: 13px; color: var(--dim); }

.kit { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.kit__item { overflow: hidden; display: flex; flex-direction: column; }
.kit__preview { display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 28px; border-bottom: 1px solid var(--line); }
.kit__preview img { max-height: 100%; width: auto; object-fit: contain; }
.kit__preview--light { background: #f5f5f8; }
.kit__preview--black { background: #000; }
.kit__preview--white { background: #fff; }
.kit__preview--photo { padding: 0; }
.kit__preview--photo img { width: 100%; height: 100%; object-fit: cover; }
.kit__meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; }
.kit__meta b { display: block; font-size: 15px; font-weight: 500; line-height: 1.3; }
.kit__meta span { display: block; font-size: 13px; color: var(--dim); }
.kit__dl { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); font-size: 17px; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.kit__dl:hover { background: #fff; color: #07070d; border-color: #fff; }

/* ---------- Projects ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.03);
  font-size: 15px;
  color: var(--muted);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.chip:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.3); }
.chip[aria-pressed="true"] { background: #fff; border-color: #fff; color: #07070d; }
.chip sup { font-size: 11px; opacity: 0.6; top: 0; }

.projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.project { display: flex; flex-direction: column; overflow: hidden; transition: transform 0.5s var(--ease), opacity 0.4s, border-color 0.3s; }
.project:hover { transform: translateY(-4px); border-color: var(--line-2); }
.project.is-hidden { display: none; }
.project__art {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--art, var(--bg-3));
  border-bottom: 1px solid var(--line);
}
.project__art::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 70%);
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 70%);
}
.project__art > * { position: relative; }
.project__art .glyph { font-size: 64px; color: #fff; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.35)); transition: transform 0.7s var(--ease); }
.project__art img { max-width: 62%; max-height: 52%; width: auto; transition: transform 0.7s var(--ease); }
.project__art img.icon-art { max-height: 62%; }
.project:hover .project__art .glyph, .project:hover .project__art img { transform: scale(1.06); }
.project__badge {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(5, 5, 11, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}
.project__body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 26px 26px 24px; }
.project__body p { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.project__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.project__url { font-size: 13.5px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.project__go { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); font-size: 17px; transition: background 0.3s, color 0.3s, transform 0.4s var(--ease); }
.project:hover .project__go { background: #fff; color: #07070d; border-color: #fff; transform: rotate(0deg) scale(1.05); }
.project__extra { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 14px; }
.project__extra a { color: var(--muted); border-bottom: 1px solid var(--line-2); transition: color 0.3s, border-color 0.3s; }
.project__extra a:hover { color: var(--text); border-color: var(--cyan); }
.project__stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.project__extra, .project__extra a { position: relative; z-index: 2; }

.project--featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.project--featured .project__art { aspect-ratio: auto; min-height: 380px; border-bottom: 0; border-right: 1px solid var(--line); }
.project--featured .project__art img { max-width: 74%; max-height: none; }
.project--featured .project__body { padding: clamp(28px, 4vw, 52px); gap: 18px; justify-content: center; }
.project--featured .project__body p { font-size: 17px; }
.project--featured .tags { display: flex; flex-wrap: wrap; gap: 8px; }

.project__art--cover img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; }
.art-benos { --art: radial-gradient(circle at 50% 120%, rgba(204, 0, 255, 0.55), transparent 60%), radial-gradient(circle at 20% 0%, rgba(31, 59, 255, 0.5), transparent 55%), #0a0718; }
.art-portal { --art: radial-gradient(circle at 50% 50%, #0618ff 0%, #0a2cff 20%, #00e5ff 32%, #9a3cff 44%, #cc00ff 54%, #5a00ff 85%); }
.art-blue { --art: radial-gradient(circle at 30% 20%, rgba(0, 229, 255, 0.6), transparent 55%), linear-gradient(135deg, #1f3bff, #0b1180); }
.art-gold { --art: radial-gradient(circle at 70% 20%, rgba(240, 207, 134, 0.55), transparent 55%), linear-gradient(135deg, #1a1440, #0b0b22); }
.art-cyan { --art: radial-gradient(circle at 70% 80%, rgba(204, 0, 255, 0.55), transparent 55%), linear-gradient(135deg, #00b8e6, #1f3bff); }
.art-violet { --art: radial-gradient(circle at 20% 80%, rgba(0, 229, 255, 0.4), transparent 50%), linear-gradient(135deg, #6a1dff, #2a0a7a); }
.art-magenta { --art: radial-gradient(circle at 80% 20%, rgba(255, 140, 255, 0.45), transparent 55%), linear-gradient(135deg, #cc00ff, #5a00d6); }
.art-ink { --art: radial-gradient(circle at 50% 0%, rgba(58, 176, 245, 0.45), transparent 60%), linear-gradient(180deg, #12122a, #08080f); }
.art-dashed { --art: transparent; }
.project--idea { border-style: dashed; border-color: var(--line-2); background: transparent; }
.project--idea .project__art { border-bottom-style: dashed; }
.empty-note { display: none; padding: 40px; text-align: center; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { position: relative; margin-top: clamp(40px, 6vw, 80px); padding-top: clamp(64px, 8vw, 100px); overflow: hidden; }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--grad); opacity: 0.7; }
.footer__grid { display: grid; grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); gap: 40px 32px; }
.footer__brand { display: grid; gap: 20px; align-content: start; }
.footer__brand p { color: var(--muted); font-size: 15.5px; max-width: 30ch; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); font-size: 18px; color: var(--muted); transition: color 0.3s, border-color 0.3s, background 0.3s; }
.socials a:hover { color: #fff; border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.06); }
.footer__col h4 { font-size: 12.5px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--dim); margin-bottom: 18px; }
.footer__col ul { display: grid; gap: 11px; }
.footer__col a { font-size: 15.5px; color: var(--muted); transition: color 0.3s; }
.footer__col a:hover { color: var(--text); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: clamp(48px, 6vw, 72px); padding: 24px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--dim); }
.footer__giant {
  margin-top: 10px;
  margin-bottom: -0.24em;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(5rem, 21vw, 19rem);
  line-height: 1;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0) 78%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
  pointer-events: none;
}

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .spelling__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .feature { grid-template-columns: minmax(0, 1fr); }
  .device { --ry: 0deg; --rx: 0deg; }
  .videos { grid-template-columns: minmax(0, 1fr); }
  .pillars, .family { grid-template-columns: minmax(0, 1fr); }
  .story { grid-template-columns: minmax(0, 1fr); }
  .story__quote { position: static; }
  .project--featured { grid-template-columns: minmax(0, 1fr); }
  .project--featured .project__art { min-height: 0; aspect-ratio: 16 / 9; border-right: 0; border-bottom: 1px solid var(--line); }
  .section-head--split { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .spelling__box { grid-template-columns: minmax(0, 1fr); }
  .spelling__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .banner__caption { display: none; }
  .banner__actions { left: 16px; right: 16px; justify-content: flex-start; }
  body { font-size: 16px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .stat:last-child { grid-column: 1 / -1; }
  .timeline { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .timeline::before { left: 7px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: linear-gradient(180deg, var(--blue), var(--cyan), var(--magenta), transparent); }
  .tl { padding: 0 0 36px 44px; }
  .tl::before { top: 10px; }
    .projects { grid-template-columns: minmax(0, 1fr); }
    .vitem { grid-template-columns: 120px 1fr; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .banner { aspect-ratio: 4 / 3; }
  .btn-row .btn { flex: 1 1 auto; }
  .yt__play { width: 64px; height: 64px; font-size: 22px; }
  .scroll-cue { display: none; }
  .apps__dock { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 16px; }
}
@media (max-width: 480px) {
  .values { grid-template-columns: minmax(0, 1fr); }
    }

@media (max-height: 760px) {
  .scroll-cue { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
