@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap");

:root {
  --header-bg: #faf8f5;
  --sand: #eceae6;
  --footer-bg: #f5f2eb;
  --green: #007352;
  --green-dark: #003725;
  --green-hover: #005a3f;
  --text: #111827;
  --muted: #4b5563;
  --border: rgba(120, 113, 108, 0.35);
  --max-width: 72rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.container {
  width: min(var(--max-width), 92vw);
  margin: 0 auto;
}

.container-narrow {
  width: min(42rem, 92vw);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 1.25rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
}

.section-title {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 300;
  line-height: 1.2;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--text);
}

.slogan-title {
  font-size: clamp(1.125rem, 5.4vw, 2.25rem);
}

.slogan-title span {
  display: block;
  white-space: nowrap;
}

.section-intro {
  margin: 1.5rem 0 0;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.75;
}

.text-center {
  text-align: center;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-bar {
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: grid;
  grid-template-columns: 2.5rem 1fr 2.5rem;
  align-items: center;
  width: min(var(--max-width), 92vw);
  margin: 0 auto;
  padding: 0 1rem;
  min-height: 4rem;
}

.nav-left,
.nav-right {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.nav-left {
  justify-content: flex-end;
  padding-right: 2rem;
}

.nav-right {
  padding-left: 2rem;
}

.nav-link {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: #111827;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--green);
}

.site-logo {
  grid-column: 2;
  justify-self: center;
  text-decoration: none;
  line-height: 0;
}

.site-logo img {
  display: block;
  height: 3rem;
  width: 3rem;
  border-radius: 50%;
  object-fit: contain;
}

.menu-toggle {
  grid-column: 3;
  justify-self: end;
  border: 0;
  background: transparent;
  padding: 0.5rem;
  cursor: pointer;
  color: #1f2937;
}

.menu-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
}

.mobile-nav {
  display: none;
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
  padding: 1rem;
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-nav-links .nav-link {
  display: block;
  padding: 0.75rem 0;
  font-size: 0.875rem;
}

.mobile-nav-divider {
  border-top: 1px solid var(--border);
  margin: 0.75rem 0;
  padding-top: 0.75rem;
}

@media (min-width: 1024px) {
  .header-inner {
    grid-template-columns: 1fr auto 1fr;
    min-height: 4.75rem;
  }

  .nav-left {
    display: flex;
    grid-column: 1;
  }

  .site-logo {
    grid-column: 2;
  }

  .nav-right {
    display: flex;
    grid-column: 3;
  }

  .menu-toggle {
    display: none;
  }

  .site-logo img {
    height: 4rem;
    width: 4rem;
  }
}

@media (min-width: 1280px) {
  .site-logo img {
    height: 4.5rem;
    width: 4.5rem;
  }
}

main {
  flex: 1;
}

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Hero */

.page-hero {
  position: relative;
  width: 100%;
  min-height: 440px;
  height: 68vh;
  max-height: 760px;
  overflow: hidden;
  background: #6a6358;
}

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

.page-hero-home-image {
  object-position: center 74%;
}

@media (max-width: 1024px) {
  .page-hero-home-image {
    object-position: right 74%;
  }
}

.page-hero-home::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.page-hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem 1.5rem 2rem;
}

.page-hero h1 {
  margin: 0;
  max-width: 48rem;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 300;
  font-size: clamp(1.875rem, 5vw, 3.75rem);
  line-height: 1.15;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--green);
  color: #fff;
}

.btn-primary:hover {
  background: var(--green-hover);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.8);
  color: #fff;
}

.btn-outline-light:hover {
  background: #fff;
  color: var(--text);
}

.btn-outline-dark {
  border-color: rgba(0, 55, 37, 0.3);
  color: var(--green-dark);
}

.btn-outline-dark:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: #fff;
}

/* Sections */

.section-sand {
  background: var(--sand);
}

.section-white {
  background: #fff;
}

.section-green {
  background: var(--green-dark);
  color: #fff;
}

.intro-section {
  padding: 4rem 0 1.5rem;
}

.content-section {
  padding: 4rem 0;
}

.content-section p {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.75;
}

.content-section p:last-child {
  margin-bottom: 0;
}

.section-actions {
  margin-top: 2rem;
}

/* Cards */

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(120, 113, 108, 0.25);
  border-radius: 2px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease;
}

.card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.card-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--sand);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.card:hover .card-image img {
  transform: scale(1.04);
}

.card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.75rem;
  background: var(--green-dark);
  color: #fff;
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 2px;
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.25rem 1.5rem 1.5rem;
}

.card-body h2,
.card-body h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 300;
  font-size: 1.375rem;
  line-height: 1.25;
}

.card-body p {
  margin: 0.75rem 0 0;
  flex: 1;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
}

.card-link {
  margin-top: 1.25rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
}

/* Feature split */

.feature-split {
  display: grid;
  grid-template-columns: 1fr;
}

.feature-split-image {
  position: relative;
  min-height: 280px;
  background: var(--sand);
}

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

.feature-split-copy {
  display: flex;
  align-items: center;
  padding: 3rem 1.5rem;
}

.feature-split-copy-inner {
  max-width: 36rem;
}

.feature-split-copy .section-title {
  margin-bottom: 1.25rem;
}

.feature-split-copy p {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.75;
}

@media (min-width: 1024px) {
  .feature-split {
    grid-template-columns: 1fr 1fr;
  }

  .feature-split.reverse .feature-split-image {
    order: 2;
  }

  .feature-split.reverse .feature-split-copy {
    order: 1;
  }

  .feature-split-image {
    min-height: 520px;
  }

  .feature-split-copy {
    padding: 4rem 3.5rem;
  }

  .card-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .card-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* CTA band */

.cta-band {
  padding: 4rem 0;
  text-align: center;
}

.cta-band h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 300;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.2;
}

.cta-band p {
  margin: 1.25rem auto 0;
  max-width: 42rem;
  font-size: 0.9375rem;
  line-height: 1.75;
}

.cta-band .hero-actions {
  margin-top: 2.25rem;
}

.cta-band-green {
  background: var(--green-dark);
  color: #fff;
}

.cta-band-green p {
  color: rgba(255, 255, 255, 0.85);
}

.cta-band-green .btn-primary {
  background: #fff;
  color: var(--green-dark);
}

.cta-band-green .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
}

.cta-band-green .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.8);
  color: #fff;
}

/* Contact grid */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
  text-align: center;
}

.contact-grid h3 {
  margin: 0 0 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
}

.contact-grid p,
.contact-grid a {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text);
  text-decoration: none;
}

.contact-grid a:hover {
  color: var(--green);
}

@media (min-width: 640px) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Profiles */

.mission-quote {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  border-left: 1px solid rgba(120, 113, 108, 0.35);
  border-right: 1px solid rgba(120, 113, 108, 0.35);
}

.mission-quote p {
  margin: 0;
  text-align: center;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 300;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.45;
  color: var(--text);
}

.profiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.profile-card {
  overflow: hidden;
  border: 1px solid rgba(120, 113, 108, 0.25);
  border-radius: 2px;
  background: #fff;
}

.profile-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.profile-content {
  padding: 1.25rem;
}

.profile-content h3 {
  margin: 0 0 0.5rem;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
}

.profile-content p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

@media (min-width: 768px) {
  .profiles {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Footer */

.site-footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-main {
  width: 100%;
  padding: 2.5rem 1rem;
}

.footer-brand-name {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #111827;
}

.footer-main a {
  display: block;
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  color: #1f2937;
  text-decoration: none;
}

.footer-main a:hover {
  color: var(--green);
}

.footer-bottom {
  padding: 2rem 0;
  text-align: center;
}

.footer-main + .footer-bottom {
  border-top: 1px solid rgba(120, 113, 108, 0.35);
}

.footer-bottom button {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #374151;
  margin-bottom: 1.5rem;
}

.footer-bottom button:hover {
  color: #111827;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.75rem;
  color: #4b5563;
  line-height: 1.6;
}

@media (min-width: 1024px) {
  .footer-main {
    padding: 3rem 0;
  }
}

@media (max-width: 639px) {
  .hide-mobile {
    display: none;
  }
}
