/* Quilter's Cruise Control — site styles */
:root {
  --teal: #1C4A52;
  --teal-deep: #004B53;
  --teal-hover: #2E6B76;
  --teal-soft: #A8CDD2;
  --teal-mist: #D4EAED;
  --sage: #83A4A8;
  --gold: #C8973A;
  --amber: #D49536;
  --orange: #E2922F;
  --cream: #F5EBE0;
  --paper: #F6F5F1;
  --line: #DDDAD2;
  --ink: #23272A;
  --ink-soft: #545B5E;
  --white: #FFFFFF;
  --pp-yellow: #FFD140;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(16, 40, 44, .06), 0 8px 24px rgba(16, 40, 44, .06);
  --wrap: 1180px;
  --font: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --serif: 'Lora', Georgia, 'Times New Roman', serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
a:hover { color: var(--teal-hover); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--teal); line-height: 1.2; margin: 0 0 .5em; font-weight: 500; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.eyebrow { font-family: var(--font); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 .8em; }
.lede { font-size: 1.12rem; color: var(--ink-soft); max-width: 62ch; }
.skip { position: absolute; left: -999px; top: 0; background: var(--teal); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* ── Staging notice ── */
.staging { background: #7A1F1F; color: #fff; text-align: center; font-size: .82rem; padding: 6px 12px; }

/* ── Top bar + header ── */
.topbar { background: var(--amber); color: var(--teal-deep); text-align: center; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 9px 16px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(140%) blur(6px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand img { height: 58px; width: auto; }
.nav { display: flex; gap: 6px; align-items: center; }
.nav a { text-decoration: none; color: var(--ink); font-size: .95rem; font-weight: 500; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { background: var(--paper); color: var(--teal); }
.nav a[aria-current="page"] { color: var(--teal); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.nav-group { position: relative; }
.nav-drop { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; font: inherit; font-size: .95rem; font-weight: 500; color: var(--ink); padding: 8px 12px; border-radius: 8px; cursor: pointer; }
.nav-drop:hover { background: var(--paper); color: var(--teal); }
.nav-group.here .nav-drop { color: var(--teal); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.nav-drop .caret { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; transition: transform .15s; }
.nav-group.open .caret { transform: rotate(180deg); }
.nav-sub { display: none; position: absolute; top: 100%; left: 0; min-width: 280px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 34px rgba(0,0,0,.12); padding: 8px; z-index: 60; }
.nav-group.open .nav-sub { display: block; }
@media (hover: hover) and (min-width: 821px) { .nav-group:hover .nav-sub, .nav-group:focus-within .nav-sub { display: block; } }
.nav-sub a { display: block; padding: 10px 12px; border-radius: 8px; }
.nav-sub a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--gold); border-radius: 0 8px 8px 0; background: var(--paper); }
.nav-sub-title { display: block; font-weight: 600; color: var(--teal); }
.nav-sub-note { display: block; font-size: .8rem; font-weight: 400; color: var(--ink-soft); margin-top: 2px; }
.quick-ship-callout { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 12px; padding: 16px 20px; margin: 0 0 28px; }
.quick-ship-callout > div:first-child { flex: 1 1 320px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font: inherit; font-size: .9rem; color: var(--teal); cursor: pointer; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font); font-size: 1rem; font-weight: 600; text-decoration: none; padding: 13px 26px; border-radius: 999px; border: 2px solid var(--teal); background: var(--teal); color: #fff; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.btn:hover { background: var(--teal-hover); border-color: var(--teal-hover); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--teal); }
.btn.ghost:hover { background: var(--teal); color: #fff; }
.btn.light { background: #fff; color: var(--teal); border-color: #fff; }
.btn.light:hover { background: var(--teal-mist); border-color: var(--teal-mist); color: var(--teal); }
.btn.small { padding: 9px 18px; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.nowrap { white-space: nowrap; }
.hero-btns { display: inline-grid; grid-template-columns: auto auto; gap: 12px; }
.hero-btns .btn:first-child { grid-column: 1 / -1; justify-self: center; }

/* ── Hero ── */
.hero { background: linear-gradient(90deg, var(--white) 0 50%, var(--teal) 50% 100%); }
/* Hero spans the full width as two equal halves (white | teal) so the product card is centered in the teal half;
   the left text still lines up with the page's normal content edge. */
.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: center; max-width: none; padding: 64px 0; }
.hero .wrap > div:first-child { padding-left: max(24px, calc((100vw - var(--wrap)) / 2 + 24px)); padding-right: 48px; }
.hero .wrap > div:last-child { display: flex; justify-content: center; padding: 0 40px; }
.hero-card { width: 100%; max-width: 560px; }
.hero h1 { margin-bottom: .1em; }
.hero h1 em { display: block; font-style: italic; color: var(--gold); font-size: .62em; margin-top: .25em; }
.hero-card { background: #fff; border-radius: 18px; padding: 28px; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.hero-card img { margin: 0 auto; }
.made-usa { margin-top: 18px; background: var(--orange); color: #fff; text-align: center; font-weight: 700; font-size: .8rem; letter-spacing: .08em; padding: 8px 12px; border-radius: 8px; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; color: var(--ink-soft); font-size: .95rem; }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks li::before { content: ""; width: 18px; height: 18px; border-radius: 5px; background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }

/* ── Sections ── */
.section { padding: 80px 0; }
.section.tint { background: var(--paper); }
.section.cream { background: var(--cream); }
.section.mist { background: var(--teal-mist); }
.section.dark { background: var(--teal); color: #E7F1F2; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split > *, .feature > *, .hero .wrap > *, .grid > *, .steps > * { min-width: 0; }

/* ── Steps ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--sage); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow); }
.step:nth-child(2) { border-top-color: var(--orange); }
.step-num { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--sage); color: #fff; font-weight: 700; font-size: 1.2rem; margin-bottom: 16px; }
.step:nth-child(2) .step-num { background: var(--orange); }
.step h3 { font-family: var(--font); font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.step p { color: var(--ink-soft); margin: 0; font-size: .98rem; }

/* ── Product grid / cards ── */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.card-media { position: relative; background: #fff; aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 18px; border-bottom: 1px solid var(--line); }
.card-media img { max-height: 100%; width: auto; object-fit: contain; }
.badge { position: absolute; top: 12px; left: 12px; background: var(--pp-yellow); color: #1b1b1b; font-weight: 700; font-size: .78rem; padding: 4px 10px; border-radius: 6px; letter-spacing: .02em; }
.badge.bundle { background: var(--teal); color: #fff; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.card-title { font-family: var(--font); font-size: 1.05rem; font-weight: 700; color: var(--ink); margin: 0 0 14px; line-height: 1.35; }
.more-info { color: #444; border-left: 3px solid var(--teal); padding: 2px 0 2px 14px; margin: 0 0 14px; font-size: .95rem; line-height: 1.6; }
.more-info p { margin: 0 0 .7em; }
.more-info p:last-child { margin-bottom: 0; }
.more-info ul { margin: .2em 0 .7em; padding-left: 1.2em; }
.more-info[hidden] { display: none; }
.learn-more-btn { align-self: flex-start; padding: 8px 18px; background: transparent; color: var(--teal); border: 1.5px solid var(--teal); border-radius: 8px; font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.learn-more-btn:hover { background: var(--teal-hover); border-color: var(--teal-hover); color: #fff; }
.paypal-wrapper { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--teal-soft); display: flex; justify-content: center; }
.card-body .learn-more-btn + .paypal-wrapper, .card-body .more-info + .learn-more-btn + .paypal-wrapper { margin-top: 18px; }
.pp-form { display: inline-grid; justify-items: center; align-content: start; gap: .5rem; margin: 0; }
.pp-btn { text-align: center; border: none; border-radius: 1.5rem; min-width: 11.625rem; padding: 0 2rem; height: 2.4rem; font-weight: 700; background: var(--pp-yellow); color: #000; font-family: "Helvetica Neue", Arial, sans-serif; font-size: .95rem; cursor: pointer; transition: filter .15s; }
.pp-btn:hover { filter: brightness(.95); }
.pp-cards { height: 22px; width: auto; }
.pp-powered { font-size: .75rem; color: #333; display: flex; align-items: center; gap: 4px; }
.pp-powered img { height: .9rem; width: auto; display: inline-block; }
/* PayPal Add to Cart widget sizes itself from its container (container-type: inline-size),
   so it must be given a real width or it collapses to zero and stacks text vertically. */
paypal-add-to-cart-button { display: block; width: 100%; flex: 1 1 100%; }
.card paypal-add-to-cart-button [id$="-wrapper"] { margin: 0 !important; }
/* the card already shows the photo and title, so hide PayPal's duplicates */
.card paypal-add-to-cart-button .hero-container,
.card paypal-add-to-cart-button .thumbnail-container,
.card paypal-add-to-cart-button .item-title { display: none !important; }
/* keep listings short: hide PayPal's long product description (the card's Learn More covers it).
   The option menus stay because PayPal requires them before adding to the cart. */
.card paypal-add-to-cart-button .item-description { display: none !important; }
.card paypal-add-to-cart-button #memo { height: 60px !important; min-height: 60px; }
.card paypal-add-to-cart-button .item-header { margin-bottom: .5rem !important; }
.view-cart-bar { display: flex; justify-content: flex-end; margin-bottom: 18px; }
/* floating View Cart button, always reachable while shopping */
.view-cart-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; filter: drop-shadow(0 6px 14px rgba(0,0,0,.18)); }
.sub-head { font-family: var(--font); font-size: 1.15rem; font-weight: 700; color: var(--ink); margin: 8px 0 16px; }
.sub-lede { color: var(--ink-soft); margin: -8px 0 18px; max-width: 70ch; }
.grid + .sub-head { margin-top: 44px; }
.canada-note { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700; color: #B3261E; margin: 0 0 10px; }

/* ── Order (feature) rows ── */
.feature { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 36px; box-shadow: var(--shadow); }
.feature + .feature { margin-top: 28px; }
.feature-media { background: var(--paper); border-radius: 14px; padding: 24px; display: grid; place-items: center; }
.feature-media img { width: 100%; max-width: 520px; height: auto; }
.feature h2 { font-size: 1.7rem; }
.feature .btn { margin-top: 6px; }
.feature-note { font-size: .88rem; color: var(--ink-soft); margin-top: 14px; }
.parts-links { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.parts-link { display: flex; gap: 24px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: var(--shadow); }
.parts-link img { width: 132px; flex-shrink: 0; }
.parts-link h3 { margin-bottom: .3em; }
.parts-link p { color: var(--ink-soft); font-size: .95rem; margin-bottom: .8em; }
.ship-tag { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--cream); color: var(--teal); padding: 4px 10px; border-radius: 6px; margin-bottom: 12px; }

/* ── Page header ── */
.page-head { background: var(--teal); color: #E7F1F2; padding: 56px 0 52px; position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 36px solid rgba(200,151,58,.18); }
.page-head h1 { color: #fff; margin-bottom: .2em; }
.page-head p { color: #CFE3E6; max-width: 64ch; margin: 0; font-size: 1.08rem; }
.page-head .wrap { position: relative; z-index: 1; }
.page-head-grid { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.page-head-grid img { width: 170px; background: #fff; border-radius: 16px; padding: 10px; }
.notice { display: inline-block; margin-top: 18px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); color: #fff; padding: 8px 14px; border-radius: 8px; font-size: .92rem; }
.notice a { color: #FFD98A; }

/* ── Terms grid ── */
.terms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.term { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 22px; }
.term h3 { font-family: var(--font); font-size: 1.02rem; font-weight: 700; color: #fff; margin-bottom: .5em; }
.term p { font-size: .94rem; color: #D7E7E9; margin: 0 0 .6em; }
.term p:last-child { margin: 0; }

/* ── Support ── */
.quicklinks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.quicklinks a { color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 7px 16px; font-size: .92rem; }
.quicklinks a:hover { background: rgba(255,255,255,.12); color: #fff; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; box-shadow: var(--shadow); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gallery { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.gallery figure { margin: 0; background: #fff; border-radius: 10px; padding: 8px; border: 1px solid var(--line); display: grid; place-items: center; aspect-ratio: 1; }
.gallery img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; }

/* ── Forms ── */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: 11px 13px; border: 1px solid #C9C6BD; border-radius: 9px; background: #fff; color: var(--ink); }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(28,74,82,.15); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 12px 14px; border-radius: 9px; font-size: .95rem; }
.form-status.ok { background: #E6F3EA; color: #1E5E33; }
.form-status.err { background: #FBEAEA; color: #8A1F1F; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px; box-shadow: var(--shadow); }

/* ── About ── */
.story p { font-size: 1.04rem; }
.portraits { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.portraits figure { margin: 0; }
.portraits img { border-radius: 14px; width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.portraits figcaption { font-size: .88rem; color: var(--ink-soft); margin-top: 8px; line-height: 1.45; }

/* ── Legal pages ── */
.legal { max-width: 820px; }
.legal h1 { margin-bottom: .6em; }
.legal h2 { font-family: var(--font); font-size: 1.12rem; font-weight: 700; color: var(--teal); margin: 1.8em 0 .5em; }
.legal li { margin-bottom: .35em; }

/* ── Footer ── */
.site-footer { background: #2B3437; color: #C9D2D4; padding: 56px 0 28px; font-size: .95rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer h4 { font-family: var(--font); color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-logo { background: #fff; display: inline-block; border-radius: 10px; padding: 8px 12px; margin-bottom: 16px; }
.footer-logo img { height: 44px; width: auto; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; font-size: .85rem; color: #9AA6A9; }

/* ── Ticker (compatibility) ── */
.qcc-ticker { background: #1C4A52; overflow: hidden; position: relative; border-top: 3px solid #C8973A; border-bottom: 3px solid #C8973A; }
.ticker-label { position: absolute; left: 0; top: 0; bottom: 0; z-index: 10; display: flex; align-items: center; padding: 0 28px; background: #C8973A; font-size: .72rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: #fff; white-space: nowrap; gap: 10px; }
.ticker-fade { position: absolute; left: 0; top: 0; bottom: 0; width: 220px; background: linear-gradient(to right, #1C4A52 60%, transparent 100%); z-index: 9; pointer-events: none; }
.ticker-fade-right { position: absolute; right: 0; top: 0; bottom: 0; width: 80px; background: linear-gradient(to left, #1C4A52 30%, transparent 100%); z-index: 9; pointer-events: none; }
.ticker-track { display: flex; width: max-content; padding: 18px 0 18px 180px; }
.ticker-track.paused { animation-play-state: paused !important; }
@keyframes ticker-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(var(--ticker-offset, -25%)); } }
.ticker-item { display: inline-flex; align-items: center; padding: 0 36px; white-space: nowrap; font-size: .88rem; color: rgba(255,255,255,.82); letter-spacing: .04em; }
.ticker-sep { display: inline-flex; align-items: center; color: #C8973A; font-size: .6rem; flex-shrink: 0; }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none !important; } }

/* ── FAQ ── */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.search-wrap { position: relative; margin-bottom: 1.25rem; }
.search-wrap svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; stroke: #888780; pointer-events: none; }
.search-input { width: 100%; padding: 10px 12px 10px 36px; font: inherit; font-size: .95rem; border-radius: 9px; border: 1px solid #d3d1c7; background: #fff; color: #2c2c2a; }
.search-input:focus { outline: none; border-color: #1C4A52; box-shadow: 0 0 0 3px rgba(28,74,82,.15); }
.faq-categories { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 1.75rem; }
.cat-btn { font: inherit; font-size: .85rem; padding: 5px 14px; border-radius: 20px; border: 1px solid #b4b2a9; background: transparent; color: #5f5e5a; cursor: pointer; }
.cat-btn:hover { background: #f1efe8; color: #2c2c2a; }
.cat-btn.active { background: #1C4A52; border-color: #1C4A52; color: #e0f0f2; }
.faq-group { margin-bottom: 1.5rem; }
.faq-group-label { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #888780; margin-bottom: 6px; }
.faq-item { border: 1px solid #d3d1c7; border-radius: 12px; margin-bottom: 6px; overflow: hidden; background: #fff; }
.faq-item.open { border-color: #1C4A52; }
.faq-q { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 14px 18px; gap: 12px; background: none; border: 0; font: inherit; text-align: left; cursor: pointer; }
.faq-q-text { font-size: 1rem; font-weight: 600; color: #2c2c2a; line-height: 1.4; }
.faq-item.open .faq-q-text { color: #1C4A52; }
.faq-icon { width: 20px; height: 20px; flex-shrink: 0; position: relative; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; background: #888780; border-radius: 2px; transition: transform .25s, opacity .25s; }
.faq-icon::before { width: 10px; height: 1.5px; top: 9px; left: 5px; }
.faq-icon::after { width: 1.5px; height: 10px; top: 5px; left: 9px; }
.faq-item.open .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-a { display: none; }
.faq-item.open .faq-a { display: block; }
.faq-a-inner { padding: 12px 18px 16px; font-size: .95rem; color: #4d4c48; line-height: 1.7; border-top: 1px solid #f1efe8; }
.tag { display: inline-block; font-size: .7rem; padding: 2px 8px; border-radius: 10px; margin-left: 6px; background: #eaf3de; color: #3B6D11; vertical-align: middle; }
.no-results { text-align: center; padding: 2rem; color: #888780; font-size: .95rem; }

/* ── Responsive ── */
@media (max-width: 980px) {
  .hero { background: var(--white); }
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; padding: 40px 24px 64px; max-width: var(--wrap); }
  .hero .wrap > div:first-child, .hero .wrap > div:last-child { padding-left: 0; padding-right: 0; }
  .hero-card { box-shadow: var(--shadow); border: 1px solid var(--line); }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .steps, .terms-grid { grid-template-columns: 1fr; }
  .split, .feature { grid-template-columns: 1fr; gap: 28px; }
  .parts-links { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .menu-btn { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px; box-shadow: 0 12px 24px rgba(0,0,0,.08); }
  .nav.open { display: flex; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--gold); }
  .nav-drop { width: 100%; justify-content: space-between; text-align: left; }
  .nav-sub { position: static; box-shadow: none; border: 0; border-left: 2px solid var(--line); border-radius: 0; margin: 2px 0 6px 12px; padding: 0 0 0 6px; min-width: 0; }
  .site-header .wrap { min-height: 70px; }
  .brand img { height: 44px; }
}
@media (max-width: 620px) {
  .br-wide { display: none; }
  .hero .wrap { padding-left: 16px; padding-right: 16px; }
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .section { padding: 56px 0; }
  .grid { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .page-head-grid { grid-template-columns: 1fr; }
  .page-head-grid img { width: 120px; }
  .parts-link { flex-direction: column; align-items: flex-start; }
  .feature { padding: 22px; }
  .ticker-label { padding: 0 14px; font-size: .62rem; }
  .ticker-fade { width: 150px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Registered-trademark symbol as a true superscript, without disturbing line height */
sup.reg { font-size: .55em; vertical-align: super; line-height: 0; margin-left: .05em; }
/* Placeholder listings (details to come) */
.card-placeholder .card-media { display: flex; align-items: center; justify-content: center; background: repeating-linear-gradient(135deg, var(--paper) 0 12px, #fff 12px 24px); }
.placeholder-photo { font-size: .85rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); background: #fff; border: 1px dashed var(--line); border-radius: 999px; padding: 6px 14px; }
.placeholder-note { color: var(--ink-soft); font-style: italic; margin-top: 6px; }

/* Support page: Submit a Service Ticket */
.ticket-wrap { max-width: 900px; }
.ticket-rows { list-style: none; counter-reset: step; margin: 26px auto 36px; padding: 0; max-width: 760px; display: grid; gap: 12px; }
.ticket-rows li { counter-increment: step; display: grid; grid-template-columns: 26px 1fr 176px; gap: 0 18px; align-items: center; }
.ticket-rows li::before { content: counter(step) "."; color: var(--ink-soft); font-size: .9rem; text-align: right; }
.ticket-rows .btn { width: 100%; }
.btn.gold { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn.gold:hover { background: #b0832f; border-color: #b0832f; }
.brain-collage { display: grid; grid-template-columns: 2.9fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 12px; }
.brain-collage figure { margin: 0; border-radius: 12px; overflow: hidden; background: #fff; aspect-ratio: 1 / 1.04; }
.brain-collage figure.lead { grid-row: 1 / 3; aspect-ratio: auto; border: 1.5px solid var(--ink); display: grid; place-items: center; padding: 14px; }
.brain-collage img { width: 100%; height: 100%; object-fit: cover; }
.brain-collage .lead img { object-fit: contain; height: auto; max-height: 100%; }
@media (max-width: 620px) {
  .ticket-rows li { grid-template-columns: 22px 1fr; gap: 8px 10px; align-items: start; }
  .ticket-rows li::before { padding-top: .2em; }
  .ticket-rows .btn { grid-column: 2; justify-self: start; width: auto; }
  .brain-collage { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .brain-collage figure.lead { grid-column: 1 / -1; grid-row: auto; }
}

/* About page: story on the left, photos stacked (natural proportions, no cropping) on the right */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.about-photos { display: grid; gap: 28px; }
.about-photos figure { margin: 0; }
.about-photos img { width: 100%; height: auto; border-radius: 16px; display: block; }
.about-photos figcaption { font-size: .95rem; color: var(--ink-soft); margin-top: 10px; line-height: 1.45; }
.about-note { display: block; margin-top: 6px; font-size: .9rem; }
@media (max-width: 980px) { .about-grid { grid-template-columns: 1fr; gap: 36px; } .about-photos { max-width: 560px; } }
/* About page "how things have changed" collage: large photo fills its tile, no outline */
.evo-collage { grid-template-columns: 3fr 1fr 1fr; gap: 16px; }
.evo-collage figure { border-radius: 18px; }
.evo-collage figure.lead { border: 0; padding: 0; display: block; }
.evo-collage .lead img { width: 100%; height: 100%; object-fit: cover; max-height: none; }
@media (max-width: 620px) { .evo-collage { grid-template-columns: 1fr 1fr; gap: 12px; } }
/* QBOT compatibility list page */
.compat { max-width: 1000px; }
.compat-grid { columns: 2 320px; column-gap: 48px; margin: 28px 0; }
.compat-group { break-inside: avoid; margin: 0 0 26px; }
.compat-group h2 { font-family: var(--font); font-size: 1.05rem; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: .04em; margin: 0 0 .4em; padding-bottom: 6px; border-bottom: 2px solid var(--gold); }
.compat-group ul { list-style: none; padding: 0; margin: 0; }
.compat-group li { padding: 4px 0; border-bottom: 1px solid var(--line); }
.compat-note { font-size: .9rem; color: var(--ink-soft); margin: 0 0 .4em; font-style: italic; }
.compat-box { border: 1.5px solid var(--ink); border-radius: 12px; padding: 16px 20px; margin: 8px 0 20px; background: var(--paper); }
.compat-foot { font-size: .92rem; color: var(--ink-soft); }
