:root {
  --color-bg: #F5F2ED;
  --color-ink: #1C2541;
  --color-ink-soft: #4A5268;
  --color-accent: #B8892B;
  --color-line: #D8D2C4;
  --color-card: #FFFDF9;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-tag: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-body);
  line-height: 1.5;
}

header.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
  border-bottom: 2px solid var(--color-ink);
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  text-decoration: none;
  color: var(--color-ink);
  letter-spacing: 0.02em;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
}
.brand-logo img {
  height: 36px;
  width: auto;
  display: block;
}

nav.main-nav a {
  color: var(--color-ink-soft);
  text-decoration: none;
  margin-left: 1.5rem;
  font-size: 0.95rem;
}
nav.main-nav a:hover { color: var(--color-accent); }
nav.main-nav a:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--color-ink);
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  nav.main-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 1rem 0 0;
  }
  nav.main-nav.open { display: flex; }
  nav.main-nav a { margin: 0.5rem 0; }
}

@media (max-width: 480px) {
  .brand-logo img { height: 28px; }
}

main { max-width: 1100px; margin: 0 auto; padding: 2.5rem 2rem; }

/* Lets a page opt out of the container for edge-to-edge layouts.
   Needs <main class="{% block main_class %}{% endblock %}"> in base.html.
   Avoids 100vw tricks, which include the scrollbar and cause overflow. */
main.flush {
  max-width: none;
  padding: 0;
}

/* ===== Hero banner ===== */
.hero-banner {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background-image: url("/static/images/hero-boxers.a2831f18e0ec.jpg");
  background-size: cover;
  background-position: center;
  margin-bottom: 3rem;
  align-items: flex-end;
  min-height: 78svh;
  height: 90vh;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28,37,65,0.55), rgba(28,37,65,0.75));
}

.hero-banner-content {
  position: relative;
  z-index: 3;
  padding: 3rem;
  max-width: 640px;
  color: var(--color-bg);
  flex-direction: column;
  display: flex;
 transform: translateY(-150px);
}

.hero-banner-content .eyebrow {
  font-family: var(--font-tag);
  font-size: 0.85rem;
  color: var(--color-accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}


.hero-banner-content h1 {
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1.15;
  margin: 0.5rem 0 1rem;
  color: var(--color-bg);
}

.hero-banner-content p {
  color: #E8E4DA;
  max-width: 45ch;
  margin-bottom: 1.5rem;
}

.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.btn-outline-light {
  border: 1.5px solid var(--color-bg);
  color: var(--color-bg);
  background: transparent;
}
.btn-outline-light:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: transparent;
}
.hero-banner.hero-full {
  border-radius: 0;
  margin-bottom: 0;
  align-items: flex-end;
  min-height: 78svh;
}

.hero-banner.hero-full .hero-video {
  position: static;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;   /* set to your clip's real ratio */
  object-fit: contain;
}

.hero-banner.hero-full .hero-overlay { 
    background: linear-gradient(
    180deg,
    rgba(28, 37, 65, 0.15) 0%,
    rgba(28, 37, 65, 0.45) 45%,
    rgba(28, 37, 65, 0.92) 100%
  );
 }

.hero-banner.hero-full .hero-banner-content {
  padding: 3rem 2rem 3.5rem;
  background: var(--color-ink);
  max-width: none;
}
  .hero-video { display: block; }
  .hero-image { display: none; }

/* On phones the video is dropped and the poster still carries the banner —
   avoids paying for a video download on mobile data. */
/* Mobile Fix */
@media (max-width: 768px) {
  .hero-banner {
    height: auto;        /* let content decide height */
    min-height: 420px;   /* was probably 100vh. Now ~1 screen height */
    padding: 60px 20px;             /* space top/bottom instead of tall bg */
  }

  .hero-banner-content {
    transform: translateY(0); /* reset the -60px we did for desktop */
    margin-top: 0;
  }

  .hero-banner-bg img, 
  .hero-banner-bg video {
    object-fit: cover; /* crop a bit so it doesn't stretch tall */
    object-position: center; /* keep the boxers in middle */
  }
}
@media (max-width: 640px) {
  .hero-banner.hero-full { min-height: 68svh; }
  .hero-banner { min-height: 380px; }
  .hero-banner-content h1 { font-size: 2rem; }
  .hero-video { display: none; }
  .hero-image { display: block; }
}

.section { padding: 2.5rem 0; border-top: 1px solid var(--color-line); }
.section h2 { font-family: var(--font-display); font-size: 1.6rem; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.why-item {
  border-left: 3px solid var(--color-accent);
  padding-left: 1rem;
}
.why-item h4 { font-family: var(--font-display); margin: 0 0 0.35rem; font-size: 1rem; }
.why-item p { color: var(--color-ink-soft); font-size: 0.9rem; margin: 0; }

/* ===================================================================
   Shop listing — edge-to-edge grid
   Used by product_list.html with {% block main_class %}flush{% endblock %}
   =================================================================== */

.shop-head {
  padding: 2.5rem 2rem 1rem;
}
.shop-head h1 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin: 0 0 0.35rem;
}
.shop-head p {
  color: var(--color-ink-soft);
  font-size: 0.92rem;
  margin: 0;
  max-width: 55ch;
}

.category-tabs {
  display: flex;
  gap: 1.75rem;
  padding: 0 2rem 2rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.category-tabs::-webkit-scrollbar { display: none; }

.category-tabs a {
  color: var(--color-ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}
.category-tabs a:hover { color: var(--color-ink); }
.category-tabs a.active {
  color: var(--color-ink);
  border-bottom-color: var(--color-ink);
}
.category-tabs a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.shop-tile {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #EDE9E1;
}
.shop-tile:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: -4px;
}

.shop-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shop-tile .tile-img-alt {
  opacity: 0;
  transition: opacity 0.35s ease;
}
.shop-tile:hover .tile-img-alt { opacity: 1; }

/* Keeps the caption legible over pale product shots */
.shop-tile::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(transparent, rgba(245, 242, 237, 0.92));
  pointer-events: none;
}

.tile-meta {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
}

.tile-flag {
  display: block;
  font-family: var(--font-tag);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
  margin-bottom: 0.2rem;
}

.tile-name {
  display: block;
  font-size: 0.88rem;
  color: var(--color-ink);
}

.tile-price {
  display: block;
  font-family: var(--font-tag);
  font-size: 0.82rem;
  color: var(--color-ink-soft);
  margin-top: 0.15rem;
}

.shop-empty {
  padding: 4rem 2rem;
  text-align: center;
  color: var(--color-ink-soft);
}

@media (max-width: 1000px) {
  .shop-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 700px) {
  .shop-head { padding: 1.5rem 1.25rem 0.75rem; }
  .shop-head h1 { font-size: 1.4rem; }
  .category-tabs { padding: 0 1.25rem 1.5rem; gap: 1.25rem; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .tile-meta { left: 0.65rem; right: 0.65rem; bottom: 0.65rem; }
  .tile-name { font-size: 0.8rem; }
  /* No hover on touch — a stuck hover would hide the primary image */
  .shop-tile .tile-img-alt { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .shop-tile .tile-img-alt { transition: none; }
}

/* ===================================================================
   HOMEPAGE (flush layout)
   home.html uses {% block main_class %}flush{% endblock %}, so these
   sections carry their own gutters.
   =================================================================== */

/* Doubled class beats the plain .hero-banner / .cta-band rules on
   specificity rather than on source order, so these survive the file
   being reorganised later. */
.hero-banner.hero-full {
  border-radius: 0;
  margin-bottom: 0;
}

.home-section {
  padding: 3rem 0;
  border-top: 1px solid var(--color-line);
}

/* Heading left, quiet "View all" right. Replaces the <a><h2></a>
   pattern that rendered as an underlined visited link. */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 2rem;
  margin-bottom: 1.5rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0;
}

.section-head a {
  font-family: var(--font-tag);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid var(--color-line);
  padding-bottom: 2px;
}
.section-head a:hover {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}
.section-head a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* Three columns here, not four. With a small catalogue a four-wide row
   leaves a visibly empty half-row; capping at three reads as a choice. */
.shop-grid.shop-grid-home {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1400px;
  margin: 0 auto;
}

/* The scroller runs to the edge on purpose — it should look scrollable —
   but its first card lines up with the section heading. */
.home-section .masonry-grid {
  padding-left: 2rem;
  padding-right: 2rem;
}

.cta-band.cta-band-flush {
  border-radius: 0;
  margin: 0;
  padding: 3.5rem 2rem;
}

@media (max-width: 1000px) {
  .shop-grid.shop-grid-home { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .home-section { padding: 2rem 0; }
  .section-head {
    padding: 0 1.25rem;
    margin-bottom: 1rem;
  }
  .section-head h2 { font-size: 1.2rem; }
  .home-section .masonry-grid {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .cta-band.cta-band-flush { padding: 2.5rem 1.25rem; }
}

/* ===== Card grid — still used by any page rendering .tag-card ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.75rem;
}

.tag-card {
  background: var(--color-card);
  border: 0.5px solid var(--color-line);
  border-radius: 8px;
  padding: 0.75rem;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.tag-card:hover {
  border-color: var(--color-accent);
  transform: scale(1.03);
}
.tag-card:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
.tag-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}
.tag-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 0.35rem;
}
.tag-meta {
  font-family: var(--font-tag);
  font-size: 0.8rem;
  color: var(--color-ink-soft);
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--color-line);
  padding-top: 0.5rem;
  margin-top: 0.5rem;
}
.price {
  font-family: var(--font-tag);
  font-weight: 700;
  color: var(--color-accent);
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-family: var(--font-tag);
  font-size: 0.9rem;
  background: var(--color-ink);
  color: var(--color-bg);
  padding: 0.6rem 1.4rem;
  border-radius: 3px;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.btn:hover { background: var(--color-accent); }

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--color-ink);
  color: var(--color-ink);
}
.btn-outline:hover { background: transparent; border-color: var(--color-accent); color: var(--color-accent); }

.btn-whatsapp {
  background: #25D366;
  color: #0B2E13;
  font-weight: 600;
}
.btn-whatsapp:hover {
  background: #1EBE57;
}

.cta-band {
  background: var(--color-ink);
  color: var(--color-bg);
  border-radius: 6px;
  padding: 2.5rem;
  text-align: center;
  margin: 2.5rem 0;
}
.cta-band h2 { color: var(--color-bg); }
.cta-band .btn { background: var(--color-accent); color: var(--color-ink); }

footer.site-footer {
  border-top: 2px solid var(--color-ink);
  margin-top: 3rem;
  padding: 1.5rem 2rem;
  font-size: 0.85rem;
  color: var(--color-ink-soft);
  text-align: center;
}

/* ===== About / FAQ / Contact ===== */
.about-hero {
  padding: 2rem 0 1rem;
  border-bottom: 1px solid var(--color-line);
  margin-bottom: 2rem;
}
.about-hero .eyebrow {
  font-family: var(--font-tag);
  font-size: 0.85rem;
  color: var(--color-accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.about-hero h1 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  margin: 0.5rem 0 1rem;
}
.about-block { margin-bottom: 2.5rem; }
.about-block h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  border-left: 3px solid var(--color-accent);
  padding-left: 0.75rem;
}
.about-block p { color: var(--color-ink-soft); max-width: 65ch; }

.vision-mission {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1rem;
}
.vision-mission > div {
  background: var(--color-card);
  border: 1.5px dashed var(--color-ink-soft);
  border-radius: 4px;
  padding: 1.5rem;
}
.vision-mission h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-top: 0;
}
@media (max-width: 640px) {
  .vision-mission { grid-template-columns: 1fr; }
}

.faq-list { margin-top: 2rem; }
.faq-item {
  border-bottom: 1px solid var(--color-line);
  padding: 1.25rem 0;
}
.faq-item h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
}
.faq-item p { color: var(--color-ink-soft); margin: 0; max-width: 65ch; }

.contact-table { width: 100%; margin-top: 1rem; border-collapse: collapse; }
.contact-table td {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-line);
  font-size: 0.95rem;
}
.contact-table td:first-child { color: var(--color-ink-soft); width: 40%; }

.social-links {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-ink-soft);
}
.social-links a { color: var(--color-ink); margin: 0 0.4rem; }

.terms-toc-list {
  columns: 2;
  column-gap: 2rem;
  padding-left: 1.2rem;
  font-size: 0.9rem;
}
.terms-toc-list li { margin-bottom: 0.5rem; break-inside: avoid; }
.terms-toc-list a { color: var(--color-ink); text-decoration: none; }
.terms-toc-list a:hover { color: var(--color-accent); }

@media (max-width: 640px) {
  .terms-toc-list { columns: 1; }
}

/* ===== Toasts ===== */
#toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.toast {
  background: var(--color-ink);
  color: var(--color-bg);
  padding: 0.75rem 1.25rem;
  border-radius: 4px;
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast.error { background: #7A2E2E; }
.toast a {
  color: var(--color-accent);
  text-decoration: underline;
  margin-left: 0.25rem;
}
.toast a:hover { color: var(--color-bg); }

/* ===== Quantity selector ===== */
.qty-selector {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-line);
  border-radius: 4px;
  margin-right: 0.5rem;
}
.qty-selector button {
  background: none;
  border: none;
  width: 28px;
  height: 32px;
  cursor: pointer;
  font-size: 1rem;
}
.qty-selector input {
  width: 36px;
  border: none;
  text-align: center;
  font-family: var(--font-tag);
}

/* ===== Product gallery ===== */
.gallery-main {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  margin: 0 auto 0.75rem;
  cursor: zoom-in;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery-main.zoomed img { transform: scale(1.8); cursor: zoom-out; }

.gallery-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(28, 37, 65, 0.75);
  color: var(--color-bg);
  border: none;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.gallery-main.zoomed .gallery-close { display: flex; }
.gallery-close:hover { background: var(--color-ink); }

.gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  max-width: 420px;
  margin: 0 auto;
}
.gallery-thumbs img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
}
.gallery-thumbs img.active { border-color: var(--color-accent); }

/* ===================================================================
   PRODUCT DETAIL
   =================================================================== */
.product-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.product-media {
  position: relative;
}

/* The gallery centres itself at 420px when standing alone; inside the
   two-column layout it should fill its column instead. */
.product-media .gallery-main,
.product-media .gallery-thumbs {
  max-width: 100%;
}

/* --- Back-to-category pill --- */
.back-pill {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 253, 249, 0.94);
  backdrop-filter: blur(6px);
  border: 1px solid var(--color-line);
  border-radius: 999px;
  padding: 0.45rem 0.95rem 0.45rem 0.7rem;
  font-size: 0.82rem;
  color: var(--color-ink);
  text-decoration: none;
  box-shadow: 0 2px 10px -3px rgba(28, 37, 65, 0.18);
  transition: border-color 0.15s ease;
}
.back-pill:hover { border-color: var(--color-accent); }
.back-pill:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
.back-pill svg { flex-shrink: 0; }

/* --- Right column --- */
.product-eyebrow {
  display: block;
  font-family: var(--font-tag);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
  margin-bottom: 0.5rem;
}

.product-info h1 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

.product-price {
  font-family: var(--font-tag);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-accent);
  margin: 0 0 1.25rem;
}
.product-price span {
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--color-ink-soft);
}

.product-description {
  color: var(--color-ink-soft);
  max-width: 55ch;
  margin: 0 0 2rem;
}

.product-sizes-heading {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 0 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-line);
}

/* --- Size rows --- */
.size-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem;
}

.size-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--color-line);
}
.size-row.is-out { opacity: 0.55; }

.size-label {
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.size-out {
  font-family: var(--font-tag);
  font-size: 0.8rem;
  color: var(--color-ink-soft);
}

/* Was an inline style on the form — lives here so the mobile rules
   below can actually override it */
.add-to-cart-form {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}
.add-to-cart-form .qty-selector { margin-right: 0; }

/* --- Assurances --- */
.product-assurances {
  list-style: none;
  margin: 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--color-line);
}
.product-assurances li {
  position: relative;
  font-size: 0.85rem;
  color: var(--color-ink-soft);
  padding-left: 1.1rem;
  margin-bottom: 0.6rem;
}
.product-assurances li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-accent);
}
.product-assurances a { color: var(--color-accent); }

/* Media column follows the buyer down the page on desktop */
@media (min-width: 861px) {
  .product-media {
    position: sticky;
    top: 100px;   /* clears the sticky site header */
  }
}

@media (max-width: 860px) {
  .product-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .product-info h1 { font-size: 1.5rem; }
}

@media (max-width: 640px) {
  .back-pill {
    top: 0.6rem;
    left: 0.6rem;
    font-size: 0.78rem;
    padding: 0.4rem 0.8rem 0.4rem 0.6rem;
  }
  .size-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .add-to-cart-form {
    width: 100%;
    flex-wrap: wrap;
  }
  .add-to-cart-form .btn { flex: 1; }
}

/* ===== Shop the Look — horizontal scroller ===== */
.masonry-grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px 0;
  scrollbar-width: thin;
}

.masonry-item {
  flex: 0 0 300px;
  scroll-snap-align: start;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease;
}
.masonry-item:hover {
  transform: scale(1.03);
}
.masonry-item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.masonry-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: white;
  padding: 12px;
  font-weight: 600;
}

.masonry-grid::-webkit-scrollbar {
  height: 8px;
}
.masonry-grid::-webkit-scrollbar-thumb {
  background: #D4AF37;
  border-radius: 10px;
}

@media (max-width: 640px) {
  .masonry-item { flex-basis: 220px; }
  .masonry-item img { height: 280px; }
}

/* ===== Cart modal ===== */
.cart-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(28, 37, 65, 0.55);
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.cart-modal-overlay.show { display: flex; }

.cart-modal {
  background: var(--color-card);
  border-radius: 8px;
  padding: 2rem;
  max-width: 340px;
  width: 90%;
  text-align: center;
  position: relative;
}

.cart-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--color-ink-soft);
  line-height: 1;
}
.cart-modal-close:hover { color: var(--color-ink); }

.cart-modal-icon {
  font-size: 2rem;
  color: var(--color-accent);
  margin: 0 0 0.5rem;
}

.cart-modal h3 {
  font-family: var(--font-display);
  margin: 0 0 1.5rem;
}

.cart-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* ===== Forms — checkout, order lookup, wholesale enquiry ===== */
form p {
  margin-bottom: 1.1rem;
}
form label {
  display: block;
  font-family: var(--font-tag);
  font-size: 0.85rem;
  color: var(--color-ink-soft);
  margin-bottom: 0.35rem;
}
/* password is in this list on purpose — leaving it out is what made the
   password box render unstyled and shorter than the email box above it */
form input[type="text"],
form input[type="number"],
form input[type="email"],
form input[type="tel"],
form input[type="password"],
form select,
form textarea {
  width: 100%;
  max-width: 420px;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--color-line);
  border-radius: 4px;
  background: var(--color-card);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
}
form input:focus,
form select:focus,
form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}
form ul.errorlist {
  list-style: none;
  padding: 0;
  margin: 0.25rem 0;
  color: #B23A3A;
  font-size: 0.85rem;
}

.password-wrapper {
  position: relative;
  max-width: 420px;
}
.password-wrapper input {
  width: 100%;
  padding-right: 2.75rem;
}
.password-toggle {
  position: absolute;
  right: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-ink-soft);
  display: flex;
  padding: 0.25rem;
}
.password-toggle:hover { color: var(--color-accent); }
.password-toggle.showing { color: var(--color-accent); }

.otp-input {
  width: 100%;
  max-width: 420px;
  padding: 0.75rem;
  font-family: var(--font-tag);
  font-size: 1.4rem;
  letter-spacing: 0.5rem;
  text-align: center;
  border: 1px solid var(--color-line);
  border-radius: 4px;
  margin-bottom: 1.25rem;
  background: var(--color-card);
  color: var(--color-ink);
}
.otp-input:focus {
  outline: none;
  border-color: var(--color-accent);
}

/* ===================================================================
   AUTH — split panel (login, signup)
   =================================================================== */
.auth-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100svh - 86px);   /* 86px ≈ site header */
}

/* --- Left: brand panel --- */
.auth-brand {
  position: relative;
  background: var(--color-ink);
  color: var(--color-bg);
  padding: 3.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.auth-brand-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
}

.auth-brand-inner {
  position: relative;
  z-index: 1;
  max-width: 34ch;
}

.auth-brand h2 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  line-height: 1.2;
  color: var(--color-bg);
  margin: 0 0 0.75rem;
}

.auth-brand > .auth-brand-inner > p {
  color: #C7CCDB;
  font-size: 0.95rem;
  margin: 0 0 2.25rem;
}

.auth-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
}
.auth-benefits li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}
.auth-benefits svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--color-accent);
}
.auth-benefits strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-bg);
  margin-bottom: 0.1rem;
}
.auth-benefits span {
  font-size: 0.85rem;
  color: #C7CCDB;
  line-height: 1.45;
}

/* --- Right: form panel --- */
.auth-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 2rem;
}

.auth-form-wrap {
  width: 100%;
  max-width: 400px;
}

.auth-panel h1 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin: 0 0 0.4rem;
}

.auth-subtitle {
  color: var(--color-ink-soft);
  font-size: 0.9rem;
  margin: 0 0 2rem;
  line-height: 1.5;
}

/* --- Fields --- */
.auth-field {
  margin-bottom: 1.2rem;
}

.auth-field label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-ink);
  margin-bottom: 0.4rem;
}

/* Two classes deep on purpose: `form input[type="email"]` above scores
   higher than a single class would, and would otherwise win on padding
   and max-width. */
.auth-panel .auth-field input {
  width: 100%;
  max-width: none;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--color-line);
  border-radius: 4px;
  background: var(--color-card);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.auth-panel .auth-field input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(184, 137, 43, 0.14);
}

.auth-panel .password-wrapper {
  max-width: none;
}
.auth-panel .password-wrapper input {
  padding-right: 2.75rem;
}

.auth-field-help {
  display: block;
  font-size: 0.78rem;
  color: var(--color-ink-soft);
  margin-top: 0.35rem;
  line-height: 1.45;
}

.auth-field-error {
  display: block;
  font-size: 0.8rem;
  color: #B23A3A;
  margin-top: 0.3rem;
}
.auth-panel .auth-field input[aria-invalid="true"] {
  border-color: #B23A3A;
}

.auth-nonfield-errors {
  background: #F9E9E9;
  border-left: 3px solid #B23A3A;
  border-radius: 4px;
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.87rem;
  color: #7A2E2E;
}
.auth-nonfield-errors p { margin: 0; }

.auth-row {
  display: flex;
  justify-content: flex-end;
  margin: -0.4rem 0 1.5rem;
}
.auth-row a {
  font-size: 0.83rem;
  color: var(--color-ink-soft);
  text-decoration: none;
}
.auth-row a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

.auth-submit {
  width: 100%;
  padding: 0.8rem;
  font-size: 0.92rem;
}

.auth-switch {
  margin: 1.75rem 0 0;
  font-size: 0.88rem;
  color: var(--color-ink-soft);
  text-align: center;
}
.auth-switch a {
  color: var(--color-accent);
  font-weight: 500;
}

.auth-legal {
  margin: 1.25rem 0 0;
  font-size: 0.78rem;
  color: var(--color-ink-soft);
  text-align: center;
  line-height: 1.5;
}
.auth-legal a { color: var(--color-ink-soft); }

@media (max-width: 860px) {
  .auth-split {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .auth-brand { padding: 2rem 1.5rem; }
  .auth-brand h2 { font-size: 1.4rem; }
  .auth-brand > .auth-brand-inner > p { margin-bottom: 1.5rem; }
  .auth-benefits li { margin-bottom: 0.9rem; }
  .auth-panel { padding: 2.5rem 1.5rem 3.5rem; }
}

@media (max-width: 480px) {
  /* Below this the benefits list costs more scroll than it earns —
     the headline alone carries the brand */
  .auth-benefits { display: none; }
  .auth-brand > .auth-brand-inner > p { margin-bottom: 0; }
}

/* ===== Auth card — still used by the OTP / verify-email and password
   reset pages, so kept alongside the split panel above ===== */
.auth-card-wrap {
  display: flex;
  justify-content: center;
  padding: 3rem 0;
}

.auth-card {
  background: var(--color-card);
  border: 1px solid var(--color-line);
  border-radius: 12px;
  padding: 2.75rem;
  max-width: 440px;
  width: 100%;
  text-align: left;
  box-shadow: 0 12px 32px -12px rgba(28, 37, 65, 0.18);
}

.auth-mark {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--color-ink);
  color: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.auth-card h1 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}

.auth-card form p { margin-bottom: 1.25rem; }

.auth-card .order-note {
  text-align: center;
  margin-top: 1.5rem;
  margin-bottom: 0;
  background: transparent;
  border: none;
  padding: 0;
}

@media (max-width: 480px) {
  .auth-card { padding: 2rem 1.5rem; }
}

.logout-form {
  display: inline;
  margin: 0;
}
.logout-btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}
.logout-btn:hover { color: var(--color-accent); }

/* ===== Order status page ===== */
.order-status-badge {
  display: inline-block;
  font-family: var(--font-tag);
  font-size: 0.8rem;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  background: var(--color-line);
  color: var(--color-ink);
}
.order-status-badge.paid { background: #DCEFE0; color: #2E6B3E; }
.order-status-badge.pending { background: #F5E3C8; color: #8A5A1E; }
.order-status-badge.cancelled { background: #F3D6D6; color: #8A2E2E; }

.order-items {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}
.order-items li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--color-line);
  font-size: 0.95rem;
}

.order-note {
  background: var(--color-card);
  border: 1px solid var(--color-line);
  border-radius: 6px;
  padding: 1rem;
  font-size: 0.9rem;
  color: var(--color-ink-soft);
  margin: 1.5rem 0;
}
.order-note a { color: var(--color-accent); }

/* ===== My Orders page ===== */
.orders-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.order-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--color-card);
  border: 1px solid var(--color-line);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.order-row:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
}
.order-row:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.order-row-left {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.order-row-id {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
}

.order-row-date {
  font-family: var(--font-tag);
  font-size: 0.78rem;
  color: var(--color-ink-soft);
}

.order-row-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.order-row-total {
  font-family: var(--font-tag);
  font-weight: 700;
  color: var(--color-accent);
}

.orders-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  background: var(--color-card);
  border: 1.5px dashed var(--color-line);
  border-radius: 8px;
  margin: 2rem 0;
}
.orders-empty p {
  color: var(--color-ink-soft);
  margin-bottom: 1.25rem;
}

@media (max-width: 480px) {
  .order-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }
  .order-row-right {
    width: 100%;
    justify-content: space-between;
  }
}

/* ===== Dark site footer ===== */
.site-footer-dark {
  background: var(--color-ink);
  color: #C7CCDB;
  margin-top: 3rem;
  padding: 3rem 2rem 0;
}

.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin: 0 0 1rem;
}

.footer-brand-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-bg);
  margin: 0 0 0.75rem;
  letter-spacing: 0.02em;
}

.footer-about {
  font-size: 0.85rem;
  line-height: 1.6;
  max-width: 28ch;
  margin-bottom: 1.25rem;
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}
.footer-contact-list a {
  color: #C7CCDB;
  text-decoration: none;
}
.footer-contact-list a:hover { color: var(--color-accent); }

.footer-icon {
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.footer-col a {
  display: block;
  color: #C7CCDB;
  text-decoration: none;
  font-size: 0.88rem;
  margin-bottom: 0.65rem;
}
.footer-col a:hover { color: var(--color-accent); }

.footer-social {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-family: var(--font-tag);
  font-size: 0.8rem;
  color: #8892A8;
}

.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  color: var(--color-bg);
  font-family: var(--font-tag);
  font-size: 0.7rem;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.footer-social-icon:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.footer-bottom-dark {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.78rem;
  color: #8892A8;
  text-align: center;
}

.footer-col .logout-form {
  display: block;
  margin-bottom: 0.65rem;
}
.footer-col .logout-btn {
  font-size: 0.88rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-col-brand {
    grid-column: 1 / -1;
    margin-bottom: 0.5rem;
  }
}

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

/* ===== Responsive pass ===== */
@media (max-width: 640px) {
  main {
    padding: 1.5rem 1.25rem;
  }
  main.flush {
    padding: 0;
  }

  .hero-banner-content {
    padding: 1.75rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn,
  .hero-actions .btn-outline-light {
    text-align: center;
  }

  .cta-band {
    padding: 1.75rem 1.25rem;
  }

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

  /* Forms stay full-width on small screens instead of capping at 420px */
  form input[type="text"],
  form input[type="number"],
  form input[type="email"],
  form input[type="tel"],
  form input[type="password"],
  form select,
  form textarea {
    max-width: 100%;
  }

  /* Contact table becomes stacked rows instead of a two-column table */
  .contact-table,
  .contact-table tbody,
  .contact-table tr,
  .contact-table td {
    display: block;
    width: 100%;
  }
  .contact-table td:first-child {
    color: var(--color-ink-soft);
    font-size: 0.8rem;
    padding-bottom: 0;
  }
  .contact-table td:last-child {
    padding-top: 0.15rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--color-line);
  }
  .contact-table tr td:first-child {
    border-bottom: none;
  }

  .cart-modal {
    padding: 1.5rem;
    max-width: 300px;
  }

  #toast-container {
    left: 1rem;
    right: 1rem;
    top: 0.75rem;
  }
  .toast {
    width: 100%;
  }

  .order-items li,
  .faq-item,
  .about-block {
    font-size: 0.92rem;
  }
}

@media (max-width: 400px) {
  .hero-banner-content h1 {
    font-size: 1.6rem;
  }
  .brand {
    font-size: 1.2rem;
  }
}

@media (max-width: 560px) {
  /* The design label is the least useful of the three lines here and
     it's the one pushing the name onto two lines. */
  .tile-flag { display: none; }

  .shop-tile::after { height: 55%; }

  .tile-meta {
    left: 0.6rem;
    right: 0.6rem;
    bottom: 0.55rem;
  }
  .tile-name {
    font-size: 0.76rem;
    line-height: 1.3;
  }
  .tile-price { font-size: 0.74rem; }
}

/* ===================================================================
   PACKAGING MARQUEE — continuous scrolling band
   Append to main.css inside/after the HOMEPAGE section.
   =================================================================== */

.pack-marquee {
  position: relative;
  overflow: hidden;
  background: var(--color-ink);
  padding: 2.5rem 0;
  /* Fades the strip out at both edges so items don't hard-clip */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.pack-marquee-head {
  padding: 0 2rem 1.5rem;
}
.pack-marquee-head h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-bg);
  margin: 0 0 0.35rem;
}
.pack-marquee-head p {
  color: #C7CCDB;
  font-size: 0.9rem;
  margin: 0;
  max-width: 50ch;
}

/* The track holds the items twice over. Animating to -50% lands exactly
   on the start of the duplicate set, so the loop has no visible seam. */
.pack-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: pack-scroll 40s linear infinite;
}

.pack-marquee:hover .pack-track,
.pack-marquee:focus-within .pack-track {
  animation-play-state: paused;
}

@keyframes pack-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.pack-item {
  flex: 0 0 auto;
  width: 260px;
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  overflow: hidden;
  background: #16203A;
}

.pack-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 700px) {
  .pack-marquee { padding: 2rem 0; }
  .pack-marquee-head { padding: 0 1.25rem 1.25rem; }
  .pack-marquee-head h2 { font-size: 1.2rem; }
  .pack-item { width: 170px; }
  .pack-track { gap: 0.65rem; }
}

/* Someone who has asked their OS for less motion gets a static, manually
   scrollable strip instead of a moving one. */
@media (prefers-reduced-motion: reduce) {
  .pack-track {
    animation: none;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.5rem;
  }
  .pack-marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* ===================================================================
   STORY BAND — autoplaying video beside copy
   Append to main.css inside the HOMEPAGE section.
   =================================================================== */

.story-band {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: stretch;
  background: var(--color-ink);
}

.story-media {
  position: relative;
  overflow: hidden;
  background: #16203A;
  min-height: 420px;
}

.story-media video,
.story-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Poster sits under the video and shows until it starts playing, so the
   band never renders as an empty dark box. */
.story-media video {
  opacity: 0;
  transition: opacity 0.5s ease;
}
.story-media video.is-playing { opacity: 1; }

.story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3.5rem 3rem;
  color: var(--color-bg);
}

.story-copy .eyebrow {
  font-family: var(--font-tag);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.6rem;
}

.story-copy h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1.2;
  color: var(--color-bg);
  margin: 0 0 1rem;
}

.story-copy p {
  color: #C7CCDB;
  font-size: 0.95rem;
  max-width: 46ch;
  margin: 0 0 1.5rem;
}

.story-stats {
  display: flex;
  gap: 2.5rem;
  margin: 0 0 2rem;
  padding: 1.25rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  list-style: none;
}
.story-stats li { margin: 0; }
.story-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-bg);
  line-height: 1.1;
}
.story-stats span {
  font-family: var(--font-tag);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8892A8;
}

.story-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* .btn is ink-filled, which would vanish on this ink panel */
.story-actions .btn {
  background: var(--color-accent);
  color: var(--color-ink);
}
.story-actions .btn:hover { background: var(--color-bg); }

@media (max-width: 860px) {
  .story-band { grid-template-columns: 1fr; }
  .story-media {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
  .story-copy { padding: 2.5rem 1.5rem; }
  .story-copy h2 { font-size: 1.4rem; }
  .story-stats { gap: 1.75rem; }
  .story-stats strong { font-size: 1.25rem; }
}

/* No autoplay motion for anyone who asked their OS to reduce it —
   the poster carries the band instead. */
@media (prefers-reduced-motion: reduce) {
  .story-media video { display: none; }
}