/* ============================================================
   revel-site-1.css — shared rules that must load AFTER each page's
   own <style>, so they win the cascade. Linked as the last thing in
   <head> on every page. (revel-7.css loads first and holds the base
   nav/footer chrome; this file holds what used to be copy-pasted
   into every page, plus the site-wide type system.)

   Cached immutable for a year like every .css file (see _headers):
   RENAME on every edit (revel-site-2.css ...) and update all pages.

   1. Mobile nav drawer (<= 900px)   — was duplicated in all 19 pages
   2. Type + button system           — one heading scale, one label
                                       style, one button shape
   3. Mobile "Book" bar (<= 760px)   — per-page colour via
                                       --mbar / --mbar-ink / --mbar-line
   Added 2026-09-29.
   ============================================================ */

/* ── 1. MOBILE NAV DRAWER ── */
@media (max-width: 900px) {
  .rv-nav { padding: 0 1.25rem; }
  .rv-nav-hamburger { display: flex; }
  .rv-nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--dark-nav); border-bottom: 1px solid rgba(149,149,210,0.18);
    padding: 0.5rem 0 1.25rem; max-height: calc(100vh - var(--nav-h));
    overflow-y: auto; transform: translateY(-120%); transition: transform 0.3s ease;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  }
  .rv-nav-toggle:checked ~ .rv-nav-links { transform: translateY(0); }
  .rv-nav-toggle:checked ~ .rv-nav-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .rv-nav-toggle:checked ~ .rv-nav-hamburger span:nth-child(2) { opacity: 0; }
  .rv-nav-toggle:checked ~ .rv-nav-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .rv-nav-link { padding: 0.9rem 1.5rem; font-size: 13px; width: 100%; }
  .rv-nav-dropdown { width: 100%; }
  .rv-dropdown-trigger { width: 100%; justify-content: space-between; padding: 0.9rem 1.5rem; font-size: 13px; display: flex; }
  .rv-dropdown-menu {
    display: block; position: static; box-shadow: none; background: rgba(255,255,255,0.03);
    border: none; border-radius: 0; min-width: 0; width: 100%; padding: 0;
    left: auto; top: auto; transform: none; padding-top: 0; z-index: auto;
  }
  .rv-dropdown-menu-inner { background: transparent; border: none; border-radius: 0; box-shadow: none; padding: 0.25rem 0 0.5rem; }
  .rv-dropdown-menu-inner::before { display: none; }
  .rv-dropdown-item { padding: 0.7rem 2.25rem; }
  .rv-dropdown-section-label { padding-left: 2.25rem; }
  .rv-caret, .rv-dropdown-trigger .rv-caret { display: none; }
  .rv-nav-book { margin: 0.75rem 1.5rem 0; text-align: center; padding: 0.85rem 1.5rem; }
}
@media (max-width: 400px) { .rv-nav { padding: 0 1rem; } }

/* ── 2. TYPE + BUTTON SYSTEM ──
   Colours stay with each page (partner accents). Only size, weight,
   tracking and shape are unified here. */

/* Section headings */
.op-section-title, .apt-title, .tg-h2, .yg-h2, .ab-h2, .ab-chapter-title,
.rv-team-title, .rv-go-title, .rv-capture-title {
  font-size: clamp(34px, 4.2vw, 48px); line-height: 1.1; letter-spacing: 0;
}
/* Closing call-to-action band headings */
.ar-cta-title, .m1-cta-title, .mg-cta-title, .on-cta-title, .sk-cta-title,
.yg-bottom-title, .ab-cta-title {
  font-size: clamp(38px, 5vw, 60px); line-height: 1.08; letter-spacing: 0;
}
/* Eyebrows / section labels */
.apt-eyebrow, .ar-eyebrow, .dn-eyebrow, .m1-eyebrow, .mg-eyebrow, .on-eyebrow,
.sk-eyebrow, .tg-eyebrow, .yg-eyebrow, .bl-eyebrow, .pv-eyebrow,
.rv-go-eyebrow, .rv-capture-eyebrow, .rv-hero-label, .rv-team-label,
.op-section-label, .tg-label, .yg-label, .ab-credit-label, .mb-group-title,
.ar-cta-label, .m1-cta-label, .mg-cta-label, .on-cta-label, .sk-cta-label, .tg-cta-label {
  font-family: 'Raleway', sans-serif; font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.26em; text-transform: uppercase;
}
/* Buttons: one shape (6px corners), one type treatment */
.rv-btn-primary, .rv-btn-outline, .yg-btn-primary, .yg-btn-outline,
.apt-btn-primary, .apt-btn-outline, .apt-btn-dark,
.ar-btn-dark, .m1-btn-dark, .mg-btn-dark, .on-btn-dark, .gym-btn-dark, .sk-btn-light,
.sa-btn, .mb-btn, .rv-go-btn, .rv-capture-btn {
  font-family: 'Raleway', sans-serif; font-size: 12.5px; font-weight: 800;
  letter-spacing: 0.18em; text-transform: uppercase; border-radius: var(--radius-sm, 6px);
}

/* ── 3. MOBILE BOOK BAR ──
   A page opts in by including <div class="rv-mobile-book"><a ...></a></div>
   and, if it wants its own colour, setting --mbar / --mbar-ink / --mbar-line. */
.rv-mobile-book { display: none; }
@media (max-width: 760px) {
  body:has(.rv-mobile-book) { padding-bottom: 64px; }
  .rv-mobile-book {
    display: block; position: fixed; bottom: 0; left: 0; right: 0; z-index: 900;
    padding: .55rem .9rem; background: rgba(0,0,0,.92);
    border-top: 1px solid var(--mbar-line, rgba(149,149,210,.22));
  }
  .rv-mobile-book a {
    display: block; text-align: center; text-decoration: none; border-radius: 6px; padding: .85rem;
    font-family: 'Raleway', sans-serif; font-weight: 800; font-size: 13.5px; letter-spacing: .16em; text-transform: uppercase;
    background: var(--mbar, #9595D2); color: var(--mbar-ink, #06060F);
  }
}

/* ===== PHOTO BANDS (revel-site-2, 2026-10-11) =====
   Grand opening photo shoot. Markup:
   <section class="rv-photos"><div class="rv-photos-head"><div class="rv-photos-label">..</div><h2 class="rv-photos-title">..</h2></div>
   <div class="rv-photos-grid"><figure class="big"><img data-src=".." alt=".." width height></figure><figure>..</figure>...</div></section>
   Layouts: 3 = big + 2 stacked; 5 = add .wide + 1; 6 = big + 2, then 3. Add .row4 to the grid for four across.
   Colours inherit from the page; set --ph-accent for the label. */
.rv-photos { color: #fff; max-width: 1180px; margin: 0 auto; padding: 4.5rem 1.5rem; }
.rv-photos-head { text-align: center; margin-bottom: 2.25rem; }
.rv-photos-label { font-family: 'Raleway', sans-serif; font-size: 12.5px; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ph-accent, #B5B5E2); margin-bottom: .6rem; }
.rv-photos-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(34px, 4.2vw, 48px); font-weight: 500; line-height: 1.1; color: inherit; margin: 0; }
.rv-photos-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 17vw, 250px); gap: 10px; }
.rv-photos-grid.row4 { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 19vw, 280px); }
.rv-photos-grid figure { margin: 0; overflow: hidden; border-radius: 6px; background: rgba(128,128,128,0.14); }
.rv-photos-grid img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.rv-photos-grid figure:hover img { transform: scale(1.03); }
.rv-photos-grid .big { grid-column: span 2; grid-row: span 2; }
.rv-photos-grid .wide { grid-column: span 2; }
@media (max-width: 640px) {
  .rv-photos { padding: 3.25rem 1.25rem; }
  .rv-photos-grid, .rv-photos-grid.row4 { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 140px; gap: 8px; }
  .rv-photos-grid .big { grid-column: 1 / -1; grid-row: span 2; }
  .rv-photos-grid .wide { grid-column: auto; }
  .rv-photos-grid:not(.row4) figure:last-child:nth-child(even) { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { .rv-photos-grid img { transition: none; } }
