/* Duncanville Arts FYI — Shared design system for doc-style pages
   Loaded by: about, press, venues, artsindex, archive, artists, map, embed
   Page-specific styles stay inline in each page. */

:root {
  --bg: #F2F2E6;
  --ink: #1A1A1A;
  --body: #2C2C2C;
  --muted: #6A6A6A;
  --rule: #DCD6C2;
  --teal: #2E6B70;
  --teal-dark: #1F4E52;
  --teal-soft: #B8D4D6;
  --cyan: #5BDCFF;
  --sky: #50C0F0;
  --pink: #E8B0DC;
  --orange: #F0C050;
  --yellow: #FFE05E;
  --coral: #E76F51;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  font-family: "Source Sans 3", "Source Sans Pro", "Open Sans", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
}

/* Top nav */
.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 40px;
  border-bottom: 1px solid var(--rule);
  max-width: 1280px;
  margin: 0 auto;
}

.top-nav .wordmark,
.wordmark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
  transition: opacity 0.2s ease;
}

.wordmark:hover { opacity: 0.78; }

.wordmark img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 100%;
}

.top-nav .back {
  font-family: "Source Sans 3", "Source Sans Pro", sans-serif;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}

.top-nav .back:hover { color: var(--teal-dark); }

/* Document layout */
.doc {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 40px 64px;
}

.doc-wide {
  max-width: 1080px;
  margin: 0 auto;
  padding: 80px 40px 64px;
}

.doc-header {
  margin-bottom: 56px;
  padding-bottom: 32px;
  border-bottom: 2px solid var(--teal-dark);
}

.doc-header .eyebrow {
  font-family: "Source Sans 3", "Source Sans Pro", sans-serif;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--teal-dark);
  font-weight: 700;
  margin-bottom: 20px;
}

.doc-header h1 {
  font-family: "TeX Gyre Pagella", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 20px;
}

.doc-header h1 em {
  font-style: italic;
  color: var(--teal-dark);
}

.doc-header p.lede {
  font-family: "TeX Gyre Pagella", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  font-size: 20px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 60ch;
}

.doc h2,
.doc-wide h2 {
  font-family: "TeX Gyre Pagella", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.2;
  color: var(--ink);
  margin: 56px 0 16px;
}

.doc h3,
.doc-wide h3 {
  font-family: "TeX Gyre Pagella", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  font-size: 21px;
  font-weight: 500;
  color: var(--ink);
  margin: 32px 0 10px;
}

.doc p,
.doc-wide p {
  margin-bottom: 18px;
  color: var(--body);
}

.doc ul,
.doc-wide ul {
  margin: 0 0 24px 24px;
  padding: 0;
}

.doc li,
.doc-wide li {
  margin-bottom: 10px;
  padding-left: 6px;
}

.doc li::marker,
.doc-wide li::marker { color: var(--teal-dark); }

.doc a,
.doc-wide a {
  color: var(--teal-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--teal-soft);
  padding-bottom: 1px;
  transition: border-color 0.2s ease;
}

.doc a:hover,
.doc-wide a:hover { border-bottom-color: var(--teal-dark); }

.doc-footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-style: italic;
  color: var(--muted);
  font-family: "TeX Gyre Pagella", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  font-size: 15px;
}

/* Site footer */
footer {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 40px 48px;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: end;
}

.footer-mark {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.footer-mark img {
  display: block;
  height: 56px;
  width: auto;
  max-width: 100%;
}

.footer-legal {
  font-family: "Source Sans 3", "Source Sans Pro", sans-serif;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 48ch;
  text-align: right;
}

.footer-links {
  font-family: "Source Sans 3", "Source Sans Pro", sans-serif;
  font-size: 13px;
  color: var(--muted);
  text-align: right;
  grid-column: 1 / -1;
  margin-top: 4px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-links a:hover {
  color: var(--teal-dark);
  border-bottom-color: var(--teal-dark);
}

@media (max-width: 720px) {
  .top-nav { padding: 20px 24px; }
  .doc, .doc-wide { padding: 56px 24px 48px; }
  .doc-header { margin-bottom: 40px; padding-bottom: 24px; }
  footer {
    padding: 48px 24px 36px;
    grid-template-columns: 1fr;
  }
  .footer-legal { text-align: left; }
  .footer-links { text-align: left; }
}
