/* ================================================================
   Template C — Sequin  (FIXED THEME — see templates/themes.json)
   Quicklaunch / Starlifter.co

   Mood: early-2000s dot-matrix title design — letters and surfaces
   built from circles of varying sizes, like a programmable light
   board or halftone print. Muted olive/sage/teal, warm off-white,
   DM Serif Display italic headings over DM Sans body.

   Sequin is a *fixed aesthetic* — every site looks the same intended
   way. The :root block below is a design-time placeholder only; at
   build time deploy/build-site.py overwrites it wholesale from the
   "sequin" entry in templates/themes.json (colours, radii, fonts —
   including the Google Fonts <link> injected into <head>). There is
   no customer palette and no per-site axis variation for this theme.
   ================================================================ */

/* ── Web fonts ──────────────────────────────────────────────── */
/* Sequin's identity is a fixed pairing — DM Serif Display (italic
   headings) over DM Sans body — loaded via the <link> the build
   injects from templates/themes.json's "fonts.google_fonts_url".
   No font-face declarations here: nothing to self-host, and no
   per-site rotation (this is a "fixed" theme, see themes.json). */

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }

/* ── Colour tokens (trades default — Claude Code sets these) ─── */
:root {
  --primary: #49AED0;
  --primary-light: #56CEF7;
  --accent: #317992;
  --accent-light: #75B2D4;
  --text-on-primary: #ffffff;
  --background: #f7f9fa;
  --surface: #ffffff;
  --text-primary: #1a1a1a;
  --text-secondary: #6b7280;
  --hero-bg: #f7f9fa;
  --hero-text: #1a1a1a;
  --footer-bg: #1a1a1a;
  --footer-text: #f7f9fa;
  --primary-dark: #3e93b0;
  --text-on-secondary: #ffffff;
  --warm-grey: #6b7280;
  --dot-ink: #6b7280;
  --body: #1a1a1a;
  --radius-button: 6px;
  --radius-card: 6px;
  --radius-container: 6px;
  --radius: 6px;
  --font-heading: 'Special Elite';
  --font-body: 'DM Sans';
  --font-heading-style: normal;
  --shadow-sm: 0 2px 12px rgba(73,174,208,0.08);
  --shadow-md: 0 10px 32px rgba(73,174,208,0.14);
}

/* ── Base ───────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body, 'DM Sans'), system-ui, sans-serif;
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--body);
  -webkit-font-smoothing: antialiased;
  /* Scattered-dot field — bokeh-like circles drifting across the warm
     off-white background, evoking the halftone / light-board reference.
     Plain background layers (not a pseudo-element) so child elements'
     own positioning — sticky nav, fixed lightbox — is left untouched. */
  background-color: var(--background);
  background-image:
    radial-gradient(circle, rgba(138,154,91,0.16) 2.4px, transparent 2.6px),
    radial-gradient(circle, rgba(90,138,122,0.13) 1.6px, transparent 1.8px),
    radial-gradient(circle, rgba(138,154,91,0.10) 1px,   transparent 1.2px);
  background-size: 168px 168px, 96px 96px, 54px 54px;
  background-position: 12px 18px, 70px 60px, 30px 110px;
  background-attachment: fixed;
}

/* ── Preview mode — hide attribution & admin link ────────────── */
html.is-preview .footer-attribution,
html.is-preview .admin-link { display: none !important; }

/* ── Typography ─────────────────────────────────────────────── */
/* Fixed editorial pairing — DM Serif Display italic over DM Sans body */
h1, h2, h3, h4,
.nav-name,
.footer-name {
  font-family: var(--font-heading, 'DM Serif Display'), Georgia, 'Iowan Old Style', serif;
  font-style: var(--font-heading-style, italic);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

/* ── Layout utility ─────────────────────────────────────────── */
.inner {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* ── Buttons — soft, rounded, muted ───────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: var(--radius-button);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease;
  letter-spacing: 0.01em;
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background: var(--primary);
  color: var(--text-on-primary);
}

.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-primary:active { transform: translateY(0); }

.hero-actions .btn-primary { font-weight: 600; }

.btn-outline {
  background: rgba(247,244,237,0.12);
  color: var(--background);
  border: 1.5px solid rgba(250,248,242,0.6);
  box-shadow: none;
}

.btn-outline:hover { background: rgba(250,248,242,0.18); }

/* ── Nav ─────────────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(250,248,242,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.site-nav.is-scrolled {
  border-bottom-color: var(--warm-grey);
  box-shadow: 0 1px 16px rgba(107,124,58,0.07);
}

.site-nav .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  min-width: 0;
}

.nav-logo {
  height: 42px;
  width: auto;
  flex-shrink: 0;
  border-radius: 10px;
}

.nav-name-wrap { min-width: 0; overflow: hidden; }

.nav-name {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-tagline {
  font-size: 0.75rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-cta { flex-shrink: 0; color: var(--text-on-primary); }

/* ── Hero ────────────────────────────────────────────────────── */
.site-hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--primary-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/hero.jpg?v=1787879126');
  background-size: cover;
  background-position: center;
  transition: opacity 0.3s;
}

/* Gradient fallback — Claude Code adds .no-hero class when no hero image */
.site-hero.no-hero .hero-bg {
  background-image: linear-gradient(
    145deg,
    var(--primary-dark) 0%,
    var(--primary) 60%,
    color-mix(in srgb, var(--primary) 70%, var(--accent)) 100%
  );
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(70, 66, 47, 0.46);
}

.site-hero.no-hero .hero-overlay { background: rgba(70, 66, 47, 0.16); }

/* Dot-matrix scrim — a halftone field of graduated circles laid over
   the hero, brightest near the centre, like a light board powering up */
.site-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: soft-light;
  opacity: 0.55;
  background-image:
    radial-gradient(circle, rgba(247,244,237,0.5)  3px, transparent 3.2px),
    radial-gradient(circle, rgba(247,244,237,0.32) 1.8px, transparent 2px),
    radial-gradient(circle, rgba(247,244,237,0.2)  1px, transparent 1.2px);
  background-size: 120px 120px, 64px 64px, 32px 32px;
  background-position: 0 0, 30px 26px, 14px 50px;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--background);
  padding: 3rem 2rem;
  max-width: 760px;
}

/* Enforce light text on every child — overlay guarantees sufficient contrast */
.hero-content * { color: var(--background); }

/* No hero photo — gradient background uses primary colour, so use the
   calculated foreground instead of hardcoded white */
.site-hero.no-hero .hero-content,
.site-hero.no-hero .hero-content * { color: var(--text-on-primary); }

.hero-title {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--background);
  text-shadow: 0 2px 18px rgba(70,66,47,0.55), 0 1px 4px rgba(70,66,47,0.4);
}

/* No text-shadow when using dark text on a light gradient */
.site-hero.no-hero .hero-title { text-shadow: none; }

.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.375rem);
  font-weight: 400;
  opacity: 0.92;
  margin-bottom: 2.5rem;
  color: var(--background);
  text-shadow: 0 1px 10px rgba(70,66,47,0.45);
}

.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Sections ────────────────────────────────────────────────── */
.site-section {
  padding: 5rem 0;
}

/* Eyebrow — a little dot-matrix readout: graduated circles forming
   a "..." before the label, like an indicator light sequence */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.6rem;
}

.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 1.2em;
  height: 0.6em;
  flex-shrink: 0;
  background-image:
    radial-gradient(circle, var(--dot-ink) 1px, transparent 1.2px),
    radial-gradient(circle, var(--dot-ink) 1.6px, transparent 1.8px),
    radial-gradient(circle, var(--dot-ink) 2.2px, transparent 2.4px);
  background-repeat: no-repeat;
  background-position: 0 50%, 0.5em 50%, 1em 50%;
  background-size: 0.4em 0.4em, 0.5em 0.5em, 0.6em 0.6em;
  opacity: 0.75;
}

.section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 1.75rem;
}

.section-body {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--body);
  max-width: 680px;
}

/* Rich About content (headings / lists / multiple paragraphs).
   Colour is inherited from .section-body so section-tinted contrast holds. */
.section-body > p { margin: 0 0 1rem; }
.section-body h3 {
  font-size: 1.3125rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 1.75rem 0 0.6rem;
}
.section-body h4 {
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 1.4rem 0 0.4rem;
}
.section-body ul,
.section-body ol {
  margin: 0.75rem 0 1rem;
  padding-left: 1.35rem;
}
.section-body li { margin-bottom: 0.4rem; }
.section-body > :first-child { margin-top: 0; }
.section-body > :last-child { margin-bottom: 0; }

/* ── Gallery ─────────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 2.5rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius-card);
  cursor: pointer;
  outline: none;
  box-shadow: var(--shadow-sm);
}

.gallery-item:focus-visible { box-shadow: 0 0 0 3px var(--primary); }

.gallery-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img { transform: scale(1.04); }

/* ── Hours ───────────────────────────────────────────────────── */
.hours-list {
  list-style: none;
  max-width: 440px;
  margin-top: 2rem;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--warm-grey);
  font-size: 0.9375rem;
  gap: 1rem;
}

.hours-row:last-child { border-bottom: none; }

.hours-day { font-weight: 500; color: var(--text-primary); min-width: 90px; }

.hours-time { color: var(--text-secondary); }

.hours-time.closed { font-style: italic; }

/* ── Contact ─────────────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 2rem;
  align-items: start;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 1.5rem;
}

.contact-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.contact-icon svg { width: 18px; height: 18px; }

.contact-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 3px;
}

.contact-value { font-size: 1.0625rem; }

.contact-value a {
  color: var(--primary);
  text-decoration: none;
}

.contact-value a:hover { text-decoration: underline; }

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 1.75rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background: var(--surface);
  color: var(--primary);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  box-shadow: var(--shadow-sm);
}

.social-link:hover {
  background: var(--primary);
  color: var(--text-on-primary);
}

.social-link svg { width: 2.5rem; height: 2.5rem; }

.contact-map {
  border-radius: var(--radius-container);
  overflow: hidden;
  line-height: 0;
  box-shadow: var(--shadow-sm);
}

.contact-map iframe {
  width: 100%;
  height: 320px;
  border: none;
}

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--primary-dark);
  color: var(--text-on-primary);
  padding: 3rem 0;
  text-align: center;
}

.site-footer h1, .site-footer h2,
.site-footer h3, .site-footer h4 { color: inherit; }

.footer-name {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  /* Inherit the footer's light text — the heading typography block above
     forces var(--text-primary), which is too dark on the dark footer bg. */
  color: inherit;
}

.footer-credentials {
  font-size: 0.875rem;
  font-weight: 400;
  font-family: var(--font-body, inherit);
  font-style: normal;
  opacity: 0.8;
  margin: -0.25rem 0 0.5rem;
  line-height: 1.5;
  color: inherit;
}

.footer-credentials:empty { display: none; margin: 0; }

.footer-attribution {
  font-size: 0.8125rem;
  opacity: 0.65;
  margin-top: 0.75rem;
}

.footer-attribution a {
  color: inherit;
  font-weight: 500;
  text-decoration: none;
  opacity: 1;
}

.footer-attribution a:hover { text-decoration: underline; }

/* ── Lightbox ────────────────────────────────────────────────── */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(70, 66, 47, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

#lightbox.is-open { display: flex; }

#lb-img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 10px;
}

#lb-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(250,248,242,0.7);
  font-size: 0.875rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 80vw;
}

.lb-btn {
  position: absolute;
  background: rgba(250,248,242,0.14);
  border: none;
  color: var(--background);
  cursor: pointer;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: background 0.15s;
}

.lb-btn:hover { background: rgba(250,248,242,0.24); }

#lb-close { top: 1rem; right: 1rem; font-size: 1.5rem; }
#lb-prev  { left: 1rem; top: 50%; transform: translateY(-50%); }
#lb-next  { right: 1rem; top: 50%; transform: translateY(-50%); }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .site-section { padding: 3.5rem 0; }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .gallery-grid { gap: 6px; }

  .nav-tagline { display: none; }
  .nav-logo ~ .nav-name-wrap { display: none; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  .hero-title { font-size: 2rem; }

  .inner { padding-left: 1.25rem; padding-right: 1.25rem; }
}

/* ── Hero layout variants (Claude Code adds class to .site-hero) ── */
.site-hero.hero-left .hero-content { text-align: left; }
.site-hero.hero-left .hero-actions { justify-content: flex-start; }
.site-hero.hero-left .hero-overlay { background: linear-gradient(to right, rgba(70,66,47,0.5) 0%, rgba(70,66,47,0.26) 100%); }

.site-hero.hero-tall { min-height: 90vh; }

/* ── Embed players ───────────────────────────────────────────── */
.hero-embed {
  margin-top: 1.5rem;
  width: 100%;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.hero-embed iframe {
  display: block;
  width: 100%;
  border: none;
  border-radius: var(--radius-container);
}
.gallery-embed {
  margin-bottom: 2rem;
}
.gallery-embed iframe {
  display: block;
  width: 100%;
  border: none;
  border-radius: var(--radius-container);
}

/* ── Footer logo ─────────────────────────────────────────────── */
.footer-logo {
  display: block;
  width: 220px;
  max-width: 85vw;
  object-fit: contain;
  object-position: center;
  margin: 0 auto 1.25rem;
  border-radius: 12px;
}

/* ── EPK download button ─────────────────────────────────────── */
.epk-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 1rem;
  padding: 9px 18px;
  border: 1.5px solid var(--primary);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.epk-btn svg { width: 15px; height: 15px; flex-shrink: 0; }
.epk-btn:hover { background: var(--primary); color: var(--text-on-primary); text-decoration: none; }

/* ── QuickLaunch footer tagline ──────────────────────────────── */
.ql-footer-divider {
  border: none;
  border-top: 1px solid rgba(247,244,237,0.18);
  margin: 1.25rem 0 1rem;
}
.ql-footer-tagline {
  font-size: 0.72rem;
  color: rgba(247,244,237,0.5);
  margin-bottom: 1rem;
  font-style: normal;
  letter-spacing: 0.01em;
}
.ql-footer-tagline em {
  font-style: italic;
  color: rgba(247,244,237,0.75);
}

/* ── QuickLaunch webring ─────────────────────────────────────── */
.ql-webring {
  text-align: center;
  margin-bottom: 1rem;
}
.ql-webring-btns {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.ql-webring-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(247,244,237,0.75);
  text-decoration: none;
  border: 1.5px solid rgba(247,244,237,0.38);
  border-radius: 100px;
  padding: 5px 14px;
  transition: border-color 0.15s, color 0.15s, opacity 0.15s;
  letter-spacing: 0.01em;
  cursor: pointer;
}
.ql-webring-btn:hover {
  border-color: rgba(247,244,237,0.85);
  color: var(--background);
  text-decoration: none;
}
.ql-webring-btn.loading { opacity: 0.45; pointer-events: none; }
.ql-webring-icon {
  width: 11px;
  height: 11px;
  opacity: 0.75;
  flex-shrink: 0;
}

/* background image override */
body {
  background-image: url('bg-0a5b9c894ea6f217.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* main content background wash */
main {
  background-color: rgba(255,255,255,0.49);
}
