/* ============================================================================
 * tiki-2026.css — Tiki Tan design system
 *
 * Visual direction: mockup.png + icon.png (approved 2026-07-27).
 * Premium tropical resort — warm ivory, sand, Tiki Tan gold, turquoise/teal.
 *
 * SUPERSEDES assets/css/tiki-theme.css (2026-05-18), which used a saturated
 * clip-art beach palette and a generated gradient-text wordmark. Do not mix
 * the two: this file owns the token namespace --tt-*, that one owns --sky-*
 * / --sand-* / --hibiscus / --palm / --bamboo.
 *
 * Contrast note: where the mockup's sampled colour failed WCAG AA it was
 * darkened and a decorative-only variant kept. Ratios are stated inline.
 * Contrast takes priority over matching the comp (brief, Phase 2).
 *
 * Class-name contract: .nav-*, .mobile-*, .card-image, .hero-image,
 * .pricing-header, .level-badge, .form-status and all data-vip-* /
 * data-bed-level hooks are read by live JS. Never rename them.
 * ==========================================================================*/

/* ===========================================================================
 * 1. TOKENS
 * ========================================================================*/

:root {
  /* --- Surfaces --------------------------------------------------------- */
  --tt-bg:            #FFFCF2;   /* page — warm ivory */
  --tt-surface:       #FFFFFF;   /* elevated card */
  --tt-cream:         #FEF6E4;   /* cream section */
  --tt-sand:          #FAEBCF;   /* sand section */
  --tt-sand-deep:     #F5DFB0;   /* sand edge / divider */
  --tt-teal-pale:     #E4F5F5;   /* pale teal surface */

  /* --- Brand ------------------------------------------------------------
   * Every ratio below was MEASURED in-browser, not estimated. Where a colour
   * is used on more than one surface the WORST case is quoted. */
  --tt-teal:          #0E7C8A;   /* primary interaction  — 4.79:1 on ivory */
  --tt-teal-deep:     #0A5C68;   /* readable text, hover — 7.46:1 on ivory */
  --tt-teal-bright:   #22B8C4;   /* DECORATIVE ONLY: waves, icon fills */
  --tt-gold:          #F0B429;   /* Tiki Tan gold — fills/icons/borders.
                                    2.0:1 on ivory: NEVER use for text */
  --tt-gold-soft:     #FBE3A8;   /* gold tint surface */
  /* Darkened from #A66A00, which measured 4.37:1 on ivory and only 3.56:1 on
   * the gold chip — both below AA. This value clears 4.5 on every surface it
   * lands on: ivory 5.77, white 5.92, cream 5.50, sand 5.03, gold chip 4.69. */
  --tt-gold-deep:     #8A5A0A;
  --tt-bronze:        #7A4E12;   /* deep warm accent text — 6.99:1 on ivory */
  /* Rating stars. --tt-gold is only 1.6-1.8:1 on our surfaces, which is too
   * faint to see even though the glyphs are aria-hidden and the score is always
   * printed beside them. This still reads as gold and clears WCAG 1.4.11's 3:1
   * for graphical objects on every surface: ivory 3.70, cream 3.53,
   * pale teal 3.38, sand 3.23, white 3.80. */
  --tt-star:          #B07800;

  /* --- Text ------------------------------------------------------------- */
  --tt-ink:           #16292E;   /* primary   — 14.71:1 on ivory */
  --tt-ink-soft:      #3D5259;   /* secondary —  8.02:1 on ivory */
  /* Tertiary text. Darkened from #5F757C, which was 4.73:1 on ivory but fell to
   * 4.13:1 on sand and 3.85:1 on the gold chip. This clears 4.5 on every
   * surface in the system: ivory 5.73, cream 5.46, sand 5.00, sand-deep 4.63,
   * pale teal 5.23, gold chip 4.66, white 5.88. Never set it below 16px. */
  --tt-ink-muted:     #526870;
  --tt-on-teal:       #FFFFFF;   /* text on teal fills — 4.92:1 */
  --tt-on-gold:       #16292E;   /* text on gold fills — 8.10:1 */

  /* --- Lines and state -------------------------------------------------- */
  --tt-border:        #EADFC8;
  --tt-border-strong: #D9C7A6;
  --tt-open:          #1F7A4D;   /* open / success — 5.18:1 ivory, 4.69:1 on its bg */
  --tt-open-bg:       #E6F4EC;
  --tt-warn:          #A65A00;   /* 5.01:1 ivory, 4.57:1 on its bg */
  --tt-warn-bg:       #FDF0DC;
  --tt-error:         #B3261E;   /* 6.37:1 ivory, 5.68:1 on its bg */
  --tt-error-bg:      #FDEBEA;
  --tt-info-bg:       var(--tt-teal-pale);
  --tt-focus:         #0A5C68;

  /* --- Typography ------------------------------------------------------- */
  --tt-font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --tt-font-body:    'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --tt-font-accent:  'Caveat', 'Segoe Script', cursive;

  /* Fluid display sizes — clamp() prevents oversized headings on phones */
  --tt-fs-display: clamp(2.5rem, 7vw, 4.5rem);
  --tt-fs-h1:      clamp(2rem, 5vw, 3.25rem);
  --tt-fs-h2:      clamp(1.65rem, 3.6vw, 2.5rem);
  --tt-fs-h3:      clamp(1.25rem, 2.2vw, 1.6rem);
  --tt-fs-body:    1.0625rem;   /* 17px */
  --tt-fs-lead:    clamp(1.0625rem, 1.6vw, 1.25rem);
  --tt-fs-sm:      0.9375rem;   /* 15px — smallest body-ish size used */
  --tt-fs-label:   0.875rem;    /* 14px, +tracking, sentence case */
  --tt-fs-price:   clamp(1.5rem, 3vw, 2.125rem);

  /* --- Shape ------------------------------------------------------------ */
  --tt-r-sm:   10px;
  --tt-r:      16px;
  --tt-r-lg:   24px;
  --tt-r-xl:   32px;
  --tt-r-pill: 999px;

  /* --- Space ------------------------------------------------------------ */
  --tt-gutter:    20px;
  --tt-section-y: 64px;
  --tt-card-pad:  24px;
  --tt-tap-min:   44px;         /* minimum touch target */
  --tt-max-w:       1200px;
  --tt-max-w-prose: 68ch;
  --tt-wave-h:    48px;

  /* --- Effects ---------------------------------------------------------- */
  /* Layered, low-opacity shadows. Depth comes from stacked soft passes rather
   * than one dark drop — this is what lets cards lose their borders and still
   * read as separate surfaces. */
  --tt-shadow:       0 1px 2px rgba(22,41,46,.04), 0 4px 10px rgba(22,41,46,.05), 0 12px 28px rgba(22,41,46,.045);
  --tt-shadow-hover: 0 2px 4px rgba(22,41,46,.05), 0 10px 22px rgba(22,41,46,.08), 0 26px 56px rgba(22,41,46,.09);
  --tt-shadow-lift:  0 4px 10px rgba(22,41,46,.05), 0 18px 44px rgba(22,41,46,.10), 0 44px 90px rgba(22,41,46,.08);
  --tt-shadow-gold:  0 2px 12px rgba(240,180,41,.20), 0 16px 40px rgba(240,180,41,.16);
  --tt-ring:         0 0 0 3px var(--tt-bg), 0 0 0 6px var(--tt-focus);

  /* --- Motion ----------------------------------------------------------- */
  --tt-t-fast: 140ms;
  --tt-t:      220ms;
  --tt-ease:   cubic-bezier(.22, .61, .36, 1);
}

@media (min-width: 768px) {
  :root {
    --tt-gutter:    32px;
    --tt-section-y: 96px;
    --tt-wave-h:    80px;
  }
}

/* Honour the OS reduced-motion setting everywhere (brief rule 13). */
@media (prefers-reduced-motion: reduce) {
  :root { --tt-t-fast: 0ms; --tt-t: 0ms; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===========================================================================
 * 2. RESET AND BASE
 * ========================================================================*/

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Sticky header is 68px; keep anchored headings clear of it. */
  scroll-padding-top: 84px;
}

body {
  font-family: var(--tt-font-body);
  font-size: var(--tt-fs-body);
  line-height: 1.65;
  color: var(--tt-ink);
  background: var(--tt-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* No page-level horizontal scroll at any breakpoint (brief, Phase 7). */
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; color: inherit; }

/* Single global focus treatment. The old site had none at all. */
:focus-visible {
  outline: 3px solid var(--tt-focus);
  outline-offset: 2px;
  border-radius: 4px;
}
/* Only suppress the ring for genuine mouse focus, never for keyboard. */
:focus:not(:focus-visible) { outline: none; }

::selection { background: var(--tt-gold-soft); color: var(--tt-ink); }

/* ===========================================================================
 * 3. TYPOGRAPHY
 * ========================================================================*/

h1, h2, h3, h4, h5, h6 {
  font-family: var(--tt-font-display);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--tt-ink);
  text-wrap: balance;
}

h1 { font-size: var(--tt-fs-h1); }
h2 { font-size: var(--tt-fs-h2); }
h3 { font-size: var(--tt-fs-h3); font-weight: 700; }
h4 { font-size: 1.125rem; font-weight: 700; }

p { text-wrap: pretty; }
p + p { margin-top: 1em; }

.tt-display { font-size: var(--tt-fs-display); font-weight: 900; }

/* Script accent. Restricted by rule 12 to short decorative phrases —
 * never navigation, body copy, buttons, pricing, forms or labels. */
.tt-script {
  font-family: var(--tt-font-accent);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.1;
  color: var(--tt-teal-deep);
}

.tt-lead {
  font-size: var(--tt-fs-lead);
  color: var(--tt-ink-soft);
  max-width: var(--tt-max-w-prose);
}

/* Section label. Sentence case at 14px — the brief rules out tiny uppercase. */
.tt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--tt-fs-label);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--tt-gold-deep);
  background: var(--tt-gold-soft);
  border-radius: var(--tt-r-pill);
  padding: 6px 14px;
}
.tt-eyebrow--teal { color: var(--tt-teal-deep); background: var(--tt-teal-pale); }
.tt-eyebrow img, .tt-eyebrow svg { width: 18px; height: 18px; }

.tt-text-muted { color: var(--tt-ink-muted); }
.tt-text-soft  { color: var(--tt-ink-soft); }

/* Skip link — first focusable element on every page. */
.tt-skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 2000;
  background: var(--tt-teal-deep);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--tt-r-sm);
  font-weight: 600;
  transition: top var(--tt-t) var(--tt-ease);
}
.tt-skip-link:focus { top: 12px; }

/* ===========================================================================
 * 4. LAYOUT
 * ========================================================================*/

.tt-container {
  width: 100%;
  max-width: var(--tt-max-w);
  margin-inline: auto;
  padding-inline: var(--tt-gutter);
}
.tt-container--narrow { max-width: 860px; }
.tt-container--prose  { max-width: var(--tt-max-w-prose); }

/* overflow-x:clip contains bleeding decoration (the sun watermark sits at a
 * negative offset by design) without creating a scroll container — unlike
 * overflow:hidden it does not break position:sticky inside the section. */
.tt-section { padding-block: var(--tt-section-y); position: relative; overflow-x: clip; }
@supports not (overflow-x: clip) { .tt-section { overflow-x: hidden; } }
.tt-section--tight { padding-block: calc(var(--tt-section-y) * .6); }

/* Section surfaces. These replace every dark slab on the old site. */
.tt-section--cream { background: var(--tt-cream); }
.tt-section--sand  { background: var(--tt-sand); }
.tt-section--teal  { background: var(--tt-teal-pale); }
.tt-section--white { background: var(--tt-surface); }

/* Warm sand gradients — the app-icon's sky-to-sand falloff, kept very low
 * contrast so it reads as light rather than as a coloured band. */
/* Starts on the exact colour the hero gradient ends on, so the hero can run
 * straight into it with no separator — one continuous warm field. */
.tt-section--sand-grad {
  background: linear-gradient(180deg, #FCEFD6 0%, var(--tt-sand) 45%, #F6E2BE 100%);
}
.tt-section--ivory-grad {
  background: linear-gradient(180deg, var(--tt-bg) 0%, var(--tt-cream) 100%);
}
.tt-section--dawn {
  background:
    radial-gradient(120% 80% at 78% 0%, rgba(34,184,196,.10) 0%, rgba(34,184,196,0) 60%),
    radial-gradient(100% 70% at 10% 100%, rgba(240,180,41,.14) 0%, rgba(240,180,41,0) 65%),
    linear-gradient(180deg, var(--tt-cream) 0%, var(--tt-bg) 100%);
}

.tt-section-head { text-align: center; margin-bottom: 48px; }
.tt-section-head .tt-lead { margin-inline: auto; margin-top: 12px; }
.tt-section-head .tt-eyebrow { margin-bottom: 16px; }

.tt-grid { display: grid; gap: 24px; }
@media (min-width: 640px)  { .tt-grid--2 { grid-template-columns: repeat(2, 1fr); }
                             .tt-grid--3 { grid-template-columns: repeat(2, 1fr); }
                             .tt-grid--4 { grid-template-columns: repeat(2, 1fr); } }
/* 3-up only from 1024. At 768 three cards land at ~230px each, which crushes
 * the bed images and wraps the price line. */
@media (min-width: 1024px) { .tt-grid--3 { grid-template-columns: repeat(3, 1fr); }
                             .tt-grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* ===========================================================================
 * 5. WAVE SEPARATORS
 *
 * Soft organic transition between sections, per the mockup. Inline data-URI
 * SVG so there is no extra request and no layout shift. Decorative only —
 * aria-hidden in markup, never carries meaning.
 * ========================================================================*/

/* A wave needs BOTH colours: the section above it becomes the element's own
 * background, and the section below it is the colour of the drawn path.
 * So every wave takes two modifiers — one --from-* and one --to-*:
 *
 *   <div class="tt-wave tt-wave--from-cream tt-wave--to-ivory" aria-hidden="true"></div>
 *
 * Omitting --from- leaves the wave transparent, which reads as no wave at all
 * whenever the two sections differ. */
.tt-wave {
  position: relative;
  display: block;
  width: 100%;
  height: var(--tt-wave-h);
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100% 100%;
  pointer-events: none;
  /* Kill the hairline seam browsers leave between a wave and its neighbour. */
  margin-bottom: -1px;
  margin-top: -1px;
}

/* Colour of the section ABOVE the wave. */
.tt-wave--from-ivory { background-color: var(--tt-bg); }
.tt-wave--from-cream { background-color: var(--tt-cream); }
.tt-wave--from-sand  { background-color: var(--tt-sand); }
.tt-wave--from-white { background-color: var(--tt-surface); }
.tt-wave--from-teal  { background-color: var(--tt-teal-pale); }
/* Matches the closing stop of .tt-section--sand-grad. */
.tt-wave--from-sandgrad { background-color: #F6E2BE; }

/* Colour of the section BELOW the wave (the drawn path). */
.tt-wave--to-ivory { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23FFFCF2' d='M0 40c180-40 360-40 540-8s360 56 540 24 300-48 360-56v80H0z'/%3E%3C/svg%3E"); }
.tt-wave--to-cream { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23FEF6E4' d='M0 40c180-40 360-40 540-8s360 56 540 24 300-48 360-56v80H0z'/%3E%3C/svg%3E"); }
.tt-wave--to-sand  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23FAEBCF' d='M0 40c180-40 360-40 540-8s360 56 540 24 300-48 360-56v80H0z'/%3E%3C/svg%3E"); }
.tt-wave--to-white { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23FFFFFF' d='M0 40c180-40 360-40 540-8s360 56 540 24 300-48 360-56v80H0z'/%3E%3C/svg%3E"); }
.tt-wave--to-teal  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%230E7C8A' d='M0 40c180-40 360-40 540-8s360 56 540 24 300-48 360-56v80H0z'/%3E%3C/svg%3E"); }

/* Sun watermark — decorative, uses the real sun.png brand mark. */
.tt-sun-watermark {
  position: absolute;
  z-index: 0;
  width: 220px;
  opacity: .07;
  pointer-events: none;
  user-select: none;
}
.tt-sun-watermark--tr { top: -40px; right: -40px; }
.tt-sun-watermark--bl { bottom: -40px; left: -40px; }
.tt-section > .tt-container { position: relative; z-index: 1; }

/* ===========================================================================
 * 6. BUTTONS
 * ========================================================================*/

.tt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--tt-tap-min);
  padding: 12px 26px;
  font-family: var(--tt-font-body);
  font-size: var(--tt-fs-body);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  border: 2px solid transparent;
  border-radius: var(--tt-r-pill);
  cursor: pointer;
  transition: background var(--tt-t) var(--tt-ease),
              border-color var(--tt-t) var(--tt-ease),
              color var(--tt-t) var(--tt-ease),
              box-shadow var(--tt-t) var(--tt-ease),
              transform var(--tt-t) var(--tt-ease);
}
.tt-btn:hover { transform: translateY(-1px); }
.tt-btn:active { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .tt-btn:hover { transform: none; } }

/* Primary — teal. The default action everywhere. */
.tt-btn--primary {
  background: var(--tt-teal);
  border-color: var(--tt-teal);
  color: var(--tt-on-teal);
  box-shadow: var(--tt-shadow);
}
.tt-btn--primary:hover {
  background: var(--tt-teal-deep);
  border-color: var(--tt-teal-deep);
  box-shadow: var(--tt-shadow-hover);
}

/* Secondary — outlined. */
.tt-btn--outline {
  background: var(--tt-surface);
  border-color: var(--tt-teal);
  color: var(--tt-teal-deep);
}
.tt-btn--outline:hover {
  background: var(--tt-teal-pale);
  border-color: var(--tt-teal-deep);
}

/* Gold — promotional only (VIP, offers). Dark ink on gold = 7.4:1. */
.tt-btn--gold {
  background: var(--tt-gold);
  border-color: var(--tt-gold);
  color: var(--tt-on-gold);
  box-shadow: var(--tt-shadow-gold);
}
.tt-btn--gold:hover {
  background: #E0A417;
  border-color: #E0A417;
  box-shadow: var(--tt-shadow-hover);
}

/* Ghost — for use over imagery; keeps a solid readable plate. */
.tt-btn--ghost {
  background: rgba(255, 252, 242, .92);
  border-color: var(--tt-border-strong);
  color: var(--tt-ink);
}
.tt-btn--ghost:hover { background: var(--tt-surface); border-color: var(--tt-teal); }

.tt-btn--sm    { min-height: 40px; padding: 8px 18px; font-size: var(--tt-fs-sm); }
.tt-btn--lg    { min-height: 52px; padding: 15px 34px; font-size: 1.125rem; }
.tt-btn--block { display: flex; width: 100%; }

/* Text link. Underline is always present — never colour alone (rule: no
 * information conveyed by colour alone). */
.tt-link {
  color: var(--tt-teal-deep);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(14, 124, 138, .35);
  transition: text-decoration-color var(--tt-t) var(--tt-ease);
}
.tt-link:hover { text-decoration-color: var(--tt-teal-deep); }

/* ===========================================================================
 * 7. BADGES AND STATUS
 * ========================================================================*/

.tt-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  font-size: var(--tt-fs-label);
  font-weight: 600;
  line-height: 1.3;
  border-radius: var(--tt-r-pill);
  background: var(--tt-teal-pale);
  color: var(--tt-teal-deep);
  white-space: nowrap;
}
.tt-badge--gold   { background: var(--tt-gold-soft); color: var(--tt-gold-deep); }
.tt-badge--sand   { background: var(--tt-sand-deep); color: var(--tt-bronze); }
.tt-badge--open   { background: var(--tt-open-bg);  color: var(--tt-open); }
.tt-badge--closed { background: var(--tt-cream);    color: var(--tt-ink-soft); }

/* Open/closed status carries a dot AND a word — not colour alone. */
.tt-badge--open::before,
.tt-badge--closed::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

/* Bed-level badges. Level identity is carried by the text, colour supports it. */
.tt-badge--l3 { background: var(--tt-teal-pale);  color: var(--tt-teal-deep); }
.tt-badge--l4 { background: var(--tt-gold-soft);  color: var(--tt-gold-deep); }
.tt-badge--l5 { background: var(--tt-sand-deep);  color: var(--tt-bronze); }
.tt-badge--sunless { background: var(--tt-open-bg); color: var(--tt-open); }

/* ===========================================================================
 * 8. CARDS
 * ========================================================================*/

/* Borderless by default. Separation is carried by the layered shadow and the
 * surface/section contrast, not by an outline — fewer hard edges. */
.tt-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--tt-surface);
  border: 0;
  border-radius: var(--tt-r-xl);
  box-shadow: var(--tt-shadow);
  overflow: hidden;
  transition: box-shadow var(--tt-t) var(--tt-ease),
              transform var(--tt-t) var(--tt-ease);
}
.tt-card--hover:hover {
  box-shadow: var(--tt-shadow-lift);
  transform: translateY(-4px);
}
/* Opt back in where a hairline genuinely helps (white card on a white band). */
.tt-card--outlined { box-shadow: none; border: 1px solid var(--tt-border); }
@media (prefers-reduced-motion: reduce) { .tt-card--hover:hover { transform: none; } }

.tt-card__body { padding: var(--tt-card-pad); display: flex; flex-direction: column; gap: 12px; flex: 1; }
.tt-card__title { font-size: var(--tt-fs-h3); }
.tt-card__sub   { color: var(--tt-ink-soft); font-size: var(--tt-fs-sm); }

/* Media. Fixed aspect-ratio prevents cumulative layout shift. */
.tt-card__media {
  position: relative;             /* lamp-badges.js absolutely-positions into this */
  aspect-ratio: 4 / 3;
  background: var(--tt-cream);
  overflow: hidden;
}
.tt-card__media img { width: 100%; height: 100%; object-fit: cover; }

/* Feature card — icon + title + one line. The VIP row in the mockup. */
.tt-card--feature {
  align-items: center;
  text-align: center;
  background: var(--tt-surface);
  padding: 32px 22px;
  gap: 10px;
}
/* Gold-tinted icon plate, same language as .tt-point__icon. Line icons rather
 * than the sun mark: four identical suns in a row read as wallpaper, and the
 * 144px raster mark does not stay crisp below ~26px. */
.tt-card__icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: var(--tt-r);
  background: var(--tt-gold-soft);
  margin-bottom: 6px;
  flex: 0 0 auto;
}
.tt-card__icon svg { width: 28px; height: 28px; color: var(--tt-gold-deep); }
.tt-card__icon img { width: 32px; height: 32px; }
.tt-card--feature .tt-card__title { font-size: 1.0625rem; font-weight: 700; }
.tt-card--feature p { font-size: var(--tt-fs-sm); color: var(--tt-ink-soft); }

/* Pricing card. */
.tt-card--pricing { text-align: center; }
.tt-card--pricing .tt-price {
  font-family: var(--tt-font-body);   /* prices stay in the readable face */
  font-size: var(--tt-fs-price);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--tt-teal-deep);
  line-height: 1.1;
  /* Never let a price wrap mid-figure. */
  white-space: nowrap;
}
.tt-card--pricing .tt-price small {
  font-size: var(--tt-fs-sm);
  font-weight: 500;
  color: var(--tt-ink-muted);
  white-space: normal;
}
/* Featured is signalled by lift + a gold-tinted glow, not a hard 2px outline. */
.tt-card--featured {
  box-shadow: var(--tt-shadow-gold);
  transform: translateY(-6px);
}
.tt-card--featured.tt-card--hover:hover { transform: translateY(-10px); }
@media (prefers-reduced-motion: reduce) {
  .tt-card--featured, .tt-card--featured.tt-card--hover:hover { transform: none; }
}
@media (max-width: 639px) { .tt-card--featured { transform: none; } }

.tt-card__features { list-style: none; display: grid; gap: 8px; font-size: var(--tt-fs-sm); color: var(--tt-ink-soft); }
.tt-card__features li { display: flex; gap: 10px; align-items: flex-start; }
.tt-card__features li::before {
  content: "";
  flex: 0 0 auto;
  width: 7px; height: 7px;
  margin-top: .55em;
  border-radius: 50%;
  background: var(--tt-gold);
}

.tt-card__foot { margin-top: auto; padding-top: 4px; }

/* Testimonial / review card. */
.tt-card--review { text-align: center; padding: 32px var(--tt-card-pad); align-items: center; }
.tt-card--review .tt-stars { color: var(--tt-star); font-size: 1.25rem; letter-spacing: 2px; }

/* ===========================================================================
 * 9. PROMOTIONAL BANNER (daily special)
 *
 * Structural styles only. js/specials.top.js renders into #tt-specials-section
 * and injects its own palette; assets/js/specials-top-2026.js is the retheme
 * that emits these class names.
 * ========================================================================*/

.tt-banner {
  background: linear-gradient(100deg, var(--tt-cream) 0%, var(--tt-gold-soft) 100%);
  border-bottom: 1px solid var(--tt-border);
}
.tt-banner__inner {
  max-width: var(--tt-max-w);
  margin-inline: auto;
  padding: 14px var(--tt-gutter);
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.tt-banner__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: var(--tt-fs-label);
  letter-spacing: 0.06em;
  color: var(--tt-teal-deep);
  white-space: nowrap;
}
.tt-banner__label img { width: 26px; height: 26px; }
.tt-banner__text  { flex: 1 1 240px; min-width: 0; }
.tt-banner__title { font-family: var(--tt-font-display); font-weight: 700; font-size: 1.1875rem; line-height: 1.25; }
.tt-banner__sub   { font-size: var(--tt-fs-sm); color: var(--tt-ink-soft); }
.tt-banner__price { font-weight: 700; font-size: 1.0625rem; color: var(--tt-gold-deep); white-space: nowrap; }
.tt-banner__cta   { flex-shrink: 0; }

/* Mobile: a compact stacked promo card.
 *
 * HOTFIX 2026-07-27 — the section was ~393px tall at 375px with a large dead
 * gap between the offer text and the price.
 *
 * Root cause: `.tt-banner__text { flex: 1 1 240px }` above. flex-basis resolves
 * along the MAIN axis. In the desktop row layout that is a 240px width, which
 * is correct and unchanged. Once this query flips the container to
 * `flex-direction: column`, the main axis becomes vertical, so the same
 * declaration became a 240px MINIMUM HEIGHT — for content needing about 50px —
 * and `flex-grow: 1` let it absorb any leftover space on top of that.
 *
 * Fix: on mobile only, take the text block out of flex sizing entirely
 * (`flex: 0 0 auto`) so every child is content-height. Desktop and tablet
 * (>=768px) never enter this query and are visually unchanged.
 *
 * DOM order already matches the required stack — label, title, description,
 * price, button — so this is CSS-only and the specials.php data contract is
 * untouched. */
@media (max-width: 767px) {
  .tt-banner__inner {
    flex-direction: column;
    align-items: stretch;      /* was flex-start: children now span the card */
    gap: 8px;
    padding-block: 14px;
  }
  /* Every child sizes to its content. No basis, no grow, no leftover space. */
  .tt-banner__label,
  .tt-banner__text,
  .tt-banner__price,
  .tt-banner__cta { flex: 0 0 auto; }

  .tt-banner__text  { width: 100%; }
  .tt-banner__label { align-self: flex-start; }
  .tt-banner__price { font-size: 1.125rem; }

  .tt-banner__cta { width: 100%; margin-top: 2px; }
  /* The banner CTA is a --sm button (40px) to sit inline on desktop. Full-width
     on a phone it is a primary tap target, so restore the 44px minimum. */
  .tt-banner__cta .tt-btn { width: 100%; min-height: var(--tt-tap-min); }
}

/* ===========================================================================
 * 10. NOTICES
 * ========================================================================*/

.tt-notice {
  display: flex;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--tt-r);
  border: 1px solid var(--tt-border);
  background: var(--tt-info-bg);
  color: var(--tt-ink);
  font-size: var(--tt-fs-sm);
}
/* Each state gets a glyph as well as a colour. */
.tt-notice::before { font-weight: 700; flex-shrink: 0; }
.tt-notice--info::before    { content: "i";  color: var(--tt-teal-deep); }
.tt-notice--success { background: var(--tt-open-bg);  border-color: #BFE3CE; }
.tt-notice--success::before { content: "\2713"; color: var(--tt-open); }
.tt-notice--warn    { background: var(--tt-warn-bg);  border-color: #F0D5AA; }
.tt-notice--warn::before    { content: "!";  color: var(--tt-warn); }
.tt-notice--error   { background: var(--tt-error-bg); border-color: #F2C4C1; }
.tt-notice--error::before   { content: "\26A0"; color: var(--tt-error); }

/* ===========================================================================
 * 11. FORMS
 * ========================================================================*/

.tt-form { display: grid; gap: 20px; }
.tt-form-row { display: grid; gap: 20px; }
@media (min-width: 640px) { .tt-form-row--2 { grid-template-columns: 1fr 1fr; } }

.tt-field { display: grid; gap: 7px; }

/* Always a real visible label — never a placeholder acting as one. */
.tt-field > label {
  font-size: var(--tt-fs-label);
  font-weight: 600;
  color: var(--tt-ink);
}
.tt-field .required { color: var(--tt-error); margin-left: 2px; }

.tt-input, .tt-select, .tt-textarea {
  width: 100%;
  min-height: var(--tt-tap-min);
  padding: 12px 14px;
  font-size: 1rem;                 /* >=16px: stops iOS zoom-on-focus */
  background: var(--tt-surface);
  color: var(--tt-ink);
  border: 1.5px solid var(--tt-border-strong);
  border-radius: var(--tt-r-sm);
  transition: border-color var(--tt-t-fast) var(--tt-ease),
              box-shadow var(--tt-t-fast) var(--tt-ease);
}
.tt-textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.tt-select { appearance: none; padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%233D5259' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; }

.tt-input::placeholder, .tt-textarea::placeholder { color: var(--tt-ink-muted); opacity: 1; }

.tt-input:focus, .tt-select:focus, .tt-textarea:focus {
  outline: none;
  border-color: var(--tt-teal);
  box-shadow: 0 0 0 3px rgba(14, 124, 138, .18);
}
.tt-input:focus-visible, .tt-select:focus-visible, .tt-textarea:focus-visible {
  outline: 3px solid var(--tt-focus);
  outline-offset: 1px;
}

/* Invalid state: red border AND an icon AND the message below. */
.tt-input[aria-invalid="true"], .tt-select[aria-invalid="true"], .tt-textarea[aria-invalid="true"] {
  border-color: var(--tt-error);
  background-color: var(--tt-error-bg);
}

.tt-help  { font-size: var(--tt-fs-label); color: var(--tt-ink-muted); }
.tt-error-msg {
  display: flex; align-items: center; gap: 6px;
  font-size: var(--tt-fs-label); font-weight: 600; color: var(--tt-error);
}
.tt-error-msg::before { content: "\26A0"; }

/* Checkbox / radio — 22px box inside a 44px-tall hit area. */
.tt-check { display: flex; gap: 12px; align-items: flex-start; min-height: var(--tt-tap-min); padding-block: 6px; cursor: pointer; }
.tt-check input[type="checkbox"], .tt-check input[type="radio"] {
  flex: 0 0 auto; width: 22px; height: 22px; margin-top: 2px; accent-color: var(--tt-teal); cursor: pointer;
}
.tt-check span { font-size: var(--tt-fs-sm); color: var(--tt-ink-soft); }

.tt-fieldset { border: 1px solid var(--tt-border); border-radius: var(--tt-r); padding: 24px; display: grid; gap: 20px; }
.tt-fieldset > legend { font-family: var(--tt-font-display); font-weight: 700; font-size: 1.125rem; padding-inline: 10px; }

/* form-ajax.js writes into .form-status; keep the hook, restyle the result. */
.form-status { font-size: var(--tt-fs-sm); font-weight: 600; min-height: 1.5em; }

/* ===========================================================================
 * 12. HERO
 * ========================================================================*/

.tt-hero {
  position: relative;
  overflow-x: clip;
  background:
    radial-gradient(90% 70% at 85% 10%, rgba(34,184,196,.12) 0%, rgba(34,184,196,0) 62%),
    radial-gradient(80% 60% at 0% 90%, rgba(240,180,41,.16) 0%, rgba(240,180,41,0) 62%),
    linear-gradient(180deg, var(--tt-bg) 0%, var(--tt-cream) 62%, #FCEFD6 100%);
}
@supports not (overflow-x: clip) { .tt-hero { overflow: hidden; } }

.tt-hero__inner {
  max-width: var(--tt-max-w);
  margin-inline: auto;
  padding: 44px var(--tt-gutter) 64px;
  display: grid;
  gap: 36px;
  align-items: center;
}
@media (min-width: 1024px) {
  .tt-hero__inner {
    grid-template-columns: 1fr 1.02fr;
    gap: 64px;
    padding-block: 88px 112px;
  }
}
.tt-hero__copy { position: relative; z-index: 2; display: grid; gap: 22px; justify-items: start; }
.tt-hero__copy .tt-lead { margin: 0; max-width: 30em; }

/* "Welcome to" in script, "Tiki Tan" in the display face — one H1, so the
 * document outline stays correct and screen readers read a single phrase. */
.tt-hero__title { display: grid; gap: 0; letter-spacing: -.03em; }
.tt-hero__title .k {
  font-family: var(--tt-font-accent);
  font-weight: 600;
  font-size: clamp(1.75rem, 4.4vw, 2.75rem);
  color: var(--tt-gold-deep);
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: -.08em;
}
.tt-hero__title .n {
  font-family: var(--tt-font-display);
  font-weight: 900;
  font-size: clamp(3rem, 9vw, 5.5rem);
  line-height: .95;
  color: var(--tt-teal-deep);
}

.tt-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 479px) { .tt-hero__actions { width: 100%; } .tt-hero__actions .tt-btn { flex: 1 1 100%; } }

/* Compact social proof under the hero CTAs. Stars are decorative; the rating
 * is stated in text so it never depends on the glyphs rendering. */
.tt-hero__rating {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px;
  font-size: var(--tt-fs-sm); color: var(--tt-ink-soft); margin: 2px 0 0;
}
.tt-hero__rating strong { color: var(--tt-ink); font-weight: 700; }
.tt-hero__stars { color: var(--tt-star); letter-spacing: 2px; font-size: 1rem; line-height: 1; }

/* Short decorative phrase inside a heading — the mockup's gold script line.
 * Kept large and set in --tt-gold-deep (5.1:1), never at small sizes. */
.tt-h2-accent {
  font-family: var(--tt-font-accent);
  font-weight: 600;
  font-size: 1.2em;
  line-height: 1.05;
  letter-spacing: 0;
  color: var(--tt-gold-deep);
}

/* Image side. Text never sits on top of it — the split composition keeps the
 * headline on a solid field (brief: no critical text over a busy image
 * without a readable overlay). */
.tt-hero__media {
  position: relative;
  border-radius: var(--tt-r-xl);
  overflow: hidden;
  box-shadow: var(--tt-shadow-lift);
  aspect-ratio: 4 / 3;
}
.tt-hero__media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1024px) { .tt-hero__media { aspect-ratio: 5 / 4; border-radius: 40px; } }

/* Floating hours/status chip on the photo. Solid plate, not glass, so the
 * text keeps its contrast over any part of the image. */
.tt-hero__chip {
  position: absolute;
  left: 18px; bottom: 18px;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 16px;
  border-radius: var(--tt-r-pill);
  background: var(--tt-surface);
  box-shadow: var(--tt-shadow-hover);
  font-size: var(--tt-fs-sm); font-weight: 600; color: var(--tt-ink);
}
.tt-hero__chip img { width: 20px; height: 20px; }
@media (min-width: 1024px) { .tt-hero__chip { left: 26px; bottom: 26px; } }

.tt-hero__status { display: inline-flex; }

/* ===========================================================================
 * 12b. HOMEPAGE COMPOSITION
 * ========================================================================*/

/* --- Rounded photo panel --------------------------------------------------
 * Photography carries the page, so images get the same radius and depth as
 * cards and are never boxed in by a border. */
.tt-media {
  position: relative;
  border-radius: var(--tt-r-xl);
  overflow: hidden;
  box-shadow: var(--tt-shadow-lift);
  background: var(--tt-cream);
}
.tt-media img { width: 100%; height: 100%; object-fit: cover; }
.tt-media--tall  { aspect-ratio: 4 / 5; }
.tt-media--wide  { aspect-ratio: 16 / 10; }
.tt-media--square{ aspect-ratio: 1 / 1; }
@media (min-width: 1024px) { .tt-media--hero { aspect-ratio: 5 / 4; border-radius: 40px; } }

/* --- Trust strip ----------------------------------------------------------
 * Plain marks on the background, no boxes — quiet credibility, not badges. */
.tt-trust {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px 40px;
  padding-block: 6px;
}
@media (min-width: 560px)  { .tt-trust { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tt-trust { grid-template-columns: repeat(4, 1fr); gap: 32px; } }

.tt-trust__item { display: flex; align-items: flex-start; gap: 13px; }
.tt-trust__item img, .tt-trust__item svg { flex: 0 0 auto; width: 30px; height: 30px; margin-top: 1px; }
.tt-trust__k { font-weight: 700; font-size: 1.0625rem; line-height: 1.25; display: block; }
.tt-trust__v { font-size: var(--tt-fs-sm); color: var(--tt-ink-soft); line-height: 1.4; }

/* --- Split section (copy beside media) ------------------------------------ */
.tt-split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) {
  .tt-split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .tt-split--wide-media { grid-template-columns: 0.9fr 1.1fr; }
  .tt-split--media-first > :first-child { order: 2; }
}
.tt-split__copy { display: grid; gap: 18px; justify-items: start; }
.tt-split__copy .tt-lead { margin: 0; }

/* --- Stat / price row inside a section ------------------------------------ */
.tt-tiers { display: grid; gap: 18px; }
@media (min-width: 560px) { .tt-tiers { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.tt-tier {
  background: var(--tt-surface);
  border-radius: var(--tt-r-lg);
  box-shadow: var(--tt-shadow);
  padding: 22px 18px;
  text-align: center;
  display: grid;
  gap: 4px;
  align-content: start;
}
.tt-tier__lvl { font-size: var(--tt-fs-label); font-weight: 600; color: var(--tt-gold-deep); }
.tt-tier__price {
  font-size: clamp(1.5rem, 3.4vw, 1.9rem); font-weight: 700;
  letter-spacing: -.02em; color: var(--tt-teal-deep); white-space: nowrap; line-height: 1.15;
}
.tt-tier__price .u { font-size: .9375rem; font-weight: 500; color: var(--tt-ink-muted); }
.tt-tier__desc { font-size: var(--tt-fs-sm); color: var(--tt-ink-soft); }

/* --- Homepage VIP promo card ------------------------------------------------
 * The homepage introduces VIP; /vip.html sells it in full. One card: label,
 * headline, one sentence, four benefit chips, the three live tier prices, one
 * primary action + one text link.
 *
 * Not wrapped in a single <a>: it contains two links plus the live price spans,
 * and nesting those inside an anchor is invalid and breaks keyboard order. The
 * primary button is the click target. */
.tt-vip-promo {
  background: var(--tt-surface);
  border-radius: var(--tt-r-xl);
  box-shadow: var(--tt-shadow-lift);
  padding: 32px var(--tt-card-pad);
  display: grid;
  gap: 16px;
  justify-items: start;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) { .tt-vip-promo { padding: 40px; gap: 18px; } }
@media (min-width: 1024px) {
  .tt-vip-promo {
    grid-template-columns: 1.15fr 1fr;
    align-items: center;
    column-gap: 56px;
  }
  .tt-vip-promo__copy { grid-column: 1; display: grid; gap: 16px; justify-items: start; }
  .tt-vip-promo__side { grid-column: 2; width: 100%; display: grid; gap: 14px; }
}
.tt-vip-promo__copy { display: grid; gap: 14px; justify-items: start; }
.tt-vip-promo__side { width: 100%; display: grid; gap: 14px; }
.tt-vip-promo h2 { font-size: var(--tt-fs-h2); }
.tt-vip-promo .tt-lead { margin: 0; }

/* Benefit chips — four short highlights, not full explanations.
 * 2x2 grid on phones: free-wrapping put each chip on its own row (172px of the
 * block's height at 390px) because the labels are close to the column width. */
.tt-vip-chips { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 559px) {
  .tt-vip-chips {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px; width: 100%;
  }
  .tt-vip-chips li { padding: 7px 10px; font-size: .75rem; }
}
.tt-vip-chips li {
  list-style: none;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px;
  font-size: var(--tt-fs-label); font-weight: 600;
  color: var(--tt-bronze); background: var(--tt-sand);
  border-radius: var(--tt-r-pill);
}
.tt-vip-chips li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--tt-gold); flex: 0 0 auto;
}

/* Compact three-up tier strip inside the promo card.
 * Stays three-across on phones — .tt-tiers only goes multi-column at 560px, and
 * stacking three tiers vertically was adding ~170px of the homepage VIP block's
 * height for no informational gain. */
.tt-vip-promo .tt-tiers {
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.tt-vip-promo .tt-tier {
  background: var(--tt-cream); box-shadow: none; padding: 12px 6px; gap: 2px;
}
.tt-vip-promo .tt-tier__lvl   { font-size: .75rem; }
.tt-vip-promo .tt-tier__price { font-size: clamp(.9375rem, 3.4vw, 1.375rem); white-space: nowrap; }
.tt-vip-promo .tt-tier__price .u { display: none; }   /* "/mo" is in the caption below */
.tt-vip-promo .tt-tier__desc  { font-size: .6875rem; line-height: 1.3; }
@media (min-width: 560px) {
  .tt-vip-promo .tt-tier__lvl { font-size: var(--tt-fs-label); }
  .tt-vip-promo .tt-tier__desc { font-size: var(--tt-fs-label); }
  .tt-vip-promo .tt-tier__price .u { display: inline; }
}

.tt-vip-promo__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
@media (max-width: 479px) {
  .tt-vip-promo__actions { width: 100%; }
  .tt-vip-promo__actions .tt-btn { flex: 1 1 100%; }
}

/* --- Homepage equipment preview --------------------------------------------
 * Three representative machines, not the full catalogue. Category chips let a
 * visitor jump straight to the level they want on /equipment.html. */
.tt-cat-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.tt-cat-chips a {
  display: inline-flex; align-items: center;
  min-height: var(--tt-tap-min); padding: 9px 18px;
  font-size: var(--tt-fs-sm); font-weight: 600;
  color: var(--tt-teal-deep); background: var(--tt-surface);
  border-radius: var(--tt-r-pill); box-shadow: var(--tt-shadow);
  transition: box-shadow var(--tt-t) var(--tt-ease), background var(--tt-t) var(--tt-ease);
}
.tt-cat-chips a:hover { background: var(--tt-teal-pale); box-shadow: var(--tt-shadow-hover); }

/* Preview cards are lighter than the full equipment cards: image, name, badge,
 * one benefit line, price, link. No spec list. */
.tt-eq-preview .card-body { gap: 9px; padding: 20px; }
.tt-eq-preview .card-title { font-size: 1.1875rem; }

/* On phones the preview cards run HORIZONTALLY — image left, detail right.
 * Three stacked full-height cards ran ~650px each; this is ~150px each, which
 * is what brings the section inside its budget without dropping any content or
 * resorting to a carousel. */
@media (max-width: 639px) {
  /* .equipment-card{display:flex} is declared later in the legacy bridge and
   * wins at equal specificity, so these must be doubled up to take effect. */
  .equipment-card.tt-eq-preview {
    display: grid;
    grid-template-columns: 122px minmax(0, 1fr);
    align-items: stretch;
  }
  .equipment-card.tt-eq-preview .card-image { aspect-ratio: auto; height: auto; min-height: 100%; }
  .equipment-card.tt-eq-preview .card-body { padding: 14px 16px; gap: 6px; flex: initial; }
  .equipment-card.tt-eq-preview .card-title { font-size: 1.0625rem; }
  .equipment-card.tt-eq-preview .card-subtitle { font-size: var(--tt-fs-label); }
  .equipment-card.tt-eq-preview .card-price { font-size: var(--tt-fs-label); }
  .equipment-card.tt-eq-preview .card-price strong { font-size: 1.125rem; }
  /* Text link rather than a full-width button — the whole row is the affordance
     and three stacked buttons added height without adding clarity. */
  .equipment-card.tt-eq-preview .card-btn {
    background: none; border: 0; box-shadow: none; padding: 0;
    min-height: 0; justify-content: flex-start;
    color: var(--tt-teal-deep); text-decoration: underline; text-underline-offset: 3px;
    font-size: var(--tt-fs-label);
  }
  .equipment-card.tt-eq-preview .card-btn:hover { background: none; color: var(--tt-teal-deep); }
  .equipment-card.tt-eq-preview:hover { transform: none; }
}

/* --- Quiet "why" points, no card chrome ----------------------------------- */
.tt-points { display: grid; gap: 40px; }
@media (min-width: 768px) { .tt-points { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.tt-point { display: grid; gap: 10px; justify-items: start; }
.tt-point__icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: var(--tt-r);
  background: var(--tt-gold-soft);
  margin-bottom: 4px;
}
.tt-point__icon img { width: 32px; height: 32px; }
.tt-point__icon svg { width: 28px; height: 28px; color: var(--tt-gold-deep); }
.tt-point h3 { font-size: 1.25rem; }
.tt-point p { color: var(--tt-ink-soft); }

/* --- Compact trust band -----------------------------------------------------
 * Replaces three tall homepage sections (why / reviews / visit = 1,920px at
 * 390px) with one credibility block. No second salon photograph — the hero
 * already carries that image, and repeating it added ~500px for no new
 * information. */
.tt-trustband { padding-block: calc(var(--tt-section-y) * .7); }
.tt-trustband__head { text-align: center; margin-bottom: 28px; }

.tt-trustgrid { display: grid; gap: 14px; }
@media (min-width: 560px)  { .tt-trustgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .tt-trustgrid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* Icon + copy on one row — far shorter than a stacked feature card. */
.tt-trustitem {
  display: grid; grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px; align-items: start;
  background: var(--tt-surface);
  border-radius: var(--tt-r);
  box-shadow: var(--tt-shadow);
  padding: 16px 18px;
}
.tt-trustitem__icon {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: var(--tt-r-sm); background: var(--tt-gold-soft);
}
.tt-trustitem__icon svg { width: 22px; height: 22px; color: var(--tt-gold-deep); }
.tt-trustitem h3 { font-size: 1rem; margin-bottom: 2px; }
.tt-trustitem p { font-size: var(--tt-fs-label); color: var(--tt-ink-soft); line-height: 1.45; }

/* Rating + CTA on one line where there is room. */
.tt-ratingrow {
  margin-top: 22px;
  background: var(--tt-surface);
  border-radius: var(--tt-r);
  box-shadow: var(--tt-shadow);
  padding: 18px 20px;
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: 12px 20px;
  text-align: center;
}
.tt-ratingrow__score {
  display: inline-flex; align-items: baseline; gap: 8px;
  font-family: var(--tt-font-display); font-weight: 800;
  font-size: 1.5rem; letter-spacing: -.02em; line-height: 1;
}
.tt-ratingrow__score .of { font-family: var(--tt-font-body); font-size: var(--tt-fs-sm); font-weight: 500; color: var(--tt-ink-soft); }
.tt-ratingrow__meta { font-size: var(--tt-fs-sm); color: var(--tt-ink-soft); }
.tt-ratingrow .tt-hero__stars { font-size: 1.125rem; }
@media (max-width: 559px) { .tt-ratingrow .tt-btn { width: 100%; } }

/* One-line location/contact strip — keeps name, address and phone on the page
 * (local-SEO NAP) without another full split section. */
.tt-visitline {
  margin-top: 18px; text-align: center;
  font-size: var(--tt-fs-sm); color: var(--tt-ink-soft);
  display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: center; align-items: center;
}
.tt-visitline a { color: var(--tt-teal-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
/* Decorative separators, but --tt-border-strong measured 1.54:1 on cream —
 * invisible, which defeats the point of a divider. ink-muted is 5.46:1 there. */
.tt-visitline .sep { color: var(--tt-ink-muted); }
@media (max-width: 559px) { .tt-visitline .sep { display: none; } .tt-visitline { gap: 4px 12px; } }

/* --- Big centred review block --------------------------------------------- */
.tt-reviews { text-align: center; display: grid; gap: 14px; justify-items: center; }
.tt-reviews__stars { color: var(--tt-star); font-size: 1.75rem; letter-spacing: 5px; line-height: 1; }
.tt-reviews__score {
  font-family: var(--tt-font-display); font-weight: 800;
  font-size: clamp(2.25rem, 6vw, 3.5rem); line-height: 1; letter-spacing: -.03em;
}
.tt-reviews__meta { font-size: var(--tt-fs-lead); color: var(--tt-ink-soft); }

/* --- Location / visit block ------------------------------------------------ */
.tt-visit { display: grid; gap: 18px; }
.tt-visit dl { display: grid; gap: 16px; margin: 0; }
.tt-visit dt {
  font-size: var(--tt-fs-label); font-weight: 600; letter-spacing: .04em;
  color: var(--tt-gold-deep); margin-bottom: 2px;
}
.tt-visit dd { margin: 0; font-size: 1.0625rem; color: var(--tt-ink); line-height: 1.6; }
.tt-visit dd a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(14,124,138,.35); }
.tt-visit dd a:hover { color: var(--tt-teal-deep); text-decoration-color: var(--tt-teal-deep); }

/* ===========================================================================
 * 12c. INTERIOR-PAGE COMPOSITION
 *
 * Shared by every marketing page (VIP, Pricing, Equipment, Specials, Spray Tan,
 * Level 3/4/5). One page hero, one plan card, one price list, one steps list,
 * one FAQ, one CTA band — so the pages read as one product and no page needs
 * its own one-off CSS.
 * ========================================================================*/

/* --- Page hero -------------------------------------------------------------
 * Shallower than the homepage hero and centred. Same dawn gradient so the
 * transition into the first section matches the homepage. */
.tt-pagehero {
  position: relative;
  overflow-x: clip;
  background:
    radial-gradient(85% 70% at 82% 0%, rgba(34,184,196,.11) 0%, rgba(34,184,196,0) 62%),
    radial-gradient(75% 65% at 6% 100%, rgba(240,180,41,.15) 0%, rgba(240,180,41,0) 64%),
    linear-gradient(180deg, var(--tt-bg) 0%, var(--tt-cream) 100%);
}
@supports not (overflow-x: clip) { .tt-pagehero { overflow: hidden; } }

.tt-pagehero__inner {
  max-width: 880px;
  margin-inline: auto;
  padding: 52px var(--tt-gutter) 64px;
  display: grid;
  gap: 20px;
  justify-items: center;
  text-align: center;
}
@media (min-width: 768px) { .tt-pagehero__inner { padding-block: 76px 88px; } }
.tt-pagehero__inner .tt-lead { margin: 0; }
.tt-pagehero__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
@media (max-width: 479px) {
  .tt-pagehero__actions { width: 100%; }
  .tt-pagehero__actions .tt-btn { flex: 1 1 100%; }
}
/* Reassurance microcopy under a CTA. */
.tt-reassure { font-size: var(--tt-fs-label); color: var(--tt-ink-muted); margin: 0; }

/* Wide variant for pages whose hero carries a table or price row. */
.tt-pagehero__inner--wide { max-width: var(--tt-max-w); }

/* --- Plan / tier card ------------------------------------------------------ */
.tt-plans { display: grid; gap: 22px; }
@media (min-width: 768px)  { .tt-plans { grid-template-columns: repeat(3, 1fr); align-items: start; } }

.tt-plan {
  position: relative;
  background: var(--tt-surface);
  border-radius: var(--tt-r-xl);
  box-shadow: var(--tt-shadow);
  padding: 28px var(--tt-card-pad);
  display: grid;
  gap: 10px;
  align-content: start;
}
.tt-plan--featured { box-shadow: var(--tt-shadow-gold); }
@media (min-width: 768px) { .tt-plan--featured { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .tt-plan--featured { transform: none; } }

.tt-plan__tag {
  justify-self: start;
  font-size: var(--tt-fs-label); font-weight: 600;
  padding: 5px 13px; border-radius: var(--tt-r-pill);
  background: var(--tt-teal-pale); color: var(--tt-teal-deep);
}
.tt-plan--featured .tt-plan__tag { background: var(--tt-gold-soft); color: var(--tt-gold-deep); }
.tt-plan__name { font-size: 1.5rem; }
.tt-plan__term { font-size: var(--tt-fs-sm); color: var(--tt-ink-muted); margin: -4px 0 2px; }
.tt-plan__price {
  font-size: clamp(1.5rem, 3.4vw, 2rem); font-weight: 700; letter-spacing: -.02em;
  color: var(--tt-teal-deep); line-height: 1.1; white-space: nowrap;
}
.tt-plan__price .per { font-size: .875rem; font-weight: 500; color: var(--tt-ink-muted); white-space: normal; }
.tt-plan__note { font-size: var(--tt-fs-label); color: var(--tt-ink-muted); margin: -4px 0 0; }

/* Savings badge — filled from live endpoint data; collapses when empty. */
.tt-plan__save {
  justify-self: start;
  font-size: var(--tt-fs-label); font-weight: 700;
  color: var(--tt-open); background: var(--tt-open-bg);
  border-radius: var(--tt-r-pill); padding: 4px 12px;
}
.tt-plan__save:empty { display: none; }

.tt-plan ul { list-style: none; display: grid; gap: 9px; margin: 6px 0 4px; font-size: var(--tt-fs-sm); color: var(--tt-ink-soft); }
.tt-plan ul li { display: flex; gap: 10px; align-items: flex-start; }
.tt-plan ul li::before {
  content: ""; flex: 0 0 auto; width: 7px; height: 7px; margin-top: .55em;
  border-radius: 50%; background: var(--tt-gold);
}
.tt-plan .tt-btn { margin-top: 6px; }

/* --- Term/price list (inside a level card) --------------------------------- */
.tt-pricelist { list-style: none; display: grid; gap: 0; margin: 10px 0 0; width: 100%; }
.tt-pricelist li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 9px 0; font-size: var(--tt-fs-sm);
  border-bottom: 1px solid var(--tt-border);
}
.tt-pricelist li:last-child { border-bottom: 0; }
.tt-pricelist .term { color: var(--tt-ink-muted); }
.tt-pricelist .amt { font-weight: 700; color: var(--tt-teal-deep); white-space: nowrap; }

/* --- Numbered steps -------------------------------------------------------- */
.tt-steps { display: grid; gap: 28px; counter-reset: step; }
@media (min-width: 640px)  { .tt-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tt-steps { grid-template-columns: repeat(4, 1fr); gap: 32px; } }
.tt-step { display: grid; gap: 8px; justify-items: start; align-content: start; }
.tt-step__num {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 50%; background: var(--tt-teal); color: var(--tt-on-teal);
  font-weight: 700; font-size: 1.125rem; margin-bottom: 4px;
}
.tt-step h3 { font-size: 1.125rem; }
.tt-step p { font-size: var(--tt-fs-sm); color: var(--tt-ink-soft); }

/* --- FAQ ------------------------------------------------------------------- */
.tt-faq { display: grid; gap: 14px; max-width: 860px; margin-inline: auto; }
.tt-faq__item {
  background: var(--tt-surface);
  border-radius: var(--tt-r-lg);
  box-shadow: var(--tt-shadow);
  padding: 22px var(--tt-card-pad);
}
.tt-faq__item h3 { font-size: 1.125rem; margin-bottom: 8px; }
.tt-faq__item p { color: var(--tt-ink-soft); font-size: var(--tt-fs-sm); }

/* --- Closing CTA band ------------------------------------------------------ */
.tt-ctaband { background: var(--tt-teal-pale); }
.tt-ctaband__inner {
  max-width: 780px; margin-inline: auto;
  padding: var(--tt-section-y) var(--tt-gutter);
  text-align: center; display: grid; gap: 16px; justify-items: center;
}
.tt-ctaband__inner p { color: var(--tt-ink-soft); }
.tt-ctaband__inner .tt-lead { margin: 0; }

/* --- Comparison table ------------------------------------------------------
 * Scrolls inside its own container so a wide table never scrolls the page. */
.tt-tablewrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--tt-r-lg);
  box-shadow: var(--tt-shadow);
  background: var(--tt-surface);
}
.tt-table { width: 100%; border-collapse: collapse; min-width: 620px; }
.tt-table caption { text-align: left; padding: 18px var(--tt-card-pad) 0; font-size: var(--tt-fs-sm); color: var(--tt-ink-muted); }
.tt-table th, .tt-table td { padding: 14px 18px; text-align: left; font-size: var(--tt-fs-sm); }
.tt-table thead th {
  background: var(--tt-cream); color: var(--tt-ink);
  font-weight: 700; font-size: var(--tt-fs-label);
  letter-spacing: .03em; white-space: nowrap;
}
.tt-table tbody tr + tr td { border-top: 1px solid var(--tt-border); }
.tt-table tbody th { font-weight: 600; }
.tt-table td.amt, .tt-table th.amt { text-align: right; white-space: nowrap; font-weight: 700; color: var(--tt-teal-deep); }
.tt-table tbody tr:hover td { background: var(--tt-bg); }

/* --- Detail-page layout (Level 3/4/5, Spray Tan) ---------------------------
 * Copy column + sticky price box. */
.tt-detail { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1024px) { .tt-detail { grid-template-columns: minmax(0,1fr) 340px; gap: 56px; } }
.tt-detail__copy > * + * { margin-top: 18px; }
.tt-detail__copy h2 { margin-top: 40px; }
.tt-detail__copy h2:first-child { margin-top: 0; }
.tt-detail__copy p { color: var(--tt-ink-soft); }

/* Benefit list — same bullet language as .card-features. */
.tt-list { list-style: none; display: grid; gap: 10px; color: var(--tt-ink-soft); }
.tt-list li { display: flex; gap: 12px; align-items: flex-start; }
.tt-list li::before {
  content: ""; flex: 0 0 auto; width: 7px; height: 7px; margin-top: .6em;
  border-radius: 50%; background: var(--tt-gold);
}

/* Price box */
.tt-pricebox {
  background: var(--tt-surface);
  border-radius: var(--tt-r-xl);
  box-shadow: var(--tt-shadow);
  padding: var(--tt-card-pad);
  display: grid; gap: 4px;
}
@media (min-width: 1024px) { .tt-pricebox { position: sticky; top: 88px; } }
.tt-pricebox__head { margin-bottom: 8px; }
.tt-pricebox__head h3 { font-size: 1.25rem; }
.tt-pricebox__head p { font-size: var(--tt-fs-sm); color: var(--tt-ink-muted); }
.tt-pricebox .tt-btn { margin-top: 8px; }

/* Prev / next level navigation */
.tt-levelnav {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--tt-border);
}
.tt-levelnav a {
  display: inline-flex; align-items: center; min-height: var(--tt-tap-min);
  font-weight: 600; color: var(--tt-teal-deep);
}
.tt-levelnav a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Small 2x2 fact grid (e.g. "L28 vs V28"). */
.tt-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.tt-fact {
  background: var(--tt-bg); border-radius: var(--tt-r-sm); padding: 14px 16px;
  display: grid; gap: 2px;
}
.tt-fact .label { font-size: var(--tt-fs-label); color: var(--tt-ink-muted); }
.tt-fact .value { font-weight: 700; color: var(--tt-ink); }

/* --- Weekly specials grid ---------------------------------------------------- */
.specials-grid { display: grid; gap: 14px; }
@media (min-width: 560px)  { .specials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .specials-grid { grid-template-columns: repeat(4, 1fr); } }

.special-card {
  background: var(--tt-surface);
  border: 1.5px solid var(--tt-border);
  border-radius: var(--tt-r);
  padding: 18px;
  display: grid; gap: 5px; align-content: start;
}
.special-card .day {
  font-size: var(--tt-fs-label); font-weight: 700;
  color: var(--tt-ink-muted); letter-spacing: .04em;
}
.special-card h4 { font-size: 1.0625rem; }
.special-card .desc { font-size: var(--tt-fs-sm); color: var(--tt-ink-soft); }
.special-card .offer { font-weight: 700; color: var(--tt-gold-deep); }
/* Today. Carries a "Today" chip as well as the tint — not colour alone. */
.special-card.active {
  border-color: var(--tt-gold);
  background: #FFFCF0;
  box-shadow: var(--tt-shadow-gold);
}
.special-card.active .day::after {
  content: "Today";
  margin-left: 8px; padding: 2px 9px;
  font-size: .6875rem; font-weight: 700; letter-spacing: 0;
  background: var(--tt-gold); color: var(--tt-on-gold);
  border-radius: var(--tt-r-pill);
}

/* --- Confirmation / status page --------------------------------------------
 * Shared by the three thank-you pages and 404. Centred, generous, one clear
 * next step. */
.tt-confirm { text-align: center; display: grid; gap: 18px; justify-items: center; max-width: 640px; margin-inline: auto; }
.tt-confirm__mark {
  width: 84px; height: 84px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--tt-open-bg); color: var(--tt-open);
  margin-bottom: 4px;
}
.tt-confirm__mark svg { width: 40px; height: 40px; }
.tt-confirm__mark--gold { background: var(--tt-gold-soft); color: var(--tt-gold-deep); }
.tt-confirm__mark--teal { background: var(--tt-teal-pale); color: var(--tt-teal-deep); }
.tt-confirm .tt-lead { margin: 0; }
.tt-confirm__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
@media (max-width: 479px) {
  .tt-confirm__actions { width: 100%; }
  .tt-confirm__actions .tt-btn { flex: 1 1 100%; }
}

/* "While you're here" strip */
.tt-explore { margin-top: 8px; display: grid; gap: 12px; justify-items: center; width: 100%; }
.tt-explore__label { font-size: var(--tt-fs-label); color: var(--tt-ink-muted); }
.tt-explore__links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tt-explore__links a {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: var(--tt-tap-min); padding: 10px 20px;
  background: var(--tt-surface); box-shadow: var(--tt-shadow);
  border-radius: var(--tt-r-pill);
  font-size: var(--tt-fs-sm); font-weight: 600; color: var(--tt-teal-deep);
  transition: box-shadow var(--tt-t) var(--tt-ease), transform var(--tt-t) var(--tt-ease);
}
.tt-explore__links a:hover { box-shadow: var(--tt-shadow-hover); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .tt-explore__links a:hover { transform: none; } }

/* --- Long-form legal / prose ------------------------------------------------ */
.tt-prose { max-width: var(--tt-max-w-prose); margin-inline: auto; }
.tt-prose > * + * { margin-top: 1em; }
.tt-prose h2 { margin-top: 2.2em; font-size: var(--tt-fs-h3); }
.tt-prose h3 { margin-top: 1.6em; font-size: 1.125rem; }
.tt-prose h2:first-child { margin-top: 0; }
.tt-prose p, .tt-prose li { color: var(--tt-ink-soft); }
.tt-prose ul, .tt-prose ol { padding-left: 1.3em; display: grid; gap: .5em; }
.tt-prose a { color: var(--tt-teal-deep); text-decoration: underline; text-underline-offset: 3px; }
.tt-prose strong { color: var(--tt-ink); }
.tt-prose table { width: 100%; border-collapse: collapse; margin-top: 1em; }
.tt-prose th, .tt-prose td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--tt-border); font-size: var(--tt-fs-sm); }
.tt-prose__meta { font-size: var(--tt-fs-sm); color: var(--tt-ink-muted); }

/* --- FAQ accordion (details/summary) ---------------------------------------- */
.tt-accordion { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.tt-accordion details {
  background: var(--tt-surface);
  border-radius: var(--tt-r-lg);
  box-shadow: var(--tt-shadow);
  overflow: hidden;
}
.tt-accordion summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: var(--tt-tap-min);
  padding: 18px var(--tt-card-pad);
  font-family: var(--tt-font-display); font-weight: 700; font-size: 1.0625rem;
  color: var(--tt-ink);
}
.tt-accordion summary::-webkit-details-marker { display: none; }
.tt-accordion summary::after {
  content: ""; flex: 0 0 auto; width: 11px; height: 11px;
  border-right: 2px solid var(--tt-teal-deep); border-bottom: 2px solid var(--tt-teal-deep);
  transform: rotate(45deg); margin-top: -4px;
  transition: transform var(--tt-t) var(--tt-ease);
}
.tt-accordion details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.tt-accordion summary:hover { background: var(--tt-cream); }
.tt-accordion .tt-accordion__body { padding: 0 var(--tt-card-pad) 20px; color: var(--tt-ink-soft); font-size: var(--tt-fs-sm); }
.tt-accordion .tt-accordion__body > * + * { margin-top: .8em; }

/* Regulatory consent microcopy (A2P 10DLC SMS disclosures).
 * The live pages set this inline at 0.78rem in #888 — 12.5px at 3.54:1, below
 * AA and hard to read for text that has to be conspicuous to be valid consent.
 * Same wording, legible presentation. */
.tt-consent-note {
  font-size: var(--tt-fs-label);
  line-height: 1.55;
  color: var(--tt-ink-soft);
  margin: 6px 0 0;
}
.tt-consent-note a { color: var(--tt-teal-deep); text-decoration: underline; text-underline-offset: 3px; }

/* --- Mobile sticky CTA ------------------------------------------------------
 * Light plate, not the old dark bar. Only on small screens; body gets bottom
 * padding so it can never cover the footer. */
.tt-sticky-cta { display: none; }
@media (max-width: 767px) {
  .tt-sticky-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 252, 242, .94);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-top: 1px solid var(--tt-border);
    box-shadow: 0 -6px 20px rgba(22,41,46,.07);
  }
  .tt-sticky-cta .sub {
    display: block; text-align: center; font-size: .75rem;
    color: var(--tt-ink-soft); margin-top: 6px;
  }
  body.has-sticky-cta { padding-bottom: 104px; }
}

/* ===========================================================================
 * 13. FOOTER
 * ========================================================================*/

.tt-footer { background: var(--tt-cream); color: var(--tt-ink); border-top: 1px solid var(--tt-border); }
.tt-footer__inner { max-width: var(--tt-max-w); margin-inline: auto; padding: 56px var(--tt-gutter) 40px; }
.tt-footer__grid { display: grid; gap: 36px; }
@media (min-width: 640px)  { .tt-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tt-footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }

.tt-footer h4 { font-size: 1rem; font-weight: 700; margin-bottom: 14px; color: var(--tt-ink); }
.tt-footer p, .tt-footer li { font-size: var(--tt-fs-sm); color: var(--tt-ink-soft); }
.tt-footer ul { list-style: none; display: grid; gap: 2px; }
/* Comfortable 32px rows for a mouse (still clears the WCAG 2.2 AA 24px
 * target minimum), expanding to the full 44px touch target on any coarse
 * pointer. A flat 44px everywhere left the desktop footer sparse and tall. */
.tt-footer a {
  display: inline-flex; align-items: center; min-height: 32px;
  color: var(--tt-ink-soft);
  transition: color var(--tt-t-fast) var(--tt-ease);
}
@media (pointer: coarse) { .tt-footer a { min-height: var(--tt-tap-min); } }
.tt-footer a:hover { color: var(--tt-teal-deep); text-decoration: underline; text-underline-offset: 3px; }
.tt-footer__brand img { height: 46px; width: auto; margin-bottom: 14px; }

.tt-footer__social { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.tt-footer__social a {
  width: var(--tt-tap-min); height: var(--tt-tap-min);
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--tt-surface);
  border: 1px solid var(--tt-border);
  color: var(--tt-teal-deep);
}
.tt-footer__social a:hover { background: var(--tt-teal-pale); border-color: var(--tt-teal); }

/* --- Responsive footer -------------------------------------------------------
 * ROOT PROBLEM this solves: the desktop 4-column footer was simply stacking on
 * phones, so every column and all 19 links became one 1,416px vertical list.
 *
 * The secondary groups are native <details> that ship OPEN in the markup, so
 * every link is present and visible with JavaScript disabled and to crawlers.
 * assets/js/nav-2026.js closes them below 768px and re-opens them above.
 *
 * An earlier attempt re-expanded them on desktop with CSS alone. That DOES NOT
 * WORK: a closed <details> hides its content at the UA level, and overriding
 * `display` on the children does not bring it back — getBoundingClientRect and
 * getComputedStyle both report normally while Element.checkVisibility() returns
 * false. It would have hidden 13 footer links from every user at every width. */

.tt-footer__tag { font-size: var(--tt-fs-sm); color: var(--tt-ink-soft); margin-top: 4px; }

/* Two columns of facts rather than one long stack — this block was 568px on a
 * phone and was the single biggest contributor to the 1,416px footer. */
.tt-footer__facts {
  display: grid; gap: 2px 18px; margin: 14px 0 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: row dense;
}
.tt-footer__facts dt {
  font-size: .75rem; font-weight: 700; color: var(--tt-gold-deep);
  letter-spacing: .03em; margin-top: 10px; grid-column: 1;
}
.tt-footer__facts dd { margin: 0; font-size: var(--tt-fs-label); color: var(--tt-ink-soft); line-height: 1.45; grid-column: 1; }
/* Phone + Email ride in the second column beside Hours + Visit. */
.tt-footer__facts dt:nth-of-type(2), .tt-footer__facts dd:nth-of-type(2),
.tt-footer__facts dt:nth-of-type(3), .tt-footer__facts dd:nth-of-type(3) { grid-column: 2; }
.tt-footer__facts dt:nth-of-type(2) { grid-row: 1; }
.tt-footer__facts dd:nth-of-type(2) { grid-row: 2; }
.tt-footer__facts dt:nth-of-type(3) { grid-row: 3; }
.tt-footer__facts dd:nth-of-type(3) { grid-row: 4; }
.tt-footer__facts dt:first-child { margin-top: 0; }
.tt-footer__facts dt:nth-of-type(2) { margin-top: 0; }
.tt-footer__facts dd a { min-height: 0; display: inline; }

/* Side by side, not stacked full-width — saves ~54px on a phone. */
.tt-footer__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.tt-footer__actions .tt-btn { min-height: var(--tt-tap-min); flex: 1 1 auto; }
/* `.tt-footer a` (0,1,1) outranks `.tt-btn--primary` (0,1,0), so buttons placed
 * in the footer inherited the muted LINK colour — Book Now rendered ink-soft on
 * teal at 1.67:1. Restore each variant's own foreground at footer scope. */
.tt-footer .tt-btn--primary { color: var(--tt-on-teal); }
.tt-footer .tt-btn--outline { color: var(--tt-teal-deep); }
.tt-footer .tt-btn--gold    { color: var(--tt-on-gold); }
.tt-footer .tt-btn:hover    { text-decoration: none; }

/* Disclosure groups */
.tt-footer__group { border-top: 1px solid var(--tt-border); }
.tt-footer__group > summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: var(--tt-tap-min);            /* 44px tap target */
  padding: 10px 0;
  font-size: 1rem; font-weight: 700; color: var(--tt-ink);
}
.tt-footer__group > summary::-webkit-details-marker { display: none; }
.tt-footer__group > summary::after {
  content: ""; flex: 0 0 auto; width: 10px; height: 10px;
  border-right: 2px solid var(--tt-teal-deep); border-bottom: 2px solid var(--tt-teal-deep);
  transform: rotate(45deg); margin-top: -4px;
  transition: transform var(--tt-t) var(--tt-ease);
}
.tt-footer__group[open] > summary::after { transform: rotate(-135deg); margin-top: 4px; }
.tt-footer__group > summary:focus-visible { outline: 3px solid var(--tt-focus); outline-offset: 2px; border-radius: 4px; }
.tt-footer__group > ul { padding: 0 0 10px; }
/* Lotions is de-emphasised pending retirement of that section; still reachable
   here and from the header Shop menu. */
.tt-footer__deemph a { color: var(--tt-ink-muted); }

@media (min-width: 768px) {
  /* Desktop: plain columns again — no accordion, nothing hidden. */
  .tt-footer__group { border-top: 0; }
  .tt-footer__group > summary {
    cursor: default; pointer-events: none;
    min-height: 0; padding: 0; margin-bottom: 14px;
    font-size: 1rem; font-weight: 700;
  }
  .tt-footer__group > summary::after { display: none; }
  .tt-footer__group > ul { padding: 0; }
}

/* Safe-area padding so the bottom row clears the iPhone home indicator. */
.tt-footer__bottom-inner { padding-bottom: calc(18px + env(safe-area-inset-bottom)); }

@media (max-width: 767px) {
  .tt-footer__inner { padding: 24px var(--tt-gutter) 14px; }
  .tt-footer__grid { gap: 0; }
  .tt-footer__brand { padding-bottom: 12px; }
  .tt-footer__brand img { height: 38px; width: auto; margin-bottom: 6px; }
  .tt-footer__tag { display: none; }        /* "since 2004" also appears in the trust band */
  .tt-footer__facts { margin-top: 12px; gap: 2px 14px; }
  .tt-footer__facts dt { margin-top: 8px; }

  /* Actions and social share one row instead of stacking. */
  .tt-footer__actions { margin-top: 12px; align-items: center; }
  .tt-footer__actions .tt-btn { flex: 1 1 0; min-width: 0; font-size: var(--tt-fs-label); padding-inline: 12px; }
  .tt-footer__social { margin-top: 0; margin-left: auto; gap: 8px; }
  .tt-footer__social a { width: var(--tt-tap-min); height: var(--tt-tap-min); }
  .tt-footer__actionsrow { display: flex; align-items: center; gap: 10px; }

  /* Requirement: legal + copyright in ONE compact bottom row. */
  .tt-footer__bottom-inner {
    flex-direction: row; flex-wrap: wrap; justify-content: center;
    gap: 4px 12px; text-align: center; padding-top: 10px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
  }
  .tt-footer__tagline { font-size: 1.0625rem; }
  .tt-footer__tagline img { width: 20px; height: 20px; }
  .tt-footer__bottom-inner .footer-bottom { font-size: var(--tt-fs-label); }
}

/* Lower teal band, per the mockup. White on --tt-teal = 5.2:1. */
.tt-footer__bottom { background: var(--tt-teal); color: #fff; }
.tt-footer__bottom-inner {
  max-width: var(--tt-max-w); margin-inline: auto;
  padding: 18px var(--tt-gutter);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  font-size: var(--tt-fs-sm);
}
.tt-footer__bottom a { color: #fff; text-decoration: underline; text-underline-offset: 3px; min-height: 0; }
.tt-footer__bottom a:hover { color: #fff; }
.tt-footer__tagline { font-family: var(--tt-font-accent); font-size: 1.5rem; display: inline-flex; align-items: center; gap: 12px; }
.tt-footer__tagline img { width: 26px; height: 26px; }

/* ===========================================================================
 * 14. LEGACY BRIDGE
 *
 * The 18 public pages use these class names in markup that is NOT being
 * rewritten wholesale. Mapping them here means a page picks up the new theme
 * as soon as it loads this file, and no live JS selector changes.
 * ========================================================================*/

.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p  { color: var(--tt-ink-soft); font-size: var(--tt-fs-lead); max-width: var(--tt-max-w-prose); margin-inline: auto; }

.btn-primary, .btn-secondary, .btn-ghost, .card-btn, .vip-enroll-btn, .btn-review {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--tt-tap-min); padding: 12px 26px;
  font-weight: 600; font-size: var(--tt-fs-body); line-height: 1.2;
  border: 2px solid transparent; border-radius: var(--tt-r-pill); cursor: pointer;
  transition: background var(--tt-t) var(--tt-ease), border-color var(--tt-t) var(--tt-ease),
              color var(--tt-t) var(--tt-ease), box-shadow var(--tt-t) var(--tt-ease);
}
.btn-primary, .card-btn, .btn-review {
  background: var(--tt-teal); border-color: var(--tt-teal); color: var(--tt-on-teal); box-shadow: var(--tt-shadow);
}
.btn-primary:hover, .card-btn:hover, .btn-review:hover {
  background: var(--tt-teal-deep); border-color: var(--tt-teal-deep); box-shadow: var(--tt-shadow-hover);
}
.btn-secondary, .btn-ghost {
  background: var(--tt-surface); border-color: var(--tt-teal); color: var(--tt-teal-deep);
}
.btn-secondary:hover, .btn-ghost:hover { background: var(--tt-teal-pale); border-color: var(--tt-teal-deep); }
.vip-enroll-btn {
  background: var(--tt-gold); border-color: var(--tt-gold); color: var(--tt-on-gold); box-shadow: var(--tt-shadow-gold);
}
.vip-enroll-btn:hover { background: #E0A417; border-color: #E0A417; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--tt-fs-label); font-weight: 600; letter-spacing: .04em;
  color: var(--tt-gold-deep); background: var(--tt-gold-soft);
  border-radius: var(--tt-r-pill); padding: 6px 14px;
}

/* Equipment / bed cards. .card-image keeps position:relative because
 * lamp-badges.js injects an absolutely-positioned badge into it. */
.equipment-card {
  display: flex; flex-direction: column;
  background: var(--tt-surface); border: 0;
  border-radius: var(--tt-r-xl); box-shadow: var(--tt-shadow); overflow: hidden;
  transition: box-shadow var(--tt-t) var(--tt-ease), transform var(--tt-t) var(--tt-ease);
}
.equipment-card:hover { box-shadow: var(--tt-shadow-lift); transform: translateY(-4px); }
.equipment-card:hover .card-image img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) {
  .equipment-card:hover { transform: none; }
  .equipment-card:hover .card-image img { transform: none; }
}
/* Photography-forward: taller crop, and the image is the top of the card with
 * no dividing rule between it and the body. */
/* 4/3, not a wider crop: the bed photos range from 1.91 (Lotus) down to 0.80
 * (VersaSpa, portrait). A taller box loses less of the portrait sources. */
.card-image { position: relative; aspect-ratio: 4/3; background: var(--tt-cream); overflow: hidden; }
.card-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 420ms var(--tt-ease);
}
.card-body { padding: var(--tt-card-pad); display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card-title { font-family: var(--tt-font-display); font-size: var(--tt-fs-h3); font-weight: 700; }
.card-subtitle { color: var(--tt-ink-soft); font-size: var(--tt-fs-sm); }
.card-features { list-style: none; display: grid; gap: 8px; font-size: var(--tt-fs-sm); color: var(--tt-ink-soft); }
.card-features li { display: flex; gap: 10px; align-items: flex-start; }
.card-features li::before { content: ""; flex: 0 0 auto; width: 7px; height: 7px; margin-top: .55em; border-radius: 50%; background: var(--tt-gold); }
.card-price { font-size: var(--tt-fs-sm); color: var(--tt-ink-soft); white-space: nowrap; }
.card-price strong { font-size: 1.375rem; font-weight: 700; color: var(--tt-teal-deep); letter-spacing: -.02em; }
.card-btn { margin-top: auto; }

/* Level badges keep their existing class names. */
.card-badge {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 13px; font-size: var(--tt-fs-label); font-weight: 600;
  border-radius: var(--tt-r-pill); background: var(--tt-teal-pale); color: var(--tt-teal-deep);
}
.card-badge.level-3 { background: var(--tt-teal-pale); color: var(--tt-teal-deep); }
.card-badge.level-4 { background: var(--tt-gold-soft); color: var(--tt-gold-deep); }
.card-badge.level-5 { background: var(--tt-sand-deep); color: var(--tt-bronze); }
.card-badge.sunless { background: var(--tt-open-bg);  color: var(--tt-open); }

/* VIP price slots filled by vip-pricing.js. */
.vip-loading { color: var(--tt-ink-muted); }
.vip-price-ready  { color: inherit; }
.vip-price-failed { color: var(--tt-ink-muted); }

/* The graceful-degradation link. vip-pricing.js reveals this (display:'inline')
 * only when the plans endpoint fails, so it MUST default to hidden. On the old
 * site this rule was duplicated inside each page's inline <style>; centralising
 * it here means a page can never ship the fallback link permanently visible. */
[data-vip-onerror] { display: none; }

/* Pricing tables. */
.pricing-card { background: var(--tt-surface); border: 1px solid var(--tt-border); border-radius: var(--tt-r-lg); padding: var(--tt-card-pad); text-align: center; box-shadow: var(--tt-shadow); }
.pricing-card.featured { border: 2px solid var(--tt-gold); box-shadow: var(--tt-shadow-gold); }
.pricing-card .price { font-size: var(--tt-fs-price); font-weight: 700; color: var(--tt-teal-deep); letter-spacing: -.02em; white-space: nowrap; }
.pricing-card .note  { font-size: var(--tt-fs-label); color: var(--tt-ink-muted); }
.pricing-header { position: relative; }   /* lamp-badges.js appends into this */

/* Form markup already in the pages. */
.form-group { display: grid; gap: 7px; margin-bottom: 20px; }
.form-group label { font-size: var(--tt-fs-label); font-weight: 600; color: var(--tt-ink); }
.form-group label .required { color: var(--tt-error); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; min-height: var(--tt-tap-min); padding: 12px 14px; font-size: 1rem;
  background: var(--tt-surface); color: var(--tt-ink);
  border: 1.5px solid var(--tt-border-strong); border-radius: var(--tt-r-sm);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--tt-teal); box-shadow: 0 0 0 3px rgba(14,124,138,.18);
}
.form-group textarea { min-height: 140px; resize: vertical; }
@media (min-width: 640px) { .form-row.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; } }
.form-section { border: 1px solid var(--tt-border); border-radius: var(--tt-r); padding: 24px; margin-bottom: 24px; background: var(--tt-surface); }
.form-section h3 { margin-bottom: 18px; }

/* Utilities. */
.tt-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.tt-center { text-align: center; }
.tt-stack  { display: grid; gap: 16px; }
.tt-cluster { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
