/* ============================================================
   UTVAWA — NANUK Protective Cases (Perth, WA)
   Light theme static site. One shared stylesheet.
   Design DNA: white/light surfaces, NANUK orange accent,
   sharp corners, condensed display type + mono technical labels.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --bg: #ffffff;
  --bg-subtle: #f5f6f8;
  --bg-panel: #eef0f3;
  --fg: #14181d;
  --fg-muted: #5b6672;
  --fg-faint: #8a94a1;
  --border: #e2e6eb;
  --border-strong: #cfd5dc;
  --card: #ffffff;
  --primary: #ff5a1f;
  --primary-hover: #e94d15;
  --primary-fg: #ffffff;
  --ink: #0f1216; /* dark sections */
  --ink-fg: #eef0f3;
  --ring: rgba(255, 90, 31, 0.28);

  --radius: 4px;
  --maxw: 1200px;
  --gutter: 1.5rem;

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --shadow-sm: 0 1px 2px rgba(15, 18, 22, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 18, 22, 0.08);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-body);
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
ul {
  list-style: none;
  padding: 0;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
/* wider variant for catalogue-heavy pages (shop) */
.container--wide {
  max-width: 1500px;
}
.section {
  padding-block: clamp(3.5rem, 7vw, 6rem);
}
.section--tight {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.section--subtle {
  background: var(--bg-subtle);
}
.stack-sm > * + * {
  margin-top: 0.75rem;
}
.grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- Kicker / eyebrow ---------- */
.kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 500;
}
.kicker--muted {
  color: var(--fg-faint);
}

.section-head {
  max-width: 640px;
  margin-bottom: 2.5rem;
}
.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-top: 0.6rem;
}
.section-head p {
  color: var(--fg-muted);
  margin-top: 0.75rem;
  font-size: 1.02rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.05s;
  white-space: nowrap;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--primary);
  color: var(--primary-fg);
}
.btn-primary:hover {
  background: var(--primary-hover);
}
.btn-outline {
  border-color: var(--border-strong);
  color: var(--fg);
  background: var(--bg);
}
.btn-outline:hover {
  border-color: var(--fg);
}
.btn-ghost-light {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--ink-fg);
}
.btn-ghost-light:hover {
  border-color: #fff;
}
.btn-lg {
  padding: 0.9rem 1.6rem;
  font-size: 1rem;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.brand .mark {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 700;
}
.brand__logo {
  height: 42px;
  width: auto;
  display: block;
  object-fit: contain;
}
.site-footer .brand__logo {
  filter: brightness(0) invert(1);
}
.brand__sub {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  color: var(--fg-faint);
  text-transform: uppercase;
  font-weight: 400;
  margin-top: 2px;
  display: block;
}
.brand small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  color: var(--fg-faint);
  text-transform: uppercase;
  font-weight: 400;
  margin-top: 2px;
}
.nav-links {
  display: none;
  align-items: center;
  gap: 1.4rem;
}
.nav-links a {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--fg-muted);
  transition: color 0.15s;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--fg);
}
.nav-cta {
  display: none;
}
.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--fg);
  position: relative;
}
.nav-toggle span::before {
  position: absolute;
  top: -6px;
}
.nav-toggle span::after {
  position: absolute;
  top: 6px;
}
@media (min-width: 1080px) {
  .nav-links,
  .nav-cta {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
}
/* mobile drawer */
.mobile-menu {
  display: none;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.mobile-menu.open {
  display: block;
}
.mobile-menu a {
  display: block;
  padding: 0.85rem var(--gutter);
  border-top: 1px solid var(--border);
  font-weight: 500;
  color: var(--fg);
}
.mobile-menu a:first-child {
  border-top: none;
}

/* ---------- Ticker ---------- */
.ticker {
  background: var(--ink);
  color: var(--ink-fg);
  overflow: hidden;
  border-block: 1px solid #23272d;
}
.ticker__track {
  display: flex;
  gap: 3rem;
  padding-block: 0.6rem;
  white-space: nowrap;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.ticker__track span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #aeb6c0;
}
.ticker__track span b {
  color: var(--primary);
  font-weight: 500;
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .ticker__track {
    animation: none;
  }
}

/* ---------- Hero (home) ---------- */
/* Home hero — dark, matching the .page-hero banner on inner pages */
.hero {
  position: relative;
  padding-block: clamp(3rem, 7vw, 5.5rem);
  background: var(--ink);
  color: var(--ink-fg);
  border-bottom: 1px solid #23272d;
}
.hero h1 {
  color: #fff;
}
.hero .stats {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.14);
}
.hero .stat {
  background: #171b21;
}
.hero .stat b {
  color: #fff;
}
.hero .stat span {
  color: #7c8794;
}
.hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 940px) {
  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  letter-spacing: -0.02em;
}
.hero h1 em {
  font-style: normal;
  color: var(--primary);
}
.hero p.lead {
  color: #aeb6c0;
  font-size: 1.1rem;
  margin-top: 1.1rem;
  max-width: 42ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.hero__media {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.hero__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.hero__badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(15, 18, 22, 0.85);
  color: #fff;
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- Stat row ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 2rem;
}
@media (min-width: 720px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
}
.stat {
  background: var(--card);
  padding: 1.1rem 1.2rem;
}
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1;
}
.stat span {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-faint);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--ink);
  color: var(--ink-fg);
  padding-block: clamp(3rem, 6vw, 4.5rem);
  border-bottom: 1px solid #23272d;
}
.page-hero .kicker {
  color: var(--primary);
}
.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-top: 0.6rem;
  color: #fff;
}
.page-hero p {
  color: #aeb6c0;
  margin-top: 0.9rem;
  max-width: 56ch;
  font-size: 1.05rem;
}
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7c8794;
  margin-bottom: 0.4rem;
}
.breadcrumb a:hover {
  color: #fff;
}

/* ---------- Feature cards ---------- */
.feature {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  background: var(--card);
  height: 100%;
}
.feature .kicker {
  color: var(--fg-faint);
}
.feature h3 {
  font-size: 1.3rem;
  margin: 0.5rem 0 0.5rem;
}
.feature p {
  color: var(--fg-muted);
  font-size: 0.95rem;
}
.feature__num {
  font-family: var(--font-mono);
  color: var(--primary);
  font-size: 0.8rem;
}

/* ---------- Split section ---------- */
.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
  .split--flip .split__media {
    order: -1;
  }
}
.split__media {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-subtle);
}
.split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.checklist li {
  display: flex;
  gap: 0.7rem;
  padding: 0.5rem 0;
  color: var(--fg-muted);
  font-size: 0.98rem;
}
.checklist li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border-radius: 3px;
  background: var(--primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
    center / 12px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}

/* ---------- Size tiles (nanuk-cases) ---------- */
.size-tile {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.size-tile:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.size-tile__img {
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
  padding: 1.2rem;
}
.size-tile__img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}
.size-tile__body {
  padding: 1.1rem 1.2rem 1.3rem;
}
.size-tile__body h3 {
  font-size: 1.25rem;
}
.size-tile__body .range {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--fg-faint);
  letter-spacing: 0.06em;
  margin-top: 0.2rem;
}
.size-tile__body p {
  color: var(--fg-muted);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* ---------- Product card ---------- */
.product-grid {
  display: grid;
  gap: 1.5rem;
  /* modern self-adapting grid: as many ~300px+ cards as fit the row */
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
}
.card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}
.card__media {
  position: relative;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
  /* extra top padding keeps the size tag clear of the photo */
  padding: 2.4rem 1.1rem 1.1rem;
}
.card__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  transition: transform 0.3s;
}
.card:hover .card__media img {
  transform: scale(1.04);
}
.card__tag {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 0.25rem 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg);
}
.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.1rem 1.15rem 1.2rem;
}
.card__code {
  font-family: var(--font-mono);
  font-size: 1.22rem; /* +70% */
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--primary);
}
.card__name {
  font-size: 1.2rem;
  margin-top: 0.15rem;
}
.card__blurb {
  color: var(--fg-muted);
  font-size: 0.88rem;
  margin-top: 0.5rem;
}
.card__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 1rem;
  font-size: 0.76rem;
}
.card__specs div {
  background: var(--card);
  padding: 0.5rem 0.6rem;
}
.card__specs dt {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-faint);
}
.card__specs dd {
  color: var(--fg);
  font-weight: 500;
  margin-top: 2px;
}
.dots {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.9rem;
}
.dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid rgba(15, 18, 22, 0.15);
}
.dots small {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--fg-faint);
}
.card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1.1rem;
}
.card__actions .btn {
  padding: 0.55rem 0.6rem;
  font-size: 0.82rem;
}

/* ---------- Shop layout ---------- */
.shop {
  display: grid;
  gap: 2.25rem;
  align-items: start;
}
@media (min-width: 960px) {
  .shop {
    grid-template-columns: 300px 1fr;
  }
}
.filters {
  position: sticky;
  top: 100px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  padding: 1.25rem;
  /* taller than the viewport? scroll inside the panel instead of
     pushing the lower filters below the page fold */
  max-height: calc(100vh - 116px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.filters__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}
.filters__head h2 {
  font-size: 1.15rem;
}
.filter-group {
  padding-block: 1rem;
  border-top: 1px solid var(--border);
}
.filter-group:first-of-type {
  border-top: none;
}
.filter-group--dim {
  background: var(--bg-subtle, #f8f8f8);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  margin-bottom: 0.5rem;
}
.filter-group--dim .kicker {
  color: var(--primary) !important;
  font-weight: 700;
}
.chip span { pointer-events: none; }
.filter-group > .kicker {
  color: var(--fg-faint);
  display: block;
  margin-bottom: 0.7rem;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.chip {
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--fg-muted);
  border-radius: 3px;
  padding: 0.35rem 0.6rem;
  font-size: 0.78rem;
  font-weight: 500;
  transition: all 0.12s;
  text-transform: capitalize;
}
.chip:hover {
  border-color: var(--fg);
  color: var(--fg);
}
.chip[aria-pressed="true"] {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.dim-range {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
.dim-input {
  /* label stacked above the field so the input keeps full width
     even in the narrow filter sidebar */
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.25rem;
  border: 1px solid var(--border-strong);
  border-radius: 3px;
  padding: 0.4rem 0.55rem;
  background: var(--bg);
  min-width: 0;
}
.dim-input:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--ring);
}
.dim-input label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-faint);
}
.dim-input input {
  width: 100%;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--fg);
}
.dim-help {
  font-size: 0.72rem;
  color: var(--fg-faint);
  margin-bottom: 0.6rem;
}

.shop__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.search {
  position: relative;
  flex: 1;
  min-width: 220px;
}
.search svg {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--fg-faint);
}
.search input {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--card);
  padding: 0.7rem 0.9rem 0.7rem 2.6rem;
  font-size: 0.9rem;
  color: var(--fg);
  outline: none;
}
.search input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--ring);
}
.result-count {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-faint);
}
.result-count b {
  color: var(--fg);
}
.empty {
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--fg-muted);
}
.filter-toggle {
  display: inline-flex;
}
@media (min-width: 960px) {
  .filter-toggle {
    display: none;
  }
}

/* mobile collapsible filters */
@media (max-width: 959px) {
  .filters {
    position: static;
    display: none;
  }
  .filters.open {
    display: block;
  }
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink);
  color: var(--ink-fg);
  border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 3.25rem);
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
@media (min-width: 820px) {
  .cta-band {
    grid-template-columns: 1.4fr 1fr;
  }
}
.cta-band h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  color: #fff;
}
.cta-band p {
  color: #aeb6c0;
  margin-top: 0.6rem;
}
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
@media (min-width: 820px) {
  .cta-band__actions {
    justify-content: flex-end;
  }
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}
.field {
  display: block;
  margin-bottom: 1rem;
}
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: 0.35rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--card);
  padding: 0.7rem 0.85rem;
  font: inherit;
  font-size: 0.92rem;
  color: var(--fg);
  outline: none;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--ring);
}
.field textarea {
  min-height: 130px;
  resize: vertical;
}
.info-row {
  display: flex;
  gap: 0.9rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}
.info-row:first-child {
  border-top: none;
}
.info-row .k {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-faint);
  width: 92px;
  flex: none;
  padding-top: 3px;
}
.info-row .v {
  color: var(--fg);
  font-weight: 500;
}
.form-note {
  font-size: 0.8rem;
  color: var(--fg-faint);
  margin-top: 0.5rem;
}
.form-success {
  display: none;
  border: 1px solid var(--primary);
  background: rgba(255, 90, 31, 0.06);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  color: var(--fg);
  margin-bottom: 1rem;
}
.form-success.show {
  display: block;
}

/* ---------- 404 ---------- */
.notfound {
  min-height: 62vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: 4rem;
}
.notfound .code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 10rem);
  line-height: 0.9;
  color: var(--primary);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--ink-fg);
  padding-block: 3rem 2rem;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}
.site-footer .brand {
  color: #fff;
}
.site-footer p {
  color: #97a0ab;
  font-size: 0.9rem;
  margin-top: 0.75rem;
  max-width: 38ch;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7c8794;
  margin-bottom: 0.9rem;
}
.footer-col a {
  display: block;
  padding: 0.28rem 0;
  color: #c3cad2;
  font-size: 0.92rem;
}
.footer-col a:hover {
  color: #fff;
}
.footer-bottom {
  margin-top: 2.25rem;
  padding-top: 1.4rem;
  border-top: 1px solid #23272d;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #7c8794;
}

/* ---------- 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;
}
.text-mono {
  font-family: var(--font-mono);
}
.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.5rem;
}

/* ---------- Section head row (heading + action) ---------- */
.section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  max-width: none;
  text-align: left;
}
.section-head--row p {
  margin-top: 0.35rem;
}

/* ---------- Gallery teaser (on Custom Foam page) ---------- */
.gal-teaser {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1.75rem;
}
@media (min-width: 720px) {
  .gal-teaser {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1040px) {
  .gal-teaser {
    grid-template-columns: repeat(6, 1fr);
  }
}
.gal-teaser__item {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-panel);
}
.gal-teaser__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gal-teaser__item:hover img {
  transform: scale(1.06);
}
.gal-teaser__more {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--ink-fg);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1rem;
  line-height: 1.1;
  text-align: center;
}
.gal-teaser__more:hover {
  background: var(--fg);
}

/* ---------- Gallery grid (masonry via CSS columns) ---------- */
.gal {
  column-count: 2;
  column-gap: 0.75rem;
}
@media (min-width: 640px) {
  .gal {
    column-count: 3;
  }
}
@media (min-width: 1040px) {
  .gal {
    column-count: 4;
    column-gap: 1rem;
  }
}
.gal__item {
  position: relative;
  break-inside: avoid;
  margin: 0 0 0.75rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-panel);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 1040px) {
  .gal__item {
    margin-bottom: 1rem;
  }
}
.gal__item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
}
.gal__item:hover img,
.gal__item:focus-visible img {
  transform: scale(1.05);
}
.gal__item:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.gal__item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.5rem 0.75rem 0.6rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(15, 18, 22, 0.72));
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.gal__item:hover figcaption,
.gal__item:focus-visible figcaption {
  opacity: 1;
  transform: translateY(0);
}
.gal__more {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  text-align: center;
}
.gal__count {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--fg-faint);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(10, 12, 15, 0.92);
}
.lightbox.open {
  display: flex;
}
.lightbox__stage {
  max-width: min(1100px, 94vw);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.lightbox__stage img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.lightbox__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #e6e9ee;
  font-size: 0.85rem;
}
.lightbox__count {
  font-family: var(--font-mono);
  color: #9aa4b0;
}
.lightbox__btn {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(20, 24, 29, 0.6);
  color: #fff;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.lightbox__btn:hover {
  background: var(--primary);
  border-color: var(--primary);
}
.lightbox__close {
  top: 1rem;
  right: 1rem;
  width: 2.75rem;
  height: 2.75rem;
  font-size: 1.6rem;
  line-height: 1;
}
.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  font-size: 2rem;
  line-height: 1;
}
.lightbox__prev {
  left: 1rem;
}
.lightbox__next {
  right: 1rem;
}
@media (min-width: 720px) {
  .lightbox__close {
    top: 1.5rem;
    right: 1.5rem;
  }
  .lightbox__prev {
    left: 1.5rem;
  }
  .lightbox__next {
    right: 1.5rem;
  }
}

/* ---------- About page ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
  }
}
.about-copy p {
  color: var(--fg-muted);
  margin-top: 1rem;
  max-width: 52ch;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.about-stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-panel);
}
.about-stat b {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1;
  color: var(--primary);
}
.about-stat span {
  font-size: 0.78rem;
  color: var(--fg-muted);
}
.about-media {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-panel);
  box-shadow: var(--shadow-sm);
}
.about-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Clickable product cards (shop) ---------- */
.product-grid .card {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.product-grid .card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--fg-faint);
}
.product-grid .card:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ---------- Product detail drawer ---------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
}
.drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 18, 22, 0.55);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.drawer.open .drawer__backdrop {
  opacity: 1;
}
.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(460px, 100%);
  background: var(--bg);
  border-left: 1px solid var(--border);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.18);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  outline: none;
}
.drawer.open .drawer__panel {
  transform: translateX(0);
}
.drawer__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--border);
  background: var(--bg-panel);
  color: var(--fg);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.drawer__close:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.drawer__close svg {
  width: 20px;
  height: 20px;
}
.drawer__body {
  padding: 0 0 2rem;
}
.drawer__media {
  aspect-ratio: 4 / 3;
  background: var(--bg-panel);
  border-bottom: 1px solid var(--border);
}
.drawer__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.drawer__head {
  padding: 1.5rem 1.5rem 0;
}
.drawer__code {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--primary);
}
.drawer__head h2 {
  margin: 0.25rem 0 0;
  font-size: 1.6rem;
}
.drawer__blurb {
  margin-top: 0.6rem;
  color: var(--fg-muted);
  font-size: 0.92rem;
}
.drawer__specs {
  margin: 1.25rem 1.5rem 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.drawer__spec {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.9rem;
  font-size: 0.88rem;
}
.drawer__spec + .drawer__spec {
  border-top: 1px solid var(--border);
}
.drawer__spec dt {
  color: var(--fg-muted);
}
.drawer__spec dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}
.drawer__block {
  padding: 1.5rem 1.5rem 0;
}
.drawer__block .drawer__specs {
  margin: 0.25rem 0 0;
}
.drawer__specnote {
  margin: 0.5rem 1.5rem 0;
  font-size: 0.78rem;
  color: var(--fg-muted);
}
.drawer__block .drawer__specnote {
  margin: 0.5rem 0 0;
}

/* accessory cards (Parts & Accessories section) */
.card--accessory {
  border-top: 3px solid var(--primary);
}
.card--accessory .card__code {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.08em;
}
.card--accessory .card__name {
  font-size: 1.1rem;
}
.drawer__block .kicker {
  display: block;
  margin-bottom: 0.6rem;
}
.drawer__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.drawer__swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.drawer__swatch {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.8rem;
  text-transform: capitalize;
}
.drawer__swatch-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
}
.drawer__actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.75rem 1.5rem 0;
}
.drawer__actions .btn {
  width: 100%;
}

/* ---- Certification / origin badge wall (nanuk-cases) ---- */
.badge-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}
.badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.55rem;
  padding: 1.15rem 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}
.badge svg {
  width: 40px;
  height: 40px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.badge b {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.badge small {
  color: var(--fg-muted);
  font-size: 0.74rem;
  line-height: 1.35;
}

/* single-row spec tables (accessory + special-order cards) */
.card--accessory .card__specs,
.card--special .card__specs {
  grid-template-columns: 1fr;
}
