.is-home {
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(232, 184, 74, 0.18), transparent 55%),
    radial-gradient(900px 500px at 100% 8%, rgba(107, 61, 122, 0.12), transparent 50%),
    #f7f0e4;
}
.is-home .header {
  background: rgba(247, 240, 228, 0.5);
}
.is-home.is-stuck .header {
  background: rgba(255, 252, 247, 0.9);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 80;
  background: transparent;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #e8b84a, #6b3d7a);
  transform-origin: left;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(36px) scale(0.985);
  filter: blur(6px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), filter 0.9s ease;
}
[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }
[data-reveal][data-delay="4"] { transition-delay: 0.32s; }
[data-reveal].is-in {
  opacity: 1;
  transform: none;
  filter: none;
}

.hx-grain {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.18;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

.hx-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  animation: hx-drift 18s ease-in-out infinite;
  pointer-events: none;
}
.hx-orb-a { width: 340px; height: 340px; background: #f3c96a; top: 8%; left: -80px; opacity: 0.45; }
.hx-orb-b { width: 280px; height: 280px; background: #c9a0d6; right: 8%; top: 30%; opacity: 0.4; animation-delay: -6s; }
.hx-orb-c { width: 420px; height: 420px; background: #e8b84a; right: -80px; bottom: -80px; opacity: 0.35; }

@keyframes hx-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(24px, -18px) scale(1.08); }
}

.hx-hero {
  position: relative;
  overflow: hidden;
  padding: 3.2rem 0 4.5rem;
  min-height: min(92vh, 900px);
  display: flex;
  align-items: center;
}
.hx-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hx-chip {
  display: inline-flex;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(107,61,122,.15);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--plum-d);
}
.hx-hero h1 {
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  font-weight: 500;
  margin: 1rem 0 1.1rem;
}
.hx-line { display: block; }
.hx-italic { font-style: italic; color: var(--plum); }
.hx-lead { font-size: 1.22rem; max-width: 34rem; }
.hx-cta { display: flex; gap: 0.8rem; flex-wrap: wrap; margin: 1.6rem 0 1.4rem; }
.hx-mini { display: flex; align-items: center; gap: 0.75rem; color: var(--muted); font-weight: 600; }
.hx-mini img { width: 48px; height: 48px; border-radius: 14px; object-fit: cover; box-shadow: var(--shadow); }

.hx-stage {
  position: relative;
  height: 560px;
}
.hx-polaroid {
  position: absolute;
  background: #fff;
  padding: 0.7rem 0.7rem 2.2rem;
  border-radius: 1.1rem;
  box-shadow: 0 30px 70px rgba(43, 18, 58, 0.18);
  animation: hx-float 7s ease-in-out infinite;
}
.hx-polaroid img { width: 100%; height: 220px; object-fit: cover; border-radius: 0.7rem; }
.hx-p1 { width: 68%; left: 0; top: 8%; transform: rotate(-6deg); z-index: 2; }
.hx-p2 { width: 52%; right: 0; top: 0; transform: rotate(8deg); animation-delay: -2.2s; z-index: 1; }
.hx-p3 { width: 46%; right: 8%; bottom: 4%; transform: rotate(-3deg); animation-delay: -4s; z-index: 3; }
@keyframes hx-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}
.hx-badge {
  position: absolute;
  left: 6%;
  bottom: 12%;
  z-index: 4;
  background: var(--plum-d);
  color: #fff;
  padding: 1rem 1.15rem;
  border-radius: 1.2rem;
  box-shadow: 0 16px 40px rgba(76, 36, 88, 0.35);
  animation: hx-pulse 3.6s ease-in-out infinite;
}
.hx-badge strong { display: block; font-family: var(--display); font-size: 1.15rem; }
.hx-badge span { font-size: 0.85rem; opacity: 0.85; }
@keyframes hx-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

.hx-marquee {
  overflow: hidden;
  border-block: 1px solid rgba(107,61,122,.12);
  background: #fff8ee;
  padding: 0.85rem 0;
}
.hx-marquee-track {
  display: flex;
  gap: 2.4rem;
  width: max-content;
  animation: hx-slide 28s linear infinite;
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--plum-d);
}
.hx-marquee-track span::after { content: " · "; color: var(--gold-d); }
@keyframes hx-slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.hx-stats { padding: 2.5rem 0 1rem; }
.hx-stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.hx-stat {
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(107,61,122,.1);
  border-radius: 1.4rem;
  padding: 1.4rem;
}
.hx-stat strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--plum);
  line-height: 1;
}

.hx-promise, .hx-values, .hx-programs, .hx-spaces, .hx-day, .hx-love, .hx-team, .hx-place, .hx-faqblog, .hx-res {
  padding: 5.5rem 0;
}
.hx-promise-grid, .hx-day-grid, .hx-place-grid, .hx-faqblog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.2rem;
  align-items: center;
}
.hx-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--plum);
}
.hx-frame {
  position: relative;
}
.hx-frame img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 2rem 0.6rem 2rem 0.6rem;
  box-shadow: 0 28px 70px rgba(43,18,58,.18);
}
.hx-ring {
  position: absolute;
  inset: -18px;
  border: 1.5px dashed rgba(107,61,122,.35);
  border-radius: 2.4rem;
  animation: hx-spin 28s linear infinite;
}
@keyframes hx-spin { to { transform: rotate(360deg); } }

.hx-head { margin-bottom: 2.2rem; }
.hx-head-row { display: flex; justify-content: space-between; gap: 1.5rem; align-items: end; flex-wrap: wrap; }
.hx-value-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.8rem; }
.hx-value {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  align-items: center;
  background: #fff;
  padding: 1.15rem 1.3rem;
  border-radius: 1.3rem;
  box-shadow: 0 12px 30px rgba(75,36,88,.06);
  border: 1px solid transparent;
  transition: transform .35s, border-color .35s;
}
.hx-value:hover { transform: translateX(8px); border-color: var(--gold); }
.hx-num {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #f6d98a, #f0b9c8);
  font-size: 1.3rem;
}

.hx-bento {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}
.hx-bento-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.6rem;
  min-height: 240px;
  color: #fff;
  display: flex;
  align-items: end;
  isolation: isolate;
}
.hx-bento-card.is-feature {
  grid-row: span 2;
  min-height: 520px;
}
.hx-bento-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  transition: transform 1.1s ease;
}
.hx-bento-card:hover img { transform: scale(1.08); }
.hx-bento-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 20%, rgba(28,10,36,.78));
}
.hx-bento-card div { padding: 1.3rem; }
.hx-bento-card h3, .hx-bento-card p { color: #fff; }
.hx-bento-card .age { background: rgba(255,255,255,.18); color: #fff; }

.hx-collage {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: auto auto;
  gap: 1rem;
  margin-top: 2rem;
}
.hx-tile {
  position: relative;
  overflow: hidden;
  border-radius: 1.7rem;
  min-height: 260px;
  color: #fff;
}
.hx-tile-1 { grid-row: span 2; min-height: 540px; }
.hx-tile img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.hx-tile div {
  position: absolute;
  inset: auto 0 0;
  padding: 1.4rem;
  background: linear-gradient(transparent, rgba(20,8,28,.78));
}
.hx-tile h3, .hx-tile p { color: #fff; }
.hx-tile:hover img { transform: scale(1.06); transition: transform 1s ease; }

.hx-path { list-style: none; margin: 1.5rem 0 0; padding: 0; border-left: 2px solid rgba(107,61,122,.2); }
.hx-path li {
  position: relative;
  padding: 0 0 1.4rem 1.4rem;
}
.hx-path li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(232,184,74,.2);
}
.hx-path span { font-family: var(--display); color: var(--plum); font-weight: 700; }
.hx-meal {
  background: linear-gradient(160deg, #4c2458, #6b3d7a);
  color: #fff;
  padding: 2.2rem;
  border-radius: 2rem;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hx-meal h3, .hx-meal p, .hx-meal .hx-kicker { color: #fff; }

.hx-transit {
  margin: 1rem 0 3rem;
  padding: 4rem 0;
  background: #1d1024;
  color: #f7efe4;
  overflow: hidden;
}
.hx-transit h2, .hx-transit p { color: #f7efe4; }
.hx-transit-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.hx-schools { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.hx-schools li {
  padding: 0.75rem 0.9rem;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
}

.hx-grant { padding: 0 0 4rem; }
.hx-grant-card {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2rem;
  align-items: center;
  background: #fff;
  border-radius: 2rem;
  padding: 2.4rem;
  box-shadow: 0 24px 60px rgba(75,36,88,.1);
}
.hx-grant-orb {
  width: 180px;
  height: 180px;
  margin-inline: auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 30%, #ffe9a8, #e8b84a 55%, #c9921e);
  font-family: var(--display);
  font-size: 1.6rem;
  color: var(--plum-d);
  animation: hx-pulse 3.2s ease-in-out infinite;
}

.hx-quotes {
  width: min(1180px, calc(100% - 2rem));
  margin: 2rem auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.hx-quote {
  margin: 0;
  background: #fff;
  padding: 1.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 16px 40px rgba(75,36,88,.08);
  transition: transform .4s;
}
.hx-quote:hover { transform: translateY(-8px) rotate(-1deg); }
.hx-quote p { color: var(--ink); font-family: var(--display); font-style: italic; font-size: 1.05rem; }

.hx-team-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.hx-person {
  background: #fff;
  padding: 1.6rem;
  border-radius: 1.6rem;
  transition: transform .4s, box-shadow .4s;
}
.hx-person:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(75,36,88,.12); }

.hx-map iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: 1.8rem;
  box-shadow: var(--shadow);
}

.hx-journal {
  background: #fff;
  padding: 1.2rem 1.3rem;
  border-radius: 1.2rem;
  margin-bottom: 0.8rem;
  border-left: 4px solid var(--gold);
}
.hx-more { font-weight: 800; }

.hx-res-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 1.5rem; }
.hx-res-card {
  display: block;
  background: #fff;
  padding: 1.3rem;
  border-radius: 1.3rem;
  transition: transform .35s;
}
.hx-res-card:hover { transform: translateY(-6px); }

.hx-finale {
  position: relative;
  overflow: hidden;
  margin: 1rem 0 0;
  padding: 6rem 0 7.5rem;
  background: linear-gradient(135deg, #3a1846, #6b3d7a 55%, #8a4e6a);
  text-align: center;
  color: #fff;
}
.hx-finale h2, .hx-finale p { color: #fff; }
.hx-finale-inner { position: relative; z-index: 1; }
.hx-finale .hx-cta { justify-content: center; }

@media (max-width: 980px) {
  .hx-hero-grid, .hx-promise-grid, .hx-day-grid, .hx-place-grid, .hx-faqblog-grid, .hx-transit-inner, .hx-grant-card, .hx-stats-row, .hx-quotes, .hx-team-row, .hx-res-grid, .hx-bento, .hx-collage, .hx-schools {
    grid-template-columns: 1fr;
  }
  .hx-bento-card.is-feature, .hx-tile-1 { grid-row: auto; min-height: 280px; }
  .hx-stage { height: 420px; margin-top: 1rem; }
  .hx-polaroid img { height: 150px; }
  .hx-frame img { height: 280px; }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; filter: none; transition: none; }
  .hx-orb, .hx-polaroid, .hx-badge, .hx-marquee-track, .hx-ring, .hx-grant-orb { animation: none !important; }
}
