:root {
  --ink: #10231f;
  --muted: #60706b;
  --paper: #f5f1e8;
  --panel: #fffdf8;
  --green: #174f43;
  --green-2: #2b7061;
  --gold: #d99442;
  --line: rgba(16, 35, 31, 0.13);
  --shadow: 0 20px 60px rgba(20, 45, 38, 0.12);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
.shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 241, 232, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  font-weight: 700;
}
.brand span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--green); }
.nav-button {
  color: white !important;
  background: var(--green);
  padding: 10px 16px;
  border-radius: 999px;
}

.hero {
  padding: 72px 0 58px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 54px;
  align-items: center;
}
.eyebrow {
  color: var(--green-2);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
}
h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.12;
  margin-top: 0;
}
h1 { font-size: clamp(3rem, 7vw, 5.7rem); letter-spacing: -0.055em; margin: 12px 0 22px; }
h2 { font-size: clamp(2.1rem, 4vw, 3.6rem); letter-spacing: -0.035em; margin-bottom: 16px; }
h3 { font-size: 1.35rem; margin-bottom: 9px; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 650px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid var(--green);
  background: var(--green);
  color: white;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 750;
}
.button.secondary { color: var(--green); background: transparent; }
.hero-photo {
  border-radius: 32px;
  overflow: hidden;
  min-height: 510px;
  box-shadow: var(--shadow);
  position: relative;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.photo-label {
  position: absolute;
  left: 18px;
  bottom: 18px;
  color: white;
  background: rgba(10, 30, 25, 0.76);
  padding: 9px 13px;
  border-radius: 10px;
  font-size: 0.78rem;
  backdrop-filter: blur(10px);
}

.section { padding: 74px 0; }
.section.alt { background: var(--green); color: white; }
.section-head { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 30px; }
.section-head p { max-width: 520px; color: var(--muted); margin: 0; }
.section.alt .section-head p { color: rgba(255, 255, 255, 0.72); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card {
  display: block;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card p { color: var(--muted); margin: 0 0 18px; }
.card .arrow { color: var(--green-2); font-weight: 800; }
.card-photo { padding: 0; overflow: hidden; }
.card-photo img { width: 100%; height: 260px; object-fit: cover; }
.card-photo .card-body { padding: 24px; }
.tag {
  display: inline-block;
  color: var(--green-2);
  background: rgba(43, 112, 97, 0.1);
  border-radius: 999px;
  padding: 5px 10px;
  margin-bottom: 14px;
  font-size: 0.73rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.tag.pending { color: #8a5318; background: #f6e4ca; }
.tag.referral { color: #704012; background: #f6e1bd; }
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 42px; align-items: center; }
.split.single { grid-template-columns: 1fr; max-width: 900px; }
.split-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split-photo img { width: 100%; min-height: 420px; object-fit: cover; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 24px; }
.fact { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,0.42); }
.fact strong { display: block; font-size: 1.05rem; }
.fact span { color: var(--muted); font-size: 0.84rem; }
.link-list { display: grid; gap: 13px; }
.link-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  text-decoration: none;
}
.link-row span { color: var(--muted); font-size: 0.86rem; }
.link-row:hover strong { color: var(--green-2); }
.notice {
  border-left: 4px solid var(--gold);
  background: #fff7e9;
  border-radius: 0 14px 14px 0;
  padding: 16px 19px;
  color: #604622;
  margin: 25px 0;
}
.gallery { display: grid; grid-template-columns: 1.2fr 0.8fr 0.8fr; gap: 14px; }
.gallery.two { grid-template-columns: repeat(2, 1fr); }
.gallery.two figure:first-child { grid-row: auto; }
.gallery figure { margin: 0; overflow: hidden; border-radius: 18px; min-height: 280px; position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.gallery figure:first-child { grid-row: span 2; }
.gallery figcaption {
  position: absolute;
  inset: auto 10px 10px;
  color: white;
  background: rgba(10, 30, 25, 0.72);
  border-radius: 9px;
  padding: 7px 10px;
  font-size: 0.72rem;
}
.page-intro { padding: 78px 0 38px; max-width: 820px; }
.page-intro h1 { font-size: clamp(3rem, 7vw, 5.4rem); }
.footer {
  padding: 42px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
}
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer a { color: var(--green); }

@media (max-width: 850px) {
  .nav-links a:not(.nav-button) { display: none; }
  .hero, .split { grid-template-columns: 1fr; }
  .hero-photo { min-height: 410px; }
  .grid, .grid.two { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery figure:first-child { grid-column: span 2; grid-row: auto; min-height: 380px; }
  .section-head { display: block; }
}

@media (max-width: 520px) {
  .shell { width: min(100% - 24px, 1160px); }
  .nav { min-height: 64px; }
  .hero { padding-top: 45px; }
  .hero-photo { min-height: 330px; }
  .facts, .gallery { grid-template-columns: 1fr; }
  .gallery figure:first-child { grid-column: auto; min-height: 300px; }
  .gallery figure { min-height: 250px; }
}
