:root {
  --ink: #221c16;
  --moss: #3f4a35;
  --deep-moss: #20291e;
  --sand: #d6c3a2;
  --beige: #eee4d2;
  --bone: #f8f5ed;
  --white: #ffffff;
  --ash: #ece9e1;
  --coffee: #8e6f4a;
  --gold: #b98a3f;
  --muted: #746b5f;
  --line: rgba(34, 28, 22, .14);
  --title: "Cormorant Garamond", Georgia, serif;
  --display: "Marcellus", Georgia, serif;
  --body: "Jost", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(248, 245, 237, .92), rgba(248, 245, 237, .92)),
    radial-gradient(circle at 18% 4%, rgba(185, 138, 63, .12), transparent 32%),
    var(--bone);
  font-family: var(--body);
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px clamp(18px, 4vw, 58px);
  color: var(--white);
  transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(248, 245, 237, .92);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: var(--gold);
  font-size: 19px;
}

.brand-copy { display: grid; line-height: .9; }
.brand-copy strong {
  font-family: var(--display);
  font-size: 16px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.brand-copy em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 26px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.menu-toggle {
  display: inline-grid;
  gap: 7px;
  width: 44px;
  height: 44px;
  place-content: center;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  cursor: pointer;
}

.site-header.is-scrolled .menu-toggle,
.site-header.is-open .menu-toggle { border-color: var(--line); }
.menu-toggle span { display: block; width: 18px; height: 1px; background: currentColor; }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  background: var(--deep-moss);
}

.hero-bg, .hero-shade { position: absolute; inset: 0; z-index: -2; }
.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(25, 31, 22, .72), rgba(25,31,22,.25) 54%, rgba(25,31,22,.18)),
    linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.52));
}

.hero-copy {
  width: min(900px, calc(100% - 36px));
  margin: 0 18px clamp(42px, 8vw, 86px);
  color: var(--white);
}

.eyebrow {
  display: block;
  margin: 0 0 14px;
  color: var(--gold);
  font-family: var(--body);
  font-size: 11px !important;
  font-weight: 700;
  letter-spacing: .18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.gold { color: var(--gold); }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--title); font-weight: 600; letter-spacing: 0; }

h1 {
  max-width: 860px;
  margin-bottom: 18px;
  font-family: var(--display);
  font-size: clamp(54px, 12vw, 132px);
  font-weight: 400;
  line-height: .86;
  text-transform: uppercase;
}

.page-title {
  max-width: 980px;
  color: var(--ink);
  text-transform: none;
}

h2 { font-size: clamp(38px, 7vw, 86px); line-height: .92; }
h3 { font-size: clamp(28px, 4vw, 42px); line-height: 1; }

.hero-copy > p:not(.eyebrow),
.intro > p,
.statement-band > p,
.purpose-copy p,
.territory-copy p,
.section-heading p:not(.eyebrow),
.sponsor-call p,
.sources p {
  max-width: 680px;
  font-size: clamp(16px, 2vw, 21px);
  line-height: 1.55;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
}

.button.light { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.button.ghost { color: var(--white); }
.button.dark { background: var(--ink); color: var(--white); border-color: var(--ink); }

.scroll-cue {
  position: absolute;
  right: 22px;
  bottom: 30px;
  color: var(--white);
  writing-mode: vertical-rl;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.section-pad { padding: clamp(76px, 11vw, 160px) clamp(18px, 5vw, 70px); }

.intro {
  display: grid;
  min-height: 70vh;
  align-content: center;
}

.intro h2 { max-width: 980px; margin-bottom: 24px; }

.statement-band {
  display: grid;
  gap: 28px;
  padding: clamp(76px, 10vw, 150px) clamp(18px, 5vw, 70px);
  color: var(--bone);
  background:
    linear-gradient(130deg, rgba(63,74,53,.95), rgba(32,41,30,.96)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, transparent 1px 24px);
}

.statement-band h2 { max-width: 900px; }

.section-heading {
  display: grid;
  gap: 16px;
  margin-bottom: clamp(34px, 6vw, 70px);
}

.section-heading h2 { max-width: 920px; margin: 0; }
.section-heading.compact { max-width: 900px; }

.purpose-grid {
  display: grid;
  gap: 22px;
}

.purpose-copy {
  align-self: center;
  padding: clamp(24px, 4vw, 48px) 0;
}

.text-link {
  display: inline-flex;
  margin-top: 10px;
  border-bottom: 1px solid currentColor;
  color: var(--gold);
  font-weight: 700;
}

.image-card {
  min-height: 420px;
  overflow: hidden;
  border-radius: 8px;
}

.image-card.tall { min-height: 600px; }

.values-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.values-list span {
  min-height: 82px;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(255,255,255,.48);
  color: var(--moss);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-align: center;
  text-transform: uppercase;
}

.territory {
  display: grid;
  gap: 34px;
  padding: clamp(76px, 12vw, 170px) clamp(18px, 5vw, 70px);
  background: var(--beige);
}

.territory-copy h2 { max-width: 800px; }
.territory-panels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.territory-panels article {
  position: relative;
  min-height: 210px;
  display: grid;
  align-content: end;
  padding: 24px;
  border: 1px solid rgba(34,28,22,.12);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255,255,255,.46), rgba(185,138,63,.12));
  overflow: hidden;
}

.territory-panels article.photo-panel {
  min-height: 330px;
  color: var(--white);
  background: var(--moss);
}

.territory-panels article.photo-panel::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.68));
}

.territory-panels article.photo-panel img {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.territory-panels span {
  position: relative;
  z-index: 1;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
}
.territory-panels strong {
  position: relative;
  z-index: 1;
  margin: 8px 0;
  font-family: var(--title);
  font-size: 38px;
  font-weight: 600;
}
.territory-panels p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
}
.territory-panels .photo-panel p { color: rgba(255,255,255,.82); }

.application-layout, .sponsors {
  display: grid;
  gap: 28px;
}

.requirements {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.46);
}

.requirements ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.5;
}

.soft-form {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 4vw, 38px);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 24px 80px rgba(34,28,22,.08);
}

.soft-form label {
  display: grid;
  gap: 8px;
  color: var(--moss);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.soft-form input, .soft-form textarea, .soft-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--bone);
  padding: 14px 12px;
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
}

.form-note { min-height: 22px; margin: 0; color: var(--gold); font-size: 14px; }

.news { background: rgba(236,233,225,.62); }
.news-grid {
  display: grid;
  gap: 16px;
}

.news-feature, .news-card {
  color: inherit;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.56);
}

.news-feature img { height: 320px; }
.news-feature div, .news-card { padding: 22px; }
.news-feature span, .news-card span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.news-feature h3, .news-card h3 { margin: 12px 0; }
.news-feature p, .news-card p { margin-bottom: 0; color: var(--muted); line-height: 1.5; }

.category-grid {
  margin-top: 0;
}

.blog-section {
  border-top: 1px solid var(--line);
}

.blog-grid {
  display: grid;
  gap: 16px;
}

.blog-card {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.58);
}

.blog-card span,
.admin-list span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.blog-card h3 {
  margin: 12px 0;
}

.blog-card p,
.empty-news {
  color: var(--muted);
  line-height: 1.55;
}

.blog-card details {
  margin-top: 18px;
}

.blog-card summary {
  display: inline-flex;
  color: var(--moss);
  font-weight: 700;
  cursor: pointer;
}

.backup-field {
  width: 100%;
  margin: 16px 0;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.52);
  padding: 12px;
  color: var(--ink);
  font: 13px/1.45 var(--body);
}

.admin-tools {
  align-self: start;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
}

.admin-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.admin-list article {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.46);
}

.admin-list strong {
  font-family: var(--title);
  font-size: 24px;
  font-weight: 600;
}

.admin-list button {
  margin-right: 8px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--moss);
  cursor: pointer;
  font-weight: 700;
}

.sponsors {
  color: var(--bone);
  background:
    linear-gradient(rgba(32,41,30,.92), rgba(32,41,30,.92)),
    url("assets/hero-dunas-corona.png") center/cover;
}

.sponsor-call { align-self: center; }
.sponsor-board {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background: rgba(248,245,237,.08);
  backdrop-filter: blur(14px);
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.16);
}

.logo-grid span {
  min-height: 94px;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(248,245,237,.08);
  color: var(--bone);
  font-family: var(--display);
  text-align: center;
}

.sponsor-form { box-shadow: none; }

.moment-grid {
  display: grid;
  gap: 12px;
}

.moment {
  min-height: 220px;
  display: grid;
  align-content: end;
  padding: 22px;
  border-radius: 8px;
  color: var(--white);
  font-family: var(--display);
  font-size: 28px;
  background: var(--moss);
}

.moment.dune { background: linear-gradient(135deg, #c8a971, #7d613c); }
.moment.sea { background: linear-gradient(135deg, #9fb0aa, #465b59); }
.moment.forest { background: linear-gradient(135deg, #69745b, #293324); }
.moment.gold { background: linear-gradient(135deg, #b98a3f, #4b3521); }

.sources {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  padding: 34px clamp(18px, 5vw, 70px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ash);
}

.sources p { flex-basis: 100%; margin-bottom: 4px; font-size: 15px; }
.sources a { color: var(--moss); font-weight: 700; border-bottom: 1px solid currentColor; }

.site-footer {
  display: grid;
  gap: 30px;
  padding: clamp(52px, 8vw, 90px) clamp(18px, 5vw, 70px);
  color: var(--ink);
  background: var(--white);
}

.site-footer h2 { max-width: 760px; margin: 0; }
.designer-credit {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.designer-credit a {
  color: var(--gold);
  border-bottom: 1px solid rgba(185, 138, 63, .55);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

@media (max-width: 839px) {
  .site-header.is-open .nav-links {
    position: absolute;
    top: 68px;
    left: 18px;
    right: 18px;
    display: grid;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--bone);
    color: var(--ink);
  }

  .site-header.is-open .nav-links a {
    padding: 17px;
    border-bottom: 1px solid var(--line);
  }

  .site-header.is-open .nav-links a:last-child { border-bottom: 0; }
}

@media (min-width: 720px) {
  .statement-band,
  .territory,
  .application-layout,
  .sponsors {
    grid-template-columns: minmax(0, 1fr) minmax(320px, .82fr);
    align-items: start;
  }

  .purpose-grid {
    grid-template-columns: minmax(0, .88fr) minmax(280px, .72fr);
    align-items: center;
  }

  .values-list { grid-column: 1 / -1; grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .territory-panels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .news-feature { grid-column: span 3; display: grid; grid-template-columns: 1.2fr .8fr; }
  .news-feature img { height: 100%; min-height: 390px; }
  .blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .moment-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 840px) {
  .nav-links { display: flex; }
  .menu-toggle { display: none; }
  .site-footer { grid-template-columns: 1fr auto; align-items: end; }
}

@media (max-width: 520px) {
  .brand-copy strong { font-size: 14px; }
  .brand-mark { width: 30px; height: 30px; }
  .hero-copy { margin-bottom: 64px; }
  .hero-actions .button { width: 100%; }
  .scroll-cue { display: none; }
  .logo-grid, .values-list { grid-template-columns: 1fr; }
  .image-card.tall { min-height: 420px; }
}
