@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@300;400&family=IBM+Plex+Sans:wght@300;400;500;600&display=swap');

:root {
  --ink: #100d0b;
  --ink-soft: #18120f;
  --cream: #f4ead9;
  --mist: #c8bcaa;
  --ember: #f06b28;
  --sun: #ffb14a;
  --sage: #8fa58c;
  --sky: #7699a6;
  --line: rgba(244, 234, 217, 0.18);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  color: var(--cream);
  background:
    radial-gradient(circle at 50% 72%, rgba(240, 107, 40, 0.09), transparent 22rem),
    var(--ink);
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--sun);
  outline-offset: 6px;
}

.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 20;
}

.stars {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    radial-gradient(circle, rgba(255, 228, 188, 0.8) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(255, 228, 188, 0.5) 0 1px, transparent 1.5px);
  background-position: 8vw 18vh, 62vw 42vh;
  background-size: 29vw 37vh, 41vw 53vh;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.ember {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 10px 3px rgba(240, 107, 40, 0.7);
  animation: rise 8s linear infinite;
  opacity: 0;
}

.ember-one { left: 28%; bottom: 8%; animation-delay: 0s; }
.ember-two { left: 62%; bottom: 4%; animation-delay: 2.8s; animation-duration: 11s; }
.ember-three { left: 46%; bottom: 2%; animation-delay: 5s; animation-duration: 9s; }

@keyframes rise {
  0% { transform: translate(0, 0) scale(0.6); opacity: 0; }
  12% { opacity: 0.8; }
  60% { transform: translate(26px, -54vh) scale(1); opacity: 0.5; }
  100% { transform: translate(-10px, -88vh) scale(0.2); opacity: 0; }
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem clamp(1.25rem, 5vw, 5rem);
  border-bottom: 1px solid rgba(244, 234, 217, 0.12);
}

.wordmark,
.header-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--cream);
  text-decoration: none;
}

.wordmark {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 600;
}

.wordmark-sun {
  width: 15px;
  height: 15px;
  border: 1px solid var(--sun);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(255, 177, 74, 0.6);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.header-link {
  font-family: "IBM Plex Mono", monospace;
  padding: 0.5rem 0.7rem;
  border: 1px solid rgba(244, 234, 217, 0.18);
  border-radius: 999px;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
}

.header-link:hover {
  border-color: rgba(255, 177, 74, 0.55);
  background: rgba(255, 177, 74, 0.06);
}

.specials-link {
  border-color: rgba(255, 177, 74, 0.55);
  box-shadow: 0 0 18px rgba(240, 107, 40, 0.18), inset 0 0 12px rgba(255, 177, 74, 0.04);
}

.specials-link:hover {
  box-shadow: 0 0 24px rgba(240, 107, 40, 0.32), inset 0 0 16px rgba(255, 177, 74, 0.08);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: end center;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  background: url("./assets/yoga-lawn-ember-portal.png") center / cover no-repeat;
  transform: scale(1.08);
  animation: settle 1.8s cubic-bezier(.2,.7,.2,1) forwards;
}

@keyframes settle {
  to { transform: scale(1); }
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(8, 7, 6, 0.4), rgba(8, 7, 6, 0.08) 38%, var(--ink) 100%),
    linear-gradient(to right, rgba(8, 7, 6, 0.3), transparent 60%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(1040px, calc(100% - 2.5rem));
  padding: 8.5rem 0 6vh;
}

.kicker,
.story-label,
.path-number {
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.69rem;
}

.kicker { color: var(--sun); }

h1, h2, h3 {
  margin: 0;
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 500;
  line-height: 0.94;
}

h1 {
  max-width: 900px;
  font-size: clamp(3.7rem, 9.6vw, 8.8rem);
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.hero-intro {
  max-width: 650px;
  margin: 2rem 0;
  color: #e3d8c8;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.hero-intro p { margin: 0; }
.hero-intro p + p { margin-top: 1rem; }

.scroll-invitation {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ember);
  padding-bottom: 0.45rem;
}

.scroll-invitation span { animation: nudge 1.6s ease-in-out infinite; }

@keyframes nudge {
  50% { transform: translateY(5px); }
}

.story {
  width: min(1040px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: clamp(7rem, 13vw, 12rem) 0;
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: clamp(2rem, 8vw, 9rem);
  border-bottom: 1px solid var(--line);
}

.story-label { color: var(--sage); padding-top: 0.5rem; }
.story-copy { max-width: 680px; }
.story h2,
.crossroads h2 {
  font-size: clamp(3rem, 6vw, 5.7rem);
  letter-spacing: -0.03em;
}

.story-copy p {
  max-width: 580px;
  margin: 2rem 0 0;
  color: var(--mist);
  font-size: 1.05rem;
}

.crossroads {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: clamp(7rem, 11vw, 10rem) 0 clamp(3rem, 6vw, 4.5rem);
}

.crossroads-heading { text-align: center; }

.season-offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  width: min(980px, 100%);
  margin: 2rem auto 3rem;
  padding: 1.3rem 1.4rem;
  border: 1px solid rgba(255, 177, 74, 0.32);
  border-radius: 1.25rem;
  background:
    linear-gradient(135deg, rgba(255, 177, 74, 0.1), rgba(240, 107, 40, 0.05)),
    rgba(15, 12, 10, 0.78);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.18);
}

.season-offer-copy p {
  margin: 0;
  color: var(--mist);
}

.season-offer-label {
  margin-bottom: 0.55rem !important;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sun) !important;
}

.season-offer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid rgba(255, 177, 74, 0.62);
  border-radius: 999px;
  background: rgba(255, 177, 74, 0.11);
  color: var(--cream);
  text-decoration: none;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.71rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 220ms ease, background-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.season-offer-link:hover {
  border-color: var(--sun);
  background: rgba(255, 177, 74, 0.18);
  transform: translateY(-1px);
  box-shadow: 0 0 24px rgba(232, 126, 43, 0.16);
}

.path-map {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.2rem, 3vw, 2.5rem);
  padding-top: 10rem;
}

.path-orb {
  position: absolute;
  top: 3.2rem;
  left: 50%;
  width: 48px;
  height: 48px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 177, 74, 0.7);
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 0 70px 15px rgba(240, 107, 40, 0.18);
}

.path-orb span {
  width: 8px;
  height: 8px;
  background: var(--sun);
  border-radius: 50%;
  box-shadow: 0 0 14px 5px rgba(255, 177, 74, 0.6);
}

.path-line {
  position: absolute;
  top: 5.9rem;
  width: calc(25% - 1.2rem);
  height: 4rem;
  border-top: 1px solid rgba(255, 177, 74, 0.35);
}

.path-line-left {
  left: 25%;
  border-left: 1px solid rgba(255, 177, 74, 0.35);
  border-radius: 12px 0 0;
}

.path-line-right {
  right: 25%;
  border-right: 1px solid rgba(255, 177, 74, 0.35);
  border-radius: 0 12px 0 0;
}

.path-card {
  position: relative;
  min-height: 760px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  color: var(--cream);
  text-decoration: none;
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 4vw, 3rem);
  transition: transform 300ms ease, border-color 300ms ease, background 300ms ease;
}

.path-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.82;
  transition: opacity 300ms ease, transform 700ms ease;
}

.zen-path {
  background: linear-gradient(150deg, rgba(93, 115, 92, 0.18), rgba(16, 13, 11, 0.94) 55%);
}

.zen-path::before {
  background: url("./assets/zen-den-session.jpg") center 28% / cover;
  transform: translateY(-220px);
}

.embers-path {
  background: linear-gradient(210deg, rgba(240, 107, 40, 0.16), rgba(16, 13, 11, 0.95) 58%);
}

.embers-path::before {
  background: url("./assets/embers-at-home.png") center 58% / cover;
  transform: translateY(-230px);
}

.path-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(16, 13, 11, 0.05), rgba(16, 13, 11, 0.5) 32%, rgba(16, 13, 11, 0.98) 61%, var(--ink) 77%),
    linear-gradient(to right, rgba(16, 13, 11, 0.12), transparent 60%);
}

.path-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 177, 74, 0.55);
}

.path-card:hover::before { opacity: 0.94; }
.zen-path:hover::before { transform: translateY(-220px) scale(1.04); }
.embers-path:hover::before { transform: translateY(-230px) scale(1.04); }

.path-card > * { position: relative; z-index: 1; }
.path-number { color: var(--sun); }
.path-card-copy {
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.embers-path .path-card-copy { margin-top: 1.7rem; }
.path-name { color: var(--sage); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; }
.embers-path .path-name { color: #d89568; }
.path-card h3 { font-size: clamp(2.7rem, 4.5vw, 4.2rem); }
.zen-path-heading span,
.embers-path-heading span { display: block; }
.path-card-copy > p:not(.path-name) { color: var(--mist); margin: 1.4rem 0; }
.path-card ul { margin: 1.5rem 0 0; padding: 0; list-style: none; }
.path-card li { padding: 0.65rem 0; border-top: 1px solid var(--line); font-size: 0.88rem; }

.path-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 177, 74, 0.58);
  border-radius: 999px;
  background: rgba(255, 177, 74, 0.07);
  box-shadow: 0 0 0 rgba(255, 177, 74, 0);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease, color 220ms ease;
}

.zen-path .path-cta {
  border-color: rgba(184, 207, 169, 0.58);
  background: rgba(117, 150, 103, 0.12);
}

.embers-path .path-cta {
  border-color: rgba(255, 177, 74, 0.65);
  background: rgba(221, 104, 37, 0.13);
}

.path-cta-icon {
  width: 1.45rem;
  height: 1.45rem;
  color: var(--sun);
  transition: color 200ms ease, filter 200ms ease, transform 200ms ease;
}

.path-cta-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.path-card:hover .path-cta-icon {
  color: #ffd58a;
  filter: drop-shadow(0 0 6px rgba(255, 177, 74, 0.55));
  transform: translateY(-2px);
}

.path-card:hover .path-cta {
  color: #fff4df;
  border-color: var(--sun);
  background: rgba(255, 177, 74, 0.17);
  box-shadow: 0 0 24px rgba(232, 126, 43, 0.13);
}

.path-card:hover .app-cta-icon { transform: translateY(-2px) scale(1.04); }

.why-it-works {
  position: relative;
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 5rem) 0 clamp(6rem, 12vw, 11rem);
}

.why-it-works::before {
  content: "✦";
  position: absolute;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--ember);
}

.why-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: end;
}

.why-intro .kicker {
  grid-column: 1 / -1;
  margin: 0 0 -1rem;
}

.why-intro h2 {
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 400;
  font-size: clamp(2.8rem, 6vw, 5.8rem);
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.why-intro > p:last-child {
  margin: 0 0 0.4rem;
  color: var(--mist);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
}

.sensory-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(3.5rem, 7vw, 6rem);
  border-top: 1px solid rgba(238, 198, 126, 0.28);
  border-bottom: 1px solid rgba(238, 198, 126, 0.28);
  background: rgba(12, 9, 8, 0.45);
}

.sensory-note {
  position: relative;
  overflow: hidden;
  padding: 2.2rem clamp(1.2rem, 3vw, 2.5rem) 2.5rem;
  outline: none;
  transition: background-color 350ms ease, box-shadow 350ms ease, transform 350ms ease;
}

.sensory-note::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at 50% 10%, rgba(235, 145, 55, 0.16), transparent 62%);
  opacity: 0;
  transition: opacity 350ms ease;
}

.sensory-note > * {
  position: relative;
  z-index: 1;
}

.sensory-note + .sensory-note {
  border-left: 1px solid rgba(238, 198, 126, 0.28);
}

.sensory-icon {
  display: block;
  width: 2rem;
  height: 2rem;
  color: var(--ember);
  transition: color 300ms ease, text-shadow 300ms ease, transform 300ms ease;
}

.sensory-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sensory-label,
.benefit-title {
  margin: 1.2rem 0 0;
  color: var(--sun);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sensory-notes h3 {
  margin-top: 0.45rem;
  font-size: clamp(1.5rem, 2.4vw, 2.15rem);
}

.sensory-summary {
  margin: 1rem 0 0;
  color: var(--mist);
  font-size: 0.95rem;
}

.sensory-benefits {
  max-height: 0;
  opacity: 0;
  transform: translateY(12px);
  transition: max-height 450ms ease, opacity 300ms ease, transform 350ms ease;
}

.sensory-benefits ul {
  display: grid;
  gap: 0.65rem;
  margin: 0.85rem 0 1.3rem;
  padding: 0;
  color: #e3d8c8;
  font-size: 0.86rem;
  list-style: none;
}

.sensory-benefits li {
  position: relative;
  padding-left: 1rem;
}

.sensory-benefits li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--ember);
}

.sensory-benefits a {
  color: var(--sun);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.sensory-note:hover,
.sensory-note:focus,
.sensory-note:focus-within {
  z-index: 2;
  background: rgba(49, 25, 13, 0.66);
  box-shadow: 0 0 45px rgba(222, 112, 31, 0.12) inset;
  transform: translateY(-6px);
}

.sensory-note:hover::before,
.sensory-note:focus::before,
.sensory-note:focus-within::before {
  opacity: 1;
}

.sensory-note:hover .sensory-icon,
.sensory-note:focus .sensory-icon,
.sensory-note:focus-within .sensory-icon {
  color: #ffd58a;
  text-shadow: 0 0 16px rgba(244, 155, 63, 0.9);
  transform: scale(1.12);
}

.sensory-note:hover .sensory-benefits,
.sensory-note:focus .sensory-benefits,
.sensory-note:focus-within .sensory-benefits {
  max-height: 260px;
  opacity: 1;
  transform: translateY(0);
}

.care-note {
  display: grid;
  grid-template-columns: 0.45fr 1.55fr;
  gap: 2rem;
  width: min(760px, 100%);
  margin: clamp(3rem, 6vw, 5rem) auto 0;
  padding: 1.5rem 0;
}

.care-note p {
  margin: 0;
}

.care-note > p:last-child {
  color: #e3d8c8;
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 400;
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  line-height: 1.25;
  text-wrap: balance;
}

footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem clamp(1.25rem, 5vw, 5rem);
  border-top: 1px solid var(--line);
  color: #897d70;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

footer p { text-align: center; margin: 0; }
footer span:last-child { text-align: right; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.9rem;
    padding-top: 1.15rem;
  }
  .header-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1.25fr;
    gap: 0.35rem;
  }
  .header-link {
    justify-content: center;
    padding: 0.5rem 0.25rem;
    font-size: 0.51rem;
    letter-spacing: 0.045em;
    text-align: center;
  }
  .hero-copy { padding-bottom: 3rem; }
  .story { grid-template-columns: 1fr; gap: 1.5rem; }
  .season-offer {
    grid-template-columns: 1fr;
    margin: 1.75rem auto 2.5rem;
    padding: 1.15rem;
  }
  .season-offer-link { width: 100%; }
  .path-map { grid-template-columns: 1fr; padding-top: 7rem; }
  .path-line { display: none; }
  .path-orb { top: 2.2rem; }
  .path-card { min-height: 700px; }
  .path-card-copy { margin-bottom: 1.1rem; }
  .why-intro { grid-template-columns: 1fr; gap: 1.5rem; }
  .why-intro .kicker { margin-bottom: 0; }
  .sensory-notes { grid-template-columns: 1fr; }
  .sensory-note + .sensory-note {
    border-top: 1px solid rgba(238, 198, 126, 0.28);
    border-left: 0;
  }
  .sensory-benefits {
    max-height: none;
    opacity: 1;
    transform: none;
  }
  .sensory-note:hover,
  .sensory-note:focus,
  .sensory-note:focus-within {
    transform: none;
  }
  .care-note { grid-template-columns: 1fr; gap: 1rem; }
  footer { grid-template-columns: 1fr; text-align: center; }
  footer span:last-child { text-align: center; }
}

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