/**
 * HALITE — original Tunai theme for salt caves & float-therapy spas.
 * Weightless mineral dreamscape: rose-quartz-to-lilac gradient washes,
 * crystalline facet shards cut with clip-path, floating "salt pebble" cards
 * with big soft radii and double shadows, glassy translucent panels and a
 * breathing halo ring around the hero. Scoped under .halite-theme.
 */

.halite-theme {
  --ht-mist: #f7eef2;
  --ht-mist-deep: #f1e4ec;
  --ht-ink: #4c3f4e;
  --ht-ink-soft: #8d7f92;
  --ht-rose: #b287a8;
  --ht-rose-deep: #8a627f;
  --ht-rose-lift: #cdaec6;
  --ht-rose-soft: rgba(178, 135, 168, 0.12);
  --ht-rose-line: rgba(178, 135, 168, 0.3);
  --ht-on-rose: #fff;
  --ht-blue: #8e9fc4;
  --ht-blue-soft: rgba(142, 159, 196, 0.14);
  --ht-blue-line: rgba(142, 159, 196, 0.34);
  --ht-line: rgba(76, 63, 78, 0.1);
  --ht-glass: rgba(255, 252, 254, 0.5);
  --ht-glass-edge: rgba(255, 255, 255, 0.8);
  --ht-halo: radial-gradient(closest-side, rgba(178, 135, 168, 0.12), transparent);
  --ht-pebble: 38% 62% 56% 44% / 52% 44% 56% 48%;
  --ht-shadow-rose: rgba(138, 98, 127, 0.32);
  --ht-shadow-blue: rgba(101, 118, 158, 0.24);
  --fx-accent: var(--ht-rose);
  --fx-spot: var(--ht-rose-soft);
  --ht-display: "Fraunces", "Cormorant", serif;
  --ht-sans: "Raleway", sans-serif;

  background:
    linear-gradient(
      168deg,
      #f9f1f3 0%,
      var(--ht-mist) 30%,
      #f2e9f2 62%,
      #ecebf5 100%
    )
    fixed;
  background-color: var(--ht-mist);
  color: var(--ht-ink);
  font-family: var(--ht-sans);
  font-weight: 300;
  font-size: 16.5px;
  line-height: 1.72;
  letter-spacing: 0.014em;
  overflow-x: hidden;
  min-height: 100vh;
  isolation: isolate;
}

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

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

.halite-theme :where(a) {
  color: inherit;
  text-decoration: none;
}

html:has(.halite-theme) {
  color-scheme: light;
  scrollbar-width: thin;
  scrollbar-color: rgba(178, 135, 168, 0.5) #f2e8ef;
}

.halite-theme ::selection {
  background: var(--ht-rose);
  color: #fff;
}

/* Everything floats above the fixed dreamscape layer (`:where` keeps the
   selector at one-class specificity so later component rules still win). */
.halite-theme > *:not(:where(.ht-deco)) {
  position: relative;
  z-index: 1;
}

.ht-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ── Facet chip: the crystalline shard used as bullet and badge ──────────── */
.ht-facet {
  width: 13px;
  height: 15px;
  flex: 0 0 13px;
  display: inline-block;
  clip-path: polygon(50% 0, 100% 30%, 84% 100%, 16% 100%, 0 30%);
  background: linear-gradient(155deg, var(--ht-rose-lift) 0%, var(--ht-rose) 55%, var(--ht-blue) 130%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* Calm wide-tracked eyebrow with a facet-shard bullet. */
.ht-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.44em;
  text-transform: uppercase;
  color: var(--ht-rose-deep);
}

.ht-eyebrow--center {
  justify-content: center;
}

/* ── Nav: full-width translucent mineral veil ────────────────────────────── */
.ht-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  /* Bar spans the viewport; content stays on a centred 1180px measure. */
  padding: 14px max(28px, calc((100% - 1180px) / 2));
  background: linear-gradient(180deg, rgba(249, 241, 244, 0.88), rgba(249, 241, 244, 0.62));
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 44px -34px var(--ht-shadow-rose);
}

.ht-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ht-display);
  font-weight: 400;
  font-size: 21px;
  letter-spacing: 0.03em;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ht-logo .theme-brand-logo {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  object-fit: cover;
  border-radius: var(--ht-pebble);
  border: 1px solid var(--ht-glass-edge);
  box-shadow: 0 8px 18px -10px var(--ht-shadow-rose);
}

/* The brand's own crystal mark — a slim rotating facet beside the name. */
.ht-logo-facet {
  width: 14px;
  height: 17px;
  flex: 0 0 14px;
  clip-path: polygon(50% 0, 100% 30%, 84% 100%, 16% 100%, 0 30%);
  background: linear-gradient(155deg, var(--ht-rose-lift), var(--ht-rose) 60%, var(--ht-blue));
  animation: ht-facet-turn 9s ease-in-out infinite;
}

@keyframes ht-facet-turn {
  0%,
  100% {
    transform: rotate(-8deg);
  }
  50% {
    transform: rotate(8deg) translateY(-2px);
  }
}

.ht-logo-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ht-nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.ht-nav-links a {
  position: relative;
  padding-bottom: 5px;
  color: var(--ht-ink-soft);
  transition: color 0.25s ease;
}

/* A tiny facet rises under the link on hover instead of a plain underline. */
.ht-nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  width: 8px;
  height: 9px;
  translate: -50% 0;
  clip-path: polygon(50% 0, 100% 30%, 84% 100%, 16% 100%, 0 30%);
  background: var(--ht-rose);
  opacity: 0;
  transform: translateY(5px) scale(0.6);
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ht-nav-links a:hover {
  color: var(--ht-rose-deep);
}

.ht-nav-links a:hover::after {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ── Buttons: pebble pills with a pearl sheen ────────────────────────────── */
.ht-btn {
  display: inline-block;
  position: relative;
  padding: 15px 42px;
  border-radius: 30px 36px 30px 38px;
  background: linear-gradient(150deg, var(--ht-rose-lift) 0%, var(--ht-rose) 52%, var(--ht-rose-deep) 135%);
  color: var(--ht-on-rose);
  font-family: var(--ht-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  overflow: hidden;
  box-shadow:
    0 18px 34px -16px var(--ht-shadow-rose),
    0 8px 20px -12px var(--ht-shadow-blue),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  transition: box-shadow 0.35s ease, border-radius 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Pearl sheen resting along the top edge. */
.ht-btn::before {
  content: "";
  position: absolute;
  left: 14%;
  top: 4px;
  width: 44%;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  filter: blur(2.5px);
  pointer-events: none;
}

.ht-btn:hover {
  transform: translateY(-2px);
  border-radius: 38px 30px 36px 30px;
  box-shadow:
    0 24px 46px -18px var(--ht-shadow-rose),
    0 12px 26px -14px var(--ht-shadow-blue),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.ht-btn--nav {
  padding: 12px 28px;
}

.ht-btn--big {
  padding: 17px 54px;
}

.ht-btn--ghost {
  background: var(--ht-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--ht-rose-deep);
  border: 1px solid var(--ht-rose-line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.ht-btn--ghost::before {
  display: none;
}

.ht-btn--ghost:hover {
  border-color: var(--ht-rose);
  box-shadow:
    0 14px 28px -16px var(--ht-shadow-rose),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Specificity guard: `.halite-theme a` outranks `.ht-btn`; re-state colours. */
.halite-theme .ht-btn {
  color: var(--ht-on-rose);
}

.halite-theme .ht-btn--ghost {
  color: var(--ht-rose-deep);
}

.halite-theme a:focus-visible,
.halite-theme button:focus-visible {
  outline: 1.5px solid var(--ht-rose);
  outline-offset: 3px;
}

/* ── Hero: copy adrift left, halo-ringed pebble portrait right ───────────── */
.ht-hero {
  padding: 92px 0 76px;
  position: relative;
}

.ht-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.ht-hero h1 {
  margin: 22px 0 0;
  font-family: var(--ht-display);
  font-weight: 300;
  font-size: calc(clamp(46px, 6.6vw, 90px) * var(--tx-scale, 1));
  line-height: 1.04;
  letter-spacing: 0.002em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.ht-hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--ht-rose);
}

.ht-hero-motto {
  margin: 22px 0 0;
  max-width: 46ch;
  color: var(--ht-ink-soft);
  font-size: 17px;
}

.ht-hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.ht-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 26px 0 0;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ht-ink-soft);
}

.ht-hero-badge::before {
  content: "";
  width: 9px;
  height: 11px;
  clip-path: polygon(50% 0, 100% 30%, 84% 100%, 16% 100%, 0 30%);
  background: var(--ht-rose);
  box-shadow: 0 0 0 4px var(--ht-rose-soft);
}

/* Salt-pebble portrait suspended inside two slow halo rings. */
.ht-hero-art {
  position: relative;
  display: grid;
  place-items: center;
  padding: 40px;
}

.ht-hero-halo {
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, rgba(178, 135, 168, 0.26), transparent 70%),
    radial-gradient(closest-side at 68% 76%, rgba(142, 159, 196, 0.22), transparent 68%);
  filter: blur(8px);
  animation: ht-breathe 12s ease-in-out infinite;
}

.ht-hero-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.ht-hero-ring--1 {
  inset: 0;
  border: 1.4px solid var(--ht-rose-line);
  animation: ht-ring-drift 24s ease-in-out infinite;
}

.ht-hero-ring--1::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -6px;
  width: 10px;
  height: 12px;
  translate: -50% 0;
  clip-path: polygon(50% 0, 100% 30%, 84% 100%, 16% 100%, 0 30%);
  background: var(--ht-rose);
}

.ht-hero-ring--2 {
  inset: -26px;
  border: 1px dashed var(--ht-blue-line);
  animation: ht-ring-drift 32s ease-in-out infinite reverse;
}

.ht-hero-ring--2::after {
  content: "";
  position: absolute;
  right: 12%;
  bottom: 6%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ht-blue);
  box-shadow: 0 0 0 4px var(--ht-blue-soft);
}

@keyframes ht-ring-drift {
  0%,
  100% {
    rotate: -8deg;
  }
  50% {
    rotate: 8deg;
  }
}

.ht-hero-frame {
  position: relative;
  width: min(100%, 430px);
  aspect-ratio: 4 / 5;
  border-radius: var(--ht-pebble);
  overflow: hidden;
  border: 1px solid var(--ht-glass-edge);
  background: #efe2ea;
  box-shadow:
    0 40px 80px -38px var(--ht-shadow-rose),
    0 18px 44px -26px var(--ht-shadow-blue),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  animation: ht-hover 9s ease-in-out infinite;
}

.ht-hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Soft prism sweep gliding across the portrait now and then. */
.ht-hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    112deg,
    transparent 32%,
    rgba(255, 255, 255, 0.24) 46%,
    rgba(178, 135, 168, 0.1) 52%,
    rgba(142, 159, 196, 0.1) 58%,
    transparent 70%
  );
  transform: translateX(-130%);
  animation: ht-prism 9s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}

@keyframes ht-prism {
  0%,
  58% {
    transform: translateX(-130%);
  }
  86%,
  100% {
    transform: translateX(130%);
  }
}

/* Crystals resting against the frame, bobbing on their own tempo. */
.ht-hero-crystal {
  position: absolute;
  right: 2px;
  bottom: 8%;
  width: 84px;
  filter: drop-shadow(0 12px 22px rgba(138, 98, 127, 0.35));
  animation: ht-bob 7s ease-in-out infinite;
}

.ht-hero-shard {
  position: absolute;
  left: 8px;
  top: 12%;
  width: 34px;
  filter: drop-shadow(0 8px 16px rgba(101, 118, 158, 0.3));
  animation: ht-bob 8.5s ease-in-out infinite reverse;
}

/* The universal weightless bob — slow, small, dreamlike. */
@keyframes ht-bob {
  0%,
  100% {
    translate: 0 0;
    rotate: 0deg;
  }
  50% {
    translate: 0 -14px;
    rotate: 2deg;
  }
}

@keyframes ht-hover {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -10px;
  }
}

@keyframes ht-breathe {
  0%,
  100% {
    opacity: 0.65;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

/* Hero entrance. */
.halite-theme .ht-hero-copy .ht-eyebrow {
  animation: ht-fade 0.9s ease backwards;
}

.halite-theme .ht-hero h1 {
  animation: ht-surface 1.1s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.halite-theme .ht-hero-motto,
.halite-theme .ht-hero-cta,
.halite-theme .ht-hero-badge {
  animation: ht-fade 0.9s ease 0.3s backwards;
}

.halite-theme .ht-hero-art {
  animation: ht-fade 1.2s ease 0.15s backwards;
}

@keyframes ht-surface {
  from {
    opacity: 0;
    translate: 0 36px;
    filter: blur(7px);
  }
}

@keyframes ht-fade {
  from {
    opacity: 0;
  }
}

/* ── Ticker: mineral phrases drifting between facet gems ─────────────────── */
.ht-ticker {
  border-top: 1px solid rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid var(--ht-line);
  padding: 15px 0;
  font-family: var(--ht-display);
  font-style: italic;
  font-weight: 300;
  font-size: 17px;
  letter-spacing: 0.1em;
  color: var(--ht-ink-soft);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.45), rgba(233, 226, 243, 0.45));
}

.ht-ticker em {
  font-style: inherit;
  display: inline-flex;
  align-items: center;
  gap: 26px;
  margin-right: 26px;
}

.ht-ticker-gem {
  width: 9px;
  height: 11px;
  display: inline-block;
  clip-path: polygon(50% 0, 100% 30%, 84% 100%, 16% 100%, 0 30%);
  background: linear-gradient(155deg, var(--ht-rose-lift), var(--ht-blue));
}

/* ── Sections ────────────────────────────────────────────────────────────── */
.ht-section {
  padding: 106px 0;
}

.ht-sec-head {
  text-align: center;
  margin-bottom: 56px;
}

.ht-sec-head h2 {
  margin: 16px 0 0;
  font-family: var(--ht-display);
  font-weight: 300;
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.08;
  text-wrap: balance;
}

.ht-sec-head h2 em {
  font-style: italic;
  font-weight: 300;
  color: var(--ht-rose);
}

.ht-sec-lead {
  margin: 14px auto 0;
  max-width: 52ch;
  color: var(--ht-ink-soft);
}

/* ── Services: floating salt-pebble cards ────────────────────────────────── */
.ht-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.ht-service {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 36px 30px 28px;
  border-radius: 34px 52px 36px 56px;
  background: var(--ht-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--ht-glass-edge);
  box-shadow:
    0 26px 52px -30px var(--ht-shadow-rose),
    0 12px 30px -20px var(--ht-shadow-blue),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.45s ease,
    border-color 0.45s ease, border-radius 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Every other pebble tumbles the radii so the shelf reads hand-placed. */
.ht-service:nth-child(even) {
  border-radius: 54px 36px 50px 34px;
}

.ht-service:hover {
  transform: translateY(-8px);
  border-color: var(--ht-rose-line);
  border-radius: 44px 44px 44px 44px;
  box-shadow:
    0 36px 66px -30px var(--ht-shadow-rose),
    0 18px 38px -22px var(--ht-shadow-blue),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

/* Facet-cut numeral chip in the corner. */
.ht-service-facet {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 42px;
  height: 48px;
  display: grid;
  place-items: center;
  clip-path: polygon(50% 0, 100% 28%, 86% 100%, 14% 100%, 0 28%);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.9), var(--ht-rose-soft) 65%, var(--ht-blue-soft));
  font-family: var(--ht-display);
  font-size: 14px;
  color: var(--ht-rose-deep);
  transition: background 0.4s ease, rotate 0.5s ease, color 0.35s ease;
}

.ht-service:hover .ht-service-facet {
  rotate: -10deg;
  color: var(--ht-rose);
}

.ht-service h3 {
  margin: 0;
  padding-right: 56px;
  font-family: var(--ht-display);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.ht-service-meta {
  margin: 0;
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ht-ink-soft);
}

.ht-service-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--ht-line);
}

.ht-price {
  font-family: var(--ht-display);
  font-style: italic;
  font-size: 21px;
  color: var(--ht-rose-deep);
  white-space: nowrap;
}

.ht-service-book {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ht-ink-soft);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.ht-service:hover .ht-service-book {
  opacity: 1;
  transform: translateX(0);
  color: var(--ht-rose);
}

/* Lilac-periwinkle glow blooming from the pebble's lower corner. */
.ht-service-glow {
  position: absolute;
  left: -40px;
  bottom: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(142, 159, 196, 0.28), transparent);
  opacity: 0.7;
  transition: opacity 0.45s ease, scale 0.55s ease;
  pointer-events: none;
}

.ht-service:hover .ht-service-glow {
  opacity: 1;
  scale: 1.3;
}

/* ── Gallery: pebble-cut frames on an offset floating rhythm ─────────────── */
.ht-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: start;
}

.ht-gal {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--ht-pebble);
  border: 1px solid var(--ht-glass-edge);
  background: #efe2ea;
  box-shadow:
    0 28px 56px -32px var(--ht-shadow-rose),
    0 14px 32px -22px var(--ht-shadow-blue);
  transition: border-radius 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Alternate cuts and drops so the wall floats instead of gridding. */
.ht-gal:nth-child(3n + 2) {
  margin-top: 46px;
  border-radius: 56% 44% 40% 60% / 44% 56% 48% 52%;
}

.ht-gal:nth-child(3n) {
  margin-top: 20px;
  border-radius: 44% 56% 58% 42% / 56% 46% 52% 44%;
}

.ht-gal:hover {
  border-radius: 34px;
}

.ht-gal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.6s ease;
}

.ht-gal:hover img {
  transform: scale(1.06);
  filter: brightness(1.05) saturate(1.06);
}

/* ── Team: halo-ringed pebble portraits ──────────────────────────────────── */
.ht-team {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 44px 36px;
}

.ht-member {
  flex: 0 1 224px;
  min-width: 0;
  text-align: center;
}

.ht-member-pebble {
  position: relative;
  display: block;
  width: 172px;
  height: 184px;
  margin: 0 auto 22px;
  border-radius: var(--ht-pebble);
  padding: 9px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.85), var(--ht-rose-soft));
  border: 1px solid var(--ht-glass-edge);
  box-shadow:
    0 22px 44px -26px var(--ht-shadow-rose),
    0 10px 24px -16px var(--ht-shadow-blue);
  transition: border-radius 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* A thin halo hangs offset behind the portrait, drifting on hover. */
.ht-member-pebble::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1.2px dashed var(--ht-rose-line);
  transition: rotate 7s linear, border-color 0.4s ease;
}

.ht-member:hover .ht-member-pebble::before {
  rotate: 140deg;
  border-color: var(--ht-blue-line);
}

/* A facet gem pinned at the pebble's shoulder. */
.ht-member-pebble::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 10px;
  width: 12px;
  height: 14px;
  clip-path: polygon(50% 0, 100% 30%, 84% 100%, 16% 100%, 0 30%);
  background: linear-gradient(160deg, var(--ht-rose-lift), var(--ht-rose));
  box-shadow: 0 3px 8px rgba(138, 98, 127, 0.4);
}

.ht-member:hover .ht-member-pebble {
  border-radius: 50%;
}

.ht-member-pebble img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  transition: filter 0.5s ease, transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.ht-member:hover .ht-member-pebble img {
  filter: brightness(1.05) saturate(1.06);
  transform: scale(1.03);
}

.ht-member h3 {
  margin: 0 0 4px;
  font-family: var(--ht-display);
  font-weight: 400;
  font-size: 21px;
}

.ht-member p {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ht-ink-soft);
}

/* ── Classes: glassy session rows with a facet marker ────────────────────── */
.ht-classes {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.ht-class {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 22px 28px;
  border-radius: 22px 34px 24px 36px;
  background: var(--ht-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--ht-glass-edge);
  box-shadow:
    0 18px 40px -26px var(--ht-shadow-rose),
    0 8px 22px -16px var(--ht-shadow-blue);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.35s ease,
    border-radius 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ht-class:nth-child(even) {
  border-radius: 34px 24px 36px 22px;
}

.ht-class:hover {
  transform: translateY(-4px);
  border-color: var(--ht-rose-line);
  border-radius: 28px;
}

.ht-class-facet {
  width: 13px;
  height: 15px;
  flex: 0 0 13px;
  clip-path: polygon(50% 0, 100% 30%, 84% 100%, 16% 100%, 0 30%);
  background: linear-gradient(155deg, var(--ht-rose-lift), var(--ht-rose) 60%, var(--ht-blue));
  transition: rotate 0.4s ease;
}

.ht-class:hover .ht-class-facet {
  rotate: 16deg;
}

.ht-class-main {
  flex: 1;
  min-width: 200px;
}

.ht-class b {
  font-family: var(--ht-display);
  font-weight: 400;
  font-size: 20px;
}

.ht-class-when {
  display: block;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ht-ink-soft);
  margin-top: 5px;
}

.ht-class-seats {
  font-family: var(--ht-display);
  font-style: italic;
  font-size: 16px;
  color: var(--ht-rose-deep);
  white-space: nowrap;
}

.ht-class-seats.is-full {
  color: var(--ht-ink-soft);
}

/* ── Visit: one large glass panel breathing under its halo ───────────────── */
.ht-visit {
  position: relative;
  text-align: center;
  padding: 80px 40px 72px;
  border-radius: 48px 64px 52px 68px;
  background: var(--ht-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--ht-glass-edge);
  box-shadow:
    0 44px 90px -46px var(--ht-shadow-rose),
    0 20px 50px -30px var(--ht-shadow-blue),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  overflow: hidden;
}

.ht-visit::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 58% 48% at 10% 0%, rgba(178, 135, 168, 0.18), transparent 70%),
    radial-gradient(ellipse 54% 46% at 92% 100%, rgba(142, 159, 196, 0.18), transparent 70%);
  pointer-events: none;
}

.ht-visit > * {
  position: relative;
}

.ht-visit-halo {
  position: absolute;
  right: -80px;
  top: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 1.4px solid var(--ht-rose-line);
  pointer-events: none;
  animation: ht-ring-drift 28s ease-in-out infinite;
}

.ht-visit-halo::after {
  content: "";
  position: absolute;
  inset: 28px;
  border-radius: 50%;
  border: 1px dashed var(--ht-blue-line);
}

.ht-visit-shard {
  position: absolute;
  left: 4%;
  bottom: 8%;
  width: 34px;
  opacity: 0.8;
  animation: ht-bob 8s ease-in-out infinite;
}

.ht-visit h2 {
  margin: 16px auto 16px;
  font-family: var(--ht-display);
  font-weight: 300;
  font-size: clamp(34px, 4.8vw, 56px);
  line-height: 1.08;
  max-width: 20ch;
  text-wrap: balance;
}

.ht-visit h2 em {
  font-style: italic;
  font-weight: 300;
  color: var(--ht-rose);
}

.ht-visit-lines,
.ht-visit-hours {
  margin: 0 auto 8px;
  max-width: 58ch;
  color: var(--ht-ink-soft);
}

.ht-visit-links {
  margin: 0 auto 34px;
}

.ht-visit-links a {
  color: var(--ht-rose-deep);
  border-bottom: 1px solid var(--ht-rose-line);
  transition: color 0.25s ease, border-color 0.25s ease;
}

.ht-visit-links a:hover {
  color: var(--ht-rose);
  border-color: var(--ht-rose);
}

.ht-outlets-label {
  margin: 42px 0 0;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ht-ink-soft);
}

.ht-outlets {
  list-style: none;
  margin: 14px auto 0;
  padding: 0;
  font-size: 13.5px;
  letter-spacing: 0.08em;
  color: var(--ht-ink-soft);
}

.ht-outlets li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 7px;
}

/* Facet-shard bullet before each sister outlet. */
.ht-outlets li::before {
  content: "";
  width: 8px;
  height: 10px;
  flex: 0 0 8px;
  clip-path: polygon(50% 0, 100% 30%, 84% 100%, 16% 100%, 0 30%);
  background: linear-gradient(155deg, var(--ht-rose-lift), var(--ht-blue));
}

.ht-outlets a:hover {
  color: var(--ht-rose-deep);
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.ht-footer {
  border-top: 1px solid var(--ht-line);
  padding: 28px 0 38px;
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--ht-ink-soft);
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.35));
}

.ht-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.ht-footer a {
  transition: color 0.25s ease;
}

.ht-footer a:hover {
  color: var(--ht-rose-deep);
}

.ht-footer-social {
  display: flex;
  gap: 22px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

/* ── Mobile ──────────────────────────────────────────────────────────────── */
.ht-mobile-bar {
  display: none;
}

@media (max-width: 1024px) {
  .ht-hero-grid {
    gap: 44px;
  }

  .ht-services {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }

  .ht-gallery {
    gap: 22px;
  }

  .ht-nav-links {
    gap: 22px;
  }
}

@media (max-width: 880px) {
  .ht-nav {
    padding: 11px 20px;
  }

  .ht-nav-links,
  .ht-nav > .ht-btn {
    display: none;
  }

  .ht-hero {
    padding: 56px 0 56px;
  }

  .ht-hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .ht-hero-art {
    padding: 30px;
    max-width: 430px;
    margin: 0 auto;
  }

  .ht-section {
    padding: 76px 0;
  }

  .ht-services {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .ht-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .ht-gal,
  .ht-gal:nth-child(n) {
    margin-top: 0;
    aspect-ratio: 1 / 1;
  }

  .ht-team {
    gap: 34px 14px;
  }

  .ht-member {
    flex: 0 1 calc(50% - 7px);
  }

  .ht-member-pebble {
    width: 136px;
    height: 146px;
    padding: 7px;
  }

  .ht-member h3 {
    font-size: 18px;
  }

  .ht-visit {
    padding: 58px 24px 54px;
    border-radius: 34px 44px 36px 46px;
  }

  .ht-mobile-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(247, 238, 242, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--ht-line);
    box-shadow: 0 -16px 36px rgba(76, 63, 78, 0.12);
    justify-content: center;
  }

  .ht-mobile-bar .ht-btn {
    width: 100%;
    text-align: center;
  }

  .ht-footer {
    padding-bottom: 110px;
  }
}

@media (max-width: 560px) {
  .ht-wrap {
    padding: 0 20px;
  }

  .ht-logo {
    font-size: 18px;
  }

  .ht-hero {
    padding: 44px 0 48px;
  }

  .ht-hero-art {
    padding: 20px;
  }

  .ht-hero-ring--2 {
    inset: -14px;
  }

  .ht-hero-crystal {
    width: 62px;
  }

  .ht-hero-shard {
    width: 26px;
  }

  .ht-section {
    padding: 62px 0;
  }

  .ht-sec-head {
    margin-bottom: 40px;
  }

  .ht-service {
    padding: 30px 24px 24px;
  }

  .ht-gallery {
    grid-template-columns: 1fr;
  }

  .ht-gal,
  .ht-gal:nth-child(n) {
    aspect-ratio: 4 / 3;
  }

  .ht-class {
    padding: 18px 20px;
  }

  .ht-visit {
    padding: 48px 18px 46px;
  }

  .ht-visit-halo {
    right: -110px;
    top: -110px;
  }

  .ht-ticker {
    font-size: 15px;
  }
}

/* ── Motion (ThemeFX): weightless rises — a blur lifting as things settle ── */
.tfx .halite-theme [data-reveal] {
  opacity: 0;
  translate: 0 32px;
  filter: blur(6px);
  transition: opacity 0.9s ease, translate 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.9s ease;
}

.tfx .halite-theme [data-reveal].is-in {
  opacity: 1;
  translate: 0 0;
  filter: blur(0);
}

/* ── Deco: the suspended-salt dreamscape ───────────────────────────────────
   Fixed full-viewport layer behind the page: rose and periwinkle orbs
   breathing through the mist, halite crystals and slim shards bobbing
   weightlessly, four-point glints winking, and fine salt grains sinking
   like slow underwater snow. Sits at z-index 0; page children are lifted
   to 1 (see the child-lift rule up top) so text keeps its contrast. */
.ht-deco {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Gradient orbs — huge, blurred, breathing on long offsets. */
.ht-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  animation: ht-breathe 16s ease-in-out infinite;
}

.ht-orb--rose {
  left: -190px;
  top: -170px;
  width: 640px;
  height: 640px;
  background: radial-gradient(closest-side, rgba(178, 135, 168, 0.24), transparent);
}

.ht-orb--blue {
  right: -220px;
  top: 30%;
  width: 660px;
  height: 660px;
  background: radial-gradient(closest-side, rgba(142, 159, 196, 0.22), transparent);
  animation-delay: -6s;
  animation-duration: 20s;
}

.ht-orb--pearl {
  left: 18%;
  bottom: -280px;
  width: 720px;
  height: 720px;
  background: radial-gradient(closest-side, rgba(255, 236, 244, 0.55), transparent);
  animation-delay: -11s;
  animation-duration: 18s;
}

/* Crystals suspended mid-air, bobbing very slowly. */
.ht-deco-crystal {
  position: absolute;
  opacity: 0.7;
  filter: drop-shadow(0 14px 26px rgba(138, 98, 127, 0.25));
  animation: ht-drift 13s ease-in-out infinite;
}

.ht-deco-crystal--1 {
  left: 4%;
  top: 20%;
  width: 92px;
}

.ht-deco-crystal--2 {
  right: 5%;
  top: 64%;
  width: 74px;
  animation-delay: -5s;
  animation-duration: 16s;
}

/* Slim shards scattered higher, turning gently as they hang. */
.ht-deco-shard {
  position: absolute;
  opacity: 0.65;
  filter: drop-shadow(0 10px 20px rgba(101, 118, 158, 0.25));
  animation: ht-drift 11s ease-in-out infinite;
}

.ht-deco-shard--1 {
  left: 30%;
  top: 8%;
  width: 30px;
  animation-delay: -3s;
}

.ht-deco-shard--2 {
  right: 22%;
  top: 30%;
  width: 24px;
  animation-delay: -7s;
  animation-duration: 14s;
}

.ht-deco-shard--3 {
  left: 12%;
  bottom: 12%;
  width: 36px;
  animation-delay: -9s;
  animation-duration: 15s;
}

@keyframes ht-drift {
  0%,
  100% {
    translate: 0 0;
    rotate: -4deg;
  }
  50% {
    translate: 6px -18px;
    rotate: 5deg;
  }
}

/* Four-point glints winking on a long staggered cycle. */
.ht-glint {
  position: absolute;
  width: 18px;
  color: var(--ht-rose);
  opacity: 0;
  animation: ht-wink 13s ease-in-out infinite;
}

.ht-glint--1 {
  left: 14%;
  top: 34%;
}

.ht-glint--2 {
  right: 12%;
  top: 16%;
  width: 13px;
  color: var(--ht-blue);
  animation-delay: -3.2s;
}

.ht-glint--3 {
  left: 44%;
  top: 74%;
  width: 15px;
  animation-delay: -6.5s;
}

.ht-glint--4 {
  right: 30%;
  top: 56%;
  width: 12px;
  color: var(--ht-blue);
  animation-delay: -9.8s;
}

@keyframes ht-wink {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.5) rotate(0deg);
  }
  10% {
    opacity: 0.55;
    transform: scale(1) rotate(22deg);
  }
  20% {
    opacity: 0;
    transform: scale(0.5) rotate(44deg);
  }
}

/* Salt grains sinking like slow underwater snow, swaying as they go. */
.ht-grain {
  position: absolute;
  top: -12px;
  width: 4px;
  height: 4px;
  border-radius: 40% 60% 55% 45% / 55% 45% 60% 40%;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 8px 2px rgba(178, 135, 168, 0.28);
  animation: ht-sink linear infinite;
}

.ht-grain--1 { left: 5%; animation-duration: 26s; }
.ht-grain--2 { left: 12%; width: 3px; height: 3px; animation-duration: 32s; animation-delay: -9s; }
.ht-grain--3 { left: 20%; animation-duration: 28s; animation-delay: -17s; }
.ht-grain--4 { left: 28%; width: 2px; height: 2px; animation-duration: 35s; animation-delay: -5s; }
.ht-grain--5 { left: 36%; animation-duration: 27s; animation-delay: -21s; }
.ht-grain--6 { left: 44%; width: 3px; height: 3px; animation-duration: 33s; animation-delay: -13s; }
.ht-grain--7 { left: 52%; animation-duration: 25s; animation-delay: -7s; }
.ht-grain--8 { left: 60%; width: 2px; height: 2px; animation-duration: 36s; animation-delay: -24s; }
.ht-grain--9 { left: 68%; animation-duration: 29s; animation-delay: -11s; }
.ht-grain--10 { left: 75%; width: 3px; height: 3px; animation-duration: 31s; animation-delay: -18s; }
.ht-grain--11 { left: 82%; animation-duration: 26.5s; animation-delay: -3s; }
.ht-grain--12 { left: 88%; width: 2px; height: 2px; animation-duration: 37s; animation-delay: -22s; }
.ht-grain--13 { left: 93%; animation-duration: 28.5s; animation-delay: -15s; }
.ht-grain--14 { left: 97%; width: 3px; height: 3px; animation-duration: 30s; animation-delay: -26s; }

@keyframes ht-sink {
  0% {
    transform: translateY(-4vh) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  55% {
    transform: translateY(52vh) translateX(16px);
  }
  90% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(108vh) translateX(-10px);
    opacity: 0;
  }
}

@media (max-width: 720px) {
  .ht-deco-crystal--2,
  .ht-deco-shard--2,
  .ht-glint--4 {
    display: none;
  }

  .ht-deco-crystal--1 {
    width: 64px;
    top: 14%;
  }

  .ht-deco-shard--1 {
    width: 22px;
  }

  .ht-deco-shard--3 {
    width: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ht-orb,
  .ht-deco-crystal,
  .ht-deco-shard,
  .ht-glint,
  .ht-grain,
  .ht-logo-facet,
  .ht-hero-halo,
  .ht-hero-ring--1,
  .ht-hero-ring--2,
  .ht-hero-frame,
  .ht-hero-frame::after,
  .ht-hero-crystal,
  .ht-hero-shard,
  .ht-visit-halo,
  .ht-visit-shard,
  .halite-theme .ht-hero h1,
  .halite-theme .ht-hero-copy .ht-eyebrow,
  .halite-theme .ht-hero-motto,
  .halite-theme .ht-hero-cta,
  .halite-theme .ht-hero-badge,
  .halite-theme .ht-hero-art {
    animation: none;
  }

  .ht-glint {
    opacity: 0.25;
  }

  .ht-grain {
    opacity: 0.3;
    transform: translateY(34vh);
  }

  .tfx .halite-theme [data-reveal] {
    opacity: 1;
    translate: 0 0;
    filter: none;
    transition: none;
  }
}
