:root {
  --dfc-red: #b91c1c;
  --dfc-yellow: #eab308;
  --dfc-cream: #f8f4ef;
  --dfc-logo: #0c3b5c;
  --dfc-band: #e07a3a;
  --dfc-ink: #1a1a1a;
  --dfc-muted: #5c5c5c;
  --wheel-size: min(72vw, 420px);
  --band-height: min(42vw, 280px);
  --font-display: "Bebas Neue", Impact, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
}

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

html,
body {
  margin: 0;
  padding: 0;
  background: #fff;
  color: var(--dfc-ink);
  font-family: var(--font-body);
}

.hero {
  position: relative;
  width: 100%;
  min-height: calc(var(--band-height) + var(--wheel-size) * 0.22);
  display: flex;
  align-items: center;
  isolation: isolate;
}

.hero__band {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: var(--band-height);
  z-index: 0;
  overflow: hidden;
}

.hero__photo {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, rgba(185, 28, 28, 0.18), transparent 40%),
    linear-gradient(225deg, rgba(234, 179, 8, 0.22), transparent 45%),
    linear-gradient(90deg, #c45c28, #e07a3a 40%, #f0a060 70%, #d46830);
}

.hero__wheel-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(0.5rem, 3vw, 2rem);
  display: flex;
  justify-content: flex-start;
}

.hero__wheel {
  position: relative;
  width: var(--wheel-size);
  height: var(--wheel-size);
  flex-shrink: 0;
}

.hero__svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  display: block;
}

.hero__ring {
  transform-origin: 200px 200px;
  transition: transform 0.85s cubic-bezier(0.22, 0.9, 0.28, 1);
}

.hero__seg {
  fill: url(#clubGradient);
  stroke: rgba(255, 255, 255, 0.72);
  stroke-width: 2.5;
  cursor: pointer;
  transform-origin: 200px 200px;
  transition:
    transform 0.28s cubic-bezier(0.22, 0.9, 0.35, 1),
    filter 0.28s ease,
    opacity 0.28s ease;
  filter: url(#segShadow);
}

.hero__seg:focus {
  outline: none;
}

.hero__seg:focus-visible {
  stroke: #0c3b5c;
  stroke-width: 3.5;
}

.hero__seg.is-out,
.hero__seg:hover,
.hero__seg.is-preview {
  /* radial out via CSS variable set in JS as translate */
}

.hero__logo {
  fill: var(--dfc-logo);
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.28));
  pointer-events: none;
}

.hero__logo-mark {
  fill: #fff;
  font-family: var(--font-display);
  font-size: 42px;
  letter-spacing: 0.06em;
  pointer-events: none;
}

.hero__logo-year {
  fill: rgba(255, 255, 255, 0.78);
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.18em;
  pointer-events: none;
}

.hero__labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.22s ease;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.6vw, 1.65rem);
  letter-spacing: 0.04em;
  color: #fff;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.75),
    0 3px 12px rgba(0, 0, 0, 0.55),
    0 0 1px rgba(0, 0, 0, 0.9);
  z-index: 5;
}

.hero__label.is-visible {
  opacity: 1;
}

.subnav {
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-18px);
  transition:
    max-height 0.55s cubic-bezier(0.22, 0.9, 0.28, 1),
    opacity 0.4s ease,
    transform 0.55s cubic-bezier(0.22, 0.9, 0.28, 1);
}

.subnav.is-open {
  max-height: 220px;
  opacity: 1;
  transform: translateY(0);
}

.subnav__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem clamp(1rem, 3vw, 2rem) 1.75rem;
}

.subnav__eyebrow {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  color: var(--dfc-red);
}

.subnav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.1rem;
}

.subnav__links a {
  color: var(--dfc-ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.02rem;
  border-bottom: 2px solid transparent;
  padding-bottom: 0.1rem;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.subnav__links a:hover,
.subnav__links a:focus-visible {
  color: var(--dfc-red);
  border-bottom-color: var(--dfc-yellow);
}

.content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem clamp(1rem, 3vw, 2rem) 4rem;
}

.content__hint {
  margin: 0;
  color: var(--dfc-muted);
  font-size: 0.98rem;
  line-height: 1.55;
  max-width: 40rem;
}

@media (max-width: 720px) {
  :root {
    --wheel-size: min(88vw, 340px);
    --band-height: min(48vw, 200px);
  }

  .hero__wheel-wrap {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__ring,
  .hero__seg,
  .hero__label,
  .subnav {
    transition: none !important;
  }
}
