:root {
  --bg: #f6f1e8;
  --panel: #fffdf9;
  --panel-alt: #eee5d4;
  --primary: #2d2a48;
  --primary-strong: #17172f;
  --secondary: #f0e8dc;
  --muted: #665f73;
  --accent: #d09d39;
  --gold-1: #dcb75b;
  --gold-2: #b98b2f;
  --border: rgba(45, 42, 72, 0.12);
  --shadow: 0 20px 50px -20px rgba(35, 30, 68, 0.35);
  --hero-overlay: linear-gradient(180deg, rgba(20, 20, 38, 0.3), rgba(20, 20, 38, 0.8));
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--primary);
  font-family: "Karla", Arial, sans-serif;
  line-height: 1.6;
}

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

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

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 241, 232, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-mark {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
  display: grid;
  place-items: center;
  font-family: Georgia, serif;
  font-size: 1.5rem;
  color: #2a1f00;
  box-shadow: var(--shadow);
}

.brand-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.5rem, 2vw, 2rem);
  margin: 0;
  line-height: 1.1;
}

.brand-sub {
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.nav a {
  color: rgba(45, 42, 72, 0.8);
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  font-size: 0.94rem;
  transition: 0.2s ease;
}

.nav a:hover,
.nav a.active {
  background: var(--secondary);
  color: var(--primary);
  font-weight: 700;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 7rem 0 5rem;
  color: white;
}

.eyebrow {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
}

.hero-content h1,
.page-hero h1,
section h2,
section h3,
.feature-card h3,
.news-card h3,
.info-card h3,
.story-card h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero-content h1 {
  margin-top: 1.2rem;
  max-width: 800px;
  font-size: clamp(3.2rem, 7vw, 6rem);
}

.hero-content p {
  font-size: 1.1rem;
  max-width: 650px;
  color: rgba(255,255,255,0.9);
}

.button-row {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
  color: #2b1c00;
  box-shadow: var(--shadow);
}

.btn-secondary {
  border: 1px solid rgba(255,255,255,0.45);
  color: white;
  background: rgba(255,255,255,0.04);
}

.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 6rem 0 4rem;
  color: white;
}

.page-hero-content h1 {
  margin: 0.8rem 0 0;
  max-width: 700px;
  font-size: clamp(3rem, 5vw, 5rem);
}

.page-hero-content p {
  max-width: 600px;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
}

section {
  padding: 5rem 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2rem;
  align-items: start;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.section-title {
  margin: 0.7rem 0 0;
  font-size: clamp(2.5rem, 4vw, 4rem);
  color: var(--primary);
}

.lead {
  font-size: 1.08rem;
  color: var(--muted);
}

.feature-card,
.news-card,
.story-card,
.info-card,
.card {
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--border);
  border-radius: 1.1rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.feature-card img,
.news-card img,
.story-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.feature-card .body,
.news-card .body,
.story-card .body,
.info-card .body,
.card .body {
  padding: 1.5rem;
}

.feature-card h3,
.story-card h3,
.news-card h3,
.info-card h3 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.7rem);
  color: var(--primary);
}

.feature-card p,
.story-card p,
.news-card p,
.info-card p,
.card p,
li {
  color: var(--muted);
}

.quote {
  width: min(900px, calc(100% - 2rem));
  margin: 0 auto;
  text-align: center;
}

.quote-mark {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(4rem, 8vw, 8rem);
  color: var(--accent);
  line-height: 1;
  margin: 0;
}

.quote blockquote {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 4rem);
  color: var(--primary);
  line-height: 1.15;
  font-style: italic;
}

.quote p {
  margin-top: 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
}

.cta-box {
  background: var(--primary);
  color: white;
  border-radius: 1.5rem;
  padding: 3rem 2rem;
  text-align: center;
}

.cta-box h2 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.1rem);
}

.cta-box p {
  max-width: 700px;
  margin: 1rem auto 0;
  color: rgba(255,255,255,0.8);
}

.timeline {
  list-style: none;
  margin: 2rem 0 0;
  padding-left: 1.1rem;
  border-left: 2px solid rgba(208, 157, 57, 0.45);
}

.timeline li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 2rem;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -0.85rem;
  top: 0.35rem;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
}

.timeline strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  color: var(--primary);
  display: block;
}

.timeline p {
  margin: 0.3rem 0 0;
}

.alt-section {
  background: var(--secondary);
}

.info-grid,
.news-grid,
.gallery-grid,
.mission-grid {
  display: grid;
  gap: 1.2rem;
}

.info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 1rem;
}

.mission-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pill {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: var(--secondary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.contact-card {
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--border);
  border-radius: 1.2rem;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.contact-item {
  margin-bottom: 1.5rem;
}

.contact-item strong {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.contact-form {
  display: grid;
  gap: 0.9rem;
}

input, textarea, button {
  font: inherit;
}

input, textarea {
  width: 100%;
  border: 1px solid rgba(45, 42, 72, 0.18);
  border-radius: 0.8rem;
  background: #fff;
  padding: 0.95rem 1rem;
  color: var(--primary);
}

input:focus, textarea:focus {
  outline: 2px solid rgba(208, 157, 57, 0.3);
  border-color: rgba(208, 157, 57, 0.5);
}

form button {
  border: none;
  cursor: pointer;
}

.form-status {
  display: none;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.8rem;
  background: rgba(34, 124, 84, 0.08);
  color: #11533a;
  border: 1px solid rgba(34, 124, 84, 0.15);
}

.form-status.visible {
  display: block;
}

footer {
  background: var(--primary);
  color: rgba(255,255,255,0.9);
  margin-top: 2rem;
}

.footer-grid {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 2rem;
  padding: 3.5rem 0 1rem;
}

.footer-grid h3 {
  font-size: 2rem;
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.45rem;
}

.footer-grid a {
  color: rgba(255,255,255,0.8);
}

.footer-base {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 1.1rem 0 2rem;
  text-align: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
}

@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4, .info-grid, .news-grid, .gallery-grid, .mission-grid, .contact-grid, .footer-grid {
    grid-template-columns: 1fr;
  }

  .header-row {
    justify-content: center;
  }

  .nav {
    justify-content: center;
  }
}
