:root {
  --bg: #f6f1e9;
  --surface: rgba(255, 255, 255, 0.66);
  --text: #171717;
  --muted: #575757;
  --accent: #c86b36;
  --accent-2: #1f3f3d;
  --line: rgba(23, 23, 23, 0.14);
  --shadow: 0 25px 45px rgba(18, 12, 10, 0.14);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(200, 107, 54, 0.22), transparent 36%),
    radial-gradient(circle at 85% 20%, rgba(31, 63, 61, 0.16), transparent 40%),
    linear-gradient(135deg, #faf5ed 0%, #f1e7d7 52%, #efe7dc 100%);
  overflow-x: hidden;
}

body.page-loading {
  overflow: hidden;
  background: #000;
}

body.page-loading .site-header,
body.page-loading main,
body.page-loading footer,
body.page-loading .grain {
  opacity: 0;
}

.site-header,
main,
footer,
.grain {
  transition: opacity 0.7s ease;
}

.intro-splash {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: #000;
  z-index: 999;
  opacity: 1;
  pointer-events: auto;
}

.intro-splash img {
  width: min(70vw, 560px);
  max-width: 90%;
  height: auto;
  transform: scale(1);
  filter: drop-shadow(0 16px 36px rgba(20, 16, 12, 0.2));
}

.intro-splash.exit {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.65s ease;
}

.intro-splash.exit img {
  animation: splashZoom 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes splashZoom {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.55);
    opacity: 0;
  }
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("https://www.transparenttextures.com/patterns/asfalt-light.png");
  opacity: 0.3;
  z-index: -1;
}

.site-header {
  width: 100%;
  margin: 0;
  padding: 0.35rem 0;
  border: none;
  border-radius: 0;
  background: #000;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  overflow: visible;
}

.site-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  width: min(1120px, 92vw);
  margin: 0 auto;
  min-height: 56px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.55rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.nav-left {
  justify-self: start;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(120px, 13vw, 170px);
  height: 56px;
  padding: 0;
  overflow: visible;
}

.brand-logo img {
  width: 100%;
  height: auto;
  display: block;
  transform: scale(0.98);
  transform-origin: center center;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

.nav-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.login-link {
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
  font-weight: 700;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.icon-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-btn {
  display: none;
}

main {
  width: min(1120px, 92vw);
  margin: 2.2rem auto 4rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: end;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-2);
  font-size: 0.75rem;
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  line-height: 0.95;
  font-size: clamp(2.5rem, 7vw, 5.8rem);
  margin-bottom: 1.2rem;
}

.hero p {
  max-width: 52ch;
  color: var(--muted);
  line-height: 1.7;
}

.hero p.manifesto-lead {
  max-width: 60ch;
}

.hero p.manifesto-lead .brand-mark {
  display: inline-block;
  margin-right: 0.15em;
  font-family: "Archivo Black", "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.01em;
  color: var(--text);
  vertical-align: -0.05em;
}

.cta-group {
  margin-top: 2rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  border-radius: 999px;
  text-decoration: none;
  padding: 0.75rem 1.2rem;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #d88645);
  color: #fff;
  box-shadow: 0 10px 24px rgba(200, 107, 54, 0.34);
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.5);
}

.hero-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  padding: 1.25rem;
  display: grid;
  gap: 1rem;
}

.event-board {
  gap: 0.85rem;
}

.event-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: var(--accent-2);
}

.event-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  line-height: 1.05;
}

.event-meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 0.45rem;
}

.countdown-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  padding: 0.65rem 0.45rem;
  text-align: center;
}

.countdown-item span {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.45rem, 3.3vw, 2rem);
  line-height: 1;
  color: var(--text);
}

.countdown-item small {
  margin-top: 0.28rem;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-size: 0.62rem;
}

.stat {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.4;
}

.stat span {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  color: var(--text);
}

.slideshow-section {
  margin-top: 3.3rem;
}

.slideshow-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.slideshow-head h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
}

.controls {
  display: flex;
  gap: 0.6rem;
}

.controls button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  padding: 0.58rem 0.96rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
}

.slideshow {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: #ede8df;
  min-height: 62vh;
}

.slideshow img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.slideshow img.loaded {
  opacity: 1;
}

.slide-overlay {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.42);
  color: #fff;
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.dots {
  margin-top: 0.9rem;
  display: flex;
  gap: 0.38rem;
  flex-wrap: wrap;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(23, 23, 23, 0.25);
  transition: transform 0.2s ease, background 0.2s ease;
}

.dot.active {
  transform: scale(1.3);
  background: var(--accent-2);
}

.story {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.story article {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.6);
  padding: 1.2rem;
}

.story h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
}

.story p {
  color: var(--muted);
  line-height: 1.65;
}

.shirts-section {
  margin-top: 3rem;
}

.shirts-head {
  margin-bottom: 1.1rem;
}

.shirts-head h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.08;
}

.shirts-head p {
  color: var(--muted);
  margin-top: 0.45rem;
}

.shirt-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.shirt-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.64);
  padding: 0.75rem;
  display: grid;
  gap: 0.7rem;
}

.featured-jersey {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(244, 239, 231, 0.92));
  box-shadow: 0 18px 36px rgba(18, 12, 10, 0.1);
}

.shirt-visual {
  position: relative;
  height: 190px;
  border-radius: 12px;
  border: 1px solid rgba(23, 23, 23, 0.12);
  overflow: hidden;
  background: #fff;
}

.jersey-visual {
  perspective: 1200px;
}

.jersey-flip {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: jerseyRotate 6s ease-in-out infinite;
}

.featured-jersey:hover .jersey-flip {
  animation-play-state: paused;
}

.jersey-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.15rem;
  backface-visibility: hidden;
}

.jersey-back {
  transform: rotateY(180deg);
}

.product-shot {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #fff;
}

.compact-shot {
  object-fit: contain;
  padding: 0.55rem;
}

.blate-fold-shot {
  padding: 0.1rem;
}

@keyframes jerseyRotate {
  0%, 42% {
    transform: rotateY(0deg);
  }
  50%, 92% {
    transform: rotateY(180deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

.shirt-swatch {
  height: 190px;
  border-radius: 12px;
  border: 1px solid rgba(23, 23, 23, 0.12);
}

.swatch-1 {
  background: linear-gradient(140deg, #f6f6f4 0%, #d8d9d2 100%);
}

.swatch-2 {
  background: linear-gradient(140deg, #efe4d3 0%, #d9c0a8 100%);
}

.swatch-3 {
  background: linear-gradient(140deg, #2f3a4b 0%, #707b8f 100%);
}

.swatch-4 {
  background: linear-gradient(140deg, #22322d 0%, #4f6b62 100%);
}

.shirt-card h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.45rem;
}

.shirt-card p {
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.92rem;
}

.shirt-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.55rem;
}

.shirt-meta span {
  font-size: 1.05rem;
  font-weight: 700;
}

.shirt-meta button {
  border: none;
  border-radius: 999px;
  background: var(--accent-2);
  color: #fff;
  padding: 0.42rem 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.newsletter-form {
  margin-top: 0.8rem;
  display: flex;
  gap: 0.55rem;
}

.newsletter-form input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.6rem 0.85rem;
  font: inherit;
}

.newsletter-form button {
  border: none;
  border-radius: 999px;
  background: var(--accent-2);
  color: #fff;
  padding: 0.62rem 1rem;
  cursor: pointer;
  font-weight: 600;
}

body.modal-open {
  overflow: hidden;
}

.order-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.order-modal[hidden] {
  display: none;
}

.order-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.62);
  backdrop-filter: blur(3px);
}

.order-modal-panel {
  position: relative;
  width: min(520px, 94vw);
  border-radius: 20px;
  background: #f8f2e9;
  border: 1px solid rgba(23, 23, 23, 0.14);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.28);
  padding: 1.15rem;
  display: grid;
  gap: 0.7rem;
}

.order-modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.55rem;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.order-modal-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  color: var(--accent-2);
}

.order-modal-panel h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.6rem, 3.6vw, 2.1rem);
  line-height: 1.05;
}

.order-modal-copy {
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.92rem;
}

.order-summary {
  border: 1px solid rgba(23, 23, 23, 0.12);
  background: rgba(255, 255, 255, 0.74);
  border-radius: 12px;
  padding: 0.62rem 0.72rem;
  display: grid;
  gap: 0.3rem;
}

.order-summary p {
  font-size: 0.88rem;
}

.order-form {
  display: grid;
  gap: 0.48rem;
}

.order-form label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text);
}

.order-form input {
  border: 1px solid rgba(23, 23, 23, 0.2);
  border-radius: 12px;
  padding: 0.65rem 0.75rem;
  background: rgba(255, 255, 255, 0.88);
  font: inherit;
}

.order-form-status {
  min-height: 1.2rem;
  margin-top: 0.1rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.order-form-status.success {
  color: #1d6f4f;
}

.order-form-status.error {
  color: #b2412f;
}

.order-form-actions {
  margin-top: 0.35rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.55rem;
}

.site-footer {
  position: relative;
  width: 100%;
  margin: 3rem 0 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  background:
    radial-gradient(circle at 10% 14%, rgba(200, 107, 54, 0.25), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(31, 63, 61, 0.3), transparent 36%),
    linear-gradient(150deg, #0f1112 0%, #111518 45%, #0d1011 100%);
  color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
}

.footer-grid {
  width: min(1120px, 92vw);
  margin: 0 auto;
  padding: 2rem 0 1.5rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.25rem;
}

.footer-brand-block {
  display: grid;
  gap: 0.95rem;
  align-content: start;
}

.footer-logo {
  width: clamp(120px, 14vw, 170px);
  height: auto;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.35));
}

.footer-brand-block p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
  font-size: 0.9rem;
}

.site-footer h4 {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  margin-bottom: 0.9rem;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.footer-links a,
.footer-bottom a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover,
.footer-bottom a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  width: min(1120px, 92vw);
  margin: 0 auto;
  padding: 1rem 0 1.15rem;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.66);
}

.footer-bottom div {
  display: flex;
  gap: 0.85rem;
}

.reveal-up {
  opacity: 0;
  transform: translateY(16px);
  animation: revealUp 0.85s ease forwards;
}

.delay-1 {
  animation-delay: 0.15s;
}

.delay-2 {
  animation-delay: 0.3s;
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .site-header {
    padding: 0.5rem 0;
    top: 0;
  }

  .site-nav {
    grid-template-columns: auto 1fr auto;
  }

  .nav-left,
  .nav-actions {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
    justify-self: end;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    cursor: pointer;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .countdown {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .slideshow {
    min-height: 46vh;
  }

  .story {
    grid-template-columns: 1fr;
  }

  .shirt-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shirt-visual {
    height: 220px;
  }

  .jersey-face,
  .product-shot,
  .compact-shot {
    object-fit: contain;
    padding: 0.25rem;
    background: #fff;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  .shirt-grid {
    grid-template-columns: 1fr;
  }

  .shirt-visual {
    height: 260px;
  }

  .jersey-face,
  .product-shot,
  .compact-shot {
    padding: 0.4rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
