/* ==========================================================================
   Rocks 'n Rags — Modernized Stylesheet (Refined Twilight Heritage)
   Preserves the signature #8461DF royal purple & #080848 midnight navy
   palette with WCAG 2.1 AA/AAA contrast, fluid responsive grids, and
   mobile-first ergonomics.
   ========================================================================== */

:root {
  /* Core Heritage Palette */
  --navy-deep: #080848;
  --navy-mid: #141252;
  --navy-ink: #17143b;
  --purple-brand: #8461df;
  --purple-rich: #623bc4;
  --purple-dark: #452396;
  --purple-soft: #ede9fa;
  --purple-tint: #f6f4fc;
  --purple-border: #d8cef5;

  /* Neutrals & Text (all verified WCAG AA/AAA) */
  --surface: #ffffff;
  --text-primary: #17143b;     /* 15.2:1 on #fff, 13.0:1 on #ede9fa */
  --text-secondary: #433c68;   /* 8.9:1 on #fff */
  --text-on-dark: #f8f7ff;     /* 18.0:1 on #080848 */
  --text-muted-dark: #c7d2fe;  /* 12.1:1 on #080848 */
  --credit-light-blue: #93c5fd;/* 11.1:1 on #080848 (WCAG AAA) */
  --credit-hover: #dbeafe;

  /* Accent & Focus */
  --link-color: #452396;       /* 10.1:1 on #fff */
  --link-hover: #623bc4;       /* 6.7:1 on #fff */
  --focus-ring: #60a5fa;

  /* Layout & Radii */
  --max-width: 1120px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 8px rgba(8, 8, 72, 0.08);
  --shadow-md: 0 8px 24px rgba(8, 8, 72, 0.12);
  --shadow-lg: 0 18px 40px rgba(8, 8, 72, 0.22);

  /* Typography */
  --font-display: Georgia, "Palatino Linotype", "Book Antiqua", Cambria, serif;
  --font-sans: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Verdana, Arial, sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-primary);
  background: linear-gradient(180deg, #dfd7f8 0%, var(--purple-soft) 240px, var(--purple-tint) 100%);
}

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

a {
  color: var(--link-color);
  text-underline-offset: 3px;
  transition: color 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

a:hover {
  color: var(--link-hover);
}

:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: 3px;
}

/* Skip Navigation Link (Accessibility) */
.skip-link {
  position: absolute;
  top: -120px;
  left: 1rem;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--navy-deep);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 2px solid var(--credit-light-blue);
}

.skip-link:focus {
  top: 0.75rem;
}

/* ==========================================================================
   Header & Primary Navigation
   ========================================================================== */
.site-header {
  background: var(--navy-deep);
  color: var(--text-on-dark);
  border-bottom: 3px solid var(--purple-brand);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(8, 8, 72, 0.25);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  min-height: 44px;
}

.brand-link:hover {
  color: var(--credit-light-blue);
}

.brand-mark {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 44px;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.nav-toggle:hover {
  background: rgba(132, 97, 223, 0.35);
}

.primary-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
}

.primary-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.5rem 0.85rem;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
}

.primary-nav a:hover {
  background: rgba(132, 97, 223, 0.35);
  color: #ffffff;
}

.primary-nav a[aria-current="page"],
.primary-nav a.is-section-active {
  background: var(--purple-brand);
  color: #ffffff;
  font-weight: 600;
}

.nav-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.92;
}

/* Section Sub-Navigation Bar (Jewelry / Quilts) */
.section-subnav {
  background: linear-gradient(90deg, #331d73 0%, #4a2a9e 50%, #331d73 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.section-subnav ul {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.35rem 1.25rem;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.65rem;
}

.section-subnav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.35rem 0.85rem;
  color: #f3f0ff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 999px;
}

.section-subnav a:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.section-subnav a[aria-current="page"] {
  background: #ffffff;
  color: var(--navy-deep);
  font-weight: 700;
}

/* ==========================================================================
   Hero Banners (Signature Purple/Navy Heritage)
   ========================================================================== */
.hero-banner {
  background: linear-gradient(135deg, #4b2a9e 0%, var(--purple-brand) 52%, #24196b 100%);
  color: #ffffff;
  padding: clamp(2rem, 5vw, 3.5rem) 1.25rem;
  border-bottom: 4px solid var(--navy-deep);
  position: relative;
  overflow: hidden;
}

.hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.14), transparent 55%),
              radial-gradient(circle at 82% 80%, rgba(8, 8, 72, 0.42), transparent 55%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.hero-home {
  display: grid;
  grid-template-columns: 160px 1fr 160px;
  align-items: center;
  gap: 1.5rem;
}

.hero-side-art {
  width: 160px;
  height: 160px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-lg);
  background: var(--navy-deep);
}

.hero-side-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-kicker {
  margin: 0 0 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e9e4ff;
}

.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.8vw, 3.35rem);
  line-height: 1.12;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(8, 8, 72, 0.42);
}

.hero-tagline {
  margin: 0.65rem auto 0;
  max-width: 60ch;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: #f4f1ff;
}

.hero-sub {
  margin: 0.75rem auto 0;
  max-width: 64ch;
  font-size: 1rem;
  color: #f3efff;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--navy-deep);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-primary:hover {
  background: #1d1870;
  color: #ffffff;
}

.btn-light {
  background: #ffffff;
  color: var(--navy-deep);
  border-color: #ffffff;
}

.btn-light:hover {
  background: var(--purple-soft);
  color: var(--navy-deep);
}

.btn-outline {
  background: transparent;
  color: var(--purple-dark);
  border-color: var(--purple-dark);
}

.btn-outline:hover {
  background: var(--purple-dark);
  color: #ffffff;
}

/* ==========================================================================
   Main Content Containers & Breadcrumbs
   ========================================================================== */
.main-content {
  flex: 1 0 auto;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(1.5rem, 3.5vw, 2.5rem) 1.25rem 3rem;
}

.breadcrumb {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.4rem;
  color: #7c6ca8;
}

.card {
  background: var(--surface);
  border: 1px solid var(--purple-border);
  border-radius: var(--radius-md);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
}

.card + .card {
  margin-top: 1.5rem;
}

.section-heading {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  color: var(--navy-deep);
  line-height: 1.25;
}

.section-intro {
  margin: 0 0 1.5rem;
  color: var(--text-secondary);
  max-width: 72ch;
}

/* ==========================================================================
   Home Page Dual-Artist Showcase
   ========================================================================== */
.artist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.artist-card {
  background: var(--surface);
  border: 1px solid var(--purple-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

.artist-card-media {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--navy-deep);
  aspect-ratio: 16 / 7;
}

.artist-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.artist-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.artist-card-body h2 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--navy-deep);
}

.artist-name {
  margin: 0 0 0.85rem;
  font-weight: 600;
  color: var(--purple-dark);
  font-size: 0.95rem;
}

.artist-card-body p {
  margin: 0 0 1.15rem;
  color: var(--text-secondary);
}

.artist-card-links {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--purple-soft);
}

.artist-email {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Category & Photo Gallery Grids
   ========================================================================== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.35rem;
}

.category-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--purple-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--purple-brand);
  color: inherit;
}

.category-thumb {
  aspect-ratio: 4 / 3;
  background: #13112b;
  overflow: hidden;
}

.category-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.category-card:hover .category-thumb img {
  transform: scale(1.04);
}

.category-card-body {
  padding: 1.1rem 1.2rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.category-card-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy-deep);
}

.category-card-desc {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.category-count {
  margin-top: auto;
  display: inline-block;
  align-self: flex-start;
  padding: 0.2rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--purple-dark);
  background: var(--purple-soft);
  border-radius: 999px;
}

/* Artwork Thumbnail Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1.15rem;
}

.gallery-item {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--purple-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--purple-brand);
}

.gallery-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.gallery-thumb {
  aspect-ratio: 1 / 1;
  background: #14122b;
  overflow: hidden;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.gallery-item:hover .gallery-thumb img {
  transform: scale(1.04);
}

.gallery-caption {
  padding: 0.75rem 0.85rem;
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy-deep);
}

/* Individual Artwork Detail Page */
.artwork-detail {
  background: var(--surface);
  border: 1px solid var(--purple-border);
  border-radius: var(--radius-md);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.artwork-stage {
  margin: 1rem auto 1.25rem;
  display: inline-flex;
  justify-content: center;
  background: #110f24;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  border: 2px solid var(--navy-deep);
  max-width: 100%;
}

.artwork-stage img {
  max-height: 72vh;
  width: auto;
  max-width: 100%;
  border-radius: 6px;
}

.artwork-nav {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--purple-soft);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

/* ==========================================================================
   Biography, Materials, Events & Contact Layouts
   ========================================================================== */
.prose {
  max-width: 74ch;
}

.prose p {
  margin: 0 0 1.05rem;
}

.prose ul {
  margin: 0 0 1.25rem;
  padding-left: 1.35rem;
}

.prose li {
  margin-bottom: 0.45rem;
}

.bio-layout {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 2rem;
  align-items: start;
}

.bio-layout--left {
  grid-template-columns: 300px 1fr;
}

.bio-figure {
  margin: 0;
  background: var(--purple-tint);
  border: 1px solid var(--purple-border);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  text-align: center;
}

.bio-figure img {
  margin: 0 auto;
  border-radius: var(--radius-sm);
}

.bio-figure figcaption {
  margin-top: 0.55rem;
  font-size: 0.875rem;
  font-style: italic;
  color: var(--text-secondary);
}

.press-callout {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.25rem;
  align-items: center;
  margin: 1.35rem 0;
  padding: 1rem;
  background: var(--purple-tint);
  border-left: 4px solid var(--purple-brand);
  border-radius: var(--radius-sm);
}

.press-callout img {
  border-radius: var(--radius-sm);
  border: 1px solid var(--purple-border);
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.15rem;
  margin-top: 1rem;
}

.material-card {
  background: var(--purple-tint);
  border: 1px solid var(--purple-border);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
}

.material-card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy-deep);
}

.material-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* Events Timeline Table / Cards */
.events-list {
  display: grid;
  gap: 1rem;
}

.event-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.25rem;
  padding: 1.25rem 1.4rem;
  background: var(--purple-tint);
  border: 1px solid var(--purple-border);
  border-left: 5px solid var(--purple-rich);
  border-radius: var(--radius-md);
}

.event-date {
  font-weight: 700;
  color: var(--purple-dark);
  font-size: 0.95rem;
}

.event-time {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.event-body h3 {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy-deep);
}

.event-location {
  margin: 0 0 0.55rem;
  font-style: italic;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.peer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.peer-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: var(--purple-tint);
  border: 1px solid var(--purple-border);
  border-radius: var(--radius-md);
}

.peer-card img {
  width: 56px;
  height: auto;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.contact-card {
  padding: 1.4rem;
  background: var(--purple-tint);
  border: 1px solid var(--purple-border);
  border-top: 4px solid var(--purple-brand);
  border-radius: var(--radius-md);
}

.contact-card h2 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--navy-deep);
}

.contact-role {
  margin: 0 0 0.9rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ==========================================================================
   Accessible Lightbox Dialog
   ========================================================================== */
dialog.lightbox {
  padding: 0;
  border: none;
  border-radius: var(--radius-md);
  background: #100e26;
  color: #ffffff;
  max-width: min(94vw, 1060px);
  max-height: 92vh;
  width: auto;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65);
  overflow: hidden;
}

dialog.lightbox::backdrop {
  background: rgba(8, 8, 40, 0.84);
  backdrop-filter: blur(4px);
}

.lightbox-shell {
  display: flex;
  flex-direction: column;
  max-height: 92vh;
}

.lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.lightbox-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #ffffff;
}

.lightbox-counter {
  font-size: 0.85rem;
  color: var(--text-muted-dark);
  margin-left: 0.65rem;
}

.lightbox-close {
  min-width: 44px;
  min-height: 44px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-sm);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover {
  background: var(--purple-brand);
}

.lightbox-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: #0b091c;
  min-height: 260px;
  overflow: auto;
}

.lightbox-stage img {
  max-height: 68vh;
  max-width: 100%;
  width: auto;
  height: auto;
  border-radius: 4px;
}

.lightbox-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  background: var(--navy-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.lightbox-nav-btn {
  min-width: 44px;
  min-height: 44px;
  padding: 0.45rem 0.95rem;
  background: rgba(132, 97, 223, 0.28);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.lightbox-nav-btn:hover {
  background: var(--purple-brand);
}

.lightbox-permalink {
  color: var(--credit-light-blue);
  font-size: 0.875rem;
}

.lightbox-permalink:hover {
  color: #ffffff;
}

/* ==========================================================================
   Site Footer & Selvasoft Solutions LLC Credit Line
   ========================================================================== */
.site-footer {
  background: linear-gradient(180deg, var(--navy-mid) 0%, var(--navy-deep) 100%);
  color: var(--text-on-dark);
  border-top: 3px solid var(--purple-brand);
  padding: 1.75rem 1.25rem 1.5rem;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.25rem;
  margin: 0 0 0.9rem;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: var(--text-on-dark);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.25rem 0.35rem;
}

.footer-links a:hover {
  color: var(--credit-light-blue);
  text-decoration: underline;
}

.footer-copyright {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted-dark);
}

/* Discrete light blue italic credit line — consistent small readable point size */
.credit-line {
  margin: 0.65rem 0 0;
  font-style: italic;
  font-size: 0.8125rem; /* ~9.75pt / 13px */
  line-height: 1.5;
  color: var(--credit-light-blue);
}

.credit-line a {
  color: var(--credit-light-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.credit-line a:hover,
.credit-line a:focus-visible {
  color: var(--credit-hover);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 860px) {
  .hero-home {
    grid-template-columns: 1fr;
  }

  .hero-side-art {
    display: none;
  }

  .artist-grid,
  .bio-layout,
  .bio-layout--left {
    grid-template-columns: 1fr;
  }

  .event-card {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .primary-nav {
    display: none;
    width: 100%;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  .primary-nav a {
    width: 100%;
  }

  .press-callout {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.85rem;
  }
}

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