/* Art Walk SD — shared stylesheet (magazine-style editorial system) */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,500&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --color-bg: #fbfaf8;
  --color-surface: #ffffff;
  --color-ink: #1c1815;
  --color-text: #211d1a;
  --color-text-muted: #5c5550;
  --color-border: #e6e0d8;
  --color-accent: #b5451b;
  --color-accent-dark: #8f3714;
  --color-accent-tint: #f4e6de;
  --color-gold: #d9a86c;
  --max-width: 780px;
  --wide-width: 1120px;
  --font-serif: "Fraunces", Georgia, "Iowan Old Style", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-base: var(--font-sans);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--color-text);
  background: var(--color-bg);
}

img { max-width: 100%; height: auto; display: block; border-radius: 6px; }

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

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.18;
  color: var(--color-text);
  margin-top: 2.2em;
  margin-bottom: 0.6em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.4rem); font-weight: 600; margin-top: 0; line-height: 1.08; }
h2 { font-size: clamp(1.55rem, 3.2vw, 2rem); border-top: 1px solid var(--color-border); padding-top: 1.4em; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1.2em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.4em; }
li { margin-bottom: 0.4em; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.25rem; }
.container-wide { max-width: var(--wide-width); margin: 0 auto; padding: 0 1.25rem; }

/* Drop cap on the first paragraph of every article, for an editorial feel */
main article > h2:first-of-type + p::first-letter {
  font-family: var(--font-serif);
  font-size: 3.6em;
  font-weight: 600;
  float: left;
  line-height: 0.82;
  padding: 0.06em 0.09em 0 0;
  color: var(--color-accent);
}

/* Header / nav */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 248, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border);
}

.nav-row {
  max-width: var(--wide-width);
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.3rem;
  text-decoration: none;
  color: var(--color-text);
  letter-spacing: -0.01em;
}
.brand span { color: var(--color-accent); font-style: italic; }

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.6rem;
  margin: 0;
  padding: 0;
}
nav.main-nav a {
  text-decoration: none;
  color: var(--color-text);
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
nav.main-nav a:hover { color: var(--color-accent); }

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 0.4rem 0.6rem;
  font-size: 1.1rem;
  cursor: pointer;
}

@media (max-width: 800px) {
  .menu-toggle { display: block; }
  nav.main-nav {
    display: none;
    width: 100%;
    border-top: 1px solid var(--color-border);
  }
  nav.main-nav.open { display: block; }
  nav.main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1.25rem 1rem;
  }
  nav.main-nav li { padding: 0.6rem 0; border-bottom: 1px solid var(--color-border); }
  .nav-row { flex-wrap: wrap; }
}

/* Hero — magazine cover treatment: image as full-bleed backdrop with a scrim and overlaid text */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--color-ink);
  padding: 5rem 0 3rem;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  z-index: 0;
  opacity: 0.92;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(20,17,15,0.15) 0%, rgba(20,17,15,0.55) 65%, rgba(20,17,15,0.88) 100%);
}
.hero > .container-wide,
.hero > *:not(img) {
  position: relative;
  z-index: 2;
}
.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 0.7rem;
}
.hero h1 { color: #fff; }
.hero p.lede {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.88);
  max-width: 62ch;
}

/* Light stat band directly under a hero */
.stat-band {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}
.stat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  max-width: var(--wide-width);
  margin: 0 auto;
  padding: 1.5rem 1.25rem;
}
.stat-strip .stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.stat-strip .stat-label {
  display: block;
  font-size: 0.84rem;
  color: var(--color-text-muted);
  margin-top: 0.2rem;
}

/* Photo strip: small editorial image grid with captions */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.75rem 0;
}
.photo-strip figure { margin: 0; }
.photo-strip img { aspect-ratio: 4/3; object-fit: cover; box-shadow: 0 6px 16px -10px rgba(33, 29, 26, 0.4); }
.photo-strip figcaption { font-size: 0.8rem; color: var(--color-text-muted); margin-top: 0.5rem; font-style: italic; }
@media (max-width: 640px) {
  .photo-strip { grid-template-columns: 1fr 1fr; }
}

/* In-article feature image */
figure.feature-image { margin: 2.2rem 0; }
figure.feature-image img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  box-shadow: 0 10px 24px -14px rgba(33, 29, 26, 0.35);
}
figure.feature-image figcaption {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 0.6rem;
  font-style: italic;
}

/* Breadcrumbs */
.breadcrumbs {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin: 1.2rem 0 0;
}
.breadcrumbs a { color: var(--color-text-muted); }
.breadcrumbs .sep { margin: 0 0.4em; }

/* Article */
main article { padding: 1.5rem 0 3rem; }

.callout {
  background: var(--color-accent-tint);
  border-left: 4px solid var(--color-accent);
  border-radius: 6px;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--color-accent-dark); }

blockquote.pull-quote {
  position: relative;
  margin: 2.4rem 0;
  padding: 0.2rem 0 0.2rem 2.2rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.4;
}
blockquote.pull-quote::before {
  content: "\201C";
  position: absolute;
  left: -0.15rem;
  top: -0.3rem;
  font-family: var(--font-serif);
  font-style: normal;
  font-size: 3.2rem;
  color: var(--color-accent);
  line-height: 1;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}
caption { text-align: left; font-size: 0.85rem; color: var(--color-text-muted); margin-bottom: 0.5rem; }
th, td {
  text-align: left;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}
th { font-weight: 700; background: var(--color-surface); }
.table-wrap { overflow-x: auto; margin: 1.5rem 0; }
.table-wrap table { margin: 0; min-width: 480px; }

/* Cards — magazine-style: full-bleed image, floating category label, serif headline */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0 2rem;
}
.card-grid.card-grid--featured {
  grid-template-columns: 1.5fr 1fr;
  align-items: stretch;
}
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 0 0 1.25rem;
  text-decoration: none;
  color: var(--color-text);
  display: block;
  position: relative;
  overflow: hidden;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { border-color: var(--color-accent); transform: translateY(-3px); box-shadow: 0 16px 30px -18px rgba(33, 29, 26, 0.45); }
.card img { margin: 0 0 1rem; border-radius: 0; aspect-ratio: 4/3; object-fit: cover; }
.card h3 { margin: 0 1.1rem 0.4rem; font-size: 1.15rem; }
.card p { margin: 0 1.1rem; font-size: 0.92rem; color: var(--color-text-muted); }
.card .tag {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 2;
  display: inline-block;
  background: rgba(28, 24, 21, 0.72);
  backdrop-filter: blur(2px);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  margin: 0;
}

/* Featured card variant — large hero-style card for a magazine archive page */
.card--feature { display: flex; flex-direction: column; }
.card--feature img { aspect-ratio: 16/10; }
.card--feature h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-top: 0.2rem; }
.card--feature p { font-size: 1rem; }

@media (max-width: 760px) {
  .card-grid.card-grid--featured { grid-template-columns: 1fr; }
}

/* Blog archive index page */
.archive-article { padding: 2.5rem 1.25rem 3rem; }
.archive-article > .breadcrumbs { max-width: var(--max-width); margin-left: auto; margin-right: auto; }
.card-stack { display: flex; flex-direction: column; gap: 1.5rem; }

/* Section labels — used to divide a magazine index into departments */
.section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 3rem 0 1.25rem;
}
.section-label .section-label-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--color-accent);
  white-space: nowrap;
}
.section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

/* FAQ accordion */
.faq-item {
  border-bottom: 1px solid var(--color-border);
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--color-text);
  padding: 1.1rem 1.8rem 1.1rem 0;
  cursor: pointer;
  position: relative;
}
.faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 1.1rem;
  font-size: 1.3rem;
  color: var(--color-accent);
  font-weight: 400;
}
.faq-question[aria-expanded="true"]::after { content: "\2212"; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-answer p { padding-bottom: 1.1rem; color: var(--color-text-muted); margin: 0; }

/* Step list */
.steps { counter-reset: step; list-style: none; padding-left: 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 2.6rem;
  margin-bottom: 1.1rem;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Footer */
footer.site-footer {
  border-top: 1px solid var(--color-border);
  margin-top: 3rem;
  padding: 2.5rem 0;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}
.footer-grid {
  max-width: var(--wide-width);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
}
.footer-grid nav ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-grid nav a { color: var(--color-text-muted); text-decoration: none; }
.footer-grid nav a:hover { color: var(--color-accent); }
.footer-note { max-width: 60ch; }

/* Author / update strip */
.meta-strip {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin: 0.8rem 0 0;
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero { padding: 3.5rem 0 2rem; min-height: 340px; }
}
