:root {
  color-scheme: light;
  --ink: #191715;
  --muted: #6e625b;
  --paper: #fbf8f3;
  --wash: #f0e7dc;
  --line: #dfd1c4;
  --rose: #8d1849;
  --rose-dark: #5d0f31;
  --copper: #b7602a;
  --olive: #5d6641;
  --charcoal: #26211f;
  --shadow: 0 22px 60px rgba(45, 31, 23, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1rem, 4vw, 3rem);
  background: rgba(251, 248, 243, 0.9);
  border-bottom: 1px solid rgba(223, 209, 196, 0.75);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  width: 1.8rem;
  height: 1.8rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at 26% 30%, #ffffff 0 12%, transparent 13%),
    conic-gradient(from 45deg, #8d1849, #d88b4a, #f3d3a0, #26211f, #8d1849);
  box-shadow: inset 0 0 0 2px rgba(25, 23, 21, 0.12);
}

.site-nav {
  display: flex;
  gap: clamp(0.7rem, 2vw, 1.4rem);
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--rose);
}

.hero {
  display: grid;
  min-height: calc(100svh - 4.1rem);
  grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 0.85fr);
  align-items: stretch;
  background: #171412;
}

.hero-media {
  min-height: 36rem;
  overflow: hidden;
}

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

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1.35rem;
  padding: clamp(2rem, 5vw, 5rem);
  color: #fffaf3;
  background:
    linear-gradient(140deg, rgba(25, 23, 21, 0.95), rgba(93, 15, 49, 0.72)),
    var(--charcoal);
}

.eyebrow {
  margin: 0;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy .eyebrow {
  color: #f4bd83;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 11ch;
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 8vw, 7.4rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0.75rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4vw, 4.6rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.35rem;
  font-size: 1.02rem;
}

.hero-copy p:not(.eyebrow) {
  max-width: 42rem;
  color: rgba(255, 250, 243, 0.82);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
}

.hero-actions,
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  min-height: 2.8rem;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: #fffaf3;
  background: var(--rose);
  box-shadow: 0 12px 24px rgba(93, 15, 49, 0.22);
}

.button.primary:hover {
  background: var(--rose-dark);
}

.button.secondary {
  color: var(--ink);
  background: #fffaf3;
  border-color: var(--line);
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.intro-band div {
  display: grid;
  gap: 0.35rem;
  padding: clamp(1.1rem, 3vw, 2rem);
  background: var(--paper);
}

.intro-band strong {
  font-size: 1.02rem;
}

.intro-band span,
.section-heading p,
.feature-copy p,
.art-card p,
.modal-info p,
.site-footer,
dd {
  color: var(--muted);
}

.section {
  padding: clamp(3rem, 7vw, 6.5rem) clamp(1rem, 4vw, 3rem);
}

.section-heading {
  max-width: 52rem;
  margin-bottom: 1.5rem;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
}

.filter-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  color: var(--muted);
  background: #fffdf9;
  cursor: pointer;
  font-weight: 800;
}

.filter-button.active,
.filter-button:hover {
  color: #fffaf3;
  background: var(--charcoal);
  border-color: var(--charcoal);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.showcase-grid {
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
}

.art-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf9;
  box-shadow: 0 14px 34px rgba(45, 31, 23, 0.08);
}

.art-preview {
  display: grid;
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: zoom-in;
  text-align: left;
}

.art-card picture {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--wash);
}

.art-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.art-preview:hover img {
  transform: scale(1.04);
}

.art-card-body {
  display: grid;
  gap: 0.55rem;
  padding: 1rem;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.card-actions {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 0.55rem;
}

.card-action {
  min-height: 2.45rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.55rem 0.7rem;
  color: var(--ink);
  background: var(--paper);
  cursor: pointer;
  font-weight: 800;
}

.card-action:hover {
  border-color: var(--charcoal);
}

.paypal-action {
  color: #fffaf3;
  background: #263b80;
  border-color: #263b80;
}

.paypal-action:hover {
  background: #172a63;
  border-color: #172a63;
}

.status-pill {
  border-radius: 999px;
  padding: 0.32rem 0.55rem;
  color: #fffaf3;
  background: var(--olive);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 1.1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 3rem);
  color: #fffaf3;
  background:
    linear-gradient(rgba(25, 23, 21, 0.83), rgba(25, 23, 21, 0.83)),
    url("gallery/20260523_133512.jpg") center / cover fixed;
}

.feature-band .eyebrow {
  color: #f4bd83;
}

.feature-copy p {
  max-width: 48rem;
  color: rgba(255, 250, 243, 0.82);
  font-size: 1.1rem;
}

.contact-section {
  background: #fffdf9;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 56rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  color: var(--charcoal);
  font-weight: 800;
}

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

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.8rem 0.9rem;
  color: var(--ink);
  background: var(--paper);
}

textarea {
  resize: vertical;
}

.hidden-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 1.5rem;
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.form-status.success {
  color: var(--olive);
}

.form-status.error {
  color: var(--rose);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem clamp(1rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.art-modal {
  width: min(72rem, calc(100vw - 2rem));
  max-height: calc(100svh - 2rem);
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #fffdf9;
  box-shadow: var(--shadow);
}

.art-modal::backdrop {
  background: rgba(25, 23, 21, 0.74);
}

.modal-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 2;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  color: #fffaf3;
  background: rgba(25, 23, 21, 0.72);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
}

.modal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(19rem, 0.8fr);
}

.modal-layout img {
  width: 100%;
  height: 100%;
  max-height: calc(100svh - 2rem);
  object-fit: contain;
  background: #171412;
}

.modal-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  overflow: auto;
}

dl {
  display: grid;
  gap: 0.75rem;
  margin: 0;
}

dt {
  color: var(--charcoal);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

dd {
  margin: 0.15rem 0 0;
}

.is-hidden {
  display: none;
}

@media (max-width: 860px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .feature-band,
  .modal-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    min-height: 58svh;
  }

  .hero-copy {
    min-height: 42svh;
  }

  .intro-band {
    grid-template-columns: 1fr;
  }

  .modal-layout img {
    max-height: 58svh;
  }
}

@media (max-width: 620px) {
  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  .brand span:last-child {
    overflow-wrap: anywhere;
  }

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

  .button {
    width: 100%;
  }
}
