@font-face {
  font-family: "Orbitron";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/orbitron-700.ttf") format("truetype");
}

@font-face {
  font-family: "Orbitron";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("assets/fonts/orbitron-800.ttf") format("truetype");
}

@font-face {
  font-family: "Orbitron";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("assets/fonts/orbitron-900.ttf") format("truetype");
}

:root {
  --black: #020302;
  --ink: #0c0f0d;
  --panel: #111610;
  --soft: #f4f7f0;
  --muted: #aeb7aa;
  --line: rgba(153, 211, 0, 0.28);
  --green: #96d700;
  --green-2: #74ad00;
  --white: #ffffff;
  --max: 1180px;
  --display-font: "Orbitron", "Arial Black", Impact, "Aptos Display", "Segoe UI Black", ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--soft);
  background: var(--black);
  letter-spacing: 0;
}

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

a:not(.brand)::before {
  content: "→";
  display: inline-block;
  margin-right: 0.42em;
  color: var(--green);
  font-weight: 900;
  line-height: 1;
  transform: translateX(0);
  transition: transform 180ms ease, color 180ms ease;
}

a:not(.brand):hover::before {
  transform: translateX(3px);
}

.header-cta::before,
.button-primary::before {
  content: "→";
  display: inline-block;
  margin-right: 0.42em;
  color: #101400 !important;
  font-weight: 900;
  line-height: 1;
  text-shadow: none;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 48px);
  background: rgba(2, 3, 2, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  width: clamp(190px, 24vw, 310px);
  margin-right: auto;
  overflow: hidden;
  transform-origin: left center;
  animation: brand-arrive 760ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.brand img,
.site-footer img {
  width: 100%;
  filter: saturate(1.06);
}

.nav-links {
  position: absolute;
  top: calc(100% + 12px);
  right: clamp(18px, 4vw, 48px);
  display: none;
  grid-template-columns: 1fr;
  gap: 10px;
  width: min(360px, calc(100vw - 36px));
  padding: 14px;
  background: rgba(2, 3, 2, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(18px);
  color: rgba(244, 247, 240, 0.78);
  font-size: 0.88rem;
  font-weight: 600;
}

.nav-links a {
  position: relative;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 180ms ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 220ms ease;
}

.nav-links a:hover {
  color: var(--green);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  order: 3;
  display: block;
  flex: 0 0 auto;
  width: 58px;
  height: 46px;
  padding: 6px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 5px;
  margin: 6px 0;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.12);
  transition: transform 220ms ease, opacity 180ms ease;
}

.menu-toggle span:nth-child(3) {
  background: var(--green);
  box-shadow: 0 0 22px rgba(150, 215, 0, 0.32);
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

.menu-open .nav-links {
  display: grid;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.header-cta {
  order: 2;
  background: var(--green);
  color: #101400;
  box-shadow: 0 0 26px rgba(150, 215, 0, 0.22);
  animation: cta-pulse 3.6s ease-in-out infinite;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  padding: 132px clamp(18px, 5vw, 72px) 26px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 3, 2, 0.24), rgba(2, 3, 2, 0.72) 52%, rgba(2, 3, 2, 0.22)),
    image-set(url("assets/entertomorrow-logo-crop.png") 1x);
  background-repeat: no-repeat;
  background-size: min(1160px, 94vw) auto;
  background-position: 50% 27%;
  opacity: 0.24;
  filter: blur(0.4px);
  animation: hero-mark 11s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 35% 28%, rgba(150, 215, 0, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(2, 3, 2, 0.2), #020302 86%);
  animation: glow-shift 9s ease-in-out infinite alternate;
}

.hero-bg,
.hero-inner,
.hero-proof {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.scanline {
  position: absolute;
  top: 12%;
  left: -20%;
  width: 140%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(150, 215, 0, 0.62), transparent);
  animation: scan 7s ease-in-out infinite;
}

.data-stream {
  position: absolute;
  width: 2px;
  height: 180px;
  background: linear-gradient(180deg, transparent, rgba(150, 215, 0, 0.62), transparent);
  opacity: 0.58;
  animation: stream-fall 4.8s ease-in-out infinite;
}

.stream-a {
  right: 18%;
  top: 16%;
}

.stream-b {
  left: 12%;
  top: 38%;
  height: 120px;
  animation-delay: 1.1s;
}

.stream-c {
  right: 32%;
  bottom: 16%;
  height: 96px;
  animation-delay: 2.1s;
}

.hero-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding-top: 20svh;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero .eyebrow {
  animation: rise-in 640ms 120ms ease both;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  color: var(--white);
  font-family: var(--display-font);
  font-size: clamp(4rem, 11.2vw, 10.7rem);
  line-height: 0.84;
  font-weight: 900;
  text-transform: lowercase;
  animation: hero-title-in 820ms 220ms cubic-bezier(0.18, 0.8, 0.22, 1) both;
}

.word-enter,
.word-tomorrow {
  display: inline-block;
}

.word-enter {
  color: var(--white);
}

.word-tomorrow {
  color: var(--green);
  text-shadow: 0 0 34px rgba(150, 215, 0, 0.22);
  animation: green-breathe 4.8s ease-in-out infinite;
}

h2 {
  margin-bottom: 0;
  font-family: var(--display-font);
  font-size: clamp(1.35rem, 3vw, 3.1rem);
  line-height: 0.98;
  font-weight: 900;
  max-width: 900px;
}

h3 {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 1.1rem;
}

p {
  color: rgba(244, 247, 240, 0.75);
  line-height: 1.7;
}

.mark-green,
.mark-soft {
  font-weight: 900;
}

.mark-green {
  color: var(--green);
  text-shadow: 0 0 22px rgba(150, 215, 0, 0.2);
}

.mark-soft {
  color: inherit;
  background: linear-gradient(180deg, transparent 58%, rgba(150, 215, 0, 0.28) 58%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.band .mark-green {
  color: var(--green-2);
  text-shadow: none;
}

.band .mark-soft {
  background: linear-gradient(180deg, transparent 58%, rgba(150, 215, 0, 0.34) 58%);
}

.hero-copy {
  max-width: 720px;
  color: rgba(244, 247, 240, 0.86);
  font-size: clamp(1.05rem, 2.1vw, 1.42rem);
  animation: rise-in 700ms 360ms ease both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
  animation: rise-in 700ms 500ms ease both;
}

.button-primary {
  background: var(--green);
  color: #111700;
  box-shadow: 0 0 0 rgba(150, 215, 0, 0);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
  color: var(--soft);
}

.button:hover,
.header-cta:hover {
  transform: translateY(-1px);
}

.button {
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button span[aria-hidden="true"] {
  display: none;
}

.button::after {
  content: "";
  position: absolute;
  inset: -40% -90%;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.46), transparent 58%);
  transform: translateX(-46%);
  opacity: 0;
}

.button:hover::after {
  animation: button-sheen 620ms ease;
}

.button-primary:hover {
  box-shadow: 0 0 32px rgba(150, 215, 0, 0.24);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(100%, var(--max));
  margin: 72px auto 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 11, 8, 0.72);
}

.hero-proof div {
  min-width: 0;
  padding: 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  animation: stat-in 700ms ease both;
}

.hero-proof div:nth-child(2) {
  animation-delay: 90ms;
}

.hero-proof div:nth-child(3) {
  animation-delay: 180ms;
}

.hero-proof div:nth-child(4) {
  animation-delay: 270ms;
}

.hero-proof div:last-child {
  border-right: 0;
}

.hero-proof strong {
  display: block;
  margin-bottom: 4px;
  color: var(--green);
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  line-height: 1;
  animation: number-glow 3.4s ease-in-out infinite;
}

.hero-proof span {
  color: rgba(244, 247, 240, 0.84);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.band,
.band-dark {
  padding: clamp(76px, 10vw, 138px) clamp(18px, 5vw, 72px);
}

.band {
  background: var(--soft);
  color: var(--ink);
}

.band,
.band-dark {
  animation: section-reveal both;
  animation-timeline: view();
  animation-range: entry 0% cover 28%;
}

.band p {
  color: rgba(12, 15, 13, 0.74);
}

.band .section-kicker {
  color: var(--green-2);
}

.band-dark {
  position: relative;
  overflow: hidden;
  background: var(--black);
}

.band-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 32%, rgba(150, 215, 0, 0.09) 42%, transparent 54%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 90px);
  opacity: 0.72;
  transform: translateX(-18%);
  animation: section-current 13s linear infinite;
  pointer-events: none;
}

.band-dark > * {
  position: relative;
  z-index: 1;
}

.intro-grid,
.section-heading,
.proof-panel,
.contact,
.subpage-hero,
.reference-list,
.legal-layout {
  width: min(100%, var(--max));
  margin-inline: auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.68fr);
  gap: clamp(32px, 7vw, 92px);
  align-items: start;
}

.intro-copy p {
  font-size: 1.04rem;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: end;
  margin-bottom: 44px;
}

.section-heading p {
  max-width: 410px;
  margin-bottom: 8px;
}

.process-teaser {
  position: relative;
  max-width: 460px;
  padding: 18px 20px 18px 58px;
  background:
    linear-gradient(135deg, rgba(150, 215, 0, 0.18), rgba(255, 255, 255, 0.72) 42%, rgba(255, 255, 255, 0.5)),
    #ffffff;
  border: 1px solid rgba(12, 15, 13, 0.1);
  box-shadow: 0 22px 62px rgba(12, 15, 13, 0.08);
  color: rgba(12, 15, 13, 0.84);
  font-weight: 900;
  line-height: 1.45;
  overflow: hidden;
  animation: process-note-float 6.5s ease-in-out infinite;
}

.process-teaser::before {
  content: "→";
  position: absolute;
  left: 18px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  background: var(--green);
  color: #101400;
  font-weight: 900;
  box-shadow: 0 0 24px rgba(150, 215, 0, 0.22);
}

.process-teaser::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), transparent);
  transform-origin: left center;
  animation: process-line 3.8s ease-in-out infinite;
}

.process-teaser span {
  color: var(--green-2);
  text-transform: uppercase;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: min(100%, var(--max));
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.service-grid article {
  min-height: 300px;
  padding: 28px;
  background: var(--panel);
  position: relative;
  overflow: hidden;
  transition: transform 260ms ease, background 260ms ease, box-shadow 260ms ease;
}

.service-grid article::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(150, 215, 0, 0.16), transparent 42%),
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  opacity: 0;
  transform: translateY(20px) translateX(-18%);
  transition: opacity 260ms ease, transform 260ms ease;
}

.service-grid article::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--green), transparent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 280ms ease;
}

.service-grid article:hover {
  transform: translateY(-8px) scale(1.015);
  background: #151d13;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.26), 0 0 42px rgba(150, 215, 0, 0.08);
}

.service-grid article:hover::before {
  opacity: 1;
  transform: translateY(0) translateX(0);
}

.service-grid article:hover::after {
  transform: scaleX(1);
}

.service-grid article > * {
  position: relative;
  z-index: 1;
}

.icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 44px;
  border: 1px solid var(--line);
  color: var(--green);
  font-size: 1.5rem;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.service-grid article:hover .icon {
  transform: rotate(-3deg) scale(1.08);
  box-shadow: 0 0 28px rgba(150, 215, 0, 0.16);
}

.service-grid article:hover h3 {
  color: var(--green);
}

.subpage-main {
  padding-top: 86px;
}

.subpage-hero {
  position: relative;
  padding: clamp(74px, 10vw, 132px) 0 clamp(38px, 6vw, 80px);
  overflow: hidden;
}

.subpage-hero h1 {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin-bottom: 22px;
  font-size: clamp(3.25rem, 9vw, 8.4rem);
  line-height: 0.9;
  text-transform: none;
}

.subpage-hero p {
  position: relative;
  z-index: 2;
  max-width: 700px;
  color: rgba(244, 247, 240, 0.78);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.references-page .band {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #020302 0%, #071006 48%, #020302 100%);
  color: var(--soft);
}

.references-page .band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    image-set(url("assets/entertomorrow-logo-crop.png") 1x),
    repeating-linear-gradient(90deg, rgba(150, 215, 0, 0.055) 0 1px, transparent 1px 112px);
  background-repeat: no-repeat, repeat;
  background-size: min(980px, 92vw) auto, auto;
  background-position: 50% 52%, 0 0;
  opacity: 0.13;
  animation: hero-mark 12s ease-in-out infinite;
  pointer-events: none;
}

.references-page .band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0 30%, rgba(150, 215, 0, 0.12) 43%, transparent 58%);
  transform: translateX(-36%);
  animation: section-current 15s linear infinite;
  pointer-events: none;
}

.references-page .band > * {
  position: relative;
  z-index: 1;
}

.references-page .subpage-hero {
  width: auto;
  max-width: none;
  margin: calc(clamp(76px, 10vw, 138px) * -1) calc(clamp(18px, 5vw, 72px) * -1) clamp(56px, 7vw, 92px);
  padding: clamp(118px, 14vw, 176px) clamp(18px, 5vw, 72px) clamp(74px, 9vw, 120px);
  color: var(--soft);
  background: var(--black);
}

.references-page .subpage-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 3, 2, 0.34), rgba(2, 3, 2, 0.78) 56%, rgba(2, 3, 2, 0.34)),
    image-set(url("assets/entertomorrow-logo-crop.png") 1x);
  background-repeat: no-repeat;
  background-size: min(1080px, 94vw) auto;
  background-position: 50% 44%;
  opacity: 0.24;
  animation: hero-mark 11s ease-in-out infinite;
}

.references-page .subpage-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(150, 215, 0, 0.18), transparent),
    radial-gradient(circle at 22% 36%, rgba(150, 215, 0, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(2, 3, 2, 0.08), #020302 100%);
  animation: glow-shift 8s ease-in-out infinite alternate;
}

.references-page .subpage-hero h1 {
  color: var(--white);
}

.references-page .subpage-hero h1 .title-white {
  color: var(--white);
}

.references-page .subpage-hero h1 .title-green {
  color: var(--green);
}

.references-page .subpage-hero p:not(.section-kicker) {
  color: rgba(244, 247, 240, 0.84);
}

.reference-list {
  display: grid;
  gap: clamp(42px, 7vw, 82px);
}

.reference-detail {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.74fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: stretch;
  padding: clamp(18px, 3vw, 28px);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 86px rgba(0, 0, 0, 0.22);
  animation: reference-rise both;
  animation-timeline: view();
  animation-range: entry 2% cover 32%;
}

.reference-detail h2 {
  grid-column: 1 / -1;
  margin-bottom: -12px;
  color: var(--green);
  font-family: var(--display-font);
  font-size: clamp(2.1rem, 5vw, 4.7rem);
  font-weight: 900;
  text-shadow: 0 0 30px rgba(150, 215, 0, 0.14);
}

.reference-shot {
  appearance: none;
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  padding: 0;
  border: 0;
  background: #10140f;
  cursor: zoom-in;
  overflow: hidden;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.reference-shot::before {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(2, 3, 2, 0.92));
  pointer-events: none;
}

.reference-shot::after {
  content: "";
  position: absolute;
  z-index: 3;
  right: 18px;
  bottom: 18px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background:
    linear-gradient(var(--green), var(--green)) 31px 32px / 15px 5px no-repeat,
    radial-gradient(circle at 22px 22px, transparent 10px, #101400 11px 14px, transparent 15px),
    var(--green);
  transform: rotate(45deg);
  box-shadow: 0 0 28px rgba(150, 215, 0, 0.36);
  pointer-events: none;
}

.reference-shot img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  transition: transform 420ms ease, filter 220ms ease;
}

.reference-shot:hover img {
  transform: scale(1.035);
  filter: saturate(1.06);
}

.reference-shot:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 86px rgba(0, 0, 0, 0.34), 0 0 36px rgba(150, 215, 0, 0.12);
}

.reference-text-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: clamp(24px, 4vw, 42px);
  background: rgba(244, 247, 240, 0.96);
  border-left: 8px solid var(--green);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.18);
  transition: transform 260ms ease, background 260ms ease;
}

.reference-detail:hover .reference-text-box {
  transform: translateY(-4px);
  background: #ffffff;
}

.reference-text-box span {
  display: block;
  margin-bottom: 18px;
  color: var(--green-2);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.reference-text-box p {
  margin-bottom: 28px;
  color: rgba(12, 15, 13, 0.72);
  font-size: 1rem;
}

.reference-text-box a {
  color: var(--ink);
  font-weight: 800;
  word-break: break-word;
}

.reference-text-box a:hover {
  color: var(--green-2);
}

.lightbox {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: none;
  place-items: center;
  padding: clamp(18px, 4vw, 56px);
  background: rgba(38, 41, 38, 0.78);
  backdrop-filter: blur(10px);
}

.lightbox.is-open {
  display: grid;
}

.lightbox img {
  max-width: min(1200px, 92vw);
  max-height: 84svh;
  background: #ffffff;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.44);
}

.lightbox button {
  position: fixed;
  top: 22px;
  right: 22px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--green);
  color: #111700;
  font-size: 1.6rem;
  font-weight: 800;
  cursor: pointer;
}

.legal-page {
  background:
    linear-gradient(180deg, #020302 0%, #071006 42%, #020302 100%);
  color: var(--soft);
}

.legal-page .site-header {
  position: sticky;
}

.legal-layout {
  position: relative;
  padding: clamp(70px, 8vw, 116px) clamp(18px, 5vw, 72px);
}

.legal-layout::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    image-set(url("assets/entertomorrow-logo-crop.png") 1x),
    linear-gradient(120deg, transparent 0 36%, rgba(150, 215, 0, 0.11) 48%, transparent 62%);
  background-repeat: no-repeat;
  background-size: min(940px, 92vw) auto, auto;
  background-position: 50% 220px, 0 0;
  opacity: 0.16;
  animation: hero-mark 12s ease-in-out infinite;
}

.legal-layout h1 {
  margin-bottom: 24px;
  color: var(--white);
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 0.94;
}

.project-note {
  display: inline-block;
  margin-bottom: 42px;
  padding: 12px 16px;
  background: rgba(150, 215, 0, 0.14);
  border-left: 6px solid var(--green);
  color: rgba(244, 247, 240, 0.86);
  font-weight: 800;
}

.legal-content {
  max-width: 880px;
  padding: clamp(26px, 4vw, 54px);
  background:
    linear-gradient(135deg, rgba(150, 215, 0, 0.08), transparent 34%),
    rgba(10, 16, 9, 0.94);
  border: 1px solid rgba(150, 215, 0, 0.22);
  border-left: 8px solid var(--green);
  box-shadow: 0 28px 86px rgba(0, 0, 0, 0.34);
}

.legal-content h2,
.legal-content h3 {
  margin: 34px 0 12px;
  color: var(--green);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.25;
}

.legal-content h2:first-child,
.legal-content h3:first-child {
  margin-top: 0;
}

.legal-content p {
  margin-bottom: 14px;
  color: rgba(244, 247, 240, 0.78);
  line-height: 1.72;
}

.legal-content a {
  color: var(--white);
  font-weight: 800;
  word-break: break-word;
}

.legal-content a:hover {
  color: var(--green);
}

.legal-contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(150, 215, 0, 0.18);
}

.legal-contact a::before {
  margin-right: 0;
  color: var(--green);
}

.legal-contact .phone-link::before {
  content: "☎";
}

.legal-contact .mail-link::before {
  content: "✉";
}

.proof {
  padding-top: clamp(52px, 7vw, 90px);
  padding-bottom: clamp(52px, 7vw, 90px);
}

.proof-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
  padding: clamp(30px, 5vw, 64px);
  background: #ffffff;
  border-left: 8px solid var(--green);
  box-shadow: 0 24px 70px rgba(12, 15, 13, 0.08);
  animation: panel-float 6s ease-in-out infinite;
}

.proof-panel p {
  max-width: 560px;
  margin-bottom: 0;
  font-size: 1.08rem;
}

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(12, 15, 13, 0.16);
}

.steps li {
  position: relative;
  overflow: hidden;
  padding: 28px 24px 10px 0;
  border-right: 1px solid rgba(12, 15, 13, 0.16);
  transition: transform 260ms ease, background 260ms ease, padding 260ms ease, box-shadow 260ms ease;
}

.steps li::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(150, 215, 0, 0.18), transparent 46%),
    repeating-linear-gradient(0deg, rgba(12, 15, 13, 0.035) 0 1px, transparent 1px 16px);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 260ms ease, transform 260ms ease;
  pointer-events: none;
}

.steps li:hover {
  transform: translateY(-7px);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 22px 60px rgba(12, 15, 13, 0.08);
}

.steps li:hover::before {
  opacity: 1;
  transform: translateY(0);
}

.steps li > * {
  position: relative;
  z-index: 1;
}

.steps li + li {
  padding-left: 24px;
}

.steps li:last-child {
  border-right: 0;
}

.steps h3 {
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 800;
  transition: color 220ms ease, transform 220ms ease;
}

.steps li:hover h3 {
  color: var(--green-2);
  transform: translateX(4px);
}

.steps span {
  display: block;
  margin-bottom: 38px;
  color: var(--green-2);
  font-weight: 800;
  animation: step-pulse 3.2s ease-in-out infinite;
}

.steps li:nth-child(2) span {
  animation-delay: 0.4s;
}

.steps li:nth-child(3) span {
  animation-delay: 0.8s;
}

.steps li:nth-child(4) span {
  animation-delay: 1.2s;
}

.process-aftercare {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  width: min(100%, var(--max));
  margin: clamp(28px, 5vw, 56px) auto 0;
  padding: clamp(22px, 4vw, 34px);
  background: #ffffff;
  border-left: 8px solid var(--green);
  box-shadow: 0 22px 62px rgba(12, 15, 13, 0.08);
  animation: support-pulse 7s ease-in-out infinite;
}

.process-aftercare > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--green);
  color: #101400;
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 0 28px rgba(150, 215, 0, 0.2);
}

.process-aftercare p {
  margin: 0;
  color: rgba(12, 15, 13, 0.78);
  font-weight: 700;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: clamp(32px, 7vw, 88px);
  align-items: end;
}

.contact h2 {
  max-width: 780px;
}

.contact-box {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #10140f;
  animation: contact-pop both;
  animation-timeline: view();
  animation-range: entry 8% cover 34%;
}

.contact-box .button {
  width: 100%;
  margin-bottom: 18px;
}

.contact-box p {
  margin-bottom: 0;
  font-size: 0.94rem;
}

.site-footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(150, 215, 0, 0.22) 0%, rgba(150, 215, 0, 0.08) 34%, transparent 74%),
    #0b1209;
  border-top: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), rgba(150, 215, 0, 0.45), transparent);
  box-shadow: 0 0 26px rgba(150, 215, 0, 0.34);
  pointer-events: none;
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0 34%, rgba(255, 255, 255, 0.08) 45%, transparent 56%);
  transform: translateX(-42%);
  animation: footer-sweep 12s linear infinite;
  pointer-events: none;
}

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

.site-footer img {
  width: min(280px, 56vw);
}

.site-footer p {
  margin: 0;
  color: var(--green);
  font-weight: 700;
}

.footer-meta {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.footer-meta nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: rgba(244, 247, 240, 0.7);
  font-size: 0.88rem;
  font-weight: 700;
}

.footer-meta a:hover {
  color: var(--green);
}

@keyframes scan {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.2;
  }
  50% {
    transform: translateY(52svh);
    opacity: 0.72;
  }
}

@keyframes brand-arrive {
  from {
    opacity: 0;
    transform: translateX(-18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes cta-pulse {
  0%,
  100% {
    box-shadow: 0 0 24px rgba(150, 215, 0, 0.2);
  }
  50% {
    box-shadow: 0 0 38px rgba(150, 215, 0, 0.38);
  }
}

@keyframes hero-mark {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.22;
  }
  50% {
    transform: translate3d(0, -10px, 0) scale(1.025);
    opacity: 0.3;
  }
}

@keyframes glow-shift {
  from {
    opacity: 0.82;
  }
  to {
    opacity: 1;
  }
}

@keyframes stream-fall {
  0% {
    transform: translateY(-24px) scaleY(0.78);
    opacity: 0;
  }
  35% {
    opacity: 0.68;
  }
  100% {
    transform: translateY(76px) scaleY(1.1);
    opacity: 0;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-title-in {
  from {
    opacity: 0;
    transform: translateY(28px) skewX(-4deg);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0) skewX(0);
    filter: blur(0);
  }
}

@keyframes green-breathe {
  0%,
  100% {
    text-shadow: 0 0 28px rgba(150, 215, 0, 0.18);
  }
  50% {
    text-shadow: 0 0 44px rgba(150, 215, 0, 0.36);
  }
}

@keyframes button-sheen {
  from {
    opacity: 0;
    transform: translateX(-50%);
  }
  30% {
    opacity: 1;
  }
  to {
    opacity: 0;
    transform: translateX(58%);
  }
}

@keyframes stat-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes number-glow {
  0%,
  100% {
    text-shadow: 0 0 0 rgba(150, 215, 0, 0);
  }
  50% {
    text-shadow: 0 0 22px rgba(150, 215, 0, 0.34);
  }
}

@keyframes section-reveal {
  from {
    opacity: 0.42;
    transform: translateY(42px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes panel-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes step-pulse {
  0%,
  100% {
    opacity: 0.72;
  }
  50% {
    opacity: 1;
  }
}

@keyframes contact-pop {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(24px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes section-current {
  from {
    transform: translateX(-36%);
  }
  to {
    transform: translateX(36%);
  }
}

@keyframes process-note-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes process-line {
  0%,
  100% {
    transform: scaleX(0.34);
    opacity: 0.62;
  }
  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes support-pulse {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 22px 62px rgba(12, 15, 13, 0.08);
  }
  50% {
    transform: translateY(-6px);
    box-shadow: 0 30px 78px rgba(12, 15, 13, 0.12), 0 0 34px rgba(150, 215, 0, 0.1);
  }
}

@keyframes reference-rise {
  from {
    opacity: 0.45;
    transform: translateY(46px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes footer-sweep {
  from {
    transform: translateX(-42%);
  }
  to {
    transform: translateX(42%);
  }
}

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

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    padding-top: 118px;
  }

  .hero::before {
    background-size: 940px auto;
    background-position: 42% 20%;
  }

  .hero-proof,
  .service-grid,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .reference-detail {
    grid-template-columns: 1fr;
  }

  .intro-grid,
  .proof-panel,
  .contact,
  .section-heading {
    grid-template-columns: 1fr;
    display: grid;
  }

  .service-grid article {
    min-height: 250px;
  }

}

@media (max-width: 1160px) {
  .header-cta {
    display: none;
  }

  .menu-toggle {
    order: 3;
  }

  .site-header {
    flex-wrap: nowrap;
  }

  .nav-links {
    left: 18px;
    right: 18px;
    width: auto;
  }

  .nav-links a::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
  }

  .brand {
    width: 218px;
  }

  .header-cta {
    min-height: 40px;
    padding-inline: 12px;
    font-size: 0.82rem;
  }

  .menu-toggle {
    width: 54px;
    height: 42px;
    padding-top: 4px;
  }

  .menu-open .nav-links {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-inline: 16px;
    padding-bottom: 16px;
  }

  h1 {
    font-size: clamp(2.85rem, 13.8vw, 3.45rem);
  }

  h2 {
    font-size: clamp(1.25rem, 6.3vw, 1.95rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-proof,
  .service-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .subpage-main {
    padding-top: 76px;
  }

  .subpage-hero {
    padding-inline: 16px;
  }

  .reference-detail h2 {
    margin-bottom: -22px;
  }

  .reference-text-box {
    padding: 22px;
  }

  .hero-proof div,
  .steps li,
  .steps li + li {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 22px;
  }

  .steps li,
  .steps li + li {
    border-bottom-color: rgba(12, 15, 13, 0.16);
    padding-left: 0;
  }

  .hero-proof div:last-child,
  .steps li:last-child {
    border-bottom: 0;
  }

  .contact-box {
    padding: 20px;
  }

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

  .footer-meta {
    justify-items: start;
  }

  .footer-meta nav {
    justify-content: flex-start;
  }
}
