:root {
  --bg: #050505;
  --bg-secondary: #0b0b0b;
  --card: #101010;
  --stroke: rgba(195, 123, 53, 0.22);
  --stroke-strong: rgba(255, 170, 90, 0.35);
  --glow-soft: rgba(255, 159, 67, 0.16);
  --glow-strong: rgba(255, 159, 67, 0.26);
  --radius-sm: 16px;
  --radius-md: 18px;
  --radius-lg: 20px;
  --pill-radius: 999px;
  --shadow-soft:
    0 22px 48px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    inset 0 0 24px rgba(255, 170, 90, 0.04);
  --shadow-soft-hover:
    0 26px 56px rgba(0, 0, 0, 0.34),
    0 0 26px rgba(255, 140, 70, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --shadow-video:
    0 12px 42px rgba(255, 140, 70, 0.14),
    0 26px 56px rgba(0, 0, 0, 0.4);
  --shadow-video-hover:
    0 18px 56px rgba(255, 140, 70, 0.2),
    0 30px 66px rgba(0, 0, 0, 0.42);
  --duration-fast: 220ms;
  --duration-base: 320ms;
  --duration-reveal: 700ms;
  --ease-standard: ease;
  --space-card-y: 19px;
  --space-card-x: 23px;
  --text: #f4efe8;
  --text-secondary: rgba(244, 239, 232, 0.78);
  --accent: #c37b35;
  --accent-glow: #ff9f43;
  --accent-shadow: rgba(195, 123, 53, 0.18);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 159, 67, 0.06), transparent 18%),
    radial-gradient(circle at 18% 64%, rgba(195, 123, 53, 0.05), transparent 30%),
    radial-gradient(circle at 82% 40%, rgba(255, 170, 90, 0.04), transparent 26%),
    linear-gradient(180deg, #020202 0%, var(--bg) 45%, var(--bg-secondary) 100%);
}

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

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

.site-shell {
  position: relative;
  overflow: clip;
}

/* Premium ambient layers: low-opacity cosmic field + restrained sacred geometry */
.cosmic-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

.geometry-overlay,
.ambient-vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.geometry-overlay {
  background:
    radial-gradient(circle at 50% 14%, rgba(255, 170, 90, 0.08), transparent 26%),
    repeating-radial-gradient(circle at 50% 18%, transparent 0 78px, rgba(255, 170, 90, 0.03) 79px 80px);
  opacity: 0.28;
  mix-blend-mode: screen;
  transform: translateY(var(--parallax-y, 0px));
}

.ambient-vignette {
  background:
    radial-gradient(circle at center, transparent 52%, rgba(0, 0, 0, 0.38) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.28), transparent 26%, rgba(0, 0, 0, 0.25));
}

.site-shell > header,
.site-shell > main {
  position: relative;
  z-index: 2;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 80px 24px;
}

.section {
  position: relative;
  margin-top: 112px;
  margin-bottom: 112px;
  border-top: 1px solid rgba(255, 170, 90, 0.2);
}

.section::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 170, 90, 0.38), transparent);
  opacity: 0.56;
}

.section::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  top: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 170, 90, 0.42), transparent);
  filter: blur(1.5px);
  opacity: 0.35;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  font-family: "Cinzel", serif;
  font-weight: 600;
  line-height: 1.02;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.2rem, 7vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: 0.01em;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
}

.hero h1 {
  font-size: clamp(2rem, 5.9vw, 4.15rem);
  line-height: 0.96;
  letter-spacing: 0.01em;
  max-width: 14ch;
  margin: 0 auto;
}

.hero__brand {
  margin: 0 auto 0.72rem;
  font-family: "Cinzel", serif;
  font-size: clamp(0.72rem, 1.1vw, 0.86rem);
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 170, 90, 0.86);
  text-align: center;
}

.hero__subheading {
  margin: 0.78rem auto 0;
  font-family: "Cinzel", serif;
  font-size: clamp(0.92rem, 1.5vw, 1.08rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 170, 90, 0.9);
  text-align: center;
}

.hero__domain {
  margin: 0.4rem auto 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(0.72rem, 1vw, 0.82rem);
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: lowercase;
  color: rgba(255, 196, 140, 0.62);
  text-align: center;
}

h2 {
  font-size: clamp(1.9rem, 4.4vw, 3.05rem);
  max-width: 12ch;
  line-height: 1.01;
  letter-spacing: 0.008em;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

h3 {
  font-size: clamp(1.2rem, 2.2vw, 2rem);
  line-height: 1.05;
}

p {
  margin: 0;
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.72;
}

.hero {
  min-height: 94svh;
  display: grid;
  align-items: center;
  margin: 0;
  padding: 1.25rem 0 0.85rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateY(var(--hero-parallax, 0px));
  background:
    radial-gradient(circle at var(--hero-light-x, 50%) var(--hero-light-y, 24%), rgba(255, 170, 90, 0.13), transparent 37%),
    radial-gradient(circle at 50% 18%, rgba(0, 0, 0, 0.56), transparent 44%);
  transition: transform 120ms linear;
  pointer-events: none;
  z-index: 0;
}

.hero__inner {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero__inner::before {
  content: "";
  position: absolute;
  inset: -34px -20px;
  background: radial-gradient(circle at 50% 20%, rgba(255, 170, 90, 0.12), transparent 42%);
  filter: blur(38px);
  pointer-events: none;
  z-index: -1;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  opacity: 0.42;
}

.hero__glow--left {
  top: 8%;
  left: -8%;
  width: 18rem;
  height: 18rem;
  background: rgba(195, 123, 53, 0.09);
}

.hero__glow--right {
  top: 18%;
  right: -8%;
  width: 20rem;
  height: 20rem;
  background: rgba(255, 159, 67, 0.07);
}

.logo-mark {
  position: relative;
  width: min(86vw, 350px);
  margin: 0 auto 1.7rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(195, 123, 53, 0.24);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.48),
    0 0 34px rgba(255, 170, 90, 0.1);
  overflow: hidden;
}

.logo-mark::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  border: 1px solid rgba(255, 170, 90, 0.24);
  opacity: 0.66;
  pointer-events: none;
}

.logo-mark img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.logo-mark.is-missing {
  min-height: 12rem;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.4);
}

.logo-mark.is-missing img {
  display: none;
}

.logo-mark.is-missing > span {
  padding: 0.9rem 1.2rem;
  border-radius: var(--pill-radius);
  border: 1px solid var(--stroke-strong);
  color: var(--text);
}

.hero__lede {
  max-width: 720px;
  margin: 1.02rem auto 0;
  display: grid;
  gap: 0.86rem;
}

.hero__lede p {
  line-height: 1.72;
  color: rgba(244, 239, 232, 0.82);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.55rem;
  justify-content: center;
}

.hero__actions--left {
  justify-content: flex-start;
}

/* Premium CTA treatment with subtle shine sweep and glow bloom */
.button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 3.5rem;
  padding: 0.95rem 1.45rem;
  border: 1px solid transparent;
  border-radius: var(--pill-radius);
  font-family: "Inter", sans-serif;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition:
    transform var(--duration-fast) var(--ease-standard),
    box-shadow var(--duration-fast) var(--ease-standard),
    border-color var(--duration-fast) var(--ease-standard),
    filter var(--duration-fast) var(--ease-standard);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button:active {
  transform: none;
  box-shadow: inherit;
}

.button--primary {
  color: #1b120b;
  background: linear-gradient(136deg, #ffb05d 0%, #d38738 58%, #bf732b 100%);
  box-shadow:
    0 16px 36px var(--accent-shadow),
    0 0 32px var(--glow-soft),
    inset 0 1px 0 rgba(255, 248, 235, 0.5);
}

.button--primary:hover,
.button--primary:focus-visible {
  box-shadow:
    0 20px 42px rgba(195, 123, 53, 0.36),
    0 0 34px var(--glow-strong),
    inset 0 1px 0 rgba(255, 248, 235, 0.65);
}

.button--secondary {
  color: var(--text);
  border-color: var(--stroke);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 45%),
    rgba(16, 16, 16, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  border-color: rgba(255, 170, 90, 0.5);
  box-shadow:
    0 0 26px var(--glow-soft),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.section-copy {
  display: grid;
  gap: 0.82rem;
  align-content: start;
}

.section-copy p + p {
  margin-top: 0.2rem;
}

.benefit-list {
  display: flex;
  flex-direction: column;
}

/* Elite card treatment: layered gradients + soft inner glow + lift */
.benefit-card,
.protocol-card,
.video-frame {
  position: relative;
  transition:
    transform var(--duration-base) var(--ease-standard),
    box-shadow var(--duration-base) var(--ease-standard),
    border-color var(--duration-base) var(--ease-standard);
}

.benefit-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 54%),
    rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 170, 90, 0.35);
  border-radius: var(--radius-sm);
  padding: var(--space-card-y) var(--space-card-x);
  margin-bottom: 12px;
  text-align: center;
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  box-shadow: var(--shadow-soft);
}

.benefit-card::after,
.protocol-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 22px rgba(255, 170, 90, 0.06);
}

.benefit-card:hover,
.protocol-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 170, 90, 0.5);
  box-shadow: var(--shadow-soft-hover);
}

.benefit-card:last-child {
  margin-bottom: 0;
}

.section--media-grid {
  margin-top: 80px;
  margin-bottom: 80px;
}

main > .section--media-grid:first-child {
  margin-top: 44px;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  align-items: start;
}

/* Premium video frame + hover overlay release */
.video-frame {
  width: 100%;
  max-width: 350px;
  justify-self: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 170, 90, 0.25);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 56%),
    rgba(0, 0, 0, 0.35);
  box-shadow: var(--shadow-video);
}

.video-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(6, 6, 6, 0.36), rgba(6, 6, 6, 0.18));
  opacity: 0.72;
  pointer-events: none;
  transition: opacity var(--duration-base) var(--ease-standard);
  z-index: 1;
}

.video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 170, 90, 0.16);
  pointer-events: none;
  z-index: 2;
}

.video-frame video {
  position: relative;
  z-index: 0;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: center center;
  border-radius: var(--radius-lg);
  transition:
    transform var(--duration-fast) var(--ease-standard),
    filter var(--duration-fast) var(--ease-standard);
  filter: saturate(0.94) contrast(1.03);
}

.video-frame:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-video-hover);
}

.video-frame:hover::before {
  opacity: 0.18;
}

.video-frame:hover video {
  transform: scale(1.03);
  filter: saturate(1) contrast(1.07);
}

.video-frame.is-missing video {
  display: none;
}

.video-frame__fallback {
  width: 100%;
  aspect-ratio: 9 / 16;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--text-secondary);
  padding: 1rem;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 159, 67, 0.08), transparent 24%),
    rgba(0, 0, 0, 0.5);
}

.video-frame__fallback span::before {
  content: "▶";
  display: block;
  margin-bottom: 0.55rem;
  color: var(--accent-glow);
}

.section--protocol h2 {
  margin-bottom: 1.2rem;
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.protocol-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 54%),
    rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 170, 90, 0.35);
  border-radius: var(--radius-sm);
  padding: var(--space-card-y) var(--space-card-x);
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.protocol-card__number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 170, 90, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8rem;
  color: var(--accent-glow);
  font-weight: 800;
  font-size: 1.35rem;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 213, 160, 0.3), transparent 45%),
    rgba(255, 140, 70, 0.08);
  box-shadow: 0 0 26px var(--glow-soft);
}

.protocol-card h3 {
  margin-bottom: 0.45rem;
}

/* Premium reveal: fade + slight blur sharpen for cinematic entry */
.reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  filter: blur(3px);
  transition:
    opacity var(--duration-reveal) var(--ease-standard),
    transform var(--duration-reveal) var(--ease-standard),
    filter var(--duration-reveal) var(--ease-standard);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.reveal-stagger {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity calc(var(--duration-reveal) - 50ms) var(--ease-standard),
    transform calc(var(--duration-reveal) - 50ms) var(--ease-standard),
    box-shadow var(--duration-base) var(--ease-standard),
    border-color var(--duration-base) var(--ease-standard);
  transition-delay: var(--stagger-delay, 0ms);
}

.reveal-stagger.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 820px) {
  .split-layout {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }

  .media-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (min-width: 1180px) {
  .media-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 819px) {
  .container {
    padding: 48px 20px;
  }

  .section {
    margin-top: 64px;
    margin-bottom: 64px;
  }

  .section::before {
    left: 20px;
    right: 20px;
  }

  .section--media-grid {
    margin-top: 40px;
    margin-bottom: 40px;
  }

  .hero {
    min-height: auto;
    padding: 0.7rem 0 0.2rem;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 9vw, 2.75rem);
    line-height: 1;
    max-width: 13ch;
  }

  .hero__brand {
    margin-bottom: 0.6rem;
    letter-spacing: 0.2em;
  }

  .hero__subheading {
    margin-top: 0.68rem;
    letter-spacing: 0.15em;
  }

  .hero__domain {
    margin-top: 0.3rem;
    letter-spacing: 0.14em;
  }

  .hero__lede {
    margin-top: 0.9rem;
    gap: 0.74rem;
  }

  .hero__actions {
    margin-top: 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .reveal-stagger,
  .button,
  .video-frame,
  .benefit-card,
  .protocol-card,
  .video-frame video {
    transition: none;
    animation: none;
  }

  .reveal,
  .reveal-stagger {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .cosmic-canvas,
  .geometry-overlay {
    display: none;
  }
}
