/* ============================================================
   CRAWFORD CURATES — shared stylesheet
   Design language: museum wall label / gallery didactic panel
   ============================================================ */

:root {
  --bg: #E5E1D8;        /* gallery wall */
  --paper: #F1EEE7;     /* card / panel surface */
  --ink: #1C1A16;       /* near-black warm ink */
  --ink-soft: #55503f;  /* secondary text */
  --rule: #B9B2A2;      /* hairline rule */
  --rose: #9C3A4E;      /* accent — The Strength of a Woman */
  --brass: #86672E;     /* accent — Through the Collector's Eye */
  --teal: #2C7A73;      /* accent — Summer Vibes */
  --umber: #A6472A;     /* accent — The Crawford Curates Collection */

  --display: "Fraunces", Georgia, serif;
  --body: "IBM Plex Sans", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", "Courier New", monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Nav ---------- */

header.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}

.nav-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.brand em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-left: 8px;
  vertical-align: middle;
}

nav.links { display: flex; gap: 28px; }
nav.links a {
  text-decoration: none;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
}
nav.links a:hover,
nav.links a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.menu-btn {
  display: none;
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: none;
  border: 1px solid var(--rule);
  color: var(--ink);
  padding: 8px 14px;
  cursor: pointer;
}

/* ---------- Banner (homepage only) ---------- */

.banner {
  border-bottom: 1px solid var(--rule);
  background: var(--ink);
}
.banner img {
  width: 100%;
  max-width: 1980px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ---------- Hero (interior pages) ---------- */

.hero {
  border-top: 1px solid var(--rule);
  padding: 64px 0 40px;
}
.hero .tag,
.tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass);
  border: 1px solid var(--brass);
  padding: 4px 10px;
  margin-bottom: 18px;
}
h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.1;
  margin: 0 0 18px;
  max-width: 18ch;
}
.lede {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0;
}

/* ---------- Sections ---------- */

section {
  border-top: 1px solid var(--rule);
  padding: 56px 0;
}
h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.8rem;
  margin: 0 0 10px;
}
.section-intro {
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0 0 36px;
}

/* ---------- Exhibit cards ---------- */

.exhibit {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--rule);
}
.exhibit:first-of-type { border-top: none; }

.exhibit-frame {
  aspect-ratio: 4 / 3;
  background: var(--ink);
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  overflow: hidden;
}
.exhibit-frame img { width: 100%; height: 100%; object-fit: contain; }
.exhibit-frame.brass { border-top: 3px solid var(--brass); }
.exhibit-frame.rose { border-top: 3px solid var(--rose); }
.exhibit-frame.teal { border-top: 3px solid var(--teal); }
.exhibit-frame.umber { border-top: 3px solid var(--umber); }

.exhibit-body h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.5rem;
  margin: 4px 0 10px;
}
.exhibit-meta {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: flex;
  gap: 18px;
  margin: 0 0 14px;
}
.desc { margin: 0 0 18px; color: var(--ink-soft); max-width: 56ch; }

.view-link {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.view-link.brass { color: var(--brass); }
.view-link.rose { color: var(--rose); }
.view-link.teal { color: var(--teal); }
.view-link.umber { color: var(--umber); }

/* ---------- Statements ---------- */

.statement {
  padding: 26px 0;
  border-top: 1px solid var(--rule);
}
.statement:first-of-type { border-top: none; }
.for-exhibit {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.statement h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.3rem;
  margin: 0 0 10px;
}
.pending { color: var(--ink-soft); font-style: italic; margin: 0; }

/* ---------- About ---------- */

.bio p { max-width: 62ch; margin: 0 0 18px; }
.placeholder {
  margin-top: 24px;
  padding: 16px 18px;
  background: var(--paper);
  border: 1px dashed var(--rule);
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--ink-soft);
}

/* ---------- Newsletter signup ---------- */

.signup {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 36px;
}
.signup h2 { font-size: 1.4rem; margin-bottom: 8px; }
.signup p { color: var(--ink-soft); margin: 0 0 22px; max-width: 52ch; }

.signup-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 520px;
}
.signup-form input[type="email"] {
  flex: 1 1 260px;
  min-width: 0;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--rule);
  color: var(--ink);
  font-family: var(--body);
  font-size: 0.95rem;
}
.signup-form input[type="email"]::placeholder { color: var(--ink-soft); }
.signup-form button {
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
  padding: 0 22px;
  cursor: pointer;
}
.signup-form button:hover { background: var(--brass); border-color: var(--brass); }
.signup-note {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--ink-soft);
}
.signup-success {
  display: none;
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--brass);
  margin-top: 12px;
}

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid var(--rule);
  padding: 28px 0;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--ink-soft);
}
footer a { text-decoration: none; border-bottom: 1px solid var(--rule); }
footer a:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* ---------- Responsive ---------- */

@media (max-width: 720px) {
  nav.links { display: none; }
  .menu-btn { display: inline-block; }
  .exhibit { grid-template-columns: 1fr; }
  .exhibit-frame { aspect-ratio: 4 / 3; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
