:root {
  --ink: #000000;
  --navy: #000000;
  --navy-2: #35333c;
  --wine: #392629;
  --green: #26391d;
  --blue: #26391d;
  --orange: #392629;
  --gold: #d8c49a;
  --muted: #766f70;
  --line: #ded8d1;
  --paper: #f7f4ef;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

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

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.hero {
  position: relative;
  min-height: 965px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 50% 46%, rgba(38, 57, 29, .42), transparent 34%),
    radial-gradient(circle at 82% 20%, rgba(57, 38, 41, .42), transparent 22%),
    linear-gradient(155deg, rgba(0, 0, 0, .96), rgba(53, 51, 60, .94)),
    var(--navy);
}

.hero::before,
.experience::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .24;
  background-image: radial-gradient(rgba(255, 255, 255, .18) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -1px;
  height: 185px;
  background: var(--paper);
  clip-path: polygon(0 45%, 20% 58%, 26% 48%, 50% 42%, 70% 51%, 100% 42%, 100% 100%, 0 100%);
  z-index: 1;
}

.nav {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: min(1380px, calc(100% - 48px));
  height: 70px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 14px 0 20px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 999px;
  background: #252c3b;
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 28px rgba(0, 0, 0, .16);
}

.brand img {
  width: auto;
  height: 44px;
  max-width: 210px;
  object-fit: contain;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 14px;
  border-radius: 999px;
  background: #1c2333;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.nav-links a {
  min-width: 88px;
  padding: 12px 16px;
  border-radius: 999px;
  color: #d1d5dd;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
}

.nav-links a:hover,
.nav-links a:first-child {
  color: var(--white);
  background: transparent;
}

.staff-link,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 47px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease;
}

.staff-link {
  min-height: 48px;
  padding: 0 24px;
  background: linear-gradient(135deg, #ff6a00, #ee000b);
  box-shadow: 0 14px 28px rgba(255, 79, 0, .28);
  font-size: 16px;
}

.staff-link:hover,
.button:hover {
  transform: translateY(-3px);
}

.staff-link:hover,
.button.primary:hover {
  background: linear-gradient(135deg, #ff7f16, #ff101c);
  box-shadow: 0 18px 34px rgba(255, 79, 0, .36);
}

.button.secondary:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, .18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 14px 28px rgba(0, 0, 0, .16);
}

.staff-link:focus-visible,
.button:focus-visible {
  outline: 3px solid rgba(216, 196, 154, .88);
  outline-offset: 4px;
}

.staff-link:hover svg,
.button:hover svg {
  transform: translateX(3px);
}

.staff-link svg,
.button svg {
  width: 17px;
  height: 17px;
  transition: transform .22s ease;
}

.hero-copy {
  position: relative;
  z-index: 4;
  width: min(760px, calc(100% - 48px));
  margin: 128px auto 0;
  text-align: center;
}

.hero-copy::before {
  content: "";
  position: absolute;
  top: 18px;
  right: max(-230px, -22vw);
  width: clamp(260px, 34vw, 480px);
  aspect-ratio: 1;
  background: url("assets/Chosen For Service Camporee badge.png") center / contain no-repeat;
  opacity: .22;
  filter: saturate(.95) contrast(1.08) drop-shadow(0 26px 50px rgba(216, 196, 154, .18));
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-copy > * {
  position: relative;
  z-index: 1;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 999px;
  background: rgba(53, 51, 60, .86);
  color: #d9d1c8;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.pill span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.kicker {
  margin: 38px 0 14px;
  color: #efe8df;
  font-size: clamp(18px, 2.1vw, 28px);
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  text-transform: uppercase;
  font-size: clamp(58px, 8.2vw, 118px);
  line-height: .9;
  font-weight: 900;
}

h1 span,
h1 strong {
  display: block;
}

h1 strong {
  color: #d8c49a;
}

.theme-card {
  position: relative;
  width: min(620px, 100%);
  margin: 0 auto 32px;
  padding: 38px 28px 34px;
  border: 2px solid rgba(216, 196, 154, .7);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(38, 57, 29, .9), rgba(53, 51, 60, .92));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 0 34px rgba(57, 38, 41, .5);
}

.theme-card span {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 18px;
  border-radius: 5px;
  background: var(--gold);
  color: #000000;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.theme-card h2 {
  margin-bottom: 10px;
  color: var(--gold);
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.theme-card p {
  margin: 0;
  color: #eee6da;
  font-size: 20px;
  font-style: italic;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.button {
  padding: 0 28px;
}

.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--wine));
  box-shadow: 0 16px 28px rgba(57, 38, 41, .28);
}

.button.secondary {
  color: #eee7df;
  background: rgba(255, 255, 255, .1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
}

.event-card {
  position: relative;
  z-index: 6;
  width: min(930px, calc(100% - 48px));
  min-height: 128px;
  margin: 72px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid rgba(222, 216, 209, .9);
  border-radius: 22px;
  background: rgba(255, 255, 255, .94);
  color: var(--ink);
  box-shadow: 0 22px 50px rgba(0, 0, 0, .12);
}

.event-card article {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 18px;
  padding: 28px 42px;
}

.event-card article + article {
  border-left: 1px solid var(--line);
}

.icon,
.tile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.icon {
  width: 48px;
  height: 48px;
}

.icon svg {
  width: 25px;
  height: 25px;
}

.icon.blue {
  color: var(--green);
  background: #edf2e8;
}

.icon.orange {
  color: var(--wine);
  background: #f3e9e7;
}

.event-card span,
.event-card small {
  display: block;
}

.event-card span {
  margin-bottom: 5px;
  color: #8d837d;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.event-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 20px;
  line-height: 1.12;
  font-weight: 900;
}

.event-card small {
  color: #766f70;
  font-size: 13px;
  font-weight: 700;
}

main {
  background: var(--paper);
}

.countdown-wrap {
  width: min(900px, calc(100% - 48px));
  margin: 92px auto 135px;
  text-align: center;
}

.section-mark {
  width: 54px;
  height: 54px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--gold);
  background: var(--navy);
  box-shadow: 0 10px 20px rgba(0, 0, 0, .16);
}

.section-mark svg {
  width: 24px;
  height: 24px;
}

.countdown-wrap h2,
.section-heading h2,
.organizers h2,
.secure-card h2 {
  font-size: clamp(36px, 5vw, 58px);
  line-height: .98;
  font-weight: 900;
}

.countdown-wrap h2 {
  margin-bottom: 13px;
}

.countdown-wrap p,
.section-heading p {
  width: min(560px, 100%);
  margin: 0 auto;
  color: #766f70;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 700;
}

.countdown {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, minmax(125px, 1fr));
  gap: 24px;
}

.countdown article {
  min-height: 176px;
  padding: 30px 16px 24px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
}

.countdown strong {
  display: block;
  margin-bottom: 12px;
  font-size: clamp(44px, 6vw, 72px);
  line-height: .9;
  font-weight: 900;
}

.countdown span {
  color: #8d837d;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.message {
  width: min(1220px, calc(100% - 48px));
  margin: 0 auto 80px;
  display: grid;
  grid-template-columns: 1fr minmax(360px, 448px);
  align-items: center;
  gap: clamp(44px, 8vw, 140px);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--wine);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 14px;
  margin-right: 8px;
  border-radius: 7px 7px 7px 2px;
  background: linear-gradient(180deg, var(--green), var(--wine));
  transform: rotate(-18deg);
  vertical-align: -2px;
}

.message h2 {
  margin-bottom: 24px;
  font-size: clamp(36px, 4.4vw, 58px);
  line-height: 1.08;
  font-weight: 900;
}

.message h2 span {
  color: var(--green);
}

.message p {
  max-width: 590px;
  color: #6f6763;
  font-size: 16px;
  line-height: 1.72;
  font-weight: 700;
}

.message ul {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: #5d5753;
  font-size: 14px;
  font-weight: 800;
}

.message li {
  margin: 14px 0;
}

.message li::before {
  content: ">";
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-right: 10px;
  border-radius: 50%;
  color: var(--green);
  background: #edf2e8;
  font-weight: 900;
}

.badge-card {
  position: relative;
  display: grid;
  place-items: center;
  width: min(448px, 100%);
  aspect-ratio: 1;
  margin: 0;
  padding: clamp(34px, 7vw, 54px);
  border: 1px solid rgba(222, 216, 209, .78);
  border-radius: 38px;
  background:
    radial-gradient(circle, rgba(38, 57, 29, .58) 1.25px, transparent 1.4px),
    #ffffff;
  background-position: 8px 8px;
  background-size: 18px 18px;
  box-shadow:
    0 28px 58px rgba(0, 0, 0, .18),
    -30px -28px 54px rgba(52, 88, 166, .2),
    34px 28px 54px rgba(216, 196, 154, .34);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.badge-card img {
  width: min(100%, 350px);
  margin: auto;
  filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .16));
  transition: transform .28s ease, filter .28s ease;
}

.badge-card:hover {
  border-color: rgba(216, 196, 154, .9);
  transform: translateY(-10px) scale(1.015);
  box-shadow:
    0 38px 72px rgba(0, 0, 0, .22),
    -38px -34px 64px rgba(52, 88, 166, .24),
    42px 34px 66px rgba(216, 196, 154, .42);
}

.badge-card:hover img {
  transform: scale(1.045);
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .2));
}

.experience {
  position: relative;
  overflow: hidden;
  padding: 122px 24px 126px;
  color: var(--white);
  background: linear-gradient(145deg, #000000, #35333c);
}

.experience > * {
  position: relative;
  z-index: 1;
}

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

.section-heading h2 {
  margin-bottom: 14px;
}

.section-heading p {
  color: #aaa099;
}

.experience-grid {
  width: min(1220px, 100%);
  margin: 72px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.experience-grid article {
  min-height: 246px;
  padding: 34px 34px 30px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 22px;
  background: rgba(38, 57, 29, .26);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.tile-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 26px;
  color: var(--white);
}

.tile-icon svg {
  width: 27px;
  height: 27px;
}

.tile-icon.blue { background: #26391d; }
.tile-icon.green { background: #315225; }
.tile-icon.orange { background: #392629; }
.tile-icon.yellow { background: #8b7041; }
.tile-icon.red { background: #5a3035; }
.tile-icon.purple { background: #35333c; }

.experience-grid h3 {
  margin-bottom: 14px;
  font-size: 20px;
  font-weight: 900;
}

.experience-grid p {
  margin: 0;
  color: #bdb4ac;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 700;
}

.organizers {
  position: relative;
  overflow: hidden;
  padding: 140px 24px 132px;
  text-align: center;
  background: #fff;
}

.organizers::after {
  content: "";
  position: absolute;
  top: 45px;
  right: -40px;
  width: 330px;
  height: 330px;
  border: 34px solid #f1ede8;
  border-radius: 50%;
  transform: rotate(45deg);
}

.organizers span:first-child {
  display: block;
  margin-bottom: 28px;
  color: #a89f98;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  word-spacing: 12px;
}

.organizers h2 {
  position: relative;
  z-index: 1;
  width: min(100%, 980px);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 44px;
}

.organizers h2 strong {
  color: var(--green);
  font-weight: 900;
}

.divider {
  width: 128px;
  height: 8px;
  margin: 0 auto 66px;
  border-radius: 999px;
  background: var(--ink);
}

.conference-pair {
  width: min(950px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 38px 1fr;
  align-items: center;
}

.conference-pair article {
  min-height: 102px;
  display: grid;
  place-items: center;
  padding: 20px;
  border: 1px solid #ded8d1;
  border-radius: 20px;
  background: #fffdf9;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .05);
}

.conference-pair strong,
.conference-pair small {
  display: block;
}

.conference-pair strong {
  margin-bottom: 7px;
  font-size: 20px;
  font-weight: 900;
}

.conference-pair small {
  color: #8d837d;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.conference-pair > span {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  background: var(--ink);
  font-size: 15px;
  font-weight: 900;
}

.secure {
  padding: 100px 24px;
  background: var(--paper);
}

.secure-card {
  width: min(1020px, 100%);
  margin: 0 auto;
  padding: clamp(54px, 7vw, 84px) 36px;
  border-radius: 28px;
  color: var(--white);
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(38, 57, 29, .28), transparent 38%),
    linear-gradient(145deg, #000000, #35333c);
  box-shadow: 0 34px 58px rgba(0, 0, 0, .24);
}

.secure-card .section-mark {
  color: var(--gold);
  background: transparent;
  box-shadow: none;
  margin-bottom: 18px;
}

.secure-card h2 {
  margin-bottom: 24px;
}

.secure-card p {
  width: min(640px, 100%);
  margin: 0 auto 34px;
  color: #d8d0c7;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 700;
}

footer {
  min-height: 116px;
  padding: 30px max(24px, calc((100vw - 1220px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #8d837d;
  background: #000000;
}

footer img {
  width: 220px;
  max-height: 84px;
  object-fit: contain;
  border-radius: 10px;
}

footer p {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 1060px) {
  .message {
    grid-template-columns: 1fr 330px;
    gap: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .badge-card,
  .badge-card img,
  .staff-link,
  .button,
  .staff-link svg,
  .button svg {
    transition: none;
  }

  .badge-card:hover,
  .badge-card:hover img,
  .staff-link:hover,
  .button:hover,
  .staff-link:hover svg,
  .button:hover svg {
    transform: none;
  }
}

@media (max-width: 820px) {
  .hero {
    min-height: 900px;
  }

  .nav {
    width: calc(100% - 32px);
    height: auto;
    padding: 10px;
    flex-wrap: wrap;
    border-radius: 22px;
  }

  .brand img {
    width: auto;
    height: 40px;
    max-width: 170px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
  }

  .nav-links a {
    min-width: 0;
    flex: 1;
    padding: 10px 8px;
    font-size: 13px;
  }

  .staff-link {
    padding-inline: 18px;
    min-height: 46px;
    font-size: 13px;
  }

  .hero-copy {
    margin-top: 118px;
  }

  .hero-copy::before {
    top: 82px;
    right: -112px;
    width: min(330px, 82vw);
    opacity: .18;
  }

  .theme-card p {
    font-size: 16px;
  }

  .event-card {
    grid-template-columns: 1fr;
    margin-top: 52px;
  }

  .event-card article + article {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

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

  .message {
    grid-template-columns: 1fr;
  }

  .badge-card {
    width: min(420px, 100%);
    margin: 0 auto;
  }

  .experience-grid {
    grid-template-columns: 1fr 1fr;
  }

  .organizers {
    padding: 104px 20px 100px;
  }

  .organizers h2 {
    font-size: clamp(38px, 8vw, 54px);
    line-height: 1.05;
    width: min(100%, 680px);
  }

  .organizers span:first-child {
    word-spacing: 6px;
  }

  .organizers::after {
    right: -90px;
    width: 260px;
    height: 260px;
    border-width: 24px;
  }

  .conference-pair {
    width: min(560px, 100%);
  }

  .secure {
    padding: 70px 16px;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 920px;
  }

  .hero-copy,
  .event-card,
  .countdown-wrap,
  .message {
    width: calc(100% - 32px);
  }

  .hero-copy {
    margin-top: 178px;
  }

  .staff-link {
    min-height: 42px;
    font-size: 12px;
  }

  .brand img {
    width: auto;
    height: 34px;
    max-width: 138px;
  }

  .nav-links a {
    font-size: 12px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .button {
    width: min(240px, 100%);
  }

  .event-card article {
    grid-template-columns: 46px 1fr;
    padding: 24px;
  }

  .event-card strong {
    font-size: 17px;
  }

  .countdown-wrap {
    margin-top: 72px;
    margin-bottom: 96px;
  }

  .countdown {
    gap: 14px;
  }

  .countdown article {
    min-height: 138px;
    border-radius: 16px;
  }

  .message {
    margin-bottom: 70px;
  }

  .badge-card {
    padding: 28px;
    border-radius: 24px;
  }

  .experience {
    padding: 86px 16px;
  }

  .experience-grid {
    grid-template-columns: 1fr;
    margin-top: 46px;
  }

  .experience-grid article {
    min-height: 210px;
  }

  .organizers {
    padding: 76px 18px 82px;
  }

  .organizers::after {
    top: 24px;
    right: 50%;
    width: min(72vw, 260px);
    height: min(72vw, 260px);
    border-width: 16px;
    opacity: .38;
    transform: translateX(50%) rotate(45deg);
  }

  .organizers span:first-child {
    position: relative;
    z-index: 1;
    margin-bottom: 18px;
    font-size: 10px;
    line-height: 1.4;
    word-spacing: 4px;
  }

  .organizers h2 {
    width: 100%;
    font-size: clamp(30px, 8.6vw, 38px);
    line-height: 1.12;
    margin-bottom: 32px;
    overflow-wrap: anywhere;
  }

  .divider {
    width: 92px;
    height: 7px;
    margin-bottom: 42px;
  }

  .conference-pair {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .conference-pair article {
    min-height: 88px;
    border-radius: 16px;
  }

  .conference-pair > span {
    margin: -6px auto;
  }

  .secure {
    padding: 70px 16px;
  }

  footer {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
}
