/* Sedona Art Galleries — shared styles
   Design language from the CG/Rowe business card system:
   black bar + periwinkle accent, letterspaced headers, bronze for Rowe */

:root {
  --ink: #111111;
  --blue: #5b74e5;
  --bronze: #9c7440;
  --gray: #6b6b6b;
  --soft: #f7f6f4;
  --line: #e3e1dd;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: #ffffff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ---- Card-style top band ---- */
.band { height: 12px; background: var(--ink); }
.band::after { content: ''; display: block; height: 4px; background: var(--blue); }
.band { border-bottom: 4px solid var(--blue); }

/* ---- Header / nav ---- */
header.site {
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.site-inner {
  max-width: 1080px; margin: 0 auto; padding: 22px 24px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px;
}
.wordmark {
  font-family: var(--sans); font-weight: 700; font-size: 1.05rem;
  letter-spacing: 0.32em; text-transform: uppercase; text-decoration: none;
  color: var(--ink); flex: 1 1 auto; white-space: nowrap;
}
.wordmark span { color: var(--blue); }
nav.main { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
nav.main a {
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  text-decoration: none; color: var(--ink); padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}
nav.main a:hover, nav.main a[aria-current="page"] { border-bottom-color: var(--blue); }
.header-phone {
  font-family: var(--serif); font-size: 0.95rem; color: var(--ink);
  text-decoration: none; white-space: nowrap;
}
.header-phone:hover { color: var(--blue); }

/* ---- Typography ---- */
.kicker {
  font-size: 0.78rem; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--gray); text-align: center;
}
.kicker::after {
  content: ''; display: block; width: 110px; height: 4px;
  background: var(--blue); margin: 14px auto 0;
}
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); line-height: 1.15; letter-spacing: 0.01em; font-weight: 700; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.2; font-weight: 700; }
h3 { font-size: 1.1rem; letter-spacing: 0.06em; }
.lede { font-family: var(--serif); font-size: 1.18rem; color: #333; }
p + p { margin-top: 1em; }

/* ---- Layout ---- */
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; margin: 0 auto; padding: 0 24px; }
section { padding: 64px 0; }
section.tight { padding: 44px 0; }
section.alt { background: var(--soft); }
.center { text-align: center; }

/* ---- Hero ---- */
.hero { padding: 76px 0 60px; text-align: center; }
.hero h1 { margin: 22px 0 18px; }
.hero .lede { max-width: 720px; margin: 0 auto; }

/* ---- Location cards (hub) ---- */
.locations {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px; margin-top: 44px;
}
.loc-card {
  background: #fff; border: 1px solid var(--line); text-decoration: none;
  color: var(--ink); display: flex; flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.loc-card:hover { box-shadow: 0 10px 30px rgba(17,17,17,0.10); transform: translateY(-3px); }
.loc-card .art { aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.loc-card .art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.loc-card .body {
  padding: 24px 24px 28px; border-top: 4px solid var(--blue);
  flex: 1; display: flex; flex-direction: column;
}
.loc-card.rowe .body { border-top-color: var(--bronze); }
.loc-card .body h3 {
  text-transform: uppercase; letter-spacing: 0.09em; font-size: 0.84rem;
  white-space: nowrap;
}
.loc-card .place {
  font-family: var(--serif); font-style: italic; color: var(--gray);
  font-size: 0.95rem; margin: 6px 0 12px;
}
.loc-card p { font-size: 0.95rem; color: #333; }
.loc-card .go {
  margin-top: auto; padding-top: 16px; font-size: 0.78rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--blue); font-weight: 700;
}
.loc-card.rowe .go { color: var(--bronze); }

/* ---- Photo placeholders (until real photos drop in) ---- */
.ph {
  width: 100%; height: 100%; min-height: 100%;
  background: linear-gradient(135deg, #ece9e4 0%, #dcd8d1 100%);
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 20px;
}
.ph em {
  font-family: var(--serif); color: #8a857d; font-size: 0.9rem; font-style: italic;
}

img.photo { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- Featured works grid (Showroom) ---- */
.work-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px;
}
.work-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.work-grid .tall { grid-row: span 2; }
@media (max-width: 560px) { .work-grid { grid-template-columns: 1fr; } .work-grid .tall { grid-row: auto; } }

/* ---- Buttons / curiosity links ---- */
.btn {
  display: inline-block; padding: 13px 26px; text-decoration: none;
  font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 700; border: 2px solid var(--ink); color: var(--ink);
  transition: background 0.15s ease, color 0.15s ease;
}
.btn:hover { background: var(--ink); color: #fff; }
.btn.solid { background: var(--ink); color: #fff; }
.btn.solid:hover { background: var(--blue); border-color: var(--blue); }
.btn.bronze { border-color: var(--bronze); color: var(--bronze); }
.btn.bronze:hover { background: var(--bronze); color: #fff; }

.link-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px; margin-top: 36px;
}
.link-card {
  border: 1px solid var(--line); padding: 22px 22px 24px; text-decoration: none;
  color: var(--ink); background: #fff; transition: border-color 0.15s ease;
}
.link-card:hover { border-color: var(--blue); }
.link-card strong {
  display: block; font-size: 0.82rem; letter-spacing: 0.16em;
  text-transform: uppercase; margin-bottom: 6px;
}
.link-card span { font-size: 0.9rem; color: var(--gray); }
.link-grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 720px) { .link-grid.three { grid-template-columns: 1fr; } }

/* ---- Featured exhibition (Showroom) ---- */
.feature {
  border: 1px solid var(--line); border-top: 6px solid var(--blue);
  background: #fff; padding: 44px 40px; margin-top: 40px;
}
.feature .now {
  display: inline-block; background: var(--blue); color: #fff;
  font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase;
  padding: 7px 14px; font-weight: 700; margin-bottom: 20px;
}
.feature h2 { margin-bottom: 4px; }
.feature .reception {
  border-left: 4px solid var(--blue); background: var(--soft);
  padding: 14px 18px; margin-bottom: 20px; font-size: 0.98rem;
}
.feature .dates {
  font-family: var(--serif); font-style: italic; color: var(--gray); margin-bottom: 20px;
}

/* ---- Visit block ---- */
.visit {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 26px; margin-top: 36px;
}
.visit div { border-left: 4px solid var(--blue); padding-left: 18px; }
.visit.rowe div { border-left-color: var(--bronze); }
.visit strong {
  display: block; font-size: 0.76rem; letter-spacing: 0.22em;
  text-transform: uppercase; margin-bottom: 5px; color: var(--gray);
}
.visit a { color: var(--ink); }

/* ---- Artist rosters by gallery ---- */
.rosters {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 40px; margin-top: 38px;
}
.roster h3 {
  font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding-bottom: 10px; border-bottom: 3px solid var(--blue); margin-bottom: 14px;
}
.roster.rowe h3 { border-bottom-color: var(--bronze); }
.roster h3 a { color: inherit; text-decoration: none; }
.roster h3 a:hover { color: var(--blue); }
.roster.rowe h3 a:hover { color: var(--bronze); }
.roster ul {
  list-style: none; font-family: var(--serif);
  font-size: 0.98rem; line-height: 2;
}
.roster-note {
  font-family: var(--serif); font-style: italic; color: var(--gray);
  font-size: 0.9rem; margin-bottom: 6px;
}
@media (max-width: 720px) { .rosters { grid-template-columns: 1fr; gap: 30px; } }

/* ---- In-prose links (external .tlaq / internal .plink) ---- */
a.tlaq, a.plink {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(91, 116, 229, 0.55);
}
a.tlaq:hover, a.plink:hover { color: var(--blue); text-decoration-color: var(--blue); }

/* ---- FAQ ---- */
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary {
  cursor: pointer; font-weight: 700; font-size: 1.02rem; list-style: none;
}
.faq summary::before { content: '+  '; color: var(--blue); font-weight: 700; }
.faq details[open] summary::before { content: '−  '; }
.faq details p { margin-top: 10px; color: #333; }

/* ---- Footer: the family directory, card-back style ---- */
footer.site {
  margin-top: 40px; border-top: 4px solid var(--blue);
  background: var(--ink); color: #ddd; padding: 56px 0 40px;
}
footer .kicker { color: #aaa; }
footer .kicker::after { background: var(--blue); }
.directory {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 34px; margin-top: 40px; text-align: center;
}
.directory h3 {
  color: #fff; font-size: 0.86rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.directory .where {
  font-family: var(--serif); font-style: italic; color: #b8b8b8;
  font-size: 0.92rem; margin: 6px 0 8px;
}
.directory a { color: #fff; text-decoration: none; font-family: var(--serif); }
.directory a:hover { color: var(--blue); }
.foot-meta {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid #333;
  text-align: center; font-size: 0.85rem; color: #999;
}
.foot-meta a { color: #ccc; text-decoration: none; }
.foot-meta a:hover { color: var(--blue); }

@media (max-width: 640px) {
  .site-inner { justify-content: center; text-align: center; }
  .feature { padding: 32px 24px; }
}
