/* ============================================================
   APEX ARMS — Shared Stylesheet
   Dark cinematic tactical theme. One accent: Coyote Gold.
   ============================================================ */

/* ── @font-face ────────────────────────────────────────────── */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/archivo-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/archivo-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/archivo-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

/* Archivo Expanded 800 — display headlines only */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 800;
  font-stretch: 125%;
  font-display: swap;
  src: url('../fonts/archivo-expanded-800.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

/* ── Custom Properties ─────────────────────────────────────── */

:root {
  /* Palette */
  --base:           #0F0E0C;
  --surface:        #1A1816;
  --surface-hi:     #221F1B;
  --hairline:       rgba(255, 255, 255, 0.08);
  --hairline-hi:    rgba(255, 255, 255, 0.14);
  --text:           #F2EEE6;
  --muted:          #A39B8E;
  --accent:         #C2A36B;
  --accent-press:   #A8854C;
  --accent-glow:    rgba(194, 163, 107, 0.15);
  --image-card-surface:
    radial-gradient(circle at 28% 18%, rgba(255, 244, 219, 0.42), transparent 34%),
    linear-gradient(145deg, #d5c2a4 0%, #b79f7d 52%, #8f7554 100%);
  --image-edge-fade-inline: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.65) 3%, #000 7%, #000 93%, rgba(0, 0, 0, 0.65) 97%, transparent 100%);
  --image-edge-fade-block: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.65) 3%, #000 7%, #000 93%, rgba(0, 0, 0, 0.65) 97%, transparent 100%);

  /* Typography */
  --font-body:      'Archivo', system-ui, -apple-system, sans-serif;
  --font-mono:      'JetBrains Mono', 'Courier New', monospace;

  /* Radius — near-sharp */
  --radius:         2px;

  /* Shadows — warm tinted, never pure black */
  --shadow-sm:      0 2px 8px rgba(15, 12, 8, 0.6);
  --shadow-md:      0 4px 20px rgba(15, 12, 8, 0.7);
  --shadow-lg:      0 12px 48px rgba(15, 12, 8, 0.8);
  --shadow-accent:  0 4px 24px rgba(194, 163, 107, 0.2);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Layout */
  --nav-height:     68px;
  --max-w:          1240px;
  --section-px:     clamp(1.25rem, 5vw, 4rem);
}

/* ── Reset ─────────────────────────────────────────────────── */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--base);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
}

input, select, textarea {
  font: inherit;
  color: inherit;
}

/* ── Skip Link ─────────────────────────────────────────────── */

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: 9999;
  background: var(--accent);
  color: var(--base);
  font-weight: 600;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.skip-link:focus {
  top: var(--space-3);
}

/* ── Focus Visible ─────────────────────────────────────────── */

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* ── Typography ─────────────────────────────────────────────── */

.display {
  font-family: var(--font-body);
  font-weight: 800;
  font-stretch: 125%;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.0;
  text-wrap: balance;
}

.display-xl {
  font-size: clamp(1.25rem, 4.5vw, 6.5rem);
}

@media (min-width: 560px) {
  .display-xl {
    font-size: clamp(2rem, 6.5vw, 6.5rem);
  }
}

@media (min-width: 768px) {
  .display-xl {
    font-size: clamp(3rem, 8vw, 6.5rem);
  }
}

.display-lg {
  font-size: clamp(2rem, 5vw, 4rem);
}

.display-md {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 600;
}

h4 {
  font-size: 1.125rem;
  font-weight: 600;
}

p {
  max-width: 68ch;
  text-wrap: pretty;
}

.mono {
  font-family: var(--font-mono);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.muted {
  color: var(--muted);
}

.accent-text {
  color: var(--accent);
}

/* ── Layout Utilities ──────────────────────────────────────── */

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--section-px);
}

.section {
  padding-block: var(--space-20);
}

.section-sm {
  padding-block: var(--space-12);
}

/* ── Buttons ────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  min-height: 48px;
  transition: background 180ms cubic-bezier(0.25, 0, 0, 1),
              color 180ms cubic-bezier(0.25, 0, 0, 1),
              border-color 180ms cubic-bezier(0.25, 0, 0, 1),
              transform 120ms cubic-bezier(0.25, 0, 0, 1),
              box-shadow 180ms cubic-bezier(0.25, 0, 0, 1);
  white-space: nowrap;
  cursor: pointer;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--accent);
  color: var(--base);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-press);
  border-color: var(--accent-press);
  box-shadow: var(--shadow-accent);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--hairline-hi);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-ghost:hover {
  background: var(--accent-glow);
}

.btn-wa {
  background: var(--accent);
  color: #0F0E0C;
  border-color: var(--accent);
}

.btn-wa:hover {
  background: var(--accent-press);
  border-color: var(--accent-press);
}

/* ── Chips / Tags ───────────────────────────────────────────── */

.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  background: var(--hairline);
  border: 1px solid var(--hairline-hi);
  border-radius: var(--radius);
  color: var(--muted);
}

.chip-accent {
  background: var(--accent-glow);
  border-color: rgba(194, 163, 107, 0.3);
  color: var(--accent);
}

/* ── Navigation ─────────────────────────────────────────────── */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(15, 14, 12, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--hairline);
  transition: background 200ms ease, border-color 200ms ease;
}

.site-header.scrolled {
  background: rgba(15, 14, 12, 0.98);
  border-bottom-color: var(--hairline-hi);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--section-px);
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-height: 44px;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: none;
  align-items: center;
  gap: var(--space-1);
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius);
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: color 150ms ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: calc(100% - 2rem);
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: transform 200ms cubic-bezier(0.25, 0, 0, 1);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-links a.active {
  color: var(--accent);
}

.nav-cta {
  display: none;
}

.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: var(--radius);
  background: transparent;
  border: 1px solid var(--hairline);
  transition: border-color 150ms ease;
}

.nav-hamburger:hover {
  border-color: var(--hairline-hi);
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 250ms cubic-bezier(0.25, 0, 0, 1),
              opacity 200ms ease;
  transform-origin: center;
}

.nav-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--base);
  display: flex;
  flex-direction: column;
  padding: calc(var(--nav-height) + var(--space-8)) var(--section-px) var(--space-8);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 300ms cubic-bezier(0.25, 0, 0, 1),
              visibility 0s linear 300ms;
  overflow-y: auto;
}

.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  transition: transform 300ms cubic-bezier(0.25, 0, 0, 1),
              visibility 0s linear 0s;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-10);
}

.mobile-menu-links a {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--hairline);
  transition: color 150ms ease, transform 200ms cubic-bezier(0.25, 0, 0, 1);
  display: block;
}

.mobile-menu-links a:hover,
.mobile-menu-links a.active {
  color: var(--accent);
  transform: translateX(var(--space-3));
}

.mobile-menu-contact {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.mobile-menu-contact .btn {
  width: 100%;
  justify-content: center;
}

/* Desktop nav breakpoint */
@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }

  .nav-cta {
    display: flex;
  }

  .nav-hamburger {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }
}

/* ── Hero Section ───────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--base);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(15, 14, 12, 0.95) 0%,
    rgba(15, 14, 12, 0.7) 50%,
    rgba(15, 14, 12, 0.2) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--section-px);
  padding-block: var(--space-24);
  padding-top: calc(var(--nav-height) + var(--space-12));
  width: 100%;
}

.hero-image {
  position: absolute;
  right: -5%;
  top: 0;
  bottom: 0;
  width: 60%;
  z-index: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-kicker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.hero-kicker::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.hero-headline {
  max-width: 14ch;
  width: 100%;
  overflow-wrap: break-word;
  margin-bottom: var(--space-6);
}

.hero-headline em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: clamp(0.9375rem, 1.5vw, 1.125rem);
  color: var(--muted);
  max-width: 44ch;
  margin-bottom: var(--space-10);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}

/* Hero entrance animation */
.hero-kicker,
.hero-headline,
.hero-sub,
.hero-actions {
  opacity: 0;
  transform: translateY(24px);
  animation: blur-lift 0.7s cubic-bezier(0.25, 0, 0, 1) forwards;
}

.hero-kicker   { animation-delay: 0.1s; }
.hero-headline { animation-delay: 0.22s; animation-duration: 0.8s; }
.hero-sub      { animation-delay: 0.38s; }
.hero-actions  { animation-delay: 0.52s; }

.hero-image {
  opacity: 0;
  animation: image-wipe 1s cubic-bezier(0.25, 0, 0, 1) 0.15s forwards;
}

@keyframes blur-lift {
  from {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes image-wipe {
  from {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0% 0 0);
  }
}

/* Mobile hero adjustments */
@media (max-width: 767px) {
  .hero {
    min-height: 100svh;
  }

  .hero-image {
    width: 80%;
    right: -20%;
    opacity: 0.3;
    filter: none;
  }

  .hero-image img {
    object-position: right center;
  }

  .hero-bg-overlay {
    background: linear-gradient(
      105deg,
      rgba(15, 14, 12, 0.97) 0%,
      rgba(15, 14, 12, 0.85) 60%,
      rgba(15, 14, 12, 0.5) 100%
    );
  }
}

/* ── Credo Strip ─────────────────────────────────────────────── */

.credo-strip {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: var(--space-5) 0;
  background: var(--surface);
  overflow: hidden;
}

.credo-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--section-px);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6) var(--space-10);
  align-items: center;
  justify-content: center;
}

.credo-item {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.credo-item .credo-sep {
  color: var(--hairline-hi);
  margin-inline: var(--space-3);
}

@media (min-width: 768px) {
  .credo-inner {
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .credo-item .credo-sep {
    display: none;
  }
}

/* ── Bento / Category Grid ──────────────────────────────────── */

.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 600px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
  }

  .bento-grid .bento-featured {
    grid-column: span 2;
    grid-row: span 1;
  }
}

.bento-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
  text-decoration: none;
  color: inherit;
}

.bento-card:hover {
  border-color: var(--hairline-hi);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.bento-card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--image-card-surface);
}

.bento-featured .bento-card-img {
  aspect-ratio: 16/9;
}

.home-holster-range .bento-card-img,
.home-holster-range .bento-featured .bento-card-img {
  aspect-ratio: 1/1;
}

@media (min-width: 900px) {
  .home-holster-range .bento-grid .bento-featured {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* Product cards use contain so the full product remains visible; individual
   sections can set their own display surface behind the image. */
.bento-card-img img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  transform: translate(-50%, -50%);
  -webkit-mask-image: none;
  mask-image: none;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  transition: transform 400ms cubic-bezier(0.25, 0, 0, 1);
}

.bento-card:hover .bento-card-img img {
  transform: translate(-50%, -50%) scale(1.04);
}

.bento-card-body {
  padding: var(--space-5) var(--space-6);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.bento-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-2);
}

.bento-card-desc {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: var(--space-4);
  flex: 1;
}

.bento-card-price {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.03em;
}

/* ── Split / Craftsmanship Section ──────────────────────────── */

.split-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 768px) {
  .split-section {
    grid-template-columns: 1fr 1fr;
  }

  .split-section.reverse .split-media {
    order: 2;
  }

  .split-section.reverse .split-content {
    order: 1;
  }
}

.split-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.split-media img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
}

/* Product split blocks (e.g. knife sheath) are landscape product photos on
   black: a wider frame plus contain shows the whole item, uncropped. */
.split-media--product {
  aspect-ratio: 16/10;
  background: var(--image-card-surface);
}

.split-media--product img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: auto;
  object-fit: initial;
  transform: translate(-50%, -50%);
  -webkit-mask-image: none;
  mask-image: none;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.split-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.split-content h2 {
  font-weight: 700;
}

.split-content p {
  color: var(--muted);
  font-size: 1rem;
}

.process-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-2);
}

.process-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.process-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 0.45em;
}

.process-item p {
  font-size: 0.9375rem;
  color: var(--muted);
  max-width: 100%;
  margin: 0;
}

/* ── Colourway Switcher ─────────────────────────────────────── */

.switcher-section {
  background: var(--surface);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding-block: var(--space-20);
}

.switcher-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--section-px);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 768px) {
  .switcher-inner {
    grid-template-columns: 1fr 1fr;
  }
}

.switcher-image-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  max-width: 380px;
  margin-inline: auto;
  background:
    radial-gradient(120% 80% at 50% 22%, rgba(194, 163, 107, 0.10), transparent 60%),
    #000;
  border: 1px solid var(--hairline);
  overflow: hidden;
}

.switcher-image-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 350ms cubic-bezier(0.25, 0, 0, 1),
              transform 350ms cubic-bezier(0.25, 0, 0, 1);
  opacity: 0;
}

.switcher-image-frame img.active {
  opacity: 1;
}

.switcher-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.switcher-title {
  margin-bottom: var(--space-2);
}

.switcher-desc {
  color: var(--muted);
  font-size: 0.9375rem;
}

.switcher-colour-label {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  min-height: 1.5em;
  transition: opacity 200ms ease;
}

/* Radio group — colour swatches */
.colour-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

.colour-radio-group label {
  position: relative;
  display: block;
  cursor: pointer;
}

.colour-radio-group input[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.colour-swatch {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--hairline);
  transition: border-color 200ms ease, transform 150ms ease,
              box-shadow 200ms ease;
  position: relative;
}

.colour-swatch::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: border-color 200ms ease;
}

.colour-radio-group input[type="radio"]:checked + .colour-swatch {
  border-color: var(--accent);
  transform: scale(1.08);
}

.colour-radio-group input[type="radio"]:checked + .colour-swatch::after {
  border-color: var(--accent);
}

.colour-radio-group input[type="radio"]:focus-visible + .colour-swatch {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Swatch colours — mapped from product finishes */
.swatch-black       { background: #1C1B19; }
.swatch-brown       { background: #7A5C3E; }
.swatch-fde         { background: #9B8B6A; }
.swatch-olive       { background: #4A5233; }
.swatch-grey        { background: #5C5C60; }
.swatch-tan         { background: #BDB4A9; }

/* ── CTA Band ────────────────────────────────────────────────── */

.cta-band {
  background: linear-gradient(
    135deg,
    var(--surface) 0%,
    var(--surface-hi) 100%
  );
  border-top: 1px solid var(--hairline);
  padding-block: var(--space-20);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.cta-band-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin-inline: auto;
  padding-inline: var(--section-px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}

.cta-band h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 700;
}

.cta-band p {
  color: var(--muted);
  font-size: 1rem;
  text-align: center;
  max-width: 46ch;
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}

/* ── Product Cards ───────────────────────────────────────────── */

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 560px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.product-card:hover {
  border-color: rgba(194, 163, 107, 0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.product-card-img {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--image-card-surface);
}

/* Square frame + contain holds the mixed product shapes (tall holsters,
   wide appendix/triple pouch, square accessories) without cropping any. */
.product-card-img img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  transform: translate(-50%, -50%);
  -webkit-mask-image: none;
  mask-image: none;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  transition: transform 400ms cubic-bezier(0.25, 0, 0, 1);
}

.product-card:hover .product-card-img img {
  transform: translate(-50%, -50%) scale(1.04);
}

.knife-sheath-grid {
  display: grid;
  grid-template-columns: minmax(0, 900px);
}

.knife-sheath-card .product-card-img {
  aspect-ratio: auto;
  background: none;
}

.knife-sheath-card .product-card-img img,
.knife-sheath-card:hover .product-card-img img {
  position: static;
  width: 100%;
  height: auto;
  max-width: none;
  max-height: none;
  transform: none;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

/* ── Product image gallery (cards with more than one photo) ─── */
/* Native scroll-snap gives swipe on touch and still works without JS. */
.gallery-track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

/* Each slide fills the frame, so the centred-image and edge-fade logic that
   measures an image against its parent keeps working per photo. */
.gallery-slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.gallery-btn,
.gallery-dots {
  display: none;
}

.js .gallery-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--hairline-hi);
  border-radius: var(--radius);
  background: rgba(15, 14, 12, 0.72);
  color: var(--text);
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 200ms ease, background-color 200ms ease, color 200ms ease;
}

.gallery-prev {
  left: var(--space-2);
}

.gallery-next {
  right: var(--space-2);
}

.product-card:hover .gallery-btn,
.product-gallery:focus-within .gallery-btn {
  opacity: 1;
}

.js .gallery-btn:hover {
  background: var(--accent);
  color: var(--base);
}

.js .gallery-btn:active {
  transform: translateY(-50%) scale(0.96);
}

/* Touch devices swipe instead; the dots still show position and are tappable. */
@media (hover: none) {
  .js .gallery-btn {
    display: none;
  }
}

.js .gallery-dots {
  position: absolute;
  left: 50%;
  bottom: var(--space-3);
  z-index: 2;
  display: flex;
  gap: 2px;
  padding: 0 var(--space-1);
  border-radius: 999px;
  background: rgba(15, 14, 12, 0.6);
  transform: translateX(-50%);
}

.gallery-dot {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
}

.gallery-dot::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(242, 238, 230, 0.5);
  transition: background-color 200ms ease, transform 200ms ease;
}

.gallery-dot[aria-current="true"]::before {
  background: var(--accent);
  transform: scale(1.3);
}

.product-card-body {
  padding: var(--space-5) var(--space-6);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: var(--space-3);
}

.product-card-title {
  font-size: 1.0625rem;
  font-weight: 600;
}

.product-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.product-card-price {
  font-family: var(--font-mono);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--accent);
  margin-top: auto;
}

.product-card-footer {
  padding: var(--space-4) var(--space-6);
  border-top: 1px solid var(--hairline);
}

.product-card-footer .btn {
  width: 100%;
  justify-content: center;
}

/* ── Alternating Feature Row ─────────────────────────────────── */

.feature-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
  padding-block: var(--space-12);
  border-bottom: 1px solid var(--hairline);
}

.feature-row:last-child {
  border-bottom: none;
}

@media (min-width: 768px) {
  .feature-row {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }

  .feature-row.alt .feature-media {
    order: 2;
  }

  .feature-row.alt .feature-content {
    order: 1;
  }
}

.feature-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--image-card-surface);
  aspect-ratio: 3/4;
}

.owb-switcher .feature-media {
  background: #000;
}

/* Direct child only, so the OWB row's nested colourway switcher keeps its own
   contain rules instead of being overridden here. */
.feature-media > img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  transform: translate(-50%, -50%);
  -webkit-mask-image: none;
  mask-image: none;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.owb-switcher .feature-media > img {
  -webkit-mask-image: none;
  mask-image: none;
}

/* Only soften photograph edges that sit visibly inside a contain-style frame.
   JS assigns the axis after comparing each loaded image with its card. */
img.edge-fade-inline {
  -webkit-mask-image: var(--image-edge-fade-inline);
  mask-image: var(--image-edge-fade-inline);
}

img.edge-fade-block {
  -webkit-mask-image: var(--image-edge-fade-block);
  mask-image: var(--image-edge-fade-block);
}


.feature-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.feature-content h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 600;
}

.feature-content p {
  color: var(--muted);
  font-size: 0.9375rem;
}

.feature-specs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

/* ── Gear Group ──────────────────────────────────────────────── */

.gear-group {
  margin-bottom: var(--space-16);
}

.gear-group-header {
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--hairline);
}

.gear-group-header h2 {
  font-size: 1.375rem;
  font-weight: 600;
}

/* ── Contact Page ────────────────────────────────────────────── */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.contact-card.primary {
  border-color: rgba(194, 163, 107, 0.3);
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-hi) 100%);
}

.contact-icon {
  font-size: 2rem;
  line-height: 1;
}

.contact-card h3 {
  font-size: 1.25rem;
}

.contact-card p {
  color: var(--muted);
  font-size: 0.9375rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--accent);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 150ms ease, gap 150ms ease;
}

.contact-link:hover {
  color: var(--text);
  gap: var(--space-3);
}

/* ── Form Styles ─────────────────────────────────────────────── */

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text);
}

.form-input,
.form-select,
.form-textarea {
  background: var(--surface);
  border: 1px solid var(--hairline-hi);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.9375rem;
  padding: 0.75rem 1rem;
  transition: border-color 200ms ease, box-shadow 200ms ease;
  width: 100%;
  min-height: 48px;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--muted);
  opacity: 0.7;
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23A39B8E' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-error {
  font-size: 0.8125rem;
  color: #E87070;
  display: none;
}

.form-group.has-error .form-error {
  display: block;
}

.form-group.has-error .form-input,
.form-group.has-error .form-select,
.form-group.has-error .form-textarea {
  border-color: #E87070;
}

/* Radio group for forms */
.radio-group {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.radio-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  cursor: pointer;
  min-height: 44px;
}

.radio-item input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
}

.radio-item span {
  font-size: 0.9375rem;
  color: var(--muted);
  transition: color 150ms ease;
}

.radio-item:has(input:checked) span {
  color: var(--text);
}

/* Colour pick in configure form */
.colour-pick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

@media (min-width: 480px) {
  .colour-pick-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.colour-pick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  cursor: pointer;
}

.colour-pick-item input[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}

.colour-pick-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--hairline);
  transition: border-color 200ms ease, transform 150ms ease, box-shadow 200ms ease;
  position: relative;
}

.colour-pick-circle::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: border-color 200ms ease;
}

.colour-pick-item input[type="radio"]:checked + .colour-pick-circle {
  border-color: var(--accent);
  transform: scale(1.1);
  box-shadow: 0 0 12px var(--accent-glow);
}

.colour-pick-item input[type="radio"]:checked + .colour-pick-circle::after {
  border-color: var(--accent);
}

.colour-pick-item input[type="radio"]:focus-visible + .colour-pick-circle {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.colour-pick-name {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  line-height: 1.2;
}

.form-submit-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
  flex-direction: column;
}

@media (min-width: 480px) {
  .form-submit-row {
    flex-direction: row;
  }
}

.form-submit-row .btn {
  flex: 1;
  justify-content: center;
  min-width: 200px;
}

.form-success {
  background: var(--accent-glow);
  border: 1px solid rgba(194, 163, 107, 0.3);
  border-radius: var(--radius);
  padding: var(--space-6) var(--space-8);
  text-align: center;
  display: none;
}

.form-success.show {
  display: block;
}

/* ── Page Hero (inner pages) ─────────────────────────────────── */

.page-hero {
  position: relative;
  padding-top: calc(var(--nav-height) + var(--space-16));
  padding-bottom: var(--space-12);
  padding-inline: var(--section-px);
  max-width: var(--max-w);
  margin-inline: auto;
  overflow: hidden;
}

/* Ghosted brand reticle, bleeding off the right of every inner-page header */
.page-hero::after {
  content: '';
  position: absolute;
  right: clamp(-6rem, -6vw, -2rem);
  top: 50%;
  transform: translateY(-40%);
  width: min(44vw, 380px);
  aspect-ratio: 1;
  background: url('../../Images/logo_darkmode.png') no-repeat center / contain;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

/* ── Field band (full-bleed lifestyle photo) ───────────────── */
.field-band {
  position: relative;
  min-height: 60vh;
  min-height: 68svh;
  display: flex;
  align-items: center;
  background-image:
    linear-gradient(90deg, rgba(15, 14, 12, 0.94) 0%, rgba(15, 14, 12, 0.7) 42%, rgba(15, 14, 12, 0.3) 100%),
    url('../../Images/hero.jpg');
  background-size: cover;
  background-position: center 35%;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
}

@media (min-width: 768px) {
  .field-band {
    background-attachment: fixed;
  }
}

.field-band-inner {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-block: var(--space-20);
  padding-inline: var(--section-px);
}

.field-band-content {
  max-width: 34rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-5);
}

/* ── Brand watermark (ghosted logo over open space) ────────── */
.brand-watermark {
  position: absolute;
  pointer-events: none;
  user-select: none;
  opacity: 0.05;
  width: min(60vw, 460px);
  height: auto;
  z-index: 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--muted);
  transition: color 150ms ease;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb-sep {
  color: var(--hairline-hi);
}

/* ── Section Labels ──────────────────────────────────────────── */

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--accent);
}

/* ── Footer ─────────────────────────────────────────────────── */

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--hairline);
  padding-top: var(--space-16);
  padding-bottom: var(--space-10);
}

.footer-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--section-px);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid var(--hairline);
}

@media (min-width: 600px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .footer-top {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer-brand img {
  height: 32px;
  width: auto;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--muted);
  max-width: 30ch;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--space-4);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-nav a {
  font-size: 0.875rem;
  color: var(--muted);
  transition: color 150ms ease;
  min-height: 28px;
  display: flex;
  align-items: center;
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-contact-list a {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.875rem;
  color: var(--muted);
  transition: color 150ms ease;
  min-height: 28px;
}

.footer-contact-list a:hover {
  color: var(--accent);
}

.footer-social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--hairline);
  border: 1px solid var(--hairline-hi);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 1rem;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
  text-decoration: none;
}

.footer-social a:hover {
  background: var(--accent-glow);
  border-color: rgba(194, 163, 107, 0.3);
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-8);
}

.footer-bottom p {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  max-width: none;
}

/* ── Scroll Reveal Animations ───────────────────────────────── */

/* Base state — JS gates these */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.25, 0, 0, 1),
              transform 0.6s cubic-bezier(0.25, 0, 0, 1);
}

.js .reveal-blur {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(16px);
  transition: opacity 0.7s cubic-bezier(0.25, 0, 0, 1),
              transform 0.7s cubic-bezier(0.25, 0, 0, 1),
              filter 0.7s cubic-bezier(0.25, 0, 0, 1);
}

.js .reveal-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.6s cubic-bezier(0.25, 0, 0, 1),
              transform 0.6s cubic-bezier(0.25, 0, 0, 1);
}

.js .reveal-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.6s cubic-bezier(0.25, 0, 0, 1),
              transform 0.6s cubic-bezier(0.25, 0, 0, 1);
}

.js .stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s cubic-bezier(0.25, 0, 0, 1),
              transform 0.5s cubic-bezier(0.25, 0, 0, 1);
}

/* Visible state */
.js .reveal.in-view,
.js .reveal-blur.in-view,
.js .reveal-left.in-view,
.js .reveal-right.in-view {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Catch-all so grids with more than 6 children still reveal; the numbered
   rules below are more specific and set the cascade timing for the first six. */
.js .stagger.in-view > * { opacity: 1; transform: none; transition-delay: 0.35s; }
.js .stagger.in-view > *:nth-child(1)  { animation-delay: 0.05s; opacity: 1; transform: none; transition-delay: 0.05s; }
.js .stagger.in-view > *:nth-child(2)  { animation-delay: 0.1s;  opacity: 1; transform: none; transition-delay: 0.1s;  }
.js .stagger.in-view > *:nth-child(3)  { animation-delay: 0.15s; opacity: 1; transform: none; transition-delay: 0.15s; }
.js .stagger.in-view > *:nth-child(4)  { animation-delay: 0.2s;  opacity: 1; transform: none; transition-delay: 0.2s;  }
.js .stagger.in-view > *:nth-child(5)  { animation-delay: 0.25s; opacity: 1; transform: none; transition-delay: 0.25s; }
.js .stagger.in-view > *:nth-child(6)  { animation-delay: 0.3s;  opacity: 1; transform: none; transition-delay: 0.3s;  }

/* ── Reduced Motion ─────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .field-band {
    background-attachment: scroll;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .hero-kicker,
  .hero-headline,
  .hero-sub,
  .hero-actions,
  .hero-image {
    opacity: 1;
    transform: none;
    filter: none;
    animation: none;
    clip-path: none;
  }

  .js .reveal,
  .js .reveal-blur,
  .js .reveal-left,
  .js .reveal-right,
  .js .stagger > * {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

/* ── Custom Builds Page ──────────────────────────────────────── */

.custom-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: end;
}

#quick-enquiry {
  scroll-margin-top: calc(var(--nav-height) + var(--space-4));
}

@media (min-width: 768px) {
  .custom-intro {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: var(--space-16);
  }
}

.custom-intro h2 {
  max-width: 12ch;
}

.custom-intro-copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  max-width: 62ch;
}

.custom-intro-copy p {
  color: var(--muted);
}

.custom-product-grid {
  gap: var(--space-5);
}

.custom-product-card {
  background: var(--panel);
}

.custom-product-card-img {
  aspect-ratio: 4 / 3;
}

.custom-product-card .product-card-body p {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.65;
}

.custom-product-card .product-card-title {
  line-height: 1.25;
}

@media (min-width: 1100px) {
  .custom-product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ── Utility ─────────────────────────────────────────────────── */

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

.hairline-rule {
  border: none;
  border-top: 1px solid var(--hairline);
  margin: 0;
}

.price-tag {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--accent);
}

.price-from {
  font-size: 0.75rem;
  color: var(--muted);
  margin-right: var(--space-1);
  font-family: var(--font-mono);
  vertical-align: middle;
}

.text-center { text-align: center; }
.mt-auto { margin-top: auto; }
.w-full { width: 100%; }

/* ============================================================
   PHONE-FIRST DENSITY AND ORDER SYSTEM
   ============================================================ */

:root {
  --product-grid-gap: 12px;
  --product-card-padding: 12px;
  --section-compact: 40px;
  --order-layer: 1000;
}

img.is-missing,
video.is-missing {
  display: none !important;
}

.nav-order {
  display: inline-flex;
  min-width: 68px;
  min-height: 44px;
  padding: 0.55rem 0.75rem;
  justify-content: center;
  font-size: 0.8125rem;
}

.nav-inner {
  gap: var(--space-2);
}

.nav-logo {
  margin-right: auto;
}

@media (min-width: 900px) {
  .nav-logo { margin-right: 0; }
  .nav-order { min-width: 100px; padding-inline: 1.25rem; }
}

.product-grid,
.custom-product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--product-grid-gap);
}

.product-card-body {
  padding: var(--product-card-padding);
  gap: var(--space-2);
}

.product-card-title {
  font-size: 0.9375rem;
  line-height: 1.3;
}

.product-card-body > p:not(.product-card-price) {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 0.8125rem !important;
  line-height: 1.45;
}

.product-card-price {
  font-size: 0.9375rem;
}

.product-card-specs {
  display: none;
}

.product-card-footer {
  padding: 10px 12px 12px;
}

.product-card-footer .btn {
  min-height: 44px;
  padding: 0.55rem 0.45rem;
  font-size: clamp(0.72rem, 3.3vw, 0.875rem);
  white-space: normal;
  text-align: center;
  line-height: 1.2;
}

.section,
.section-sm {
  padding-block: var(--section-compact);
}

.page-hero {
  padding-top: calc(var(--nav-height) + var(--space-8));
  padding-bottom: var(--space-8);
}

.display-lg { font-size: clamp(1.85rem, 8vw, 4rem); }
.display-xl { font-size: clamp(2rem, 9vw, 6.5rem); }

.brand-watermark { display: none; }

@media (min-width: 768px) {
  :root {
    --product-grid-gap: 16px;
    --product-card-padding: 18px;
    --section-compact: 56px;
  }
  .product-grid,
  .custom-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-card-specs { display: flex; }
  .product-card-title { font-size: 1.0625rem; }
  .product-card-price { font-size: 1.125rem; }
  .brand-watermark { display: block; }
}

@media (min-width: 1100px) {
  :root { --product-grid-gap: 20px; --section-compact: 64px; }
  .product-grid,
  .custom-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Home craft reels */
.craft-layout {
  display: grid;
  gap: var(--space-8);
  align-items: center;
  overflow: clip;
}

.reel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.reel-tile {
  position: relative;
  width: 100%;
  aspect-ratio: 9/16;
  padding: 0;
  overflow: hidden;
  background: var(--surface-hi);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
}

.reel-tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel-badge {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  padding: 6px 8px;
  background: rgba(15, 14, 12, 0.84);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  text-align: center;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .craft-layout { grid-template-columns: 1.1fr 0.9fr; gap: var(--space-16); }
}

@media (min-width: 1100px) {
  .reel-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Medical catalogue */
.medical-tools {
  position: sticky;
  top: var(--nav-height);
  z-index: 20;
  padding-block: var(--space-3);
  background: rgba(15, 14, 12, 0.96);
  border-bottom: 1px solid var(--hairline);
}

.medical-search label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
}

.medical-search input {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--hairline-hi);
  border-radius: var(--radius);
}

.medical-filters {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  scrollbar-width: thin;
  padding-bottom: 4px;
}

.medical-filter {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 14px;
  color: var(--muted);
  border: 1px solid var(--hairline-hi);
  border-radius: var(--radius);
  background: var(--surface);
}

.medical-filter[aria-pressed="true"] {
  color: var(--base);
  background: var(--accent);
  border-color: var(--accent);
}

.medical-category {
  margin-bottom: var(--space-10);
}

.medical-category[hidden],
.medical-product[hidden] { display: none; }

.medical-category-heading {
  margin-bottom: var(--space-5);
  font-size: clamp(1.2rem, 3vw, 1.75rem);
}

.medical-empty {
  padding: var(--space-10);
  text-align: center;
  color: var(--muted);
  border: 1px solid var(--hairline);
}

/* Order system */
.order-lock { overflow: hidden; }

.order-layer {
  position: fixed;
  inset: 0;
  z-index: var(--order-layer);
}

.order-layer[hidden] { display: none; }

.order-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  opacity: 0;
  transition: opacity 200ms ease;
}

.order-layer.is-open .order-backdrop { opacity: 1; }

.order-panel,
.order-drawer {
  position: absolute;
  display: flex;
  flex-direction: column;
  color: var(--text);
  background: var(--base);
  border: 1px solid var(--hairline-hi);
  box-shadow: var(--shadow-lg);
}

.order-panel {
  left: 50%;
  bottom: 0;
  width: min(100%, 560px);
  max-height: 92dvh;
  transform: translate(-50%, 100%);
  transition: transform 260ms cubic-bezier(0.25, 0, 0, 1);
}

.order-layer.is-open .order-panel { transform: translate(-50%, 0); }

.order-drawer {
  inset: 0;
  transform: translateX(100%);
  transition: transform 260ms cubic-bezier(0.25, 0, 0, 1);
}

.order-layer.is-open .order-drawer { transform: translateX(0); }

@media (min-width: 768px) {
  .order-panel {
    top: 50%;
    bottom: auto;
    max-height: 90dvh;
    transform: translate(-50%, calc(-50% + 18px));
    opacity: 0;
    transition: transform 220ms ease, opacity 220ms ease;
  }
  .order-layer.is-open .order-panel { transform: translate(-50%, -50%); opacity: 1; }
  .order-drawer { left: auto; width: min(440px, 100%); }
}

.order-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 16px;
  border-bottom: 1px solid var(--hairline);
}

.order-dialog-header .section-label { margin-bottom: 4px; }
.order-dialog-header h2 { font-size: 1.35rem; }

.order-close {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  font-size: 1.7rem;
  line-height: 1;
  border: 1px solid var(--hairline-hi);
}

#order-product-form,
#order-checkout-form {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
}

.order-product-preview,
.order-panel-fields,
.order-panel .order-field {
  padding-inline: 16px;
}

.order-product-preview {
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: center;
  gap: 16px;
  padding-block: 14px;
}

.order-product-preview img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  background: var(--image-card-surface);
  opacity: 1;
  transition: opacity 150ms ease;
}

.order-product-preview img.is-changing { opacity: 0.25; }
.order-line-total { font-family: var(--font-mono); }
.order-line-total strong { display: block; color: var(--accent); font-size: 1.4rem; }

.order-panel-scroll {
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.order-panel-fields {
  padding-bottom: 8px;
}

.order-field {
  min-width: 0;
  margin-bottom: 16px;
  border: 0;
}

.order-field > label,
.order-field > legend {
  display: block;
  width: 100%;
  margin-bottom: 7px;
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 600;
}

.order-field input[type="text"],
.order-field input[type="tel"],
.order-field input[type="email"],
.order-field input[type="number"],
.order-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--hairline-hi);
  border-radius: var(--radius);
}

.order-field textarea { resize: vertical; }

.order-choice-grid,
.order-colour-grid,
.order-choice-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.order-choice-stack { grid-template-columns: 1fr; }
.order-colour-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.order-choice {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--hairline-hi);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.8125rem;
}

.order-choice:has(input:checked) {
  color: var(--text);
  border-color: var(--accent);
  background: var(--accent-glow);
}

.order-choice:has(input:disabled) { opacity: 0.38; cursor: not-allowed; }

.order-swatch {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
}

.order-helper,
.order-error {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.4;
}

.order-error { min-height: 1em; color: #ffb4ab; }
.order-field.has-error input,
.order-field.has-error textarea { border-color: #ffb4ab; }

.order-subfield { margin-top: 12px; margin-bottom: 0; }
.order-panel-submit,
.order-checkout-footer {
  position: sticky;
  bottom: 0;
  z-index: 2;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: var(--surface);
  border-top: 1px solid var(--hairline-hi);
}

.order-panel-submit {
  position: static;
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
}

.order-panel-submit > span { color: var(--accent); font-family: var(--font-mono); font-size: 1.1rem; }
.order-panel-submit .btn { width: 100%; justify-content: center; }

.quantity-stepper {
  display: grid;
  grid-template-columns: 44px 64px 44px;
  width: max-content;
  border: 1px solid var(--hairline-hi);
}

.quantity-stepper button { min-width: 44px; min-height: 44px; background: var(--surface-hi); }
.quantity-stepper input { min-width: 0; border: 0 !important; text-align: center; appearance: textfield; }
.order-item .quantity-stepper input {
  color: var(--base);
  background: var(--text);
  -webkit-text-fill-color: var(--base);
}

.typeahead { position: relative; }
.typeahead-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 10;
  max-height: 280px;
  overflow-y: auto;
  background: var(--surface-hi);
  border: 1px solid var(--hairline-hi);
  box-shadow: var(--shadow-md);
}

.typeahead-list button {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  text-align: left;
  border-bottom: 1px solid var(--hairline);
}

.typeahead-list button[aria-selected="true"],
.typeahead-list button:hover { color: var(--base); background: var(--accent); }

.order-drawer-scroll { min-height: 0; overflow-y: auto; padding: 12px 16px 24px; }
.order-items { display: grid; gap: 12px; margin-bottom: 24px; }
.order-item { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--hairline); }
.order-item > img { width: 72px; height: 72px; object-fit: contain; background: var(--image-card-surface); }
.order-item h3 { font-size: 0.9375rem; }
.order-item p { margin-block: 4px 8px; color: var(--muted); font-size: 0.75rem; line-height: 1.45; }
.order-item-meta { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 8px; font-size: 0.75rem; }
.order-item-meta strong { color: var(--accent); }
.order-item .quantity-stepper { grid-template-columns: 44px 52px 44px; }
.order-remove { min-height: 44px; color: #ffb4ab; text-decoration: underline; }
.order-customer h3 { margin-bottom: 16px; }

.order-totals { display: grid; gap: 5px; margin-bottom: 10px; }
.order-totals > div { display: flex; justify-content: space-between; }
.order-totals > div:last-child { color: var(--accent); font-size: 1.1rem; font-weight: 600; }
.order-checkout-footer .btn { width: 100%; justify-content: center; }
.order-checkout-footer > p { margin-top: 8px; color: var(--muted); font-size: 0.7rem; line-height: 1.4; }

.order-empty,
.order-confirmation { display: grid; gap: 16px; padding: 28px 16px; }
.order-empty > div,
.order-confirmation > div { display: flex; flex-wrap: wrap; gap: 12px; }
.order-empty > div a { min-height: 44px; display: inline-flex; align-items: center; color: var(--accent); }

.order-sticky {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(10px + env(safe-area-inset-bottom));
  z-index: 100;
  min-height: 48px;
  padding: 10px 16px;
  color: var(--base);
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  font-weight: 700;
}

.order-sticky[hidden],
.order-overlay-open .order-sticky { display: none; }
.has-order-sticky { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }

.order-toast {
  position: fixed;
  left: 50%;
  bottom: calc(72px + env(safe-area-inset-bottom));
  z-index: calc(var(--order-layer) + 5);
  display: flex;
  width: min(calc(100% - 24px), 360px);
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  color: var(--text);
  background: var(--surface-hi);
  border: 1px solid var(--accent);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: transform 180ms ease, opacity 180ms ease;
}

.order-toast[hidden] { display: none; }
.order-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.order-toast button { min-height: 44px; color: var(--accent); text-decoration: underline; }

@media (min-width: 768px) {
  .order-sticky { display: none !important; }
  .has-order-sticky { padding-bottom: 0; }
  .order-toast { bottom: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .order-panel,
  .order-drawer,
  .order-backdrop,
  .order-toast,
  .order-product-preview img { transition: opacity 0.01ms !important; transform: none !important; }
  .reel-tile::after {
    content: 'Play';
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    padding: 8px 12px;
    color: var(--text);
    background: rgba(15, 14, 12, 0.85);
    border: 1px solid var(--hairline-hi);
  }
}
