@font-face {
  font-family: "Abuget";
  src: url("fonts/Abuget.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Garet Book";
  src: url("fonts/Garet-Book.woff2") format("woff2");
  font-display: swap;
}

:root {
  /* Palette based on the byAlexity YouTube banner */
  --bg: #070c08;
  --bg-deep: #0d0e0c;
  --bg-soft: #171316;
  --bg-glow: #31212f;
  --bg-accent: #41323a;
  --text: #f5f5f5;
  --text-soft: #dad9da;
  --muted: #c2bdc2;
  --muted-2: #858085;
  --line: rgba(218, 217, 218, 0.16);
  --line-strong: rgba(218, 217, 218, 0.28);
  --panel: rgba(23, 19, 22, 0.74);
  --panel-strong: rgba(49, 33, 47, 0.48);
  --panel-soft: rgba(13, 14, 12, 0.54);
  --shadow: rgba(218, 217, 218, 0.22);
  --purple-shadow: rgba(65, 50, 58, 0.38);
  --max: 1120px;
  --radius-lg: 30px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: "Garet Book", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(ellipse 76rem 28rem at 78% -10%, rgba(65, 50, 58, 0.72), transparent 58%),
    radial-gradient(ellipse 46rem 22rem at 18% 8%, rgba(49, 33, 47, 0.48), transparent 60%),
    radial-gradient(ellipse 52rem 34rem at 52% 45%, rgba(218, 217, 218, 0.065), transparent 62%),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg-deep) 42%, var(--bg) 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 12, 8, 0.72), transparent 32%, transparent 68%, rgba(7, 12, 8, 0.72)),
    radial-gradient(circle at center, transparent 0 40%, rgba(0,0,0,0.5) 100%);
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.11;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.5'/%3E%3C/svg%3E");
}


main { overflow: hidden; }

a { color: inherit; text-decoration: none; }
a:hover { color: #fff; }
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--text-soft);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 0.95rem 0;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 -1rem;
  z-index: -1;
  border-bottom: 1px solid rgba(218,217,218,0.08);
  background: linear-gradient(180deg, rgba(7,12,8,0.86), rgba(7,12,8,0.46));
  backdrop-filter: blur(16px);
  mask-image: linear-gradient(180deg, #000 74%, transparent);
}

.wordmark {
  font-family: "Abuget", cursive;
  font-size: clamp(2.35rem, 7vw, 4.4rem);
  line-height: 0.75;
  letter-spacing: 0.02em;
  text-shadow: 0 0 12px var(--shadow), 0 0 28px var(--purple-shadow);
}

.nav {
  display: flex;
  gap: clamp(0.8rem, 2vw, 1.6rem);
  color: var(--muted);
  font-size: 0.92rem;
}

.nav a,
.site-footer a,
.social-row a {
  transition: color 0.2s ease, opacity 0.2s ease, border-color 0.2s ease;
}
.nav a:hover,
.site-footer a:hover,
.social-row a:hover { color: var(--text); }

.language-switch {
  justify-self: end;
  display: inline-flex;
  gap: 0.35rem;
  padding: 0.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(13, 14, 12, 0.52);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

button {
  border: 0;
  color: var(--muted);
  background: transparent;
  border-radius: 999px;
  padding: 0.45rem 0.65rem;
  cursor: pointer;
  font: inherit;
}
button[aria-pressed="true"] {
  color: var(--bg);
  background: var(--text-soft);
}

.section-shell {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  min-height: 76vh;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  padding: clamp(5rem, 10vw, 8rem) 0 clamp(3.5rem, 8vw, 5.5rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.73rem;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: clamp(1.4rem, 3vw, 2.4rem);
  font-family: "Abuget", cursive;
  font-size: clamp(5.8rem, 14vw, 11.5rem);
  line-height: 0.74;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-shadow: 0 0 14px var(--shadow), 0 0 44px rgba(65,50,58,0.44);
}
h2 {
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  margin-bottom: 1.2rem;
}
h3 {
  font-size: clamp(1.08rem, 1.8vw, 1.24rem);
  line-height: 1.15;
  margin-bottom: 0.6rem;
}
p {
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.16rem);
  line-height: 1.65;
}

.hero-copy {
  max-width: 760px;
  margin: 0 auto 2rem;
  color: var(--text-soft);
}
.hero-actions,
.social-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.9rem;
}
.social-row {
  margin-top: 2rem;
  gap: 1.2rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.social-row a { border-bottom: 1px solid transparent; }
.social-row a:hover { border-bottom-color: rgba(218,217,218,0.65); }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 3rem;
  padding: 0.86rem 1.18rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary {
  color: var(--bg);
  background: linear-gradient(135deg, var(--text), var(--text-soft));
  box-shadow: 0 0 30px rgba(218,217,218,0.16), 0 0 42px rgba(65,50,58,0.22);
}
.button.ghost {
  color: var(--text);
  background: rgba(23, 19, 22, 0.62);
}
.button.ghost:hover {
  border-color: var(--line-strong);
  background: rgba(49, 33, 47, 0.38);
}
.button.large { min-width: min(100%, 320px); }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: clamp(4rem, 9vw, 7rem);
}
.stats article,
.video-card,
.about-panel,
.contact-panel,
.legal-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, var(--panel-strong), var(--panel) 52%, var(--panel-soft)),
    radial-gradient(circle at 80% 0%, rgba(218,217,218,0.08), transparent 16rem);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 22px 70px rgba(0,0,0,0.22);
}
.stats article {
  padding: clamp(1rem, 2vw, 1.35rem);
}
.stats strong {
  display: block;
  font-size: clamp(2rem, 5vw, 4.2rem);
  letter-spacing: -0.055em;
}
.stats span { color: var(--muted); }

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
  padding: 2rem 0 clamp(4.5rem, 9vw, 7rem);
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.video-card {
  position: relative;
  min-height: 214px;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.video-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at top right, rgba(218,217,218,0.18), transparent 15rem),
    radial-gradient(circle at bottom left, rgba(65,50,58,0.46), transparent 14rem);
  opacity: 0.76;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.video-card:hover::before { transform: scale(1.12); opacity: 1; }
.video-card:hover { border-color: var(--line-strong); }
.video-card > * { position: relative; }
.video-card.featured { grid-row: span 2; min-height: 442px; }
.video-card p { font-size: 0.95rem; line-height: 1.45; margin-bottom: 0; }
.metric {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  color: var(--bg);
  background: rgba(218,217,218,0.92);
  border-radius: 999px;
  padding: 0.4rem 0.65rem;
  font-size: 0.8rem;
}

.about-panel,
.contact-panel,
.legal-card {
  padding: clamp(1.4rem, 5vw, 3rem);
  margin-bottom: 2rem;
}
.about-panel,
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}
.about-copy p:last-child,
.contact-panel p:last-child { margin-bottom: 0; }
.contact-panel { margin-top: 2rem; margin-bottom: clamp(4rem, 8vw, 6rem); }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 2.5rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.site-footer div { display: flex; gap: 1rem; }

.legal-main { padding: 4rem 0 6rem; }
.legal-card { max-width: 860px; }
.legal-card h1 {
  font-family: inherit;
  font-size: clamp(2.1rem, 6vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
  text-shadow: none;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.legal-card h2 { font-size: clamp(1.4rem, 3vw, 2.2rem); margin-top: 2rem; }
.legal-card p, .legal-card li { color: var(--muted); line-height: 1.65; }
.legal-card a { text-decoration: underline; text-decoration-color: rgba(255,255,255,0.35); }
.notice {
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  background: rgba(218,217,218,0.08);
  color: var(--text) !important;
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }
  .nav { display: none; }
  .stats,
  .split-section,
  .about-panel,
  .contact-panel {
    grid-template-columns: 1fr;
  }
  .stats { margin-bottom: 4rem; }
  .video-grid { grid-template-columns: 1fr; }
  .video-card,
  .video-card.featured { min-height: 250px; }
  .site-footer { flex-direction: column; }
}

@media (max-width: 520px) {
  :root { --radius-lg: 24px; }
  .site-header {
    width: min(var(--max), calc(100% - 56px));
    gap: 0.65rem;
  }
  .section-shell,
  .site-footer { width: min(var(--max), calc(100% - 56px)); }
  .wordmark {
    font-size: clamp(2rem, 10vw, 2.75rem);
    max-width: 58vw;
    white-space: nowrap;
  }
  .language-switch { gap: 0.18rem; padding: 0.2rem; }
  .language-switch button { padding: 0.38rem 0.48rem; font-size: 0.86rem; }
  .hero {
    min-height: auto;
    padding-top: 4.4rem;
    padding-bottom: 3.2rem;
  }
  h1 {
    font-size: clamp(4.35rem, 21vw, 6.4rem);
    margin-bottom: 1.35rem;
    max-width: 100%;
  }
  h2 { letter-spacing: -0.045em; }
  .hero-actions {
    align-items: stretch;
    width: min(100%, 300px);
    margin-inline: auto;
  }
  .hero-actions .button {
    width: 100%;
    max-width: 100%;
  }
  .stats { gap: 0.75rem; }
  .stats article { padding: 1rem; }
  .stats strong { font-size: clamp(2.1rem, 16vw, 3.2rem); }
  .social-row {
    max-width: 310px;
    margin-inline: auto;
    gap: 0.7rem 0.95rem;
    line-height: 1.5;
  }
  .about-panel,
  .contact-panel,
  .legal-card { padding: 1.2rem; }
}

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

/* Premium visual pass: hero stage, thumbnails, wordmark depth and subtle motion */
.hero {
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.82fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  text-align: left;
  place-items: center;
  align-content: center;
}

.hero-content {
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-content::before {
  content: "byAlexity";
  position: absolute;
  left: -0.1em;
  top: -0.34em;
  z-index: -1;
  font-family: "Abuget", cursive;
  font-size: clamp(9rem, 18vw, 15rem);
  line-height: 0.8;
  color: rgba(218,217,218,0.024);
  white-space: nowrap;
  pointer-events: none;
}

.hero h1 {
  background: linear-gradient(110deg, #ffffff 0%, #dad9da 46%, #c0b1bf 72%, #ffffff 100%);
  background-size: 180% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: signatureSheen 8s ease-in-out infinite;
}

.hero-actions,
.social-row {
  justify-content: flex-start;
}

.hero-visual {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 0.92;
  justify-self: end;
  filter: drop-shadow(0 36px 80px rgba(0,0,0,0.38));
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero-visual::before {
  inset: 8% -8% 12% -6%;
  background: radial-gradient(circle, rgba(218,217,218,0.18), rgba(65,50,58,0.18) 35%, transparent 66%);
  filter: blur(6px);
  animation: smokePulse 7s ease-in-out infinite;
}

.hero-visual::after {
  right: -4%;
  top: 5%;
  width: 48%;
  aspect-ratio: 1;
  border: 1px solid rgba(218,217,218,0.18);
  background: rgba(49,33,47,0.16);
  filter: blur(0.2px);
}

.stage-wordmark {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 1.35rem;
  z-index: 4;
  width: max-content;
  max-width: 82%;
  font-family: "Abuget", cursive;
  font-size: clamp(3.4rem, 6.7vw, 5.7rem);
  line-height: 1.12;
  color: rgba(245,245,245,0.88);
  text-align: center;
  text-shadow: 0 0 18px rgba(218,217,218,0.28), 0 0 42px rgba(65,50,58,0.45);
  pointer-events: none;
  transform: translateX(-50%);
}

.stage-card {
  position: absolute;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background: var(--panel-soft);
  box-shadow: 0 28px 90px rgba(0,0,0,0.42), inset 0 1px 0 rgba(255,255,255,0.12);
  transform: translateZ(0);
  transition: transform 0.35s ease, border-color 0.35s ease, filter 0.35s ease;
}

.stage-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,12,8,0.04), rgba(7,12,8,0.58));
}

.stage-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.5s ease;
}

.stage-card:hover {
  border-color: rgba(218,217,218,0.45);
  filter: brightness(1.08);
}

.stage-card:hover img { transform: scale(1.08); }

.stage-card-main {
  inset: 8% 10% 10% 8%;
  z-index: 2;
  animation: floatMain 8s ease-in-out infinite;
}

.stage-card-small {
  width: 42%;
  aspect-ratio: 9 / 16;
  z-index: 3;
  border-radius: 22px;
}

.stage-card-top {
  right: -2%;
  top: 0;
  transform: rotate(5deg);
  animation: floatSmallTop 8.5s ease-in-out infinite;
}

.stage-card-bottom {
  left: -3%;
  bottom: 2%;
  transform: rotate(-6deg);
  animation: floatSmallBottom 9s ease-in-out infinite;
}

.stage-badge {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 2;
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  color: var(--bg);
  background: rgba(245,245,245,0.92);
  font-size: 0.82rem;
}

.reveal-on-load {
  opacity: 0;
  transform: translateY(16px);
  animation: revealUp 0.8s cubic-bezier(.2,.8,.2,1) forwards;
}
.hero-visual.reveal-on-load { animation-delay: 0.12s; }

.video-card {
  background: var(--panel-soft);
  transform: translateZ(0);
}

.video-thumb {
  position: absolute !important;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  filter: saturate(0.92) contrast(1.08) brightness(0.8);
  transform: scale(1.02);
  transition: transform 0.45s ease, opacity 0.45s ease, filter 0.45s ease;
}

.video-card::before {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7,12,8,0.12), rgba(7,12,8,0.88)),
    radial-gradient(circle at top right, rgba(218,217,218,0.16), transparent 16rem),
    radial-gradient(circle at bottom left, rgba(65,50,58,0.5), transparent 14rem);
  opacity: 1;
}

.video-card > :not(.video-thumb) {
  position: relative;
  z-index: 2;
}

.video-card:hover .video-thumb {
  opacity: 0.9;
  filter: saturate(1.02) contrast(1.12) brightness(0.86);
  transform: scale(1.08);
}

.metric { z-index: 3; }

@keyframes revealUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes signatureSheen {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

@keyframes smokePulse {
  0%, 100% { opacity: 0.72; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

@keyframes floatMain {
  0%, 100% { transform: translate3d(0,0,0) rotate(-1deg); }
  50% { transform: translate3d(0,-10px,0) rotate(1deg); }
}

@keyframes floatSmallTop {
  0%, 100% { transform: translate3d(0,0,0) rotate(5deg); }
  50% { transform: translate3d(0,9px,0) rotate(7deg); }
}

@keyframes floatSmallBottom {
  0%, 100% { transform: translate3d(0,0,0) rotate(-6deg); }
  50% { transform: translate3d(0,-8px,0) rotate(-8deg); }
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.6rem;
  }
  .hero-actions,
  .social-row { justify-content: center; }
  .hero-content::before {
    left: 50%;
    transform: translateX(-50%);
    font-size: clamp(7rem, 29vw, 12rem);
  }
  .hero-visual {
    justify-self: center;
    width: min(100%, 410px);
  }
}

@media (max-width: 520px) {
  .hero { padding-top: 4.8rem; }
  .hero-content::before { display: none; }
  .hero-visual {
    width: min(100%, 290px);
    aspect-ratio: 0.98;
    margin-top: 0.4rem;
  }
  .stage-card { border-radius: 22px; }
  .stage-card-main { inset: 9% 8% 13% 8%; }
  .stage-card-small {
    width: 37%;
    border-radius: 18px;
  }
  .stage-card-top { right: 0; top: 1%; }
  .stage-card-bottom { left: 0; bottom: 4%; }
  .stage-wordmark {
    left: 50%;
    right: auto;
    bottom: 1.05rem;
    max-width: 82%;
    font-size: clamp(3rem, 14.5vw, 4.35rem);
    line-height: 1.12;
    transform: translateX(-50%);
  }
  .stage-badge {
    left: 0.75rem;
    top: 0.75rem;
    font-size: 0.76rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero h1,
  .hero-visual::before,
  .stage-card-main,
  .stage-card-top,
  .stage-card-bottom,
  .reveal-on-load {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 520px) {
  .hero-copy { max-width: 300px; }
}

/* Keep video metrics and titles visually separated */
.video-card {
  min-height: 260px;
  padding-top: 4.2rem;
}

.video-card.featured {
  min-height: 500px;
}

.video-card h3 {
  max-width: 92%;
  text-wrap: balance;
}

.video-card p {
  max-width: 92%;
}

.video-card .metric {
  left: auto;
  right: 1rem;
  top: 1rem;
  max-width: calc(100% - 2rem);
  white-space: nowrap;
  box-shadow: 0 10px 26px rgba(0,0,0,0.24);
}

.video-card::before {
  background:
    linear-gradient(180deg, rgba(7,12,8,0.18) 0%, rgba(7,12,8,0.22) 34%, rgba(7,12,8,0.9) 100%),
    radial-gradient(circle at top right, rgba(218,217,218,0.16), transparent 16rem),
    radial-gradient(circle at bottom left, rgba(65,50,58,0.52), transparent 14rem);
}

@media (max-width: 820px) {
  .video-card,
  .video-card.featured {
    min-height: 310px;
  }
}

@media (max-width: 520px) {
  .video-card,
  .video-card.featured {
    min-height: 300px;
    padding-top: 4rem;
  }

  .video-card .metric {
    right: 0.85rem;
    top: 0.85rem;
  }
}

/* Subtle contour light for cards on hover and first scroll reveal */
.stats article,
.about-panel,
.contact-panel,
.stage-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.edge-lit {
  --edge-glow-opacity: 0;
  --edge-glow-shift: -80%;
  --spotlight-x: 50%;
  --spotlight-y: 50%;
  --spotlight-opacity: 0;
  --spotlight-strong: 0;
  --spotlight-soft: 0;
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.edge-lit:not(.stage-card)::after,
.stage-card.edge-lit::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  padding: 1px;
  border-radius: inherit;
  pointer-events: none;
  opacity: var(--edge-glow-opacity);
  background:
    radial-gradient(
      circle 9rem at var(--spotlight-x) var(--spotlight-y),
      rgba(255,255,255,0.94),
      rgba(218,217,218,0.58) 22%,
      rgba(192,177,191,0.28) 42%,
      transparent 68%
    ),
    linear-gradient(
      115deg,
      transparent 0%,
      transparent 27%,
      rgba(218,217,218,0.12) 38%,
      rgba(245,245,245,0.36) 48%,
      rgba(192,177,191,0.18) 58%,
      transparent 72%,
      transparent 100%
    );
  background-size: 100% 100%, 240% 240%;
  background-position: 0 0, var(--edge-glow-shift) 50%;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: opacity 0.32s ease, background-position 0.65s ease;
}

.edge-lit:hover,
.edge-lit.spotlight-active {
  --edge-glow-opacity: 0.95;
  --edge-glow-shift: 135%;
  --spotlight-opacity: 1;
  --spotlight-strong: 0.18;
  --spotlight-soft: 0.07;
  border-color: rgba(218,217,218,0.34);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.1),
    0 24px 78px rgba(0,0,0,0.26),
    0 0 34px rgba(65,50,58,0.18);
}

.edge-lit.edge-lit-visible:not(.stage-card)::after,
.stage-card.edge-lit.edge-lit-visible::before {
  animation: edgeReveal 1.45s cubic-bezier(.2,.8,.2,1) 0.08s both;
}

.video-card.edge-lit::after {
  z-index: 4;
}

.video-card.edge-lit:hover {
  transform: translateY(-3px);
}

.stats article.edge-lit:hover,
.about-panel.edge-lit:hover,
.contact-panel.edge-lit:hover {
  transform: translateY(-2px);
}

@keyframes edgeReveal {
  0% {
    opacity: 0;
    background-position: -80% 50%;
  }
  28% { opacity: 0.72; }
  100% {
    opacity: 0;
    background-position: 135% 50%;
  }
}

@media (hover: none) {
  .edge-lit:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .edge-lit,
  .edge-lit:not(.stage-card)::after,
  .stage-card.edge-lit::before {
    transition: none !important;
    animation: none !important;
  }
}

/* Conservative mobile safety pass: keep every visible block comfortably inside the viewport */
@media (max-width: 520px) {
  .site-header,
  .section-shell,
  .site-footer {
    width: min(var(--max), calc(100vw - 72px));
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .wordmark {
    max-width: 48vw;
    font-size: clamp(1.9rem, 9vw, 2.55rem);
    overflow: visible;
  }

  .language-switch {
    justify-self: end;
    transform: scale(0.92);
    transform-origin: right center;
  }

  .hero-copy,
  .hero-actions,
  .social-row,
  .stats,
  .video-grid,
  .split-section > div,
  .about-copy {
    width: 100%;
    max-width: 100%;
  }

  .hero-copy,
  .hero-actions {
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions .button,
  .button.large {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .hero-visual {
    width: min(100%, 250px);
    max-width: 100%;
  }

  .stage-wordmark {
    max-width: 76%;
    font-size: clamp(2.75rem, 13vw, 3.85rem);
  }

  .stats article,
  .video-card,
  .about-panel,
  .contact-panel,
  .legal-card {
    width: 100%;
    max-width: 100%;
  }

  h2,
  .split-section p,
  .about-panel p,
  .contact-panel p,
  .video-card h3,
  .video-card p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .video-card,
  .video-card.featured {
    min-height: 335px;
  }

  .video-card .metric {
    top: 0.85rem;
    right: 0.85rem;
    left: auto;
  }
}

@media (max-width: 520px) {
  .about-panel.section-shell,
  .contact-panel.section-shell {
    width: min(var(--max), calc(100vw - 72px));
    margin-left: auto;
    margin-right: auto;
  }
}

/* Final card readability guard: metrics stay out of the title flow */
.video-card .metric {
  position: absolute !important;
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: calc(100% - 1.7rem);
  left: auto !important;
  right: 1rem;
  top: 1rem;
  z-index: 6;
}

.video-card h3,
.video-card p {
  text-shadow: 0 2px 18px rgba(0,0,0,0.72);
}

.video-card p {
  color: rgba(245,245,245,0.82);
}

@media (max-width: 520px) {
  .video-card .metric {
    right: 0.85rem;
    top: 0.85rem;
    font-size: 0.76rem;
  }

  .video-card,
  .video-card.featured {
    min-height: 360px;
  }
}

#work,
#collaborations,
#about,
#contact {
  scroll-margin-top: calc(6rem + env(safe-area-inset-top, 0px));
}

@media (max-width: 820px) {
  .site-header::before {
    inset: 0 -40px;
    background: linear-gradient(180deg, rgba(7,12,8,0.98), rgba(7,12,8,0.88));
    mask-image: none;
  }
}

/* Restore the first, stronger desktop hero composition: large logo left, floating cards right */
@media (min-width: 921px) {
  .hero {
    grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.82fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    text-align: left;
    place-items: center;
    align-content: center;
  }

  .hero-actions,
  .social-row {
    justify-content: flex-start;
  }

  .hero-visual {
    width: min(100%, 410px);
    aspect-ratio: 0.86;
    justify-self: end;
  }

  .stage-wordmark {
    left: auto;
    right: 0.15rem;
    bottom: 2.1rem;
    width: auto;
    max-width: none;
    font-size: clamp(4.35rem, 8.4vw, 7.1rem);
    line-height: 0.78;
    text-align: left;
    transform: none;
  }

  .stage-card-main {
    inset: 8% 10% 10% 8%;
  }

  .stage-card-small {
    width: 42%;
  }

  .stage-card-top {
    right: -2%;
    top: 0;
  }

  .stage-card-bottom {
    left: -3%;
    bottom: 2%;
  }
}

/* Root-cause fix for Abuget hero clipping:
   the font's visible glyph box is much taller than the old 0.74 line box,
   and background-clip:text clips the gradient to the element's own box. */
.hero h1 {
  line-height: 1.28;
  margin-bottom: clamp(0.35rem, 1.2vw, 0.9rem);
}

/* Root-cause fix: edge-lit must not turn floating hero cards back into normal-flow cards. */
.hero-visual .stage-card {
  position: absolute;
}

/* Root-cause fix for short desktop viewports: the centered hero row can be taller than the visible area below the sticky header, so align the hero row upward instead of letting the visual/logo fall below the fold. */
@media (min-width: 921px) and (max-height: 720px) {
  .hero {
    min-height: calc(100vh - 83px);
    padding-top: clamp(2rem, 5vh, 3rem);
    padding-bottom: clamp(2rem, 5vh, 3rem);
    align-content: start;
  }

  .hero-content,
  .hero-visual {
    align-self: start;
  }
}

@media (min-width: 921px) and (max-height: 720px) {
  .hero-visual {
    width: min(100%, 340px);
  }
}

/* Animated language toggle thumb */
.language-switch {
  --switch-padding: 0.25rem;
  --switch-gap: 0.35rem;
  --switch-thumb-x: 0px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--switch-gap);
  padding: var(--switch-padding);
}

.language-switch[data-lang="en"] {
  --switch-thumb-x: calc(100% + var(--switch-gap));
}

.language-switch::before {
  content: "";
  position: absolute;
  left: var(--switch-padding);
  top: var(--switch-padding);
  bottom: var(--switch-padding);
  width: calc((100% - (var(--switch-padding) * 2) - var(--switch-gap)) / 2);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--text), var(--text-soft));
  box-shadow: 0 0 18px rgba(218,217,218,0.14), inset 0 1px 0 rgba(255,255,255,0.45);
  transform: translateX(var(--switch-thumb-x));
  transition: transform 0.28s cubic-bezier(.2,.8,.2,1), box-shadow 0.28s ease;
  will-change: transform;
}

.language-switch button {
  position: relative;
  z-index: 1;
  min-width: 2.35rem;
  background: transparent;
  transition: color 0.24s ease;
}

.language-switch button[aria-pressed="true"] {
  color: var(--bg);
  background: transparent;
}

.language-switch button[aria-pressed="false"] {
  color: var(--muted);
}

/* Editorial premium pass */
:root {
  --accent-silver: #e7e3e5;
  --accent-rose: #b9a0b2;
  --accent-ink: rgba(7, 12, 8, 0.86);
  --radius-lg: 18px;
}

body {
  background:
    radial-gradient(ellipse 74rem 30rem at 76% -12%, rgba(65, 50, 58, 0.58), transparent 60%),
    radial-gradient(ellipse 48rem 22rem at 16% 6%, rgba(49, 33, 47, 0.36), transparent 64%),
    linear-gradient(180deg, #171316 0%, #0d0e0c 44%, #070c08 100%);
}

.site-header {
  width: min(1180px, calc(100% - 2rem));
}

.section-shell,
.site-footer {
  width: min(1180px, calc(100% - 2rem));
}

.wordmark {
  text-shadow: 0 0 10px rgba(218, 217, 218, 0.18), 0 0 24px rgba(65, 50, 58, 0.34);
}

.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  padding-top: clamp(4.5rem, 8vw, 7.2rem);
  padding-bottom: clamp(4rem, 7vw, 6.4rem);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 2rem max(-3rem, -5vw) 2.4rem;
  z-index: -1;
  border-top: 1px solid rgba(218, 217, 218, 0.12);
  border-bottom: 1px solid rgba(218, 217, 218, 0.12);
  background:
    linear-gradient(90deg, rgba(245,245,245,0.04) 1px, transparent 1px) 0 0 / 9.5rem 100%,
    radial-gradient(ellipse at 72% 44%, rgba(218,217,218,0.09), transparent 30rem);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}

.hero-content::before {
  top: -0.42em;
  color: rgba(218,217,218,0.018);
}

.hero h1 {
  margin-bottom: 0.15rem;
  font-size: clamp(7rem, 15.4vw, 13.8rem);
  line-height: 1.12;
  letter-spacing: 0;
  text-shadow: 0 0 16px rgba(218,217,218,0.2), 0 0 42px rgba(65,50,58,0.3);
  animation-duration: 14s;
}

.hero-copy {
  max-width: 540px;
  margin: 0 0 1.65rem;
  color: rgba(245,245,245,0.82);
  font-size: clamp(1.06rem, 1.45vw, 1.24rem);
  line-height: 1.58;
}

.hero-actions {
  gap: 0.8rem 1.1rem;
}

.button {
  min-height: 2.75rem;
  border-radius: 999px;
}

.hero-actions .button {
  min-height: auto;
  padding: 0.78rem 0;
}

.hero-actions .button.primary {
  padding-inline: 1.05rem;
  border-color: rgba(245,245,245,0.22);
  color: var(--bg);
  background: linear-gradient(135deg, var(--accent-silver), rgba(218,217,218,0.88));
  box-shadow: 0 14px 34px rgba(0,0,0,0.24), 0 0 28px rgba(218,217,218,0.1);
}

.hero-actions .button.ghost {
  padding-inline: 0;
  border-color: transparent;
  background: transparent;
  color: var(--text-soft);
  box-shadow: none;
}

.hero-actions .button:hover {
  transform: translateY(-1px);
}

.hero-proof {
  display: flex;
  gap: clamp(1.15rem, 3vw, 2.2rem);
  margin: clamp(1.5rem, 3vw, 2.2rem) 0 0;
  padding: 0;
}

.hero-proof div {
  display: grid;
  gap: 0.18rem;
}

.hero-proof dt {
  color: var(--text);
  font-size: clamp(1.7rem, 3.6vw, 3.15rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
}

.hero-proof dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.social-row {
  margin-top: 1.6rem;
  color: rgba(218,217,218,0.72);
  font-size: 0.88rem;
}

.hero-visual {
  width: min(100%, 390px);
  aspect-ratio: 0.78;
}

.hero-visual::before {
  inset: 2% -10% 6% -10%;
  opacity: 0.62;
  filter: blur(10px);
  animation-duration: 12s;
}

.hero-visual::after {
  opacity: 0.36;
}

.stage-card {
  border-radius: 18px;
  box-shadow: 0 28px 80px rgba(0,0,0,0.38), inset 0 1px 0 rgba(255,255,255,0.1);
}

.stage-card-small {
  border-radius: 14px;
}

.stage-card-main {
  animation-duration: 14s;
}

.stage-card-top {
  animation-duration: 15s;
}

.stage-card-bottom {
  animation-duration: 16s;
}

.stage-badge,
.metric,
.collab-type,
.collab-platform,
.collab-roles li {
  border-radius: 999px;
}

.stats {
  position: relative;
  grid-template-columns: 0.9fr 1.24fr 0.9fr;
  align-items: end;
  gap: clamp(1rem, 3vw, 2.2rem);
  margin-top: clamp(-2rem, -2vw, -1rem);
  margin-bottom: clamp(5rem, 9vw, 7.5rem);
  padding: clamp(1rem, 2.2vw, 1.55rem) 0;
  border-top: 1px solid rgba(218,217,218,0.14);
  border-bottom: 1px solid rgba(218,217,218,0.14);
}

.stats article {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.stats article:nth-child(2) {
  text-align: center;
}

.stats strong {
  color: var(--text);
  font-size: clamp(2.2rem, 5.8vw, 5rem);
  line-height: 0.9;
  letter-spacing: -0.045em;
}

.stats article:nth-child(2) strong {
  font-size: clamp(3.5rem, 8.2vw, 7.3rem);
  background: linear-gradient(110deg, #fff, var(--accent-silver), var(--accent-rose));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stats span {
  display: block;
  margin-top: 0.42rem;
  color: rgba(218,217,218,0.76);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.split-section {
  grid-template-columns: minmax(220px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(2rem, 5vw, 4.25rem);
  align-items: start;
}

.split-section h2,
.collab-intro h2,
.about-panel h2,
.contact-panel h2 {
  letter-spacing: -0.04em;
}

.split-section > div:first-child {
  position: sticky;
  top: 7rem;
}

.video-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: clamp(0.7rem, 1.4vw, 1rem);
}

.video-card,
.video-card.featured {
  min-height: auto !important;
  aspect-ratio: 9 / 16;
  padding: 0.95rem;
  border-radius: 16px;
  border-color: rgba(218,217,218,0.13);
}

.video-card.featured {
  grid-row: auto;
}

.video-card:nth-child(2),
.video-card:nth-child(4) {
  transform: translateY(1.45rem);
}

.video-card.edge-lit:hover {
  transform: translateY(-2px);
}

.video-card:nth-child(2).edge-lit:hover,
.video-card:nth-child(4).edge-lit:hover {
  transform: translateY(1.2rem);
}

.video-card::before {
  background:
    linear-gradient(180deg, rgba(7,12,8,0.04) 0%, rgba(7,12,8,0.2) 42%, rgba(7,12,8,0.92) 100%),
    radial-gradient(circle at 50% 0%, rgba(218,217,218,0.12), transparent 12rem);
}

.video-thumb {
  opacity: 0.78;
  filter: saturate(0.88) contrast(1.1) brightness(0.78);
}

.video-card:hover .video-thumb {
  opacity: 0.9;
  filter: saturate(0.96) contrast(1.12) brightness(0.84);
  transform: scale(1.045);
}

.video-card h3 {
  max-width: 100%;
  margin-bottom: 0.45rem;
  font-size: clamp(0.98rem, 1.2vw, 1.15rem);
  line-height: 1.08;
}

.video-card p {
  max-width: 100%;
  font-size: 0.76rem;
  line-height: 1.35;
}

.video-card .metric {
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.34rem 0.52rem;
  color: var(--bg);
  background: rgba(231,227,229,0.92);
  font-size: 0.72rem;
  box-shadow: 0 10px 24px rgba(0,0,0,0.24);
}

.reel-index {
  position: absolute;
  left: 0.8rem;
  top: 0.72rem;
  z-index: 3;
  color: rgba(245,245,245,0.54);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
}

.about-panel,
.contact-panel,
.legal-card,
.collab-card,
.collab-proof {
  border-radius: var(--radius-lg);
}

.about-panel,
.contact-panel {
  background:
    linear-gradient(145deg, rgba(49, 33, 47, 0.34), rgba(23, 19, 22, 0.64) 52%, rgba(13, 14, 12, 0.54));
}

.collaborations-section {
  padding-top: clamp(0.8rem, 2vw, 1.5rem);
}

.collab-intro {
  max-width: 900px;
  margin-bottom: clamp(1.5rem, 3vw, 2.35rem);
}

.collab-card {
  grid-template-columns: minmax(210px, 0.72fr) minmax(0, 1.18fr) minmax(220px, 0.72fr);
  grid-template-areas: "media main proof";
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2rem);
  padding: clamp(1rem, 2vw, 1.45rem);
  background:
    radial-gradient(circle at 8% 8%, rgba(218,217,218,0.1), transparent 16rem),
    radial-gradient(circle at 88% 0%, rgba(65,50,58,0.34), transparent 19rem),
    linear-gradient(145deg, rgba(49,33,47,0.34), rgba(23,19,22,0.7) 55%, rgba(7,12,8,0.62));
}

.collab-card::before {
  opacity: 0.12;
}

.collab-media {
  border-radius: 14px;
  aspect-ratio: 0.78;
}

.collab-media img {
  max-height: none;
  filter: saturate(0.94) contrast(1.08) brightness(0.9);
}

.collab-card h3 {
  margin-bottom: 0.7rem;
  font-size: clamp(2.15rem, 4vw, 4.1rem);
}

.collab-tagline {
  max-width: 560px;
  color: rgba(245,245,245,0.82);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
}

.collab-roles {
  gap: 0.5rem;
  margin-top: 1.15rem;
}

.collab-type,
.collab-platform,
.collab-roles li {
  padding: 0.4rem 0.6rem;
  background: rgba(218,217,218,0.055);
  color: rgba(245,245,245,0.82);
  font-size: 0.76rem;
  letter-spacing: 0.03em;
}

.collab-type {
  color: var(--bg);
  background: linear-gradient(135deg, var(--accent-silver), rgba(218,217,218,0.9));
}

.collab-proof {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(218,217,218,0.07), rgba(7,12,8,0.34)),
    rgba(7,12,8,0.24);
}

.collab-proof p {
  font-size: 0.94rem;
  line-height: 1.55;
}

.collab-proof-title {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
}

.edge-lit {
  transition:
    transform 0.45s cubic-bezier(.2,.8,.2,1),
    border-color 0.45s ease,
    box-shadow 0.45s ease;
}

.edge-lit:hover,
.edge-lit.spotlight-active {
  --edge-glow-opacity: 0.48;
  --edge-glow-shift: 115%;
  border-color: rgba(218,217,218,0.26);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 22px 68px rgba(0,0,0,0.25),
    0 0 24px rgba(65,50,58,0.12);
}

@keyframes floatMain {
  0%, 100% { transform: translate3d(0,0,0) rotate(-0.6deg); }
  50% { transform: translate3d(0,-5px,0) rotate(0.6deg); }
}

@keyframes floatSmallTop {
  0%, 100% { transform: translate3d(0,0,0) rotate(4deg); }
  50% { transform: translate3d(0,4px,0) rotate(5deg); }
}

@keyframes floatSmallBottom {
  0%, 100% { transform: translate3d(0,0,0) rotate(-5deg); }
  50% { transform: translate3d(0,-4px,0) rotate(-6deg); }
}

@media (min-width: 921px) {
  .hero {
    grid-template-columns: minmax(0, 1.06fr) minmax(300px, 0.76fr);
  }

  .hero-visual {
    width: min(100%, 380px);
  }

  .stage-wordmark {
    bottom: 2.25rem;
    font-size: clamp(4.2rem, 7.4vw, 6.7rem);
  }
}

@media (min-width: 921px) and (max-height: 720px) {
  .hero h1 {
    font-size: clamp(5.8rem, 12vw, 10rem);
  }

  .hero-visual {
    width: min(100%, 315px);
  }

  .hero-proof {
    margin-top: 1.1rem;
  }
}

@media (max-width: 1060px) {
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 620px;
    margin-left: auto;
  }

  .video-card:nth-child(2),
  .video-card:nth-child(4),
  .video-card:nth-child(2).edge-lit:hover,
  .video-card:nth-child(4).edge-lit:hover {
    transform: none;
  }

  .collab-card {
    grid-template-columns: minmax(210px, 0.8fr) minmax(0, 1fr);
    grid-template-areas:
      "media main"
      "media proof";
  }
}

@media (max-width: 920px) {
  .hero {
    min-height: auto;
    text-align: center;
  }

  .hero-copy,
  .hero-proof {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-proof,
  .hero-actions,
  .social-row {
    justify-content: center;
  }

  .split-section > div:first-child {
    position: static;
  }

  .video-grid {
    margin-inline: auto;
  }
}

@media (max-width: 820px) {
  .split-section {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr;
    align-items: start;
    text-align: left;
  }

  .stats article:nth-child(2) {
    text-align: left;
    order: -1;
  }

  .collab-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "media"
      "main"
      "proof";
  }

  .collab-media {
    aspect-ratio: 4 / 5;
  }

  .collab-media img {
    object-position: 45% 35%;
  }
}

@media (max-width: 620px) {
  .video-grid {
    grid-template-columns: 1fr;
    max-width: 295px;
  }

  .video-card,
  .video-card.featured {
    min-height: auto !important;
    aspect-ratio: 9 / 16;
  }
}

@media (max-width: 520px) {
  .site-header,
  .section-shell,
  .site-footer,
  .collaborations-section {
    width: min(var(--max), calc(100vw - 48px));
  }

  .hero {
    padding-top: 4.2rem;
  }

  .hero h1 {
    font-size: clamp(3.7rem, 18vw, 4.85rem);
    line-height: 1.08;
    max-width: 100%;
    overflow-wrap: normal;
  }

  .hero-copy {
    max-width: 270px;
    font-size: 0.98rem;
  }

  .hero-proof {
    width: min(100%, 310px);
    max-width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem 1.25rem;
    padding-inline: 0.25rem;
  }

  .hero-proof div {
    min-width: 0;
    text-align: center;
  }

  .hero-proof dt {
    font-size: clamp(1.65rem, 11vw, 2.7rem);
  }

  .hero-proof dd {
    overflow-wrap: anywhere;
    letter-spacing: 0.12em;
  }

  .hero-actions {
    width: min(100%, 300px);
  }

  .hero-actions .button.ghost {
    justify-content: center;
  }

  .hero-visual {
    width: min(100%, 260px);
  }

  .social-row {
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
    gap: 0.65rem 0.85rem;
    font-size: 0.82rem;
  }

  .stage-card,
  .stage-card-small,
  .collab-media,
  .collab-proof,
  .video-card {
    border-radius: 14px;
  }

  .stats {
    width: min(100%, 340px);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    justify-items: center;
    gap: 1rem;
    padding-inline: clamp(0.4rem, 4vw, 1rem);
    text-align: center;
    overflow: visible;
  }

  .stats article,
  .stats article:nth-child(2) {
    width: 100%;
    min-width: 0;
    text-align: center;
  }

  .stats strong {
    font-size: clamp(2rem, 13.5vw, 3.35rem);
    letter-spacing: -0.03em;
  }

  .stats article:nth-child(2) strong {
    font-size: clamp(2.85rem, 16vw, 4.3rem);
  }

  .stats span {
    max-width: 100%;
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .split-section {
    padding-top: 1rem;
  }

  .split-section h2,
  .split-section p {
    width: 100%;
    max-width: min(100%, 18.5rem);
  }

  .video-grid {
    max-width: min(100%, 280px);
  }

  .collab-media {
    aspect-ratio: 4 / 5;
  }

  .collab-card {
    padding: 0.85rem;
  }
}

.language-switch:hover::before {
  box-shadow: 0 0 24px rgba(218,217,218,0.2), inset 0 1px 0 rgba(255,255,255,0.5);
}

@media (max-width: 520px) {
  .language-switch {
    --switch-padding: 0.2rem;
    --switch-gap: 0.18rem;
  }

  .language-switch button {
    min-width: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .language-switch::before,
  .language-switch button {
    transition: none !important;
  }
}

/* Safari/iOS root-cause fix: make the sticky header backdrop a full-bleed safe-area layer instead of a narrow negative-z pseudo element. */
html {
  background: var(--bg);
}

.site-header {
  isolation: isolate;
  padding-top: calc(0.95rem + env(safe-area-inset-top, 0px));
}

.site-header > * {
  position: relative;
  z-index: 1;
}

.site-header::before {
  left: 50%;
  right: auto;
  top: calc(-1 * env(safe-area-inset-top, 0px));
  bottom: 0;
  width: 100vw;
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
}

@media (max-width: 820px) {
  .site-header::before {
    inset: auto auto 0 50%;
    top: calc(-1 * env(safe-area-inset-top, 0px));
    width: 100vw;
    transform: translateX(-50%);
  }
}

/* Collaboration proof section */
.collaborations-section {
  padding: 0 0 clamp(4.5rem, 9vw, 7rem);
}

.collab-intro {
  max-width: 780px;
  margin-bottom: clamp(1.4rem, 3vw, 2.2rem);
}

.collab-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 0.64fr) minmax(0, 1fr);
  grid-template-areas:
    "media main"
    "media proof";
  gap: clamp(1.2rem, 3vw, 2rem);
  align-items: stretch;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.2rem, 3vw, 2rem);
  background:
    radial-gradient(circle at 12% 18%, rgba(218,217,218,0.12), transparent 18rem),
    radial-gradient(circle at 88% 0%, rgba(92,67,82,0.32), transparent 20rem),
    linear-gradient(145deg, var(--panel-strong), var(--panel) 56%, var(--panel-soft));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 28px 88px rgba(0,0,0,0.24);
}

.collab-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.2;
  background:
    linear-gradient(115deg, transparent 0 38%, rgba(218,217,218,0.18) 48%, transparent 58% 100%);
}

.collab-card h3 {
  margin-bottom: 0.85rem;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.collab-label-row,
.collab-roles,
.collab-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.collab-label-row {
  margin-bottom: 1.2rem;
}

.collab-type,
.collab-platform,
.collab-roles li {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(218,217,218,0.07);
  color: var(--text-soft);
  padding: 0.45rem 0.68rem;
  font-size: 0.82rem;
}

.collab-type {
  color: var(--bg);
  background: linear-gradient(135deg, var(--text), var(--text-soft));
}

.collab-media {
  grid-area: media;
  position: relative;
  display: block;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-lg) - 8px);
  background: rgba(7,12,8,0.42);
  color: inherit;
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 18px 60px rgba(0,0,0,0.24);
}

.collab-media:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 4px;
}

.collab-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 560px;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.98) contrast(1.06) brightness(0.92);
}

.collab-media figcaption,
.collab-caption {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  border: 1px solid rgba(218,217,218,0.2);
  border-radius: 999px;
  padding: 0.42rem 0.62rem;
  color: var(--text-soft);
  background: rgba(7,12,8,0.68);
  backdrop-filter: blur(12px);
  font-size: 0.78rem;
}

.collab-card-main {
  grid-area: main;
}

.collab-tagline {
  max-width: 620px;
}

.collab-roles {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
}

.collab-proof {
  grid-area: proof;
  position: relative;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-lg) - 8px);
  padding: clamp(1rem, 2.5vw, 1.5rem);
  background:
    radial-gradient(circle at top right, rgba(218,217,218,0.12), transparent 12rem),
    rgba(7,12,8,0.36);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07);
}

.collab-proof-title {
  margin-bottom: 0.65rem;
  color: var(--text);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.collab-links {
  margin-top: 1.15rem;
}

.collab-links a {
  border-bottom: 1px solid rgba(218,217,218,0.35);
  color: var(--text-soft);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.collab-links a:hover {
  color: var(--text);
  border-color: rgba(245,245,245,0.72);
}

@media (max-width: 900px) {
  .collab-card {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "media"
      "main"
      "proof";
  }

  .collab-media {
    min-height: auto;
    aspect-ratio: 16 / 10;
  }

  .collab-media img {
    max-height: none;
    object-position: 50% 38%;
  }
}

@media (max-width: 820px) {
  .collab-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "media"
      "main"
      "proof";
  }

  .collab-media {
    min-height: auto;
    aspect-ratio: 0.72;
  }

  .collab-media img {
    max-height: none;
  }
}

@media (max-width: 520px) {
  .collaborations-section {
    width: min(var(--max), calc(100vw - 72px));
  }

  .social-row {
    gap: 0.7rem 0.9rem;
    font-size: 0.86rem;
  }

  .collab-card h3 {
    font-size: clamp(1.9rem, 12vw, 3rem);
  }

  .collab-links {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Keep the compact hero balanced after removing the intro copy. */
.hero h1 {
  margin-bottom: clamp(0.95rem, 2.1vw, 1.65rem);
}

@media (max-width: 920px) {
  .hero h1 {
    margin-bottom: 1.55rem;
  }

  .hero-actions {
    margin-top: 0.35rem;
  }
}

@media (max-width: 520px) {
  .hero {
    padding-top: 3.35rem;
  }

  .hero h1 {
    margin-bottom: 3.25rem;
  }

  .hero-actions {
    max-width: 272px;
    margin-top: 0;
    gap: 0.95rem;
  }

  .hero-actions .button {
    padding-block: 0.68rem;
  }
}
