:root {
  --paper: #f6f1e8;
  --paper-deep: #ece4d6;
  --ink: #2e2620;
  --ink-soft: #5b5047;
  --rule: #d8cdbb;
  --accent: #8a4b2a;
  --accent-ink: #fff8f0;
  --frame: #4a3a2e;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --measure: 38rem;
  --gutter: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
}

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

a { color: var(--accent); text-underline-offset: 3px; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
h3 { font-size: 1.35rem; }

.wrap { max-width: 72rem; margin: 0 auto; padding: 0 var(--gutter); }
.prose { max-width: var(--measure); }
.prose p { margin: 0 0 1.1em; }

/* Header */
.site-header { border-bottom: 1px solid var(--rule); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; padding-top: 1rem; padding-bottom: 1rem;
}
.brand {
  font-family: var(--serif); font-size: 1.7rem; font-weight: 600;
  color: var(--ink); text-decoration: none; letter-spacing: 0.01em;
}
.brand span { color: var(--accent); }
.nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.nav a {
  color: var(--ink-soft); text-decoration: none; font-size: 0.95rem;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }

/* Hero */
.hero { padding: clamp(2rem, 6vw, 4.5rem) 0; }
.hero .wrap {
  display: grid; gap: clamp(1.5rem, 5vw, 4rem); align-items: center;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 800px) { .hero .wrap { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.hero-art img {
  width: 100%; max-height: 78vh; object-fit: contain;
  box-shadow: 0 18px 40px -18px rgba(46, 38, 32, 0.45);
}
.tagline { font-family: var(--serif); font-size: clamp(1.3rem, 3vw, 1.6rem); color: var(--ink-soft); margin: 0 0 1.5rem; }

.button {
  display: inline-block; background: var(--accent); color: var(--accent-ink);
  padding: 0.75rem 1.4rem; text-decoration: none; font-size: 0.95rem;
  letter-spacing: 0.06em; text-transform: uppercase; border-radius: 2px;
}
.button:hover { background: #733d21; }
.button.ghost { background: transparent; color: var(--accent); border: 1px solid var(--accent); }

section.band { padding: clamp(2rem, 6vw, 4rem) 0; }
section.band.alt { background: var(--paper-deep); }

/* Gallery grid */
.grid {
  display: grid; gap: clamp(1rem, 3vw, 2rem);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
  margin: 0; padding: 0; list-style: none;
}
.grid button {
  all: unset; cursor: zoom-in; display: block; width: 100%;
}
.grid button:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.grid .thumb {
  aspect-ratio: 4 / 5; background: var(--paper-deep);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.grid .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.grid button:hover .thumb img { transform: scale(1.03); }
.grid .caption { padding-top: 0.6rem; }
.grid .caption strong { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; display: block; }
.grid .caption small { color: var(--ink-soft); font-size: 0.85rem; }

/* Lightbox */
dialog.lightbox {
  border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh;
}
dialog.lightbox::backdrop { background: rgba(20, 16, 12, 0.88); }
dialog.lightbox figure { margin: 0; color: #f3ece2; text-align: center; }
dialog.lightbox img { max-width: 92vw; max-height: 82vh; width: auto; margin: 0 auto; }
dialog.lightbox figcaption { padding: 0.75rem 1rem 0; font-size: 0.95rem; }
dialog.lightbox figcaption strong { font-family: var(--serif); font-size: 1.35rem; display: block; }
dialog.lightbox figcaption p { max-width: 36rem; margin: 0.5rem auto 0; }
dialog.lightbox figcaption p:empty { display: none; }
dialog.lightbox .close {
  position: fixed; top: 12px; right: 16px; background: none; border: 0;
  color: #f3ece2; font-size: 2.2rem; line-height: 1; cursor: pointer; padding: 0.25rem 0.5rem;
}

/* About */
.about-layout { display: grid; gap: clamp(1.5rem, 5vw, 4rem); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .about-layout { grid-template-columns: minmax(0, 1fr) 20rem; } }
.about-layout aside img { box-shadow: 0 14px 30px -16px rgba(46, 38, 32, 0.5); margin-bottom: 1rem; }
.about-layout aside p { font-size: 0.9rem; color: var(--ink-soft); margin: 0 0 1.5rem; }
.pullquote {
  font-family: var(--serif); font-size: clamp(1.4rem, 3.4vw, 1.9rem); line-height: 1.3;
  border-left: 3px solid var(--accent); padding-left: 1.1rem; margin: 2rem 0; color: var(--ink);
}

/* Footer */
.site-footer { border-top: 1px solid var(--rule); padding: 2rem 0 3rem; color: var(--ink-soft); font-size: 0.9rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

.notice {
  background: var(--paper-deep); border-left: 3px solid var(--accent);
  padding: 1rem 1.25rem; margin: 1.5rem 0;
}
