:root {
  --ink: #000000;
  --paper: #ffffff;
  --accent: #ed1c24;
  --accent-dark: #c41219;
  --muted: #727272;
  --line: #e0e0e0;
  --site-max: 980px;
  --font-display: "Fahkwang", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 9999;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  background: #fff;
  position: relative;
  z-index: 100;
}

.site-header a,
.site-header button {
  position: relative;
  z-index: 2;
}

.header-inner {
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 18px 24px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  margin-bottom: 8px;
  text-decoration: none;
  color: var(--ink);
}

.brand:hover {
  color: var(--ink);
}

.brand img {
  width: 85px;
  height: 59px;
  object-fit: cover;
  flex-shrink: 0;
}

.brand-text {
  font-family: var(--font-display);
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-transform: uppercase;
  text-align: center;
  flex: 1;
}

.header-rule {
  max-width: var(--site-max);
  margin: 0 auto;
  border: none;
  border-top: 1px solid var(--line);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.45rem 0.65rem;
  border-radius: 0;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  margin-bottom: 8px;
}

.site-nav {
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 0 24px 14px;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.25rem 2.25rem;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-nav a,
.nav-drop-trigger {
  display: inline-block;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  color: var(--ink);
  font: inherit;
  font-family: var(--font-display);
  letter-spacing: inherit;
  text-transform: uppercase;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  cursor: pointer;
}

.site-nav a[aria-current="page"],
.nav-dropdown.is-active-section > .nav-drop-trigger {
  color: var(--muted);
  border-bottom-color: var(--accent);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  padding: 6px 0;
  flex-direction: column;
  gap: 0;
  z-index: 50;
  font-size: 13px;
}

.nav-dropdown.is-open ul,
.nav-dropdown:hover ul,
.nav-dropdown:focus-within ul {
  display: flex;
}

.nav-dropdown ul a {
  display: block;
  padding: 8px 16px;
  border-bottom: none;
  text-transform: uppercase;
}

.nav-dropdown ul a[aria-current="page"] {
  color: var(--muted);
}

.tagline-bar {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin: 0;
}

main {
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.page-intro {
  max-width: 42rem;
  margin-bottom: 2.5rem;
}

.page-intro h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 400;
  margin: 0 0 0.75rem;
  line-height: 1.2;
  text-transform: none;
  color: var(--ink);
}

.page-intro .lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0;
}

.hero-exhibition {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
  padding: 2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.hero-exhibition .badge {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: var(--font-display);
  margin-bottom: 0.5rem;
}

.hero-exhibition h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin: 0 0 0.5rem;
  font-weight: 400;
}

.hero-exhibition .dates {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.hero-exhibition p {
  margin: 0 0 1.25rem;
}

.btn {
  display: inline-block;
  padding: 0.65rem 1.35rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: #fff;
}

.hero-exhibition figure {
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #eee;
}

.hero-exhibition figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.75rem;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.card > a {
  display: block;
  color: inherit;
}

.card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ebe8e4;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.card:hover .card-media img {
  transform: scale(1.03);
}

.card-body {
  padding: 1.1rem 1.25rem 1.35rem;
}

.card-body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.35rem;
  font-weight: 400;
}

.card-body .meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  margin: 0 0 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
}

.exhibition-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.exhibition-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.25rem;
  align-items: start;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

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

.exhibition-row img {
  width: 140px;
  height: 180px;
  object-fit: cover;
  border-radius: 3px;
  background: #eee;
}

.exhibition-row h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.25rem;
  font-weight: 400;
}

.exhibition-row .dates {
  font-size: 0.9rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.exhibition-row p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.cta-band {
  margin-top: 3rem;
  padding: 2rem;
  text-align: center;
  background: var(--ink);
  color: #f5f3f0;
  border-radius: 4px;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin: 0 0 0.5rem;
  font-weight: 400;
}

.cta-band p {
  margin: 0 0 1.25rem;
  opacity: 0.9;
}

.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  margin-top: 2rem;
}

.footer-inner {
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.footer-inner h2 {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
  font-weight: 400;
}

.footer-inner p,
.footer-inner address {
  margin: 0 0 0.5rem;
  font-style: normal;
  font-size: 0.95rem;
  color: var(--muted);
}

.footer-inner a {
  color: var(--ink);
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
}

.social-links a:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.social-links svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-bottom {
  text-align: center;
  padding: 1rem 1.25rem 1.5rem;
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .hero-exhibition {
    grid-template-columns: 1fr;
  }

  .hero-exhibition figure {
    max-height: 420px;
    aspect-ratio: 16 / 10;
  }
}

.content-prose {
  max-width: 42rem;
}

.content-prose p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.content-prose h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  margin: 2rem 0 0.75rem;
  color: var(--ink);
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2.5rem;
  align-items: start;
}

.split-layout figure {
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.split-layout figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.25rem 1.35rem;
}

.contact-card h2 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
  font-weight: 400;
  color: var(--accent);
}

.contact-card p {
  margin: 0;
  font-size: 1rem;
}

.gallery-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.5rem 1.75rem 1.75rem;
  max-width: 40rem;
}

.gallery-form h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 1rem;
  font-weight: 400;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}

.form-field input,
.form-field textarea,
.form-field select {
  font: inherit;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--paper);
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-hint {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 1rem;
}

.form-thanks {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: #eef6f0;
  border: 1px solid #c5dcc9;
  border-radius: 3px;
  color: #2d5a3a;
}

.form-thanks[hidden] {
  display: none;
}

.donation-box {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-end;
  margin: 1.5rem 0;
}

.donation-box .form-field {
  margin: 0;
  flex: 1;
  min-width: 140px;
}

/* —— Home page (below navbar only) —— */
.page-home .home-page {
  width: 100%;
}

.home-hero-peach {
  position: relative;
  background: #fd9f76;
  color: #fff;
  text-align: center;
  padding: 2.5rem 1.25rem 5.5rem;
  font-family: "Times New Roman", Times, serif;
}

.home-hero-inner {
  max-width: 980px;
  margin: 0 auto;
}

.home-hero-kicker {
  margin: 0 0 0.75rem;
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  letter-spacing: 0.12em;
  font-weight: 400;
}

.home-hero-title {
  margin: 0 0 0.5rem;
  font-size: clamp(2.75rem, 7vw, 4.85rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1.15;
}

.home-hero-subtitle {
  margin: 0 auto 1.75rem;
  max-width: 52rem;
  font-size: clamp(1.35rem, 3.5vw, 3.1rem);
  line-height: 1.35;
  font-weight: 400;
}

.home-hero-details {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.95rem;
  line-height: 1.85;
  letter-spacing: 0.04em;
}

.home-hero-details p {
  margin: 0;
}

.home-hero-late {
  margin-top: 0.35rem !important;
  letter-spacing: 0.12em;
}

.home-hero-mark {
  position: absolute;
  left: max(1rem, calc((100% - 980px) / 2 + 5rem));
  bottom: 1.25rem;
  width: 187px;
  height: auto;
}

.home-exhibit-bar {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 0.65rem 1rem;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.95rem;
}

.home-exhibit-bar p {
  margin: 0;
}

.home-artists {
  background: #fff;
  padding: 2.5rem 1.25rem 3.5rem;
  text-align: center;
}

.home-artists-heading {
  margin: 0 0 0.75rem;
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  color: #000;
}

.home-artists-intro {
  max-width: 42rem;
  margin: 0 auto 2rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
}

.home-artist-gallery {
  max-width: 979px;
  margin: 0 auto;
}

.home-artist-stage-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.home-artist-stage {
  flex: 1;
  min-height: 280px;
  max-height: 565px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  overflow: hidden;
}

.home-artist-main {
  width: 100%;
  height: auto;
  max-height: 565px;
  object-fit: contain;
}

.home-artist-nav {
  flex-shrink: 0;
  width: 36px;
  height: 56px;
  border: none;
  background: transparent;
  color: #333;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.home-artist-nav:hover {
  color: #000;
}

.home-artist-thumbs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  margin-top: 0;
  padding: 0;
  scrollbar-width: thin;
}

.home-artist-thumb {
  flex: 0 0 120px;
  width: 120px;
  height: 120px;
  padding: 0;
  border: 3px solid transparent;
  background: #eee;
  cursor: pointer;
  overflow: hidden;
}

.home-artist-thumb.is-active {
  border-color: #000;
}

.home-artist-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-footer {
  background: #000;
  color: #e8e6e6;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.9rem;
  line-height: 1.7;
}

.home-footer a {
  color: #fff;
}

.home-footer a:hover {
  color: #ccc;
}

.home-footer-grid {
  max-width: 980px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.home-footer-brand {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  line-height: 1.5;
  margin: 0 0 0.75rem;
  color: #fff;
}

.home-footer-col p {
  margin: 0 0 0.35rem;
}

.home-footer-late {
  margin-top: 0.5rem !important;
  letter-spacing: 0.1em;
}

.home-footer-tagline {
  margin-top: 1rem !important;
  font-size: 1rem;
  color: #fff;
}

.home-footer-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  justify-content: flex-start;
  padding-top: 0.25rem;
}

.home-footer-social a {
  font-size: 1rem;
  text-decoration: none;
}

.home-footer-form {
  text-align: left;
  max-width: 100%;
}

.home-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.home-form-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
  color: #e8e6e6;
}

.home-form-field-full {
  margin-bottom: 1rem;
}

.home-form-field input,
.home-form-field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.85);
  color: #fff;
  font: inherit;
  padding: 0.35rem 0;
  border-radius: 0;
}

.home-form-field input:focus,
.home-form-field textarea:focus {
  outline: none;
  border-bottom-color: #fff;
}

.home-form-field textarea {
  resize: vertical;
  min-height: 72px;
}

.home-form-field .req {
  color: #fff;
}

.home-form-submit {
  display: block;
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.65rem 1rem;
  background: transparent;
  border: none;
  color: #fff;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  text-align: center;
}

.home-form-submit:hover {
  color: #ccc;
}

.home-footer .form-thanks {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 0.85rem;
}

.home-footer-copy {
  margin: 0;
  padding: 0.75rem 1rem 1.25rem;
  text-align: center;
  font-size: 0.75rem;
  color: #e8e6e6;
  background: #282828;
}

@media (max-width: 900px) {
  .home-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-hero-mark {
    position: static;
    display: block;
    margin: 2rem auto 0;
    left: auto;
  }
}

@media (max-width: 600px) {
  .home-footer-grid {
    grid-template-columns: 1fr;
  }

  .home-form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
  }

  .brand-text {
    text-align: left;
    font-size: 20px;
  }

  .nav-toggle {
    display: block;
    flex-shrink: 0;
  }

  .site-nav {
    display: none;
    padding-top: 0;
  }

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

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.5rem 0;
  }

  .site-nav li {
    width: 100%;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a,
  .nav-drop-trigger {
    display: block;
    width: 100%;
    padding: 0.75rem 0;
    text-align: left;
  }

  .nav-dropdown ul {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 1rem;
  }

  .exhibition-row {
    grid-template-columns: 1fr;
  }

  .exhibition-row img {
    width: 100%;
    height: 200px;
  }

  .split-layout {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}
