/* Mythic Rogues — hand-written stylesheet. No framework, no build step. */

:root {
  /* Palette sampled from the live site, adjusted so every text pair clears
     WCAG 2.2 AA. Brand crimson #881e44 is kept for fills (white on it is
     9.07:1); a lightened rose is used wherever the accent carries text. */
  --bg: #10101c;
  --bg-alt: #151424;
  --surface: #1a1830;
  --surface-2: #221f3a;
  --accent: #881e44;
  --accent-deep: #6e1637;
  --accent-text: #ec5c82;
  --ink: #f2f2f5;
  --ink-muted: #c9c4d4;
  --rule: #372f4d;
  --focus: #ffd166;

  --display: "Saira Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 76rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --gap: clamp(1.5rem, 3vw, 2.5rem);
  --section-y: clamp(3.5rem, 8vw, 6.5rem);
  --radius: 10px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent-text); }
a:hover { color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

ul { list-style: none; margin: 0; padding: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 48rem; }

.u-accent { color: var(--accent-text); }

.u-visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -4rem;
  z-index: 100;
  background: var(--ink);
  color: var(--bg);
  padding: 0.65rem 1rem;
  font-weight: 700;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: top 0.15s ease;
}
.skip-link:focus { top: 0; color: var(--bg); }

/* ------------------------------------------------------------- buttons -- */

.btn {
  display: inline-block;
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.0625rem;
  line-height: 1.2;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn--lg { padding: 0.9rem 1.9rem; font-size: 1.1875rem; }

.btn--outline {
  color: var(--ink);
  border-color: var(--accent-text);
  background: transparent;
}
.btn--outline:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn--solid {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.btn--solid:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }

/* -------------------------------------------------------------- header -- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(16, 16, 28, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}

.brand { display: block; line-height: 0; }
.brand img { width: clamp(10rem, 22vw, 13.5rem); height: auto; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.6rem;
  background: transparent;
  border: 2px solid var(--rule);
  border-radius: 6px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.5rem 0.85rem;
  cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--ink);
  content: "";
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before { position: absolute; top: -6px; }
.nav-toggle__bars::after { position: absolute; top: 6px; }

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
}

.site-nav a:not(.btn) {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.0625rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  text-decoration: none;
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:not(.btn):hover { color: var(--accent-text); }
.site-nav a[aria-current="page"] {
  color: var(--accent-text);
  border-bottom-color: var(--accent-text);
}

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

.hero {
  position: relative;
  background:
    radial-gradient(120% 100% at 78% 40%, rgba(136, 30, 68, 0.42), transparent 62%),
    linear-gradient(180deg, #1a1430 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: var(--gap);
  padding-block: clamp(3rem, 7vw, 5.5rem);
}

.hero__title { font-size: clamp(2.75rem, 7vw, 5rem); }

.hero__tagline {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: clamp(1.0625rem, 2.2vw, 1.4rem);
  color: var(--accent-text);
  margin: 0.75rem 0 1.75rem;
}

.hero__art img {
  width: 100%;
  max-width: 26rem;
  margin-inline: auto;
  filter: drop-shadow(0 18px 38px rgba(0, 0, 0, 0.55));
}

/* --------------------------------------------------------------- bands -- */

.band { padding-block: clamp(2.5rem, 5vw, 3.75rem); }

.band--statement {
  background: var(--bg-alt);
  border-block: 1px solid var(--rule);
  text-align: center;
}

.band__text {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  line-height: 1.15;
  margin: 0;
}
.band__text--sm { font-size: clamp(1.125rem, 2.4vw, 1.5rem); }

.band--statement .u-accent { text-decoration: underline; text-underline-offset: 6px; }

.band--sponsors {
  background: var(--accent);
  text-align: center;
}
.band__note { margin: 1rem 0 0; }
.link-on-accent { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.link-on-accent:hover { color: #ffe3ec; }

.band--cta {
  background:
    linear-gradient(90deg, rgba(136, 30, 68, 0.55), rgba(16, 16, 28, 0.2)),
    var(--bg-alt);
  border-block: 1px solid var(--rule);
}
.band--cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
}

/* ---------------------------------------------------------------- pitch -- */

.pitch {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(100deg, var(--bg) 0%, var(--bg) 42%, rgba(136, 30, 68, 0.55) 100%),
    url("/assets/home-page.png") center / cover no-repeat;
  padding-block: clamp(3.5rem, 8vw, 6rem);
  overflow: hidden;
}

/* Decorative emblem watermark on the right, mirroring the live layout. */
.pitch::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset-block: -10%;
  right: -4%;
  width: min(42%, 34rem);
  background: url("/assets/right-image.png") right center / contain no-repeat;
  opacity: 0.22;
  pointer-events: none;
}

.pitch__copy { max-width: 34rem; }

.pitch__heading { font-size: clamp(1.75rem, 4.2vw, 2.75rem); }
.pitch__heading .pitch__rest { display: block; color: var(--ink); }
.pitch__copy .btn { margin-top: 1.75rem; }

/* ------------------------------------------------------------- sections -- */

.section { padding-block: var(--section-y); }
.section--tiers { background: var(--bg-alt); }
.section--origin { background: var(--bg-alt); }
.section--coming { text-align: center; }

.section__heading {
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  text-align: center;
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
}
.section__heading--left { text-align: left; }
.section__heading--on-accent { color: #fff; margin-bottom: 0; }

.prose-columns { columns: 2; column-gap: var(--gap); max-width: 70rem; }
.prose-columns p { break-inside: avoid; color: var(--ink-muted); }

/* ----------------------------------------------------------- team cards -- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: var(--gap);
}

.card {
  background: var(--surface);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.card__title { font-size: 1.3rem; margin-bottom: 0.65rem; }
.card__link { color: var(--ink); text-decoration: none; }
.card__link:hover { color: var(--accent-text); }
.card__body { color: var(--ink-muted); font-size: 0.9375rem; margin: 0; }

/* ---------------------------------------------------------------- tiers -- */

.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: var(--gap);
  align-items: start;
}

.tier {
  background: var(--surface);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
  text-align: center;
}
.tier--mythic { background: var(--accent); border-color: var(--accent-text); }

.tier__name { font-size: 1.25rem; }

.tier__price {
  display: inline-block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.75rem;
  letter-spacing: 0.02em;
  background: var(--accent);
  color: #fff;
  padding: 0.35rem 1.35rem;
  border-radius: 6px;
  margin: 1rem 0;
}
.tier--mythic .tier__price { background: var(--bg); }

.tier__detail { color: var(--ink-muted); }
.tier--mythic .tier__detail,
.tier--mythic .tier__note { color: #f6e7ec; }

.tier__note {
  font-size: 0.875rem;
  color: var(--ink-muted);
  border-top: 1px solid var(--rule);
  padding-top: 1rem;
  margin-top: 1rem;
  text-align: left;
}
.tier--mythic .tier__note { border-top-color: rgba(255, 255, 255, 0.28); }

.tier .btn { margin-top: 1.25rem; }
.tier--mythic .btn--solid { background: var(--bg); border-color: var(--bg); }
.tier--mythic .btn--solid:hover { background: #000; border-color: #000; }

.amounts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}
.amount {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 1px solid var(--accent-text);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  font-size: 0.9375rem;
}

.tiers__footnote {
  max-width: 46rem;
  margin: clamp(1.75rem, 4vw, 2.5rem) auto 0;
  text-align: center;
  color: var(--ink-muted);
}

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

.roster { display: grid; gap: clamp(1.5rem, 3vw, 2.25rem); }

.member {
  display: grid;
  grid-template-columns: 13rem minmax(0, 1fr);
  gap: var(--gap);
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem);
  scroll-margin-top: 6rem;
}

.member__portrait {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: linear-gradient(150deg, var(--surface-2), rgba(136, 30, 68, 0.35));
}

.member__monogram {
  font-family: var(--display);
  font-weight: 700;
  font-size: 3.25rem;
  letter-spacing: 0.04em;
  color: var(--accent-text);
}

.member__name { font-size: clamp(1.3rem, 2.6vw, 1.75rem); }

.member__handle {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-text);
  font-size: 0.9375rem;
  margin: 0.35rem 0 1rem;
}

.member__bio { color: var(--ink-muted); font-size: 0.9375rem; }

.badges { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1.25rem; }

.badge {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.875rem;
  border: 2px solid var(--accent-text);
  border-radius: 6px;
  padding: 0.4rem 0.9rem;
}

/* ----------------------------------------------------------- quotes/FAQ -- */

.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: var(--gap);
}

.quote {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--accent-text);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  text-align: center;
}

.quote__mark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
  line-height: 0.6;
  color: var(--accent-text);
  margin: 0 0 0.75rem;
}
.quote__heading { font-size: 1.25rem; margin-bottom: 1rem; }
.quote__body { margin: 0; color: var(--ink-muted); font-size: 0.9375rem; }
.quote__by { margin-top: 1.25rem; display: grid; gap: 0.15rem; }
.quote__name { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.quote__role {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

.section--faq { background: var(--bg-alt); }

.faq__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: var(--gap);
  align-items: start;
}
.faq__inner .section__heading { margin-bottom: 0; }

.faq { display: grid; gap: 0.75rem; }

.faq__item {
  background: var(--accent);
  border: 1px solid var(--accent-text);
  border-radius: 6px;
}

.faq__q {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.0625rem;
  color: #fff;
  padding: 0.85rem 1.1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "\2192";
  font-family: var(--body);
  transition: transform 0.2s ease;
  flex: none;
}
.faq__item[open] .faq__q::after { transform: rotate(90deg); }

.faq__a {
  padding: 0 1.1rem 1.1rem;
  color: #f6e7ec;
  font-size: 0.9375rem;
}

/* -------------------------------------------------------------- notice -- */

.notice {
  border: 2px dashed var(--accent-text);
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(1.25rem, 3vw, 2rem);
  color: var(--ink-muted);
}

.notice__label {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-text);
  margin-bottom: 0.75rem;
}

/* -------------------------------------------------------------- footer -- */

.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--rule);
  padding-block: clamp(2.5rem, 5vw, 3.5rem) 1.5rem;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
}

.site-footer__brand img { width: 12rem; }

.site-footer__nav ul { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.site-footer__nav a {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  text-decoration: none;
}
.site-footer__nav a:hover,
.site-footer__nav a[aria-current="page"] { color: var(--accent-text); }

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  font-size: 0.875rem;
  color: var(--ink-muted);
}
.site-footer__legal p { margin: 0; }

/* --------------------------------------------------------------- small -- */

@media (max-width: 60rem) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__copy { order: 2; }
  .hero__art { order: 1; }
  .hero__art img { max-width: 18rem; }
  .faq__inner { grid-template-columns: 1fr; }
  .pitch::after { opacity: 0.12; width: 60%; }
  .prose-columns { columns: 1; }
  .member { grid-template-columns: 1fr; }
  .member__portrait { max-width: 11rem; }
}

@media (max-width: 48rem) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    display: none;
    width: 100%;
    order: 3;
    padding-bottom: 1rem;
  }
  .site-nav.is-open { display: block; }
  .site-header__inner { flex-wrap: wrap; }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .site-nav__list li { border-top: 1px solid var(--rule); }
  .site-nav a:not(.btn) { display: block; padding: 0.85rem 0; border-bottom: 0; }
  .site-nav__cta { border-top: 0; padding-top: 1rem; }
  .site-nav__cta .btn { display: block; text-align: center; }

  .site-footer__inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
