:root {
  --ink: #171614;
  --muted: #706b63;
  --paper: #f6f1e9;
  --cream: #efe5d8;
  --sage: #778f75;
  --clay: #b86f50;
  --charcoal: #202522;
  --line: rgba(23, 22, 20, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

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

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

.grain {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.13;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.5) 0 1px, transparent 1px),
    radial-gradient(circle at 70% 40%, rgba(0, 0, 0, 0.28) 0 1px, transparent 1px);
  background-size: 5px 5px, 7px 7px;
  mix-blend-mode: soft-light;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 20px clamp(18px, 4vw, 54px);
  color: #fff;
  transition: background 280ms ease, color 280ms ease, padding 280ms ease, backdrop-filter 280ms ease;
}

.site-header.is-scrolled {
  padding-block: 12px;
  color: var(--ink);
  background: rgba(246, 241, 233, 0.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border: 1px solid currentColor;
  border-radius: 50%;
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 8px 5px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-28deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  font-size: 0.9rem;
  font-weight: 700;
}

.nav-links a,
.header-cta {
  opacity: 0.9;
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.header-cta:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.header-cta {
  justify-self: end;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 11px 16px;
  font-size: 0.88rem;
  font-weight: 800;
}

.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  align-items: center;
  padding: 120px clamp(18px, 6vw, 88px) 84px;
  overflow: hidden;
  color: #fff;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  transform: scale(1.05);
  animation: heroDrift 12s ease-in-out infinite alternate;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(9, 10, 9, 0.82), rgba(9, 10, 9, 0.34) 48%, rgba(9, 10, 9, 0.2)),
    linear-gradient(0deg, rgba(9, 10, 9, 0.48), transparent 45%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--clay);
}

.hero .eyebrow {
  color: #f2c9a8;
}

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

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0;
  line-height: 0.95;
}

h1 {
  margin-bottom: 24px;
  max-width: 730px;
  font-size: clamp(4rem, 10vw, 8.8rem);
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.45rem, 5.8vw, 6.2rem);
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.hero-text {
  max-width: 590px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: transform 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button.primary {
  color: var(--ink);
  background: #fff;
}

.button.ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.hero-panel {
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: clamp(30px, 6vw, 80px);
  z-index: 2;
  width: min(320px, calc(100vw - 36px));
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.hero-panel span,
.hero-panel small {
  display: block;
  color: rgba(255, 255, 255, 0.74);
  font-weight: 700;
}

.hero-panel strong {
  display: block;
  margin: 10px 0 8px;
  font-size: 1.55rem;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  width: 1px;
  height: 58px;
  background: rgba(255, 255, 255, 0.26);
  overflow: hidden;
}

.scroll-cue span {
  display: block;
  width: 100%;
  height: 24px;
  background: #fff;
  animation: scrollPulse 1.6s ease-in-out infinite;
}

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--charcoal);
  color: #fff;
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 34px;
  padding: 18px 0;
  animation: ticker 28s linear infinite;
}

.ticker span {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.7rem, 4vw, 4rem);
  white-space: nowrap;
}

.section {
  padding: clamp(76px, 12vw, 150px) clamp(18px, 6vw, 88px);
}

.motion-section {
  height: 360vh;
  position: relative;
  background:
    linear-gradient(135deg, #151817 0%, #202522 42%, #7d4f42 100%);
  color: #fff;
}

.motion-stage {
  position: sticky;
  top: 0;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 1fr);
  gap: clamp(22px, 5vw, 70px);
  align-items: center;
  padding: 96px clamp(18px, 6vw, 88px);
  overflow: hidden;
}

.motion-stage::before {
  content: "LUMA";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -52%);
  color: rgba(255, 255, 255, 0.035);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(7rem, 22vw, 24rem);
  font-weight: 700;
  pointer-events: none;
}

.motion-copy,
.motion-visual {
  position: relative;
  z-index: 1;
}

.motion-copy h2 {
  max-width: 720px;
}

.motion-steps {
  display: grid;
  gap: 14px;
  max-width: 520px;
  margin-top: 36px;
}

.motion-steps p {
  margin: 0;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.42);
  font-size: clamp(1.05rem, 1.6vw, 1.38rem);
  font-weight: 800;
  transition: color 180ms ease, transform 180ms ease;
}

.motion-steps p.is-active {
  color: #fff;
  transform: translateX(12px);
}

.motion-visual {
  min-height: min(72svh, 680px);
}

.motion-mat {
  position: absolute;
  left: 4%;
  right: 2%;
  bottom: 10%;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), rgba(242, 201, 168, 0.74), rgba(255, 255, 255, 0.16), transparent);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.44);
}

.motion-ribbon {
  position: absolute;
  inset: auto auto 22% 13%;
  width: min(58vw, 560px);
  height: min(30vw, 280px);
  border: 1px solid rgba(242, 201, 168, 0.36);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 52% 48% 42% 58%;
  transform: rotate(var(--ribbon-rotate, -8deg)) scale(var(--ribbon-scale, 1));
  opacity: var(--ribbon-opacity, 0.72);
}

.ribbon-two {
  inset: auto auto 30% 23%;
  width: min(42vw, 430px);
  height: min(24vw, 230px);
  border-color: rgba(119, 143, 117, 0.5);
  border-right-color: transparent;
  transform: rotate(var(--ribbon-two-rotate, 18deg)) scale(var(--ribbon-two-scale, 1));
}

.motion-canvas {
  position: absolute;
  inset: 0 0 4%;
  width: 100%;
  height: 100%;
}

.motion-readout {
  position: absolute;
  right: 0;
  top: 16%;
  display: grid;
  gap: 6px;
  min-width: 138px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.motion-readout span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.motion-readout strong {
  font-size: 2.35rem;
}

.motion-readout em {
  color: #f2c9a8;
  font-size: 0.86rem;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.motion-progress {
  position: absolute;
  left: clamp(18px, 6vw, 88px);
  right: clamp(18px, 6vw, 88px);
  bottom: 34px;
  z-index: 2;
  height: 2px;
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.motion-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: #f2c9a8;
  transform: scaleX(0);
  transform-origin: left;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: center;
}

.section-copy p:not(.eyebrow),
.feature-copy p,
.closing-copy p {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  line-height: 1.8;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 40px;
}

.stats div {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.stats strong {
  display: block;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.stats span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.image-stack {
  position: relative;
}

.image-stack img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 34px 90px rgba(32, 37, 34, 0.23);
}

.floating-card {
  position: absolute;
  right: -22px;
  bottom: 34px;
  width: 150px;
  padding: 18px;
  color: #fff;
  background: var(--charcoal);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
  animation: float 4.8s ease-in-out infinite;
}

.floating-card span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
  font-weight: 800;
}

.floating-card strong {
  display: block;
  margin-top: 8px;
  font-size: 2.5rem;
}

.programs {
  background: #e4ece0;
}

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

.section-heading h2 {
  max-width: 820px;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.program-card {
  min-height: 370px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(32, 37, 34, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  transition: transform 260ms ease, background 260ms ease, box-shadow 260ms ease;
}

.program-card:hover {
  transform: translateY(-10px);
  background: #fff;
  box-shadow: 0 24px 60px rgba(32, 37, 34, 0.16);
}

.program-index {
  color: var(--clay);
  font-weight: 900;
}

.program-card p {
  color: var(--muted);
  line-height: 1.7;
}

.program-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-weight: 800;
}

.feature {
  min-height: 86vh;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.8fr);
  gap: clamp(30px, 6vw, 88px);
  align-items: center;
  background: var(--charcoal);
  color: #fff;
}

.feature img {
  width: 100%;
  height: min(68vh, 720px);
  object-fit: cover;
  border-radius: 8px;
}

.feature-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.schedule-list {
  border-top: 1px solid var(--line);
}

.schedule-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 94px;
  border-bottom: 1px solid var(--line);
}

.schedule-row span {
  color: var(--clay);
  font-weight: 900;
}

.schedule-row strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 4.6rem);
  line-height: 1;
}

.schedule-row em {
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.closing {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.75fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
  background: #d8b398;
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: clamp(20px, 3vw, 34px);
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(23, 22, 20, 0.14);
  border-radius: 8px;
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: rgba(23, 22, 20, 0.66);
  font-size: 0.86rem;
  font-weight: 900;
}

.lead-form input,
.lead-form select,
.lead-form button {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(23, 22, 20, 0.18);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  font: inherit;
  font-weight: 700;
}

.lead-form button {
  margin-top: 10px;
  color: #fff;
  background: var(--charcoal);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.lead-form button:hover {
  transform: translateY(-2px);
  background: #111311;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1), transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

@keyframes heroDrift {
  from {
    transform: scale(1.05) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.11) translate3d(-1.5%, -1%, 0);
  }
}

@keyframes scrollPulse {
  from {
    transform: translateY(-28px);
  }
  to {
    transform: translateY(62px);
  }
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

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

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .split,
  .feature,
  .closing,
  .motion-stage {
    grid-template-columns: 1fr;
  }

  .motion-stage {
    align-content: center;
    padding-block: 84px;
  }

  .motion-copy h2 {
    max-width: 680px;
  }

  .motion-visual {
    min-height: 54svh;
  }

  .program-grid {
    grid-template-columns: 1fr;
  }

  .feature img {
    height: auto;
    aspect-ratio: 3 / 2;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding-inline: 16px;
  }

  .brand span:last-child {
    display: none;
  }

  .hero {
    min-height: 94svh;
    padding-inline: 18px;
    padding-bottom: 150px;
  }

  h1 {
    font-size: clamp(3.2rem, 18vw, 5rem);
  }

  .hero-panel {
    left: 18px;
    right: 18px;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }

  .schedule-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 22px 0;
  }

  .floating-card {
    right: 12px;
  }

  .motion-section {
    height: 330vh;
  }

  .motion-stage {
    padding-top: 82px;
  }

  .motion-copy h2 {
    font-size: clamp(2.55rem, 15vw, 4.6rem);
  }

  .motion-steps {
    margin-top: 18px;
    gap: 6px;
  }

  .motion-steps p {
    padding: 9px 0;
    font-size: 0.98rem;
  }

  .motion-visual {
    min-height: 47svh;
  }

  .motion-readout {
    top: auto;
    right: 10px;
    bottom: 22%;
    min-width: 104px;
    padding: 13px;
  }

  .motion-readout strong {
    font-size: 1.8rem;
  }
}

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