/* ===================================================
   BIG LEAGUE PRINTS — Styles
   Mobile-first, high-contrast, Americana-bold
   =================================================== */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* brand palette */
  --clr-ink:       #0d0d0d;
  --clr-off-white: #f5f3ef;
  --clr-cream:     #ece8e0;
  --clr-red:       #c1272d;
  --clr-red-dark:  #9e1f24;
  --clr-navy:      #1b2a4a;
  --clr-navy-light:#263b66;
  --clr-gold:      #d4a843;
  --clr-gray:      #6b6b6b;
  --clr-gray-light:#d4d4d4;
  --clr-white:     #ffffff;

  /* typography */
  --ff-heading: 'Georgia', 'Times New Roman', serif;
  --ff-body:    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* spacing */
  --sp-xs:  0.25rem;
  --sp-sm:  0.5rem;
  --sp-md:  1rem;
  --sp-lg:  2rem;
  --sp-xl:  3rem;
  --sp-2xl: 4.5rem;

  /* radii */
  --radius: 6px;
  --radius-lg: 12px;

  /* shadows */
  --shadow-card: 0 2px 8px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.06);
  --shadow-card-hover: 0 8px 24px rgba(0,0,0,0.12), 0 2px 6px rgba(0,0,0,0.08);
  --shadow-btn: 0 2px 6px rgba(0,0,0,0.15);

  /* transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--clr-ink);
  background: var(--clr-off-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul { list-style: none; }

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ---------- CONTAINER ---------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--sp-md);
}

/* ---------- FOCUS STYLES ---------- */
:focus-visible {
  outline: 3px solid var(--clr-red);
  outline-offset: 2px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}


/* ===========================================
   ANNOUNCEMENT BAR
   =========================================== */
.announcement-bar {
  background: var(--clr-navy);
  color: var(--clr-off-white);
  text-align: center;
  padding: var(--sp-sm) var(--sp-md);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}


/* ===========================================
   HEADER
   =========================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--clr-white);
  border-bottom: 1px solid var(--clr-cream);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 0;
  text-decoration: none;
}

.logo-big {
  font-family: var(--ff-heading);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--clr-navy);
  text-transform: uppercase;
}

.logo-prints {
  font-family: var(--ff-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  color: var(--clr-red);
  text-transform: uppercase;
}

/* Nav toggle (mobile) */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-sm);
  z-index: 110;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Nav list (mobile) */
.nav-list {
  position: fixed;
  top: 0;
  right: 0;
  width: 260px;
  height: 100vh;
  background: var(--clr-white);
  display: flex;
  flex-direction: column;
  padding: 80px var(--sp-lg) var(--sp-lg);
  gap: var(--sp-sm);
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  box-shadow: -4px 0 20px rgba(0,0,0,0.1);
  z-index: 105;
}

.nav-list.open {
  transform: translateX(0);
}

.nav-link {
  display: block;
  padding: var(--sp-sm) 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--clr-navy);
  border-bottom: 1px solid var(--clr-cream);
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--clr-red);
}

/* Nav overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 102;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}


/* ===========================================
   BUTTONS
   =========================================== */
.btn {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: 0.9375rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius);
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
              border-color 0.2s var(--ease), box-shadow 0.2s var(--ease),
              transform 0.15s var(--ease);
  letter-spacing: 0.02em;
}

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

.btn-primary {
  background: var(--clr-red);
  color: var(--clr-white);
  border-color: var(--clr-red);
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--clr-red-dark);
  border-color: var(--clr-red-dark);
}

.btn-outline {
  background: transparent;
  color: var(--clr-navy);
  border-color: var(--clr-navy);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--clr-navy);
  color: var(--clr-white);
}

.btn-buy {
  width: 100%;
  background: var(--clr-navy);
  color: var(--clr-white);
  border-color: var(--clr-navy);
  box-shadow: var(--shadow-btn);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.875rem;
}

.btn-buy:hover,
.btn-buy:focus-visible {
  background: var(--clr-navy-light);
  border-color: var(--clr-navy-light);
  box-shadow: var(--shadow-card-hover);
}


/* ===========================================
   HERO
   =========================================== */
.hero {
  background: var(--clr-white);
  padding: var(--sp-xl) 0 var(--sp-2xl);
  overflow: hidden;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-lg);
  text-align: center;
}

.hero-headline {
  font-family: var(--ff-heading);
  font-size: clamp(2rem, 6vw, 3.75rem);
  line-height: 1.1;
  color: var(--clr-navy);
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--clr-gray);
  margin-top: var(--sp-sm);
  max-width: 460px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-md);
  justify-content: center;
  margin-top: var(--sp-lg);
}

.hero-image {
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--clr-cream);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ===========================================
   SHOP / PRODUCT GRID
   =========================================== */
.shop {
  padding: var(--sp-2xl) 0;
  background: var(--clr-off-white);
}

.section-title {
  font-family: var(--ff-heading);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  color: var(--clr-navy);
  text-align: center;
  margin-bottom: var(--sp-xl);
  letter-spacing: -0.01em;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-lg);
}

.product-card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.product-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

.product-img-wrap {
  background: var(--clr-cream);
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.04);
}

.product-info {
  padding: var(--sp-md) var(--sp-md) var(--sp-lg);
}

.product-name {
  font-family: var(--ff-heading);
  font-size: 1.25rem;
  color: var(--clr-navy);
  margin-bottom: var(--sp-xs);
}

.product-price {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--clr-red);
  margin-bottom: var(--sp-sm);
}

.product-desc {
  color: var(--clr-gray);
  font-size: 0.9375rem;
  margin-bottom: var(--sp-sm);
}

.product-sizes {
  font-size: 0.8125rem;
  color: var(--clr-gray);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--sp-md);
}

.shop-note {
  text-align: center;
  color: var(--clr-gray);
  font-size: 0.875rem;
  margin-top: var(--sp-xl);
  padding-top: var(--sp-md);
  border-top: 1px solid var(--clr-cream);
}


/* ===========================================
   HOW IT WORKS
   =========================================== */
.how {
  padding: var(--sp-2xl) 0;
  background: var(--clr-white);
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-lg);
  max-width: 800px;
  margin: 0 auto;
}

.step {
  text-align: center;
  padding: var(--sp-lg);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--clr-navy);
  color: var(--clr-white);
  font-family: var(--ff-heading);
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: var(--sp-md);
}

.step-title {
  font-family: var(--ff-heading);
  font-size: 1.125rem;
  color: var(--clr-navy);
  margin-bottom: var(--sp-sm);
}

.step-desc {
  color: var(--clr-gray);
  font-size: 0.9375rem;
  max-width: 280px;
  margin: 0 auto;
}


/* ===========================================
   FAQ
   =========================================== */
.faq {
  padding: var(--sp-2xl) 0;
  background: var(--clr-off-white);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--clr-cream);
}

.faq-item:first-child {
  border-top: 1px solid var(--clr-cream);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-md) 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--clr-navy);
  cursor: pointer;
  list-style: none;
  transition: color 0.2s;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  flex-shrink: 0;
  font-size: 1.5rem;
  font-weight: 300;
  margin-left: var(--sp-md);
  color: var(--clr-red);
  transition: transform 0.3s var(--ease);
}

.faq-item[open] .faq-question::after {
  content: '\2212';
  transform: rotate(180deg);
}

.faq-question:hover {
  color: var(--clr-red);
}

.faq-answer {
  padding: 0 0 var(--sp-md);
  color: var(--clr-gray);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.faq-answer a {
  color: var(--clr-red);
  text-decoration: underline;
}


/* ===========================================
   CONTACT
   =========================================== */
.contact {
  padding: var(--sp-2xl) 0;
  background: var(--clr-white);
  text-align: center;
}

.contact-lead {
  color: var(--clr-gray);
  margin-bottom: var(--sp-md);
}

.contact-email {
  display: inline-block;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--clr-red);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-bottom: var(--sp-xl);
}

.contact-email:hover {
  color: var(--clr-red-dark);
}

.contact-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
  text-align: left;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  font-family: var(--ff-body);
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border: 2px solid var(--clr-cream);
  border-radius: var(--radius);
  background: var(--clr-off-white);
  color: var(--clr-ink);
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--clr-navy);
  outline: none;
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form .btn {
  align-self: flex-start;
}


/* ===========================================
   PRIVACY
   =========================================== */
.privacy {
  padding: var(--sp-2xl) 0;
  background: var(--clr-off-white);
}

.privacy-content {
  max-width: 680px;
  margin: 0 auto;
}

.privacy-content p {
  margin-bottom: var(--sp-md);
  color: var(--clr-gray);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.privacy-content a {
  color: var(--clr-red);
  text-decoration: underline;
}


/* ===========================================
   FOOTER
   =========================================== */
.site-footer {
  background: var(--clr-navy);
  color: rgba(255,255,255,0.7);
  padding: var(--sp-xl) 0 calc(var(--sp-xl) + 70px);
  /* extra bottom padding for mobile sticky bar */
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-lg);
  text-align: center;
}

.logo-footer .logo-big {
  color: var(--clr-white);
}

.logo-footer .logo-prints {
  color: var(--clr-gold);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-md) var(--sp-lg);
  justify-content: center;
}

.footer-nav a {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--clr-white);
}

.footer-disclaimer {
  font-size: 0.75rem;
  max-width: 480px;
  line-height: 1.5;
  color: rgba(255,255,255,0.45);
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
}


/* ===========================================
   MOBILE STICKY BAR
   =========================================== */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: var(--clr-white);
  border-top: 1px solid var(--clr-cream);
  padding: var(--sp-sm) var(--sp-md);
  display: flex;
  justify-content: center;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
  transform: translateY(0);
  transition: transform 0.3s var(--ease);
}

.mobile-sticky-bar.hidden {
  transform: translateY(100%);
}

.mobile-sticky-btn {
  width: 100%;
  max-width: 400px;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
}


/* ===========================================
   TOAST
   =========================================== */
.toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--clr-ink);
  color: var(--clr-white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--ease);
  z-index: 200;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}


/* ===========================================
   RESPONSIVE — TABLET+
   =========================================== */
@media (min-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-md);
  }
}


/* ===========================================
   RESPONSIVE — DESKTOP
   =========================================== */
@media (min-width: 900px) {
  .header-inner {
    height: 72px;
  }

  .logo-big {
    font-size: 1.35rem;
  }

  .logo-prints {
    font-size: 0.8rem;
  }

  /* Desktop nav */
  .nav-toggle {
    display: none;
  }

  .nav-list {
    position: static;
    width: auto;
    height: auto;
    flex-direction: row;
    padding: 0;
    gap: var(--sp-lg);
    transform: none;
    box-shadow: none;
    background: transparent;
  }

  .nav-link {
    font-size: 0.875rem;
    border-bottom: none;
    padding: var(--sp-xs) 0;
    position: relative;
  }

  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--clr-red);
    transition: width 0.25s var(--ease);
  }

  .nav-link:hover::after {
    width: 100%;
  }

  /* Hero side-by-side */
  .hero-inner {
    flex-direction: row;
    text-align: left;
    gap: var(--sp-2xl);
  }

  .hero-text {
    flex: 1;
  }

  .hero-ctas {
    justify-content: flex-start;
  }

  .hero-image {
    flex: 1;
    max-width: 500px;
  }

  /* 3-column product grid */
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Hide mobile sticky bar on desktop */
  .mobile-sticky-bar {
    display: none;
  }

  /* Footer — less bottom padding */
  .site-footer {
    padding-bottom: var(--sp-xl);
  }
}
