:root {
  --navy: #23345f;
  --navy-dark: #172342;
  --federal-blue: #315f88;
  --liberty-red: #b23a32;
  --signal-red: #d85b42;
  --harvest-gold: #d59d37;
  --sun-fade: #edc15d;
  --paper: #f6edda;
  --paper-deep: #ead9b9;
  --ink: #221b16;
  --muted: #756a5c;
  --white: #fffaf0;
  --border: #2f2a24;
  --shadow: rgba(34, 27, 22, 0.18);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background: var(--paper);
}

body {
  min-height: 100vh;
  color: var(--ink);
  font-family: "Cooper Black", "Bookman Old Style", Georgia, serif;
  line-height: 1.55;
  background:
    radial-gradient(circle at 18% 16%, rgba(216, 91, 66, 0.14), transparent 27%),
    radial-gradient(circle at 82% 20%, rgba(49, 95, 136, 0.16), transparent 25%),
    repeating-linear-gradient(0deg, rgba(34, 27, 22, 0.035) 0 1px, transparent 1px 5px),
    linear-gradient(180deg, var(--paper), #f1e4c8 62%, var(--paper-deep));
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.45;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg, transparent 0 22px, rgba(34, 27, 22, 0.045) 22px 23px),
    repeating-linear-gradient(0deg, transparent 0 28px, rgba(255, 250, 240, 0.35) 28px 29px);
  mix-blend-mode: multiply;
}

a {
  color: inherit;
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

header {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, var(--navy-dark) 0 12%, var(--navy) 12% 24%, var(--liberty-red) 24% 36%, var(--paper) 36% 40%, var(--federal-blue) 40% 52%, var(--navy) 52% 64%, var(--signal-red) 64% 76%, var(--paper) 76% 80%, var(--navy-dark) 80% 100%);
  border-bottom: 7px solid var(--harvest-gold);
  box-shadow: 0 12px 30px var(--shadow);
}

header::before,
header::after {
  content: "1776";
  position: absolute;
  top: 22px;
  color: rgba(255, 250, 240, 0.16);
  font-size: clamp(5rem, 15vw, 12rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

header::before {
  left: -18px;
}

header::after {
  content: "2026";
  right: -18px;
}

header .container {
  position: relative;
  z-index: 1;
  padding: 26px 0 18px;
  text-align: center;
}

header h1 {
  display: inline-block;
  color: var(--white);
  font-size: clamp(2.6rem, 8vw, 5.9rem);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: 0;
  text-shadow: 4px 4px 0 var(--navy-dark), 8px 8px 0 rgba(34, 27, 22, 0.25);
}

.tagline {
  width: fit-content;
  max-width: 100%;
  margin: 12px auto 18px;
  padding: 7px 14px;
  color: var(--ink);
  background: var(--sun-fade);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 rgba(34, 27, 22, 0.22);
  font-family: "Franklin Gothic Medium", Arial, sans-serif;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

nav a {
  min-width: 92px;
  color: var(--white);
  text-decoration: none;
  font-family: "Franklin Gothic Medium", Arial, sans-serif;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 9px 16px;
  border: 2px solid var(--white);
  background: rgba(23, 35, 66, 0.78);
  box-shadow: 4px 4px 0 rgba(34, 27, 22, 0.35);
  transition: transform 0.16s ease, background 0.16s ease, color 0.16s ease;
}

nav a:hover,
nav a.active {
  color: var(--ink);
  background: var(--sun-fade);
  transform: translate(-1px, -1px);
}

main {
  padding: 34px 0 8px;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(680px, calc(100vh - 140px));
  display: grid;
  align-items: center;
  overflow: hidden;
  margin-bottom: 34px;
  color: var(--white);
  background:
    linear-gradient(126deg, rgba(23, 35, 66, 0.96) 0 43%, rgba(178, 58, 50, 0.93) 43% 66%, rgba(237, 193, 93, 0.9) 66% 100%),
    var(--navy);
  border: 3px solid var(--border);
  box-shadow: 9px 9px 0 rgba(34, 27, 22, 0.18);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -45px;
  z-index: -2;
  background:
    repeating-conic-gradient(from 0deg, rgba(255, 250, 240, 0.18) 0deg 10deg, transparent 10deg 20deg),
    radial-gradient(circle at 50% 50%, transparent 0 24%, rgba(23, 35, 66, 0.45) 24.5% 26%, transparent 26.5%);
  transform: rotate(-8deg);
}

.hero::after {
  content: "250";
  position: absolute;
  right: clamp(8px, 5vw, 48px);
  bottom: -32px;
  z-index: -1;
  color: rgba(255, 250, 240, 0.13);
  font-size: clamp(8rem, 26vw, 22rem);
  font-weight: 900;
  line-height: 0.8;
}

.hero-inner {
  max-width: 790px;
  padding: clamp(42px, 7vw, 82px);
}

.kicker,
.card-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--sun-fade);
  font-family: "Franklin Gothic Medium", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kicker::before,
.kicker::after,
.card-kicker::before {
  content: "";
  width: 28px;
  height: 4px;
  background: currentColor;
}

.hero h2 {
  max-width: 760px;
  color: var(--white);
  font-size: clamp(3.2rem, 10vw, 8.6rem);
  line-height: 0.83;
  text-transform: uppercase;
  letter-spacing: 0;
  text-shadow: 5px 5px 0 var(--navy-dark), 10px 10px 0 rgba(34, 27, 22, 0.22);
}

.hero p {
  max-width: 620px;
  margin-top: 24px;
  color: #fff2cf;
  font-family: "Franklin Gothic Medium", Arial, sans-serif;
  font-size: clamp(1.03rem, 1.9vw, 1.32rem);
  font-weight: 700;
}

.countdown-badge {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  margin-top: 26px;
  padding: 10px 18px;
  color: var(--ink);
  background: var(--sun-fade);
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 rgba(34, 27, 22, 0.28);
  font-family: "Franklin Gothic Medium", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 2px solid var(--ink);
  color: var(--white);
  background: var(--liberty-red);
  box-shadow: 5px 5px 0 rgba(34, 27, 22, 0.26);
  cursor: pointer;
  font-family: "Franklin Gothic Medium", Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 rgba(34, 27, 22, 0.24);
}

.btn-secondary {
  color: var(--ink);
  background: var(--sun-fade);
}

.btn-primary:disabled {
  cursor: wait;
  opacity: 0.7;
}

.promo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0 0 34px;
  border: 3px solid var(--border);
  background: var(--white);
  box-shadow: 7px 7px 0 rgba(34, 27, 22, 0.14);
}

.promo-item {
  padding: 20px;
  border-right: 2px solid var(--border);
}

.promo-item:last-child {
  border-right: 0;
}

.promo-item strong {
  display: block;
  color: var(--liberty-red);
  font-size: 1.15rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.promo-item span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-family: "Franklin Gothic Medium", Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
}

.liberty-banner {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 34px;
  padding: 18px 20px;
  color: var(--ink);
  background: var(--white);
  border: 3px solid var(--border);
  box-shadow: 7px 7px 0 rgba(34, 27, 22, 0.14);
}

.liberty-avatar {
  flex: 0 0 70px;
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  color: var(--white);
  background:
    radial-gradient(circle at 50% 50%, var(--signal-red) 0 33%, transparent 34%),
    conic-gradient(var(--navy) 0 12deg, var(--white) 12deg 24deg, var(--liberty-red) 24deg 36deg, var(--white) 36deg 48deg, var(--navy) 48deg 60deg, var(--white) 60deg 72deg, var(--liberty-red) 72deg 84deg, var(--white) 84deg 96deg, var(--navy) 96deg 108deg, var(--white) 108deg 120deg, var(--liberty-red) 120deg 132deg, var(--white) 132deg 144deg, var(--navy) 144deg 156deg, var(--white) 156deg 168deg, var(--liberty-red) 168deg 180deg, var(--white) 180deg 192deg, var(--navy) 192deg 204deg, var(--white) 204deg 216deg, var(--liberty-red) 216deg 228deg, var(--white) 228deg 240deg, var(--navy) 240deg 252deg, var(--white) 252deg 264deg, var(--liberty-red) 264deg 276deg, var(--white) 276deg 288deg, var(--navy) 288deg 300deg, var(--white) 300deg 312deg, var(--liberty-red) 312deg 324deg, var(--white) 324deg 336deg, var(--navy) 336deg 360deg);
  border: 2px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  font-family: "Franklin Gothic Medium", Arial, sans-serif;
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
}

.liberty-avatar:hover {
  transform: rotate(-6deg) scale(1.04);
}

.liberty-name {
  margin-bottom: 4px;
  color: var(--liberty-red);
  font-family: "Franklin Gothic Medium", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.liberty-text {
  max-width: 840px;
  color: var(--ink);
  font-family: "Franklin Gothic Medium", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.featured {
  margin-top: 42px;
}

.section-title,
.featured h3 {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  color: var(--navy);
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  line-height: 0.96;
  text-transform: uppercase;
}

.section-title::before,
.section-title::after,
.featured h3::before,
.featured h3::after {
  content: "";
  height: 7px;
  flex: 1;
  min-width: 26px;
  background: repeating-linear-gradient(90deg, var(--liberty-red) 0 18px, var(--paper) 18px 25px, var(--navy) 25px 43px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.shop-intro,
.about-lede {
  margin: 30px 0 28px;
  padding: 24px;
  color: var(--ink);
  background: var(--white);
  border: 3px solid var(--border);
  box-shadow: 7px 7px 0 rgba(34, 27, 22, 0.14);
}

.shop-intro h2,
.about-lede h2 {
  color: var(--navy);
  font-size: clamp(2rem, 5vw, 4.3rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.shop-intro p,
.about-lede p {
  max-width: 760px;
  margin-top: 14px;
  color: var(--muted);
  font-family: "Franklin Gothic Medium", Arial, sans-serif;
  font-weight: 700;
}

.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.filter-tags span {
  padding: 7px 12px;
  color: var(--white);
  background: var(--navy);
  border: 2px solid var(--border);
  font-family: "Franklin Gothic Medium", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#featured-grid,
#shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  background: var(--white);
  border: 3px solid var(--border);
  box-shadow: 7px 7px 0 rgba(34, 27, 22, 0.15);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.product-card::before {
  content: "LIMITED 2026 RUN";
  position: absolute;
  top: 14px;
  left: -44px;
  z-index: 2;
  width: 176px;
  padding: 4px 0;
  color: var(--white);
  background: var(--liberty-red);
  border-top: 2px solid var(--border);
  border-bottom: 2px solid var(--border);
  font-family: "Franklin Gothic Medium", Arial, sans-serif;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  transform: rotate(-36deg);
}

.product-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 11px 11px 0 rgba(34, 27, 22, 0.14);
}

.card-img-wrap {
  position: relative;
  height: 248px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 48%, rgba(237, 193, 93, 0.92) 0 31%, transparent 32%),
    repeating-conic-gradient(from -8deg, var(--navy) 0 10deg, var(--white) 10deg 20deg, var(--liberty-red) 20deg 30deg, var(--white) 30deg 40deg);
  border-bottom: 3px solid var(--border);
}

.card-img-wrap::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 2px dashed rgba(34, 27, 22, 0.35);
  pointer-events: none;
}

.product-card img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.card-img-placeholder {
  position: relative;
  z-index: 1;
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  border: 4px double var(--white);
  border-radius: 50%;
  font-family: "Franklin Gothic Medium", Arial, sans-serif;
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.card-img-placeholder::before {
  content: "76";
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
}

.category-label {
  color: var(--liberty-red);
  font-family: "Franklin Gothic Medium", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.product-card h4 {
  color: var(--navy);
  font-size: 1.42rem;
  line-height: 1.05;
  text-transform: uppercase;
}

.price {
  width: fit-content;
  padding: 3px 10px;
  color: var(--ink);
  background: var(--sun-fade);
  border: 2px solid var(--border);
  font-family: "Franklin Gothic Medium", Arial, sans-serif;
  font-size: 1.22rem;
  font-weight: 900;
}

.product-card p {
  flex: 1;
  color: var(--muted);
  font-family: "Franklin Gothic Medium", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
}

.size-select {
  width: 100%;
  min-height: 42px;
  margin-bottom: 10px;
  padding: 8px 10px;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--border);
  font: 900 0.9rem "Franklin Gothic Medium", Arial, sans-serif;
}

.size-label,
.one-size {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-family: "Franklin Gothic Medium", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

#shadowbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(23, 35, 66, 0.92);
  cursor: pointer;
}

#shadowbox-img {
  max-width: min(94vw, 980px);
  max-height: 90vh;
  object-fit: contain;
  border: 4px solid var(--sun-fade);
  box-shadow: 9px 9px 0 rgba(0, 0, 0, 0.28);
}

footer {
  margin-top: 64px;
  padding: 34px 0;
  color: var(--white);
  background:
    repeating-linear-gradient(90deg, var(--navy-dark) 0 70px, var(--navy) 70px 140px, var(--liberty-red) 140px 210px, var(--federal-blue) 210px 280px);
  border-top: 7px solid var(--harvest-gold);
  text-align: center;
}

.footer-brand {
  margin-bottom: 8px;
  color: var(--sun-fade);
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 3px 3px 0 var(--navy-dark);
}

footer p {
  color: #fff2cf;
  font-family: "Franklin Gothic Medium", Arial, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
}

footer a {
  color: var(--sun-fade);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.payment-box {
  max-width: 460px;
  margin: 22px auto 0;
  padding: 18px;
  color: var(--ink);
  background: var(--white);
  border: 3px solid var(--border);
  box-shadow: 6px 6px 0 rgba(34, 27, 22, 0.28);
}

.payment-box h4 {
  color: var(--navy);
  text-transform: uppercase;
}

.payment-box ul {
  margin-top: 8px;
  list-style: none;
  color: var(--muted);
  font-family: "Franklin Gothic Medium", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.8;
}

.about-box,
.confirmation-box {
  max-width: 850px;
  margin: 44px auto 0;
  padding: clamp(24px, 5vw, 44px);
  background: var(--white);
  border: 3px solid var(--border);
  box-shadow: 8px 8px 0 rgba(34, 27, 22, 0.16);
}

.about-box h2,
.confirmation-box h1 {
  color: var(--navy);
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 0.95;
  text-align: center;
  text-transform: uppercase;
}

.about-box h3,
.confirmation-box h3 {
  margin: 28px 0 10px;
  color: var(--liberty-red);
  font-size: 1.45rem;
  line-height: 1.05;
  text-transform: uppercase;
}

.about-box p,
.confirmation-box p,
.confirmation-box li {
  color: var(--muted);
  font-family: "Franklin Gothic Medium", Arial, sans-serif;
  font-weight: 700;
}

.about-box p {
  margin-bottom: 14px;
}

.callout-box,
.next-box {
  margin-top: 28px;
  padding: 22px;
  background: var(--paper);
  border: 3px solid var(--border);
}

.confirmation-box {
  text-align: center;
}

.confirmation-box ul {
  list-style: none;
  text-align: left;
  line-height: 2;
}

#stripe-msg {
  padding: 20px;
  color: var(--navy);
  font-family: "Franklin Gothic Medium", Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 22px, 1160px);
  }

  header .container {
    padding-top: 20px;
  }

  header h1 {
    text-shadow: 3px 3px 0 var(--navy-dark), 6px 6px 0 rgba(34, 27, 22, 0.22);
  }

  nav a {
    flex: 1 1 92px;
  }

  main {
    padding-top: 22px;
  }

  .hero {
    min-height: 600px;
  }

  .hero-inner {
    padding: 34px 20px;
  }

  .hero h2 {
    font-size: clamp(3.2rem, 20vw, 5.4rem);
  }

  .promo-strip {
    grid-template-columns: 1fr;
  }

  .promo-item,
  .promo-item:last-child {
    border-right: 0;
    border-bottom: 2px solid var(--border);
  }

  .promo-item:last-child {
    border-bottom: 0;
  }

  .liberty-banner {
    align-items: flex-start;
  }

  .liberty-avatar {
    flex-basis: 58px;
    width: 58px;
    height: 58px;
    font-size: 1.25rem;
  }

  .section-title,
  .featured h3 {
    align-items: flex-start;
  }

  .section-title::before,
  .section-title::after,
  .featured h3::before,
  .featured h3::after {
    display: none;
  }

  #featured-grid,
  #shop-grid {
    grid-template-columns: 1fr;
  }

  .card-img-wrap {
    height: 230px;
  }
}
