:root {
  --bg: #faf6f0;
  --bg-alt: #f1e9dd;
  --ink: #2b241d;
  --ink-soft: #5c5245;
  --accent: #c1622b;
  --accent-dark: #9c4a1e;
  --line: #e3d8c6;
  --card-bg: #ffffff;
  --max-width: 1120px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}

/* Header */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-mark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--ink);
}
.brand-tagline {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.site-nav {
  display: flex;
  gap: 28px;
}
.site-nav a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
}
.site-nav a:hover { color: var(--accent-dark); text-decoration: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

@media (max-width: 780px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }
  .site-nav.open { display: flex; }
  .site-nav a {
    padding: 14px 24px;
    border-top: 1px solid var(--line);
  }
}

/* Hero */
.hero {
  background-size: cover;
  background-position: center;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
}
.hero-overlay {
  width: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(20,14,8,0.75) 100%);
  padding: 80px 0 40px;
}
.hero h1 {
  font-family: var(--serif);
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin: 0 0 8px;
}
.hero-sub {
  color: #f2e9dd;
  font-size: 1.1rem;
  margin: 0;
}

/* Sections */
.section { padding: 56px 24px; }
.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
}
.section-heading h2, h1, h2, h3 { font-family: var(--serif); font-weight: 600; }
.see-all { font-size: 0.9rem; white-space: nowrap; }

.home-intro {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--ink-soft);
  max-width: 720px;
}
.home-intro p { margin: 0 0 12px; }

.region-label {
  font-size: 1.1rem;
  margin: 28px 0 12px;
  color: var(--ink);
}
.region-label:first-of-type { margin-top: 0; }

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}
.pill {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.92rem;
  color: var(--ink);
}
.pill:hover { background: var(--accent); border-color: var(--accent); color: #fff; text-decoration: none; }

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
  margin-bottom: 8px;
}
.card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  color: var(--ink);
  display: block;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(43,36,29,0.12);
  text-decoration: none;
}
.card-image {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-alt);
}
.card-body { padding: 14px 16px; }
.card-body h3 {
  margin: 0;
  font-size: 1.05rem;
}
.card-date {
  margin: 4px 0 0;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

/* Prose pages / posts */
.prose-page h1, .post h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin: 0 0 8px;
}
.section-intro { color: var(--ink-soft); margin-bottom: 28px; max-width: 700px; }

.breadcrumb {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-dark);
  margin-bottom: 10px;
}
.post-date {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin: 0 0 28px;
}

.prose { max-width: 760px; }
.prose p { margin: 0 0 20px; font-size: 1.05rem; }
.prose img {
  border-radius: 8px;
  margin: 8px 0 24px;
}
.prose h2, .prose h3 { margin: 36px 0 14px; }

.wp-figure {
  margin: 8px 0 28px;
}
.wp-figure img { border-radius: 8px; }
.wp-figure figcaption {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-top: 8px;
  font-style: italic;
}

.wp-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  margin: 12px 0 28px;
}
.wp-gallery img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  margin: 0;
}

.video-embed, .map-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  margin: 12px 0 28px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-alt);
}
.video-embed iframe, .map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.post-nav {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

/* Photos page: force the curated captioned images into a grid */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  max-width: none;
}
.photo-grid .wp-figure {
  margin: 0;
}
.photo-grid .wp-figure img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin: 0;
}

.contact-email {
  font-family: var(--serif);
  font-size: 1.4rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  background: var(--bg-alt);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 28px 24px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
