/* Stephen Sawyer / Art 4 God — "Life Works" flagship prototype
   Design concept derived from 5 mockups: art4god front page, secular work,
   murals, ashes to art, portraits (see ../*.png). Not the live site. */

:root {
  --cream: #f5efe4;
  --cream-2: #efe4d3;
  --ink: #2a2118;
  --ink-soft: #5c5147;
  --line: #ddd0bb;
  --accent: #7a1f2b;
  --accent-soft: #f1e2df;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, "Times New Roman", serif;
  font-weight: 400;
  margin: 0;
}

a { color: inherit; text-decoration: none; }

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

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Concept banner */
.concept-banner {
  background: var(--ink);
  color: var(--cream);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 7px 16px;
}
.concept-banner strong { color: #e8c9a0; }

/* Header / nav */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: 1180px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 14px;
}
.logo {
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: 19px;
  letter-spacing: 0.12em;
  white-space: nowrap;
  line-height: 1.3;
}
.logo span { color: var(--accent); }
.logo .logo-sub {
  display: block;
  font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--ink-soft);
}
nav.primary-nav {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}
nav.primary-nav a {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
nav.primary-nav a:hover { color: var(--ink); }
nav.primary-nav a.active {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

/* Hero */
.hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: #f7f1e6;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20,15,10,0.86) 0%, rgba(20,15,10,0.55) 42%, rgba(20,15,10,0.05) 68%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.12;
  max-width: 620px;
}
.hero .rule {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 22px 0;
}
.hero p.lede {
  max-width: 480px;
  font-size: 16px;
  line-height: 1.6;
  color: #e9ddc8;
}
.hero .btn { margin-top: 22px; }

.hero.light {
  color: var(--ink);
  min-height: 46vh;
}
.hero.light::before {
  background: linear-gradient(90deg, rgba(245,239,228,0.94) 0%, rgba(245,239,228,0.65) 45%, rgba(245,239,228,0.05) 75%);
}
.hero.light p.lede { color: var(--ink-soft); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
}
.btn:hover { opacity: 0.9; }
.btn.outline {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
}

/* Section scaffolding */
section { padding: 72px 0; }
section.tight { padding: 48px 0; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head .eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin-top: 10px;
}
.section-head .rule.center {
  width: 60px; height: 2px; background: var(--accent);
  margin: 18px auto 0;
}
.section-head p {
  max-width: 560px;
  margin: 18px auto 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.label {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 2px solid var(--accent);
  display: inline-block;
  padding-bottom: 4px;
  margin: 40px 0 20px;
}

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.gallery-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-grid figure {
  margin: 0;
  background: #fff;
  padding: 8px;
  border: 1px solid var(--line);
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1 / 1; }
.gallery-grid figure.tall img { aspect-ratio: 9 / 16; }
.gallery-grid figure.wide img { aspect-ratio: 16 / 9; }
.gallery-grid figcaption {
  font-size: 12px;
  text-align: center;
  color: var(--ink-soft);
  padding-top: 8px;
  letter-spacing: 0.03em;
}

.center-cta { text-align: center; margin-top: 44px; }

/* Press strip */
.press-strip {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}
.steps .num {
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: 38px;
  color: #b7ab98;
}
.steps h3 {
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 8px 0 10px;
}
.steps p { color: var(--ink-soft); font-size: 14px; line-height: 1.6; }
.steps .rule.center { margin: 10px auto; width: 26px; height: 1px; background: var(--accent); }

/* Mural map strip */
.mural-map {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-top: 1px solid var(--line);
  padding-top: 40px;
  margin-top: 20px;
  flex-wrap: wrap;
  gap: 14px;
}
.mural-map .stop { text-align: center; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.mural-map .stop .pin {
  width: 30px; height: 30px; border-radius: 50% 50% 50% 0;
  background: var(--accent); margin: 0 auto 8px; transform: rotate(-45deg);
}

/* Oval portrait cards */
.oval-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}
.oval-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid #d9b26a;
}
.oval-card .cap {
  margin-top: 16px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.oval-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 50%;
  border: 6px solid #d9b26a;
  background: var(--cream-2);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20%;
}
.oval-placeholder span {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Process icons row (portraits page) */
.process-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.process-row .item { display: flex; gap: 14px; }
.process-row .icon {
  font-family: Georgia, serif;
  font-size: 20px;
  width: 44px; height: 44px;
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.process-row h4 { font-size: 14px; margin: 4px 0 6px; }
.process-row p { font-size: 13px; color: var(--ink-soft); line-height: 1.5; margin: 0; }

/* Two-col feature */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.two-col img { width: 100%; border: 1px solid var(--line); }
.two-col .text p { color: var(--ink-soft); line-height: 1.7; margin: 16px 0; }

/* Mural card grid */
.mural-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.mural-grid figure { margin: 0; }
.mural-grid img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.mural-grid figcaption {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: center;
}

/* Ashes to Art specifics */
body.page-ashes { --accent: #a4707c; }
body.page-ashes .hero.light::before { background: linear-gradient(90deg, rgba(245,239,228,0.9) 0%, rgba(245,239,228,0.55) 45%, rgba(245,239,228,0.05) 75%); }
.honoring {
  text-align: center;
  border-top: 1px solid var(--line);
  padding-top: 26px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Section theme accents */
body.page-secular { --accent: #8a5a34; }
body.page-murals { --accent: #8a2e2e; }
body.page-portraits { --accent: #a8792f; }
body.page-story { --accent: #7a1f2b; }
body.page-shop { --accent: #7a1f2b; }
body.page-contact { --accent: #7a1f2b; }

/* Placeholder tiles (used on stub pages) */
.placeholder-block {
  border: 1px dashed var(--line);
  padding: 60px 30px;
  text-align: center;
  color: var(--ink-soft);
  background: var(--cream-2);
}

/* Footer */
footer.site-footer {
  background: var(--ink);
  color: #e8ded0;
  margin-top: 80px;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 32px 30px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 30px;
}
.footer-inner h4 {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #cbb98f;
  margin-bottom: 14px;
}
.footer-inner p, .footer-inner a { font-size: 13px; line-height: 1.9; color: #cfc6b8; display: block; }
.footer-inner .brand {
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: 20px;
  color: #f5efe4;
  margin-bottom: 10px;
}
.footer-bottom {
  border-top: 1px solid #453b30;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: #9a8f7d;
  padding: 18px 0 26px;
}

/* Responsive */
@media (max-width: 880px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col, .steps, .process-row, .oval-grid, .mural-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  nav.primary-nav { gap: 16px; }
}
