:root {
  --bg: #f3efe8;
  --surface: #faf7f2;
  --surface-strong: #f0e9dd;
  --ink: #1e1a17;
  --muted: #5f5b55;
  --accent: #8d6c44;
  --line: #d8cebf;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 1.08;
  margin-top: 0;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 5.1rem);
  margin-bottom: 0.8rem;
}

h2 {
  font-size: clamp(1.7rem, 3.2vw, 3rem);
  margin-bottom: 0.8rem;
}

h3 {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  margin-bottom: 0.65rem;
}

.section {
  padding: 4.3rem 0;
  border-bottom: 1px solid var(--line);
}

.section-label {
  margin: 0 0 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.section-text {
  max-width: 78ch;
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #f2ece3;
  padding: 6.2rem 0 5.6rem;
  background:
    linear-gradient(rgba(20, 17, 14, 0.64), rgba(20, 17, 14, 0.72)),
    url("images/optimized/maingardedportal.jpg") center 30% / cover no-repeat;
}

.hero-surface {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(197, 158, 108, 0.28), transparent 46%),
    radial-gradient(circle at 80% 70%, rgba(145, 175, 181, 0.2), transparent 54%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
}

.kicker {
  margin: 0 0 0.9rem;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  font-weight: 600;
}

.lead {
  max-width: 68ch;
  color: #ded5ca;
  margin-bottom: 1.3rem;
}

.hero-quote {
  max-width: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 0.42rem 1rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.2rem;
  background: rgba(255, 255, 255, 0.08);
}

.split {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.feature-photo,
.pillar-image,
.gallery-item {
  margin: 0;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #111;
}

.feature-photo img,
.pillar-image img,
.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.feature-photo:hover img,
.pillar-card:hover .pillar-image img,
.gallery-item:hover img {
  transform: scale(1.025);
}

.img-warm::after,
.img-cool::after,
.img-neutral::after,
.img-green::after {
  content: "";
  position: absolute;
  inset: 0;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.img-warm::after {
  background: rgba(145, 95, 45, 0.2);
}

.img-cool::after {
  background: rgba(38, 72, 98, 0.2);
}

.img-neutral::after {
  background: rgba(77, 66, 59, 0.16);
}

.img-green::after {
  background: rgba(39, 83, 48, 0.2);
}

.market {
  background: var(--surface);
}

.market-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.market-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.05rem;
}

.membership-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.membership-item {
  padding: 1.15rem 0.2rem;
  border-bottom: 1px solid var(--line);
}

.membership-item h3 {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.2rem;
}

.membership-item h3 span {
  font-size: 0.84rem;
  font-family: "Inter", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.activities {
  background: linear-gradient(180deg, #f7f2ea, #f1eade);
}

.pillar-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.pillar-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.7rem;
  backdrop-filter: blur(3px);
}

.pillar-image {
  aspect-ratio: 4 / 3;
  margin-bottom: 0.8rem;
}

.ai-note {
  margin-top: 0.7rem;
  padding-top: 0.7rem;
  border-top: 1px dashed #c7b9a2;
  font-size: 0.9rem;
  color: var(--muted);
}

.editorial-gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0.9rem;
}

.gallery-item {
  min-height: 220px;
}

.gallery-item.wide {
  min-height: 400px;
}

.gallery-item.tall {
  grid-row: span 2;
  min-height: 520px;
}

.timeline {
  margin: 0;
  padding-left: 1.15rem;
}

.timeline li {
  margin-bottom: 0.65rem;
}

.site-footer {
  background: #1b1714;
  color: #d4c8b8;
  padding: 1.2rem 0 1.4rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.muted {
  color: #a89d91;
}

.clean-list {
  margin: 0;
  padding-left: 1.15rem;
}

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

  .editorial-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-item.tall,
  .gallery-item.wide {
    min-height: 290px;
    grid-row: auto;
  }

  .section {
    padding: 3.4rem 0;
  }
}
