/* Southwest Treasures Art — custom Weebly theme
   Palette, layout bands, gallery grid/filter/lightbox, forms, shows widget. */

/* ---------- Tokens ---------- */
:root {
  --cream: #FAF6F0;
  --sand: #F0E7DB;
  --ink: #2B2118;
  --copper-700: #8A431B;
  --copper-600: #9A4E1C;
  --copper-400: #B26E3F;
  --patina-600: #2F6B5E;
  --dark: #241C15;
  --cream-on-dark: #F5EFE6;
  --copper-on-dark: #E8B380;

  --font-display: "Alegreya", Georgia, "Times New Roman", serif;
  --font-body: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --container-max: 1200px;
  --radius: 6px;
}

/* ---------- Reset (slim) ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--copper-700); text-decoration: none; }
a:hover { color: var(--copper-600); text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 600; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); font-weight: 600; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); font-weight: 600; }
p { margin: 0 0 1em; }
button { font-family: inherit; }

:focus-visible {
  outline: 3px solid var(--patina-600);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

.swta-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--copper-700);
  color: #fff;
  padding: 0.75em 1.25em;
  z-index: 1000;
}
.swta-skip:focus {
  left: 1em;
  top: 1em;
}

.swta-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- Header / nav ---------- */
.swta-header {
  background: var(--cream);
  border-bottom: 1px solid rgba(43, 33, 24, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 200ms ease;
}
.swta-header.is-stuck {
  box-shadow: 0 2px 12px rgba(43, 33, 24, 0.12);
}
.swta-header__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.swta-logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
}
.swta-logo img { max-height: 40px; width: auto; }
.swta-logo a { color: inherit; }
.swta-logo a:hover { text-decoration: none; color: var(--copper-700); }

.swta-nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  background: none;
  border: 1px solid var(--copper-400);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 0.5em 0.8em;
  min-height: 44px;
  cursor: pointer;
}
.swta-nav-toggle:hover { border-color: var(--copper-700); }

.swta-nav { }
.swta-nav ul.wsite-menu-default,
.swta-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem 1.25rem;
  align-items: center;
}
.swta-nav li { flex: 0 0 auto; }
.swta-nav a {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.4em 0.1em;
  border-bottom: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
.swta-nav a:hover,
.swta-nav a:focus-visible,
.swta-nav .wsite-menu-item-active > a,
.swta-nav a[aria-current="page"] {
  color: var(--copper-700);
  border-bottom-color: var(--copper-700);
}

@media (max-width: 767px) {
  .swta-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(43, 33, 24, 0.08);
    box-shadow: 0 8px 16px rgba(43, 33, 24, 0.12);
    padding: 1rem 1.25rem 1.5rem;
  }
  .swta-nav.is-open { display: block; }
  .swta-nav ul.wsite-menu-default,
  .swta-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
  }
  .swta-header__inner { position: relative; }
}
@media (min-width: 768px) {
  .swta-nav-toggle { display: none; }
}

/* ---------- Hero (home) ---------- */
.swta-hero {
  position: relative;
  min-height: min(72vh, 620px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--dark);
}
.swta-hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.swta-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(36, 28, 21, 0.92) 0%, rgba(36, 28, 21, 0.45) 55%, rgba(36, 28, 21, 0.05) 100%);
}
.swta-hero__content {
  position: relative;
  z-index: 1;
  color: var(--cream-on-dark);
  padding: 2.5rem 1.25rem 3rem;
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
}
.swta-hero__content h1 { color: var(--cream-on-dark); }
.swta-hero__sub {
  font-size: 1.15rem;
  color: var(--copper-on-dark);
  margin-bottom: 1.25rem;
  max-width: 34em;
}
.swta-btn {
  display: inline-block;
  background: var(--copper-700);
  color: #fff;
  font-weight: 600;
  padding: 0.85em 1.6em;
  border-radius: var(--radius);
  text-decoration: none;
  min-height: 44px;
  line-height: 1.4;
  border: none;
  cursor: pointer;
}
.swta-btn:hover { background: var(--copper-600); color: #fff; text-decoration: none; }

/* ---------- Bands ---------- */
.swta-band { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.swta-band--sand { background: var(--sand); }

.swta-featured__heading { text-align: center; margin-bottom: 1.5rem; }
.swta-featured__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .swta-featured__list { grid-template-columns: repeat(4, 1fr); }
}
.swta-featured__item a { color: inherit; text-decoration: none; display: block; }
.swta-featured__item img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 0.6rem;
}
.swta-featured__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
}
.swta-featured__cta { text-align: center; margin-top: 2rem; }

.swta-intro {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 768px) {
  .swta-intro { grid-template-columns: 1.1fr 1fr; }
  .swta-intro--reverse { direction: rtl; }
  .swta-intro--reverse > * { direction: ltr; }
}
.swta-intro img { border-radius: var(--radius); width: 100%; }

/* ---------- Title band (interior pages) ---------- */
.swta-title-band {
  background: var(--sand);
  padding: 2.75rem 0 2.25rem;
}
.swta-title-band h1 { margin-bottom: 0.35em; }
.swta-title-band__intro { max-width: 44em; color: var(--ink); opacity: 0.85; }

/* ---------- Process (about) ---------- */
.swta-process {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  margin: 2rem 0;
}
@media (min-width: 640px) {
  .swta-process { grid-template-columns: repeat(4, 1fr); }
}
.swta-process__step {
  background: var(--sand);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.swta-process__num {
  font-family: var(--font-display);
  color: var(--copper-700);
  font-size: 1.5rem;
  font-weight: 600;
  display: block;
  margin-bottom: 0.4rem;
}
.swta-credibility {
  text-align: center;
  font-style: italic;
  font-size: 1.1rem;
  opacity: 0.9;
  margin: 2.5rem 0;
  padding-top: 1.5rem;
}
.swta-credibility::before {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  background: var(--copper-400);
  margin: 0 auto 1.25rem;
}

/* ---------- Gallery: chips + grid ---------- */
.swta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0 0 2rem;
}
.swta-chip {
  background: var(--sand);
  color: var(--ink);
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.55em 1.1em;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  min-height: 40px;
}
.swta-chip[aria-pressed="true"] {
  background: var(--copper-700);
  color: #fff;
}
.swta-chip:hover { border-color: var(--copper-400); }

.swta-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}
@media (min-width: 640px) {
  .swta-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; }
}
.swta-card { position: relative; }
.swta-card.is-hidden { display: none; }
.swta-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sand);
}
.swta-card__link img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 250ms ease;
}
.swta-card--contain .swta-card__link img {
  object-fit: contain;
  background: var(--sand);
}
.swta-card__title {
  display: block;
  padding: 0.65em 0.75em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
}
@media (hover: hover) {
  .swta-card__link:hover img { transform: scale(1.04); }
}
.swta-grid[aria-busy] { opacity: 0.6; }
.swta-grid-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* ---------- Lightbox ---------- */
.swta-lightbox {
  border: none;
  padding: 0;
  background: transparent;
  max-width: 100vw;
  max-height: 100vh;
  max-height: 100dvh;
}
.swta-lightbox::backdrop { background: rgba(36, 28, 21, 0.96); }
.swta-lightbox__inner {
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1rem;
}
.swta-lightbox__figure {
  margin: 0;
  max-width: min(90vw, 640px);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.swta-lightbox__img {
  max-width: 100%;
  max-height: min(75vh, 640px);
  width: auto;
  height: auto;
  border-radius: 4px;
  transition: opacity 200ms ease;
}
.swta-lightbox__caption {
  color: var(--cream-on-dark);
  text-align: center;
  margin-top: 1rem;
  max-width: 40em;
}
.swta-lightbox__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 0.2rem;
}
.swta-lightbox__meta { color: var(--copper-on-dark); font-size: 0.9rem; margin-bottom: 0.4rem; }
.swta-lightbox__desc { font-size: 0.9rem; opacity: 0.85; }
.swta-lightbox__counter {
  color: var(--copper-on-dark);
  font-size: 0.85rem;
  margin-top: 0.6rem;
}
.swta-lightbox__close,
.swta-lightbox__prev,
.swta-lightbox__next {
  position: absolute;
  background: rgba(245, 239, 230, 0.12);
  color: var(--cream-on-dark);
  border: none;
  border-radius: 999px;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.swta-lightbox__close:hover,
.swta-lightbox__prev:hover,
.swta-lightbox__next:hover { background: rgba(245, 239, 230, 0.25); }
.swta-lightbox__close { top: 1rem; right: 1rem; }
.swta-lightbox__prev { left: 0.5rem; top: 50%; transform: translateY(-50%); }
.swta-lightbox__next { right: 0.5rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .swta-lightbox__prev, .swta-lightbox__next {
    top: auto;
    bottom: 1rem;
    transform: none;
  }
  .swta-lightbox__prev { left: 1rem; }
  .swta-lightbox__next { right: 1rem; }
}

/* ---------- Upcoming-show announcement banner (home) ---------- */
.swta-show-banner {
  background: var(--copper-700);
  color: var(--cream-on-dark);
  font-size: 0.95rem;
}
.swta-show-banner[hidden] { display: none; }
.swta-show-banner--live { background: var(--patina-600); }
.swta-show-banner__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem 1rem;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  position: relative;
}
.swta-show-banner__icon { flex: none; font-size: 1.05rem; }
.swta-show-banner__text { margin: 0; flex: 1 1 0%; min-width: 0; }
.swta-show-banner__label { color: var(--cream-on-dark); letter-spacing: 0.02em; }
.swta-show-banner__name { font-weight: 700; }
.swta-show-banner__detail { opacity: 0.92; }
.swta-show-banner__link {
  flex: none;
  color: var(--cream-on-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
  white-space: nowrap;
}
.swta-show-banner__link:hover { color: #fff; }
.swta-show-banner__dismiss {
  flex: none;
  background: transparent;
  border: 0;
  color: var(--cream-on-dark);
  font-size: 1rem;
  line-height: 1;
  padding: 0.35rem;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.85;
}
.swta-show-banner__dismiss:hover { opacity: 1; }
/* Cream focus ring — the global patina ring would vanish on the live (patina) variant. */
.swta-show-banner__link:focus-visible,
.swta-show-banner__location:focus-visible,
.swta-show-banner__dismiss:focus-visible {
  outline-color: var(--cream-on-dark);
}
@media (max-width: 560px) {
  .swta-show-banner__inner { flex-wrap: wrap; }
  .swta-show-banner__name { padding-right: 2.5rem; }
  .swta-show-banner__detail { display: block; }
  .swta-show-banner__location {
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .swta-show-banner__date { display: block; white-space: nowrap; }
  .swta-show-banner__link { flex: 1 1 100%; }
  .swta-show-banner__dismiss {
    position: absolute;
    top: 0.55rem;
    right: 0;
  }
}

/* ---------- Shows widget ---------- */
.swta-shows-fallback {
  background: var(--sand);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}
.swta-shows-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.swta-show-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  background: var(--sand);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  border: 1px solid transparent;
}
.swta-show-card--live {
  border-color: var(--copper-700);
  background: #fff;
}
.swta-show-badge {
  font-family: var(--font-display);
  font-weight: 600;
  text-align: center;
  background: var(--cream);
  border-radius: var(--radius);
  padding: 0.5rem 0.9rem;
  min-width: 4.5rem;
  color: var(--copper-700);
  line-height: 1.2;
}
.swta-show-badge__month { display: block; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; }
.swta-show-badge__days { display: block; font-size: 1.1rem; }
.swta-show-name { font-weight: 700; margin: 0 0 0.15rem; }
.swta-show-location { font-size: 0.9rem; opacity: 0.8; display: flex; align-items: center; flex-wrap: wrap; gap: 0.35em; }

.swta-map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(43, 33, 24, 0.35);
  text-underline-offset: 2px;
}
.swta-map-link:hover { color: var(--copper-700); text-decoration-color: currentColor; }
.swta-pin-icon { flex: none; width: 14px; height: 14px; }
.swta-show-banner__location { text-decoration-color: rgba(245, 239, 230, 0.5); }
.swta-show-banner__location:hover { color: #fff; }
.swta-show-pill {
  display: inline-block;
  background: var(--copper-700);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2em 0.6em;
  border-radius: 999px;
  margin-top: 0.4rem;
}
.swta-show-empty { text-align: center; padding: 2rem 1rem; opacity: 0.8; }
.swta-show-skeleton {
  height: 76px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, var(--sand) 25%, #e8dccb 37%, var(--sand) 63%);
  background-size: 400% 100%;
  animation: swta-shimmer 1.4s ease infinite;
}
@keyframes swta-shimmer {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}

/* ---------- Contact form skin ---------- */
.wsite-form-container { max-width: 640px; }
.wsite-form-field { margin-bottom: 1.1rem; }
.wsite-form-label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
  color: var(--ink);
}
.wsite-form-input.wsite-input,
textarea.wsite-form-input,
select.wsite-form-input {
  width: 100%;
  font-size: 16px;
  font-family: var(--font-body);
  padding: 0.7em 0.85em;
  border: 1px solid rgba(43, 33, 24, 0.25);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}
.wsite-form-input.wsite-input:focus,
textarea.wsite-form-input:focus,
select.wsite-form-input:focus {
  border-color: var(--patina-600);
  outline: none;
  box-shadow: 0 0 0 3px rgba(47, 107, 94, 0.2);
}
.wsite-form-sublabel { font-size: 0.8rem; opacity: 0.7; margin-top: 0.25rem; }
.wsite-form-container .wsite-button,
.wsite-form-container .wsite-button-inner {
  background: var(--copper-700) !important;
  color: #fff !important;
  border-radius: var(--radius);
  min-height: 44px;
  font-weight: 600;
  border: none;
}
.wsite-form-container .wsite-button:hover,
.wsite-form-container .wsite-button-inner:hover { background: var(--copper-600) !important; }

.swta-contact-intro {
  margin-bottom: 2.5rem;
  padding: 1.75rem 2rem;
  background: var(--sand);
  border-radius: var(--radius);
}
.swta-contact-intro__lead {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
}
.swta-contact-intro__phone {
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin: 0;
  color: var(--ink);
  opacity: 0.9;
}
.swta-contact-intro__phone svg { flex: none; width: 20px; height: 20px; color: var(--copper-700); }
.swta-contact-intro__phone a { font-weight: 600; color: var(--copper-700); }

.swta-contact-form { max-width: 640px; }
.swta-contact-form .wsite-form-field { margin-bottom: 1.1rem; }
.swta-contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.swta-contact-form input,
.swta-contact-form select,
.swta-contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  font-size: 16px;
  font-family: var(--font-body);
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  padding: 0.7em 0.85em;
  border: 1px solid rgba(43, 33, 24, 0.25);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}
.swta-contact-form input:focus,
.swta-contact-form select:focus,
.swta-contact-form textarea:focus {
  border-color: var(--patina-600);
  outline: none;
  box-shadow: 0 0 0 3px rgba(47, 107, 94, 0.2);
}

/* ---------- Footer ---------- */
.swta-footer {
  background: var(--dark);
  color: var(--cream-on-dark);
  padding: 3.5rem 1.25rem 2rem;
  margin-top: 3rem;
  border-top: 3px solid var(--copper-600);
}
.swta-footer a { color: var(--copper-on-dark); }
.swta-footer a:hover { color: var(--cream-on-dark); }

.swta-footer__grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 2rem;
}
@media (min-width: 640px) {
  .swta-footer__grid { grid-template-columns: 1.3fr 1fr; }
}

.swta-footer__logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--cream-on-dark);
  margin-bottom: 0.6rem;
}
.swta-footer__tagline {
  margin: 0;
  max-width: 42ch;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(245, 239, 230, 0.75);
}

.swta-footer__heading {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--cream-on-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 1rem;
}

.swta-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.swta-footer__list a {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  text-decoration: none;
}
.swta-footer__list a:hover { text-decoration: underline; }
.swta-footer__list svg {
  flex: none;
  width: 18px;
  height: 18px;
}

.swta-footer__custom {
  font-size: 0.9rem;
  color: rgba(245, 239, 230, 0.75);
}
.swta-footer__custom:empty { display: none; }

.swta-footer__bottom {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(245, 239, 230, 0.15);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(245, 239, 230, 0.6);
}
.swta-footer__bottom p { margin: 0; }

/* ---------- no-js fallback ---------- */
.js .swta-nav-js-only { }
.no-js .swta-nav-toggle { display: none; }
.no-js .swta-nav { display: block; position: static; box-shadow: none; padding: 0.5rem 0; }
.no-js .swta-chips { display: none; }
