/* ============================================================
   Graven Trace Art Exhibition — Public Site (redesigned 2026/08)
   Spec: images 11–18 — purple #894094 accent, 1280px container,
   13px side borders, 30px nav, Inter body type.
   ============================================================ */

:root {
  --bg: #070707;          /* 21.jpg: 主内容背景 */
  --bg-elev: #1a1a1a;     /* 卡片底色，保持不变 */
  --bg-card: #ffffff;
  --fg: #f4f4f4;
  --muted: #5a5959;
  --muted-2: #8a8a8a;
  --accent: #894094;
  --accent-strong: #6d2e76;
  --accent-soft: #c39bcc;
  --header-bg: #000000;   /* 21.jpg: 导航栏背景 */
  --footer-bg: #000000;   /* 21.jpg: 页脚背景 */
  --danger: #f87171;
  --info: #38bdf8;
  --header-h: 30px;       /* 21.jpg: 导航栏高度 30px (was 64px) */
  --page-w: 1280px;
  --side-border: 13px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: var(--bg); color: var(--fg); min-height: 100vh; line-height: 1.5; }
h1, h2, h3 { margin: 0 0 0.6em; line-height: 1.1; font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 6vw, 4rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-strong); }
img { max-width: 100%; height: auto; display: block; }
.muted { color: var(--muted); }

/* ============================================================
   Container & page shell
   ============================================================ */
.container { max-width: var(--page-w); margin: 0 auto; padding: 0 1.5rem; }
.page {
  max-width: var(--page-w);
  margin: 0 auto;
  padding-left: var(--side-border);
  padding-right: var(--side-border);
}

/* ============================================================
   Site header — nav row (sticky).
   Layout: nav (700px) + hamburger toggle both flush right
   (justify-content: flex-end). Toggle is a sibling of .site-nav,
   so it survives when .site-nav is hidden on small screens, and
   ends up at the right edge in that case.
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: flex-end;
  gap: 16px;
  height: var(--header-h); padding: 0 32px;
  background: var(--header-bg);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.site-header.is-transparent { background: transparent; border-bottom-color: transparent; }
.site-logo { display: none; }

.site-nav { display: flex; gap: 0.6rem; align-items: center; width: 700px; justify-content: flex-end; }
.site-nav a {
  color: #5a5959;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  font-weight: 400;
  padding: 0.4rem 0.1rem;
  position: relative;
  white-space: nowrap;
}
.site-nav a:hover { color: #894094; }
.site-nav a.active { color: #894094; font-weight: 700; }

/* Hamburger toggle — always rendered, but only visible on small screens. */
.site-nav-toggle {
  display: none;
  background: transparent; border: 0; color: var(--fg);
  font-size: 1.7rem; line-height: 1;
  padding: 8px 10px; margin-right: -10px;
  cursor: pointer; border-radius: 4px;
  transition: background 160ms;
}
.site-nav-toggle:hover { background: rgba(255, 255, 255, 0.06); }
.site-nav-toggle:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}

/* Full-screen mobile menu overlay. */
.site-nav-overlay {
  position: fixed; inset: 0; background: var(--bg);
  display: none; flex-direction: column; justify-content: center; align-items: center;
  gap: 1.5rem; z-index: 100;
  padding: 24px;
}
.site-nav-overlay.is-open { display: flex; }
.site-nav-overlay a {
  font-size: 1.4rem; text-transform: uppercase; color: #5a5959;
  padding: 0.6rem 1rem; letter-spacing: 0.08em; font-weight: 400;
}
.site-nav-overlay a:hover, .site-nav-overlay a:active { color: #894094; }
.site-nav-overlay .close {
  position: absolute; top: 1rem; right: 1rem;
  width: 44px; height: 44px;
  font-size: 2rem; cursor: pointer;
  background: transparent; border: 0; color: var(--fg);
  display: grid; place-items: center;
  border-radius: 4px;
}
.site-nav-overlay .close:hover { background: rgba(255, 255, 255, 0.08); }
body.menu-open { overflow: hidden; }

/* ============================================================
   Page banner — annual decorative strip BELOW the nav, spanning
   full viewport width. 1280×87 px design size, pure decoration
   (aria-hidden). CMS-uploaded image at siteConfig.competitionBannerUrl;
   replaced yearly.
   ============================================================ */
.page-banner {
  width: 100%;
  max-width: 1280px;            /* fixed design width, image is 1280×87 */
  height: 87px;
  margin: 0 auto;               /* center on wider viewports — no side fill */
  overflow: hidden;
}
.page-banner img {
  display: block;
  width: 1280px;                /* natural design size — no stretching */
  height: 87px;
  max-width: 100%;              /* scales down on viewports narrower than 1280 */
  object-fit: cover;
  object-position: center;
}

/* ============================================================
   Page heading — title (30, #894094) + subtitle (18, #5a5959)
   ============================================================ */
.page-heading {
  text-align: center;
  padding: 7px 0 15px;
}
.page-heading h1 {
  margin: 0;
  font-size: 30px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0;
  line-height: 1.2;
}
.page-heading .subtitle {
  margin: 8px 0 0;
  font-size: 18px;
  color: var(--muted);
  padding-bottom: 15px;
}

/* ============================================================
   Featured invitation strip (home + artists list)
   Per design (1.png ref): title 30px #4b2153 Inter Bold
                       subtitle 18px #5a5959
   ============================================================ */
.invitation-strip {
  text-align: center;
  padding: 15px 0 15px;
}
.invitation-strip .title {
  font-size: 30px;
  font-weight: 800;       /* Inter Bold mapping; falls back to 800 if Inter loaded */
  color: #4b2153;
  margin: 0 0 7px;
  line-height: 1.2;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.invitation-strip .body,
.invitation-strip .subtitle {
  font-size: 18px;
  color: #5a5959;
  max-width: 880px;
  margin: 0 auto;
  line-height: 1.6;
}
.invitation-strip .body a,
.invitation-strip .subtitle a {
  color: #4b2153;
  font-weight: 700;
}

/* ============================================================
   Artist cards (home + list)
   ============================================================ */
.artist-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.artist-card {
  background: var(--bg-elev);
  border-radius: 12px;
  overflow: hidden;
  color: var(--fg);
  transition: transform 200ms;
  display: block;
  text-decoration: none;
}
.artist-card:hover { transform: translateY(-4px); }
.artist-card .thumb {
  aspect-ratio: 3/4;
  object-fit: cover;
  width: 100%;
  background: #000;
}
.artist-card .name {
  display: block;
  padding: 0.8rem 1rem 0;
  font-weight: 700;
  color: var(--fg);
}
.artist-card .country {
  display: block;
  padding: 0 1rem 0.8rem;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Artists list — square 300×300 thumbnails, top-cropped.
   Image width: auto so uploads keep their natural aspect ratio
   (no horizontal stretch). Name + country stay below as before. */
.artist-grid--list {
  grid-template-columns: repeat(4, 300px);
  justify-content: center;
}
.artist-grid--list .artist-card .thumb {
  display: block;
  width: 100%;          /* fill card so image scales with viewport on mobile */
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: top;
  background: #000;
}

/* ============================================================
   Artist detail / Artist row (image left, info right)
   Spec 2.jpg: left 539x958 poster + 60px gap + right name/studio/
   country/bio + bottom 350x625 work photo. Right column content
   all left-aligned as a single block.
   ============================================================ */
/* Per-page overrides — 15px from banner, 10px gaps, work/poster
   bottom-aligned, 15px to footer. */
.artist-detail-page .artist-detail {
  padding: 15px 0 0;
  align-items: end;
}
.artist-detail-page .artist-detail .info { gap: 10px; }
.artist-detail-page .artist-detail .info > * { margin: 0; }
.artist-detail-page .artist-detail .info .studio { color: #5a5959; }
.artist-detail-page .artist-detail .info .country { font-size: 18px; }
.artist-detail-page .artist-detail .info .instagram-link {
  display: inline-block;
  align-self: flex-start;
  font-size: 14px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
}
.artist-detail-page .site-footer { margin-top: 15px; }

.artist-detail {
  display: grid;
  grid-template-columns: minmax(0, 539px) minmax(0, 1fr);
  gap: 60px;
  padding: 30px 0;
  align-items: start;
}
.artist-detail .poster-wrap {
  background: var(--accent);
  border-radius: 4px;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 539 / 958;
  position: relative;
}
.artist-detail .poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.artist-detail .info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.artist-detail .info .name {
  font-family: 'Inter', sans-serif;
  font-size: 60px;
  font-weight: 900;       /* Per 2.jpg "超粗字体" annotation */
  color: #4b2153;
  letter-spacing: 0;
  margin: 0 0 4px;
  line-height: 1.05;
  text-transform: uppercase;
}
.artist-detail .info .studio {
  font-family: 'Inter', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #4b2153;
  letter-spacing: 0;
  line-height: 1.1;
  margin: 0 0 6px;
}
.artist-detail .info .country {
  font-family: 'Inter', sans-serif;
  font-size: 30px;
  font-weight: 400;
  color: #5a5959;
  letter-spacing: 0;
  line-height: 1.1;
  margin: 0 0 22px;
  text-transform: uppercase;
}
.artist-detail .info .bio {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--fg);
  line-height: 1.6;
  margin: 0 0 18px;
  white-space: pre-line;
}
.artist-detail .info .work {
  align-self: flex-start;
  width: 100%;
  max-width: 350px;
  margin-top: 12px;
  background: var(--bg-elev);
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 350 / 625;
  position: relative;
  cursor: zoom-in;
}
.artist-detail .info .work:hover { outline: 2px solid var(--accent); }
.artist-detail .info .work img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.artist-detail .info .work-empty {
  align-self: flex-start;
  width: 100%;
  max-width: 350px;
  margin-top: 12px;
  background: var(--bg-elev);
  border-radius: 4px;
  aspect-ratio: 350 / 625;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.artist-detail .back-link {
  margin-top: 28px;
  display: inline-block;
  font-size: 14px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================================
   Lightbox (click work photo to zoom, ESC/X to close)
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
}
.lightbox.is-open {
  display: flex;
}
.lightbox__img {
  max-width: 92vw;
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  border-radius: 4px;
  background: #000;
}
.lightbox__close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 32px;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 180ms;
}
.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
}
body.lightbox-open {
  overflow: hidden;
}

/* ============================================================
   Vendor grid (3 columns)
   ============================================================ */
/* Per-page vertical rhythm: 15/7/15/15 between banner→text,
   text↔text, text→image, image→footer. */
.vendors-page .page-heading { padding: 15px 0 0; }
.vendors-page .page-heading .subtitle { margin-top: 7px; padding-bottom: 0; }
.vendors-page .vendor-grid { margin-top: 15px; }
.vendors-page .site-footer { margin-top: 15px; }

.vendor-grid { display: grid; grid-template-columns: repeat(3, 390px); gap: 18px; justify-content: center; }
.vendor-card {
  background: var(--bg-card);
  border-radius: 6px;
  padding: 0;
  width: 390px;
  max-width: 100%;
  aspect-ratio: 13 / 8;       /* 390 / 240 */
  position: relative;
  transition: transform 200ms;
  text-decoration: none;
  overflow: hidden;
  margin: 0 auto;
}
.vendor-card:hover { transform: translateY(-4px); }
.vendor-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;              /* small inner padding so logos don't touch edges */
}

/* ============================================================
   Competitions (3-Day Tattoo Contest)
   ============================================================ */
/* Per-page vertical rhythm: 15/7/15/15 between banner→text,
   text↔text, text→image, image→footer. */
.competitions-page .page-heading { padding: 15px 0 0; }
.competitions-page .page-heading .subtitle { margin-top: 7px; padding-bottom: 0; }
.competitions-page .infos-image { padding: 0; margin-top: 15px; }
.competitions-page .site-footer { margin-top: 15px; }

.day-group {
  margin-bottom: 30px;
  padding: 0 0 15px;
}
.day-group h3 {
  color: var(--accent);
  font-size: 22px;
  border-bottom: 2px solid var(--accent);
  padding: 7px 0 15px;
  margin-bottom: 15px;
  font-weight: 800;
}
.day-group .cat-list { display: grid; grid-template-columns: 1fr; gap: 12px; }
.day-group .cat-card {
  background: var(--bg-elev);
  padding: 16px 20px;
  border-radius: 8px;
}
.day-group .cat-card .name { font-weight: 700; font-size: 1.1rem; }
.day-group .cat-card .time { color: var(--muted); margin-top: 0.3rem; font-size: 0.9rem; }
.day-group .cat-card .desc { margin-top: 0.5rem; color: var(--muted); }

/* ============================================================
   Live shows
   ============================================================ */
/* Per-page vertical rhythm: 15/7/15/15 between banner→text,
   text↔text, text→image, image→footer. */
.live-shows-page .page-heading { padding: 15px 0 0; }
.live-shows-page .page-heading .subtitle { margin-top: 7px; padding-bottom: 0; }
.live-shows-page .infos-image { padding: 0; margin-top: 15px; }
.live-shows-page .site-footer { margin-top: 15px; }

.show-list { display: grid; gap: 1.2rem; }
.show-card {
  background: var(--bg-elev);
  padding: 1.5rem;
  border-radius: 12px;
}
.show-card .title { font-weight: 700; font-size: 1.2rem; color: var(--accent); }
.show-card .meta { color: var(--muted); margin-top: 0.3rem; font-size: 0.9rem; }
.show-card .desc { margin-top: 0.6rem; }

/* ============================================================
   Infos (How to Arrive)
   ============================================================ */
/* Per-page vertical rhythm: 15/7/15/15/15/5/15px between
   banner→text, text↔text, text→image, image→section,
   section↔section, <p>↔<p>, last-section→footer. */
.infos-page .page-heading { padding: 15px 0 0; }
.infos-page .page-heading .subtitle { margin-top: 7px; padding-bottom: 0; }
.infos-page .infos-image { padding: 0; margin-top: 15px; }
.infos-page .infos-section { margin-top: 15px; margin-bottom: 0; padding-bottom: 0; }
.infos-page .infos-section .body p { margin: 0 0 5px; }
.infos-page .infos-section .body p:last-child { margin-bottom: 0; }
.infos-page .site-footer { margin-top: 15px; }

.infos-image {
  text-align: center;
  padding: 15px 0;
}
.infos-image img {
  width: 1254px;
  max-width: 100%;
  height: auto;
  display: inline-block;
  background: linear-gradient(135deg, #2a0d3a 0%, #5b1f6e 40%, #8b2a9b 100%);
  min-height: 320px;
}
.infos-section {
  margin-bottom: 30px;
  padding: 0 0 15px;
}
.infos-section h2 {
  color: var(--accent);
  font-size: 22px;
  margin-bottom: 12px;
  font-weight: 800;
}
.infos-section .body {
  color: var(--fg);
  font-size: 16px;
  line-height: 1.7;
}
.infos-section .body h1 { color: var(--accent); font-size: 24px; margin-top: 0; }

/* ============================================================
   Contacts
   ============================================================ */
/* Per-page vertical rhythm: 15px above and below the h1;
   15px from contact list to footer (page bottom). */
.contacts-page .page-heading { padding: 15px 0; }
.contacts-page .contact-list { padding-bottom: 0; }
.contacts-page .site-footer { margin-top: 15px; }

.contact-list { max-width: 640px; margin: 0 auto; display: grid; gap: 14px; padding: 0 0 15px; }
.contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--bg-elev);
  border-radius: 8px;
}
.contact-row .badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 4px;
  min-width: 64px;
  text-align: center;
}
.contact-row .value { color: var(--fg); font-weight: 600; }
.contact-row .value a { color: var(--fg); }

/* ============================================================
   Home page — invitation + featured artists + sidebar
   ============================================================ */
.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 30px;
  padding: 0 0 30px;
  align-items: start;
}
.home-grid .featured {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.home-sidebar {
  background: var(--bg);
  border-left: 1px solid rgba(255,255,255,0.06);
  padding-left: 30px;
}
.home-sidebar .venue {
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  font-size: 48px;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: 0;
  line-height: 1;
  margin: 0 0 4px;
}
.home-sidebar .year {
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  font-size: 240px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin: 0 0 30px;
}
.home-sidebar .dates {
  display: grid;
  gap: 8px;
  text-align: right;
}
.home-sidebar .dates .date {
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  font-size: 36px;
  font-weight: 900;
  color: var(--accent-soft);
  line-height: 1;
}
.home-sidebar .dates .date strong {
  color: #fff;
  margin-right: 12px;
  font-weight: 900;
}
.home-sidebar .hours {
  margin-top: 16px;
  font-size: 18px;
  font-weight: 700;
  color: var(--muted);
  text-align: right;
}
.home-sidebar .poster-card {
  margin-top: 24px;
  background: var(--accent);
  border-radius: 6px;
  aspect-ratio: 625 / 883;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  font-size: 28px;
  text-align: center;
  padding: 24px;
  line-height: 1.1;
}
.home-sidebar .poster-card .zh { font-size: 36px; }

/* ============================================================
   Home page — artist grid (25.jpg: 4 columns × up to 2 rows)
   ============================================================ */
/* Per-page vertical rhythm on home:
   - 0 gap between nav and hero (no annual banner on home)
   - 15px hero → event (poster/info row)
   - 15px event → artist grid
   - 15px artist grid → footer */
.home-page .home-hero { margin: 0; }
.home-page .home-event { padding: 15px 0 0; }
.home-page .artist-grid--list { padding: 0; margin-top: 15px; }
.home-page .site-footer { margin-top: 15px; }

.home-hero {
  margin: 16px 0 0;
  background: linear-gradient(135deg, #2a0d3a 0%, #5b1f6e 45%, #8b2a9b 100%);
  border-radius: 6px;
  overflow: hidden;
}
.home-hero img {
  width: 100%;
  height: auto;
  display: block;
}

/* (No .home-artist-grid — home now reuses .artist-grid--list so it
   matches /artists exactly. See "Artist cards (home + list)" section.) */

/* Home event section (poster card + event details) */
.home-event {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px;
  padding: 15px 0 15px;
  /* Stretch both columns so the .home-event__info flex column matches the
     poster height; margin-top: auto on .home-event__link-img then drops the
     CTA to the bottom (so left poster and right info share a baseline). */
  align-items: stretch;
}
.home-event__poster {
  display: block;
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  background: linear-gradient(160deg, #2a0d3a 0%, #5b1f6e 50%, #8b2a9b 100%);
  transition: transform 200ms;
}
.home-event__poster:hover { transform: translateY(-4px); }
.home-event__poster-img {
  display: block;
  width: 100%;
  height: 100%;            /* fill the stretch'd column so no gradient gap below */
  aspect-ratio: 625 / 883; /* natural ratio; object-fit: cover crops if column taller */
  object-fit: cover;
}
.home-event__info {
  display: flex;
  flex-direction: column;
  padding-top: 8px;
}
.home-event__venue {
  font-family: 'Inter', sans-serif;
  font-size: 48px;
  font-weight: 900;            /* Inter Black */
  color: #4b2153;
  letter-spacing: 0.04em;
  line-height: 1.1;
  margin: 0 0 15px;            /* 15px gap to year */
  text-transform: uppercase;
}
.home-event__year {
  font-family: 'Inter', sans-serif;
  font-size: 240px;
  font-weight: 900;            /* Inter Black */
  color: #ffffff;
  letter-spacing: 0.02em;
  line-height: 0.95;
  margin: 0 0 60px;            /* 60px gap to dates */
}
.home-event__dates {
  display: grid;
  gap: 4px;
  margin: 0 0 3px;             /* 3px gap to hours */
}
.home-event__date {
  font-family: 'Inter', sans-serif;
  font-size: 72px;
  font-weight: 900;            /* Inter Black */
  letter-spacing: 0.05em;
  line-height: 1;
  margin: 0;
}
/* Per-day colors: day.1 (25) & day.3 (27) brand purple, day.2 (26) white */
.home-event__date:nth-child(1) { color: #4b2153; }
.home-event__date:nth-child(2) { color: #ffffff; }
.home-event__date:nth-child(3) { color: #4b2153; }
.home-event__date strong {
  color: inherit;
  margin-right: 16px;
  font-weight: 900;
}
.home-event__hours {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 400;            /* Inter Regular */
  color: #5a5959;
  letter-spacing: 0.02em;
  margin: 0;
}
.home-event__link-img {
  display: block;
  /* Push the CTA to the bottom of the .home-event__info flex column so the
     right column ends at the same vertical position as the poster on the
     left. */
  margin-top: auto;
  padding-top: 16px;
  width: 100%;
  /* No max-width: let the image / button consume the full info-column width
     (auto = whatever width the content needs, up to the column). When a real
     image is uploaded via CMS it'll render at its natural aspect ratio. */
  aspect-ratio: 320 / 100;
  border-radius: 4px;
  overflow: hidden;
  background: linear-gradient(135deg, #2a2a2a 0%, #4a4a4a 100%);
  text-decoration: none;
  transition: transform 200ms;
}
.home-event__link-img:hover { transform: translateY(-4px); }
.home-event__link-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CTA moved from .home-event__cta to home-artist-grid bottom-right */
.home-artist-grid__cta-wrap {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  padding-top: 8px;
}
.home-artist-grid__cta {
  display: inline-block;
  padding: 14px 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 180ms;
}
.home-artist-grid__cta:hover {
  background: rgba(137, 64, 148, 0.4);
  color: #fff;
}

/* ============================================================
   Pagination
   ============================================================ */
.pagination { display: flex; gap: 0.6rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; }
.pagination a, .pagination span {
  display: inline-block; padding: 0.4rem 0.8rem; border: 1px solid var(--bg-elev);
  border-radius: 6px; color: var(--fg); text-decoration: none; min-width: 2.2rem; text-align: center;
}
.pagination a:hover { border-color: var(--accent); }
.pagination .active { background: var(--accent); border-color: var(--accent); color: #fff; }
.pagination .disabled { color: var(--muted); border-color: transparent; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--footer-bg);
  margin-top: 30px;
  padding: 15px 0 30px;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.site-footer .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  align-items: center;
}
.site-footer .info {
  color: #5a5959;
  font-size: 16px;
  line-height: calc(1em + 3px);   /* 16px font + 3px gap between lines */
}
.site-footer .info > div:last-child { margin-top: 15px; }
.site-footer .info strong { color: inherit; }
.site-footer .info a { color: inherit; }
.site-footer .watermark {
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  font-size: clamp(2.4rem, 8vw, 5rem);
  font-weight: 900;
  color: rgba(15, 15, 15, 0.85);
  line-height: calc(1em + 3px);   /* font + 3px gap between lines */
  text-align: right;
}
.site-footer .copyright {
  color: #5a5959;
  font-size: 13px;
  margin-top: 18px;
  margin-bottom: 0;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .artist-grid { grid-template-columns: repeat(2, 1fr); }
  .vendor-grid { grid-template-columns: repeat(2, 390px); }
  .artist-detail { grid-template-columns: 1fr; gap: 24px; }
  .artist-detail .info .work,
  .artist-detail .info .work-empty {
    align-self: flex-start;
    max-width: 350px;
    margin-left: 0;
    margin-right: auto;
  }
  .artist-detail .info .name { font-size: 44px; }
  .artist-detail .info .studio { font-size: 28px; }
  .artist-detail .info .country { font-size: 22px; }
  .invitation-strip .title { font-size: 24px; }
  .invitation-strip .subtitle { font-size: 16px; }
  .home-event { grid-template-columns: 1fr; gap: 30px; }
  .home-event__venue { font-size: 30px; }
  .home-event__year { font-size: 150px; }
  .home-event__date { font-size: 44px; }
  .home-event__hours { font-size: 44px; }
  .site-footer .row { grid-template-columns: 1fr; }
  .site-footer .watermark { text-align: left; }
}
@media (max-width: 960px) {
  /* Nav is fixed 700px wide; only tighten the header padding here. */
  .site-header { padding: 0 20px; }
}
@media (max-width: 700px) {
  /* Phones: hide link bar, show hamburger. The toggle is a sibling of
     .site-nav inside .site-header, so it survives .site-nav being hidden
     and stays flush right thanks to .site-header's flex-end. */
  .site-nav { display: none; }
  .site-nav-toggle { display: block; }
  .site-header { padding: 0 16px; }
  .artist-grid { grid-template-columns: 1fr; }
  .vendor-grid { grid-template-columns: 1fr; }
  .artist-detail .gallery { grid-template-columns: 1fr; }
  .invitation-strip .title { font-size: 20px; }
  .invitation-strip .subtitle { font-size: 15px; }
  .home-event__venue { font-size: 22px; letter-spacing: 0.05em; }
  .home-event__year { font-size: 100px; }
  .home-event__date { font-size: 32px; }
  .home-event__hours { font-size: 32px; }
  .section { padding: 2rem 0; }
}