/* Jumpseat Supply — site styles. One file, no framework. */

:root {
  --red: #c8102e;
  --red-dark: #9e0c24;
  --stripe: #f2c230;          /* turnout-gear reflective trim */
  --ink: #16181c;
  --ink-soft: #3f444c;
  --ink-mute: #6b717b;
  --char: #1d2026;
  --char-2: #262a31;
  --paper: #ffffff;
  --paper-alt: #f4f4f2;
  --line: #e2e3e5;
  --radius: 10px;
  --wrap: 1140px;
  --ease: cubic-bezier(.2,.6,.2,1);
  --head: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; font-family: var(--body); font-size: 1.06rem; line-height: 1.6;
  color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }
p { margin: 0 0 1rem; }

h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.02; margin: 0 0 .5em; text-transform: uppercase; letter-spacing: .01em; }
h1 { font-size: clamp(2.7rem, 7vw, 5rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3rem); }
h3 { font-size: 1.45rem; letter-spacing: .02em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only, .skip-link {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; top: 10px; left: 10px; width: auto; height: auto; clip: auto; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
:focus-visible { outline: 3px solid var(--stripe); outline-offset: 2px; }

.eyebrow {
  font-family: var(--head); font-weight: 600; font-size: 1rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--red); margin: 0 0 .6rem;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--head); font-weight: 700; font-size: 1.2rem; letter-spacing: .06em; text-transform: uppercase;
  padding: 13px 26px; border-radius: 6px; border: 2px solid transparent; text-decoration: none; cursor: pointer;
  transition: background-color .15s var(--ease), border-color .15s var(--ease), transform .15s var(--ease);
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(22,24,28,.95);
  backdrop-filter: saturate(1.3) blur(8px); border-bottom: 3px solid var(--red);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-name { font-family: var(--head); font-weight: 700; font-size: 1.55rem; letter-spacing: .06em; text-transform: uppercase; line-height: 1; }
.brand-name span { color: var(--stripe); font-weight: 600; }
.nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-menu a {
  font-family: var(--head); font-weight: 600; font-size: 1.12rem; letter-spacing: .06em; text-transform: uppercase;
  color: #d9dce1; text-decoration: none; padding: 8px 12px; border-radius: 6px;
}
.nav-menu a:hover, .nav-menu a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.08); }
.nav-menu .nav-cta { background: var(--red); color: #fff; margin-left: 6px; }
.nav-menu .nav-cta:hover, .nav-menu .nav-cta[aria-current="page"] { background: var(--red-dark); }
.nav-toggle { display: none; }

/* Hero */
.hero {
  position: relative; color: #fff; isolation: isolate; overflow: hidden;
  background: #0d0e11 url("../img/hero-jumpseat.jpg") center 45% / cover no-repeat;
  padding: clamp(64px, 11vw, 132px) 0 clamp(60px, 10vw, 120px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(10,11,14,.92) 0%, rgba(10,11,14,.72) 50%, rgba(10,11,14,.35) 100%);
}
.hero-inner { max-width: 700px; }
.hero .eyebrow { color: var(--stripe); }
.hero h1 { color: #fff; }
.hero-lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: #d4d7dc; max-width: 600px; margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-price {
  display: inline-flex; align-items: baseline; gap: 10px; margin: 0 0 1.4rem;
  font-family: var(--head); text-transform: uppercase; letter-spacing: .05em; color: #fff;
}
.hero-price b { font-size: 2.6rem; font-weight: 700; color: var(--stripe); line-height: 1; }
.hero-price span { font-size: 1.15rem; font-weight: 600; color: #d4d7dc; }

/* Turnout-stripe divider */
.stripe-bar { height: 12px; background: linear-gradient(180deg, var(--stripe) 0 33%, #c9ccd1 33% 66%, var(--stripe) 66% 100%); }

/* Sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--paper-alt); }
.section-dark { background: linear-gradient(180deg, var(--char), var(--ink)); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: #c9ccd2; }
.section-dark .eyebrow { color: var(--stripe); }
.section-lead.after-list { margin: 2rem 0 0; }
.section-lead { max-width: 660px; color: var(--ink-soft); font-size: 1.12rem; margin-bottom: 2.2rem; }

/* Product split */
.product { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.product-photo { background: #414141; border-radius: 14px; overflow: hidden; box-shadow: 0 24px 50px rgba(0,0,0,.18); }
.product-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 55%; }
.product-copy p { color: var(--ink-soft); }
.spec { list-style: none; margin: 1.4rem 0 1.8rem; padding: 0; display: grid; gap: 10px; }
.spec li { position: relative; padding-left: 30px; }
.spec li::before {
  content: ""; position: absolute; left: 2px; top: .5em; width: 14px; height: 8px;
  border-left: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(-45deg);
}
.spec b { font-weight: 600; color: var(--ink); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--red);
  border-radius: var(--radius); padding: 26px 24px;
}
.card p { color: var(--ink-soft); margin: 0; }
.card .tag-line { font-family: var(--head); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); font-size: .95rem; margin: -.3em 0 .6em; }
.section-dark .card { background: var(--char-2); border-color: rgba(255,255,255,.08); border-top-color: var(--red); }
.section-dark .card p { color: #c9ccd2; }

/* Engrave list */
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.checks li {
  background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--stripe);
  border-radius: 8px; padding: 14px 16px; font-weight: 500;
}

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step); display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%; margin-bottom: 14px;
  background: var(--red); color: #fff; font-family: var(--head); font-weight: 700; font-size: 1.5rem;
}
.steps h3 { margin-bottom: .3em; }
.steps p { margin: 0; font-size: 1rem; }

/* CTA band */
.cta-band { background: var(--red); color: #fff; padding: clamp(40px, 6vw, 64px) 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { margin: 0; color: #fff; }
.cta-band p { margin: .4rem 0 0; color: #ffe3e7; }
.cta-band .btn { background: #fff; color: var(--red); }
.cta-band .btn:hover { background: var(--ink); color: #fff; }

/* Order form */
.order-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 4vw, 48px); align-items: start; }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: clamp(20px, 3vw, 32px); box-shadow: 0 16px 40px rgba(0,0,0,.06); }
fieldset { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
legend { font-family: var(--head); font-weight: 700; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .04em; padding: 0; margin-bottom: 12px; color: var(--ink); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field { display: flex; flex-direction: column; margin-bottom: 16px; }
.field label, .field .label { font-weight: 600; font-size: .96rem; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--ink-mute); }
.hint, .field .hint { font-size: .88rem; color: var(--ink-mute); margin-top: 6px; }
.field input, .field textarea, .field select {
  font: inherit; font-size: 1rem; padding: 11px 13px; border: 1.5px solid #cfd2d6; border-radius: 8px;
  background: #fff; color: var(--ink); width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--red); outline: none; box-shadow: 0 0 0 3px rgba(200,16,46,.15); }
.field textarea { resize: vertical; min-height: 130px; }
.field textarea.tall { min-height: 200px; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .92rem; }
.estimate {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap;
  background: var(--paper-alt); border-radius: 10px; padding: 14px 16px; margin: 4px 0 0;
}
.estimate b { font-family: var(--head); font-size: 1.8rem; color: var(--red); }
.estimate small { color: var(--ink-mute); font-size: .88rem; flex-basis: 100%; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 14px 0 0; font-weight: 600; min-height: 1.2em; }
.form-status.ok { color: #1b7a3a; }
.form-status.err { color: var(--red); }
.aside-card { background: var(--char); color: #fff; border-radius: 14px; padding: 26px 24px; position: sticky; top: 90px; }
.aside-card h3 { color: #fff; }
.aside-card p, .aside-card li { color: #c9ccd2; font-size: 1rem; }
.aside-card ul { padding-left: 1.1em; margin: 0 0 1rem; }
.aside-card a { color: #fff; }
.aside-price { font-family: var(--head); text-transform: uppercase; font-weight: 700; font-size: 1.1rem; letter-spacing: .05em; color: #d4d7dc; margin-bottom: 1rem; }
.aside-price b { display: block; font-size: 3.2rem; color: var(--stripe); line-height: 1; }

/* Page header (inner pages) */
.page-head { background: linear-gradient(180deg, var(--char), var(--ink)); color: #fff; padding: clamp(44px, 7vw, 76px) 0 clamp(36px, 5vw, 56px); }
.page-head h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 4rem); }
.page-head p { color: #c9ccd2; max-width: 640px; font-size: 1.12rem; margin: 0; }
.page-head .eyebrow { color: var(--stripe); }

.prose { max-width: 740px; }
.prose h2 { font-size: 1.8rem; margin-top: 2rem; }
.prose p, .prose li { color: var(--ink-soft); }

/* Footer */
.site-footer { background: #0f1013; color: #a9adb5; padding: 44px 0 36px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: flex-start; }
.footer-inner .brand-name { font-size: 1.35rem; }
.footer-tag { margin: 8px 0 0; font-size: .95rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-nav a { color: #c9ccd2; text-decoration: none; font-size: .96rem; }
.footer-nav a:hover { color: #fff; }
.legal { margin: 26px 0 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); font-size: .86rem; color: #7c818a; }

/* Responsive */
@media (max-width: 960px) {
  .product, .order-grid { grid-template-columns: 1fr; }
  .product-photo { max-width: 460px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .checks, .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .aside-card { position: static; }
}
@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
    background: transparent; border: 1px solid rgba(255,255,255,.3); border-radius: 8px; cursor: pointer;
  }
  .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
    content: ""; display: block; width: 20px; height: 2px; background: #fff; position: relative;
  }
  .nav-toggle-bar::before { position: absolute; top: -6px; }
  .nav-toggle-bar::after { position: absolute; top: 6px; }
  .nav-menu {
    display: none; position: absolute; top: 67px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--ink); padding: 8px 16px 16px; border-bottom: 3px solid var(--red);
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 12px; }
  .nav-menu .nav-cta { margin: 6px 0 0; text-align: center; }
  .cards, .cards-3, .checks, .steps, .row-2 { grid-template-columns: 1fr; }
  .hero::before { background: linear-gradient(180deg, rgba(10,11,14,.78), rgba(10,11,14,.9)); }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

/* Thank-you / 404 */
.page-head-tall { min-height: 58vh; display: flex; align-items: center; }
.page-actions { margin-top: 1.8rem !important; display: flex; flex-wrap: wrap; gap: 12px; }
.order-ref { margin-top: 1.2rem !important; font-family: var(--head); font-size: 1.3rem; letter-spacing: .05em; text-transform: uppercase; color: var(--stripe) !important; }

/* Order form: per-tag rows */
.fieldset-hint { margin: -4px 0 14px; }
.sheet-callout {
  background: #fdf6e0; border-left: 4px solid var(--stripe); border-radius: 8px; padding: 12px 14px;
  font-size: .95rem; margin: 0 0 16px;
}
.tag-row {
  display: grid; grid-template-columns: 64px repeat(3, minmax(0, 1fr)) 36px; gap: 8px; align-items: center;
  grid-template-areas: "q t t t r" ". a s c .";
  padding-bottom: 10px; border-bottom: 1px dashed var(--line);
}
.tag-rows { display: flex; flex-direction: column; gap: 10px; }
.tag-row input, .tag-row select {
  font: inherit; font-size: .98rem; padding: 10px 11px; border: 1.5px solid #cfd2d6; border-radius: 8px;
  background: #fff; color: var(--ink); width: 100%; min-width: 0;
}
.tag-row input:focus, .tag-row select:focus { border-color: var(--red); outline: none; box-shadow: 0 0 0 3px rgba(200,16,46,.15); }
.tag-row .tr-qty { grid-area: q; }
.tag-row .tr-text { grid-area: t; }
.tag-row .tr-remove { grid-area: r; }
.tag-row .tr-attach { grid-area: a; }
.tag-row .tr-size { grid-area: s; }
.tag-row .tr-color { grid-area: c; }
.tr-remove {
  width: 36px; height: 36px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff;
  color: var(--ink-mute); font-size: 1.3rem; line-height: 1; cursor: pointer;
}
.tr-remove:hover { color: var(--red); border-color: var(--red); }
.tag-row .tr-color { border-left-width: 10px; }
.tag-row .tr-color[data-color="red"]   { border-left-color: #c8102e; }
.tag-row .tr-color[data-color="blue"]  { border-left-color: #2b3fb8; }
.tag-row .tr-color[data-color="green"] { border-left-color: #4e7a2a; }
.tag-row .tr-color[data-color="gold"]  { border-left-color: #c9962e; }
.tag-row .tr-color[data-color="black"] { border-left-color: #1d1d1f; }
.tag-row .tr-size[data-size="large"], .tag-row .tr-color.special { background: #fdf6e0; }
.lead-notice {
  background: #fdf6e0; border-left: 4px solid var(--stripe); border-radius: 8px; padding: 10px 14px;
  font-weight: 600; font-size: .95rem; margin: 8px 0 10px;
}
.lead-notice[hidden] { display: none; }
.tag-actions { margin: 12px 0 6px; }
.btn-sm { font-size: 1rem; padding: 8px 16px; }

@media (max-width: 720px) {
  .tag-row {
    grid-template-columns: 64px minmax(0, 1fr) 36px; grid-template-areas: "q t r" "a a a" "s s s" "c c c";
    border: 1.5px solid var(--line); border-radius: 10px; padding: 10px;
  }
}

/* Colors & sizes (home) */
.colors-grid { display: grid; grid-template-columns: 1fr 1.3fr 1.6fr; gap: 20px; }
.swatch-group { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 18px; }
.swatch-group h3 { margin-bottom: .7em; }
.swatch-group h3 small { font-size: .8em; color: var(--ink-mute); letter-spacing: .04em; margin-left: 4px; }
.swatches { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 18px; }
.swatches li { display: flex; flex-direction: column; align-items: center; gap: 6px; font-weight: 600; font-size: .95rem; }
.chip {
  width: 38px; height: 62px; border-radius: 6px; position: relative;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.15), 0 2px 4px rgba(0,0,0,.2);
  background-image: linear-gradient(115deg, rgba(255,255,255,.3), rgba(255,255,255,0) 45%, rgba(0,0,0,.12));
}
.chip::before {  /* slot */
  content: ""; position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 55%; height: 6px; border-radius: 3px; background: var(--paper); box-shadow: inset 0 1px 1px rgba(0,0,0,.35);
}
.chip[data-color="red"]   { background-color: #c8102e; }
.chip[data-color="blue"]  { background-color: #2b3fb8; }
.chip[data-color="green"] { background-color: #4e7a2a; }
.chip[data-color="gold"]  { background-color: #c9962e; }
.chip[data-color="black"] { background-color: #1d1d1f; }
.sizes { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sizes b { font-family: var(--head); text-transform: uppercase; letter-spacing: .04em; font-size: 1.15rem; margin-right: 6px; }
.sizes span { display: block; color: var(--ink-mute); font-size: .92rem; }
@media (max-width: 960px) { .colors-grid { grid-template-columns: 1fr; } }
