:root {
  --ink: #10131a;
  --muted: #687084;
  --paper: #f7f3ea;
  --panel: #ffffff;
  --gold: #d8a341;
  --gold-dark: #9b6824;
  --red: #b93632;
  --blue: #1d5064;
  --green: #2f7a58;
  --night: #151924;
  --line: rgba(16, 19, 26, 0.12);
  --shadow: 0 22px 70px rgba(16, 19, 26, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 16px clamp(18px, 4vw, 54px);
  color: #fff;
  background: rgba(16, 19, 26, 0.68);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark,
.icon-box {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  color: #1a1610;
  font-weight: 800;
  background: linear-gradient(135deg, #ffe19c, var(--gold));
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.15;
}

.brand small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 700;
}

.main-nav a:hover,
.site-footer a:hover {
  color: #fff;
}

.header-cta,
.button,
.join-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.header-cta,
.button.primary,
.join-form button {
  color: #1b1308;
  background: linear-gradient(135deg, #ffe9aa, var(--gold));
  box-shadow: 0 12px 34px rgba(216, 163, 65, 0.32);
}

.button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.header-cta:hover,
.button:hover,
.join-form button:hover {
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

.hero {
  position: relative;
  min-height: 96vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 11, 14, 0.92) 0%, rgba(10, 11, 14, 0.74) 40%, rgba(10, 11, 14, 0.25) 72%, rgba(10, 11, 14, 0.54) 100%),
    linear-gradient(0deg, rgba(10, 11, 14, 0.82) 0%, rgba(10, 11, 14, 0) 36%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 104px);
  padding-top: 82px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(46px, 8vw, 94px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.2;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-copy {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

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

.hero-stats {
  gap: 16px;
  margin-top: 42px;
}

.hero-stats span {
  min-width: 150px;
  padding: 14px 16px;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
}

.hero-stats strong {
  display: block;
  color: #fff;
  font-size: 19px;
}

section {
  padding: clamp(64px, 8vw, 112px) clamp(18px, 5vw, 76px);
}

.section-heading {
  width: min(850px, 100%);
  margin: 0 auto 38px;
  text-align: center;
}

.feature-strip,
.card-grid,
.timeline,
.social-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.feature-strip article,
.service-card,
.timeline article,
.social-grid a,
.recruitment-panel,
.join-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(16, 19, 26, 0.08);
}

.feature-strip article,
.service-card,
.timeline article,
.social-grid a {
  padding: 26px;
}

.feature-strip .icon-box {
  margin-bottom: 22px;
}

.dark-band,
.events-band {
  color: #fff;
  background: var(--night);
}

.dark-band p,
.events-band p {
  color: rgba(255, 255, 255, 0.72);
}

.split-layout,
.community-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.recruitment-panel {
  padding: 30px;
  color: var(--ink);
}

.recruitment-panel h3 {
  margin-bottom: 18px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #3d4351;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
}

.requirement-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.requirement-grid span {
  padding: 14px;
  background: #f2efe7;
  border-radius: 8px;
}

.requirement-grid strong {
  display: block;
  margin-bottom: 4px;
}

.card-label {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 10px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  background: var(--blue);
  border-radius: 8px;
}

.service-card:nth-child(2) .card-label {
  background: var(--red);
}

.service-card:nth-child(3) .card-label {
  background: var(--green);
}

.service-card a {
  display: inline-flex;
  margin-top: 10px;
  color: var(--gold-dark);
  font-weight: 800;
}

.guide-section {
  background: #fff;
}

.guide-list {
  display: grid;
  gap: 14px;
  width: min(980px, 100%);
  margin: 0 auto;
}

.guide-list article {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 20px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.guide-list span {
  color: var(--red);
  font-size: 28px;
  font-weight: 800;
}

.timeline article {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.timeline time {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--gold);
  font-weight: 800;
}

.community-layout {
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1.2fr);
}

.social-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
}

.social-grid a {
  min-height: 130px;
}

.social-grid strong,
.social-grid span {
  display: block;
}

.social-grid strong {
  margin-bottom: 8px;
  font-size: 20px;
}

.social-grid span {
  color: var(--muted);
  line-height: 1.5;
}

.join-section {
  background:
    linear-gradient(135deg, rgba(185, 54, 50, 0.12), rgba(29, 80, 100, 0.16)),
    var(--paper);
}

.join-card {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 64px);
  width: min(1080px, 100%);
  margin: 0 auto;
  padding: clamp(26px, 5vw, 54px);
}

.join-form {
  display: grid;
  gap: 14px;
}

.join-form label {
  display: grid;
  gap: 7px;
  color: #363c49;
  font-size: 14px;
  font-weight: 800;
}

.join-form input,
.join-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  color: var(--ink);
  font: inherit;
  background: #faf8f2;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
}

.join-form textarea {
  min-height: 112px;
  resize: vertical;
}

.join-form input:focus,
.join-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(216, 163, 65, 0.18);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(18px, 5vw, 76px);
  color: rgba(255, 255, 255, 0.72);
  background: #0f1219;
}

.site-footer p {
  max-width: 900px;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.site-footer a {
  color: var(--gold);
  font-weight: 800;
  white-space: nowrap;
}

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

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: 76px 14px auto 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: rgba(16, 19, 26, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  body.nav-open .main-nav {
    display: flex;
  }

  .hero {
    min-height: 92vh;
  }

  .hero-content {
    margin: 0 auto;
    padding-top: 110px;
  }

  .feature-strip,
  .card-grid,
  .timeline,
  .split-layout,
  .community-layout,
  .join-card {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .site-header {
    padding: 12px 14px;
  }

  .brand small {
    display: none;
  }

  .hero-content {
    width: calc(100% - 28px);
  }

  h1 {
    font-size: 43px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-stats span,
  .button {
    width: 100%;
  }

  .requirement-grid,
  .social-grid,
  .guide-list article {
    grid-template-columns: 1fr;
  }

  .guide-list article {
    gap: 8px;
  }

  .site-footer {
    display: block;
  }

  .site-footer a {
    display: inline-flex;
    margin-top: 16px;
  }
}
