/**
 * PETAL — original Tunai theme for K-beauty skin & aesthetics studios.
 * "Glass skin, morning blossom": white-blush canvas, porcelain panels, a
 * rose-quartz accent, deep mauve-brown ink and one signature motif — the
 * soft asymmetric petal — used as photo masks, floating blurred blossom
 * light and five-petal dot ornaments. Scoped under .petal-theme.
 */

.petal-theme {
  --pt-bg: #fdf9f8;
  --pt-porcelain: #fffdfd;
  --pt-ink: #4a353a;
  --pt-ink-soft: #94797f;
  --pt-rose: #e8a0a8;
  --pt-rose-ink: #c4707c;
  --pt-rose-soft: rgba(232, 160, 168, 0.12);
  --pt-line: rgba(232, 160, 168, 0.38);
  --pt-on-rose: #ffffff;
  --pt-mauve: #433036;
  --fx-accent: var(--pt-rose);
  --fx-spot: var(--pt-rose-soft);
  --pt-display: "Cormorant Garamond", serif;
  --pt-body: "Figtree", sans-serif;
  /* The signature petal — a soft asymmetric blossom curve. */
  --pt-petal-r: 80% 20% 70% 30% / 60% 40% 60% 40%;
  --pt-petal-r-flip: 20% 80% 30% 70% / 40% 60% 40% 60%;
  /* Dewy, blush-tinted multi-layer shadow. */
  --pt-dew:
    0 1px 2px rgba(74, 53, 58, 0.05),
    0 10px 26px -10px rgba(232, 160, 168, 0.32),
    0 28px 56px -28px rgba(74, 53, 58, 0.14);
  --pt-dew-high:
    0 2px 4px rgba(74, 53, 58, 0.05),
    0 18px 38px -12px rgba(232, 160, 168, 0.42),
    0 40px 80px -32px rgba(74, 53, 58, 0.18);

  background: var(--pt-bg);
  color: var(--pt-ink);
  font-family: var(--pt-body);
  font-weight: 400;
  font-size: 16.5px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  min-height: 100vh;
}

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

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

.petal-theme a {
  color: inherit;
  text-decoration: none;
}

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

.petal-theme a:focus-visible,
.petal-theme button:focus-visible {
  outline: 2px solid var(--pt-rose-ink);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Light colour scheme + a blush thin scrollbar on the page root. */
html:has(.petal-theme) {
  color-scheme: light;
  scrollbar-width: thin;
  scrollbar-color: rgba(232, 160, 168, 0.6) #f8eef0;
}

/* Porcelain atmosphere — the faintest blush breathing at the page corners. */
.petal-theme::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 44% 30% at 88% 0%, rgba(232, 160, 168, 0.09), transparent 70%),
    radial-gradient(ellipse 40% 28% at 0% 96%, rgba(232, 160, 168, 0.07), transparent 70%);
}

.pt-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ── Eyebrow: wide-tracked uppercase in rose, with a fading rose thread. ── */
.pt-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--pt-rose-ink);
}

.pt-eyebrow::after {
  content: "";
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, var(--pt-rose) 30%, transparent);
}

/* ── Five-petal dot ornament — the section marker. ── */
.pt-bloom {
  position: relative;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  background:
    radial-gradient(circle 3px at 13px 5px, var(--pt-rose) 92%, transparent),
    radial-gradient(circle 3px at 20.6px 10.5px, var(--pt-rose) 92%, transparent),
    radial-gradient(circle 3px at 17.7px 19.5px, var(--pt-rose) 92%, transparent),
    radial-gradient(circle 3px at 8.3px 19.5px, var(--pt-rose) 92%, transparent),
    radial-gradient(circle 3px at 5.4px 10.5px, var(--pt-rose) 92%, transparent),
    radial-gradient(circle 1.8px at 13px 13px, var(--pt-rose-ink) 92%, transparent);
}

.pt-bloom--center {
  display: block;
  margin: 22px auto 26px;
}

/* ── Nav ─────────────────────────────────────────────────────────────────── */
.pt-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 34px;
  background: rgba(253, 249, 248, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--pt-line);
}

.pt-logo {
  font-family: var(--pt-display);
  font-weight: 500;
  font-size: 23px;
  letter-spacing: 0.03em;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

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

.pt-nav-links a:hover {
  color: var(--pt-rose-ink);
}

/* A rose thread draws under nav links. */
.pt-nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--pt-rose);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.pt-nav-links a:hover::after {
  transform: scaleX(1);
}

/* ── Buttons: pills with a dewy shadow and a soft squish. ────────────────── */
.pt-btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--pt-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.3s ease,
    color 0.3s ease,
    box-shadow 0.35s ease,
    transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pt-btn:active {
  transform: scale(0.96);
}

.pt-btn--rose {
  background: linear-gradient(140deg, #f0b0b7, var(--pt-rose) 55%, #e2939c);
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--pt-on-rose);
  box-shadow: var(--pt-dew);
}

.pt-btn--rose:hover {
  box-shadow: var(--pt-dew-high);
  transform: translateY(-2px);
}

.pt-btn--ghost {
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--pt-line);
  color: var(--pt-ink);
}

.pt-btn--ghost:hover {
  background: var(--pt-porcelain);
  border-color: var(--pt-rose);
  box-shadow: var(--pt-dew);
  transform: translateY(-2px);
}

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

.petal-theme .pt-btn--ghost {
  color: var(--pt-ink);
}

/* ── Hero ────────────────────────────────────────────────────────────────── */
.pt-hero {
  position: relative;
  padding: 84px 0 72px;
  overflow: hidden;
}

.pt-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.pt-hero h1 {
  margin: 24px 0 0;
  font-family: var(--pt-display);
  font-weight: 300;
  font-size: calc(clamp(50px, 7.6vw, 104px) * var(--tx-scale, 1));
  line-height: 1.02;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
  /* Balance forced mid-word breaks of very long single-word names so the
     last line never strands one or two characters. */
  text-wrap: balance;
}

.pt-rose-word {
  font-style: italic;
  font-weight: 400;
  color: var(--pt-rose-ink);
}

.pt-hero-motto {
  margin: 26px 0 0;
  max-width: 44ch;
  font-weight: 300;
  font-size: 17.5px;
  color: var(--pt-ink-soft);
}

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

/* The hero image sits in a large petal mask with a porcelain inner keyline. */
.pt-hero-art {
  position: relative;
}

/* A blush petal echo drifting behind the frame. */
.pt-hero-art::before {
  content: "";
  position: absolute;
  inset: 6% -4% -5% 8%;
  border-radius: var(--pt-petal-r-flip);
  background: linear-gradient(150deg, rgba(232, 160, 168, 0.28), rgba(232, 160, 168, 0.08));
  transform: rotate(4deg);
}

.pt-hero-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 640px;
  overflow: hidden;
  border-radius: var(--pt-petal-r);
  background: var(--pt-rose-soft);
  box-shadow: var(--pt-dew-high);
}

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

.pt-hero-frame::after {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 4;
  border: 1px solid rgba(255, 253, 253, 0.75);
  border-radius: inherit;
  pointer-events: none;
}

/* Floating blurred petals — blossom light drifting through the hero. */
.pt-petal {
  position: absolute;
  z-index: 0;
  border-radius: var(--pt-petal-r);
  background: radial-gradient(circle at 32% 30%, rgba(240, 176, 183, 0.6), rgba(232, 160, 168, 0.18) 70%);
  filter: blur(26px);
  pointer-events: none;
}

.pt-petal--1 {
  width: 280px;
  height: 320px;
  top: -70px;
  right: 4%;
  animation: pt-drift-a 26s ease-in-out infinite alternate;
}

.pt-petal--2 {
  width: 190px;
  height: 220px;
  left: -60px;
  top: 42%;
  animation: pt-drift-b 30s ease-in-out infinite alternate;
}

.pt-petal--3 {
  width: 150px;
  height: 170px;
  right: 26%;
  bottom: -40px;
  animation: pt-drift-a 22s ease-in-out 2s infinite alternate-reverse;
}

.pt-petal--4 {
  width: 90px;
  height: 110px;
  left: 32%;
  top: 4%;
  opacity: 0.8;
  animation: pt-drift-b 24s ease-in-out 1s infinite alternate;
}

@keyframes pt-drift-a {
  from {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  to {
    transform: translate3d(-36px, 42px, 0) rotate(14deg);
  }
}

@keyframes pt-drift-b {
  from {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  to {
    transform: translate3d(44px, -34px, 0) rotate(-12deg);
  }
}

/* ── Petal ticker ────────────────────────────────────────────────────────── */
.pt-marquee {
  border-block: 1px solid var(--pt-line);
  padding: 15px 0;
  background: rgba(255, 253, 253, 0.6);
}

.pt-marquee em {
  display: inline-flex;
  align-items: center;
  font-style: normal;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--pt-ink-soft);
  white-space: nowrap;
}

.pt-marquee em::after {
  content: "";
  width: 9px;
  height: 11px;
  margin: 0 30px;
  border-radius: var(--pt-petal-r);
  background: var(--pt-rose);
  opacity: 0.75;
}

/* ── Sections ────────────────────────────────────────────────────────────── */
.pt-section {
  padding: 110px 0 0;
}

.pt-sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.pt-sec-head h2 {
  margin: 14px 0 0;
  font-family: var(--pt-display);
  font-weight: 300;
  font-size: clamp(34px, 4.8vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

.pt-sec-head h2 em,
.pt-visit h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--pt-rose-ink);
}

.pt-sec-head .pt-bloom {
  margin-bottom: 10px;
}

/* ── Services: the ritual menu — dewy porcelain cards. ───────────────────── */
.pt-rituals {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 26px;
}

.pt-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 30px 26px;
  border-radius: 26px;
  background: var(--pt-porcelain);
  border: 1px solid rgba(232, 160, 168, 0.22);
  box-shadow: var(--pt-dew);
  overflow: hidden;
  transition:
    transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.35s ease,
    border-color 0.3s ease;
}

/* A faint petal watermark resting in the card corner. */
.pt-card::before {
  content: "";
  position: absolute;
  top: -26px;
  right: -20px;
  width: 96px;
  height: 116px;
  border-radius: var(--pt-petal-r);
  background: linear-gradient(160deg, rgba(232, 160, 168, 0.16), rgba(232, 160, 168, 0.04));
  transform: rotate(18deg);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.4s ease;
  pointer-events: none;
}

.pt-card:hover::before {
  transform: rotate(4deg) scale(1.12);
  background: linear-gradient(160deg, rgba(232, 160, 168, 0.26), rgba(232, 160, 168, 0.08));
}

.pt-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--pt-dew-high);
  border-color: var(--pt-line);
}

/* The tiny petal marker — blooms on hover. */
.pt-mark {
  width: 16px;
  height: 19px;
  margin-bottom: 18px;
  border-radius: var(--pt-petal-r);
  background: linear-gradient(150deg, #f0b0b7, var(--pt-rose));
  box-shadow: 0 4px 10px -3px rgba(232, 160, 168, 0.6);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pt-card:hover .pt-mark {
  transform: scale(1.35) rotate(-10deg);
}

.pt-card-name {
  margin: 0;
  font-family: var(--pt-display);
  font-weight: 500;
  font-size: 23px;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.pt-card-meta {
  margin: 8px 0 0;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pt-ink-soft);
}

/* Thin rose rule between name and price — the 22px gap above the 1px line is
   part of the element so `margin-top: auto` can align card foots in a row. */
.pt-card-rule {
  height: 23px;
  margin: 0 0 16px;
  margin-top: auto;
  background: linear-gradient(90deg, var(--pt-rose) 0%, rgba(232, 160, 168, 0.1)) bottom / 100% 1px no-repeat;
}

.pt-card-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.pt-card-price {
  font-family: var(--pt-display);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  color: var(--pt-rose-ink);
  white-space: nowrap;
}

.pt-card-book {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--pt-ink-soft);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s, transform 0.25s, color 0.25s;
}

.pt-card:hover .pt-card-book {
  opacity: 1;
  transform: translateX(0);
  color: var(--pt-rose-ink);
}

/* ── Gallery: petal masks alternating with soft-rounded rects. ───────────── */
.pt-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pt-tile {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 28px;
  background: var(--pt-rose-soft);
  box-shadow: var(--pt-dew);
}

.pt-tile:nth-child(4n + 1) {
  border-radius: var(--pt-petal-r);
}

.pt-tile:nth-child(4n) {
  border-radius: var(--pt-petal-r-flip);
}

.pt-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.pt-tile:hover img {
  transform: scale(1.05);
}

/* Blush wash on hover. */
.pt-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  background: linear-gradient(160deg, rgba(232, 160, 168, 0.24), rgba(232, 160, 168, 0.05));
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.pt-tile:hover::after {
  opacity: 1;
}

/* ── Team: circular portraits in a thin rose ring + petal badge. ─────────── */
.pt-team {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 46px 28px;
}

.pt-member {
  text-align: center;
}

.pt-member-frame {
  position: relative;
  width: min(190px, 78%);
  aspect-ratio: 1;
  margin: 0 auto 20px;
  padding: 9px;
  border: 1px solid var(--pt-line);
  border-radius: 50%;
  background: var(--pt-porcelain);
  box-shadow: var(--pt-dew);
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pt-member:hover .pt-member-frame {
  border-color: var(--pt-rose);
  box-shadow: var(--pt-dew-high);
  transform: translateY(-4px);
}

.pt-member-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Small petal badge resting on the ring. */
.pt-member-frame::after {
  content: "";
  position: absolute;
  right: 6%;
  bottom: 4%;
  width: 16px;
  height: 19px;
  border-radius: var(--pt-petal-r);
  background: linear-gradient(150deg, #f0b0b7, var(--pt-rose));
  box-shadow: 0 0 0 3px var(--pt-bg);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pt-member:hover .pt-member-frame::after {
  transform: scale(1.25) rotate(-10deg);
}

.pt-member h3 {
  margin: 0 0 4px;
  font-family: var(--pt-display);
  font-weight: 500;
  font-size: 22px;
}

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

/* ── Classes ─────────────────────────────────────────────────────────────── */
.pt-classes {
  display: grid;
  gap: 14px;
}

.pt-class {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 22px 28px;
  border-radius: 20px;
  background: var(--pt-porcelain);
  border: 1px solid rgba(232, 160, 168, 0.22);
  box-shadow: var(--pt-dew);
  transition:
    transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.35s ease,
    border-color 0.3s ease;
}

.pt-class:hover {
  transform: translateY(-3px);
  box-shadow: var(--pt-dew-high);
  border-color: var(--pt-line);
}

.pt-class b {
  font-family: var(--pt-display);
  font-weight: 500;
  font-size: 21px;
}

.pt-class-when {
  display: block;
  margin-top: 5px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pt-ink-soft);
}

.pt-class-seats {
  font-family: var(--pt-display);
  font-style: italic;
  font-size: 17px;
  color: var(--pt-rose-ink);
  white-space: nowrap;
}

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

/* ── View more (shared control) ──────────────────────────────────────────── */
.petal-theme .theme-view-more {
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  margin: 40px auto 0;
  padding: 12px 26px;
  border: 1px solid var(--pt-line);
  border-radius: 999px;
  background: rgba(255, 253, 253, 0.8);
  color: var(--pt-ink);
  font-family: var(--pt-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, transform 0.2s, box-shadow 0.3s;
}

.petal-theme .theme-view-more:hover {
  background: var(--pt-porcelain);
  border-color: var(--pt-rose);
  transform: translateY(-2px);
  box-shadow: var(--pt-dew);
}

.petal-theme .theme-view-more-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  background: var(--pt-rose-soft);
  color: var(--pt-rose-ink);
}

/* ── Visit: deep mauve closing panel with a rose glow. ───────────────────── */
.pt-visit {
  margin-top: 120px;
  padding: 120px 0;
  text-align: center;
  color: #f7ebed;
  background:
    radial-gradient(ellipse 70% 55% at 50% 115%, rgba(232, 160, 168, 0.22), transparent 70%)
    var(--pt-mauve);
}

.pt-visit .pt-eyebrow {
  justify-content: center;
  color: var(--pt-rose);
}

.pt-visit .pt-eyebrow::after {
  display: none;
}

.pt-visit h2 {
  margin: 18px auto 0;
  max-width: 16ch;
  font-family: var(--pt-display);
  font-weight: 300;
  font-size: clamp(38px, 5.4vw, 64px);
  line-height: 1.08;
  text-wrap: balance;
}

.pt-visit h2 em {
  color: var(--pt-rose);
}

.pt-visit-info {
  margin: 0 auto 40px;
  max-width: 60ch;
  color: rgba(247, 235, 237, 0.72);
}

.pt-visit-info p {
  margin: 0 0 6px;
}

.pt-visit-info a {
  color: var(--pt-rose);
  border-bottom: 1px solid rgba(232, 160, 168, 0.4);
  transition: color 0.25s ease, border-color 0.25s ease;
}

.pt-visit-info a:hover {
  color: #f3c3c9;
  border-color: #f3c3c9;
}

.pt-outlets {
  list-style: none;
  margin: 36px auto 0;
  padding: 0;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: rgba(247, 235, 237, 0.6);
}

.pt-outlets li {
  margin-bottom: 6px;
}

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

/* ── Footer ──────────────────────────────────────────────────────────────── */
.pt-footer {
  background: var(--pt-mauve);
  color: rgba(247, 235, 237, 0.55);
  border-top: 1px solid rgba(247, 235, 237, 0.12);
  padding: 30px 0 40px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
}

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

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

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

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

/* ── Motion (ThemeFX): weightless rises with a lifting blur. ─────────────── */
.tfx .petal-theme [data-reveal] {
  opacity: 0;
  translate: 0 30px;
  filter: blur(4px);
  transition:
    opacity 0.85s ease,
    translate 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.85s ease;
}

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

/* Hero entrance: the name unveils; the petal frame settles from a slow zoom. */
.petal-theme .pt-hero h1 {
  animation: pt-unveil 1.1s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.petal-theme .pt-hero-copy .pt-eyebrow {
  animation: pt-fade 0.9s ease backwards;
}

.petal-theme .pt-hero-motto,
.petal-theme .pt-hero-cta {
  animation: pt-fade 0.9s ease 0.35s backwards;
}

.petal-theme .pt-hero-art {
  animation: pt-fade 1s ease 0.2s backwards;
}

.petal-theme .pt-hero-frame img {
  animation: pt-settle 2.2s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

@keyframes pt-unveil {
  from {
    opacity: 0;
    translate: 0 36px;
    filter: blur(6px);
  }
}

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

@keyframes pt-settle {
  from {
    scale: 1.07;
  }
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .pt-hero-grid {
    gap: 36px;
  }

  .pt-hero h1 {
    font-size: calc(clamp(46px, 7.4vw, 84px) * var(--tx-scale, 1));
  }
}

@media (max-width: 860px) {
  .pt-nav {
    padding: 14px 22px;
  }

  .pt-nav-links {
    display: none;
  }

  .pt-hero {
    padding: 56px 0 60px;
  }

  .pt-hero-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .pt-hero-motto {
    max-width: none;
  }

  .pt-hero-art {
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }

  .pt-section {
    padding-top: 84px;
  }

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

  .pt-visit {
    margin-top: 92px;
    padding: 92px 0;
  }

  .pt-petal--1 {
    width: 200px;
    height: 230px;
  }
}

@media (max-width: 720px) {
  .pt-nav > .pt-btn {
    display: none;
  }

  .pt-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(253, 249, 248, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--pt-line);
    box-shadow: 0 -14px 34px rgba(74, 53, 58, 0.1);
    justify-content: center;
  }

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

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

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

  .pt-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .pt-tile {
    aspect-ratio: 1;
    border-radius: 20px;
  }

  .pt-tile:nth-child(4n + 1) {
    border-radius: var(--pt-petal-r);
  }

  .pt-tile:nth-child(4n) {
    border-radius: var(--pt-petal-r-flip);
  }

  .pt-rituals {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .pt-card {
    padding: 26px 24px 22px;
  }

  .pt-team {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 36px 20px;
  }

  .pt-member-frame {
    width: min(150px, 86%);
  }

  .pt-member h3 {
    font-size: 19px;
  }

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

  .pt-marquee em::after {
    margin: 0 20px;
  }

  .pt-hero-cta {
    width: 100%;
  }

  .pt-hero-cta .pt-btn {
    flex: 1 1 auto;
    text-align: center;
    padding-inline: 22px;
  }
}

/* ── Reduced motion: petals rest, reveals appear in place. ───────────────── */
@media (prefers-reduced-motion: reduce) {
  .pt-petal--1,
  .pt-petal--2,
  .pt-petal--3,
  .pt-petal--4 {
    animation: none;
  }

  .petal-theme .pt-hero h1,
  .petal-theme .pt-hero-copy .pt-eyebrow,
  .petal-theme .pt-hero-motto,
  .petal-theme .pt-hero-cta,
  .petal-theme .pt-hero-art,
  .petal-theme .pt-hero-frame img {
    animation: none;
  }

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

  .pt-btn,
  .pt-card,
  .pt-class,
  .pt-member-frame,
  .pt-tile img {
    transition: none;
  }
}

/* ── Themed backdrop: petals and dew drops ──────────────────────────────
   A page-wide motif tile pinned behind every section, so the canvas reads as
   petals and dew drops the way the seasonal themes carry their own festive
   backdrop. `::before` is left to the existing colour wash; this rides on
   `::after` at z-index -1, which keeps it above the page background but under
   every in-flow section without having to restack the theme's own children.
   `isolation` makes the root a stacking context so the -1 layer stays inside it
   (above the root's own background) instead of sinking behind the page. */
.petal-theme {
  isolation: isolate;
}

.petal-theme::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='102'%20height='102'%3E%20%3Cg%20fill='none'%20stroke='%234a353a'%20stroke-opacity='.07'%20stroke-width='1.2'%20stroke-linecap='round'%3E%20%3Cpath%20d='M22%2034c-10-4-14-13-11-23%2010%202%2016%209%2017%2019z'/%3E%20%3Cpath%20d='M76%2084c10-4%2014-13%2011-23-10%202-16%209-17%2019z'/%3E%20%3Cpath%20d='M84%2024c5%206%208%2010%208%2013a8%208%200%2001-16%200c0-3%203-7%208-13z'/%3E%20%3Cpath%20d='M28%2076c5%206%208%2010%208%2013a8%208%200%2001-16%200c0-3%203-7%208-13z'/%3E%20%3Ccircle%20cx='54'%20cy='52'%20r='2'/%3E%3Ccircle%20cx='66'%20cy='42'%20r='1.4'/%3E%20%3C/g%3E%3C/svg%3E");
  background-size: 102px 102px;
  background-repeat: repeat;
}

/* ── Ambient deco: blossom fall, blooms and dew ─────────────────────────────
   A fixed full-viewport layer rendered as the root's first child. Like the
   motif tile above it rides at z-index -1 inside the isolated root, so it
   drifts above the page background but under every section, nav and card
   without touching the theme's own stacking. */
.pt-deco {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

/* Loose petals falling the full height of the page, swaying as they go. */
.pt-fall {
  position: absolute;
  top: -30px;
  width: 16px;
  height: 19px;
  color: var(--pt-rose);
  opacity: 0.3;
  animation: pt-fall-drift linear infinite;
}

@keyframes pt-fall-drift {
  0% { transform: translate(0, 0) rotate(0deg); opacity: 0; }
  8% { opacity: 0.3; }
  50% { transform: translate(-26px, 55vh) rotate(160deg); }
  92% { opacity: 0.3; }
  100% { transform: translate(18px, 110vh) rotate(320deg); opacity: 0; }
}

.pt-fall--1 { left: 4%; animation-duration: 18s; }
.pt-fall--2 { left: 11%; width: 11px; height: 13px; animation-duration: 23s; animation-delay: -9s; }
.pt-fall--3 { left: 18%; animation-duration: 20s; animation-delay: -15s; }
.pt-fall--4 { left: 26%; width: 13px; height: 16px; animation-duration: 25s; animation-delay: -4s; }
.pt-fall--5 { left: 33%; animation-duration: 19s; animation-delay: -11s; }
.pt-fall--6 { left: 41%; width: 10px; height: 12px; animation-duration: 24s; animation-delay: -18s; }
.pt-fall--7 { left: 49%; animation-duration: 21s; animation-delay: -2s; }
.pt-fall--8 { left: 57%; width: 14px; height: 17px; animation-duration: 26s; animation-delay: -13s; }
.pt-fall--9 { left: 64%; animation-duration: 18.5s; animation-delay: -7s; }
.pt-fall--10 { left: 71%; width: 11px; height: 13px; animation-duration: 22s; animation-delay: -16s; }
.pt-fall--11 { left: 78%; animation-duration: 20.5s; animation-delay: -5s; }
.pt-fall--12 { left: 85%; width: 10px; height: 12px; animation-duration: 27s; animation-delay: -20s; }
.pt-fall--13 { left: 91%; animation-duration: 19.5s; animation-delay: -10s; }
.pt-fall--14 { left: 96%; width: 12px; height: 14px; animation-duration: 24.5s; animation-delay: -3s; }
.pt-fall--15 { left: 22%; width: 9px; height: 11px; animation-duration: 28s; animation-delay: -22s; }
.pt-fall--16 { left: 68%; animation-duration: 21.5s; animation-delay: -14s; }

/* Whole blossoms resting at the page edges, breathing very slowly. */
.pt-bloom {
  position: absolute;
  color: var(--pt-rose);
  opacity: 0.18;
  animation: pt-bloom-breathe ease-in-out infinite alternate;
}

.pt-bloom--1 {
  top: 16%;
  right: -18px;
  width: 92px;
  height: 92px;
  animation-duration: 16s;
}

.pt-bloom--2 {
  bottom: 10%;
  left: -24px;
  width: 110px;
  height: 110px;
  animation-duration: 20s;
  animation-delay: -8s;
}

.pt-bloom--3 {
  top: 55%;
  right: 8%;
  width: 46px;
  height: 46px;
  opacity: 0.12;
  animation-duration: 14s;
  animation-delay: -5s;
}

@keyframes pt-bloom-breathe {
  from { transform: rotate(-6deg) scale(1); }
  to { transform: rotate(8deg) scale(1.06); }
}

/* Dewdrops sliding down, unhurried. */
.pt-dew {
  position: absolute;
  top: -28px;
  width: 14px;
  height: 18px;
  color: var(--pt-rose-ink);
  animation: pt-dew-slide linear infinite;
}

@keyframes pt-dew-slide {
  0% { transform: translateY(0); opacity: 0; }
  12% { opacity: 0.35; }
  88% { opacity: 0.35; }
  100% { transform: translateY(110vh); opacity: 0; }
}

.pt-dew--1 { left: 30%; animation-duration: 26s; }
.pt-dew--2 { left: 82%; width: 10px; height: 13px; animation-duration: 32s; animation-delay: -14s; }

/* ── Anchored ornaments: cherry branches from the corners, silk garlands ────
   Large illustrated pieces pinned to the viewport edges, clear of the
   central content column. */
.pt-branch {
  position: absolute;
  width: 250px;
  height: 148px;
  opacity: 0.85;
  filter: drop-shadow(0 6px 14px rgba(196, 112, 124, 0.2));
  animation: pt-branch-sway ease-in-out infinite alternate;
}

.pt-branch--tl {
  top: 8%;
  left: -14px;
  animation-duration: 10s;
  transform-origin: 0 100%;
}

.pt-branch--br {
  bottom: 5%;
  right: -18px;
  width: 210px;
  height: 124px;
  scale: -1 -1;
  opacity: 0.7;
  animation-duration: 13s;
  animation-delay: -5s;
  transform-origin: 0 100%;
}

@keyframes pt-branch-sway {
  from { rotate: -2deg; }
  to { rotate: 2.5deg; }
}

/* Blossom strands hanging from the top edge, swinging like silk. */
.pt-garland {
  position: absolute;
  top: -4px;
  width: 54px;
  height: 172px;
  opacity: 0.8;
  filter: drop-shadow(0 4px 10px rgba(232, 160, 168, 0.3));
  animation: pt-garland-swing 7s ease-in-out infinite;
  transform-origin: 50% 0;
}

.pt-garland--1 { right: 7%; }
.pt-garland--2 { left: 12%; width: 42px; height: 134px; opacity: 0.65; animation-duration: 8.5s; animation-delay: -2.8s; }

@keyframes pt-garland-swing {
  0%, 100% { transform: rotate(-4deg); }
  50% { transform: rotate(4deg); }
}

@media (max-width: 720px) {
  .pt-branch--br,
  .pt-garland--2 {
    display: none;
  }

  .pt-branch--tl { width: 170px; height: 100px; }
  .pt-garland--1 { width: 40px; height: 128px; }
}

@media (prefers-reduced-motion: reduce) {
  .pt-fall,
  .pt-bloom,
  .pt-dew,
  .pt-branch,
  .pt-garland {
    animation: none;
  }
}
