/**
 * SATINE — original Tunai theme for hair & beauty maisons.
 * "Draped silk": warm dove ground carrying REAL rendered fabric — layered
 * gradient-shaded silk folds (SilkDrape SVG) behind the hero and visit panel,
 * a satin ribbon wrapped over the arch photo frame with a filled bow, couture
 * swatch cards with stitched seams / folded corners / ribbon-tab numbers, a
 * pageant-sash marquee, and a slow light-band sheen sweeping across panels.
 * Deep rosewood + warm taupe ink give the silk true darks. Scoped under
 * .satine-theme.
 */

.satine-theme {
  --sa-dove: #f4ede7;
  --sa-silk: #fdf9f5;
  --sa-ink: #3b322e;
  --sa-ink-soft: #83726a;
  --sa-rose: #9a5f56;
  --sa-rose-deep: #77443c;
  --sa-rose-lift: #c69187;
  --sa-rose-soft: rgba(154, 95, 86, 0.12);
  --sa-line: rgba(154, 95, 86, 0.3);
  --sa-on-rose: #fff6f1;
  --sa-velvet: #46332c;
  --fx-accent: var(--sa-rose);
  --fx-spot: var(--sa-rose-soft);
  /* Silk fold tones — derived from the accent so accentize() re-dyes the
     drapes, ribbons and sashes together with everything else. */
  --sa-silk-hi: color-mix(in srgb, var(--sa-rose-lift) 24%, #fff);
  --sa-silk-mid: color-mix(in srgb, var(--sa-rose-lift) 66%, #fff);
  --sa-silk-low: color-mix(in srgb, var(--sa-rose) 82%, #fff);
  --sa-silk-deep: var(--sa-rose-deep);
  --sa-shadow: color-mix(in srgb, var(--sa-rose-deep) 58%, #221310);
  --sa-ridge: color-mix(in srgb, var(--sa-rose-lift) 40%, #fff);
  --sa-display: "Prata", serif;
  --sa-accent-display: "Playfair Display", serif;
  --sa-sans: "Jost", sans-serif;
  /* Arch radius for photo frames — the drape-arch signature. */
  --sa-arch: 240px;
  /* Rose-tinted silk shadows — pieces lift like fabric caught by a hand. */
  --sa-veil:
    0 1px 2px rgba(59, 50, 46, 0.06),
    0 14px 30px -12px rgba(119, 68, 60, 0.32),
    0 32px 60px -30px rgba(59, 50, 46, 0.2);
  --sa-veil-high:
    0 2px 4px rgba(59, 50, 46, 0.06),
    0 22px 46px -14px rgba(119, 68, 60, 0.42),
    0 48px 90px -34px rgba(59, 50, 46, 0.26);

  background: var(--sa-dove);
  color: var(--sa-ink);
  font-family: var(--sa-sans);
  font-weight: 400;
  font-size: 16.5px;
  line-height: 1.7;
  letter-spacing: 0.012em;
  overflow-x: hidden;
  min-height: 100vh;
  isolation: isolate;
}

/* Lift every section above the ambient silk layer — :where() keeps this at
   zero extra specificity so later single-class rules (the sticky nav) win. */
.satine-theme > *:not(:where(.sa-deco)) {
  position: relative;
  z-index: 1;
}

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

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

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

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

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

.satine-theme {
  scrollbar-color: rgba(154, 95, 86, 0.55) #efe5dd;
}

/* Satin light wash resting on the ground — fixed so the sheen holds while the
   silk scrolls beneath it. */
.satine-theme::before {
  content: "";
  position: fixed;
  inset: -10%;
  pointer-events: none;
  background:
    linear-gradient(116deg, transparent 26%, rgba(255, 255, 255, 0.55) 36%, transparent 47%),
    linear-gradient(116deg, transparent 60%, rgba(154, 95, 86, 0.06) 70%, transparent 80%),
    radial-gradient(ellipse 46% 32% at 92% 0%, rgba(154, 95, 86, 0.1), transparent 70%),
    radial-gradient(ellipse 40% 30% at 2% 100%, rgba(154, 95, 86, 0.08), transparent 70%);
  /* (drape depth handled in the SVG layers) */
}

/* Stitched-thread backdrop — running satin threads and stitch dashes, tiled
   at whisper opacity. All strokes carry explicit fill='none' (SVG paths
   default to black fill). */
.satine-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='128'%20height='128'%3E%3Cg%20fill='none'%20stroke='%239a5f56'%20stroke-opacity='.06'%20stroke-width='1.2'%20stroke-linecap='round'%3E%3Cpath%20d='M0%2032%20C%2022%2018%2C%2042%2046%2C%2064%2032%20C%2086%2018%2C%20106%2046%2C%20128%2032'/%3E%3Cpath%20d='M0%2096%20C%2022%2082%2C%2042%20110%2C%2064%2096%20C%2086%2082%2C%20106%20110%2C%20128%2096'/%3E%3Cpath%20d='M20%2064%20l%206%200%20M36%2064%20l%206%200%20M52%2064%20l%206%200%20M68%2064%20l%206%200%20M84%2064%20l%206%200%20M100%2064%20l%206%200'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 128px 128px;
  background-repeat: repeat;
}

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

/* ── The travelling sheen — a band of light crossing fabric every ~8s. ────
   A real span (not ::after — fx.css owns [data-spot]::after) sliding inside
   any overflow-hidden panel. */
.sa-sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 38%,
    rgba(255, 255, 255, 0.34) 47%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0.34) 53%,
    transparent 62%
  );
  transform: translateX(-100%);
  animation: sa-sheen 8.5s ease-in-out infinite;
}

.sa-sheen--dark {
  background: linear-gradient(
    105deg,
    transparent 38%,
    rgba(255, 240, 232, 0.14) 47%,
    rgba(255, 240, 232, 0.26) 50%,
    rgba(255, 240, 232, 0.14) 53%,
    transparent 62%
  );
}

@keyframes sa-sheen {
  0% {
    transform: translateX(-100%) skewX(-6deg);
  }
  58%,
  100% {
    transform: translateX(100%) skewX(-6deg);
  }
}

/* ── Eyebrow: ribbon glyph + tracked uppercase + satin thread trailing off.
   The glyph is a currentColor mask so it re-dyes with the accent. ────────── */
.sa-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--sa-rose-deep);
}

.sa-eyebrow::before {
  content: "";
  flex-shrink: 0;
  width: 24px;
  height: 12px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2012'%3E%3Cpath%20d='M2%206%20C%205%201%2C%209%201%2C%2012%206%20C%2015%2011%2C%2019%2011%2C%2022%206'%20fill='none'%20stroke='%23000'%20stroke-width='2.4'%20stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2012'%3E%3Cpath%20d='M2%206%20C%205%201%2C%209%201%2C%2012%206%20C%2015%2011%2C%2019%2011%2C%2022%206'%20fill='none'%20stroke='%23000'%20stroke-width='2.4'%20stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.sa-eyebrow::after {
  content: "";
  width: 70px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--sa-rose) 20%, rgba(154, 95, 86, 0));
}

/* ── Ribbon folio number — the loop drawn around each section's count. ────── */
.sa-secnum {
  position: relative;
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  width: 118px;
  height: 68px;
}

.sa-secnum-ribbon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--sa-rose);
  filter: drop-shadow(0 4px 10px rgba(154, 95, 86, 0.3));
}

.sa-secnum i {
  font-family: var(--sa-accent-display);
  font-style: italic;
  font-weight: 400;
  font-size: 25px;
  letter-spacing: 0.06em;
  color: var(--sa-rose-deep);
  translate: 0 -3px;
}

/* ── Nav — the bar itself is the flex row; the centred 1180px measure comes
   from the padding so the shared app-bar cluster lands on the same line. ── */
.sa-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: 100%;
  padding: 14px max(28px, calc((100% - 1180px) / 2));
  background: linear-gradient(180deg, rgba(253, 249, 245, 0.94), rgba(244, 237, 231, 0.78));
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  border-bottom: 1px solid var(--sa-line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.sa-logo {
  font-family: var(--sa-display);
  font-weight: 400;
  font-size: 21px;
  letter-spacing: 0.02em;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

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

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

/* A satin thread draws itself under the link, sagging softly at the middle. */
.sa-nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: radial-gradient(ellipse 50% 130% at 50% 0%, transparent 64%, var(--sa-rose) 66%, transparent 100%);
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

/* ── Buttons — satin pills; a light band sweeps across on hover. ─────────── */
.sa-btn {
  position: relative;
  display: inline-block;
  overflow: hidden;
  padding: 15px 36px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--sa-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  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);
}

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

/* The sheen — a diagonal band of light waiting off-stage. */
.sa-btn::before {
  content: "";
  position: absolute;
  inset: -40% -70%;
  background: linear-gradient(112deg, transparent 42%, rgba(255, 255, 255, 0.42) 50%, transparent 58%);
  transform: translateX(-80%);
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}

.sa-btn:hover::before {
  transform: translateX(80%);
}

.sa-btn--rose {
  background: linear-gradient(132deg, var(--sa-rose-lift), var(--sa-rose) 46%, var(--sa-rose-deep) 100%);
  border-color: rgba(255, 255, 255, 0.38);
  color: var(--sa-on-rose);
  box-shadow: var(--sa-veil);
}

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

.sa-btn--ghost {
  background: rgba(253, 249, 245, 0.8);
  border-color: var(--sa-rose);
  color: var(--sa-ink);
}

.sa-btn--ghost:hover {
  background: var(--sa-silk);
  border-color: var(--sa-rose-deep);
  box-shadow: var(--sa-veil);
  transform: translateY(-2px);
}

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

.satine-theme .sa-btn--ghost {
  color: var(--sa-ink);
}

/* ── Hero — copy resting on a draped-silk band, ribbon-wrapped arch photo. ── */
.sa-hero {
  position: relative;
  padding: 92px 0 110px;
  overflow: hidden;
}

/* The drape itself: full-bleed folds flowing down-right behind the photo,
   masked lighter on the left so the name stays crisp. */
.sa-hero-silk {
  position: absolute;
  left: 0;
  right: 0;
  top: -40px;
  height: calc(100% + 80px);
  pointer-events: none;
  opacity: 0.85;
  -webkit-mask-image: linear-gradient(102deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.45) 34%, rgba(0, 0, 0, 0.9) 58%, #000 78%);
  mask-image: linear-gradient(102deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.45) 34%, rgba(0, 0, 0, 0.9) 58%, #000 78%);
}

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

.sa-hero h1 {
  margin: 24px 0 0;
  font-family: var(--sa-display);
  font-weight: 400;
  font-size: calc(clamp(48px, 7.2vw, 100px) * var(--tx-scale, 1));
  line-height: 1.06;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-wrap: balance;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
}

/* The last word of the name slips into flowing rosewood italic. */
.sa-rose-word {
  font-family: var(--sa-accent-display);
  font-style: italic;
  font-weight: 400;
  color: var(--sa-rose-deep);
}

.sa-hero-motto {
  margin: 26px 0 0;
  max-width: 44ch;
  font-weight: 400;
  font-size: 17.5px;
  color: color-mix(in srgb, var(--sa-ink) 78%, var(--sa-rose-deep));
}

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

/* The photo hangs in a tall silk-matted arch; a satin ribbon slips behind the
   frame, crosses back OVER the arch (clipped to the frame shape so it wraps),
   and closes into a bow at the edge. A soft pooled shadow sits the whole
   arrangement down on the silk. */
.sa-hero-art {
  position: relative;
}

.sa-hero-shadow {
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: -34px;
  height: 60px;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(34, 19, 16, 0.52), transparent 70%);
  filter: blur(14px);
  pointer-events: none;
}

.sa-hero-frame {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 5.2;
  max-height: 660px;
  overflow: hidden;
  border-radius: var(--sa-arch) var(--sa-arch) 30px 30px;
  border: 9px solid var(--sa-silk);
  background: var(--sa-rose-soft);
  box-shadow:
    0 0 0 1px var(--sa-line),
    var(--sa-veil-high);
}

/* ThemeHero renders a plain <img> for a single slide — cover everything. */
.sa-hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* The stitched seam between silk mat and photo. */
.sa-hero-frame::after {
  content: "";
  position: absolute;
  inset: 3px;
  z-index: 4;
  border: 1.5px dashed rgba(253, 249, 245, 0.85);
  border-radius: calc(var(--sa-arch) - 12px) calc(var(--sa-arch) - 12px) 20px 20px;
  pointer-events: none;
}

/* Satin ribbon band — highlight ridge along its length, notched tails. */
.sa-ribbon-band {
  position: absolute;
  top: 7%;
  left: -16%;
  width: 132%;
  height: 52px;
  rotate: -30deg;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    var(--sa-rose-deep) 0%,
    var(--sa-rose) 28%,
    var(--sa-ridge) 50%,
    var(--sa-rose) 72%,
    var(--sa-rose-deep) 100%
  );
  clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 50%, 100% 100%, 0 100%, 16px 50%);
}

/* Behind the frame: the ribbon passing round the back, sitting in shade. */
.sa-ribbon-band--under {
  z-index: 0;
  filter: brightness(0.78);
}

/* The wrap-over: same band, clipped to the frame silhouette so it visibly
   crosses the arch and disappears at the frame edge — the over/under weave. */
.sa-ribbon-clip {
  position: absolute;
  inset: 0;
  z-index: 6;
  overflow: hidden;
  border-radius: var(--sa-arch) var(--sa-arch) 30px 30px;
  pointer-events: none;
}

.sa-ribbon-band--over {
  filter: drop-shadow(0 10px 14px rgba(34, 19, 16, 0.38));
}

.sa-hero-bow {
  position: absolute;
  z-index: 7;
  top: -14px;
  right: 54px;
  rotate: 6deg;
  width: 148px;
  height: 99px;
  pointer-events: none;
  filter: drop-shadow(0 12px 22px rgba(34, 19, 16, 0.4));
}

/* ── Satin sash ticker — a pageant sash laid across the page. ────────────── */
.sa-sash {
  padding: 30px 0 34px;
}

.sa-marquee {
  rotate: -1.2deg;
  width: 104%;
  margin-left: -2%;
  padding: 15px 0;
  background: linear-gradient(
    180deg,
    var(--sa-rose-deep) 0%,
    var(--sa-rose) 30%,
    var(--sa-ridge) 40%,
    var(--sa-rose) 52%,
    color-mix(in srgb, var(--sa-rose-deep) 82%, #221310) 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 18px 38px -16px rgba(119, 68, 60, 0.6);
  /* A sash is solid fabric — cancel the fx-marquee edge fade. */
  -webkit-mask-image: none;
  mask-image: none;
}

.sa-marquee em {
  display: inline-flex;
  align-items: center;
  font-family: var(--sa-accent-display);
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.12em;
  color: #fff3ed;
  text-shadow: 0 1px 3px rgba(50, 18, 12, 0.55);
  white-space: nowrap;
}

/* A tiny satin fold between phrases. */
.sa-marquee em::after {
  content: "";
  width: 7px;
  height: 7px;
  margin: 0 30px;
  rotate: 45deg;
  background: linear-gradient(135deg, #fff, rgba(255, 255, 255, 0.4));
  opacity: 0.75;
}

/* ── Fold divider — fabric falling into the section (flipped = other way,
   exit = leaving out of the bottom edge). ────────────────────────────────── */
.sa-fold {
  display: block;
  width: 100%;
  height: clamp(52px, 8vw, 110px);
}

.sa-fold--flip {
  transform: scaleX(-1);
}

.sa-fold--exit {
  margin-top: 56px;
  transform: scaleY(-1);
}

.sa-fold--flip.sa-fold--exit {
  transform: scale(-1, -1);
}

/* ── Sections ────────────────────────────────────────────────────────────── */
.sa-section {
  padding: 40px 0 76px;
}

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

.sa-sec-head h2 {
  margin: 14px 0 0;
  font-family: var(--sa-display);
  font-weight: 400;
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.1;
  letter-spacing: 0;
  text-wrap: balance;
}

.sa-sec-head h2 em,
.sa-visit h2 em {
  font-family: var(--sa-accent-display);
  font-style: italic;
  font-weight: 400;
  color: var(--sa-rose-deep);
}

/* Hand-drawn underline swash below the title, tucked toward the accent. */
.sa-swash {
  display: block;
  width: min(230px, 56%);
  height: auto;
  margin-top: 10px;
  color: var(--sa-rose);
}

.sa-sec-head .sa-secnum {
  margin-bottom: 12px;
}

/* ── Services — couture swatch cards: stitched seam, folded corner, ribbon
   tab number, travelling sheen. ──────────────────────────────────────────── */
.sa-menu {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 30px 26px;
}

.sa-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 58px 30px 26px;
  border-radius: 20px 0 20px 20px;
  background: linear-gradient(165deg, var(--sa-silk), #f7ece4 70%, #f1e2d8 100%);
  border: 1px solid var(--sa-line);
  box-shadow: var(--sa-veil);
  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;
}

/* The stitched inner seam of the swatch. */
.sa-card::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1.5px dashed rgba(154, 95, 86, 0.42);
  border-radius: 13px 0 13px 13px;
  pointer-events: none;
}

.sa-card:hover {
  transform: translateY(-7px) rotate(-0.4deg);
  box-shadow: var(--sa-veil-high);
  border-color: var(--sa-rose);
}

/* The folded-back corner: dove ground shows in the cut, a shaded satin flap
   lies over it, with a soft crease line between. */
.sa-card-fold {
  position: absolute;
  top: 0;
  right: 0;
  width: 46px;
  height: 46px;
  pointer-events: none;
  background: linear-gradient(
    to bottom left,
    var(--sa-dove) 0%,
    var(--sa-dove) 47%,
    rgba(34, 19, 16, 0.28) 49%,
    var(--sa-rose-lift) 52%,
    var(--sa-rose) 72%,
    var(--sa-rose-deep) 100%
  );
}

/* The ribbon tab hanging from the swatch top, numbered like a lookbook. */
.sa-card-tab {
  position: absolute;
  top: 0;
  left: 28px;
  width: 44px;
  padding: 9px 0 13px;
  text-align: center;
  font-family: var(--sa-accent-display);
  font-style: italic;
  font-size: 15px;
  line-height: 1;
  color: var(--sa-on-rose);
  background: linear-gradient(
    100deg,
    var(--sa-rose-deep),
    var(--sa-rose) 40%,
    var(--sa-rose-lift) 55%,
    var(--sa-rose) 70%,
    var(--sa-rose-deep)
  );
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 9px), 0 100%);
  transition: padding 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.sa-card:hover .sa-card-tab {
  padding: 13px 0 17px;
}

.sa-card-name {
  margin: 0;
  font-family: var(--sa-display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.26;
  overflow-wrap: anywhere;
}

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

/* The seam between name and price — a running-stitch line. The air above it
   belongs to the element so `margin-top: auto` aligns card foots in a row. */
.sa-card-rule {
  height: 23px;
  margin: 0 0 16px;
  margin-top: auto;
  background: repeating-linear-gradient(90deg, var(--sa-rose) 0 7px, transparent 7px 13px) bottom / 100% 1.5px no-repeat;
  opacity: 0.7;
}

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

.sa-card-price {
  font-family: var(--sa-accent-display);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  color: var(--sa-rose-deep);
  white-space: nowrap;
}

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

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

/* Stagger the sheen so the light doesn't cross every swatch at once. */
.sa-card:nth-child(3n + 2) .sa-sheen {
  animation-delay: 2.8s;
}

.sa-card:nth-child(3n) .sa-sheen {
  animation-delay: 5.6s;
}

/* ── Gallery — silk-matted frames, arch and pill alternating tall/short. ── */
.sa-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

.sa-tile {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5.5;
  overflow: hidden;
  border-radius: 220px 220px 26px 26px;
  border: 8px solid var(--sa-silk);
  background: var(--sa-rose-soft);
  box-shadow:
    0 0 0 1px var(--sa-line),
    var(--sa-veil);
}

/* Every other frame closes into a pill and sits lower — fabric rhythm. */
.sa-tile:nth-child(even) {
  aspect-ratio: 4 / 5;
  border-radius: 999px;
  margin-top: 52px;
}

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

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

/* The stitched seam between mat and photo — the second border. */
.sa-tile::after {
  content: "";
  position: absolute;
  inset: 3px;
  z-index: 2;
  border: 1.5px dashed rgba(253, 249, 245, 0.85);
  border-radius: inherit;
  pointer-events: none;
}

/* ── Team — portraits sewn into tall silk capsules. ──────────────────────── */
.sa-team {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 46px 28px;
}

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

.sa-member-frame {
  position: relative;
  display: block;
  width: min(200px, 82%);
  aspect-ratio: 4 / 5.2;
  margin: 0 auto 20px;
  overflow: hidden;
  border: 8px solid var(--sa-silk);
  border-radius: 999px;
  background: var(--sa-rose-soft);
  box-shadow:
    0 0 0 1px var(--sa-line),
    var(--sa-veil);
  transition:
    box-shadow 0.35s ease,
    transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.sa-member:nth-child(even) .sa-member-frame {
  rotate: 1.6deg;
}

.sa-member:hover .sa-member-frame {
  box-shadow:
    0 0 0 1px var(--sa-rose),
    var(--sa-veil-high);
  transform: translateY(-5px) rotate(-1deg);
}

.sa-member-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* The stitched seam between the silk mat and the portrait. */
.sa-member-frame::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1.5px dashed rgba(253, 249, 245, 0.85);
  border-radius: inherit;
  pointer-events: none;
}

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

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

/* ── Classes — long stitched swatch rows. ────────────────────────────────── */
.sa-classes {
  display: grid;
  gap: 16px;
}

.sa-class {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 24px 36px;
  border-radius: 18px;
  background: linear-gradient(150deg, var(--sa-silk), #f6eae2 100%);
  border: 1px solid var(--sa-line);
  box-shadow: var(--sa-veil);
  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;
}

/* Stitched seam (fx.css owns [data-spot]::after, so the seam is ::before). */
.sa-class::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1.5px dashed rgba(154, 95, 86, 0.38);
  border-radius: 12px;
  pointer-events: none;
}

.sa-class:hover {
  transform: translateY(-3px);
  box-shadow: var(--sa-veil-high);
  border-color: var(--sa-rose);
}

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

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

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

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

/* ── View more (shared control) ──────────────────────────────────────────── */
.satine-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(--sa-rose);
  border-radius: 999px;
  background: rgba(253, 249, 245, 0.88);
  color: var(--sa-ink);
  font-family: var(--sa-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.satine-theme .theme-view-more:hover {
  background: var(--sa-silk);
  border-color: var(--sa-rose-deep);
  transform: translateY(-2px);
  box-shadow: var(--sa-veil);
}

.satine-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(--sa-rose-soft);
  color: var(--sa-rose-deep);
}

/* ── Visit — a wrapped-gift panel: deep velvet silk with satin fold bands,
   ribbon crossing to a bow, resting on another full drape. ──────────────── */
.sa-visit {
  position: relative;
  padding: 90px 0 130px;
  overflow: hidden;
}

.sa-visit-silk {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 100%;
  pointer-events: none;
  opacity: 0.9;
  transform: scaleX(-1);
}

.sa-visit .sa-wrap {
  position: relative;
}

.sa-visit-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(48px, 6vw, 88px);
  border-radius: 48px;
  color: #f8ece7;
  background:
    repeating-linear-gradient(
      112deg,
      rgba(255, 226, 214, 0.09) 0px,
      rgba(255, 226, 214, 0) 60px,
      rgba(26, 12, 8, 0.3) 120px,
      rgba(255, 226, 214, 0.09) 200px
    ),
    radial-gradient(ellipse 80% 70% at 86% 112%, rgba(198, 145, 135, 0.32), transparent 70%),
    radial-gradient(ellipse 50% 42% at 4% -8%, rgba(198, 145, 135, 0.2), transparent 70%),
    linear-gradient(160deg, #574037, var(--sa-velvet) 55%, #30211b);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    var(--sa-veil-high);
}

/* Clipped layer carrying the gift ribbons + dark sheen. */
.sa-gift-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}

.sa-gift-ribbon {
  position: absolute;
}

.sa-gift-ribbon--v {
  top: 0;
  bottom: 0;
  right: 96px;
  width: 58px;
  background: linear-gradient(
    90deg,
    var(--sa-rose-deep) 0%,
    var(--sa-rose) 26%,
    var(--sa-ridge) 50%,
    var(--sa-rose) 74%,
    var(--sa-rose-deep) 100%
  );
  box-shadow:
    -10px 0 22px rgba(16, 6, 4, 0.35),
    10px 0 22px rgba(16, 6, 4, 0.35);
}

.sa-gift-ribbon--h {
  left: 0;
  right: 0;
  top: 30px;
  height: 58px;
  background: linear-gradient(
    180deg,
    var(--sa-rose-deep) 0%,
    var(--sa-rose) 26%,
    var(--sa-ridge) 50%,
    var(--sa-rose) 74%,
    var(--sa-rose-deep) 100%
  );
  box-shadow:
    0 -10px 22px rgba(16, 6, 4, 0.35),
    0 10px 22px rgba(16, 6, 4, 0.35);
}

/* The bow tying the gift, at the ribbon crossing. */
.sa-bow {
  position: absolute;
  z-index: 3;
  top: 59px;
  right: 125px;
  width: 172px;
  height: 115px;
  translate: 50% -50%;
  pointer-events: none;
  filter: drop-shadow(0 16px 26px rgba(10, 4, 2, 0.5));
}

.sa-visit-info,
.sa-visit-cta {
  position: relative;
  z-index: 1;
}

.sa-visit .sa-eyebrow {
  color: var(--sa-rose-lift);
}

.sa-visit .sa-eyebrow::after {
  background: linear-gradient(90deg, var(--sa-rose-lift) 20%, rgba(198, 145, 135, 0));
}

.sa-visit h2 {
  margin: 16px 0 22px;
  font-family: var(--sa-display);
  font-weight: 400;
  font-size: clamp(34px, 4.8vw, 56px);
  line-height: 1.1;
  text-wrap: balance;
  text-shadow: 0 2px 14px rgba(10, 4, 2, 0.35);
}

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

.sa-visit-info p {
  margin: 0 0 6px;
  color: rgba(248, 236, 231, 0.8);
}

.sa-visit-info a {
  color: color-mix(in srgb, var(--sa-rose-lift) 70%, #fff);
  border-bottom: 1px solid rgba(198, 145, 135, 0.5);
  transition: color 0.25s ease, border-color 0.25s ease;
}

.sa-visit-info a:hover {
  color: #f2d4cb;
  border-color: #f2d4cb;
}

.sa-outlets {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: rgba(248, 236, 231, 0.62);
}

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

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

.sa-visit-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}

/* The folio ribbon reads in champagne rose on velvet. */
.sa-secnum--visit .sa-secnum-ribbon {
  color: var(--sa-rose-lift);
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.3));
}

.sa-secnum--visit i {
  color: #f8ece7;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.sa-footer {
  border-top: 1px solid var(--sa-line);
  padding: 30px 0 40px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--sa-ink-soft);
  background: linear-gradient(180deg, rgba(253, 249, 245, 0.6), rgba(244, 237, 231, 0));
}

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

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

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

/* ── Mobile booking bar — fx.css takes over the layout at ≤900px. ────────── */
.sa-mobile-bar {
  display: none;
}

/* ── Motion (ThemeFX): fabric lifts — rise with a settling sway. ─────────── */
.tfx .satine-theme [data-reveal] {
  opacity: 0;
  translate: 0 30px;
  rotate: 0.5deg;
  filter: blur(4px);
  transition:
    opacity 0.85s ease,
    translate 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    rotate 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.85s ease;
}

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

/* Hero entrance: the name pours in; the arch settles from a slow zoom. */
.satine-theme .sa-hero h1 {
  animation: sa-unveil 1.1s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

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

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

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

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

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

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

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

/* ── Ambient deco: drifting satin light bands over the whole page. ────────
   A fixed full-viewport layer rendered as the root's first child; the
   child-lift rule leaves it beneath every section without extra stacking. */
.sa-deco {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.sa-band {
  position: absolute;
  left: -30%;
  width: 160%;
  height: 24vh;
  rotate: -16deg;
  background: linear-gradient(100deg, transparent 6%, rgba(255, 255, 255, 0.55) 30%, rgba(154, 95, 86, 0.05) 52%, rgba(255, 255, 255, 0.4) 72%, transparent 94%);
  filter: blur(36px);
  opacity: 0.5;
  animation: sa-band-drift ease-in-out infinite alternate;
}

.sa-band--1 {
  top: 4%;
  animation-duration: 26s;
}

.sa-band--2 {
  top: 40%;
  opacity: 0.38;
  animation-duration: 34s;
  animation-delay: -12s;
}

.sa-band--3 {
  top: 74%;
  opacity: 0.44;
  animation-duration: 30s;
  animation-delay: -20s;
}

@keyframes sa-band-drift {
  from {
    translate: -5% 0;
  }
  to {
    translate: 5% 2%;
  }
}

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

  .sa-hero h1 {
    font-size: calc(clamp(44px, 6.8vw, 82px) * var(--tx-scale, 1));
  }

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

  .sa-hero-bow {
    width: 122px;
    height: 81px;
    right: 40px;
  }
}

@media (max-width: 880px) {
  .sa-nav {
    padding-block: 13px;
  }

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

  .sa-nav > .sa-btn {
    display: none;
  }

  .sa-hero {
    padding: 56px 0 84px;
  }

  .sa-hero-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  /* Stacked hero: keep the drape readable under centred copy. */
  .sa-hero-silk {
    opacity: 0.6;
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.55) 30%, #000 60%);
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.55) 30%, #000 60%);
  }

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

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

  .sa-hero-bow {
    right: 36px;
  }

  .sa-section {
    padding: 30px 0 58px;
  }

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

  .sa-secnum {
    width: 96px;
    height: 56px;
  }

  .sa-secnum i {
    font-size: 21px;
  }

  .sa-fold--exit {
    margin-top: 40px;
  }

  .sa-visit {
    padding: 60px 0 100px;
  }

  .sa-visit-panel {
    grid-template-columns: 1fr;
    gap: 34px;
    border-radius: 36px;
    padding-top: 96px;
    text-align: center;
  }

  /* Wrapped gift, phone edition: one band across the lid, bow centred —
     the vertical ribbon would run straight through the address copy. */
  .sa-gift-ribbon--v {
    display: none;
  }

  .sa-gift-ribbon--h {
    top: 34px;
    height: 48px;
  }

  .sa-bow {
    top: 58px;
    right: 50%;
    width: 138px;
    height: 92px;
  }

  .sa-visit .sa-eyebrow {
    justify-content: center;
  }

  .sa-visit-cta {
    align-items: center;
  }

  .sa-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(244, 237, 231, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--sa-line);
    box-shadow: 0 -14px 34px rgba(59, 50, 46, 0.12);
    justify-content: center;
  }

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

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

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

  .sa-menu {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .sa-card {
    padding: 54px 24px 22px;
  }

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

  .sa-tile {
    aspect-ratio: 4 / 4.8;
    border-width: 5px;
    border-radius: 120px 120px 18px 18px;
  }

  .sa-tile:nth-child(even) {
    aspect-ratio: 4 / 4.2;
    border-radius: 999px;
    margin-top: 26px;
  }

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

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

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

  .sa-class {
    padding: 20px 24px;
  }

  .sa-marquee em {
    font-size: 15px;
  }

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

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

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

  .sa-ribbon-band {
    height: 38px;
    clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 50%, 100% 100%, 0 100%, 12px 50%);
  }

  .sa-hero-bow {
    width: 104px;
    height: 69px;
    right: 26px;
  }

  .sa-visit-panel {
    padding: 84px 22px 40px;
    border-radius: 30px;
  }

  .sa-bow {
    width: 116px;
    height: 77px;
  }
}

/* ── Reduced motion: the silk rests, light stands still. ─────────────────── */
@media (prefers-reduced-motion: reduce) {
  .sa-band {
    animation: none;
  }

  .sa-sheen {
    display: none;
  }

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

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

  .sa-btn::before {
    display: none;
  }

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