/* Reset so this folder matches the live site without a framework. */
*, *::before, *::after { margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
a { text-decoration: inherit; }
button { background: none; }

/* Sarasota Wraps. Dark: black, yellow headers, white text. Light: white, blue headers, black text.
   Type is Belwe when the shop's font is installed, otherwise Bree Serif (the closest free face). */

html {
  --bg: #000000;
  --text: #ffffff;
  --heading: #ffe14a;
  --line: #2a2a2a;
  --header: #000000;
  --muted: #ffffff;
  --font: "Belwe", "Bree Serif", Georgia, "Times New Roman", serif;
  color-scheme: only dark;
  background: var(--bg);
  color: var(--text);
}

html[data-theme="light"],
body[data-theme="light"] {
  --bg: #ffffff;
  --text: #000000;
  --heading: #1434a4;
  --line: #d5d5d5;
  --header: #ffffff;
  --muted: #000000;
  color-scheme: only light;
  background: #ffffff;
  color: #000000;
}

html[data-theme="light"] body {
  background: #ffffff;
  color: #000000;
}

html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3,
html[data-theme="light"] .facts strong,
html[data-theme="light"] .page-title,
html[data-theme="light"] .section-head h2,
html[data-theme="light"] .band h2,
html[data-theme="light"] .article h1,
html[data-theme="light"] .article h2 {
  color: #1434a4;
}

* { box-sizing: border-box; }

html { scroll-padding-top: 84px; margin: 0; }

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.5;
}

img { max-width: 100%; height: auto; }

a { color: var(--heading); }

button, input { font: inherit; }

h1, h2, h3, .btn, .nav a, .chip, .album-card span, .theme-toggle, .facts strong, .socials a, .lightbox-title {
  font-family: var(--font);
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--heading);
  color: var(--bg);
  padding: 8px 12px;
  z-index: 50;
}

.skip:focus { top: 8px; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 8px 6px;
  padding-top: calc(8px + env(safe-area-inset-top));
  background: var(--header);
  border-bottom: 3px solid var(--heading);
}

.nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 100%;
}

.nav a.is-current,
.theme-toggle[aria-pressed="true"] {
  background: var(--heading);
  color: var(--bg);
}

.btn,
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid var(--heading);
  background: transparent;
  color: var(--heading);
  padding: 0 14px;
  font-size: 18px;
  font-family: var(--font);
  white-space: nowrap;
}

.nav .btn,
.nav .theme-toggle {
  flex: 1 1 0;
  min-width: 0;
  padding: 0 4px;
  font-size: clamp(12px, 3.15vw, 18px);
}

.btn-yellow {
  background: var(--heading);
  border-color: var(--heading);
  color: var(--bg);
  font-weight: 700;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  height: 72vh;
  min-height: 420px;
  max-height: 640px;
  background: #000;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.12) 42%, rgba(0, 0, 0, 0.38));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(920px, 92vw);
  text-align: center;
  padding: 16px;
}

.hero-logo {
  width: min(820px, 92%);
  height: auto;
  margin: 0 auto;
  display: block;
  mix-blend-mode: screen;
}

.band {
  background: var(--bg);
  color: var(--text);
}

.band a { color: var(--heading); }

.band-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0;
  text-align: center;
}

.band h2 {
  margin: 0 0 8px;
  font-size: clamp(36px, 6vw, 56px);
  line-height: 0.95;
  color: var(--heading);
}

.band p { margin: 8px auto; max-width: 40rem; font-size: 20px; color: var(--text); }

.socials {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-width: 0;
  min-height: 44px;
  padding: 0 6px;
  border-radius: 999px;
  border: 2px solid var(--heading);
  background: transparent;
  color: var(--heading);
  text-decoration: none;
  font-size: clamp(13px, 3.6vw, 18px);
  white-space: nowrap;
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.section-head h2, .prose h2, .visit h2, .page-title {
  margin: 0;
  color: var(--heading);
  font-size: clamp(36px, 6vw, 64px);
  line-height: 0.9;
}

.section-head a {
  color: var(--heading);
  text-decoration: none;
  font-size: 22px;
  white-space: nowrap;
}

#wraps, #signs, #testimonials, #visit, #galleries { scroll-margin-top: 84px; }

.album-grid, .photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

.album-card, .tile {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: #e7eefb;
  color: inherit;
  cursor: pointer;
}

html[data-theme="dark"] .album-card,
html[data-theme="dark"] .tile {
  background: #07111f;
}

.album-card img, .tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.album-card span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 8px 8px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.88));
  color: #ffe14a;
  font-size: 15px;
  line-height: 1.05;
  text-align: left;
}

.split {
  display: grid;
  gap: 18px;
  align-items: center;
}

.split img, .visit img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background: #0b3d91;
}

.prose p, .visit p { margin: 0 0 12px; }

.rule { border: 0; border-top: 2px solid var(--line); margin: 0; }

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  text-align: center;
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
  background: var(--bg);
  color: var(--text);
}

.facts div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
  padding: 16px 6px 14px;
  min-width: 0;
}

.facts span {
  display: block;
  margin: 0 0 6px;
  color: var(--text);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
}

.facts strong {
  display: block;
  margin: 0;
  color: var(--heading);
  font-size: clamp(22px, 6vw, 40px);
  line-height: 1.05;
}

.visit-grid { display: grid; gap: 16px; }

.map {
  width: 100%;
  height: auto;
  display: block;
  border: 2px solid var(--line);
  background: var(--bg);
  pointer-events: none;
}

.map-credit {
  margin: 4px 0 0;
  text-align: right;
  font-size: 11px;
  line-height: 1.2;
  color: var(--text);
  opacity: 0.7;
}

.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

.footer {
  border-top: 3px solid var(--heading);
  text-align: center;
  padding: 28px 16px 20px;
}

.footer img { width: min(420px, 80%); height: auto; }

.footer-links { display: flex; justify-content: center; gap: 16px; margin-top: 10px; }

.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 12px;
  scrollbar-width: none;
}

.chips::-webkit-scrollbar { display: none; }

.chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 2px solid var(--heading);
  color: var(--text);
  text-decoration: none;
  background: transparent;
  font-size: 18px;
}

.chip.is-on {
  background: var(--heading);
  border-color: var(--heading);
  color: var(--bg);
}

.profile {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.profile img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}

.page-title { font-size: clamp(32px, 5vw, 52px); }

.muted { color: var(--muted); margin: 4px 0; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  background: #000;
  color: #ffffff;
}

.lightbox[hidden] { display: none; }

.lightbox-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: calc(8px + env(safe-area-inset-top)) 8px 8px;
}

.lightbox-bar button, .lb-nav {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #ffe14a;
  font-size: 32px;
  line-height: 1;
}

.lightbox-title {
  margin: 0;
  color: #ffe14a;
  font-family: var(--font);
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lightbox-count { margin: 2px 0 0; color: #ffffff; font-size: 14px; text-transform: none; letter-spacing: 0; }

.lightbox-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 48px;
}

.lightbox-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.45);
}

.lb-prev { left: 6px; }
.lb-next { right: 6px; }

.lightbox-hint {
  margin: 0;
  padding: 10px 12px calc(12px + env(safe-area-inset-bottom));
  text-align: center;
  color: #ffffff;
  font-size: 14px;
}

.article { width: min(760px, calc(100% - 32px)); margin: 0 auto; padding: 28px 0 48px; }
.article h1 { color: var(--heading); font-size: clamp(36px, 6vw, 60px); line-height: 0.95; margin: 12px 0; }
.article h2 { color: var(--heading); font-size: 28px; margin: 22px 0 8px; }
.article p, .article li { color: var(--text); }
.back { color: var(--heading); text-decoration: none; font-size: 20px; }

@media (max-width: 719px) {
  .album-card span { font-size: 12px; padding: 20px 6px 6px; }
}

@media (min-width: 720px) {
  .topbar { padding: 10px 16px; padding-top: calc(10px + env(safe-area-inset-top)); }
  .nav { width: auto; margin: 0 auto; gap: 8px; }
  .nav .btn, .nav .theme-toggle { flex: 0 0 auto; padding: 0 16px; font-size: 18px; }
  .socials { gap: 8px; }
  .socials a { flex: 0 0 auto; padding: 0 16px; font-size: 18px; }
}

@media (min-width: 800px) {
  .album-grid { grid-template-columns: repeat(4, 1fr); }
  .photo-grid { grid-template-columns: repeat(4, 1fr); }
  .split, .visit-grid { grid-template-columns: 1.15fr 0.85fr; gap: 28px; }
  .hero { height: 78vh; min-height: 520px; max-height: 760px; }
}

@media (min-width: 980px) {
  .photo-grid { grid-template-columns: repeat(5, 1fr); }
  .chips { flex-wrap: wrap; overflow: visible; }
}

@media (min-width: 1280px) {
  .photo-grid { grid-template-columns: repeat(6, 1fr); }
  .album-grid { grid-template-columns: repeat(5, 1fr); }
}

/* Phones in dark mode (including this preview) recolor a normal light page:
   white becomes grey, black text becomes white, royal blue becomes pale blue.
   "only light" tells the browser not to do that. A solid background image is
   the fallback for older WebView darkening, which skips elements that have one. */
html[data-theme="light"] {
  color-scheme: only light;
  background-color: #ffffff;
  background-image: linear-gradient(#ffffff, #ffffff);
  color: #000000;
}

html[data-theme="light"] body,
html[data-theme="light"] .page,
html[data-theme="light"] main,
html[data-theme="light"] .topbar,
html[data-theme="light"] .facts,
html[data-theme="light"] .band,
html[data-theme="light"] .wrap,
html[data-theme="light"] .visit,
html[data-theme="light"] .article,
html[data-theme="light"] footer {
  color-scheme: only light;
  background-color: #ffffff;
  background-image: linear-gradient(#ffffff, #ffffff);
  color: #000000;
}

html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3,
html[data-theme="light"] .facts strong,
html[data-theme="light"] .page-title,
html[data-theme="light"] .section-head h2,
html[data-theme="light"] .section-head a,
html[data-theme="light"] .band h2,
html[data-theme="light"] .article h1,
html[data-theme="light"] .article h2,
html[data-theme="light"] a,
html[data-theme="light"] .btn,
html[data-theme="light"] .theme-toggle {
  color: #1434a4;
}

html[data-theme="light"] .nav a.is-current,
html[data-theme="light"] .theme-toggle[aria-pressed="true"],
html[data-theme="light"] .btn-yellow {
  background-color: #1434a4;
  background-image: linear-gradient(#1434a4, #1434a4);
  color: #ffffff;
  border-color: #1434a4;
}

.scroll-note {
  margin: 0;
  padding: 14px 10px 2px;
  text-align: center;
  font-size: clamp(15px, 4.1vw, 22px);
  line-height: 1.2;
  white-space: nowrap;
}

.scroll-note a {
  color: var(--heading);
  text-decoration: none;
}

.kinds {
  display: grid;
  gap: 12px;
  margin: 18px 0 8px;
}

.kind {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #111;
}

.kind img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.kind-full { object-position: 46% 92%; }
.kind-partial { object-position: center 74%; }
.kind-decal { object-position: center 60%; }

.kind-note {
  margin: 8px 8px 0;
  text-align: center;
  color: var(--text);
  font-size: clamp(15px, 3.6vw, 18px);
  line-height: 1.25;
}

.kind span,
html[data-theme="light"] .kind span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 48px 12px 14px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
  color: #ffe14a;
  text-align: center;
  font-size: clamp(32px, 7vw, 52px);
  line-height: 1;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 0 #102a6e, 0 3px 10px rgba(0, 0, 0, 0.65);
}

@media (min-width: 720px) {
  .kinds { grid-template-columns: 1fr 1fr; }
  .kind span, html[data-theme="light"] .kind span { font-size: 40px; }
}
