/* Prairie Son — base styles */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=Lora:ital,wght@0,400;0,500;1,400&display=swap');

:root {
  --wheat: #c4a46c;
  --soil: #4a3a28;
  --forest: #3a4a3a;
  --cream: #faf6ef;
  --paper: #f3ecdf;
  --ink: #2a2521;
  --muted: #6d6154;
  --rule: #ddd0b8;
  --max-width: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Lora', Georgia, 'Times New Roman', serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  color: var(--soil);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

a { color: var(--soil); }
a:hover { color: var(--wheat); }

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header / nav */

.site-header {
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--soil);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.brand span { color: var(--wheat); }

nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
  padding-bottom: 4px;
}

nav a:hover, nav a.active {
  border-bottom-color: var(--wheat);
  color: var(--soil);
}

/* Hero */

.hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(42,37,33,0.15) 0%, rgba(42,37,33,0.75) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 60px 0;
}

.hero-content .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  opacity: 0.85;
  margin-bottom: 10px;
}

.hero-content h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  max-width: 750px;
}

.hero-content p {
  max-width: 560px;
  font-size: 1.15rem;
  opacity: 0.92;
}

/* Sections */

section { padding: 72px 0; }
section.tight { padding: 48px 0; }

.section-head {
  margin-bottom: 40px;
  max-width: 640px;
}

.section-head .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.78rem;
  color: var(--wheat);
  margin-bottom: 8px;
  font-family: 'Lora', serif;
}

.section-head p { color: var(--muted); }

.alt-bg { background: var(--paper); }

/* Intro / about split */

.split {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  align-items: center;
}

.split img {
  border-radius: 4px;
}

.split p { color: var(--muted); font-size: 1.05rem; }

/* Cards / grid */

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
}

.card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }

.card-body { padding: 22px; }

.card-body h3 { margin-bottom: 8px; }

.card-body p { color: var(--muted); font-size: 0.98rem; }

.tag {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--forest);
  background: #e7ead6;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

/* Photography gallery */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery figure { margin: 0; }

.gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 4px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery img:hover { transform: scale(1.02); opacity: 0.92; }

.gallery figcaption {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 8px;
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--soil);
  color: var(--soil);
  transition: background 0.2s ease, color 0.2s ease;
}

.btn:hover { background: var(--soil); color: #fff; }

.btn-solid {
  background: var(--soil);
  color: #fff;
  border-color: var(--soil);
}

.btn-solid:hover { background: var(--forest); border-color: var(--forest); color: #fff; }

/* Contact */

.contact-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.contact-methods .card-body { padding: 24px; }

.contact-methods h3 { font-size: 1.1rem; margin-bottom: 6px; }

.contact-methods a { font-size: 0.95rem; }

/* Footer */

footer {
  border-top: 1px solid var(--rule);
  padding: 36px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

footer .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* Responsive */

@media (max-width: 800px) {
  nav ul { gap: 16px; flex-wrap: wrap; }
  .split { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .contact-methods { grid-template-columns: 1fr; }
}

@media (max-width: 500px) {
  .gallery { grid-template-columns: 1fr; }
}
