:root {
  --ink: #050505;
  --ink-2: #0d0d0d;
  --ink-3: #161616;
  --bone: #f4f0e6;
  --bone-dim: #b8ae9a;
  --gold: #c9a227;
  --gold-bright: #e8c547;
  --gold-soft: rgba(201, 162, 39, 0.16);
  --steel: #8a8578;
  --line: rgba(232, 197, 71, 0.14);
  --line-strong: rgba(232, 197, 71, 0.28);
  --font-display: "Amiri", "Noto Naskh Arabic", serif;
  --font-body: "Cairo", system-ui, sans-serif;
  --radius: 2px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --max: 1100px;
  --nav-h: 3.75rem;
  --touch: 44px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}

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

[hidden] {
  display: none !important;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--bone);
  background: var(--ink);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  padding-bottom: calc(4.25rem + var(--safe-b));
}

@media (min-width: 861px) {
  body {
    padding-bottom: 0;
  }
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(100% - 1.35rem, var(--max));
  margin-inline: auto;
}

@media (min-width: 640px) {
  .container {
    width: min(100% - 2rem, var(--max));
  }
}

.section {
  padding: 3.4rem 0;
  position: relative;
  border-top: 1px solid var(--line);
}

@media (min-width: 860px) {
  .section {
    padding: 5.6rem 0;
  }
}

.section__kicker {
  margin: 0 0 0.5rem;
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 800;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 6.2vw, 3.15rem);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 0.6rem;
}

.section__lead {
  max-width: 34rem;
  color: var(--bone-dim);
  margin: 0 0 1.7rem;
  font-size: 0.97rem;
}

/* Nav */
.site-nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  min-height: var(--nav-h);
  padding: calc(0.45rem + var(--safe-t)) 0.85rem 0.45rem;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}

.site-nav.is-solid {
  background: rgba(5, 5, 5, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  z-index: 2;
}

.brand__logo {
  width: 2.35rem;
  height: 2.35rem;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(201, 162, 39, 0.45));
}

.brand__text {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  background: linear-gradient(180deg, #fff6d2, var(--gold-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--touch);
  min-height: var(--touch);
  padding: 0 0.7rem;
  background: rgba(232, 197, 71, 0.06);
  border: 1px solid var(--line-strong);
  color: var(--bone);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 800;
  z-index: 2;
}

.nav-links {
  position: fixed;
  inset: 0;
  margin: 0;
  padding: calc(var(--nav-h) + var(--safe-t) + 1rem) 1.1rem 2rem;
  list-style: none;
  display: none;
  flex-direction: column;
  gap: 0.1rem;
  background: rgba(5, 5, 5, 0.98);
  z-index: 1;
}

.nav-links.is-open {
  display: flex;
}

.nav-links a {
  display: flex;
  align-items: center;
  min-height: var(--touch);
  padding: 0.35rem 0.15rem;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--bone-dim);
  border-bottom: 1px solid var(--line);
}

.nav-links a:hover,
.nav-links a:active {
  color: var(--gold-bright);
}

.nav-cta {
  margin-top: 0.85rem !important;
  justify-content: center !important;
  background: linear-gradient(135deg, #e8c547, #a8841a) !important;
  color: #111 !important;
  border: 0 !important;
  border-radius: var(--radius);
  font-weight: 900 !important;
}

@media (min-width: 861px) {
  .nav-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.15rem 1rem;
    padding: 0;
    background: transparent;
  }

  .nav-links a {
    min-height: auto;
    padding: 0.3rem 0;
    font-size: 0.88rem;
    border: 0;
  }

  .nav-cta {
    margin-top: 0 !important;
    padding: 0.45rem 0.95rem !important;
  }
}

/* Mobile dock */
.mobile-dock {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 55;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 0.3rem 0.2rem calc(0.3rem + var(--safe-b));
  background: rgba(5, 5, 5, 0.96);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.mobile-dock a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.12rem;
  min-height: 3.05rem;
  font-size: 0.66rem;
  font-weight: 800;
  color: var(--steel);
}

.mobile-dock a span {
  font-size: 0.95rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.75;
}

.mobile-dock a.is-active,
.mobile-dock a:active {
  color: var(--bone);
}

.mobile-dock a.is-active span {
  opacity: 1;
}

@media (min-width: 861px) {
  .mobile-dock {
    display: none;
  }
}

/* Hero — crest first */
.hero {
  min-height: 100svh;
  display: grid;
  align-items: end;
  position: relative;
  isolation: isolate;
  padding: calc(var(--nav-h) + var(--safe-t) + 0.35rem) 0 1.5rem;
  overflow: clip;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(ellipse 70% 55% at 50% 38%, rgba(201, 162, 39, 0.16), transparent 68%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.2) 0%, rgba(5, 5, 5, 0.45) 45%, rgba(5, 5, 5, 0.88) 78%, var(--ink) 100%),
    url("https://images.unsplash.com/photo-1574629810360-7efbbe195018?auto=format&fit=crop&w=2200&q=80")
      center 40% / cover no-repeat;
}

.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 55% 50% at 50% 32%, rgba(0, 0, 0, 0.15), transparent 62%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.55) 0%, rgba(5, 5, 5, 0.35) 28%, rgba(5, 5, 5, 0.72) 62%, rgba(5, 5, 5, 0.96) 86%, var(--ink) 100%);
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  inset: 8% 8% auto;
  height: 48%;
  z-index: -1;
  background: radial-gradient(circle, rgba(232, 197, 71, 0.28), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
  animation: glowPulse 7s ease-in-out infinite alternate;
}

@keyframes glowPulse {
  from {
    opacity: 0.45;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: scale(1.08);
  }
}

.hero__stage {
  display: grid;
  justify-items: center;
  text-align: center;
  margin-bottom: 1.15rem;
  animation: riseIn 0.9s var(--ease) both;
}

.hero__crest-wrap {
  position: relative;
  display: grid;
  place-items: center;
  margin-bottom: 0.55rem;
  width: min(78vw, 360px);
}

.hero__ring {
  position: absolute;
  inset: -4%;
  border-radius: 50%;
  border: 1px solid rgba(232, 197, 71, 0.22);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35),
    inset 0 0 40px rgba(232, 197, 71, 0.06),
    0 0 60px rgba(201, 162, 39, 0.18);
  animation: ringBreath 5.5s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes ringBreath {
  from {
    opacity: 0.45;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1.03);
  }
}

.hero__crest {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 22px 48px rgba(0, 0, 0, 0.75)) drop-shadow(0 0 36px rgba(201, 162, 39, 0.35));
  animation: crestFloat 5.8s ease-in-out infinite alternate;
}

@keyframes crestFloat {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-10px);
  }
}

@media (min-width: 860px) {
  .hero__crest-wrap {
    width: min(38vw, 420px);
  }
}

.hero__season {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  color: var(--gold-bright);
  text-indent: 0.28em;
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 10vw, 4rem);
  line-height: 1;
  margin: 0 0 0.45rem;
  background: linear-gradient(180deg, #fff8dc 0%, var(--gold-bright) 42%, #a8841a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.45));
}

.hero__headline {
  font-size: clamp(0.95rem, 3.2vw, 1.18rem);
  max-width: 22rem;
  margin: 0 auto 1.15rem;
  color: var(--bone-dim);
  font-weight: 600;
}

.hero__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  width: min(100%, 26rem);
  margin: 0 auto 1.4rem;
}

@media (min-width: 640px) {
  .hero__actions {
    display: flex;
    justify-content: center;
    width: auto;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: var(--touch);
  padding: 0.7rem 1.05rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 900;
  font-size: 0.9rem;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: linear-gradient(135deg, #f0d060, #c9a227 55%, #8f6d14);
  color: #111;
  box-shadow: 0 8px 24px rgba(201, 162, 39, 0.28);
}

.btn--ghost {
  background: rgba(232, 197, 71, 0.05);
  border-color: var(--line-strong);
  color: var(--bone);
}

.match-panel {
  border: 1px solid var(--line-strong);
  border-top: 2px solid var(--gold);
  background:
    linear-gradient(180deg, rgba(28, 24, 14, 0.92), rgba(8, 8, 8, 0.96));
  padding: 1rem 0.95rem;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(232, 197, 71, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: riseIn 1s var(--ease) 0.15s both;
}

.match-panel__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.8rem;
  color: var(--steel);
  font-size: 0.76rem;
  margin-bottom: 0.85rem;
}

.match-panel__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #111;
  background: linear-gradient(135deg, #f0d060, #c9a227);
  font-weight: 900;
  font-size: 0.7rem;
  padding: 0.22rem 0.55rem;
  border-radius: 2px;
}

.match-score {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.5rem;
  align-items: center;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 5.2vw, 2.2rem);
}

.match-score__team {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.match-score__team span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-score__team--home {
  text-align: end;
}

.match-score__team--away {
  text-align: start;
}

.match-score__nums {
  min-width: 4rem;
  text-align: center;
  color: var(--gold-bright);
  letter-spacing: 0.04em;
}

.match-score__sub {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--steel);
  font-weight: 700;
}

.lineup {
  margin-top: 0.85rem;
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.lineup::-webkit-scrollbar {
  display: none;
}

.lineup span {
  flex: 0 0 auto;
  font-size: 0.7rem;
  padding: 0.32rem 0.5rem;
  border: 1px solid var(--line);
  color: var(--bone-dim);
  white-space: nowrap;
  background: rgba(201, 162, 39, 0.04);
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  margin-top: 0.8rem;
}

.countdown div {
  padding: 0.55rem 0.25rem;
  background: rgba(201, 162, 39, 0.06);
  border: 1px solid var(--line);
  text-align: center;
}

.countdown strong {
  display: block;
  font-size: 1.15rem;
  color: var(--gold-bright);
  font-variant-numeric: tabular-nums;
}

.countdown span {
  font-size: 0.66rem;
  color: var(--steel);
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Players */
.players-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
}

@media (min-width: 560px) {
  .players-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 920px) {
  .players-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.9rem;
  }
}

.player-tile {
  position: relative;
  overflow: hidden;
  min-height: 17.5rem;
  background: var(--ink-2);
  border: 1px solid var(--line);
  padding: 0;
  cursor: pointer;
  text-align: start;
  color: inherit;
  width: 100%;
}

@media (min-width: 560px) {
  .player-tile {
    min-height: 20.5rem;
  }
}

.player-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
  transition: transform 0.55s var(--ease);
}

.player-tile:active img,
.player-tile:hover img {
  transform: scale(1.04);
}

.player-tile__overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(5, 5, 5, 0.96));
  border-top: 1px solid transparent;
}

.player-tile__num {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  color: var(--gold-bright);
}

.player-tile__name {
  font-size: 1.05rem;
  font-weight: 900;
  margin: 0.1rem 0;
}

.player-tile__meta {
  color: var(--steel);
  font-size: 0.8rem;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: stretch;
  justify-content: center;
  padding: 0;
  background: rgba(5, 5, 5, 0.88);
}

.modal.is-open {
  display: flex;
}

.modal__panel {
  width: 100%;
  max-height: 100%;
  overflow: auto;
  display: grid;
  grid-template-columns: 1fr;
  background: var(--ink-2);
  animation: riseIn 0.35s var(--ease);
  -webkit-overflow-scrolling: touch;
}

.modal__media img {
  width: 100%;
  height: min(42vh, 320px);
  object-fit: cover;
}

.modal__body {
  padding: 1.1rem 1.1rem calc(1.4rem + var(--safe-b));
}

.modal__close {
  float: inline-end;
  background: rgba(232, 197, 71, 0.08);
  border: 1px solid var(--line);
  color: var(--bone);
  width: var(--touch);
  height: var(--touch);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.3rem;
}

.modal__num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--gold-bright);
  margin: 0;
}

.modal__name {
  font-family: var(--font-display);
  font-size: 1.7rem;
  margin: 0.15rem 0 0.55rem;
}

.modal__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  margin-bottom: 0.85rem;
  color: var(--steel);
  font-size: 0.85rem;
}

@media (min-width: 820px) {
  .modal {
    align-items: center;
    padding: 1rem;
  }

  .modal__panel {
    width: min(900px, 100%);
    max-height: min(88svh, 680px);
    grid-template-columns: 1.05fr 1fr;
    border: 1px solid var(--line);
  }

  .modal__media img {
    height: 100%;
    min-height: 360px;
  }

  .modal__body {
    padding: 1.6rem;
  }
}

/* City — name only */
.city-section {
  text-align: center;
  overflow: hidden;
}

.city-section__inner {
  position: relative;
  padding: 2.2rem 1rem;
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 70% 80% at 50% 30%, rgba(201, 162, 39, 0.14), transparent 65%),
    var(--ink-2);
}

.city-section__name {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 10vw, 4.2rem);
  line-height: 1.05;
  margin: 0.35rem 0 0.55rem;
  background: linear-gradient(180deg, #fff8dc 0%, var(--gold-bright) 45%, #a8841a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.city-section__lead {
  margin: 0 auto;
  max-width: 22rem;
  color: var(--bone-dim);
  font-size: 0.95rem;
  font-weight: 600;
}

/* Places (legacy unused) */
.places {
  display: grid;
  gap: 0.8rem;
}

.place-list {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.place-list::-webkit-scrollbar {
  display: none;
}

.place-btn {
  flex: 0 0 auto;
  width: min(78vw, 260px);
  text-align: start;
  background: var(--ink-2);
  border: 1px solid var(--line);
  color: var(--bone);
  padding: 0.85rem 0.9rem;
  cursor: pointer;
  min-height: 5.2rem;
}

.place-btn.is-active,
.place-btn:active {
  border-color: rgba(232, 197, 71, 0.55);
  background: var(--gold-soft);
}

.place-btn strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.place-btn span {
  color: var(--steel);
  font-size: 0.78rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.place-map {
  border: 1px solid var(--line);
  min-height: 240px;
  background: var(--ink-2);
  position: relative;
  overflow: hidden;
}

.place-map iframe {
  width: 100%;
  height: 240px;
  border: 0;
  filter: grayscale(1) contrast(1.08) brightness(0.75) sepia(0.15);
}

.place-map__note {
  position: absolute;
  inset-inline: 0.6rem;
  bottom: 0.6rem;
  background: rgba(5, 5, 5, 0.9);
  border: 1px solid var(--line);
  padding: 0.5rem 0.65rem;
  font-size: 0.78rem;
}

@media (min-width: 860px) {
  .places {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 1rem;
  }

  .place-list {
    flex-direction: column;
    overflow: visible;
  }

  .place-btn {
    width: auto;
  }

  .place-map,
  .place-map iframe {
    min-height: 360px;
    height: 100%;
  }
}

/* Fans */
.fans-grid {
  display: grid;
  gap: 0.7rem;
}

@media (min-width: 640px) {
  .fans-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 980px) {
  .fans-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.fan-story {
  position: relative;
  min-height: 16.5rem;
  overflow: hidden;
  background: var(--ink-2);
  border: 1px solid var(--line);
}

.fan-story img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fan-story__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(5, 5, 5, 0.96));
}

.fan-story__body p {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
}

.fan-story__body cite {
  color: var(--gold-bright);
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 800;
}

.fan-form,
.join-form {
  margin-top: 1.35rem;
  display: grid;
  gap: 0.7rem;
}

.field {
  display: grid;
  gap: 0.28rem;
}

.field label {
  font-size: 0.78rem;
  color: var(--steel);
  font-weight: 800;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: var(--touch);
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: var(--ink-2);
  color: var(--bone);
  outline: none;
  font-size: 16px;
}

.field textarea {
  min-height: 6rem;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(232, 197, 71, 0.65);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.12);
}

.form-note {
  color: var(--steel);
  font-size: 0.82rem;
  margin: 0.2rem 0 0;
}

.form-note.is-ok {
  color: #8fd6a8;
}

/* Archive */
.timeline {
  position: relative;
  display: grid;
  gap: 1.15rem;
  padding-inline-start: 1rem;
}

.timeline::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.25rem;
  bottom: 0.25rem;
  width: 1px;
  background: linear-gradient(var(--gold-bright), transparent 85%);
}

.timeline__item {
  position: relative;
  padding-inline-start: 0.95rem;
}

.timeline__item::before {
  content: "";
  position: absolute;
  inset-inline-start: -1.2rem;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.15);
}

.timeline__year {
  color: var(--gold-bright);
  font-weight: 900;
  font-size: 0.82rem;
}

.timeline__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0.15rem 0 0.3rem;
}

.timeline__text {
  margin: 0;
  color: var(--bone-dim);
  font-size: 0.92rem;
}

/* Challenge / Join */
.challenge-box,
.join-panel {
  border: 1px solid var(--line);
  padding: 1rem;
  background:
    radial-gradient(500px 180px at 100% 0%, rgba(201, 162, 39, 0.12), transparent 60%),
    var(--ink-2);
}

@media (min-width: 720px) {
  .challenge-box,
  .join-panel {
    padding: 1.4rem;
  }
}

.vote-list {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
}

.vote-option {
  border: 1px solid var(--line);
  background: transparent;
  color: inherit;
  padding: 0.85rem 0.9rem;
  text-align: start;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  min-height: var(--touch);
}

.vote-option.is-selected {
  border-color: rgba(232, 197, 71, 0.7);
}

.vote-option__bar {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: rgba(201, 162, 39, 0.18);
  transition: width 0.55s var(--ease);
}

.vote-option__row {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-weight: 900;
  font-size: 0.92rem;
}

.vote-option__pct {
  color: var(--steel);
  font-weight: 700;
}

.join-wrap {
  display: grid;
  gap: 1.2rem;
}

@media (min-width: 860px) {
  .join-wrap {
    grid-template-columns: 1fr 1fr;
    gap: 1.8rem;
    align-items: start;
  }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 calc(1.2rem + var(--safe-b));
  color: var(--steel);
  font-size: 0.85rem;
}

.site-footer__top {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  align-items: center;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.site-footer__brand img {
  width: 2.4rem;
  height: 2.4rem;
  object-fit: contain;
}

.site-footer strong {
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
