/* Pata Art Design — independent art studio and small gallery.
   Design: gallery off-white ground, deep charcoal ink, oxblood/terracotta
   accent. Refined serif headings, generous whitespace, museum-label restraint.
   Deliberately distinct from all sibling sites — no sage, no mauve, no gold. */

:root {
  --bg: #f4f1ec;          /* gallery off-white */
  --bg-soft: #ece8e1;     /* warm parchment */
  --ink: #22201d;         /* deep charcoal */
  --muted: #6b6460;       /* warm stone */
  --primary: #9c3b2e;     /* oxblood / terracotta */
  --primary-dark: #7c2d22;
  --line: #d9d4cc;
  --border: #d9d4cc;
  --card: #fdfcfa;
  --maxw: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Georgia", "Iowan Old Style", "Times New Roman", "Book Antiqua", serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.82;
  font-size: 17px;
}

/* headings use the same serif but tracked and weighted for museum labels */
h1, h2, h3, h4 {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, "Iowan Old Style", Georgia, serif;
  font-weight: 400;
  line-height: 1.16;
  margin: 0;
  color: var(--ink);
  letter-spacing: 0.015em;
}

a { color: var(--primary); }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.38em;
  font-size: 0.64rem;
  font-weight: 700;
  font-family: "Avenir Next", "Segoe UI", -apple-system, Helvetica, Arial, sans-serif;
  color: var(--primary);
  margin: 0 0 18px;
}

/* ---- Header ---- */
header {
  background: rgba(244, 241, 236, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-size: 1.38rem;
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.04em;
}
.brand-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  color: var(--primary);
}
.brand-icon path, .brand-icon circle, .brand-icon rect, .brand-icon line {
  vector-effect: non-scaling-stroke;
}
.brand:hover .brand-icon { color: var(--primary-dark); transition: color 0.15s ease; }

.nav-links { display: flex; gap: 30px; flex-wrap: wrap; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-family: "Avenir Next", "Segoe UI", -apple-system, Helvetica, Arial, sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  transition: color .15s;
}
.nav-links a:hover { color: var(--primary); }

/* ---- Hero ---- */
.hero {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  text-align: center;
  padding: 96px 28px 76px;
  position: relative;
}
/* thin rule ornament above the heading */
.hero::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--primary);
  opacity: 0.55;
  margin: 0 auto 28px;
}
.hero h1 {
  font-size: 3.15rem;
  max-width: 18ch;
  margin: 0 auto 22px;
}
.hero p {
  font-size: 1.14rem;
  color: var(--muted);
  max-width: 58ch;
  margin: 0 auto 32px;
  font-style: italic;
}
.hero .btn { margin: 0 6px 8px; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  padding: 13px 32px;
  border-radius: 1px;
  font-family: "Avenir Next", "Segoe UI", -apple-system, Helvetica, Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-soft {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}
.btn-soft:hover { background: var(--primary); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--bg); }

/* ---- Sections ---- */
section { padding: 70px 0; }
section.soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 60ch; margin: 0 auto 46px; }
.section-head h2 { font-size: 2.2rem; margin-bottom: 14px; }
.section-head p { color: var(--muted); font-style: italic; }
section > .container > h2 { font-size: 2.1rem; margin-bottom: 14px; }
section p { color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.split.reverse .ph { order: 2; }

/* museum-style image frame */
.ph {
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(34, 32, 29, 0.18);
}
.ph::after {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  pointer-events: none;
}
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- Card grid ---- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .16s, box-shadow .16s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(34, 32, 29, 0.12); }
.card img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.card-body { padding: 22px 24px 26px; }

.pill {
  display: inline-block;
  font-family: "Avenir Next", "Segoe UI", -apple-system, Helvetica, Arial, sans-serif;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--primary);
  border: 1px solid color-mix(in srgb, var(--primary) 35%, transparent);
  padding: 3px 12px;
  border-radius: 0;
  margin-bottom: 12px;
}
.card h3 { font-size: 1.24rem; margin-bottom: 8px; }
.card p { font-size: 0.93rem; margin: 0; color: var(--muted); }

/* ---- Gallery grid ---- */
.gallery-group { margin-bottom: 60px; }
.gallery-group h2 { font-size: 1.7rem; margin-bottom: 8px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.gallery-group .group-intro { color: var(--muted); font-style: italic; margin-bottom: 30px; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.artwork {
  background: var(--card);
  border: 1px solid var(--line);
}
.artwork img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; display: block; }
.artwork-label {
  padding: 16px 18px 20px;
  border-top: 1px solid var(--line);
}
.artwork-label h3 { font-size: 1.06rem; margin-bottom: 5px; }
.artwork-label .medium {
  font-family: "Avenir Next", "Segoe UI", -apple-system, Helvetica, Arial, sans-serif;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.artwork-label p { font-size: 0.9rem; margin: 8px 0 0; color: var(--muted); }

/* ---- Prose ---- */
.prose { max-width: 68ch; margin: 0 auto; }
.prose h2 { font-size: 1.85rem; margin: 48px 0 14px; }
.prose h3 { font-size: 1.3rem; margin: 32px 0 8px; }
.prose p, .prose li { color: #4a4643; }
.prose ul, .prose ol { padding-left: 20px; }
.prose li { margin-bottom: 10px; }
.note {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--primary);
  padding: 20px 24px;
  margin: 30px 0;
}
.note p { margin: 0; color: var(--ink); }

/* pull quote */
.pull {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-style: italic;
  font-size: 1.52rem;
  line-height: 1.48;
  color: var(--primary);
  text-align: center;
  max-width: 34ch;
  margin: 44px auto;
}

/* horizontal rule ornament */
.rule-ornament {
  text-align: center;
  margin: 44px auto;
  color: var(--primary);
  font-size: 1rem;
  opacity: 0.5;
  letter-spacing: 0.3em;
}

/* ---- CTA ---- */
.cta {
  background: var(--ink);
  color: #e8e3dc;
  text-align: center;
  padding: 80px 28px;
}
.cta h2 { font-size: 2.15rem; margin-bottom: 14px; color: #f4f1ec; }
.cta p { color: #b3ada6; max-width: 54ch; margin: 0 auto 28px; }
.cta .btn-soft { color: #f4f1ec; border-color: rgba(244, 241, 236, 0.45); }
.cta .btn-soft:hover { background: rgba(244, 241, 236, 0.12); }

/* ---- Footer ---- */
footer {
  background: var(--ink);
  color: #b3ada6;
  padding: 58px 0 32px;
  border-top: 1px solid rgba(156, 59, 46, 0.28);
}
.footer-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-grid h4 {
  color: #f4f1ec;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-size: 1rem;
  margin-bottom: 13px;
  font-weight: 400;
  letter-spacing: 0.05em;
}
.footer-grid a,
.footer-grid p {
  color: #8f8985;
  text-decoration: none;
  display: block;
  margin: 5px 0;
  font-size: 0.88rem;
  font-family: "Avenir Next", "Segoe UI", -apple-system, Helvetica, Arial, sans-serif;
  line-height: 1.55;
}
.footer-grid a:hover { color: var(--primary); }
.footer-meta {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
  font-family: "Avenir Next", "Segoe UI", -apple-system, Helvetica, Arial, sans-serif;
  font-size: 0.78rem;
  color: #6b6460;
  text-align: center;
}

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse .ph { order: 0; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2.4rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 540px) {
  .grid-3 { grid-template-columns: 1fr; }
  nav { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero h1 { font-size: 2rem; }
}
