/* Local hero study. Main site styles and original logo trial are preserved. */
:root {
  --lime: #00BBEC;
  --accent-gradient: linear-gradient(90deg, #0473C5 0%, #00BBEC 38%, #4DEEF4 72%, #D4FFFF 100%);
  --lime-deep: #0473C5;
}
.skeleton .sk-titlebar--b { box-shadow: inset 0 0 0 1px rgba(18,144,221,.16); }
.footer__word {
  display: block; aspect-ratio: 2527 / 463; flex-shrink: 0;
  background: var(--lime);
  -webkit-mask: url('/logos/logo_lime.png') center / contain no-repeat;
  mask: url('/logos/logo_lime.png') center / contain no-repeat;
}
/* Static light fallback underneath the exact Gradient Lab WebGL2 renderer. */
.hero-prism {
  position: absolute; inset: 0; overflow: hidden;
  background: #030914 url("prism-reference.jpg") center / cover no-repeat;
}
.hero-prism__canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none;
}
.hero-prism__image, .hero__grain { display: none; }
.hero::after {
  background: linear-gradient(180deg, rgba(4,8,16,.24), transparent 30%, transparent 65%, rgba(4,8,16,.45)),
    linear-gradient(90deg, rgba(4,8,16,.54), rgba(4,8,16,.50) 62%, rgba(4,8,16,.20) 100%);
}
@media (max-width: 860px) {
  .hero::after {
    background: linear-gradient(180deg, rgba(4,8,16,.34), rgba(4,8,16,.54) 40%, rgba(4,8,16,.54) 60%, rgba(4,8,16,.58));
  }
}
/* Main hero: expose the light-leak highlights and Film texture. Keep only a
   restrained reading scrim, strongest behind the small text at the edges. */
.hero[data-light-leak="bright"]::after {
  background: linear-gradient(180deg, rgba(4,8,16,.16), transparent 28%, transparent 72%, rgba(4,8,16,.30)),
    linear-gradient(90deg, rgba(4,8,16,.24), rgba(4,8,16,.20) 62%, rgba(4,8,16,.05) 100%);
}
@media (max-width: 860px) {
  .hero[data-light-leak="bright"]::after {
    background: linear-gradient(180deg, rgba(4,8,16,.24), rgba(4,8,16,.24) 40%, rgba(4,8,16,.24) 60%, rgba(4,8,16,.34));
  }
}
/* The trial font substitutes underscore with a block. Use a real glyph only for U+005F. */
@font-face {
  font-family: 'Hero punctuation';
  src: local('Helvetica Neue'), local('Arial');
  font-weight: 100 900;
  unicode-range: U+005F;
  font-display: swap;
}
.hero-headline {
  top: 46%; width: min(calc(100% - 2 * var(--shell-pad)), 1440px);
  aspect-ratio: auto; color: var(--text); mix-blend-mode: normal;
  font-family: 'Hero punctuation', var(--font); font-weight: 500; font-size: clamp(3rem, 8.7vw, 9.4rem);
  font-optical-sizing: auto; line-height: 1.06; letter-spacing: -.025em;
  text-align: left; overflow: visible;
}
.hero-headline__line { display: block; width: max-content; max-width: none; white-space: nowrap; }
.hero-logo__particles {
  position: absolute; pointer-events: none; opacity: 0;
  transition: opacity 500ms ease;
}
.hero-headline[data-particles="ready"] .hero-logo__particles { opacity: 1; }
.hero-headline[data-particles="ready"] .hero-headline__line { opacity: 0; }
.hero__sub { color: #e4e6e9; }
@media (max-width: 860px) {
  .hero-headline { top: 43%; font-size: clamp(2.45rem, 12vw, 4.7rem); font-weight: 600; }
}
@media (max-height: 620px) and (min-width: 861px) {
  .hero-headline { top: 46%; font-size: clamp(2.6rem, 7vw, 7rem); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-logo__particles { display: none; }
  .hero-headline[data-particles] .hero-headline__line { opacity: 1; }
}

/* Main only: a slightly larger wordmark, fitted to ES/EN by particles.js. */
.hero-headline[data-wordmark-interaction="halftone"] { font-size:clamp(3rem,10.1vw,10.9rem); }
@media (max-width:860px) {
  .hero-headline[data-wordmark-interaction="halftone"] { font-size:clamp(2.45rem,13vw,5.1rem); }
}
@media (max-height:620px) and (min-width:861px) {
  .hero-headline[data-wordmark-interaction="halftone"] { font-size:clamp(2.6rem,8vw,8rem); }
}

/* Blue/cyan light palette from the supplied scan image. */
.footer__word, .lang-toggle__thumb, .checklist li::before,
.re-ui__card--lime, .step__bar,
.theme-lime, .final-block .final-cta { background: var(--accent-gradient); }
.btn--primary {
  --btn-fg: var(--lime-ink); --btn-fg-hover: var(--text);
  background-image: linear-gradient(var(--lime-ink), var(--lime-ink)), var(--accent-gradient);
  background-size: 100% 0%, 100% 100%;
  box-shadow: none;
}
.btn--ghost, .btn--solid-lime, .btn--ink { background-image: var(--accent-gradient); --btn-fg-hover: var(--lime-ink); }
.btn--ink { --btn-fg: var(--text); }
.btn--ink-ghost { --btn-fg: var(--lime-ink); --btn-fg-hover: var(--text); }
.site-header.is-light .header__cta { background-image: var(--accent-gradient); --btn-fg-hover: var(--lime-ink); }
.site-header .lang-toggle .lang-toggle__btn.is-active,
.mobile-menu .lang-toggle__btn.is-active { color: var(--lime-ink); }
.theme-lime, .final-block .final-cta, .final-cta__title { color: var(--lime-ink); }
.final-cta__sub { color: rgba(10,14,7,.8); }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background-size: 100% 100%, 100% 100%; }
}
.btn--primary:active { background-size: 100% 100%, 100% 100%; }

/* Only the painted background is translucent; lettering stays fully opaque. */
.hero .btn--primary, .site-header:not(.is-stuck) .header__cta {
  background-color: transparent; background-image: none; isolation: isolate;
  background-size: 100% 0%, 100% 100%;
}
.hero .btn--primary::before, .site-header:not(.is-stuck) .header__cta::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  opacity: .8; pointer-events: none;
  background-image: linear-gradient(var(--lime-ink), var(--lime-ink)), var(--accent-gradient);
  background-size: 100% 0%, 100% 100%; background-repeat: no-repeat; background-position: 50% 100%;
  transition: background-size .5s var(--ease-out);
}
.lang-toggle { height: 44px; padding: 4px; border: 0; cursor: pointer; touch-action: pan-y; user-select: none; }
.lang-toggle__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 0; height: 36px; }
.lang-toggle__thumb { pointer-events: none; }
.lang-toggle.is-dragging { cursor: grabbing; }
.lang-toggle.is-dragging .lang-toggle__thumb { transition: none; }

@media (hover: hover) and (pointer: fine) {
  .hero .btn--primary:hover, .site-header:not(.is-stuck) .header__cta:hover { background-size: 100% 100%, 100% 100%; }
}
.hero .btn--primary:active, .site-header:not(.is-stuck) .header__cta:active { background-size: 100% 100%, 100% 100%; }

@media (hover: hover) and (pointer: fine) {
  .hero .btn--primary:hover::before, .site-header:not(.is-stuck) .header__cta:hover::before { background-size: 100% 100%, 100% 100%; }
}
.hero .btn--primary:active::before, .site-header:not(.is-stuck) .header__cta:active::before { background-size: 100% 100%, 100% 100%; }
.site-header:not(.is-stuck) .lang-toggle__thumb { opacity: .8; }
