/* Wisconsin Knitwear — Retro Americana, modern yet retro (2026) */
:root {
  --cream: #fbf6e9;
  --cream-light: #fffdf5;
  --cream-dark: #f3ead3;
  --navy: #1c2f4a;
  --navy-dark: #12203a;
  --red: #a33b2e;
  --red-dark: #872e24;
  --gold: #c9932b;
  --ink: #2a2419;
  --muted: #6f6752;
  --line: #e8e2d2;
  --white: #fff;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--cream-light);
  line-height: 1.6;
  font-size: 17px;
}

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

a { color: var(--navy); }
a:hover { color: var(--red); }

h1, h2, h3 {
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--navy);
  line-height: 1.15;
  font-weight: 700;
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---- Top bar ---- */
.topbar {
  background: var(--navy);
  color: var(--cream);
  text-align: center;
  font-size: 14px;
  letter-spacing: 0.06em;
  padding: 8px 16px;
}
.topbar .star { color: var(--gold); }

/* ---- Current month/year line (auto-filled) ---- */
.date-line {
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: rgba(28, 47, 74, 0.65);
  background: var(--cream);
  margin: 0;
  padding: 6px 16px 0;
}

/* ---- Header / Nav ---- */
.site-header {
  background: var(--cream);
  border-bottom: 3px solid var(--red);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
}
.brand { text-decoration: none; display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 54px; width: auto; border-radius: 4px; flex: 0 0 auto; }
.brand-text { display: block; }
.brand-name {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}
.brand-tag {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
}
.main-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.main-nav a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  font-size: 15px;
  padding: 8px 12px;
  border-radius: 4px;
}
.main-nav a:hover { background: var(--cream-dark); color: var(--red); }
.main-nav a.active { background: var(--navy); color: var(--cream); }

/* Full-width hero photo (homepage) — photo leads, text below */
.hero-full { padding: 0 0 8px; }
.hero-banner { position: relative; }
.hero-img-full {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}
.hero-banner .hero-tagline {
  position: absolute;
  left: 0;
  right: 0;
  top: 12px;
  margin: 0;
  text-align: center;
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 30px;
  color: var(--cream);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65), 0 1px 2px rgba(0, 0, 0, 0.8);
}
.hero-banner .hero-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 10px 24px;
  background: linear-gradient(to top, rgba(18, 32, 58, 0.72), transparent);
  color: var(--cream);
  font-style: italic;
  font-size: 14px;
}
.hero-text { padding-top: 28px; text-align: center; }
/* Vintage rubber-stamp badge overlapping the hero collage's top-right corner */
.usa-stamp {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--red);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--cream), inset 0 0 0 3px var(--red), 0 3px 10px rgba(0,0,0,.35);
  background: var(--cream);
  color: var(--red);
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  font-size: 10px;
  line-height: 1.25;
  letter-spacing: 0.08em;
  text-align: center;
  transform: rotate(-8deg);
}
.usa-stamp .stamp-star { font-size: 8px; }
.hero-text .hero-sub { margin-left: auto; margin-right: auto; }

/* ---- How It Works 3-step strip ---- */
.how-it-works { padding: 36px 0 8px; }
.how-it-works .kicker { text-align: center; }
.how-it-works-inline { padding: 24px 0 0; }
.how-it-works-inline .kicker { text-align: left; }
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 16px;
}
.steps li {
  background: var(--cream);
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  border-radius: 4px;
  padding: 18px 16px;
  text-align: center;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 18px;
  color: var(--navy);
}
.step-num {
  display: block;
  width: 40px;
  height: 40px;
  margin: 0 auto 10px;
  line-height: 40px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--gold);
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  font-size: 20px;
}

/* ---- Sticky Request a Quote bar — mobile only ---- */
.sticky-quote { display: none; }

/* ---- Hero ---- */
.hero { background: var(--cream); padding: 36px 0 8px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: center;
}
.hero-kicker {
  font-size: 16px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 12px;
  text-align: center;
  text-shadow: 0 1px 0 rgba(255,255,255,.6);
}
.hero-kicker .kicker-red { color: var(--red); }
.hero-kicker .kicker-gold { color: var(--gold); }
.hero-kicker .kicker-navy { color: var(--navy); }
.hero-kicker .kicker-dot { color: var(--muted); }
.hero h1 { font-size: 46px; margin-bottom: 14px; overflow-wrap: break-word; }
.hero-sub { font-size: 18px; color: var(--ink); margin-bottom: 22px; max-width: 52ch; }
.hero-img { border: 4px solid var(--white); box-shadow: 0 8px 24px rgba(28,47,74,.25); }
.hero-caption { font-size: 13px; color: var(--muted); margin-top: 8px; font-style: italic; }

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  padding: 12px 22px;
  border-radius: 4px;
  margin-right: 10px;
  margin-bottom: 8px;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); color: var(--white); }
.btn-secondary { background: var(--navy); color: var(--cream); }
.btn-secondary:hover { background: var(--navy-dark); color: var(--cream); }

/* ---- File download buttons (Products page) ---- */
.file-links { margin: 22px 0 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.planning-note { margin-top: 30px; }
.file-links .btn { border-radius: 999px; margin: 0; position: relative; text-align: center; padding-left: 84px; padding-right: 22px; }
/* Red format badge pinned to a fixed left spot in every button, so all three
   badges share one vertical line even when a title wraps to two lines */
.file-badge {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 4px 8px;
  border-radius: 3px;
  line-height: 1;
}
.file-title { display: block; text-align: center; }

/* ---- Call-to-action button row ---- */
.cta-row { margin-top: 28px; }

/* ---- Full Style List (Products page) ---- */
.style-list-heading { margin-top: 36px; }
.style-list { max-width: 860px; }
.style-list h3 {
  font-size: 22px;
  color: var(--red);
  margin: 22px 0 8px;
}
.style-list ul { list-style: none; margin-bottom: 8px; }
.style-list li {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
.style-thumb {
  flex: 0 0 110px;
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}

/* ---- About page photo strip ---- */
.about-photos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 28px 0 8px;
}
.about-photo {
  margin: 0;
  display: flex;
  flex-direction: column;
}
.about-photo img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: var(--white);
  border-radius: 8px;
  border: 4px solid var(--white);
  box-shadow: 0 8px 24px rgba(28,47,74,.2);
}
.about-photo figcaption {
  padding-top: 10px;
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
  color: var(--ink);
}
@media (max-width: 820px) {
  .about-photos { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Band ---- */
.band {
  background: var(--red);
  color: var(--white);
  text-align: center;
  padding: 20px 16px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 23px;
  line-height: 1.35;
  margin: 32px 0 0;
}

/* ---- Page sections ---- */
.section { padding: 44px 0; }
.section.alt { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker {
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 8px;
}
.section h1, .section h2 { font-size: 34px; margin-bottom: 14px; }
.section p { margin-bottom: 14px; max-width: 68ch; }
.section p.lead { font-size: 18px; }

/* ---- Cards ---- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--navy);
  border-radius: 4px;
  overflow: hidden;
}
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 18px; }
.card h3 { font-size: 21px; margin-bottom: 8px; }
.card p { font-size: 15px; color: var(--ink); margin-bottom: 0; }

/* ---- Two-column lists ---- */
.list-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 40px;
  margin: 20px 0 26px;
  max-width: 860px;
}
.list-grid ul { list-style: none; margin: 0; }
.list-grid li {
  padding: 10px 0 10px 26px;
  position: relative;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
.list-grid li::before {
  content: "★";
  color: var(--red);
  position: absolute;
  left: 0;
  top: 10px;
}

/* ---- Media row (image + text) ---- */
.media-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
  align-items: start;
  margin-top: 8px;
}
.media-row img { border: 4px solid var(--white); box-shadow: 0 8px 24px rgba(28,47,74,.2); }

/* ---- Contact box ---- */
.contact-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--red);
  border-radius: 4px;
  padding: 24px;
  max-width: 520px;
}
.contact-box address { font-style: normal; line-height: 1.7; }
.contact-box .org { font-family: Georgia, 'Times New Roman', serif; font-weight: 700; font-size: 19px; color: var(--navy); }
.contact-box a { color: var(--navy); font-weight: 700; }

/* ---- Contact form ---- */
.form-heading { margin-top: 36px; }
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--navy);
  border-radius: 4px;
  padding: 24px;
  max-width: 640px;
}
.contact-form .honeypot { display: none; }
.form-field { margin-bottom: 16px; }
.form-field label {
  display: block;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  font-size: 15px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: var(--cream-light);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 11px 12px;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 0;
  border-color: var(--gold);
  background: var(--white);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.contact-form .btn { cursor: pointer; border: none; font-size: 16px; }

/* ---- Footer — vintage, old-school treatment ---- */
.site-footer {
  /* 80s ski-hat stripe band across the very top: red / cream pinstripe / gold / cream pinstripe */
  background-color: var(--navy);
  background-image:
    linear-gradient(to bottom,
      var(--red) 0 10px,
      var(--cream) 10px 13px,
      var(--gold) 13px 23px,
      var(--cream) 23px 26px,
      transparent 26px),
    repeating-radial-gradient(rgba(251,246,233,.035) 0 1px, transparent 1px 4px);
  color: var(--cream);
  padding: 40px 0 24px;
  margin-top: 0;
}
.site-footer::before {
  content: "★  ★  ★";
  display: block;
  text-align: center;
  color: var(--gold);
  letter-spacing: 0.5em;
  font-size: 14px;
  margin-bottom: 22px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}
.site-footer h3 {
  color: var(--gold);
  font-size: 19px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-shadow: 0 1px 0 rgba(0,0,0,.45);
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(201,147,43,.55);
}
/* Company name gets the big vintage-lettering treatment */
.footer-grid > div:first-child h3 {
  font-size: 24px;
  letter-spacing: 0.18em;
  line-height: 1.25;
}
.site-footer p, .site-footer address { font-size: 14px; line-height: 1.7; font-style: normal; }
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: var(--gold); }
.footer-brand { text-align: center; margin-bottom: 28px; }
.footer-logo {
  width: 150px;
  margin: 0 auto 18px;
  display: block;
}
.footer-social { display: flex; gap: 14px; justify-content: center; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 6px;
  color: #fff;
}
.footer-social a.fb { background: #1877F2; }
.footer-social a.ig { background: #E1306C; }
.footer-social a:hover { opacity: 0.85; color: #fff; }
.footer-social svg { width: 26px; height: 26px; fill: currentColor; }
.footer-ids {
  text-align: center;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 15px;
  letter-spacing: 0.08em;
  margin: 8px 0 16px;
}
.footer-cert {
  text-align: center;
  font-size: 14px;
  line-height: 1.7;
  max-width: 72ch;
  margin: 0 auto 18px;
  font-style: italic;
}
.footer-pages li { margin-bottom: 6px; }
.footer-pages a { text-decoration: none; font-size: 14px; }
.legal {
  border-top: 3px double rgba(201,147,43,.6);
  padding-top: 18px;
  font-size: 13px;
  color: rgba(251,246,233,.8);
  text-align: center;
  letter-spacing: 0.04em;
}

/* ---- Responsive ---- */
@media (max-width: 820px) {
  .hero-grid, .media-row { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .card-grid { grid-template-columns: 1fr; }
  .list-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid > div:first-child h3 { font-size: 20px; }
  .header-inner { flex-direction: column; align-items: flex-start; padding: 12px 16px; }
  .main-nav { gap: 2px; }
  .main-nav a { padding: 12px 14px; }
  .brand-name { font-size: 26px; }
  .band { font-size: 19px; }
  .section h1, .section h2 { font-size: 28px; }
  /* Sticky Request a Quote bar — mobile widths (phones + tablets) */
  .site-footer { padding-bottom: 92px; }
  .sticky-quote {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    background: var(--red);
    color: var(--white);
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 17px;
    padding: 14px 16px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.25);
  }
  .sticky-quote:hover { background: var(--red-dark); color: var(--white); }
}

/* ---- Lightbox (tap-to-enlarge) ---- */
img[data-lightbox] { cursor: zoom-in; }
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(18, 32, 58, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: zoom-out;
}
.lightbox-overlay.open { display: flex; }
.lightbox-img {
  max-width: 92vw;
  max-height: 86vh;
  border: 4px solid var(--white);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  background: var(--white);
  cursor: default;
}
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 999px;
  width: 44px;
  height: 44px;
  font-size: 26px;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
}
.lightbox-close:hover { background: var(--red-dark); }

/* ---- "Hats off to you!" confirmation popup (contact form) ---- */
.thanks-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(18, 32, 58, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: pointer;
}
.thanks-overlay.open { display: flex; }
.thanks-box {
  background: var(--cream);
  border: 3px solid var(--navy);
  border-top: 6px solid var(--red);
  border-radius: 4px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  padding: 32px 28px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  cursor: default;
}
.thanks-stars { color: var(--gold); letter-spacing: 0.4em; font-size: 20px; margin-bottom: 8px; }
.thanks-box h2 {
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--navy);
  font-size: 34px;
  margin-bottom: 10px;
}
.thanks-box p { color: var(--ink); margin-bottom: 20px; }
.thanks-box .thanks-close { cursor: pointer; border: none; font-size: 16px; }

/* ---- Watch the Mill videos (homepage) ---- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.video-wrap {
  position: relative;
  /* aspect-ratio (not the padding-bottom hack): the site sets
     box-sizing: border-box globally, which breaks padding-based
     ratio boxes and left the player mis-sized with black space. */
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 4px solid var(--white);
  box-shadow: 0 8px 24px rgba(28,47,74,.25);
  background: #000;
}
/* "Who Knew?" is a 4:3 video — a 16:9 box letterboxes it with black bars */
.video-wrap.video-43 {
  aspect-ratio: 4 / 3;
  /* Same height as the 16:9 frames, no cropping, no black bars: a 4:3
     box at 75% width is exactly as tall as a 16:9 box at full width
     (0.75 x 3/4 = 9/16), so all three frames share one bottom edge.
     Centered in its grid column. */
  width: 75%;
  margin: 0 auto;
}
/* Collage header image above the videos — same tagline treatment as the hero */
.video-header { position: relative; margin: 8px 0 20px; }
.video-header img {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
  margin: 0 auto;
  border: 4px solid var(--white);
  box-shadow: 0 8px 24px rgba(28,47,74,.25);
}
.video-header .hero-tagline {
  position: absolute;
  left: 0;
  right: 0;
  top: 12px;
  margin: 0;
  text-align: center;
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: clamp(21px, 4vw, 30px);
  color: var(--cream);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65), 0 1px 2px rgba(0, 0, 0, 0.8);
}
.video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
@media (max-width: 820px) {
  .video-grid {
    grid-template-columns: 1fr;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    gap: 20px;
  }
}
@media (max-width: 520px) {
  .video-grid { gap: 16px; }
}

/* ---- Retro / vintage polish ---- */
/* Subtle paper grain over the cream background */
body {
  background-color: var(--cream-light);
  background-image: radial-gradient(rgba(42,36,25,0.04) 1px, transparent 1px);
  background-size: 5px 5px;
}
/* Letterpress feel on headlines */
h1, h2, h3 { text-shadow: 0 1px 0 rgba(255,255,255,.65); }
/* Gold star ornaments on section labels */
.kicker::before { content: "★ "; color: var(--gold); }
.kicker::after { content: " ★"; color: var(--gold); }
/* Gold rule under section headings */
.section h1::after, .section h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  background: var(--gold);
  margin-top: 10px;
}
/* Vintage line-star-line divider */
.vintage-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 20px;
  color: var(--gold);
}
.vintage-divider::before, .vintage-divider::after {
  content: "";
  height: 1px;
  width: 64px;
  background: var(--gold);
}
.vintage-divider span { font-size: 14px; line-height: 1; }
/* Retro circular stamp badge (hero) */
.stamp {
  display: inline-block;
  margin-top: 18px;
  padding: 12px 18px;
  border: 3px double var(--red);
  border-radius: 999px;
  color: var(--red);
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.35;
  text-align: center;
  letter-spacing: 0.06em;
  transform: rotate(-4deg);
  background: rgba(255,255,255,.45);
}
.stamp span {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
/* Slightly aged buttons: double edge + warm shadow */
.btn {
  border: 2px solid rgba(0,0,0,.12);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), 0 2px 0 rgba(42,36,25,.18);
  letter-spacing: 0.02em;
}

/* ---- Small phones (<=520px): tighter spacing, bigger tap targets ---- */
@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .header-inner { padding: 10px 16px; gap: 8px; }
  .brand-name { font-size: 24px; }
  /* Nav stays one horizontally scrollable row instead of wrapping to two */
  .main-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    padding-bottom: 2px;
  }
  .main-nav a { white-space: nowrap; }
  .hero { padding: 28px 0 8px; }
  /* Phone hero: centered block, smaller headline, long words wrap — no clipping */
  .hero-text { text-align: center; }
  .hero-text .hero-sub { margin-left: auto; margin-right: auto; }
  .hero h1 { font-size: 28px; overflow-wrap: break-word; }
  .hero-sub { font-size: 17px; }
  .stamp { font-size: 14px; padding: 10px 14px; }
  /* Stamp badge stays modest on small phones */
  .usa-stamp { width: 72px; height: 72px; font-size: 7px; line-height: 1.2; top: 12px; right: 12px; border-width: 2px; }
  .usa-stamp .stamp-star { font-size: 5px; }
  .section { padding: 32px 0; }
  .section h1, .section h2 { font-size: 26px; }
  /* Full-width buttons = easy thumb targets on phones */
  .btn { display: block; width: 100%; text-align: center; margin-right: 0; padding: 14px 16px; }
  /* Smaller style thumbs leave room for the description text */
  .style-thumb { flex-basis: 84px; width: 84px; height: 84px; }
  .style-list li { gap: 12px; }
  /* About photos: single centered stack on phones, equal margins */
  .about-photos { grid-template-columns: 1fr; justify-items: center; }
  .about-photo { width: 100%; max-width: 340px; margin: 0 auto; }
  .about-photo img { height: 160px; }
  .footer-grid > div:first-child h3 { font-size: 18px; letter-spacing: 0.12em; }
  .topbar { font-size: 13px; }
  .lightbox-overlay { padding: 12px; }
  /* Full-width hero banner stays tall enough on small phones */
  .hero-img-full { aspect-ratio: 16 / 9; }
  .hero-banner .hero-tagline { font-size: 21px; top: 8px; }
  .hero-banner .hero-caption { padding: 8px 16px; font-size: 13px; }
}

/* Long emails/URLs must never force horizontal overflow */
.site-footer a, .contact-box a { overflow-wrap: anywhere; }


/* Header logo — compact on phones */
@media (max-width: 820px) {
  .brand-logo { height: 46px; }
  .brand { gap: 10px; }
}
@media (max-width: 520px) {
  .brand-logo { height: 40px; }
  .brand { gap: 8px; }
}
