@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/SchibstedGrotesk-latin.woff2') format('woff2');
}

/* Staun Tyre Deflators — site-wide styles.
   Single shared stylesheet for header, nav, footer, buttons, and color
   variables. Keep it that way — see README "Working on this site" section
   for why. Page-specific overrides belong in that page's own <style> block. */

:root {
  --rust: #ff6700;        /* primary brand color — Staun logo orange */
  --rust-dark: #cc5200;
  --brass: #c49a3e;       /* accent — nods to the brass deflator body */
  --brass-dark: #a37f2f;
  --near-black: #1a140f;
  --charcoal: #2c2620;
  --secondary-gray: #5a534c;
  --light-sand: #f6f1ea;
  --white: #ffffff;
  --text-dark: #241f1a;
  --border-color: #e4dccd;
  --shadow: 0 2px 8px rgba(26, 20, 15, 0.12);
  --shadow-hover: 0 4px 18px rgba(26, 20, 15, 0.18);
}

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

.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;
}

body {
  font-family: 'Schibsted Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-dark);
  background: var(--white);
}

/* Header & Navigation */
header {
  background: var(--near-black);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-mark {
  display: flex;
  align-items: center;
  text-decoration: none;
}

/* The PNG has transparent padding, so a taller image with negative
   vertical margins enlarges the visible logo without growing the header. */
.logo-img {
  height: 72px;
  margin-block: -17px;
  width: auto;
  display: block;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.75rem;
}

nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  font-size: 0.98rem;
}

nav a:hover {
  color: var(--brass);
}

/* Grouped nav dropdowns (Shop, Learn) */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: none;
  border: none;
  padding: 0;
  color: var(--white);
  font: inherit;
  font-weight: 500;
  font-size: 0.98rem;
  cursor: pointer;
  transition: color 0.3s;
}

.nav-dropdown-toggle:hover,
.nav-dropdown.open .nav-dropdown-toggle {
  color: var(--brass);
}

.nav-dropdown-toggle .caret {
  font-size: 0.65em;
  transition: transform 0.2s ease;
}

.nav-dropdown.open .nav-dropdown-toggle .caret {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  display: none;
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.9rem;
  min-width: 200px;
  background: var(--near-black);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  padding: 0.5rem 0;
  z-index: 60;
}

.nav-dropdown.open .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu li a {
  display: block;
  padding: 0.65rem 1.25rem;
  white-space: nowrap;
  font-size: 0.95rem;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--near-black) 0%, var(--charcoal) 55%, var(--rust-dark) 130%);
  color: var(--white);
  padding: 4rem 2rem;
  text-align: center;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero p {
  font-size: 1.4rem;
  margin-bottom: 2rem;
  color: #e7ded0;
}

/* Product-page photo hero: background-image set inline per page via
   style="background-image: url('images/header-x.png')" — kept inline
   (not var()'d through this stylesheet) because a relative url() passed
   through a CSS custom property resolves against the stylesheet that
   declares the consuming property, not the element with the inline
   declaration; an inline background-image resolves against the page
   itself, which is correct both on the deployed site and inside a
   sandboxed preview served from a different origin/subpath.
   aspect-ratio is locked to the source photos' real ratio (1500x400 /
   1117x298 are both ~3.75:1) so the box always matches the image exactly —
   cover then never has anything to crop, at any viewport width. This is
   why no min-height/media-query sizing is used here: a fixed pixel height
   is what caused the mobile text-cropping bug in the first place. */
.hero-banner {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  aspect-ratio: 1500 / 400;
}

.cta-button {
  display: inline-block;
  background: var(--rust);
  color: var(--white);
  padding: 1rem 2.5rem;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  background: var(--rust-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(193, 68, 14, 0.35);
}

.cta-button-ebay {
  background: #0064d2;
}

.cta-button-ebay:hover {
  background: #0050a8;
  box-shadow: 0 4px 12px rgba(0, 100, 210, 0.35);
}

.button-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  color: var(--near-black);
}

.section-header p {
  font-size: 1.15rem;
  color: var(--secondary-gray);
}

/* Product grid / cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: var(--shadow);
}

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

.product-info {
  padding: 1.5rem;
}

.product-badge {
  display: inline-block;
  background: var(--rust);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.product-badge.badge-brass {
  background: var(--brass-dark);
}

.product-info h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--near-black);
}

.product-info p {
  color: var(--secondary-gray);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.product-features {
  list-style: none;
  margin-bottom: 1rem;
}

.product-features li {
  padding: 0.25rem 0;
  color: var(--secondary-gray);
  font-size: 0.9rem;
}

.product-features li::before {
  content: "\2713 ";
  color: var(--rust);
  font-weight: bold;
}

.button-group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.btn {
  flex: 1;
  min-width: 120px;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--rust);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--rust-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--near-black);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--charcoal);
  transform: translateY(-2px);
}

/* Homepage featured tiles */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.aplus-banners img {
  display: block;
  width: 100%;
  height: auto;
}

.feature-tile {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  text-decoration: none;
}

.feature-tile:hover,
.feature-tile:focus-visible {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.feature-tile .placeholder-img {
  aspect-ratio: 1 / 1;
}

.feature-tile-label {
  display: block;
  background: var(--near-black);
  color: var(--white);
  text-align: center;
  padding: 0.65rem 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
}

@media (max-width: 480px) {
  .feature-tile-label {
    padding: 0.65rem 0.25rem;
    font-size: 0.75rem;
    white-space: nowrap;
  }
}

@media (max-width: 340px) {
  .feature-tile-label {
    font-size: 0.68rem;
  }
}

/* Placeholder image blocks — swap for real photography.
   Keeping these as a distinct, honest style (not a fake photo) until
   product/lifestyle photography is dropped into /images. */
.placeholder-img {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: repeating-linear-gradient(135deg, var(--light-sand), var(--light-sand) 14px, #efe6d8 14px, #efe6d8 28px);
  border: 1px dashed var(--brass-dark);
  color: var(--secondary-gray);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 1rem;
  line-height: 1.4;
}

.placeholder-img span {
  background: rgba(255, 255, 255, 0.82);
  padding: 0.4rem 0.7rem;
  border-radius: 4px;
}

.product-card .placeholder-img {
  width: 100%;
  height: 260px;
}

.main-image.placeholder-img {
  height: 380px;
  border-radius: 8px;
}

.main-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  border: 1px solid var(--border-color);
}

.feature-tile img:not(.placeholder-img) {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  background: var(--light-sand);
}

.nomenclature-figure {
  margin-top: 1rem;
}

.nomenclature-figure img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

/* Product detail page */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-details h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--near-black);
}

.spec-line {
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--rust-dark);
  margin-bottom: 1.25rem;
}

.product-description {
  margin-bottom: 2rem;
  line-height: 1.8;
  color: var(--secondary-gray);
}

.features-list {
  margin-bottom: 2rem;
}

.features-list h3 {
  margin-bottom: 1rem;
  color: var(--near-black);
}

.features-list ul {
  list-style: none;
}

.features-list li {
  padding: 0.5rem 0;
  color: var(--secondary-gray);
}

.features-list li::before {
  content: "\2022 ";
  color: var(--rust);
  font-weight: bold;
  font-size: 1.2rem;
}

/* Brand story */
.brand-story {
  background: var(--light-sand);
  padding: 4rem 2rem;
}

.brand-story-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.brand-story h2 {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
  color: var(--near-black);
}

.brand-story-content .brand-story-tagline {
  font-size: 2rem;
  font-weight: 700;
  color: var(--near-black);
  margin-bottom: 1.5rem;
}

.brand-story p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--secondary-gray);
  margin-bottom: 1rem;
  text-align: left;
}

.brand-story-content > p {
  text-align: center;
}

.brand-story-origin {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--near-black);
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Customer review */
.customer-review {
  background: var(--white);
  padding: 4rem 2rem;
}

.customer-review-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.customer-review h2 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
  color: var(--near-black);
}

.review-card {
  background: var(--light-sand);
  border-left: 4px solid var(--brass);
  border-radius: 6px;
  padding: 2rem;
  text-align: left;
}

.review-card blockquote p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--secondary-gray);
}

.review-card .review-lead {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--near-black);
}

.review-card summary {
  cursor: pointer;
  margin: 0.75rem 0;
  font-weight: 600;
  color: var(--rust-dark);
}

.review-card figcaption {
  margin-top: 1rem;
  font-weight: 600;
  color: var(--near-black);
}

/* Product page review */
.product-review {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  background: var(--light-sand);
  border-left: 4px solid var(--brass);
  border-radius: 6px;
}

.product-review blockquote {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--secondary-gray);
}

.product-review figcaption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--near-black);
}

.product-review a {
  color: var(--rust-dark);
}

/* UGC video gallery */
.ugc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.ugc-grid video {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  background: var(--near-black);
}

.ugc-grid figure {
  margin: 0;
}

.ugc-grid figcaption {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--near-black);
  text-align: center;
}

/* Video instructions page: video + which product(s) it applies to */
.video-instruction-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 2rem;
}

.video-instruction-card {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
  align-items: start;
}

.video-instruction-card video {
  width: 100%;
  max-height: 70vh;
  display: block;
  border-radius: 8px;
  background: var(--near-black);
}

.video-instruction-info h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--near-black);
}

.applies-to {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.applies-to-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--secondary-gray);
  width: 100%;
}

.applies-to-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  width: 84px;
}

.applies-to-item img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.applies-to-item:hover img {
  transform: translateY(-2px);
}

.applies-to-item span {
  font-size: 0.78rem;
  text-align: center;
  color: var(--near-black);
  font-weight: 500;
}

.pro-tip {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  color: var(--near-black);
}

.pro-tip strong {
  color: var(--rust);
}

@media (max-width: 768px) {
  .video-instruction-card {
    grid-template-columns: 1fr;
  }
}

.callout {
  border-left: 4px solid var(--rust);
  padding-left: 1.5rem;
  margin: 3rem 0;
}

.callout h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--near-black);
}

.callout p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--secondary-gray);
}

.cta-panel {
  background: var(--light-sand);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  margin-top: 3rem;
}

.cta-panel h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--near-black);
}

.cta-panel p {
  color: var(--secondary-gray);
  margin-bottom: 1.5rem;
}

/* FAQ accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem 0;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--near-black);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--rust);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item p {
  margin-top: 1rem;
  color: var(--secondary-gray);
  font-size: 1rem;
  line-height: 1.8;
}

/* Blog */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.empty-state {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 2rem;
  background: var(--light-sand);
  border-radius: 8px;
}

.empty-state h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--near-black);
}

.empty-state p {
  color: var(--secondary-gray);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

/* Contact form */
.contact-embed {
  background: var(--light-sand);
  padding: 3rem 1.5rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-embed .form-wrap {
  width: 100%;
  max-width: 560px;
}

.contact-embed .intro {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--secondary-gray);
  margin-bottom: 2rem;
  text-align: center;
}

.contact-embed form {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.contact-embed .name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-embed .field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-embed label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--near-black);
}

.contact-embed label .req {
  color: var(--rust);
}

.contact-embed input[type="text"],
.contact-embed input[type="email"],
.contact-embed input[type="url"],
.contact-embed input[type="tel"],
.contact-embed select,
.contact-embed textarea {
  background: var(--white);
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  font-size: 0.95rem;
  padding: 0.7rem 0.875rem;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.15s;
  width: 100%;
  font-family: inherit;
}

.contact-embed input:focus,
.contact-embed select:focus,
.contact-embed textarea:focus {
  border-color: var(--rust);
}

.contact-embed textarea {
  resize: vertical;
  min-height: 130px;
}

.contact-embed .actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.contact-embed button[type="submit"] {
  background: var(--rust);
  border: none;
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 2.1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s;
}

.contact-embed button[type="submit"]:hover {
  background: var(--rust-dark);
}

.contact-embed button[type="submit"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.contact-embed .status-msg {
  font-size: 0.9rem;
  display: none;
}

.contact-embed .status-msg.success {
  color: #3f7d2f;
}

.contact-embed .status-msg.error {
  color: #b3261e;
}

.contact-embed .disclaimer {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--secondary-gray);
}

.contact-embed input:disabled {
  background: var(--light-sand);
  color: var(--secondary-gray);
}

/* Free decal choice page */
.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 820px;
  margin: 0 auto;
}

.choice-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-decoration: none;
  color: var(--text-dark);
  transition: all 0.3s;
}

.choice-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.choice-card h2 {
  margin: 0;
}

.choice-card p {
  margin: 0;
  flex: 1;
  color: var(--secondary-gray);
}

@media (max-width: 640px) {
  .choice-grid {
    grid-template-columns: 1fr;
  }

  /* Phone: keep both choices visible in the first screen, decal first */
  .hero-compact {
    padding: 0.9rem 1rem;
  }

  .hero-compact h1 {
    font-size: 1.4rem;
    line-height: 1.2;
    margin-bottom: 0;
  }

  .hero-compact p {
    display: none;
  }

  .choice-container {
    padding: 1rem;
  }

  .choice-grid {
    gap: 0.75rem;
  }

  .choice-card {
    padding: 1rem;
    gap: 0.5rem;
  }

  .choice-card h2 {
    font-size: 1.25rem;
  }

  .choice-card p {
    font-size: 0.9rem;
    line-height: 1.35;
  }
}

/* Footer */
footer {
  background: var(--near-black);
  color: var(--white);
  padding: 2rem;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--brass);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.footer-social a {
  color: var(--white);
  display: flex;
  align-items: center;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: var(--brass);
}

.footer-note {
  color: #b7ada0;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.15rem;
  }

  .product-grid,
  .product-detail,
  .post-grid {
    grid-template-columns: 1fr;
  }

  .featured-grid {
    grid-template-columns: 1fr 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .brand-story-content .brand-story-tagline,
  .brand-story h2 {
    font-size: 1.4rem;
  }

  .header-content {
    flex-wrap: wrap;
    row-gap: 0.5rem;
  }

  .menu-toggle {
    display: flex;
  }

  nav {
    width: 100%;
    order: 3;
  }

  nav ul {
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  nav ul.nav-open {
    max-height: 760px;
    padding: 0.5rem 0 1rem;
  }

  nav ul li a {
    display: block;
    padding: 0.75rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .nav-dropdown-toggle {
    width: 100%;
    padding: 0.75rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    pointer-events: none;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    opacity: 0.65;
  }

  .nav-dropdown-toggle .caret {
    display: none;
  }

  .nav-dropdown-menu {
    display: block;
    position: static;
    background: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
    max-height: none;
    overflow: visible;
  }

  .nav-dropdown-menu li a {
    padding: 0.65rem 0 0.65rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.95rem;
  }

  .contact-embed .name-row {
    grid-template-columns: 1fr;
  }

  .founder-intro {
    text-align: center;
  }
}

/* Contact form honeypot (Formspree _gotcha): hidden from people, visible to bots */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Distributors page */
.dist-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; align-items: start; }
.dist-map { background: var(--light-sand); border: 1px solid var(--border-color); border-radius: 8px; padding: 1rem; }
.usa-map { width: 100%; height: auto; display: block; }
.usa-map .map-land path { fill: #fff; }
.usa-map .map-borders { fill: none; stroke: #cdbfa6; stroke-width: 1; }
.usa-map .pin-dot { fill: var(--rust); stroke: #fff; stroke-width: 2; }
.usa-map .pin-halo { fill: var(--rust); opacity: 0.2; transition: opacity 0.2s, r 0.2s; }
.usa-map .map-pin { cursor: pointer; }
.usa-map .map-pin.active .pin-halo, .usa-map .map-pin:focus .pin-halo { opacity: 0.45; r: 16; }
.dist-list-col h2 { font-size: 1.6rem; margin-bottom: 1rem; color: var(--near-black); }
.dist-sub { font-size: 1.2rem; margin: 2rem 0 0.75rem; color: var(--near-black); }
.dist-list { list-style: none; margin: 0; padding: 0; }
.dist-item { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.85rem 0.75rem; border-bottom: 1px solid var(--border-color); border-radius: 4px; transition: background 0.2s; }
.dist-item.active { background: var(--light-sand); }
.dist-name { display: block; font-weight: 600; color: var(--near-black); text-decoration: none; }
a.dist-name:hover { color: var(--rust-dark); }
.dist-loc { display: block; font-size: 0.9rem; color: var(--secondary-gray); }
.dist-link { font-size: 0.92rem; color: var(--rust-dark); text-decoration: none; white-space: nowrap; }
.dist-link:hover { text-decoration: underline; }
.dist-btn { padding: 0.55rem 1.1rem; font-size: 0.95rem; white-space: nowrap; }
.dist-cta, .dist-au { text-align: center; margin-top: 3rem; }
.dist-cta { background: var(--light-sand); border-radius: 8px; padding: 2.5rem 1.5rem; }
.dist-cta h2, .dist-au h2 { font-size: 1.8rem; margin-bottom: 0.75rem; color: var(--near-black); }
.dist-cta p { max-width: 600px; margin: 0 auto 1.5rem; color: var(--secondary-gray); }
.dist-au h2 { font-size: 1.4rem; margin-bottom: 1rem; }
@media (max-width: 800px) { .dist-layout { grid-template-columns: 1fr; } .dist-item { flex-wrap: wrap; } }

/* Site-wide announcement bar (sits above the sticky header on every page) */
.announce-bar {
  background: #f2c14e;
  color: var(--near-black);
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
  padding: 0.55rem 1rem;
}

.announce-bar a {
  color: inherit;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
}

.announce-bar .announce-cta {
  background: var(--near-black);
  color: var(--white);
  padding: 0.15rem 0.8rem;
  border-radius: 999px;
  font-size: 0.85em;
  white-space: nowrap;
}

.announce-bar a:hover .announce-cta,
.announce-bar a:focus-visible .announce-cta {
  background: var(--charcoal);
}

.announce-bar a:focus-visible {
  outline: 2px solid var(--near-black);
  outline-offset: 3px;
}

@media (max-width: 600px) {
  .announce-bar {
    font-size: clamp(0.58rem, 2.9vw, 0.8rem);
    padding: 0.45rem 0.4rem;
    white-space: nowrap;
  }

  .announce-bar a {
    gap: 0.4rem;
  }

  .announce-bar .announce-cta {
    padding: 0.1rem 0.55rem;
  }
}

/* Repeat of the announcement bar mid-page (home page, under the UGC videos) */
.announce-bar-inline {
  margin-block: 0.5rem 1.5rem;
}

/* Typography: heavy, tight grotesque headings */
h1, h2, h3, h4, .btn, button {
  font-family: inherit;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
h1 { letter-spacing: -0.035em; }
h2 { letter-spacing: -0.03em; }

/* Blog article */
.hero-image-only {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  aspect-ratio: 3000 / 800;
  padding: 0;
}

.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
}

.article h1 {
  font-size: 2.4rem;
  margin-bottom: 1.25rem;
  color: var(--near-black);
}

.article h2 {
  font-size: 1.6rem;
  margin: 2.5rem 0 0.9rem;
  color: var(--near-black);
}

.article p,
.article li {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--secondary-gray);
}

.article p {
  margin-bottom: 1.1rem;
}

.article ul,
.article ol {
  margin: 0 0 1.25rem 1.5rem;
}

.article li {
  margin-bottom: 0.6rem;
}

.article a {
  color: var(--rust);
}

.article-lede {
  font-size: 1.2rem !important;
  color: var(--near-black) !important;
}

.article-video {
  max-width: 420px;
  margin: 2rem auto;
}

.article-video video {
  width: 100%;
  display: block;
  border-radius: 8px;
  background: var(--near-black);
}

.article-video figcaption {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  text-align: center;
  color: var(--secondary-gray);
}

.table-scroll {
  overflow-x: auto;
  margin: 1.5rem 0;
}

.article table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.97rem;
}

.article th,
.article td {
  text-align: left;
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid var(--border-color);
  vertical-align: top;
}

.article th {
  background: var(--light-sand);
  color: var(--near-black);
}

.article-faq {
  margin-top: 3rem;
}

.article-faq .faq-list {
  max-width: none;
}

@media (max-width: 768px) {
  .article h1 {
    font-size: 1.9rem;
  }
}

.post-card {
  display: block;
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.post-card img {
  width: 100%;
  aspect-ratio: 3000 / 800;
  object-fit: cover;
  display: block;
}

.post-card-body {
  padding: 1.25rem;
}

.post-card-body h2 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
  color: var(--near-black);
}

.post-card-body p {
  color: var(--secondary-gray);
  margin-bottom: 0.9rem;
}

.post-card-more {
  color: var(--rust);
  font-weight: 600;
}

.article-byline { color: var(--secondary-gray); font-size: 0.95rem; margin: -0.5rem 0 1.5rem; }

.article a.cta-button { color: var(--white); }

/* ==========================================================================
   Airing Down 101 page (airing-down-101.html) and its quiz (js/quiz.js).
   Everything is scoped under .ad so it cannot leak into other pages.
   The 5280 OFFROAD logo (.lk) is a text stand-in until their SVG arrives.
   ========================================================================== */
.ad {
  --ad-ink: #b33d00;
  --ad-ok: #2b7a4b;
  --ad-ok-bg: #e4f2e9;
  --ad-bad: #b3321f;
  --ad-bad-bg: #fbe8e4;
}
.ad button { font-family: inherit; line-height: 1.3; font-weight: 700; cursor: pointer; color: inherit; }
.ad h2, .ad h3 { line-height: 1.15; text-wrap: balance; }
.ad-narrow { max-width: 860px; margin: 0 auto; }
.ad a { color: var(--ad-ink); }

.ad .adbtn { border: 0; border-radius: 10px; padding: 0.8rem 1.25rem; font-size: 1rem; font-weight: 700; background: var(--rust); color: var(--near-black); text-align: center; text-decoration: none; display: inline-block; letter-spacing: 0; }
.ad .adbtn:hover { filter: brightness(1.06); }
.ad .adbtn.ghost { background: transparent; color: var(--text-dark); border: 1.5px solid var(--border-color); }
.ad .adbtn.ghost:hover { border-color: var(--secondary-gray); }
.ad .adbtn[disabled] { opacity: .4; cursor: not-allowed; filter: none; }
.ad :focus-visible { outline: 3px solid var(--rust); outline-offset: 2px; }

.ad .eyebrow { font-size: 0.75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ad-ink); }
.ad .chip { font-size: 0.8rem; font-weight: 600; padding: 0.2rem 0.65rem; border-radius: 999px; background: var(--light-sand); color: var(--secondary-gray); }
.ad .facts { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 0.75rem 0; }

/* 5280 OFFROAD logo stand-in */
.ad .lk { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; line-height: 1; }
.ad .lk:hover { opacity: .85; }
.ad .lk-n { font-weight: 800; font-size: 28px; letter-spacing: -.01em; padding: 6px 10px; border: 2.5px solid currentColor; border-radius: 6px; font-variant-numeric: tabular-nums; }
.ad .lk-t { display: grid; gap: 4px; }
.ad .lk-t b { font-size: 16px; letter-spacing: .2em; font-weight: 800; }
.ad .lk-t i { font-style: normal; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.ad .lk-lg .lk-n { font-size: 40px; padding: 8px 14px; }
.ad .lk-lg .lk-t b { font-size: 22px; }
.ad .lk-sm .lk-n { font-size: 15px; padding: 3px 7px; border-width: 2px; }
.ad .lk-sm .lk-t b { font-size: 11px; letter-spacing: .16em; }
.ad .lk-sm .lk-t i { display: none; }

/* Quiz card */
.ad-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem; align-items: center; background: var(--white); border: 1px solid var(--border-color); border-radius: 14px; padding: 1.5rem; box-shadow: var(--shadow); margin-bottom: 2.5rem; }
.ad-card h2 { font-size: 1.6rem; margin-top: 0.35rem; }
.ad-card-text { color: var(--secondary-gray); font-size: 0.95rem; }
.ad-card-side { display: grid; gap: 0.7rem; justify-items: stretch; min-width: 220px; }
.ad .best { font-size: 0.8rem; color: var(--secondary-gray); min-height: 1.3em; text-align: center; }
.ad .by { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--secondary-gray); font-size: 0.8rem; justify-content: center; }
.ad .by .lk { color: var(--text-dark); }

/* Guide (5280 OFFROAD text) */
.ad-h2 { font-size: 1.7rem; margin-bottom: 1rem; }
.ad-sub { color: var(--secondary-gray); margin-bottom: 1.25rem; max-width: 64ch; }
.ad .banner { border: 2px solid var(--rust); border-radius: 12px; padding: 1rem 1.15rem; font-weight: 700; margin-bottom: 0.9rem; background: var(--white); }
.ad .gs { background: var(--white); border: 1px solid var(--border-color); border-radius: 10px; margin-bottom: 0.5rem; }
.ad .gs summary { list-style: none; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0.75rem; align-items: center; padding: 0.9rem 1rem; cursor: pointer; font-weight: 700; }
.ad .gs summary::-webkit-details-marker { display: none; }
.ad .gn { color: var(--ad-ink); font-variant-numeric: tabular-nums; }
.ad .chev { width: 16px; height: 16px; color: var(--secondary-gray); transition: transform .15s; }
.ad .gs[open] .chev, .ad .rv[open] .chev { transform: rotate(180deg); }
.ad .gb { padding: 0 1rem 1rem; display: grid; gap: 0.6rem; }
.ad .gl { list-style: none; display: grid; gap: 0.6rem; }
.ad .gl li { position: relative; padding-left: 1.1rem; }
.ad .gl li::before { content: "\2022"; position: absolute; left: 0.2rem; color: var(--ad-ink); }
.ad .gl.sq li { padding-left: 1.25rem; }
.ad .gl.sq li::before { content: "\25A0"; left: 0; font-size: .7em; top: .3em; }
.ad .gh { font-size: 0.75rem; font-weight: 700; letter-spacing: .1em; color: var(--secondary-gray); margin-top: 0.4rem; }
.ad .safety { margin-top: 1.5rem; border-top: 1px solid var(--border-color); padding-top: 1rem; max-width: 80ch; }
.ad .safety h3 { font-size: 0.9rem; letter-spacing: .08em; margin-bottom: 0.4rem; }
.ad .safety p { font-size: 0.9rem; color: var(--secondary-gray); }
.ad .srcnote { margin-top: 0.9rem; font-size: 0.8rem; color: var(--secondary-gray); }

/* Partner band */
.ad-partner { background: var(--light-sand); border-block: 1px solid var(--border-color); }
.ad-partner-in { max-width: 1200px; margin: 0 auto; padding: 2.25rem 2rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem; align-items: center; }
.ad-partner .lk { color: var(--brass-dark); margin-bottom: 1rem; }
.ad-partner h2 { font-size: 1.7rem; margin: 0.35rem 0 0.5rem; }
.ad-partner p { color: var(--secondary-gray); max-width: 62ch; }
.ad .quote { margin: 0.75rem 0 0; padding-left: 1rem; border-left: 3px solid var(--brass); color: var(--text-dark); max-width: 54ch; }
.ad .quote cite { display: block; font-style: normal; font-size: 0.8rem; color: var(--secondary-gray); margin-top: 0.4rem; }
.ad .tag { margin-top: 0.75rem; color: var(--text-dark); font-style: italic; }
.ad .adactions { display: flex; gap: 0.6rem; flex-wrap: wrap; }

/* Quiz dialog */
dialog.ad { border: 0; padding: 0; background: var(--white); color: var(--text-dark); width: min(640px, calc(100% - 32px)); max-height: min(720px, calc(100dvh - 32px)); border-radius: 16px; margin: auto; box-shadow: 0 24px 70px rgba(0,0,0,.5); overflow: hidden; }
dialog.ad[open] { display: block; }
dialog.ad::backdrop { background: rgba(16, 11, 7, .66); }
html:has(dialog.ad[open]) { overflow: hidden; }
.ad .dlg { position: relative; display: flex; flex-direction: column; width: 100%; max-height: inherit; }
.ad .dlg-head { padding: 16px 20px 0; flex: 0 0 auto; }
.ad .dlg-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ad .dlg-brand { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 0.75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--secondary-gray); }
.ad .x { border: 0; background: var(--light-sand); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.ad .x svg { width: 16px; height: 16px; }
.ad .prog { margin-top: 14px; }
.ad .prog[hidden], .ad .confirm[hidden] { display: none; }
.ad .prog-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 0.8rem; color: var(--secondary-gray); margin-bottom: 8px; }
.ad .prog-row b { color: var(--text-dark); font-variant-numeric: tabular-nums; }
.ad .track { height: 8px; background: var(--light-sand); border-radius: 999px; overflow: hidden; }
.ad .fill { height: 100%; width: 0; background: var(--rust); border-radius: 999px; transition: width .3s ease; }
.ad .dlg-body { overflow-y: auto; -webkit-overflow-scrolling: touch; flex: 1 1 auto; min-height: 0; padding: 20px; }
.ad .dlg-body.tall { min-height: min(360px, 45vh); }
.ad .dlg-foot { flex: 0 0 auto; display: flex; gap: 10px; justify-content: space-between; padding: 14px 20px calc(14px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--border-color); background: var(--white); }
.ad .dlg-foot .adbtn { flex: 0 1 auto; min-width: 110px; }
.ad .dlg-foot .adbtn.primary { flex: 1 1 auto; max-width: 260px; margin-left: auto; }
.ad .q-eyebrow { font-size: 0.75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ad-ink); }
.ad .q-text { font-size: clamp(1.25rem, 3.4vw, 1.5rem); font-weight: 700; margin: 6px 0 16px; outline: none; }
.ad .q-hint { font-size: 0.85rem; color: var(--secondary-gray); margin: -8px 0 14px; }
.ad .opts { display: grid; gap: 10px; }
.ad .opt { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; padding: 13px 14px; border: 1.5px solid var(--border-color); border-radius: 12px; cursor: pointer; background: var(--white); font-weight: 500; }
.ad .opt:hover { border-color: var(--secondary-gray); }
.ad .opt input { position: absolute; opacity: 0; pointer-events: none; }
.ad .opt .mark { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--border-color); display: grid; place-items: center; font-size: 0.8rem; font-weight: 700; color: var(--secondary-gray); }
.ad .opt .txt { padding-top: 2px; }
.ad .opt:has(input:checked) { border-color: var(--rust); background: var(--light-sand); }
.ad .opt:has(input:checked) .mark { background: var(--rust); border-color: var(--rust); color: var(--near-black); }
.ad .opt:has(input:focus-visible) { outline: 3px solid var(--rust); outline-offset: 2px; }
.ad .ta { width: 100%; font: inherit; font-weight: 500; color: var(--text-dark); background: var(--white); border: 1.5px solid var(--border-color); border-radius: 12px; padding: 12px 14px; resize: vertical; min-height: 130px; }
.ad .ta:focus { border-color: var(--rust); outline: none; box-shadow: 0 0 0 3px rgba(255, 103, 0, .3); }

.ad .adintro h2 { font-size: 1.6rem; margin-bottom: 10px; }
.ad .adintro p { color: var(--secondary-gray); max-width: 52ch; }
.ad .adintro ul { list-style: none; margin: 18px 0 0; display: grid; gap: 10px; }
.ad .adintro li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; align-items: start; }
.ad .adintro li svg { width: 22px; height: 22px; color: var(--ad-ink); margin-top: 2px; }
.ad .adintro .fine { font-size: 0.8rem; margin-top: 18px; }

.ad .rtop { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--border-color); font-size: 0.75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--secondary-gray); }
.ad .rtop .lk { color: var(--text-dark); }
.ad .score { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; }
.ad .score-num { font-size: 3.5rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; outline: none; }
.ad .score-num small { font-size: 1.4rem; color: var(--secondary-gray); font-weight: 600; }
.ad .score h2 { font-size: 1.5rem; }
.ad .score p { color: var(--secondary-gray); font-size: 0.95rem; margin-top: 4px; }
.ad .pips { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; margin: 18px 0; }
.ad .pip { height: 10px; border-radius: 3px; background: var(--border-color); }
.ad .pip.ok { background: var(--ad-ok); }
.ad .pip.miss { background: var(--ad-bad); }
.ad .cta, .ad .pcta { border-radius: 12px; padding: 14px 16px; display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 12px; background: var(--light-sand); }
.ad .pcta { border: 1.5px solid var(--rust); margin-bottom: 18px; }
.ad .cta p, .ad .pcta p { font-size: 0.9rem; flex: 1 1 220px; }
.ad .cta .adbtn, .ad .pcta .adbtn { padding: 0.6rem 1rem; font-size: 0.95rem; }
.ad .filter { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.ad .filter h3 { font-size: 1rem; }
.ad .seg { display: flex; background: var(--light-sand); border-radius: 9px; padding: 3px; }
.ad .seg button { border: 0; background: transparent; padding: 6px 12px; border-radius: 6px; font-size: 0.8rem; font-weight: 600; color: var(--secondary-gray); }
.ad .seg button[aria-pressed="true"] { background: var(--white); color: var(--text-dark); box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.ad .rv { border: 1px solid var(--border-color); border-radius: 10px; margin-bottom: 8px; background: var(--white); }
.ad .rv[hidden] { display: none; }
.ad .rv summary { list-style: none; display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 12px 14px; cursor: pointer; font-weight: 600; font-size: 0.95rem; }
.ad .rv summary::-webkit-details-marker { display: none; }
.ad .rv .st { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--light-sand); color: var(--secondary-gray); font-weight: 700; }
.ad .rv .st svg { width: 14px; height: 14px; }
.ad .rv.good .st { background: var(--ad-ok-bg); color: var(--ad-ok); }
.ad .rv.miss .st { background: var(--ad-bad-bg); color: var(--ad-bad); }
.ad .rv .detail { margin: 0; padding: 0 14px 14px 50px; display: grid; gap: 10px; font-size: 0.92rem; }
.ad .rv .detail dt { font-size: 0.72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--secondary-gray); }
.ad .rv .detail dd { margin: 0; white-space: pre-wrap; font-weight: 500; }
.ad .mk-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ad .mk-row > span { font-size: 0.8rem; color: var(--secondary-gray); }
.ad .mk { border: 1.5px solid var(--border-color); background: var(--white); border-radius: 8px; padding: 7px 14px; font-weight: 600; font-size: 0.9rem; }
.ad .mk[aria-pressed="true"] { background: var(--rust); border-color: var(--rust); color: var(--near-black); }
.ad .keyfoot { font-size: 0.8rem; color: var(--secondary-gray); margin-top: 14px; }

.ad .confirm { position: absolute; inset: 0; background: rgba(16, 11, 7, .55); display: flex; align-items: flex-end; justify-content: center; z-index: 5; }
.ad .confirm .sheet { background: var(--white); width: 100%; padding: 22px 20px calc(20px + env(safe-area-inset-bottom, 0px)); border-radius: 16px 16px 0 0; display: grid; gap: 12px; border-top: 1px solid var(--border-color); }
.ad .confirm h3 { font-size: 1.2rem; }
.ad .confirm p { color: var(--secondary-gray); font-size: 0.95rem; }
.ad .confirm .row { display: flex; gap: 10px; flex-wrap: wrap; }
.ad .confirm .row .adbtn { flex: 1 1 140px; }

@media (max-width: 760px) {
  .ad-card, .ad-partner-in { grid-template-columns: minmax(0, 1fr); }
  .ad-card-side { min-width: 0; }
  .ad-partner-in { padding: 1.75rem 1rem; }
}
@media (max-width: 640px) {
  dialog.ad { width: 100%; max-width: 100%; margin: auto 0 0 0; border-radius: 18px 18px 0 0; max-height: calc(100dvh - 20px - env(safe-area-inset-top, 0px)); }
  .ad .dlg-body { padding: 16px; }
  .ad .dlg-head { padding: 14px 16px 0; }
  .ad .dlg-foot { padding-left: 16px; padding-right: 16px; }
  .ad .score { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .ad .rv .detail { padding-left: 14px; }
}
@media (prefers-reduced-motion: reduce) { .ad .fill, .ad .chev { transition: none; } }

/* Black Friday homepage popup */
.bf-popup { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 0, 0, .8); }
.bf-popup.open { display: flex; }
.bf-popup-card { position: relative; width: 100%; max-width: 480px; max-height: 100%; overflow-y: auto; background: #000; color: var(--white); border-radius: 12px; text-align: center; box-shadow: var(--shadow-hover); }
.bf-popup-body { padding: 40px 24px 24px; }
.bf-popup-body p { margin: 0 0 16px; font-size: 1.1rem; font-weight: 700; }
.bf-popup-kicker { letter-spacing: .12em; text-transform: uppercase; font-size: .85rem !important; }
.bf-popup-title { margin: 0 0 12px; color: var(--white); font-size: 2.2rem; font-weight: 800; line-height: 1.1; }
.bf-popup-dates { font-size: 1.3rem !important; }
.bf-popup-body .btn { display: block; }
.bf-popup-close { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .15); color: var(--white); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.bf-popup-dismiss { margin-top: 12px; background: none; border: 0; color: var(--white); font-weight: 700; text-decoration: underline; cursor: pointer; font: inherit; font-weight: 700; font-size: .9rem; }
