:root {
  --sky: #9fc2dc;
  --sun: #f5d900;
  --brown: #5a130f;
  --brown-soft: rgba(90, 19, 15, 0.78);
  --cream: #fff7e9;
  --cloud: #f6d6bf;
  --coral: #ef6544;
  --ink: #220908;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.32);
  --border: rgba(255, 255, 255, 0.42);
  --shadow: 0 24px 80px rgba(34, 9, 8, 0.18);
  --soft-shadow: 0 34px 100px rgba(90, 19, 15, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 150px;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 4%, rgba(159, 194, 220, 0.28), transparent 22%),
    linear-gradient(180deg, var(--cream), #fff3d6 48%, var(--cream));
  color: var(--brown);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button {
  font: inherit;
}

button:not(:disabled) {
  cursor: pointer;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--brown);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 8px;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: 300px 1fr 64px;
  align-items: start;
  gap: 24px;
  padding: 34px 92px 20px;
  color: var(--brown);
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease, backdrop-filter 180ms ease;
}

.site-header.is-scrolled {
  padding-top: 18px;
  padding-bottom: 16px;
  background: rgba(255, 247, 233, 0.72);
  box-shadow: 0 10px 30px rgba(90, 19, 15, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 280px;
  gap: 16px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.95;
}

.brand-mark {
  width: 104px;
  height: auto;
  flex: 0 0 auto;
}

.brand-dots {
  fill: var(--sun);
}

.brand-m {
  fill: var(--brown);
}

.brand-text {
  color: var(--brown);
  font-size: 19px;
  letter-spacing: 0;
  line-height: 0.94;
  text-align: left;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 44px;
  min-height: 52px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 9px 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--sun);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 160ms ease;
}

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

.section-rail {
  position: fixed;
  z-index: 18;
  right: 32px;
  top: 50%;
  display: grid;
  gap: 11px;
  transform: translateY(-50%);
}

.section-rail a {
  position: relative;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 6px 18px rgba(34, 9, 8, 0.12);
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.section-rail a::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: inherit;
  background: transparent;
  transition: background 160ms ease, transform 160ms ease;
}

.section-rail a span {
  position: absolute;
  right: 28px;
  min-width: max-content;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255, 247, 233, 0.84);
  color: var(--brown);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  box-shadow: 0 10px 26px rgba(90, 19, 15, 0.12);
  backdrop-filter: blur(14px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.section-rail a:hover,
.section-rail a:focus-visible,
.section-rail a.is-active {
  border-color: var(--sun);
  background: rgba(245, 217, 0, 0.12);
  transform: scale(1.1);
}

.section-rail a:hover span,
.section-rail a:focus-visible span {
  opacity: 1;
  transform: translateX(0);
}

.section-rail a.is-active::before {
  background: var(--sun);
  transform: scale(1.08);
}

.menu-toggle {
  justify-self: end;
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(90, 19, 15, 0.38);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.26);
  color: var(--brown);
  place-items: center;
  padding: 0;
}

.menu-toggle span:not(.sr-only) {
  width: 18px;
  height: 2px;
  background: currentColor;
  margin: 2px 0;
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: clip;
  display: grid;
  align-items: center;
  isolation: isolate;
  padding: 160px 92px 30px;
}

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

.hero-media {
  z-index: -3;
  background: var(--sky) url("../../public/assets/hero/pavilion-vanilla-sky-placeholder.jpg") center / cover;
}

.hero-media img {
  object-fit: cover;
  object-position: center;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 86% 46%, rgba(232, 74, 43, 0.26), rgba(232, 74, 43, 0.14) 28%, transparent 56%),
    radial-gradient(circle at 72% 16%, rgba(245, 217, 0, 0.24), transparent 34%),
    linear-gradient(90deg, rgba(255, 247, 233, 0.78) 0%, rgba(255, 247, 233, 0.42) 30%, rgba(255, 247, 233, 0.02) 54%, rgba(183, 48, 31, 0.18) 100%),
    linear-gradient(0deg, rgba(34, 9, 8, 0.76) 0%, rgba(34, 9, 8, 0.18) 24%, rgba(34, 9, 8, 0) 48%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  z-index: -1;
  background:
    linear-gradient(0deg, rgba(34, 9, 8, 0.16), transparent 78%),
    linear-gradient(90deg, rgba(255, 247, 233, 0.2), rgba(241, 141, 38, 0.18) 45%, rgba(118, 18, 13, 0.32));
  mask-image: linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0.74) 46%, transparent 100%);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.bubble {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.54);
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.16) 28%, rgba(255, 255, 255, 0.02) 62%),
    radial-gradient(circle at 70% 80%, rgba(246, 214, 191, 0.34), transparent 56%);
  box-shadow: inset 0 0 26px rgba(255, 255, 255, 0.32), 0 0 36px rgba(255, 255, 255, 0.18);
  opacity: 0.74;
  pointer-events: none;
}

.bubble-one {
  width: 180px;
  height: 180px;
  left: 24%;
  top: 8%;
  animation: bubbleDrift 11s ease-in-out infinite alternate;
}

.bubble-two {
  width: 220px;
  height: 220px;
  left: -80px;
  bottom: 2%;
  animation: bubbleDrift 13s ease-in-out 1.5s infinite alternate;
}

.bubble-three {
  width: 150px;
  height: 150px;
  right: 7%;
  top: 8%;
  animation: bubbleDrift 9s ease-in-out 0.5s infinite alternate;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(610px, 48vw);
  margin-top: -175px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--brown-soft);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  color: var(--brown);
  font-size: 82px;
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-subtitle {
  margin: 14px 0 26px;
  color: var(--brown);
  font-size: 34px;
  line-height: 1.05;
  font-weight: 700;
}

.visit-facts {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
  font-size: 19px;
  font-weight: 600;
}

.visit-facts p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.fact-icon {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  flex: 0 0 35px;
  border-radius: 50%;
  background: var(--sun);
  color: var(--brown);
}

.fact-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 58px;
  padding: 0 22px 0 28px;
  border-radius: 999px;
  border: 1px solid rgba(90, 19, 15, 0.32);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 14px 32px rgba(90, 19, 15, 0.16);
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button svg {
  width: 34px;
  height: 34px;
  padding: 8px;
  border: 1px solid currentColor;
  border-radius: 50%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.button-primary {
  background: var(--brown);
  color: var(--white);
}

.button-primary svg {
  color: var(--sun);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.68);
  color: var(--brown);
  backdrop-filter: blur(12px);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #6c1711;
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: rgba(255, 247, 233, 0.88);
}

.scroll-cue {
  position: absolute;
  left: 92px;
  bottom: 28px;
  display: grid;
  justify-items: center;
  gap: 6px;
  color: var(--sun);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.scroll-cue svg {
  order: -1;
  width: 50px;
  height: 50px;
  padding: 12px;
  border: 1px solid var(--sun);
  border-radius: 50%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rhythm-dock {
  position: absolute;
  z-index: 3;
  left: 14%;
  right: 6%;
  bottom: 24px;
  display: grid;
  grid-template-columns: repeat(7, minmax(112px, 1fr));
  gap: 20px;
  pointer-events: none;
}

.rhythm-card {
  pointer-events: auto;
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 12px;
  min-height: 154px;
  padding: 14px 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px 999px 8px 8px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 1px 14px rgba(34, 9, 8, 0.32);
  box-shadow: inset 0 0 28px rgba(255, 255, 255, 0.08), 0 14px 30px rgba(34, 9, 8, 0.12);
  backdrop-filter: blur(10px);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.rhythm-card::after {
  content: "→";
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  font-size: 17px;
  line-height: 1;
}

.rhythm-card:hover,
.rhythm-card:focus-visible {
  transform: translateY(-7px);
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.2);
}

.rhythm-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--tile-color);
  box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.1), 0 14px 26px rgba(34, 9, 8, 0.16);
}

.rhythm-icon img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.rhythm-icon svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: var(--white);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rhythm-makedo {
  --tile-color: #ec3530;
}

.rhythm-gastronomy {
  --tile-color: #7043bb;
}

.rhythm-wines {
  --tile-color: #a50086;
}

.rhythm-hospitality {
  --tile-color: #ef6d20;
}

.rhythm-what {
  --tile-color: #1e70bd;
}

.rhythm-nature {
  --tile-color: #748a22;
}

.rhythm-culture {
  --tile-color: #a58b26;
}

.section {
  position: relative;
  padding: 126px 64px;
  overflow: clip;
}

.has-reveal .reveal-target {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 560ms ease, transform 560ms ease;
  will-change: opacity, transform;
}

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

.section::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  right: -90px;
  top: -120px;
  background: rgba(245, 217, 0, 0.2);
  pointer-events: none;
}

.section::after {
  content: "";
  position: absolute;
  left: -120px;
  bottom: -150px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.section-kicker {
  margin-bottom: 28px;
  color: var(--brown-soft);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(320px, 1.1fr);
  gap: 68px;
  align-items: start;
}

.section h2 {
  margin: 0;
  color: var(--brown);
  font-size: 54px;
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: 0;
}

.section p {
  margin: 0;
  color: rgba(90, 19, 15, 0.8);
  font-size: 18px;
}

.copy-stack {
  display: grid;
  gap: 22px;
}

.brand-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.brand-pillars span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(90, 19, 15, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.44);
  color: var(--brown);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.brand-pillars span:nth-child(1) {
  background: rgba(159, 194, 220, 0.48);
}

.brand-pillars span:nth-child(2) {
  background: rgba(245, 217, 0, 0.42);
}

.brand-pillars span:nth-child(3) {
  background: rgba(90, 19, 15, 0.1);
}

.concept-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 62px;
}

.concept-strip article {
  position: relative;
  min-height: 220px;
  display: grid;
  align-content: end;
  gap: 12px;
  padding: 26px;
  border: 1px solid rgba(90, 19, 15, 0.14);
  border-radius: 8px;
  background: rgba(255, 247, 233, 0.58);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(90, 19, 15, 0.1);
  backdrop-filter: blur(16px);
}

.concept-strip article::before {
  content: "";
  position: absolute;
  top: -72px;
  right: -52px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.68);
  background: rgba(245, 217, 0, 0.32);
}

.concept-strip span,
.detail-number {
  color: var(--brown-soft);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.concept-strip h3,
.rhythm-detail h3,
.tab-panel h3 {
  position: relative;
  margin: 0;
  color: var(--brown);
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0;
}

.concept-strip p {
  position: relative;
  font-size: 15px;
}

.intro-section {
  background:
    radial-gradient(circle at 9% 16%, rgba(245, 217, 0, 0.2), transparent 19%),
    radial-gradient(circle at 96% 80%, rgba(159, 194, 220, 0.34), transparent 24%),
    linear-gradient(135deg, #fffaf0, #f8d9c8 54%, #f6c063);
}

.brand-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(360px, 1.18fr);
  gap: 48px;
  align-items: center;
  min-height: 420px;
  margin-top: 76px;
  padding: 48px;
  border-radius: 8px;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 18%, rgba(159, 194, 220, 0.28), transparent 28%),
    radial-gradient(circle at 85% 20%, rgba(245, 217, 0, 0.18), transparent 22%),
    linear-gradient(135deg, rgba(90, 19, 15, 0.96), rgba(90, 19, 15, 0.86));
  box-shadow: var(--soft-shadow);
}

.brand-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../../public/assets/hero/pavilion-vanilla-sky-placeholder.jpg") center / cover;
  opacity: 0.14;
  mix-blend-mode: screen;
}

.brand-stage > * {
  position: relative;
}

.sun-orbit {
  width: min(340px, 68vw);
  aspect-ratio: 1;
  position: relative;
  margin: 0 auto;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.sun-orbit::before {
  content: "M";
  position: absolute;
  inset: 28%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 247, 233, 0.08);
  color: var(--sun);
  font-size: 82px;
  line-height: 1;
  font-weight: 900;
}

.sun-orbit span {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 18px 40px rgba(245, 217, 0, 0.22);
}

.sun-orbit span:nth-child(1) { left: 5%; top: 54%; }
.sun-orbit span:nth-child(2) { left: 14%; top: 26%; }
.sun-orbit span:nth-child(3) { left: 36%; top: 8%; }
.sun-orbit span:nth-child(4) { left: 63%; top: 8%; }
.sun-orbit span:nth-child(5) { left: 84%; top: 26%; }
.sun-orbit span:nth-child(6) { left: 91%; top: 54%; }
.sun-orbit span:nth-child(7) {
  left: 50%;
  top: 50%;
  width: 122px;
  height: 122px;
  transform: translate(-50%, -50%);
  background: rgba(245, 217, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.brand-stage-copy {
  display: grid;
  gap: 18px;
  max-width: 660px;
}

.brand-stage-copy span {
  color: var(--sun);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand-stage-copy h3 {
  margin: 0;
  color: var(--white);
  font-size: clamp(34px, 4vw, 62px);
  line-height: 0.98;
  letter-spacing: 0;
}

.brand-stage-copy p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.82);
}

.visit-section {
  background:
    radial-gradient(circle at 82% 18%, rgba(245, 217, 0, 0.16), transparent 20%),
    linear-gradient(135deg, #4b0e0b, var(--brown) 58%, #35100c);
  color: var(--white);
}

.visit-section::before {
  background: rgba(245, 217, 0, 0.16);
}

.visit-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
}

.visit-panel h2,
.visit-panel p,
.visit-section .section-kicker {
  color: var(--white);
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: end;
}

.quick-links a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.quick-links a:hover,
.quick-links a:focus-visible {
  background: rgba(245, 217, 0, 0.14);
  border-color: rgba(245, 217, 0, 0.72);
}

.visit-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 52px;
}

.visit-cards article {
  position: relative;
  min-height: 210px;
  display: grid;
  align-content: end;
  gap: 12px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background:
    radial-gradient(circle at 86% 10%, rgba(245, 217, 0, 0.28), transparent 28%),
    rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.visit-cards article:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 217, 0, 0.46);
  background:
    radial-gradient(circle at 86% 10%, rgba(245, 217, 0, 0.34), transparent 28%),
    rgba(255, 255, 255, 0.11);
}

.visit-card-icon {
  position: absolute;
  top: 22px;
  left: 24px;
  display: grid;
  place-items: center;
  min-width: 64px;
  height: 64px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--sun);
  color: var(--brown);
  font-weight: 900;
  letter-spacing: 0.04em;
}

.visit-cards h3 {
  margin: 0;
  color: var(--white);
  font-size: 25px;
  line-height: 1;
}

.visit-cards p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
}

.visit-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 46px;
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.visit-flow::before {
  content: "";
  position: absolute;
  left: 9%;
  right: 9%;
  top: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 217, 0, 0.72), transparent);
}

.visit-flow span {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 10px;
}

.visit-flow span::before {
  content: "";
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 12px rgba(245, 217, 0, 0.08);
}

.rhythms-section {
  background:
    radial-gradient(circle at 12% 18%, rgba(159, 194, 220, 0.72), transparent 20%),
    radial-gradient(circle at 92% 14%, rgba(245, 217, 0, 0.36), transparent 19%),
    #fffaf0;
}

.rhythm-explorer {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(620px, 1.28fr);
  gap: 22px;
  margin-top: 56px;
  align-items: stretch;
  padding: 18px;
  border: 1px solid rgba(90, 19, 15, 0.1);
  border-radius: 8px;
  background: rgba(255, 247, 233, 0.54);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(18px);
}

.rhythm-detail {
  position: sticky;
  top: 112px;
  min-height: 420px;
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 34px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 255, 255, 0.18), transparent 24%),
    var(--tile-color);
  color: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.rhythm-detail::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  top: -80px;
  right: -80px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.12);
}

.detail-orbit {
  position: absolute;
  inset: auto 28px 28px auto;
  width: 148px;
  height: 148px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  opacity: 0.6;
}

.detail-orbit span {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--sun);
}

.detail-orbit span:nth-child(1) { left: 5%; top: 50%; }
.detail-orbit span:nth-child(2) { left: 28%; top: 11%; }
.detail-orbit span:nth-child(3) { right: 16%; top: 18%; }
.detail-orbit span:nth-child(4) { right: 5%; top: 54%; }

.rhythm-detail .detail-number,
.rhythm-detail h3,
.rhythm-detail p,
.rhythm-detail ul {
  position: relative;
}

.rhythm-detail .detail-number {
  color: rgba(255, 255, 255, 0.82);
}

.rhythm-detail h3 {
  color: var(--white);
  font-size: 44px;
}

.rhythm-detail p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
}

.rhythm-detail ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rhythm-detail li {
  display: flex;
  gap: 10px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
}

.rhythm-detail li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 8px;
  flex: 0 0 10px;
  border-radius: 50%;
  background: var(--sun);
}

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

.rhythm-tile {
  position: relative;
  min-height: 320px;
  display: grid;
  align-content: end;
  gap: 18px;
  padding: 24px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--tile-color);
  color: var(--white);
  border: 0;
  text-align: left;
  box-shadow: none;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease, opacity 160ms ease;
}

.rhythm-tile::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -55px;
  top: -40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
}

.rhythm-tile:hover,
.rhythm-tile:focus-visible,
.rhythm-tile.is-selected {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(90, 19, 15, 0.18);
  filter: saturate(1.06);
}

.rhythm-tile.is-selected::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 6px;
  pointer-events: none;
}

.tile-number {
  position: absolute;
  top: 18px;
  left: 20px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.rhythm-tile h3 {
  position: relative;
  margin: 0;
  font-size: clamp(14px, 0.9vw, 18px);
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: normal;
  word-break: normal;
}

.rhythm-tile p {
  position: relative;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
}

.program-section {
  background:
    radial-gradient(circle at 16% 84%, rgba(159, 194, 220, 0.42), transparent 24%),
    radial-gradient(circle at 86% 16%, rgba(245, 217, 0, 0.26), transparent 20%),
    linear-gradient(90deg, rgba(255, 247, 233, 0.96), rgba(255, 247, 233, 0.66)),
    url("../../public/assets/hero/pavilion-vanilla-sky.webp") center / cover fixed;
}

.program-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(320px, 1.2fr);
  gap: 52px;
  align-items: start;
}

.program-layout > div:first-child {
  display: grid;
  gap: 22px;
}

.program-tabs {
  display: grid;
  gap: 14px;
}

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

.tab-list button {
  min-height: 52px;
  border: 1px solid rgba(90, 19, 15, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--brown);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.tab-list button.is-active {
  background: var(--brown);
  border-color: var(--brown);
  color: var(--white);
}

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

.tab-panel,
.resource-card {
  position: relative;
  padding: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(90, 19, 15, 0.12);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.tab-panel {
  min-height: 300px;
  display: grid;
  align-content: end;
  gap: 14px;
  background:
    radial-gradient(circle at 92% 12%, rgba(245, 217, 0, 0.32), transparent 26%),
    rgba(255, 255, 255, 0.68);
  overflow: hidden;
}

.tab-panel[hidden] {
  display: none;
}

.tab-panel h3 {
  font-size: 36px;
}

.tab-panel p {
  max-width: 620px;
}

.program-signal {
  position: absolute;
  right: 28px;
  top: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.program-signal span {
  width: 16px;
  height: 16px;
  margin: 0;
  border-radius: 50%;
  background: var(--sun);
  opacity: 0.9;
}

.program-signal span:nth-child(2) {
  width: 40px;
  height: 40px;
  background: rgba(159, 194, 220, 0.64);
}

.program-signal span:nth-child(3) {
  background: var(--brown);
}

.tab-panel span,
.resource-card span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--brown);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.resources-section {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 18px;
  background:
    linear-gradient(135deg, rgba(159, 194, 220, 0.92), rgba(255, 242, 213, 0.9) 44%, rgba(237, 114, 86, 0.9)),
    url("../../public/assets/hero/pavilion-vanilla-sky.webp") center / cover;
}

.resource-card {
  min-height: 280px;
  display: grid;
  align-content: end;
  overflow: hidden;
  transition: transform 160ms ease, background 160ms ease;
}

.resource-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.74);
}

.resource-card::before {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  right: -58px;
  top: -62px;
  border-radius: 50%;
  border: 1px solid rgba(90, 19, 15, 0.12);
  background: rgba(245, 217, 0, 0.28);
}

.resource-card > * {
  position: relative;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.facts-grid p {
  display: grid;
  gap: 2px;
  min-height: 86px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(159, 194, 220, 0.28);
}

.facts-grid strong {
  color: var(--brown);
  font-size: 25px;
  line-height: 1;
}

.facts-grid small {
  color: var(--brown-soft);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resource-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 22px;
  padding: 0 16px;
  border: 1px solid rgba(90, 19, 15, 0.2);
  border-radius: 999px;
  color: var(--brown);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.resource-link.is-disabled {
  opacity: 0.74;
}

.contact-section {
  background:
    radial-gradient(circle at 12% 18%, rgba(245, 217, 0, 0.2), transparent 18%),
    linear-gradient(135deg, #fffaf0, #f4d1bd 68%, #9fc2dc);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 0.8fr);
  gap: 60px;
}

.contact-layout > div:first-child {
  display: grid;
  gap: 22px;
}

.contact-list {
  display: grid;
  gap: 18px;
  padding: 30px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 92% 0%, rgba(245, 217, 0, 0.28), transparent 28%),
    rgba(255, 247, 233, 0.7);
  border: 1px solid rgba(90, 19, 15, 0.1);
  box-shadow: var(--soft-shadow);
}

.contact-list p {
  margin: 0;
  display: grid;
  gap: 4px;
}

.contact-list strong {
  font-size: 22px;
  color: var(--brown);
}

.contact-list span {
  color: rgba(90, 19, 15, 0.72);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-list a {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--brown);
  color: var(--white);
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 64px;
  background: var(--brown);
  color: rgba(255, 255, 255, 0.8);
}

.site-footer img {
  width: 190px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.site-footer p {
  margin: 0;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 1280px) {
  .site-header {
    padding-inline: 38px;
    grid-template-columns: 230px 1fr 54px;
  }

  .brand {
    width: 220px;
    gap: 12px;
  }

  .brand-mark {
    width: 78px;
  }

  .brand-text {
    font-size: 15px;
  }

  .site-nav {
    gap: 34px;
    font-size: 13px;
  }

  .hero {
    padding-inline: 38px;
  }

  .hero h1 {
    font-size: 64px;
    max-width: 470px;
  }

  .hero-subtitle {
    font-size: 28px;
  }

  .rhythm-dock {
    left: 38px;
    right: 38px;
    grid-template-columns: repeat(7, minmax(96px, 1fr));
    gap: 12px;
  }

  .rhythm-card {
    min-height: 146px;
    font-size: 11px;
  }

  .rhythm-icon {
    width: 60px;
    height: 60px;
  }

  .section {
    padding-inline: 38px;
  }

  .concept-strip,
  .visit-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rhythm-explorer {
    grid-template-columns: 1fr;
  }

  .rhythm-detail {
    position: relative;
    top: auto;
    min-height: 340px;
  }

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

@media (min-width: 981px) and (max-height: 820px) {
  .hero {
    align-items: start;
    min-height: 720px;
    padding-top: 174px;
  }

  .hero-content {
    margin-top: 0;
  }

  .hero h1 {
    font-size: clamp(52px, 5.4vw, 68px);
  }

  .hero-subtitle {
    margin-bottom: 18px;
  }

  .visit-facts {
    margin-bottom: 20px;
  }

  .rhythm-dock,
  .scroll-cue {
    display: none;
  }
}

@media (max-width: 980px) {
  html {
    scroll-padding-top: 96px;
  }

  .section-rail {
    display: none;
  }

  .site-header {
    align-items: center;
    grid-template-columns: 1fr auto;
    padding: 18px 22px;
  }

  .brand {
    align-items: flex-start;
    width: auto;
    flex-direction: row;
    gap: 10px;
  }

  .brand-mark {
    width: 70px;
  }

  .brand-text {
    text-align: left;
    font-size: 12px;
    line-height: 0.95;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: fixed;
    top: 82px;
    right: 22px;
    left: auto;
    width: min(360px, calc(100vw - 44px));
    display: grid;
    gap: 6px;
    padding: 18px;
    border-radius: 8px;
    background: rgba(255, 247, 233, 0.86);
    border: 1px solid rgba(90, 19, 15, 0.12);
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.98);
    transform-origin: top right;
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  }

  body.menu-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }

  .site-nav a {
    padding: 13px 12px;
    border-radius: 6px;
    transition: background 160ms ease;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: rgba(245, 217, 0, 0.14);
  }

  .hero {
    align-items: start;
    min-height: auto;
    padding: 116px 22px 26px;
  }

  .hero-media img {
    object-position: 62% center;
  }

  .hero-scrim {
    background:
      radial-gradient(circle at 92% 42%, rgba(232, 74, 43, 0.28), transparent 46%),
      radial-gradient(circle at 74% 24%, rgba(245, 217, 0, 0.18), transparent 42%),
      linear-gradient(180deg, rgba(255, 247, 233, 0.68) 0%, rgba(255, 247, 233, 0.38) 34%, rgba(34, 9, 8, 0.03) 62%, rgba(34, 9, 8, 0.58) 100%),
      linear-gradient(90deg, rgba(255, 247, 233, 0.54), rgba(255, 247, 233, 0.04));
  }

  .hero-content {
    width: min(100%, 520px);
    margin-top: 0;
  }

  .hero h1 {
    font-size: 52px;
    max-width: 380px;
  }

  .hero-subtitle {
    font-size: 24px;
  }

  .visit-facts {
    font-size: 16px;
  }

  .button {
    min-height: 52px;
    width: 100%;
    justify-content: space-between;
  }

  .scroll-cue {
    display: none;
  }

  .rhythm-dock {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 120px;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
    gap: 12px;
  }

  .rhythm-card {
    min-width: 132px;
    min-height: 146px;
    scroll-snap-align: start;
  }

  .section {
    padding: 72px 22px;
  }

  .section-grid,
  .program-layout,
  .visit-panel,
  .contact-layout,
  .resources-section,
  .concept-strip,
  .visit-cards,
  .brand-stage {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .brand-stage {
    padding: 30px;
  }

  .sun-orbit {
    width: min(300px, 82vw);
  }

  .section h2 {
    font-size: 38px;
  }

  .quick-links {
    justify-content: start;
  }

  .rhythm-explorer {
    gap: 16px;
    padding: 12px;
  }

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

  .rhythm-tile {
    min-height: 250px;
  }

  .site-footer {
    padding: 28px 22px;
    align-items: flex-start;
    flex-direction: column;
  }

  .tab-list {
    grid-template-columns: 1fr;
  }

  .visit-flow {
    font-size: 11px;
    letter-spacing: 0.08em;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: 43px;
  }

  .hero-subtitle {
    font-size: 21px;
  }

  .eyebrow {
    font-size: 12px;
  }

  .hero-actions {
    gap: 10px;
  }

  .rhythm-dock {
    margin-top: 90px;
  }

  .rhythm-grid {
    grid-template-columns: 1fr;
    display: flex;
    gap: 12px;
    margin-inline: -12px;
    padding: 0 12px 12px;
    overflow-x: auto;
    scroll-padding-inline: 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .rhythm-tile {
    min-width: min(82vw, 320px);
    scroll-snap-align: start;
  }

  .rhythm-detail {
    min-height: 360px;
    padding: 26px;
  }

  .rhythm-detail h3 {
    font-size: 36px;
  }

  .concept-strip article,
  .visit-cards article,
  .resource-card,
  .tab-panel,
  .brand-stage {
    min-height: 240px;
  }

  .brand-stage-copy h3 {
    font-size: 32px;
  }

  .sun-orbit span {
    width: 34px;
    height: 34px;
  }

  .sun-orbit::before {
    font-size: 58px;
  }

  .visit-flow {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 20px;
  }

  .visit-flow::before {
    left: 24px;
    right: auto;
    top: 20px;
    bottom: 20px;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, transparent, rgba(245, 217, 0, 0.72), transparent);
  }

  .visit-flow span {
    grid-template-columns: 48px 1fr;
    align-items: center;
    justify-items: start;
  }

  .section h2 {
    font-size: 32px;
  }

  .section p {
    font-size: 16px;
  }
}

@keyframes bubbleDrift {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(10px, -14px, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .has-reveal .reveal-target {
    opacity: 1;
    transform: none;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
