/* ==========================================================================
   Sun City Tanning v3: core design system (core.css)
   Shared by every page. Page files (assets/css/<slug>.css) hold only page
   specific layout; please do not edit this file from a page task.

   PALETTE (kept from the original site, refined)
     navy #090427 (page ground), navy-2 #0e0638, plum gradient, hot pink #ff51d6
     (accent, buttons), deep pink #b0127f (pink text on light grounds), ivory #fbf7f3
     (light band), blush #f6e4f2 (pink band, the original #f4dff3).

   TYPE
     Bodoni Moda (display, 400 to 500, optical size capped at 44) for headings,
     prices and numerals; Archivo for everything else. Body 17px phones, 18px desktop.

   BANDS (full width sections; each sets the colour context for what is inside)
     <section class="band band--navy">    navy ground, ivory text, pink accent (default look)
     .band--navy-2                        slightly lighter navy, to alternate with --navy
     .band--plum                          navy to plum gradient
     .band--light                         ivory ground, navy text, deep pink accent
     .band--pink                          blush ground (Home testimonial band)
     .band--tight                         less vertical padding
     .band--rule                          hairline on top (between two bands of the same colour)
     Inside a band: <div class="wrap"> (content width 1240px + gutters), .wrap--narrow (880px)
     Context variables every component reads: --fg, --fg-2 (muted text), --accent,
     --line (hairline), --line-strong, --card-bg, --focus.

   TYPE CLASSES (h1 to h4 elements get the same look without a class)
     .h1 .h2 .h3 .h4        Bodoni headings. Use <em> for ONE italic pink accent word,
                            or <span class="accent"> for a pink line without italics.
     .kicker                small uppercase label above a heading (Archivo, 0.18em tracking)
     .kicker--rule          same with a short hairline before it
     .lede                  larger intro paragraph        .measure  max 65 characters
     .muted .accent .center .small (15px)                 .sr-only  screen reader only

   LAYOUT
     .section-head (+ --center)   kicker + heading + optional <p>, spaced before content
     .grid .grid-2 .grid-3 .grid-4  responsive card grids (4 > 2 > 1, 3 > 2 > 1, 2 > 1)
     .grid--phone-2               keep 2 columns on phones (small cards such as prices)
     .split (+ --reverse)         two columns (media and text) from 900px, stacked below
     .stack                       vertical rhythm for direct children (16px)
     .btn-row (+ --center, --stack-sm)  button group; --stack-sm makes buttons full width under 480px

   COMPONENTS
     .btn .btn--pink .btn--line .btn--navy .btn--sm .btn--block
                            pill buttons (min 44px tall). An icon inside: <!--icon phone-->
     .link                  text link with a drawn underline (.link--accent pink, .link--arrow,
                            .link--hit: an invisible 44px touch target around a short link)
     .card                  hairline card (radius 12px). <a class="card"> (or .card--hover) lifts 2px on hover.
                            .card--center .card--navy (navy card on a light band)
                            .card--panel (plum gradient highlight box) .card__title .card__text
                            .card--light (switches any box to the light colour context)
     .icon (+ --sm --lg)    thin-line icon from build.py <!--icon NAME-->, pink by default
     .icon-ring             52px hairline circle holding an icon
     .price (+ .price__unit) Bodoni price with tabular figures ("$49.99<span class="price__unit">/mo</span>")
     .stat .stat__num .stat__label   Bodoni numeral with a small caption
     .stars                 five stars (<!--part stars-->)
     .quote                 Bodoni italic testimonial: <blockquote class="quote"><p>..</p><footer><cite>Name</cite></footer></blockquote>
     .hours                 opening hours list (<!--part hours-->), today is highlighted
     .status                live open or closed line (<!--part status--> or [data-open-status])
     .review-cta            the review and free lotion sample strip (<!--part review-cta-->); the part
                            wraps it in .review-cta-box, a size container, so it adapts to its column
     .ornament              hairline with a small diamond: <span class="ornament" aria-hidden="true"><i></i></span>
     .media                 rounded image frame: <figure class="media"><img ...></figure>
     dialog.modal           native dialog for in-page detail views (see core.js data-dialog-open)

   TYPOGRAPHY NOTES: use curly quotes and apostrophes (&rsquo; &ldquo; &rdquo;), never an em or
   en dash in visible text (build.py warns), sentence or title case headings (no all caps).

   HERO (every page starts its <main> with one; the header is transparent and floats over it)
     <section class="hero">            left aligned, tall (About, Lotions, Knowledge)
       <!--part hero-bg-->              the salon photo
       <div class="wrap hero__in"><div class="hero__content" data-hero-in> kicker, h1, lede, buttons </div></div>
     .hero--center                      centred text (Home)
     .hero--home                        tallest (Home only)
     .hero--short                       short banner with a centred title (Packages, Contact)
     [data-hero-in]                     its children fade up once on load, staggered (CSS only)

   MOTION (deliberately light; nothing is tied to the scroll position)
     [data-reveal]                      fades up once when it first enters the viewport
     [data-reveal-group]                its direct children fade up one after another
     data-reveal-delay="120"            extra delay in ms
     Hidden states exist only under html.rv, which core.js adds after checking support,
     and never under prefers-reduced-motion. Elements already on screen show at once.
   ========================================================================== */

/* ---------- 1. tokens ---------- */
:root {
  --navy: #090427;
  --navy-2: #0e0638;
  --navy-3: #150a45;
  --navy-deep: #06021c;
  --plum: #2c0c4a;
  --pink: #ff51d6;
  --pink-hover: #ff7ee1;
  --pink-deep: #b0127f;
  --ivory: #fbf7f3;
  --blush: #f6e4f2;
  --white: #ffffff;
  --on-pink: #12062e;
  --green: #5ee3a1;

  --font-display: "Bodoni Moda", "Bodoni 72", Didot, "Times New Roman", serif;
  --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --fs-body: 17px;
  --fs-small: 15px;
  --fs-kicker: 12.5px;
  --fs-lede: clamp(18px, 1rem + 0.35vw, 21px);
  --fs-h1: clamp(2.5rem, 1.55rem + 3.9vw, 5.25rem);
  --fs-h2: clamp(2rem, 1.4rem + 2.1vw, 3.375rem);
  --fs-h3: clamp(1.375rem, 1.15rem + 0.6vw, 1.75rem);
  --fs-h4: 1.25rem;

  /* 8px rhythm */
  --s-1: 8px; --s-2: 16px; --s-3: 24px; --s-4: 32px; --s-5: 40px;
  --s-6: 48px; --s-8: 64px; --s-10: 80px; --s-12: 96px; --s-16: 128px;
  --gutter: clamp(20px, 3.125vw, 40px);
  --max: 1240px;
  --section: clamp(72px, 4.5rem + 4vw, 128px);
  --radius-sm: 10px;
  --radius: 12px;
  --radius-lg: 14px;
  --header-h: 76px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: dark;
}
@media (min-width: 900px) {
  :root { --fs-body: 18px; --fs-small: 15.5px; --fs-kicker: 13px; --header-h: 92px; }
}
/* The brand is a night palette in every colour scheme, so dark mode keeps the same tokens. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --navy: #090427; --pink: #ff51d6; }
}
:root[data-theme="dark"] { --navy: #090427; --pink: #ff51d6; }

/* colour contexts: dark is the default (body, .band--navy, .band--plum, .card--navy) */
body,
.band--navy, .band--navy-2, .band--plum, .card--navy, .hero, .site-footer, .menu, .modal {
  --fg: #f7f2ef;
  --fg-2: #cfc8dc;
  --accent: var(--pink);
  --line: rgba(255, 81, 214, 0.26);
  --line-soft: rgba(247, 242, 239, 0.12);
  --line-strong: rgba(255, 81, 214, 0.7);
  --card-bg: rgba(255, 255, 255, 0.025);
  --btn-line: rgba(247, 242, 239, 0.5);
  --focus: var(--pink);
}
.band--light, .band--pink, .card--light {
  --fg: #120a2e;
  --fg-2: #4a4262;
  --accent: var(--pink-deep);
  --line: rgba(18, 10, 46, 0.13);
  --line-soft: rgba(18, 10, 46, 0.1);
  --line-strong: rgba(176, 18, 127, 0.55);
  --card-bg: #ffffff;
  --btn-line: rgba(18, 10, 46, 0.4);
  --focus: var(--pink-deep);
}
.band--pink { --card-bg: rgba(255, 255, 255, 0.72); }

/* ---------- 2. base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
html.menu-open, html.dialog-open { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; }
figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3, h4, h5 { margin: 0; }
strong, b { font-weight: 600; }
::selection { background: var(--pink); color: var(--on-pink); }
:focus-visible { outline: 2px solid var(--focus, var(--pink)); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 300;
  background: var(--pink); color: var(--on-pink); padding: 12px 20px; border-radius: 999px;
  font-weight: 600; text-decoration: none; transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* ---------- 3. layout ---------- */
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(880px + 2 * var(--gutter)); }

.band { position: relative; padding-block: var(--section); background: var(--navy); color: var(--fg); }
.band--navy { background: var(--navy); }
.band--navy-2 { background: var(--navy-2); }
.band--plum { background: linear-gradient(165deg, var(--navy-2) 0%, #1d0840 52%, var(--plum) 100%); }
.band--light { background: var(--ivory); }
.band--pink { background: var(--blush); }
.band--tight { padding-block: clamp(48px, 3rem + 2.5vw, 88px); }
.band--rule { border-top: 1px solid var(--line-soft); }

.section-head { max-width: 760px; margin-bottom: clamp(32px, 1.5rem + 2.5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head > p:not(.kicker) { margin-top: var(--s-2); color: var(--fg-2); max-width: 62ch; }
.section-head--center > p:not(.kicker) { margin-inline: auto; }

.grid { display: grid; gap: clamp(16px, 0.75rem + 0.8vw, 24px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 560px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 559.98px) { .grid--phone-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }

.split { display: grid; gap: clamp(32px, 1.5rem + 3vw, 72px); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split--reverse > :first-child { order: 2; }
}
.stack > * + * { margin-top: var(--stack, 16px); }

.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.btn-row--center { justify-content: center; }
@media (max-width: 479.98px) {
  .btn-row--stack-sm { flex-direction: column; align-items: stretch; }
  .btn-row--stack-sm .btn { width: 100%; }
}

/* ---------- 4. type ---------- */
h1, h2, h3, h4, .h1, .h2, .h3, .h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--fg);
  letter-spacing: -0.01em;
  text-wrap: balance;
  font-optical-sizing: auto;
}
/* Optical size is capped well below 44: Bodoni's high masters thin the hairlines until the
   lowercase t reads as an l. Keep any new Bodoni rule at "opsz" 32 or lower. */
h1, .h1 { font-size: var(--fs-h1); line-height: 1.04; font-variation-settings: "opsz" 32; letter-spacing: -0.015em; }
h2, .h2 { font-size: var(--fs-h2); line-height: 1.1; font-variation-settings: "opsz" 30; }
h3, .h3 { font-size: var(--fs-h3); line-height: 1.2; font-variation-settings: "opsz" 24; letter-spacing: 0; }
h4, .h4 { font-size: var(--fs-h4); line-height: 1.3; font-variation-settings: "opsz" 22; letter-spacing: 0; }
/* a paragraph right after a heading keeps a consistent gap */
:is(h1, .h1) + :is(p, .lede) { margin-top: var(--s-3); }
:is(h2, .h2, h3, .h3, h4, .h4) + :is(p, .lede) { margin-top: var(--s-2); }
h1 em, h2 em, h3 em, .h1 em, .h2 em, .h3 em { font-style: italic; color: var(--accent); font-weight: 400; }
.accent { color: var(--accent); }
.muted { color: var(--fg-2); }
.center { text-align: center; }
.small { font-size: var(--fs-small); }
.measure { max-width: 65ch; }
.center .measure, .measure.center { margin-inline: auto; }

.kicker {
  display: block;
  margin: 0 0 var(--s-2);
  font-family: var(--font-body);
  font-size: var(--fs-kicker);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.kicker--rule { display: inline-flex; align-items: center; gap: 14px; }
.kicker--rule::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.7; }
.center .kicker--rule::after, .section-head--center .kicker--rule::after, .hero--center .kicker--rule::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.7; }

@media (max-width: 479.98px) {
  .center .kicker--rule::before, .center .kicker--rule::after,
  .section-head--center .kicker--rule::before, .section-head--center .kicker--rule::after,
  .hero--center .kicker--rule::before, .hero--center .kicker--rule::after { display: none; }
}

.lede { font-size: var(--fs-lede); line-height: 1.55; color: var(--fg-2); max-width: 58ch; }
.center .lede, .lede.center { margin-inline: auto; }

/* ---------- 5. links and buttons ---------- */
.link {
  color: inherit;
  text-decoration: none;
  padding-bottom: 2px;
  background:
    linear-gradient(var(--accent), var(--accent)) 0 100% / 0 1px no-repeat,
    linear-gradient(var(--line-soft), var(--line-soft)) 0 100% / 100% 1px no-repeat;
  transition: background-size 0.4s var(--ease), color 0.2s;
}
.link:hover, .link:focus-visible { background-size: 100% 1px, 100% 1px; }
.link--accent { color: var(--accent); }
.link--arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.link--arrow .icon { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.link--arrow:hover .icon, .link--arrow:focus-visible .icon { transform: translateX(3px); }
/* .link--hit: an invisible touch target at least 44px tall, centred on a short text link (keep 20px between rows) */
.link--hit { position: relative; }
.link--hit::before { content: ""; position: absolute; inset: calc(50% - 23px) -8px; }

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  background: transparent;
  color: var(--fg);
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn .icon { width: 18px; height: 18px; color: currentColor; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--pink { background: var(--pink); color: var(--on-pink); }
.btn--pink:hover { background: var(--pink-hover); }
.btn--line { border-color: var(--btn-line); color: var(--fg); }
.btn--line:hover { border-color: var(--accent); background: rgba(255, 81, 214, 0.08); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-3); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 12.5px; gap: 8px; }
.btn--block { width: 100%; }

/* ---------- 6. icons ---------- */
.icon { width: 24px; height: 24px; flex: none; color: var(--accent); overflow: visible; }
.icon * { vector-effect: non-scaling-stroke; }
.icon--sm { width: 18px; height: 18px; }
.icon--lg { width: 32px; height: 32px; }
.icon-ring {
  display: inline-grid; place-items: center; flex: none;
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--accent);
}
.icon-ring .icon { width: 24px; height: 24px; }

/* ---------- 7. cards ---------- */
.card {
  position: relative;
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card-bg);
  padding: clamp(24px, 1.2rem + 0.8vw, 32px);
  color: var(--fg);
  text-decoration: none;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), background-color 0.3s var(--ease);
}
a.card:hover, .card--hover:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.card--center { text-align: center; }
.card--center .icon-ring { margin-inline: auto; }
.card--navy { background: var(--navy); border-color: rgba(255, 81, 214, 0.32); }
.card--panel {
  background: radial-gradient(120% 140% at 85% 110%, rgba(255, 81, 214, 0.16) 0%, rgba(255, 81, 214, 0) 55%),
              linear-gradient(160deg, var(--navy-2) 0%, #1a0840 100%);
  border-color: rgba(255, 81, 214, 0.32);
  border-radius: var(--radius-lg);
}
.card__title { font-family: var(--font-display); font-size: var(--fs-h4); font-weight: 500; line-height: 1.3; font-variation-settings: "opsz" 22; margin: 0 0 8px; color: var(--fg); text-wrap: pretty; }
.card__text { color: var(--fg-2); margin: 0; }
.card .icon-ring, .card > .icon { margin-bottom: var(--s-2); }

/* ---------- 8. numbers, quotes, stars ---------- */
.price {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 1.6rem + 1vw, 2.5rem);
  line-height: 1;
  color: var(--accent);
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
  font-variation-settings: "opsz" 14;
  letter-spacing: 0;
}
.price__unit { font-family: var(--font-body); font-size: 0.42em; font-weight: 500; letter-spacing: 0.04em; color: var(--fg-2); margin-left: 2px; }
.stat__num {
  display: block;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.25rem, 1.8rem + 1.4vw, 3rem);
  line-height: 1;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
  font-variation-settings: "opsz" 32;
  color: var(--fg);
}
.stat__label { display: block; margin-top: 10px; font-size: var(--fs-kicker); font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-2); }

.stars { display: flex; gap: 4px; margin: 0; color: var(--star, var(--accent)); }
.band--light .stars, .band--pink .stars { --star: #d6249f; }
.stars .icon { width: 20px; height: 20px; color: inherit; }

.quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.25rem, 1.1rem + 0.45vw, 1.5rem);
  line-height: 1.45;
  font-variation-settings: "opsz" 24;
  color: var(--fg);
}
.quote footer { margin-top: var(--s-2); }
.quote cite {
  display: inline-flex; align-items: center; gap: 12px;
  font-style: normal; font-size: var(--fs-kicker); font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-2);
}
.quote cite::before { content: ""; width: 28px; height: 1px; background: currentColor; }

/* ---------- 9. hours and live status ---------- */
.hours { display: grid; gap: 0; max-width: 360px; }
.hours__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.hours__row:first-child { border-top: 1px solid var(--line-soft); }
.hours dt { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-weight: 500; color: var(--fg); white-space: nowrap; }
.hours dd { margin: 0; color: var(--fg-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hours__row.is-today dt::after {
  content: "Today"; padding: 2px 8px; border-radius: 999px;
  border: 1px solid var(--line); font-size: 12px; font-weight: 600; line-height: 1.4; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent);
}

.status { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-size: var(--fs-small); font-weight: 500; line-height: 1.4; color: var(--fg); }
.status::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #a39cb5; }
.status.is-open::before { background: var(--green); box-shadow: 0 0 0 4px rgba(94, 227, 161, 0.18); }
.status:empty { display: none; }

/* ---------- 10. small shared pieces ---------- */
.ornament { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 320px; color: var(--accent); }
.ornament::before, .ornament::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: 0.45; }
.ornament i { width: 7px; height: 7px; transform: rotate(45deg); border: 1px solid currentColor; flex: none; }
.center .ornament { margin-inline: auto; }

.media { position: relative; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--navy-2); }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
a:hover .media img, a.media:hover img { transform: scale(1.03); }

.review-cta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px 24px;
  padding: clamp(20px, 1rem + 1vw, 28px) clamp(20px, 1rem + 1.4vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card-bg);
}
.review-cta__title { margin: 0; font-family: var(--font-display); font-size: clamp(1.375rem, 1.2rem + 0.5vw, 1.625rem); font-weight: 500; line-height: 1.2; font-variation-settings: "opsz" 26; color: var(--fg); }
.review-cta__line { margin: 4px 0 0; color: var(--fg-2); }
/* the part wraps the strip in .review-cta-box, a size container, so the strip adapts to its column */
.review-cta-box { container-type: inline-size; }
@container (max-width: 680px) {
  .review-cta { grid-template-columns: auto minmax(0, 1fr); align-items: start; row-gap: 20px; }
  .review-cta .btn { grid-column: 2; justify-self: start; }
}
@container (max-width: 420px) {
  .review-cta { grid-template-columns: minmax(0, 1fr); row-gap: 16px; }
  .review-cta .btn { grid-column: 1 / -1; justify-self: stretch; width: 100%; margin-top: 4px; }
}
@supports not (container-type: inline-size) {
  @media (max-width: 639.98px) {
    .review-cta { grid-template-columns: auto minmax(0, 1fr); }
    .review-cta .btn { grid-column: 1 / -1; width: 100%; }
  }
}

/* native dialog for page detail views (see core.js) */
dialog.modal {
  width: min(640px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 1px solid rgba(255, 81, 214, 0.32);
  border-radius: var(--radius-lg);
  background: var(--navy-2);
  color: var(--fg);
  overflow: auto;
}
dialog.modal::backdrop { background: rgba(6, 2, 28, 0.78); }
.modal__body { padding: clamp(24px, 1rem + 2vw, 40px); }
.modal__close {
  position: absolute; top: 12px; right: 12px; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-soft); background: transparent; cursor: pointer;
}
.modal__close .icon { width: 20px; height: 20px; color: var(--fg); }
@media (prefers-reduced-motion: no-preference) {
  dialog.modal[open] { animation: fadeUp 0.35s var(--ease-out); }
}

/* ---------- 11. header ---------- */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 50; color: #fff; }
.site-header__in { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
.brand { display: block; flex: none; width: 124px; color: #fff; text-decoration: none; border-radius: 6px; }
.brand .logo { width: 100%; height: auto; overflow: visible; }
.logo .arc, .logo .ray, .logo .ch { fill: currentColor; }
.nav { display: none; margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: clamp(18px, 1.9vw, 30px); list-style: none; margin: 0; padding: 0; }
.nav__link {
  position: relative; display: block; padding: 12px 0;
  font-size: 15px; font-weight: 500; line-height: 1.2; letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.9); text-decoration: none; transition: color 0.2s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px;
  background: var(--pink); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.35s var(--ease);
}
.nav__link:hover { color: #fff; }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: #fff; }
.site-header__call { margin-left: auto; padding: 0 16px; }
.menu-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-width: 44px; height: 44px; padding: 0 4px 0 8px; border: 0; background: transparent; cursor: pointer; color: #fff;
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
}
.menu-btn__bars { position: relative; width: 22px; height: 10px; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; }
@media (max-width: 419.98px) { .menu-btn__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); } }
@media (max-width: 374.98px) {
  .brand { width: 112px; }
  .site-header__call { padding: 0 14px; }
}
@media (max-width: 349.98px) {
  .site-header__call { width: 44px; padding: 0; }
  .site-header__call span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
}
@media (min-width: 900px) { .brand { width: 148px; } }
@media (min-width: 1100px) {
  .site-header__in { gap: 28px; }
  .nav { display: block; }
  .site-header__call { margin-left: 4px; padding: 0 20px; }
  .menu-btn { display: none; }
}

/* ---------- 12. phone menu (dialog) ---------- */
.menu { position: fixed; inset: 0; z-index: 200; overflow-y: auto; overscroll-behavior: contain; background: var(--navy); color: var(--fg); }
.menu__panel { display: flex; flex-direction: column; min-height: 100%; max-width: 620px; margin: 0 auto; padding: 0 var(--gutter) 32px; }
.menu__top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); border-bottom: 1px solid var(--line-soft); }
.menu__title { font-size: var(--fs-kicker); font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-2); }
.menu__close {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 4px 0 12px; border: 0; background: transparent; cursor: pointer;
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg);
}
.menu__close .icon { width: 22px; height: 22px; color: var(--fg); }
.menu__list { list-style: none; margin: 8px 0 0; padding: 0; }
.menu__link {
  display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 8px 0;
  border-bottom: 1px solid var(--line-soft); text-decoration: none;
  font-family: var(--font-display); font-size: clamp(1.625rem, 1.3rem + 1.4vw, 2rem); font-weight: 500; font-variation-settings: "opsz" 30; line-height: 1.2;
}
.menu__link[aria-current="page"] { color: var(--pink); }
.menu__link[aria-current="page"]::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); }
.menu__foot { margin-top: auto; padding-top: 32px; display: grid; gap: 16px; }
.menu__hours { margin: 0; color: var(--fg-2); }
.menu__social { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; }
.menu__social .link { display: inline-block; padding-block: 10px; }
@media (prefers-reduced-motion: no-preference) {
  .menu.is-open { animation: fade 0.22s ease-out; }
  .menu.is-open .menu__list li { animation: fadeUp 0.45s var(--ease-out) both; animation-delay: calc(60ms + var(--i, 0) * 35ms); }
}

/* ---------- 13. hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(560px, 80vh, 760px);
  padding: calc(var(--header-h) + 40px) 0 clamp(64px, 3rem + 4vw, 112px);
  background: var(--navy);
  color: var(--fg);
}
.hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(9, 4, 39, 0.78) 0%, rgba(9, 4, 39, 0) 26%),
    linear-gradient(0deg, rgba(9, 4, 39, 0.9) 0%, rgba(9, 4, 39, 0) 38%),
    linear-gradient(90deg, rgba(9, 4, 39, 0.9) 0%, rgba(14, 6, 56, 0.72) 48%, rgba(30, 8, 64, 0.38) 100%);
}
.hero:not(.hero--home)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: -1; height: 120px;
  background: linear-gradient(0deg, var(--navy) 0%, rgba(9, 4, 39, 0) 100%); pointer-events: none;
}
.hero__in { position: relative; width: 100%; }
.hero__content { max-width: 660px; }
.hero .lede { color: #ebe5f0; margin-top: var(--s-3); }
.hero .btn-row { margin-top: var(--s-4); }
.hero .status { margin-top: var(--s-3); color: #f7f2ef; }
.hero h1 + .lede, .hero .h1 + .lede { margin-top: var(--s-3); }

.hero--center .hero__content { margin-inline: auto; text-align: center; max-width: 820px; }
.hero--center .lede { margin-inline: auto; }
.hero--center .btn-row { justify-content: center; }
.hero--center::before {
  background:
    linear-gradient(180deg, rgba(9, 4, 39, 0.8) 0%, rgba(9, 4, 39, 0) 28%),
    linear-gradient(0deg, rgba(9, 4, 39, 0.92) 0%, rgba(9, 4, 39, 0) 40%),
    radial-gradient(70% 70% at 50% 55%, rgba(9, 4, 39, 0.66) 0%, rgba(14, 6, 56, 0.6) 55%, rgba(24, 7, 58, 0.45) 100%);
}
.hero--home { min-height: clamp(600px, 92vh, 880px); }
.hero--short { min-height: clamp(300px, 40vh, 400px); padding-bottom: clamp(48px, 2.5rem + 2vw, 72px); text-align: center; }
.hero--short .hero__content { margin-inline: auto; text-align: center; }
.hero--short::before {
  background:
    linear-gradient(180deg, rgba(9, 4, 39, 0.8) 0%, rgba(9, 4, 39, 0.55) 45%, rgba(9, 4, 39, 0.92) 100%),
    linear-gradient(90deg, rgba(14, 6, 56, 0.5), rgba(30, 8, 64, 0.35));
}
@media (max-width: 599.98px) {
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 48px); }
  .hero--home { min-height: max(620px, 88svh); }
  .hero::before {
    background:
      linear-gradient(180deg, rgba(9, 4, 39, 0.8) 0%, rgba(9, 4, 39, 0.5) 30%, rgba(9, 4, 39, 0.62) 60%, rgba(9, 4, 39, 0.94) 100%);
  }
}

/* ---------- 14. footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--fg-2); border-top: 1px solid var(--line-soft); padding-top: clamp(56px, 3rem + 2vw, 80px); font-size: var(--fs-small); }
.site-footer__grid { display: grid; gap: 40px 32px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .site-footer__grid { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.2fr) minmax(0, 1.1fr) minmax(0, 1.1fr); } }
.site-footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.brand--footer { width: 150px; }
.brand--footer img { width: 100%; height: auto; }
.site-footer__h { margin: 0 0 16px; font-family: var(--font-body); font-size: var(--fs-kicker); font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg); font-variation-settings: normal; }
.site-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.site-footer__list li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; color: var(--fg); }
.site-footer__list .icon { width: 18px; height: 18px; margin-top: 2px; }
.site-footer__list .link { display: inline-block; }
.site-footer .hours { max-width: 300px; }
.site-footer .hours dt { color: var(--fg); font-weight: 500; }
.site-footer .status { margin-top: 16px; }
.site-footer__bottom { margin-top: clamp(48px, 2.5rem + 2vw, 72px); padding-bottom: 28px; font-size: 14px; }
/* the hairline sits on the inner bar so it lines up with the columns above */
.site-footer__bar {
  display: flex; flex-direction: column; align-items: center; gap: 4px 32px;
  padding-top: 16px; border-top: 1px solid var(--line-soft); text-align: center;
}
.site-footer__bar p { margin: 0; padding-block: 8px; }
/* page links: the way around the site without the phone menu (and without JavaScript) */
.site-footer__nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; column-gap: 24px; }
.site-footer__nav a {
  display: inline-block; padding-block: 10px; font-size: 14.5px; line-height: 24px; color: var(--fg-2); text-decoration: none;
  text-decoration-thickness: 1px; text-underline-offset: 5px; transition: color 0.2s;
}
.site-footer__nav a:hover { color: var(--fg); text-decoration-line: underline; text-decoration-color: var(--pink); }
.site-footer__nav a[aria-current="page"] { color: var(--fg); }
@media (min-width: 1024px) {
  .site-footer__bar { flex-direction: row; justify-content: space-between; padding-top: 8px; text-align: left; }
  .site-footer__nav ul { justify-content: flex-start; }
}

/* ---------- 15. motion ---------- */
@keyframes fade { from { opacity: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } }
@keyframes heroUp { from { opacity: 0; transform: translateY(18px); } }
@keyframes lgDraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes lgRay { from { opacity: 0; transform: translate(calc(var(--ux) * -60px), calc(var(--uy) * -60px)) scale(0.6); } }
@keyframes lgCh { from { opacity: 0; transform: translateY(32%); } }
@keyframes lgRayGlint {
  0%, 12%, 100% { fill: currentColor; transform: none; }
  5% { fill: #ffc6f1; transform: translate(calc(var(--ux) * 14px), calc(var(--uy) * 14px)); }
}
@keyframes lgChGlint { 0%, 9%, 100% { fill: currentColor; } 4% { fill: #ffb6ec; } }

@media (prefers-reduced-motion: no-preference) {
  /* logo: the arc draws, the rays reach out, the letters rise; once, about 1.3s */
  .motion .logo--intro .arc-draw { stroke-dasharray: 1 1; stroke-dashoffset: 0; animation: lgDraw 0.9s cubic-bezier(0.65, 0, 0.35, 1) 0.15s both; }
  .motion .logo--intro .ray { transform-box: fill-box; transform-origin: center; animation: lgRay 0.5s var(--ease-out) calc(0.55s + var(--i) * 45ms) both, lgRayGlint 8s ease-in-out calc(2.2s + var(--i) * 90ms) infinite; }
  .motion .logo--intro .ch { transform-box: fill-box; transform-origin: 50% 100%; animation: lgCh 0.6s var(--ease-out) calc(0.1s + var(--i) * 35ms) both, lgChGlint 8s ease-in-out calc(2.75s + var(--i) * 60ms) infinite; }
  /* CLIENT REQUEST (2026-10-09 18:00, "Have the logo in the top left be animated slightly like a nice
     effect"): keep this ambient loop; it is the one deliberate exception to "no looping motion".
     After the intro the header logo keeps a quiet life of its own: every 8s the rays catch the light
     one after another and reach out a touch, then a soft pink sheen runs across both words (TANNING
     restarts at the left, so the sheen sweeps the two lines together). On hover the rays open a little. */
  .motion .logo--intro .w2 .ch { animation-delay: calc(0.1s + var(--i) * 35ms), calc(2.79s + (var(--i) - 7) * 60ms); }
  .logo--intro .rays { transform-box: fill-box; transform-origin: 50% 100%; transition: transform 0.6s var(--ease-out); }
  .brand:hover .logo--intro .rays, .brand:focus-visible .logo--intro .rays { transform: scale(1.06); }

  /* hero copy fades up once on load */
  .motion [data-hero-in] > * { animation: heroUp 0.8s var(--ease-out) both; animation-delay: 0.3s; }
  .motion [data-hero-in] > :nth-child(2) { animation-delay: 0.4s; }
  .motion [data-hero-in] > :nth-child(3) { animation-delay: 0.5s; }
  .motion [data-hero-in] > :nth-child(4) { animation-delay: 0.6s; }
  .motion [data-hero-in] > :nth-child(5) { animation-delay: 0.7s; }
  .motion [data-hero-in] > :nth-child(n+6) { animation-delay: 0.8s; }

  /* scroll reveals: hidden only under html.rv (added by core.js) until .is-in */
  .rv [data-reveal]:not(.is-in),
  .rv [data-reveal-group]:not(.is-in) > * { opacity: 0; }
  .rv [data-reveal].is-in:not(.rv-now) { animation: fadeUp 0.65s var(--ease) var(--rv-d, 0ms) backwards; }
  .rv [data-reveal-group].is-in:not(.rv-now) > * { animation: fadeUp 0.6s var(--ease) calc(var(--rv-d, 0ms) + var(--rv-i, 0) * 80ms) backwards; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
  .btn:hover, a.card:hover, .card--hover:hover { transform: none; }
}
@media print {
  .site-header, .menu, .skip-link { display: none !important; }
  [data-reveal], [data-reveal-group] > * { opacity: 1 !important; animation: none !important; }
}
