:root {
  color-scheme: dark;
  --ink: #f7fbff;
  --muted: #b7c8d4;
  --deep: #071014;
  --panel: #102229;
  --panel-2: #152e33;
  --line: rgba(255, 255, 255, 0.16);
  --aqua: #7ee7d5;
  --gold: #f4c96b;
  --coral: #ff8f7a;
  --shadow: rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--deep);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(16px, 4vw, 48px);
  background: rgba(7, 16, 20, 0.76);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, var(--aqua) 0 24%, transparent 25%),
    radial-gradient(circle at 50% 64%, var(--gold) 0 38%, transparent 39%),
    #18343a;
  border: 1px solid var(--line);
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

nav a {
  border-radius: 999px;
  padding: 8px 10px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

nav a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.1);
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 16, 20, 0.9) 0%, rgba(7, 16, 20, 0.62) 38%, rgba(7, 16, 20, 0.1) 72%),
    linear-gradient(0deg, var(--deep) 0%, rgba(7, 16, 20, 0.1) 34%, rgba(7, 16, 20, 0.38) 100%);
}

.hero-content {
  width: min(760px, calc(100% - 32px));
  margin: 0 clamp(16px, 6vw, 72px) clamp(42px, 9vh, 92px);
  padding-top: 96px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(54px, 9vw, 120px);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: #d8e6ed;
  font-size: clamp(18px, 2vw, 24px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 6px;
  padding: 12px 18px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 16px 34px var(--shadow);
}

.button.primary {
  background: var(--aqua);
  color: #062127;
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
}

.intro,
.band,
.ranks,
.join,
.gallery-strip {
  padding: clamp(54px, 8vw, 96px) clamp(16px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
  background: var(--deep);
}

.intro h2,
.section-head h2,
.join h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

.intro > p,
.join p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.band {
  background: #0c1a1e;
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 880px;
  margin-bottom: 28px;
}

.law-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.law-grid article,
.rank-list article {
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.number {
  display: inline-block;
  margin-bottom: 36px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
}

h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.12;
}

article p {
  margin: 0;
  color: var(--muted);
}

.ranks {
  background: var(--deep);
}

.rank-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.rank-list article {
  background: var(--panel-2);
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  padding-top: 1px;
  padding-bottom: 1px;
}

.symbol {
  min-height: 180px;
  display: grid;
  place-items: center;
  gap: 12px;
  padding: 24px 16px;
  background: #0b171b;
  text-align: center;
}

.symbol span {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 50%, rgba(126, 231, 213, 0.9) 0 16%, transparent 17%),
    conic-gradient(from 90deg, var(--gold), var(--coral), var(--aqua), var(--gold));
  box-shadow: 0 0 38px rgba(126, 231, 213, 0.22);
}

.symbol p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.join {
  min-height: 58vh;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 18px;
  background: #102229;
}

.join p {
  max-width: 760px;
}

footer {
  padding: 24px clamp(16px, 5vw, 72px);
  color: var(--muted);
  background: #071014;
  border-top: 1px solid var(--line);
}

footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .intro,
  .law-grid,
  .rank-list,
  .gallery-strip {
    grid-template-columns: 1fr;
  }

  .hero-content {
    width: min(680px, calc(100% - 32px));
  }
}

@media (max-width: 560px) {
  .site-header {
    position: absolute;
  }

  nav {
    justify-content: flex-start;
  }

  nav a {
    padding-inline: 8px;
  }

  .hero {
    min-height: 96svh;
  }

  .hero-content {
    margin-bottom: 36px;
  }

  h1 {
    font-size: clamp(48px, 18vw, 78px);
  }

  .button {
    width: 100%;
  }

  .symbol {
    min-height: 140px;
  }
}
