/* Doc's Legacy Jigs — site styles */
:root {
  --navy: #0F2C44;
  --navy-2: #163A57;
  --orange: #F07A2E;
  --orange-soft: #F5B88E;
  --sand: #F2EEE5;
  --paper: #FBFAF7;
  --white: #FFFFFF;
  --line: #E4E0D6;
  --ink: #26394A;
  --muted: #4A5D6C;
  --brown: #8A5A2B;
  --wrap: 1180px;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; min-width: 0; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: #1F5A80; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }

h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  margin: 0;
}
.eyebrow {
  margin: 0 0 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 14px;
  color: var(--brown);
}
.lead { font-size: 19px; line-height: 1.55; color: #3B4C5A; max-width: 680px; margin: 0 0 32px; }
.page-title { font-size: clamp(44px, 7vw, 64px); margin-bottom: 14px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 13px 24px;
  border-radius: 6px; border: 2px solid transparent;
  font: 600 17px/1.2 var(--body);
  text-decoration: none; cursor: pointer;
}
.btn-orange { background: var(--orange); color: var(--navy); }
.btn-orange:hover { background: #F48C47; color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-2); color: var(--white); }
.btn-ghost { background: transparent; color: var(--white); border-color: #5C7A92; }
.btn-ghost:hover { border-color: var(--white); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Top bar + header */
.topbar { background: var(--navy); color: #DCE6EE; font-size: 14px; text-align: center; padding: 8px 16px; }
.topbar a { color: var(--white); font-weight: 600; }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: relative; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px 32px; min-height: 72px; }
.brand {
  font-family: var(--display); font-weight: 800; font-size: 26px;
  letter-spacing: 0.02em; text-transform: uppercase; line-height: 1;
  color: var(--navy); text-decoration: none; padding: 8px 0;
}
.brand img { height: 52px; width: auto; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.nav a {
  display: block; padding: 12px 12px 9px; min-height: 44px;
  border-bottom: 3px solid transparent;
  font-weight: 600; font-size: 16px; text-decoration: none; color: var(--navy);
}
.nav a:hover { border-bottom-color: #F8C7A5; }
.nav a[aria-current="page"] { border-bottom-color: var(--orange); }
.menu-btn { display: none; }

@media (max-width: 820px) {
  .menu-btn {
    display: inline-flex; align-items: center; gap: 8px;
    min-height: 44px; padding: 8px 14px;
    background: none; border: 1.5px solid var(--navy); border-radius: 6px;
    font: 600 16px var(--body); color: var(--navy); cursor: pointer;
  }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 8px 16px 16px; z-index: 5;
    box-shadow: 0 10px 20px rgba(15, 44, 68, 0.08);
  }
  .nav.open { display: flex; }
  .nav a { border-bottom: 0; border-left: 4px solid transparent; padding: 12px 14px; font-size: 18px; }
  .nav a[aria-current="page"] { border-left-color: var(--orange); }
  .brand { font-size: 22px; }
}

/* Hero */
.hero { background: var(--navy); color: var(--white); }
.hero-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 72px; padding-bottom: 80px; }
.hero-copy { flex: 1 1 440px; min-width: 0; }
.hero .eyebrow { color: var(--orange-soft); }
.hero h1 { font-size: clamp(52px, 8vw, 76px); line-height: 0.95; margin-bottom: 20px; }
.hero p.lead { color: #DCE6EE; font-size: 20px; max-width: 520px; }
.hero-photo { flex: 1 1 400px; min-width: 0; }
.hero-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; border: 1px solid #2A5577; }

/* Facts strip */
.facts { background: var(--white); border-bottom: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; padding-top: 32px; padding-bottom: 32px; }
.fact strong { display: block; font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 1; }
.fact > span { font-size: 16px; color: var(--muted); }

/* Sections */
.section { padding-top: 72px; padding-bottom: 24px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section-head h2 { font-size: 48px; }
.text-link { font-size: 17px; font-weight: 600; text-underline-offset: 4px; padding: 10px 0; }

/* Jig cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.cards.wide { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #EEF2F4; }
.card-body { padding: 18px 20px 22px; }
.card h2, .card h3 { font-weight: 700; font-size: 27px; margin-bottom: 6px; }
.card p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--muted); }

/* Doc teaser */
.doc-teaser { padding-top: 56px; padding-bottom: 72px; }
.doc-teaser-box { background: var(--sand); border-radius: 12px; padding: 40px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.doc-teaser-box img { width: 100%; flex: 1 1 240px; max-width: 320px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px; }
.doc-teaser-box > div { flex: 1 1 380px; min-width: 0; }
.doc-teaser-box h2 { font-size: 44px; margin-bottom: 16px; }
.doc-teaser-box p { font-size: 18px; line-height: 1.6; color: #3B4C5A; margin: 0 0 24px; }

/* Colors */
.swatches { display: flex; flex-wrap: wrap; gap: 14px; }
.swatch { display: flex; align-items: center; gap: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px 8px 8px; font-size: 17px; font-weight: 600; }
.swatch i { width: 36px; height: 36px; border-radius: 50%; border: 1px solid #C9CFD3; }
.photo-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 28px; }
.photo-strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }

/* Where to buy */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button {
  min-height: 44px; padding: 10px 18px; border-radius: 999px;
  border: 1.5px solid var(--navy); background: var(--white); color: var(--navy);
  font: 600 16px var(--body); cursor: pointer;
}
.filters button[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.stores { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.store { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.store .region { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brown); }
.store h2 { font-family: var(--body); text-transform: none; font-size: 19px; font-weight: 600; line-height: 1.3; }
.store address { font-style: normal; font-size: 16px; line-height: 1.45; color: #3B4C5A; }
.store a { font-size: 16px; font-weight: 600; }
.store a.web { font-weight: 500; font-size: 15px; overflow-wrap: anywhere; }
.status { color: var(--muted); }

/* Story */
.story { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-top: 64px; padding-bottom: 80px; }
.story > img { width: 100%; flex: 1 1 300px; max-width: 420px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; }
.story-copy { flex: 1 1 440px; min-width: 0; max-width: 640px; }
.story-copy h1 { font-size: clamp(44px, 7vw, 64px); margin-bottom: 24px; }
.story-copy p { font-size: 19px; line-height: 1.7; color: var(--ink); margin: 0 0 18px; }
.story-copy .closing { font-weight: 600; }
.pending { background: #FFF1D6; color: var(--ink); padding: 0 4px; border-radius: 3px; }
.site-footer .pending, .contact-box .pending { background: none; color: inherit; padding: 0; }

/* Retailers */
.retail { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-top: 64px; padding-bottom: 80px; }
.retail-intro { flex: 1 1 320px; min-width: 0; max-width: 420px; }
.contact-box { background: var(--navy); color: var(--white); border-radius: 10px; padding: 24px; display: flex; flex-direction: column; gap: 8px; font-size: 17px; }
.contact-box strong { font-family: var(--display); font-weight: 700; font-size: 24px; text-transform: uppercase; }
.contact-box a { color: var(--white); }
.form-card { flex: 1 1 440px; min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 32px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 16px; margin-top: 18px; }
.form-grid .field { margin-top: 0; }
.field input, .field select, .field textarea {
  font: 400 17px var(--body); color: var(--navy);
  border: 1.5px solid #B9C2C9; border-radius: 6px; padding: 12px; min-height: 44px; background: var(--white); width: 100%;
}
.field textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form-msg { margin: 16px 0 0; font-weight: 600; }
.form-msg.err { color: #A3341A; }
.thanks h2 { font-size: 40px; margin-bottom: 12px; }
.thanks p { font-size: 18px; color: #3B4C5A; }
.form-card .btn { margin-top: 22px; }

/* Reorder band + footer */
.band { background: var(--orange); }
.band-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 36px; padding-bottom: 36px; }
.band .display { font-size: 34px; color: var(--navy); }
.site-footer { background: var(--navy); color: #C8D5DF; font-size: 15px; line-height: 1.6; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding-top: 40px; padding-bottom: 40px; }
.footer-inner > div { display: flex; flex-direction: column; gap: 4px; }
.footer-inner .display { font-size: 24px; color: var(--white); }
.footer-inner strong { color: var(--white); }
.site-footer a { color: #C8D5DF; }
.site-footer a:hover { color: var(--white); }

@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero-inner { padding-top: 48px; padding-bottom: 56px; gap: 32px; }
  .section { padding-top: 52px; }
  .section-head h2 { font-size: 40px; }
  .doc-teaser-box { padding: 24px; gap: 24px; }
  .doc-teaser-box img { max-width: none; aspect-ratio: 4 / 3; }
  .doc-teaser-box h2 { font-size: 36px; }
  .story, .retail { padding-top: 44px; gap: 32px; }
  .story > img { max-width: none; aspect-ratio: 4 / 3; }
  .form-card { padding: 22px; }
  .band .display { font-size: 28px; }
}
