:root {
  --bg: #04070d;
  --blue: #00bfff;
  --blue-deep: #0a63ff;
  --ink: #dbeeff;
  --dim: rgba(219, 238, 255, 0.62);
  --hud: rgba(219, 238, 255, 0.75);
  --line: rgba(0, 191, 255, 0.18);
  --glass: rgba(6, 12, 22, 0.55);
  --font: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Space Mono", ui-monospace, "SF Mono", monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
}

/* ============================================================ scroll-scrubbed hero video */
.video-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #02040a;
}

.hero-poster,
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* the poster shows instantly; the video fades in over it once decoded */
.hero-video {
  opacity: 0;
  transition: opacity 0.7s ease;
}

.hero-video.is-ready {
  opacity: 1;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(120% 120% at 50% 50%, transparent 40%, rgba(0, 0, 0, 0.74) 100%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.55) 0%, transparent 18%, transparent 64%, rgba(0, 0, 0, 0.66) 100%);
}

/* ============================================================ reveal system (IntersectionObserver) */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.is-shown {
  opacity: 1;
  transform: none;
}

/* ============================================================ layout */
main {
  position: relative;
  z-index: 2;
}

.panel {
  min-height: 100vh; /* fallback for old browsers */
  min-height: 100svh; /* mobile: don't jump/jank when the address bar shows/hides */
  display: grid;
  place-items: center;
  padding: 13vh 6vw;
  position: relative;
}

/* hero: anchor content to the bottom so the character's face stays visible */
.panel--hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-content {
  text-align: center;
  max-width: 56ch;
}

.panel--statement {
  text-align: center;
}

.panel-inner {
  max-width: 54ch;
}

.panel-inner--center {
  margin: 0 auto;
  text-align: center;
}

/* ============================================================ typography */
.eyebrow {
  font-family: var(--mono);
  letter-spacing: 0.38em;
  font-size: 0.72rem;
  color: var(--blue);
  text-transform: uppercase;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

.title {
  font-size: clamp(2.8rem, 9vw, 6.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin: 1rem 0;
  text-shadow: 0 6px 50px rgba(0, 0, 0, 0.55);
}

.title .k-accent {
  color: var(--blue);
  text-shadow: 0 0 50px rgba(0, 191, 255, 0.55);
}

.lede {
  max-width: 52ch;
  margin: 0 auto 1.8rem;
  color: var(--ink);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.55;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.8);
}

.index {
  display: inline-block;
  font-family: var(--mono);
  color: var(--blue);
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  margin-bottom: 1rem;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7);
}

.headline {
  font-size: clamp(1.7rem, 3.6vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin-bottom: 1.2rem;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.7);
}

.body,
.lead {
  color: var(--dim);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.65;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.8);
}

.lead {
  color: var(--ink);
  margin-bottom: 1.6rem;
}

.punch {
  margin-top: 1.6rem;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  font-weight: 500;
  color: var(--blue);
  text-shadow: 0 0 30px rgba(0, 191, 255, 0.35);
}

.closer {
  margin-top: 1.6rem;
  color: var(--ink);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.8);
}

/* ============================================================ buttons */
.btn {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn--primary {
  background: linear-gradient(100deg, var(--blue), var(--blue-deep));
  color: #02060d;
  font-weight: 700;
  box-shadow: 0 10px 40px rgba(0, 191, 255, 0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 50px rgba(0, 191, 255, 0.5);
}

.btn--ghost {
  border: 1px solid var(--blue);
  color: var(--ink);
  background: rgba(0, 191, 255, 0.06);
}

.btn--ghost:hover {
  background: rgba(0, 191, 255, 0.16);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 1.1rem 2.4rem;
  font-size: 0.9rem;
}

/* ============================================================ glass card (legibility over video) */
.card,
.pricing-inner {
  width: 100%;
  max-width: 820px;
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(1.8rem, 4vw, 3rem);
  text-align: left;
}

/* what we do — offer list */
.offer {
  list-style: none;
  display: grid;
  gap: 1rem;
  margin-top: 0.5rem;
}

.offer li {
  color: var(--dim);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.5;
  padding-left: 1.1rem;
  border-left: 2px solid var(--blue);
}

.offer strong {
  color: var(--ink);
  font-weight: 600;
}

/* ============================================================ the work — holograms */
.work-inner {
  width: 100%;
  max-width: 1100px;
  text-align: center;
}

.work-head {
  max-width: 56ch;
  margin: 0 auto 2.4rem;
}

.holograms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.holo {
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem 1.4rem;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.holo::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(var(--blue), transparent);
  box-shadow: 0 0 18px var(--blue);
}

.holo-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.holo-line {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.35;
}

/* ============================================================ how we work — method */
.method {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 1.4rem;
  margin-top: 0.5rem;
}

.method li {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1.2rem;
  align-items: start;
}

.method .step {
  font-family: var(--mono);
  letter-spacing: 0.16em;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.95rem;
  padding-top: 0.2rem;
}

.method p {
  color: var(--dim);
  line-height: 1.55;
}

/* ============================================================ why highzak — beats */
.beats {
  margin: 0.5rem 0 1.8rem;
}

.beat {
  font-size: clamp(1.8rem, 4.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-shadow: 0 0 50px rgba(0, 191, 255, 0.25);
}

.beat:nth-child(2) {
  color: var(--blue);
}

.proof {
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.5rem;
}

/* honest value row (replaces the old yellow placeholder strip) */
.proofrow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem 0.9rem;
}
.proofrow__item {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  padding: 0.55rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0, 191, 255, 0.05);
  white-space: nowrap;
}

/* real-proof template (used once you swap in logos / number / quote) */
.proofbar {
  display: grid;
  gap: 1rem;
  justify-items: center;
}
.proofbar__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  opacity: 0.85;
}
.proofbar__logos img { height: 26px; width: auto; filter: brightness(0) invert(1); opacity: 0.8; }
.proofbar__num {
  font-family: "Anybody", var(--font);
  font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  color: var(--ink);
}
.proofbar__quote {
  max-width: 46ch;
  color: var(--dim);
  font-style: italic;
}

/* ============================================================ pricing */
.pricing-inner {
  max-width: 1080px;
  text-align: center;
}

.pricing-inner .lead {
  text-align: center;
}

.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin: 2rem 0 1.6rem;
  text-align: left;
}

.tier {
  background: rgba(8, 14, 26, 0.6);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.8rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  position: relative;
}

.tier--featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue), 0 20px 60px rgba(0, 191, 255, 0.18);
  transform: translateY(-8px);
}

.tier-flag {
  position: absolute;
  top: -0.7rem;
  left: 1.5rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: linear-gradient(100deg, var(--blue), var(--blue-deep));
  color: #02060d;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}

.tier-name {
  font-size: 1.4rem;
  font-weight: 700;
}

.tier-for {
  color: var(--dim);
  font-size: 0.92rem;
}

.tier-list {
  list-style: none;
  display: grid;
  gap: 0.45rem;
  margin: 0.6rem 0;
  color: var(--dim);
  font-size: 0.95rem;
}

.tier-list li::before {
  content: "▸ ";
  color: var(--blue);
}

.tier-price {
  font-size: 1.05rem;
  margin: 0.4rem 0 1rem;
}

.tier-price strong {
  font-size: 1.6rem;
  font-weight: 700;
}

.tier .btn {
  margin-top: auto;
  text-align: center;
}

.custom {
  color: var(--ink);
  font-weight: 500;
  margin-top: 0.5rem;
}

.custom a {
  color: var(--blue);
  text-decoration: none;
}

.fineprint {
  margin-top: 0.8rem;
  color: var(--dim);
  font-size: 0.9rem;
}

/* ============================================================ contact */
.contact-direct {
  margin-top: 1.6rem;
  font-family: var(--mono);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--hud);
}

.contact-direct a {
  color: var(--blue);
  text-decoration: none;
}

.risk {
  margin-top: 1rem;
  color: var(--dim);
  font-size: 0.92rem;
}

.site-footer {
  position: absolute;
  bottom: 1.5rem;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--hud);
}

.site-footer a {
  color: var(--blue);
  text-decoration: none;
}

/* placeholder markers (for [bracketed] items you still need to fill) */
.ph,
[data-placeholder] {
  color: rgba(255, 196, 0, 0.85);
  font-style: italic;
}

.proof [class^="proof-"] {
  color: rgba(255, 196, 0, 0.7);
  font-family: var(--mono);
  font-size: 0.85rem;
}

/* ============================================================ HUD */
.hud {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.28em;
  font-size: 0.82rem;
}

.brand-mark {
  border-radius: 50%;
  filter: drop-shadow(0 0 10px rgba(0, 191, 255, 0.6));
}

.hud-meta {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--hud);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hud-meta .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 10px var(--blue);
  animation: pulse 2s infinite;
}

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

/* ============================================================ progress + scroll cue */
.progress {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  z-index: 5;
  background: rgba(255, 255, 255, 0.08);
}

.progress i {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--blue), var(--blue-deep));
  box-shadow: 0 0 12px var(--blue);
}

.scroll-cue {
  margin-top: 2.4rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.38em;
  color: var(--hud);
}

.scroll-cue i {
  width: 1px;
  height: 42px;
  background: linear-gradient(var(--blue), transparent);
  animation: drop 1.9s infinite;
}

@keyframes drop {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  45% {
    transform: scaleY(1);
    transform-origin: top;
  }
  55% {
    transform: scaleY(1);
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* ============================================================ responsive */
@media (max-width: 900px) {
  .holograms {
    grid-template-columns: repeat(2, 1fr);
  }
  .tiers {
    grid-template-columns: 1fr;
  }
  .tier--featured {
    transform: none;
  }
}

@media (max-width: 560px) {
  .holograms {
    grid-template-columns: 1fr;
  }
  .method li {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
}

/* ============================================================ reduced motion: calm + instant */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-video {
    transition: none;
  }
  .hud-meta .dot,
  .scroll-cue i {
    animation: none;
  }
}

/* ============================================================ kinetic captions */
/* Registered so GSAP can tween the variable-font axes smoothly as numbers. */
@property --wght {
  syntax: "<number>";
  inherits: true;
  initial-value: 800;
}
@property --wdth {
  syntax: "<number>";
  inherits: true;
  initial-value: 125;
}

/* perspective planes for the 3D captions (only 3D-transformed children react) */
.hero-content,
.panel-inner,
.card,
.work-head,
.pricing-inner {
  perspective: 1000px;
}

.kinetic {
  font-family: "Anybody", "Archivo", "Space Grotesk", -apple-system, sans-serif;
  font-variation-settings: "wght" var(--wght), "wdth" var(--wdth);
  --wght: 800; /* resting = heavy + wide */
  --wdth: 125;
  transform-style: preserve-3d;
}

/* hidden only once captions.js has taken over (set on <html>); JS reveals + animates.
   If the script never loads, captions stay visible — never invisible. */
.js-kinetic .kinetic {
  opacity: 0;
}

.title.kinetic {
  font-size: clamp(1.9rem, 4vw, 3.5rem);
  letter-spacing: -0.01em;
}

/* split spans (created by captions.js) */
.kinetic span,
.kinetic .k-word {
  transform-style: preserve-3d;
}

.kinetic .k-word {
  display: inline-block;
  white-space: nowrap;
}

.kinetic .k-ltr {
  display: inline-block;
  transform-origin: 50% 100%; /* flip up from the baseline */
  backface-visibility: hidden;
  font-variation-settings: "wght" var(--wght), "wdth" var(--wdth);
}

/* soft electric-blue glow on the primary hero word ("scroll past.") only */
.title.kinetic .k-accent .k-ltr {
  text-shadow: 0 0 24px rgba(55, 138, 221, 0.7), 0 0 54px rgba(55, 138, 221, 0.4);
}

@media (max-width: 760px) {
  .title.kinetic {
    font-size: clamp(2rem, 9vw, 3.4rem);
  }
}

/* reduced motion: captions present at final weight/width, no animation */
@media (prefers-reduced-motion: reduce) {
  .js-kinetic .kinetic {
    opacity: 1;
  }
}

/* ============================================================ pricing tiers (no-price) */
.tier-tag {
  color: var(--blue);
  font-weight: 600;
  font-size: 1.05rem;
  margin-top: 0.1rem;
}
.tier-best {
  color: var(--dim);
  font-size: 0.9rem;
  line-height: 1.45;
}
.tier-scales {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--hud);
  margin-top: 0.2rem;
}
.tier-cta {
  margin-top: auto;
  text-align: center;
}

/* ============================================================ contact form → WhatsApp */
.wa-form {
  width: 100%;
  max-width: 540px;
  margin: 2rem auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  text-align: left;
}
.wa-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.wa-field--full {
  grid-column: 1 / -1;
}
.wa-form label {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hud);
}
.wa-form input,
.wa-form select,
.wa-form textarea {
  width: 100%;
  background: rgba(8, 14, 26, 0.7);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
}
.wa-form textarea {
  resize: vertical;
}
.wa-form input:focus,
.wa-form select:focus,
.wa-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.18);
}
.wa-form--error input:required:invalid,
.wa-form--error select:required:invalid,
.wa-form--error textarea:required:invalid {
  border-color: #ff5a6a;
}
.wa-form-submit {
  grid-column: 1 / -1;
}
.wa-form-note {
  grid-column: 1 / -1;
  color: var(--dim);
  font-size: 0.78rem;
  text-align: center;
}

/* ============================================================ floating WhatsApp button */
.wa-float {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 50;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(140deg, #0a1830, #04070d);
  border: 1px solid var(--blue);
  color: var(--blue);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5), 0 0 18px rgba(0, 191, 255, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-float:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.55), 0 0 26px rgba(0, 191, 255, 0.55);
}

@media (max-width: 760px) {
  .wa-form {
    grid-template-columns: 1fr;
  }
  .wa-float {
    width: 52px;
    height: 52px;
  }
}

@media print {
  .wa-float {
    display: none;
  }
}
