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

:root {
  --bg: #040613;
  --bg-soft: rgba(8, 15, 37, 0.9);
  --bg-strong: rgba(5, 10, 27, 0.96);
  --card: rgba(10, 18, 45, 0.84);
  --card-strong: rgba(9, 16, 39, 0.97);
  --line: rgba(147, 194, 255, 0.18);
  --line-strong: rgba(239, 207, 147, 0.3);
  --text: #f7f2e8;
  --muted: #d8def1;
  --gold: #f0cf88;
  --gold-deep: #b7822f;
  --cyan: #87d8ff;
  --violet: #5d67d8;
  --rose: #d17edd;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius-xl: 2rem;
  --radius-lg: 1.5rem;
  --radius-md: 1rem;
  --header-height: 5.6rem;
  --content-width: min(1180px, calc(100vw - 2rem));
  --scroll-progress: 0;
  --spell-top-y: 14%;
  --spell-side-y: 16%;
  --spell-bottom-y: 78%;
  --spell-violet-alpha: 0.08;
  --spell-violet-strong: 0.12;
  --spell-violet-soft: 0.05;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(240, 207, 136, 0.88) rgba(6, 10, 24, 0.88);
}

html::-webkit-scrollbar {
  width: 0.82rem;
}

html::-webkit-scrollbar-track {
  background:
    linear-gradient(180deg, rgba(8, 13, 31, 0.96), rgba(28, 10, 42, 0.96));
  border-left: 1px solid rgba(135, 216, 255, 0.12);
}

html::-webkit-scrollbar-thumb {
  border-radius: 999px;
  border: 2px solid rgba(8, 12, 25, 0.92);
  background:
    linear-gradient(180deg, rgba(255, 243, 205, 0.96), rgba(240, 207, 136, 0.92) 28%, rgba(164, 80, 182, 0.85) 100%);
  box-shadow:
    0 0 12px rgba(240, 207, 136, 0.26),
    0 0 18px rgba(135, 216, 255, 0.12);
}

html::-webkit-scrollbar-thumb:hover {
  background:
    linear-gradient(180deg, rgba(255, 246, 219, 0.98), rgba(245, 214, 152, 0.96) 28%, rgba(189, 97, 205, 0.9) 100%);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(38, 52, 126, 0.34), transparent 31%),
    radial-gradient(circle at 88% var(--spell-side-y), rgba(115, 38, 150, var(--spell-violet-alpha)), transparent 28%),
    radial-gradient(circle at 50% var(--spell-top-y), rgba(184, 91, 208, var(--spell-violet-soft)), transparent 30%),
    linear-gradient(180deg, #050818 0%, #08102b 24%, #090b22 46%, #170826 68%, #220a33 88%, #080512 100%);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}

body::before {
  opacity: 0.28;
  background-image:
    radial-gradient(circle at 8% 18%, rgba(255, 255, 255, 0.76) 0 1.2px, transparent 6px),
    radial-gradient(circle at 22% 72%, rgba(255, 255, 255, 0.5) 0 1.1px, transparent 5.4px),
    radial-gradient(circle at 41% 28%, rgba(255, 255, 255, 0.44) 0 1.4px, transparent 6.8px),
    radial-gradient(circle at 64% 16%, rgba(255, 255, 255, 0.64) 0 1.1px, transparent 5.8px),
    radial-gradient(circle at 74% 58%, rgba(255, 255, 255, 0.44) 0 1.1px, transparent 5.8px),
    radial-gradient(circle at 88% 28%, rgba(255, 255, 255, 0.42) 0 1.2px, transparent 6px),
    radial-gradient(circle at 92% 82%, rgba(255, 255, 255, 0.3) 0 1.2px, transparent 6px);
  filter: blur(1.2px);
}

body::after {
  z-index: -1;
  background:
    radial-gradient(circle at 15% 20%, rgba(112, 156, 255, 0.16), transparent 18%),
    radial-gradient(circle at 82% 16%, rgba(93, 103, 216, 0.13), transparent 18%),
    radial-gradient(circle at 20% var(--spell-bottom-y), rgba(169, 57, 182, var(--spell-violet-strong)), transparent 22%),
    radial-gradient(circle at 78% 82%, rgba(135, 216, 255, 0.11), transparent 20%),
    radial-gradient(circle at 58% 62%, rgba(202, 99, 210, var(--spell-violet-soft)), transparent 24%);
  filter: blur(22px);
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
  background: none;
  color: inherit;
}

[id] {
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 200;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(8, 12, 26, 0.96);
  border: 1px solid var(--line-strong);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sky-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -3;
  opacity: 0.58;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background:
    linear-gradient(180deg, rgba(4, 9, 25, 0.95), rgba(6, 13, 31, 0.78)),
    linear-gradient(90deg, rgba(117, 124, 214, 0.1), transparent 40%, rgba(240, 207, 136, 0.08));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 12px 40px rgba(4, 6, 20, 0.35);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(135, 216, 255, 0.65), rgba(240, 207, 136, 0.9), rgba(135, 216, 255, 0.55), transparent);
}

.site-header__inner {
  width: var(--content-width);
  min-height: var(--header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  flex: 1 1 auto;
  min-width: 0;
}

.brand img {
  width: 4.4rem;
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(135, 216, 255, 0.4)) drop-shadow(0 0 30px rgba(240, 207, 136, 0.18));
}

.brand__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand__text strong,
.site-nav a,
.eyebrow,
.section-heading h2,
.service-card h3,
.theme-card h3,
.event-card h3,
.video-card h3,
.library-copy h3,
.contact-card strong {
  font-family: "Cinzel", "Times New Roman", serif;
}

.brand__text strong {
  font-size: 1.12rem;
  letter-spacing: 0.08em;
}

.brand__text span:last-child {
  color: var(--muted);
  font-size: 0.96rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  position: relative;
  padding: 0.8rem 1rem;
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.25s ease, transform 0.25s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.55rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
  text-shadow: 0 0 10px rgba(240, 207, 136, 0.22);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.astral-hangers {
  position: fixed;
  inset: 0 0 auto 0;
  height: 0;
  pointer-events: none;
  z-index: 0;
  opacity: min(
    clamp(0, calc((100vw - 900px) / 340), 1),
    clamp(0, calc((100vh - 700px) / 180), 1)
  );
  transition: opacity 0.35s ease;
}

.astral-hanger {
  position: absolute;
  top: -0.25rem;
  width: 5.75rem;
  height: 52rem;
  transform-origin: top center;
  will-change: transform;
  overflow: visible;
  filter:
    drop-shadow(0 0 14px rgba(240, 207, 136, 0.28))
    drop-shadow(0 0 24px rgba(135, 216, 255, 0.12));
}

.astral-hanger::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 35% 35%, #fff7df 0%, var(--gold) 46%, var(--gold-deep) 100%);
  box-shadow:
    0 0 8px rgba(240, 207, 136, 0.82),
    0 0 16px rgba(135, 216, 255, 0.18);
}

.astral-hanger--left {
  left: clamp(2.6rem, 6vw, 7rem);
}

.astral-hanger--right {
  right: clamp(8rem, 14vw, 14rem);
}

.astral-hanger--far-right {
  right: clamp(2.5rem, 5vw, 5rem);
}

.astral-hanger__link {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff9eb 0%, var(--gold) 46%, var(--gold-deep) 100%);
  box-shadow:
    0 0 7px rgba(240, 207, 136, 0.52),
    0 0 11px rgba(135, 216, 255, 0.1);
}

.astral-hanger__link:nth-child(odd) {
  width: 0.48rem;
  height: 0.48rem;
}

.astral-hanger__charm {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  color: #fff5dc;
  line-height: 1;
  transform-origin: center top;
  isolation: isolate;
  background: none;
  text-shadow:
    0 0 8px rgba(240, 207, 136, 0.95),
    0 0 18px rgba(240, 207, 136, 0.45),
    0 0 20px rgba(135, 216, 255, 0.3);
}

.astral-hanger__charm::before {
  content: "";
  position: absolute;
  inset: -0.35rem;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 244, 208, 0.34) 0%, rgba(240, 207, 136, 0.16) 38%, transparent 72%);
  filter: blur(10px);
  z-index: -1;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

.astral-hanger__charm--moon {
  font-size: 2rem;
}

.astral-hanger__charm--diamond {
  font-size: 1.55rem;
}

.astral-hanger__charm--star {
  font-size: 2.15rem;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  flex-direction: column;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(12, 18, 38, 0.86);
  cursor: pointer;
}

.nav-toggle span:not(.nav-toggle__label) {
  width: 1rem;
  height: 2px;
  border-radius: 99px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.section {
  width: var(--content-width);
  margin: 0 auto;
  padding: clamp(4rem, 7vw, 7rem) 0;
}

.section-heading {
  max-width: 46rem;
  margin-bottom: 2rem;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--gold);
  font-size: 0.88rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-heading h2,
.hero h1 {
  margin: 0;
  line-height: 1.05;
  text-wrap: balance;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  color: #fbf5ea;
  text-shadow:
    0 0 18px rgba(135, 216, 255, 0.12),
    0 0 24px rgba(240, 207, 136, 0.08);
}

.section-heading p,
.hero__lead,
.story-copy > p,
.service-card__body p,
.theme-card__body p,
.event-card p,
.video-card__body p,
.library-copy p,
.contact-card span:last-child,
.site-footer p {
  color: var(--muted);
  font-size: clamp(1.08rem, 1.5vw, 1.25rem);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(22rem, 0.92fr);
  gap: clamp(1.6rem, 4vw, 4rem);
  align-items: center;
  min-height: calc(100vh - var(--header-height));
  padding-top: clamp(2rem, 4vw, 4rem);
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__content::before {
  content: "";
  position: absolute;
  inset: -1.75rem auto auto -1rem;
  width: clamp(11rem, 25vw, 18rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(240, 211, 154, 0.26) 0%, rgba(143, 223, 247, 0.12) 45%, transparent 72%);
  filter: blur(8px);
  z-index: -1;
}

.hero h1 {
  font-size: clamp(2.45rem, 4vw, 4.25rem);
  max-width: 18ch;
  letter-spacing: 0.01em;
  text-shadow:
    0 0 30px rgba(135, 216, 255, 0.14),
    0 0 18px rgba(240, 207, 136, 0.08);
}

.hero__lead {
  max-width: 34rem;
  margin: 1.5rem 0 0;
}

.hero .eyebrow {
  text-shadow: 0 0 14px rgba(240, 207, 136, 0.25);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.4rem;
  min-height: 3.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

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

.button--primary {
  background: linear-gradient(135deg, rgba(17, 38, 95, 0.98), rgba(35, 75, 134, 0.96));
  color: var(--gold);
  border-color: rgba(240, 207, 136, 0.42);
  box-shadow: 0 16px 40px rgba(11, 34, 87, 0.32), 0 0 16px rgba(135, 216, 255, 0.16);
}

.button--ghost {
  background: rgba(10, 18, 42, 0.8);
  border-color: rgba(135, 216, 255, 0.25);
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.hero__facts li {
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: rgba(10, 18, 42, 0.76);
  border: 1px solid rgba(240, 207, 136, 0.14);
  color: var(--muted);
  font-size: 1rem;
  backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(135, 216, 255, 0.08);
}

.hero__media {
  display: grid;
  gap: 1rem;
}

.hero-slider {
  display: grid;
  min-height: clamp(22rem, 48vw, 34rem);
}

.showcase,
.story-figure,
.service-card,
.theme-card,
.event-card,
.video-card,
.contact-card,
.library-card,
.library-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top left, rgba(93, 103, 216, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(10, 18, 45, 0.98), rgba(6, 11, 29, 0.95));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.showcase::before,
.story-figure::before,
.service-card::before,
.theme-card::before,
.event-card::before,
.video-card::before,
.contact-card::before,
.library-card::before,
.library-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(145deg, rgba(135, 216, 255, 0.5), transparent 40%, rgba(240, 207, 136, 0.45));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

.showcase img,
.story-figure img,
.service-card img,
.theme-card img,
.video-card img,
.photo-card img,
.library-hero img,
.library-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase {
  min-height: 19rem;
}

.showcase--main {
  min-height: clamp(22rem, 48vw, 34rem);
}

.hero-slider__viewport {
  position: relative;
  min-height: inherit;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
}

.hero-slider__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
  user-select: none;
}

.hero-slider__slide.is-active {
  opacity: 1;
}

.hero-slider__slide[hidden] {
  display: block !important;
  visibility: hidden;
  pointer-events: none;
}

.hero-slider__slide.is-active[hidden] {
  visibility: visible;
}

.hero-slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.hero-slider__viewport.is-dragging {
  cursor: grabbing;
}

.showcase__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.2rem 1.3rem 1.4rem;
  background: linear-gradient(180deg, transparent, rgba(6, 11, 29, 0.95));
  font-size: 1.1rem;
}

.showcase__tag {
  display: inline-flex;
  margin-bottom: 0.45rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(12, 18, 38, 0.86);
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.showcase-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.section--split .story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(18rem, 0.98fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: stretch;
}

.story-copy {
  display: grid;
  gap: 1.25rem;
}

.feature-list {
  display: grid;
  gap: 1rem;
}

.info-card {
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(11, 18, 36, 0.72);
  border: 1px solid var(--line);
}

.info-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  color: var(--gold);
}

.info-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.story-figure {
  min-height: 100%;
}

.story-figure figcaption,
.library-card figcaption {
  padding: 1rem 1.15rem 1.2rem;
  color: var(--muted);
  font-size: 1rem;
}

.services-grid,
.themes-grid,
.contact-grid {
  display: grid;
  gap: 1.2rem;
}

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

.service-card {
  min-height: 24rem;
}

.service-card img {
  height: 14rem;
}

.service-card__body {
  padding: 1.25rem 1.2rem 1.4rem;
}

.card-kicker {
  margin: 0 0 0.5rem;
  color: var(--gold);
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-card h3,
.theme-card h3,
.event-card h3,
.video-card h3 {
  margin: 0;
  font-size: 1.45rem;
}

.service-card__body p:last-child,
.theme-card__body p,
.event-card p,
.video-card__body p,
.library-copy p {
  margin: 0.75rem 0 0;
}

.event-card__date,
.contact-card__label {
  margin: 0;
  color: var(--gold);
  font-size: 0.94rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.agenda-layout {
  display: grid;
  grid-template-columns: minmax(18rem, 0.82fr) minmax(0, 1.18fr);
  gap: 1.4rem;
  align-items: start;
}

.agenda-spotlight {
  position: sticky;
  top: calc(var(--header-height) + 1.4rem);
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(240, 207, 136, 0.25);
  background:
    radial-gradient(circle at top left, rgba(240, 207, 136, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(10, 18, 46, 0.96), rgba(6, 10, 27, 0.96));
  box-shadow: var(--shadow);
}

.agenda-spotlight h3 {
  margin: 0;
  font-size: clamp(1.7rem, 2.3vw, 2.3rem);
}

.agenda-spotlight__place {
  margin: 0.7rem 0 0;
  color: var(--gold);
  font-size: 1.08rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.agenda-timeline {
  position: relative;
  margin: 0;
  padding: 0 0 0 1.1rem;
  list-style: none;
}

.agenda-timeline::before {
  content: "";
  position: absolute;
  left: 0.26rem;
  top: 0.6rem;
  bottom: 0.6rem;
  width: 2px;
  background: linear-gradient(180deg, rgba(240, 207, 136, 0.9), rgba(135, 216, 255, 0.18));
  box-shadow: 0 0 14px rgba(240, 207, 136, 0.26);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 6.4rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0 0 1.25rem 1.4rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -0.08rem;
  top: 0.7rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: radial-gradient(circle, #fff7dd 0%, var(--gold) 44%, var(--gold-deep) 100%);
  box-shadow: 0 0 16px rgba(240, 207, 136, 0.68), 0 0 10px rgba(135, 216, 255, 0.22);
}

.timeline-item--next::before {
  width: 0.98rem;
  height: 0.98rem;
  left: -0.18rem;
}

.timeline-item__month {
  margin: 0.25rem 0 0;
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.timeline-item__content {
  padding: 1.15rem 1.2rem 1.25rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(135, 216, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(10, 18, 46, 0.95), rgba(6, 10, 27, 0.95));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
}

.timeline-item--next .timeline-item__content {
  border-color: rgba(240, 207, 136, 0.32);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(240, 207, 136, 0.08);
}

.timeline-item__date {
  margin: 0;
  color: var(--cyan);
  font-size: 0.98rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.timeline-item__content h3 {
  margin: 0.4rem 0 0;
  font-size: 1.5rem;
}

.timeline-item__content p:last-child {
  margin: 0.55rem 0 0;
}

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

.theme-card {
  display: grid;
  min-height: 23rem;
}

.theme-card__media {
  display: block;
  padding: 0;
  cursor: pointer;
  height: 14rem;
}

.theme-card__body {
  padding: 1.2rem 1.2rem 1.4rem;
}

.media-switch {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
  padding: 0.5rem;
  border-radius: 999px;
  background: rgba(11, 18, 36, 0.68);
  border: 1px solid var(--line);
}

.media-switch__button {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.media-switch__button.is-active {
  background: linear-gradient(135deg, rgba(122, 110, 255, 0.9), rgba(88, 196, 255, 0.86));
  color: #0b1020;
}

.media-panel {
  animation: panel-fade 0.32s ease;
}

@keyframes panel-fade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.photo-card {
  position: relative;
  grid-column: span 4;
  min-height: 15rem;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(10, 16, 34, 0.9);
  box-shadow: var(--shadow);
}

.photo-card--wide {
  grid-column: span 8;
  min-height: 21rem;
}

.photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(6, 10, 24, 0.38));
}

.photo-card:hover img,
.showcase:hover img,
.service-card:hover img,
.theme-card:hover img,
.video-card:hover img,
.story-figure:hover img,
.library-hero:hover img,
.library-card:hover img {
  transform: scale(1.04);
}

.photo-card img,
.showcase img,
.story-figure img,
.service-card img,
.theme-card img,
.video-card img,
.library-hero img,
.library-card img {
  transition: transform 0.45s ease, filter 0.45s ease;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.video-card {
  min-height: 27rem;
}

.video-card img {
  height: 14rem;
}

.video-card__body {
  padding: 1.25rem;
}

.library-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(18rem, 1.05fr);
  gap: 1.2rem;
  align-items: start;
}

.library-hero {
  min-height: 100%;
}

.library-hero img {
  min-height: 100%;
}

.library-copy {
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  background: rgba(11, 18, 36, 0.72);
  border: 1px solid var(--line);
}

.library-list {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.library-list li + li {
  margin-top: 0.55rem;
}

.library-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  grid-column: 1 / -1;
}

.library-card img {
  height: 15rem;
}

.contact-section .section-heading {
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
}

.contact-hub {
  max-width: 34rem;
  margin: 0 auto;
  padding: 0.4rem 0 0;
}

.contact-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.contact-icon:hover {
  transform: translateY(-2px) scale(1.05);
}

.contact-icon--disabled {
  opacity: 0.46;
  cursor: default;
}

.contact-icon--disabled:hover {
  transform: none;
}

.contact-icon__glyph {
  display: grid;
  place-items: center;
  width: 1.95rem;
  height: 1.95rem;
  color: #f3ead3;
  filter:
    drop-shadow(0 0 8px rgba(240, 207, 136, 0.58))
    drop-shadow(0 0 14px rgba(135, 216, 255, 0.2));
}

.contact-icon__glyph svg,
.contact-details__icon svg {
  width: 100%;
  height: 100%;
}

.contact-icon__glyph svg *,
.contact-details__icon svg * {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-icon--tiktok .contact-icon__glyph svg path,
.contact-icon--youtube .contact-icon__glyph svg path,
.contact-icon--facebook .contact-icon__glyph svg path {
  fill: currentColor;
  stroke: none;
}

.contact-icon__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contact-details {
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(135, 216, 255, 0.2);
  text-align: center;
}

.contact-details p {
  margin: 0;
}

.contact-details__copyright {
  color: var(--text);
  font-size: 0.98rem;
}

.contact-details__line {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
}

.contact-details__line a {
  color: var(--cyan);
  text-decoration: underline;
  text-decoration-color: rgba(135, 216, 255, 0.34);
  text-underline-offset: 0.16em;
}

.contact-details__icon {
  width: 1rem;
  height: 1rem;
  color: var(--text);
}

.site-footer {
  width: var(--content-width);
  margin: 0 auto;
  padding: 0 0 3rem;
}

.site-footer p {
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 1rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  background: rgba(4, 6, 16, 0.92);
  backdrop-filter: blur(14px);
}

.lightbox[hidden],
.media-panel[hidden] {
  display: none !important;
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(12, 18, 38, 0.9);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
  cursor: pointer;
  font-size: 1.7rem;
  z-index: 2;
}

.lightbox__figure {
  width: min(92vw, 70rem);
  margin: 0;
  position: relative;
}

.lightbox__image {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.lightbox__caption {
  margin-top: 1rem;
  text-align: center;
  color: var(--muted);
  font-size: 1.05rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

body.is-locked {
  overflow: hidden;
}

@media (max-width: 1080px) {
  .services-grid,
  .themes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero,
  .section--split .story-layout,
  .library-layout,
  .video-grid,
  .agenda-layout {
    grid-template-columns: 1fr;
  }

  .agenda-spotlight {
    position: relative;
    top: auto;
  }
}

@media (max-width: 860px) {
  .site-header__inner {
    gap: 0.8rem;
  }

  .brand img {
    width: 3.6rem;
  }

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

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    align-items: stretch;
    padding: 0.8rem;
    border-radius: 1.35rem;
    background: rgba(10, 16, 34, 0.96);
    border: 1px solid var(--line-strong);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  .site-nav a {
    width: 100%;
    border-radius: 1rem;
    padding: 0.95rem 1rem;
  }

  .site-nav a::after {
    display: none;
  }

  body.nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  body.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero h1 {
    max-width: 15ch;
  }

  .showcase-stack {
    grid-template-columns: 1fr;
  }

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

  .photo-card,
  .photo-card--wide {
    grid-column: span 1;
  }

  .photo-card--wide {
    min-height: 17rem;
  }
}

@media (max-width: 640px) {
  :root {
    --content-width: min(100vw - 1rem, 100%);
  }

  .section {
    padding: 3.5rem 0;
  }

  .site-header__inner,
  .section,
  .site-footer {
    width: min(100vw - 1rem, 100%);
  }

  .section-heading {
    margin-bottom: 1.5rem;
  }

  .hero__actions,
  .media-switch {
    width: 100%;
  }

  .hero__actions .button,
  .media-switch__button {
    flex: 1 1 auto;
  }

  .services-grid,
  .themes-grid,
  .library-cards,
  .photo-grid {
    grid-template-columns: 1fr;
  }

  .contact-hub {
    padding: 0.3rem 0 0;
  }

  .contact-icons {
    gap: 0.8rem;
  }

  .contact-icon {
    padding: 0.16rem;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding-left: 1.35rem;
  }

  .timeline-item__month {
    margin-top: 0;
  }

  .story-figure img,
  .library-hero img {
    min-height: 18rem;
  }
}

@media (max-width: 900px), (max-height: 700px) {
  .astral-hangers {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
