:root {
  --bg: #050505;
  --panel: rgba(5, 5, 5, .68);
  --line: rgba(255,255,255,.14);
  --text: #f5f5f5;
  --muted: rgba(245,245,245,.72);
  --red: #e11919;
  --red-dark: #8d0b0b;
  --max: 1440px;
  /* Keeps the scroll-scrub video below the fixed navigation so the top of the logo/video is visible. */
  --nav-height: clamp(86px, 7vw, 140px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  background:
    radial-gradient(circle at 50% 20%, rgba(255,255,255,.08), transparent 28%),
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: auto, 100% 4px;
  mix-blend-mode: screen;
  opacity: .25;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1rem, 2vw, 1.7rem) clamp(1.1rem, 4vw, 4rem);
  border-bottom: 1px solid rgba(255,255,255,.1);
  background: linear-gradient(to bottom, rgba(0,0,0,.88), rgba(0,0,0,.46), transparent);
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 120px;
  isolation: isolate;
}

.brand img {
  width: clamp(94px, 11vw, 150px);
  height: auto;
  display: block;
  background: transparent;
  mix-blend-mode: screen;
  filter: contrast(1.08) brightness(1.08);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.nav-links {
  display: flex;
  gap: clamp(1rem, 2.3vw, 2.25rem);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.nav-links a {
  color: rgba(255,255,255,.78);
  text-decoration: none;
  transition: color .2s ease, text-shadow .2s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--red);
  text-shadow: 0 0 14px rgba(225,25,25,.45);
}

.lang {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 900;
  letter-spacing: .09em;
  font-size: .9rem;
}
.lang span { color: rgba(255,255,255,.45); }
.lang-btn {
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.58);
  font: inherit;
  letter-spacing: inherit;
  padding: .2rem;
  cursor: pointer;
}
.lang-btn.active { color: var(--red); }

.logo-scrub {
  position: relative;
  height: calc(240vh + var(--nav-height));
  padding-top: var(--nav-height);
  background: #000;
}

.hero-sticky {
  position: sticky;
  top: var(--nav-height);
  height: calc(100vh - var(--nav-height));
  overflow: hidden;
  isolation: isolate;
  background: #000;
}

.scrub-video,
.fallback-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  filter: contrast(1.14) saturate(.92) brightness(.72);
}

.fallback-img { opacity: 0; transition: opacity .35s ease; }
.video-not-ready .fallback-img { opacity: 1; }

.hero-sticky::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at 70% 54%, transparent 0 32%, rgba(0,0,0,.18) 52%, rgba(0,0,0,.74) 100%),
    linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.5) 34%, rgba(0,0,0,.08) 64%, rgba(0,0,0,.55) 100%),
    linear-gradient(0deg, rgba(0,0,0,.7) 0%, transparent 30%, rgba(0,0,0,.5) 100%);
}

.embers {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
}
.embers i {
  --x: 10vw;
  --delay: 0s;
  --size: 2px;
  position: absolute;
  left: var(--x);
  bottom: -20px;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: #ff3b22;
  box-shadow: 0 0 12px rgba(255, 48, 18, .88);
  animation: ember-rise 8s linear infinite;
  animation-delay: var(--delay);
  opacity: .8;
}
@keyframes ember-rise {
  0% { transform: translate3d(0,0,0) scale(.6); opacity: 0; }
  12% { opacity: .9; }
  100% { transform: translate3d(7vw,-110vh,0) scale(1.5); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 6;
  width: min(var(--max), calc(100% - clamp(2rem, 8vw, 8rem)));
  height: 100%;
  margin: 0 auto;
  display: grid;
  align-items: center;
  padding-top: 2rem;
}

.copy {
  max-width: 650px;
  transform: translateY(var(--copy-y, 0));
  opacity: var(--copy-opacity, 1);
  transition: opacity .08s linear;
}
.eyebrow {
  margin: 0 0 .9rem;
  color: var(--red);
  font-size: clamp(.9rem, 1.25vw, 1.15rem);
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  max-width: 770px;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(4.2rem, 8.4vw, 9.6rem);
  line-height: .82;
  letter-spacing: -.04em;
  text-transform: uppercase;
  text-shadow: 0 2px 0 #fff, 0 18px 32px rgba(0,0,0,.72);
  background: linear-gradient(#f1f1f1, #777 44%, #f6f6f6 55%, #717171 78%, #d4d4d4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.7));
}
h1 .red-dot {
  color: var(--red);
  -webkit-text-fill-color: var(--red);
  text-shadow: 0 0 24px rgba(225,25,25,.55);
}
.sub {
  margin: 1rem 0 1.7rem;
  color: rgba(255,255,255,.82);
  font-weight: 800;
  letter-spacing: .23em;
  text-transform: uppercase;
  font-size: clamp(.8rem, 1.1vw, 1rem);
}

.actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.btn {
  border: 1px solid rgba(255,255,255,.28);
  background: transparent;
  color: white;
  min-width: 150px;
  padding: 1rem 1.4rem;
  text-decoration: none;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn.primary {
  background: linear-gradient(180deg, #f12929, #b70606);
  border-color: rgba(255,255,255,.08);
  box-shadow: 0 16px 50px rgba(225,25,25,.18);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(0,0,0,.42), 0 0 28px rgba(225,25,25,.16);
}

.scroll-hint {
  position: absolute;
  right: clamp(1.2rem, 4vw, 4rem);
  top: 44%;
  z-index: 7;
  display: grid;
  gap: .9rem;
  justify-items: center;
  color: rgba(255,255,255,.66);
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .73rem;
}
.scroll-hint .line { width: 1px; height: 64px; background: linear-gradient(transparent, var(--red), rgba(255,255,255,.35), transparent); }
.scroll-hint .num { color: var(--red); font-size: 1rem; }

.progress {
  position: fixed;
  left: 0;
  top: 0;
  width: var(--p, 0%);
  height: 3px;
  z-index: 40;
  background: linear-gradient(90deg, var(--red-dark), var(--red), #ff5e5e);
  box-shadow: 0 0 24px rgba(225,25,25,.8);
}

.sections {
  position: relative;
  z-index: 8;
  margin-top: -2px;
  background: #060606;
  border-top: 1px solid var(--line);
}

.cards {
  width: min(var(--max), calc(100% - clamp(1.2rem, 5vw, 5rem)));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.card {
  min-height: 330px;
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--line);
  display: flex;
  align-items: end;
  padding: 2rem;
  isolation: isolate;
  transform: translateY(24px);
  opacity: 0;
  transition: transform .65s ease, opacity .65s ease;
}
.card.in { transform: none; opacity: 1; }
.card:last-child { border-right: none; }
.card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.75) contrast(1.12);
  transform: scale(1.02);
  transition: transform .45s ease, filter .45s ease;
  z-index: -2;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 10%, rgba(0,0,0,.22) 55%, rgba(0,0,0,.72) 100%), linear-gradient(90deg, rgba(0,0,0,.42), transparent 62%);
}
.card:hover img { transform: scale(1.09); filter: brightness(.86) contrast(1.18); }
.card-copy { max-width: 260px; }
.card .icon { color: var(--red); font-size: 2.2rem; font-weight: 900; margin-bottom: .75rem; }
.card h2 { margin: 0 0 .35rem; text-transform: uppercase; font-size: 1.2rem; letter-spacing: .03em; }
.card p { margin: 0 0 1rem; color: rgba(255,255,255,.76); line-height: 1.45; }
.card a { color: var(--red); text-decoration: none; text-transform: uppercase; font-weight: 950; letter-spacing: .03em; }

.subscribe {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #111, #070707);
  padding: 1.45rem clamp(1rem, 4vw, 4rem);
}
.subscribe-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 2rem;
  align-items: center;
}
.quote {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2.1rem, 4vw, 3.9rem);
  line-height: .9;
  text-transform: uppercase;
  color: #aaa;
  letter-spacing: -.02em;
}
.quote span { display:block; color: var(--red); }
.signup { border-left: 1px solid var(--line); padding-left: clamp(1.2rem, 4vw, 4rem); }
.signup label { display:block; margin-bottom: .65rem; color: rgba(255,255,255,.82); text-transform: uppercase; font-weight: 800; }
.signup-row { display:flex; gap:.75rem; }
.signup input {
  width: min(440px, 100%);
  background: #050505;
  border: 1px solid rgba(255,255,255,.24);
  color: white;
  padding: 1rem;
  text-transform: uppercase;
}
.signup button {
  border:0;
  background: linear-gradient(180deg, #f12929, #b70606);
  color:white;
  padding:0 1.5rem;
  font-weight:950;
  text-transform:uppercase;
  cursor: pointer;
}

.footer {
  width: min(var(--max), calc(100% - clamp(2rem, 8vw, 8rem)));
  margin: 0 auto;
  padding: 2rem 0;
  display: flex;
  justify-content: space-between;
  color: rgba(255,255,255,.45);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .75rem;
}

@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero-content { align-items: end; padding-bottom: 12vh; }
  .copy { max-width: 550px; }
  .scroll-hint { display: none; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .subscribe-inner { grid-template-columns: 1fr; }
  .signup { border-left: none; padding-left: 0; }
}
@media (max-width: 620px) {
  :root { --nav-height: 76px; }
  .nav { gap: 1rem; }
  h1 { font-size: clamp(3.2rem, 17vw, 5.2rem); }
  .sub { letter-spacing: .12em; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 300px; }
  .signup-row { flex-direction: column; }
  .signup button { padding: 1rem; }
  .footer { flex-direction: column; gap: .9rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .embers i { animation: none; }
  .card { transition: none; transform: none; opacity: 1; }
}


/* Multi-page MVP additions */
.nav-toggle {
  display: none;
  width: 44px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.35);
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Make links feel like page navigation instead of only one-page anchors. */
.nav-links a[aria-current="page"] {
  color: var(--red);
  text-shadow: 0 0 14px rgba(225,25,25,.45);
}

.page-main {
  min-height: 100vh;
  padding-top: var(--nav-height);
  background:
    radial-gradient(circle at 78% 12%, rgba(225,25,25,.11), transparent 28%),
    radial-gradient(circle at 16% 34%, rgba(255,255,255,.05), transparent 24%),
    #050505;
}

.page-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(560px, 68vh, 820px);
  display: grid;
  align-items: center;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}
.page-hero::before,
.page-section.is-grit::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.08), transparent 24%),
    radial-gradient(circle at 86% 12%, rgba(225,25,25,.18), transparent 22%);
  background-size: 100% 4px, auto, auto;
  mix-blend-mode: screen;
  opacity: .35;
  z-index: 3;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.58) contrast(1.15) saturate(.94);
  transform: scale(1.02);
  z-index: -2;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.68) 36%, rgba(0,0,0,.18) 62%, rgba(0,0,0,.75) 100%),
    linear-gradient(0deg, rgba(0,0,0,.78), transparent 36%, rgba(0,0,0,.62));
}
.page-hero-inner,
.page-section-inner {
  width: min(var(--max), calc(100% - clamp(2rem, 8vw, 8rem)));
  margin: 0 auto;
  position: relative;
  z-index: 4;
}
.page-hero-copy {
  max-width: 800px;
  padding: clamp(4rem, 8vw, 8rem) 0;
}
.page-kicker {
  margin: 0 0 .9rem;
  color: var(--red);
  text-transform: uppercase;
  font-weight: 950;
  letter-spacing: .08em;
  font-size: clamp(.9rem, 1.1vw, 1.05rem);
}
.page-title {
  margin: 0;
  max-width: 900px;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(4rem, 8.6vw, 9rem);
  line-height: .84;
  letter-spacing: -.04em;
  text-transform: uppercase;
  background: linear-gradient(#f6f6f6, #868686 44%, #fff 56%, #747474 80%, #d7d7d7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.8));
}
.page-lead {
  max-width: 720px;
  margin: 1.35rem 0 0;
  color: rgba(255,255,255,.82);
  font-size: clamp(1rem, 1.3vw, 1.22rem);
  line-height: 1.7;
}

.page-section {
  position: relative;
  padding: clamp(3rem, 6vw, 6rem) 0;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #080808, #050505);
  overflow: hidden;
}
.page-section.is-grit { isolation: isolate; }
.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(1.5rem, 3vw, 3rem);
}
.section-header h2,
.split-copy h2,
.contact-card h2 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  text-transform: uppercase;
  letter-spacing: -.02em;
  font-size: clamp(2.4rem, 4.6vw, 5.2rem);
  line-height: .9;
  color: #d7d7d7;
}
.section-header p {
  max-width: 560px;
  margin: 0;
  color: rgba(255,255,255,.72);
  line-height: 1.65;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .86fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.split.reverse { grid-template-columns: minmax(320px, .86fr) minmax(0, 1fr); }
.split.reverse .image-panel { order: 1; }
.split.reverse .split-copy { order: 2; }
.split-copy p {
  color: rgba(255,255,255,.76);
  line-height: 1.75;
  font-size: 1.02rem;
}
.split-copy .eyebrow { margin-bottom: .7rem; }
.image-panel {
  position: relative;
  min-height: clamp(360px, 48vw, 620px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.13);
  background: #0a0a0a;
  box-shadow: 0 30px 80px rgba(0,0,0,.46);
}
.image-panel img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
  filter: brightness(.78) contrast(1.12);
  transform: scale(1.01);
}
.image-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0 48%, rgba(0,0,0,.58) 100%),
    radial-gradient(circle at 78% 15%, rgba(225,25,25,.2), transparent 22%);
  pointer-events: none;
}

.feature-grid,
.program-grid,
.blog-grid,
.transform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.feature-card,
.program-card,
.blog-card,
.transform-card,
.contact-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.13);
  background:
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.015)),
    #090909;
  padding: clamp(1.3rem, 2vw, 2rem);
  box-shadow: 0 24px 60px rgba(0,0,0,.24);
}
.feature-card::before,
.program-card::before,
.blog-card::before,
.transform-card::before,
.contact-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, transparent, var(--red), transparent);
  opacity: .8;
}
.feature-card h3,
.program-card h3,
.blog-card h3,
.transform-card h3 {
  margin: 0 0 .75rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: 1.05rem;
}
.feature-card p,
.program-card p,
.blog-card p,
.transform-card p,
.contact-card p {
  margin: 0;
  color: rgba(255,255,255,.72);
  line-height: 1.65;
}

.program-card .tag,
.blog-card .tag,
.transform-card .tag {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--red);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .72rem;
}
.program-card .price {
  margin: 1rem 0 0;
  color: rgba(255,255,255,.92);
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(255,255,255,.12);
  margin-top: 2rem;
}
.stat {
  padding: 1.4rem;
  background: #080808;
}
.stat strong {
  display: block;
  color: var(--red);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
}
.stat span {
  display: block;
  margin-top: .4rem;
  color: rgba(255,255,255,.72);
  text-transform: uppercase;
  font-size: .8rem;
  letter-spacing: .06em;
}

.blog-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.blog-card.has-image {
  min-height: 420px;
  padding: 0;
}
.blog-card.has-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.62) contrast(1.12);
  z-index: 0;
}
.blog-card.has-image .blog-card-copy {
  position: relative;
  z-index: 2;
  padding: 1.6rem;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.9));
}

.contact-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 1rem;
}
.contact-form {
  display: grid;
  gap: .85rem;
}
.contact-form label {
  display: grid;
  gap: .35rem;
  color: rgba(255,255,255,.78);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 850;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  background: #050505;
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  padding: .95rem 1rem;
  font: inherit;
  outline: none;
}
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: rgba(225,25,25,.75);
  box-shadow: 0 0 0 3px rgba(225,25,25,.12);
}
.contact-form button {
  justify-self: start;
  border: 0;
  background: linear-gradient(180deg, #f12929, #b70606);
  color: #fff;
  padding: 1rem 1.5rem;
  font-weight: 950;
  text-transform: uppercase;
  cursor: pointer;
}

.cta-band {
  padding: clamp(2rem, 4vw, 4rem) 0;
  background:
    radial-gradient(circle at 75% 0%, rgba(225,25,25,.22), transparent 28%),
    linear-gradient(180deg, #131313, #060606);
  border-bottom: 1px solid var(--line);
}
.cta-inner {
  width: min(var(--max), calc(100% - clamp(2rem, 8vw, 8rem)));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}
.cta-inner h2 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  text-transform: uppercase;
  font-size: clamp(2.2rem, 4vw, 4.6rem);
  line-height: .9;
}
.cta-inner p {
  max-width: 540px;
  color: rgba(255,255,255,.72);
  line-height: 1.6;
}

@media (max-width: 1080px) {
  .feature-grid,
  .program-grid,
  .blog-grid,
  .transform-grid { grid-template-columns: repeat(2, 1fr); }
  .split,
  .split.reverse,
  .contact-grid { grid-template-columns: 1fr; }
  .split.reverse .image-panel,
  .split.reverse .split-copy { order: initial; }
}

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: .75rem clamp(1.1rem, 4vw, 4rem) 1.1rem;
    background: rgba(0,0,0,.94);
    border-bottom: 1px solid rgba(255,255,255,.12);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform .25s ease, opacity .25s ease;
  }
  body.nav-open .nav-links {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a {
    padding: .85rem 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .page-hero-inner,
  .page-section-inner,
  .cta-inner { width: min(var(--max), calc(100% - 2rem)); }
  .cta-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 700px) {
  .feature-grid,
  .program-grid,
  .blog-grid,
  .transform-grid,
  .stats { grid-template-columns: 1fr; }
  .page-title { font-size: clamp(3.5rem, 18vw, 5.5rem); }
  .section-header { display: grid; }
  .page-hero { min-height: 540px; }
  .page-hero-copy { padding: 3.5rem 0; }
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.video-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 40%, rgba(225, 25, 25, .18), transparent 34%),
    rgba(0, 0, 0, .86);
  backdrop-filter: blur(10px);
}

.video-modal__content {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  background: #050505;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow:
    0 30px 90px rgba(0,0,0,.75),
    0 0 50px rgba(225,25,25,.18);
  transform: scale(.96) translateY(16px);
  transition: transform .25s ease;
}

.video-modal.is-open .video-modal__content {
  transform: scale(1) translateY(0);
}

.video-modal__video {
  display: block;
  width: 100%;
  max-height: 78vh;
  background: #000;
}

.video-modal__close {
  position: absolute;
  top: -3rem;
  right: 0;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(0,0,0,.72);
  color: white;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, transform .2s ease;
}

.video-modal__close:hover {
  color: var(--red);
  border-color: rgba(225,25,25,.65);
  transform: scale(1.05);
}

body.video-modal-open {
  overflow: hidden;
}

@media (max-width: 620px) {
  .video-modal {
    padding: 1rem;
  }

  .video-modal__close {
    top: -2.75rem;
    right: 0;
  }

  .video-modal__video {
    max-height: 72vh;
  }
}
/* NANIS 404 V6 — clean gritty error page, no center card/plate */
.error-body-clean {
  min-height: 100vh;
  background: #050505;
}

.error-body-clean::before {
  opacity: .18;
}

.error-nav {
  background:
    linear-gradient(to bottom, rgba(0,0,0,.94), rgba(0,0,0,.66), rgba(0,0,0,.08));
}

.error-main-clean {
  min-height: calc(100vh - var(--nav-height));
  padding-top: var(--nav-height);
  background: #050505;
}

.error-hero-clean {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.error-bg-clean {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  z-index: -4;
  filter: brightness(.58) contrast(1.18) saturate(.9);
  transform: scale(1.015);
}

.error-hero-clean::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(circle at 72% 38%, rgba(225,25,25,.16), transparent 30%),
    linear-gradient(90deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.82) 32%, rgba(0,0,0,.36) 62%, rgba(0,0,0,.78) 100%),
    linear-gradient(0deg, rgba(0,0,0,.86) 0%, transparent 42%, rgba(0,0,0,.72) 100%);
}

.error-hero-clean::after {
  content: "NO EXCUSES";
  position: absolute;
  right: -1.2rem;
  bottom: clamp(1.8rem, 4vw, 4rem);
  z-index: -1;
  color: rgba(225,25,25,.12);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(4rem, 12vw, 13rem);
  line-height: .78;
  letter-spacing: -.06em;
  transform: rotate(-7deg);
  text-transform: uppercase;
  white-space: nowrap;
}

body[data-lang="es"] .error-hero-clean::after {
  content: "SIN EXCUSAS";
}

.error-grit-clean {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    radial-gradient(circle at 14% 52%, rgba(255,255,255,.08), transparent 20%),
    radial-gradient(circle at 84% 12%, rgba(225,25,25,.16), transparent 22%);
  background-size: 100% 4px, auto, auto;
  mix-blend-mode: screen;
  opacity: .44;
}

.error-inner-clean {
  width: min(var(--max), calc(100% - clamp(2rem, 8vw, 8rem)));
  margin: 0 auto;
  position: relative;
  z-index: 5;
  padding: clamp(3rem, 7vw, 7rem) 0;
}

.error-copy-clean {
  max-width: 760px;
  transform: translateY(20px);
  opacity: 0;
  transition: transform .65s ease, opacity .65s ease;
}

.error-copy-clean.in {
  transform: none;
  opacity: 1;
}

.error-number-clean {
  margin: 0 0 .75rem;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(8.5rem, 23vw, 22rem);
  line-height: .72;
  letter-spacing: -.08em;
  text-transform: uppercase;
  background:
    linear-gradient(180deg, #fff 0%, #747474 42%, #f8f8f8 54%, #5a5a5a 78%, #e5e5e5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 18px 34px rgba(0,0,0,.82));
  text-shadow: 0 2px 0 rgba(255,255,255,.5);
}

.error-lead-clean {
  margin: 0;
  max-width: 680px;
  color: rgba(255,255,255,.9);
  font-weight: 950;
  font-size: clamp(1.2rem, 2.25vw, 2.15rem);
  line-height: 1.24;
  letter-spacing: -.025em;
}

.error-body-copy-clean {
  margin: 1rem 0 0;
  max-width: 620px;
  color: rgba(255,255,255,.72);
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.65;
}

.error-actions-clean {
  margin-top: clamp(1.4rem, 2.4vw, 2.25rem);
}

.btn.ghost-red {
  border-color: rgba(225,25,25,.48);
  color: rgba(255,255,255,.92);
  background: rgba(225,25,25,.08);
}

.error-quicklinks-clean {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem 1rem;
  margin-top: 1.25rem;
  max-width: 620px;
}

.error-quicklinks-clean a {
  color: rgba(255,255,255,.62);
  text-decoration: none;
  text-transform: uppercase;
  font-size: .74rem;
  font-weight: 950;
  letter-spacing: .12em;
  transition: color .2s ease, text-shadow .2s ease;
}

.error-quicklinks-clean a::before {
  content: "// ";
  color: var(--red);
}

.error-quicklinks-clean a:hover {
  color: #fff;
  text-shadow: 0 0 14px rgba(225,25,25,.4);
}

.error-footer-clean {
  position: relative;
  z-index: 8;
  border-top: 1px solid rgba(255,255,255,.1);
}

@media (max-width: 980px) {
  .error-bg-clean {
    object-position: 70% center;
    filter: brightness(.5) contrast(1.2) saturate(.88);
  }

  .error-hero-clean::before {
    background:
      radial-gradient(circle at 64% 30%, rgba(225,25,25,.14), transparent 30%),
      linear-gradient(90deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.78) 52%, rgba(0,0,0,.6) 100%),
      linear-gradient(0deg, rgba(0,0,0,.86) 0%, transparent 40%, rgba(0,0,0,.72) 100%);
  }

  .error-inner-clean {
    width: min(var(--max), calc(100% - 2rem));
  }
}

@media (max-width: 620px) {
  .error-main-clean {
    padding-top: var(--nav-height);
  }

  .error-hero-clean {
    min-height: calc(100vh - var(--nav-height));
    align-items: end;
  }

  .error-inner-clean {
    padding: 2.75rem 0 3.5rem;
  }

  .error-number-clean {
    font-size: clamp(7rem, 36vw, 10.5rem);
    margin-bottom: .7rem;
  }

  .error-lead-clean {
    font-size: clamp(1.12rem, 6vw, 1.55rem);
  }

  .error-actions-clean .btn {
    width: 100%;
  }

  .error-quicklinks-clean {
    display: grid;
    gap: .75rem;
  }

  .error-hero-clean::after {
    right: -2rem;
    bottom: 1.2rem;
    font-size: clamp(3.4rem, 18vw, 6rem);
  }

  .error-footer-clean {
    width: min(var(--max), calc(100% - 2rem));
  }
}

/* NANIS MOBILE HERO V3 — iPhone portrait loop + scroll motion
   Desktop keeps the frame-by-frame scroll scrub. Mobile portrait keeps the
   MP4 playing normally, while scroll moves/scales/fades the logo container.
   This avoids fragile iOS currentTime seeking while still giving scroll motion. */
:root {
  --vh: 1vh;
  --mobile-logo-y: 0px;
  --mobile-logo-scale: 1.18;
  --mobile-logo-opacity: 1;
}

body.mobile-logo-playback .logo-scrub {
  height: calc((var(--vh) * 154) + var(--nav-height));
  min-height: 760px;
}

body.mobile-logo-playback .hero-sticky {
  height: calc((var(--vh) * 100) - var(--nav-height));
  min-height: 610px;
}

@media (max-width: 768px) and (orientation: portrait) {
  :root {
    --nav-height: 76px;
  }

  .logo-scrub {
    height: calc((var(--vh) * 154) + var(--nav-height));
    min-height: 760px;
    padding-top: var(--nav-height);
  }

  .hero-sticky {
    top: var(--nav-height);
    height: calc((var(--vh) * 100) - var(--nav-height));
    min-height: 620px;
    overflow: hidden;
  }

  .scrub-video,
  .fallback-img {
    inset: 0 auto auto 50%;
    width: min(124vw, 680px);
    height: 64%;
    min-height: 360px;
    object-fit: contain;
    object-position: 50% 50%;
    transform:
      translate3d(-50%, var(--mobile-logo-y, 0px), 0)
      scale(var(--mobile-logo-scale, 1.18));
    transform-origin: center center;
    filter: contrast(1.18) saturate(.96) brightness(.86);
    will-change: transform, opacity;
    transition: opacity .08s linear;
  }

  .scrub-video {
    opacity: var(--mobile-logo-opacity, 1);
  }

  .hero-sticky.video-not-ready .fallback-img {
    opacity: var(--mobile-logo-opacity, 1);
  }

  .hero-sticky:not(.video-not-ready) .fallback-img {
    opacity: 0;
  }

  .hero-sticky::after {
    background:
      radial-gradient(circle at 50% 31%, transparent 0 38%, rgba(0,0,0,.16) 58%, rgba(0,0,0,.82) 100%),
      linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.08) 34%, rgba(0,0,0,.72) 72%, rgba(0,0,0,.94) 100%),
      linear-gradient(90deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.12) 50%, rgba(0,0,0,.62) 100%);
  }

  .hero-content {
    width: min(var(--max), calc(100% - 2rem));
    align-items: end;
    padding-top: 0;
    padding-bottom: max(3.2rem, calc(var(--vh) * 7));
  }

  .copy {
    max-width: 100%;
  }

  .eyebrow {
    font-size: .82rem;
    margin-bottom: .7rem;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 5rem);
  }

  .sub {
    margin: .85rem 0 1.15rem;
    font-size: .78rem;
    letter-spacing: .11em;
  }

  .actions {
    gap: .7rem;
  }

  .btn {
    min-width: 0;
    padding: .9rem 1rem;
    font-size: .82rem;
  }
}

@media (max-width: 430px) and (orientation: portrait) {
  :root {
    --mobile-logo-scale: 1.28;
  }

  .scrub-video,
  .fallback-img {
    width: min(132vw, 620px);
    height: 61%;
    min-height: 340px;
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 768px) and (orientation: portrait) {
  .scrub-video,
  .fallback-img {
    transform: translate3d(-50%, 0, 0) scale(1.08);
  }

  .scrub-video,
  .hero-sticky.video-not-ready .fallback-img {
    opacity: 1;
  }
}
