@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&family=Space+Grotesk:wght@400;500;600&display=swap');

:root {
  --bg: #ffffff;
  --ink: #171512;
  --mustard: #e8981f;
  --ketchup: #c81838;
  --denim: #3B5998;
  --cream: #fff8ec;
  --line: #171512;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Space Grotesk', sans-serif;
  min-height: 100vh;
}

h1, h2, .display {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  margin: 0;
}

a {
  color: inherit;
}

/* ---------- shared icon row ---------- */

.icon-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(1.25rem, 6vw, 3.5rem);
  padding: 1.75rem clamp(1rem, 5vw, 3rem);
  flex-wrap: wrap;
}

.icon-row img {
  width: clamp(38px, 6vw, 58px);
  height: auto;
  opacity: 0.92;
}

.icon-row.row-top img:nth-child(odd),
.icon-row.row-bottom img:nth-child(even) {
  transform: rotate(-6deg);
}

.icon-row.row-top img:nth-child(even),
.icon-row.row-bottom img:nth-child(odd) {
  transform: rotate(5deg);
}

/* ---------- homepage hero ---------- */

.hero {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.hero-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem 1.5rem 2.5rem;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 8vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  max-width: 16ch;
}

.crest {
  width: clamp(130px, 18vw, 210px);
  height: auto;
  margin-bottom: 1.2rem;
}

.squiggle {
  width: clamp(140px, 24vw, 220px);
  height: 26px;
  margin: 0.6rem auto 0;
}

.tagline {
  margin: 1.4rem 0 0;
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  color: #4a453e;
  max-width: 38ch;
}

.cta {
  display: inline-block;
  margin-top: 2.2rem;
  padding: 0.9rem 2.1rem;
  background: var(--ink);
  color: var(--bg);
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  border-radius: 999px;
  border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--mustard);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--mustard);
}

footer {
  text-align: center;
  padding: 1.4rem 1rem 1.8rem;
  font-size: 0.85rem;
  color: #948d80;
  letter-spacing: 0.02em;
}

/* ---------- roster page ---------- */

.roster-header {
  text-align: center;
  padding: 3rem 1.5rem 1rem;
}

.roster-header .eyebrow-link {
  display: inline-block;
  margin-bottom: 1.1rem;
  font-size: 0.95rem;
  color: var(--ketchup);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.roster-header .eyebrow-link:hover {
  border-bottom-color: var(--ketchup);
}

.roster-header h1 {
  font-size: clamp(2rem, 6vw, 3rem);
}

.roster-header p {
  margin: 0.6rem 0 0;
  color: #4a453e;
}

.sort-bar {
  max-width: 560px;
  margin: 1.6rem auto 0;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.sort-label {
  font-size: 0.9rem;
  color: #6b6459;
  margin-right: 0.2rem;
}

.sort-btn {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--bg);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.sort-btn:hover {
  background: var(--cream);
}

.sort-btn.active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.roster {
  max-width: 560px;
  margin: 2rem auto 4rem;
  padding: 0 1.25rem;
  display: flex;
  flex-direction: column;
}

.roster-row {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 1.15rem 0.15rem;
  border-bottom: 2px solid var(--ink);
}

.roster-row:last-child {
  border-bottom: none;
}

.roster-row .real-name {
  font-size: clamp(1.15rem, 4.2vw, 1.75rem);
  white-space: nowrap;
  flex: 0 0 auto;
  color: var(--denim);
}

.roster-row .leader {
  flex: 1 1 auto;
  min-width: 16px;
  border-bottom: 3px dotted var(--mustard);
  margin-bottom: 6px;
}

.roster-row .nickname {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: clamp(1.15rem, 4.6vw, 1.5rem);
  color: var(--ketchup);
  white-space: nowrap;
  flex: 0 0 auto;
}

.roster-empty {
  text-align: center;
  padding: 2rem 1.5rem;
  color: #6b6459;
}