/* Big Dynasty Energy — one stylesheet, no build step, no framework.
   Structure mirrors wolffisthe.best: semantic HTML + a single bundle. */

:root {
  --bg: #0e1116;
  --panel: #161b23;
  --panel-2: #1d232d;
  --line: #2a323f;
  --ink: #e8edf4;
  --ink-dim: #97a3b4;
  --accent: #ffb020;
  --accent-2: #4ea1ff;
  --radius: 14px;
  --wrap: 62rem;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 clamp(1rem, 0.96rem + 0.2vw, 1.075rem)/1.65
        ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.hero {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) 1.25rem clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
}

.hero__logo {
  width: clamp(120px, 26vw, 200px);
  height: auto;
  margin: 0 auto 1.5rem;
  border-radius: 22%;
  border: 1px solid var(--line);
}

.hero__name {
  margin: 0;
  font-size: clamp(2rem, 1.3rem + 3.4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.hero__tagline {
  margin: 0.75rem 0 0;
  color: var(--ink-dim);
  font-size: 1rem;
}

/* ---------- layout ---------- */

main {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section { margin: clamp(2.5rem, 6vw, 4rem) 0; }

.section-label {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.lede {
  margin: 0;
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem);
  color: var(--ink);
  max-width: 46rem;
}

/* ---------- trophy ---------- */

.trophy__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 1.2rem + 2vw, 2.6rem);
  letter-spacing: -0.02em;
}

.trophy__blurb {
  margin: 0 0 1.5rem;
  color: var(--ink-dim);
  max-width: 44rem;
}

.trophy__video,
.trophy__placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
}

.trophy__video { display: block; object-fit: cover; }

.trophy__placeholder {
  display: grid;
  place-content: center;
  gap: 0.5rem;
  text-align: center;
  color: var(--ink-dim);
  background:
    repeating-linear-gradient(45deg,
      var(--panel) 0 14px, var(--panel-2) 14px 28px);
}

.trophy__placeholder p { margin: 0; }

.trophy__placeholder-mark {
  font-size: 2.5rem;
  color: var(--accent);
  line-height: 1;
}

.prose {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-dim);
}

.prose strong { color: var(--ink); }

/* ---------- announcements ---------- */

.announce--featured {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.15rem, 3vw, 1.75rem);
}

.announce__tag {
  margin: 0 0 0.5rem;
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--accent);
  color: #1a1204;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- votes ---------- */

.vote {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.25rem;
  align-items: center;
  background: var(--panel-2);
  border: 1px dashed var(--accent);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
}

.vote__status {
  margin: 0 0 0.4rem;
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.vote__status--open {
  background: rgba(255, 176, 32, 0.16);
  color: var(--accent);
  border: 1px solid rgba(255, 176, 32, 0.4);
}

.vote__head { margin: 0 0 0.5rem; font-size: 1.1rem; }

.vote__cta {
  display: grid;
  gap: 0.15rem;
  justify-items: center;
  text-align: center;
  white-space: nowrap;
  padding: 0.8rem 1.3rem;
  border-radius: 10px;
  background: var(--accent);
  color: #1a1204;
  font-weight: 750;
  text-decoration: none;
  transition: filter 0.15s ease;
}

.vote__cta:hover,
.vote__cta:focus-visible { filter: brightness(1.1); color: #1a1204; }

.vote__cta-sub {
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.72;
}

.vote__note {
  margin: 0.85rem 0 0;
  font-size: 0.88rem;
  color: var(--ink-dim);
}

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

.footer {
  max-width: var(--wrap);
  margin: clamp(3rem, 8vw, 5rem) auto 0;
  padding: 1.75rem 1.25rem 3rem;
  border-top: 1px solid var(--line);
  color: var(--ink-dim);
  font-size: 0.9rem;
  text-align: center;
}

.footer p { margin: 0 0 0.35rem; }
.footer__fine { font-size: 0.82rem; opacity: 0.75; }

/* ---------- motion / contrast ---------- */

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ---------- links / resources ---------- */

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

.link-card {
  display: grid;
  gap: 0.25rem;
  padding: 1.05rem 1.2rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.link-card:hover,
.link-card:focus-visible {
  border-color: var(--accent);
  background: var(--panel-2);
  color: var(--ink);
}

.link-card__head { font-weight: 650; }

.link-card__sub {
  font-size: 0.88rem;
  color: var(--ink-dim);
}

/* ============================================================
   RESPONSIVE
   The grids above are already fluid (auto-fit + minmax, clamp
   type, no fixed widths). These rules fix the things fluidity
   alone does not: long values squeezed into a 2-col dl, and
   any string that could push the page sideways on a phone.
   ============================================================ */

/* Nothing may cause a horizontal scrollbar. */
html, body { max-width: 100%; overflow-x: hidden; }

body, .link-card, .lede, .prose, .vote__head {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Tablet and down: rule cards go full width sooner so the
   longest line ("1 QB, 2 RB, 3 WR, 1 TE, 3 FLEX, 1 SF") keeps
   a sane measure instead of wrapping every two words. */
@media (max-width: 48rem) {
  .links { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
}

/* Phones: stack the definition lists. A right-aligned value
   column does not survive a 360px screen — the label and the
   value end up fighting over ~90px each. */
@media (max-width: 34rem) {
  .links { grid-template-columns: 1fr; }
  .vote, .link-card { padding: 1.05rem 1.1rem; }

  .vote { grid-template-columns: 1fr; gap: 1rem; }
  .vote__cta { width: 100%; }

  .hero { padding-top: 2rem; }
  .hero__logo { width: clamp(104px, 34vw, 150px); }
}

/* Very small phones (≤ 360px). Just take the edges back. */
@media (max-width: 22.5rem) {
  main, .hero, .footer { padding-left: 1rem; padding-right: 1rem; }
  .vote, .link-card { padding: 0.95rem 1rem; }
}

/* Wide screens: stop the logo ballooning and keep the measure
   readable rather than letting text run the full 62rem. */
@media (min-width: 90rem) {
  .lede { max-width: 44rem; }
}

/* ---------- wall of shame ---------- */

.shame {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.shame__item {
  display: grid;
  grid-template-columns: minmax(7rem, auto) 1fr auto;
  gap: 0.35rem 1rem;
  align-items: baseline;
  padding: 0.95rem 1.15rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid #d9534f;
  border-radius: var(--radius);
}

.shame__who { font-weight: 700; }
.shame__what { color: var(--ink-dim); }

.shame__when {
  color: var(--ink-dim);
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0.8;
}

.shame__empty {
  padding: 1.15rem 1.25rem;
  background: var(--panel);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--ink-dim);
  text-align: center;
}

@media (max-width: 34rem) {
  .shame__item {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
  .shame__when { opacity: 0.65; }
}

.shame__intro {
  margin: 0 0 1rem;
  color: var(--ink-dim);
  max-width: 42rem;
}

/* ---------- dues tracker ---------- */

.dues__call {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 650;
}

.dues__meter {
  margin: 0 0 1rem;
  color: var(--ink-dim);
  font-size: 0.92rem;
}

.dues__meter b { color: var(--accent); }

.dues {
  list-style: none;
  margin: 0 0 0.9rem;
  padding: 0;
  display: grid;
  gap: 0.4rem;
  /* One name per row, stacked. Not a multi-column grid — the paid roll is
     short and reads as a list of people, not a table of data. */
  grid-template-columns: 1fr;
}

.dues__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-start;
  gap: 0.15rem 0.5rem;
  align-items: baseline;
  gap: 1rem;
  padding: 0.6rem 0.9rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--line);
  border-radius: 10px;
  font-size: 0.92rem;
}

.dues__row--paid { border-left-color: #5abe78; }

.dues__who { font-weight: 600; }

.dues__state {
  color: var(--ink-dim);
  font-size: 0.82rem;
  white-space: nowrap;
}

.dues__row--paid .dues__state { color: #5abe78; }

.dues__fine {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-dim);
}

.dues__venmo {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.65rem 1.1rem;
  border-radius: 10px;
  background: #008CFF;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: filter 0.15s ease;
}

.dues__venmo:hover,
.dues__venmo:focus-visible { filter: brightness(1.1); color: #fff; }

/* paid-only roll: green names, celebration */

.dues__row--paid .dues__who { color: #5abe78; }

.dues__tada { font-size: 1rem; line-height: 1; }

.dues__none {
  margin: 0 0 0.9rem;
  padding: 1rem 1.15rem;
  background: var(--panel);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--ink-dim);
  text-align: center;
}

.feedback__lede {
  margin: 0 0 1rem;
  color: var(--ink-dim);
  max-width: 44rem;
}

.dues__countdown {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  font-weight: 650;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

/* the fortune sits after the name, wrapping to its own line on narrow screens */
.dues__fortune {
  flex: 1 1 16rem;
  color: var(--ink-dim);
  font-size: 0.86rem;
  font-style: italic;
}

/* ---------- portrait video stage ---------- */

.stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.35rem, 1.2vw, 1rem);
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  aspect-ratio: 16 / 9;
}

/* soft brand wash behind everything so the gutters are not flat panel grey */
.stage::before {
  content: "";
  position: absolute;
  inset: -10%;
  background: url("/img/logo@400.png") center / cover no-repeat;
  filter: blur(46px) saturate(1.1) brightness(0.34);
}

/* THE LOGO, one in each gutter, either side of the portrait video */
.stage__mark {
  position: relative;
  z-index: 1;
  /* Fill whatever gutter is left after the portrait video takes its height.
     flex-basis 0 + grow means "share the remainder equally", so the logo is
     exactly as wide as the gutter at any viewport. */
  flex: 1 1 0;
  min-width: 0;
  /* FILL THE WHOLE GUTTER, both axes. The logo is square and the gutter is
     usually taller than it is wide, so an aspect-ratio square left dead space
     above it. Stretching to the full stage height and using `cover` makes the
     logo crop instead — top/bottom or sides, whichever the gutter demands —
     and `center` keeps the crop even on both sides.
     .stage has overflow:hidden, so the crop is clean. */
  align-self: stretch;
  background: url("/img/logo@700.png") center center / cover no-repeat;
  opacity: 0.9;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.5));
}

.stage__video {
  position: relative;
  z-index: 1;
  height: 100%;
  width: auto;
  max-width: 100%;
  display: block;
  border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.55);
}

/* Phones: the stage goes portrait and there is no room beside the video,
   so the marks come out rather than being squashed to specks. */
@media (max-width: 40rem) {
  .stage { aspect-ratio: 3 / 4; gap: 0; }
  .stage__mark { display: none; }
}

}
