/* ─────────────────────────────────────────────────────────────────────────────
   City enhancement layer (2026-11-06). Loaded after /styles.css on every page.
   Additive only: it restyles existing markup and the two homepage bands it adds;
   it never hides copy, links, forms or phone numbers. Per-city tokens live in the
   block at the bottom of this file (generated per site).
   ───────────────────────────────────────────────────────────────────────────── */

:root {
  --ce-ease: cubic-bezier(.22, 1, .36, 1);
  --ce-radius: 18px;
}

/* ---------- Header: compact, lifted state once the page scrolls ---------- */
.site-header { transition: box-shadow .35s var(--ce-ease), background-color .35s var(--ce-ease); }
.site-header.ce-scrolled { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .45); }
.site-header.ce-sticky { position: sticky; top: 0; z-index: 100; }

/* BLEED-START: mobile hero, the event photo goes full-bleed behind the copy (per-city opt-in) */
@media (max-width: 860px) {
  .hero { position: relative; isolation: isolate; overflow: hidden; }
  /* the photo must position against .hero, not the inner container */
  .hero .hero-inner, .hero > .container { position: static !important; }
  .hero .hero-copy { position: relative; z-index: 2; }
  .hero .hero-media {
    position: absolute !important; inset: 0; z-index: 0; margin: 0 !important; padding: 0 !important;
    width: auto !important; max-width: none !important; opacity: 1 !important; transform: none !important;
  }
  .hero .hero-media .hm-frame, .hero .hero-media .hero-figure, .hero .hero-media picture {
    position: absolute; inset: 0; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none;
    transform: none; aspect-ratio: auto; max-width: none; width: 100%; height: 100%; background: none;
  }
  .hero .hero-media .hm-frame::before, .hero .hero-media .hm-frame::after,
  .hero .hero-media .hero-figure::before, .hero .hero-media .hero-figure::after { display: none; }
  .hero .hero-media img {
    width: 100%; height: 100%; object-fit: cover; object-position: var(--ce-hero-focus, 50% 35%);
    border-radius: 0; animation: ce-hero-drift 18s var(--ce-ease) both;
  }
  .hero .hero-media .hero-badge { display: none; }
  /* scrim in the city's own ink so the existing light hero text stays readable
     (on the photo container: some heroes already use .hero::after for a motif) */
  .hero .hero-media::after {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background:
      linear-gradient(180deg, color-mix(in srgb, var(--ce-scrim) 72%, transparent) 0%,
                              color-mix(in srgb, var(--ce-scrim) 86%, transparent) 45%,
                              color-mix(in srgb, var(--ce-scrim) 96%, transparent) 100%);
  }
  .hero .hero-motif, .hero .hero-topo, .hero .hero-sun, .hero .hero-skyline, .hero .hero-ridge { z-index: 1; opacity: .5; }
}
@keyframes ce-hero-drift { from { transform: scale(1.08); } to { transform: scale(1); } }
/* BLEED-END */

/* ---------- Contrast: ghost buttons on the dark mobile CTA bar ---------- */
.mobile-cta .btn-ghost, .mobile-cta a[href^="tel:"] { color: #fff !important; border-color: rgba(255, 255, 255, .7) !important; }

/* ---------- Shared band shell ---------- */
.ce-band { position: relative; isolation: isolate; overflow: hidden; }
.ce-band .ce-wrap { width: min(100% - 2 * var(--pad, 1.25rem), var(--maxw, 1200px)); margin-inline: auto; position: relative; z-index: 2; }
.ce-eyebrow {
  display: inline-flex; align-items: center; gap: .55em; font: 600 .74rem/1 var(--ce-font-ui, inherit);
  letter-spacing: .16em; text-transform: uppercase; color: var(--ce-accent); margin-bottom: 1rem;
}
.ce-eyebrow::before { content: ""; width: .55em; height: .55em; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 22%, transparent); }
.ce-band h2 { font-family: var(--ce-font-display, inherit); line-height: 1.05; letter-spacing: -.01em; margin: 0 0 .8rem; text-wrap: balance; }
.ce-band p { text-wrap: pretty; }

/* ---------- CTA band (between content blocks) ---------- */
.ce-cta { background: var(--ce-ink); color: var(--ce-on-ink); padding: clamp(3.2rem, 8vw, 5.5rem) 0; }
.ce-cta .ce-wrap { display: grid; gap: clamp(1.4rem, 4vw, 3rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .ce-cta .ce-wrap { grid-template-columns: 1.35fr 1fr; } }
.ce-cta h2 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); color: var(--ce-on-ink); }
.ce-cta p { font-size: clamp(1rem, 1.6vw, 1.12rem); opacity: .88; max-width: 46ch; margin: 0; }
.ce-cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.ce-cta-actions .btn { flex: 1 1 13rem; justify-content: center; }
.ce-cta .btn-ghost { color: var(--ce-on-ink) !important; border-color: color-mix(in srgb, var(--ce-on-ink) 75%, transparent) !important; background: transparent !important; box-shadow: none; }
.ce-cta .btn-ghost:hover { background: color-mix(in srgb, var(--ce-on-ink) 12%, transparent) !important; }
.ce-cta-points { list-style: none; margin: 1.1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; font-size: .92rem; opacity: .9; }
.ce-cta-points li::before { content: "✓"; color: var(--ce-accent); font-weight: 800; margin-right: .45em; }

/* ---------- Proof band: real event photos ---------- */
.ce-proof { background: var(--ce-paper); color: var(--ce-paper-ink); padding: clamp(3.5rem, 8vw, 6rem) 0; }
.ce-proof-head { max-width: 760px; margin-bottom: clamp(1.6rem, 4vw, 2.6rem); }
.ce-proof h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); color: var(--ce-paper-ink); }
.ce-proof-head p { font-size: 1.05rem; opacity: .82; margin: 0; }
.ce-proof-grid { display: grid; gap: clamp(.8rem, 2vw, 1.25rem); grid-template-columns: 1fr; }
@media (min-width: 640px) { .ce-proof-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  /* lead photo 2×2, two tiles beside it, the fourth runs wide underneath them */
  .ce-proof-grid { grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: clamp(190px, 17vw, 250px); }
  .ce-proof-grid figure:first-child { grid-row: span 2; }
  .ce-proof-grid figure:nth-child(4) { grid-column: span 2; }
  .ce-proof-grid figure img { aspect-ratio: auto; }
}
.ce-proof figure { margin: 0; position: relative; border-radius: var(--ce-radius); overflow: hidden; background: #111; box-shadow: 0 22px 50px -30px rgba(0, 0, 0, .55); }
.ce-proof figure img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.1s var(--ce-ease); }
.ce-proof figure:hover img { transform: scale(1.04); }
.ce-proof figcaption {
  position: absolute; left: .7rem; right: .7rem; bottom: .7rem; padding: .55rem .8rem; border-radius: 12px;
  font-size: .82rem; line-height: 1.35; color: #fff; background: rgba(10, 12, 16, .62);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.ce-proof figcaption b { display: block; font-size: .9rem; }
.ce-proof figcaption span { opacity: .85; }
.ce-proof-note { margin-top: 1.1rem; font-size: .85rem; opacity: .7; }

/* ---------- Footer booking CTA (every page) ---------- */
.ce-foot-cta { background: var(--ce-accent); color: var(--ce-on-accent); padding: clamp(1.6rem, 4vw, 2.4rem) 0; }
.ce-foot-cta .ce-wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.ce-foot-cta strong { font-family: var(--ce-font-display, inherit); font-size: clamp(1.25rem, 2.6vw, 1.7rem); line-height: 1.15; display: block; }
.ce-foot-cta span { opacity: .9; font-size: .95rem; }
.ce-foot-cta .ce-foot-actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.ce-foot-cta .ce-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .8rem 1.4rem;
  border-radius: 999px; font-weight: 700; text-decoration: none; transition: transform .2s var(--ce-ease), box-shadow .2s var(--ce-ease);
}
.ce-foot-cta .ce-btn:hover { transform: translateY(-2px); }
.ce-foot-cta .ce-btn-solid { background: var(--ce-on-accent); color: var(--ce-accent); box-shadow: 0 12px 26px -14px rgba(0, 0, 0, .55); }
.ce-foot-cta .ce-btn-line { border: 2px solid currentColor; color: var(--ce-on-accent); }

/* ---------- Mobile dock (only on sites without their own mobile CTA bar) ---------- */
.ce-dock { display: none; }
@media (max-width: 760px) {
  .ce-dock {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; gap: .6rem;
    padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom, 0px));
    background: color-mix(in srgb, var(--ce-ink) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, .12); transform: translateY(110%); transition: transform .35s var(--ce-ease);
  }
  .ce-dock.ce-show { transform: none; }
  .ce-dock a { flex: 1; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 999px; font-weight: 700; text-decoration: none; }
  .ce-dock .ce-dock-quote { background: var(--ce-accent); color: var(--ce-on-accent); }
  .ce-dock .ce-dock-call { border: 2px solid rgba(255, 255, 255, .75); color: #fff; }
  body.ce-has-dock { padding-bottom: 76px; }
}

/* ---------- Scroll reveal (only for the bands this layer adds) ---------- */
.ce-js .ce-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ce-ease), transform .7s var(--ce-ease); transition-delay: var(--ce-delay, 0ms); }
.ce-js .ce-reveal.ce-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .hero .hero-media img { animation: none; }
  .ce-js .ce-reveal { opacity: 1; transform: none; transition: none; }
  .ce-proof figure img, .ce-dock, .site-header { transition: none; }
}

/* ===== Denver tokens + theme ===== */
body { --ce-ink: var(--pine); --ce-on-ink: #f3ecdd; --ce-accent: var(--ember); --ce-on-accent: #fff; --ce-paper: var(--paper-2); --ce-paper-ink: var(--ink); --ce-scrim: var(--pine); --ce-font-display: var(--font-display); --ce-radius: 10px; }

/* Denver: pine slopes, topo contours and a ridgeline edge */
.ce-cta { background:
  repeating-radial-gradient(circle at 80% 120%, transparent 0 22px, rgba(205,185,144,.09) 22px 23px),
  linear-gradient(170deg, var(--pine) 0%, var(--ink) 100%); padding-top: clamp(5.5rem, 11vw, 7.5rem);
  clip-path: polygon(0 34px, 9% 6px, 18% 30px, 29% 0, 41% 26px, 53% 4px, 64% 28px, 76% 2px, 88% 24px, 100% 8px, 100% 100%, 0 100%); }
.ce-cta h2 { color: #f3ecdd; }
.ce-proof figure { border-radius: 10px; }
.ce-proof figcaption { border-radius: 6px; }
