:root {
  --bg: #0b1220;
  --bg-soft: rgba(13, 21, 35, 0.82);
  --panel: rgba(19, 31, 49, 0.8);
  --line: rgba(212, 223, 235, 0.1);
  --text: #f4efe7;
  --muted: #bcc7d5;
  --accent: #d7b98f;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(57, 84, 124, 0.3), transparent 34%),
    linear-gradient(180deg, #101a2b 0%, #0b1220 48%, #08101a 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 28%);
}

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 64px;
}

.site-header,
.hero,
.section,
.contact-card,
.session-card {
  backdrop-filter: blur(18px);
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(8, 14, 24, 0.74);
  box-shadow: var(--shadow);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.brand-mark,
h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
}

.brand-mark {
  font-size: 1.45rem;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.brand-text,
.site-nav a,
.hero-text,
.featured-copy p,
.about-copy p,
.contact-card p,
.ritual-grid p,
.session-description,
.library-status {
  color: var(--muted);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.94rem;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.button:hover,
.button:focus-visible,
.filter-button:hover,
.filter-button:focus-visible {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 22px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(12, 21, 35, 0.82);
  box-shadow: var(--shadow);
}

.eyebrow,
.featured-label {
  margin: 0 0 10px;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

h1 {
  margin: 0;
  max-width: 9ch;
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 0.92;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.96;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.75rem;
}

.hero-text,
.about-copy p,
.contact-card p,
.ritual-grid p,
.session-description {
  line-height: 1.75;
}

.hero-text {
  max-width: 54ch;
  margin: 18px 0 0;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform 180ms ease, opacity 180ms ease, background 180ms ease;
}

.button-primary {
  color: #101826;
  background: linear-gradient(135deg, #eddabc, #cfa571);
}

.button-secondary,
.filter-button {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.1);
}

.hero-media,
.featured-card,
.contact-card,
.offer-card,
.ritual-grid article,
.portrait-placeholder,
.session-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: var(--panel);
}

.hero-media {
  overflow: hidden;
}

.hero-media img,
.featured-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hero-media-copy {
  padding: 18px 18px 20px;
}

.hero-media-copy audio {
  width: 100%;
  margin-top: 16px;
  filter: sepia(0.08) saturate(0.88) brightness(0.96);
}

.hero-media-copy,
.featured-copy {
  padding: 18px 18px 20px;
}

.hero-media-copy p:last-child,
.featured-copy p:last-child {
  margin-bottom: 0;
}

.section {
  margin-top: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--bg-soft);
  box-shadow: var(--shadow);
}

.section-intro {
  max-width: 680px;
  margin-bottom: 22px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 22px;
}

.ritual-grid,
.featured-grid {
  display: grid;
  gap: 16px;
}

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

.ritual-grid article {
  padding: 22px;
}

.ritual-grid span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #eddabc, #cfa571);
  color: #101826;
  font-weight: 700;
  margin-bottom: 14px;
}

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

.featured-card {
  overflow: hidden;
}

.featured-placeholder {
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(circle at 25% 25%, rgba(223, 196, 157, 0.18), transparent 24%),
    linear-gradient(140deg, #324867, #162235 54%, #0b1220);
}

.about-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 20px;
  align-items: stretch;
}

.portrait-placeholder {
  display: flex;
  align-items: end;
  justify-content: start;
  min-height: 260px;
  padding: 18px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  color: var(--accent);
  background:
    radial-gradient(circle at 30% 20%, rgba(216, 187, 143, 0.14), transparent 24%),
    linear-gradient(160deg, #22344c, #132030 58%, #0d1521);
}

.filter-group {
  display: flex;
  gap: 10px;
}

.filter-button {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  cursor: pointer;
}

.filter-button.active {
  color: #101826;
  background: linear-gradient(135deg, #eddabc, #cfa571);
  border-color: transparent;
}

.session-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.session-card {
  overflow: hidden;
}

.session-cover {
  min-height: 170px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 8px;
}

.warm-cover {
  background:
    linear-gradient(180deg, rgba(20, 23, 34, 0.15), rgba(10, 17, 29, 0.94)),
    linear-gradient(135deg, #4f5e83, #1a2434 54%, #b28859);
}

.rain-cover {
  background:
    linear-gradient(180deg, rgba(17, 25, 38, 0.2), rgba(4, 10, 20, 0.92)),
    linear-gradient(140deg, #637da2, #21344d 48%, #0d1724);
}

.dusk-cover {
  background:
    linear-gradient(180deg, rgba(31, 23, 33, 0.24), rgba(14, 13, 21, 0.92)),
    linear-gradient(135deg, #985a56, #4e3044 52%, #0e1627);
}

.dawn-cover {
  background:
    linear-gradient(180deg, rgba(41, 35, 27, 0.16), rgba(11, 16, 25, 0.94)),
    linear-gradient(135deg, #c08d61, #40556f 48%, #0b1220);
}

.session-tag {
  align-self: flex-start;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-size: 0.8rem;
}

.session-cover p,
.session-meta {
  margin: 0;
  color: rgba(244, 239, 231, 0.82);
}

.session-body {
  padding: 18px 20px 22px;
}

.session-meta {
  font-size: 0.9rem;
  color: var(--accent);
}

video,
audio {
  width: 100%;
  margin-top: 16px;
  border-radius: 16px;
  background: #02060d;
}

.library-status {
  margin: 16px 0 0;
}

.contact-card {
  padding: 22px;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.offer-card {
  padding: 18px;
}

.offer-label {
  margin: 0 0 8px;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

@media (max-width: 980px) {
  .site-header,
  .hero,
  .about-layout,
  .section-head {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header {
    position: static;
  }

  .ritual-grid,
  .featured-grid,
  .offer-grid,
  .session-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1120px);
    padding-top: 14px;
  }

  .site-header,
  .hero,
  .section {
    border-radius: 22px;
  }

  .hero,
  .section,
  .site-header {
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.7rem, 14vw, 4.2rem);
  }
}
