/* ==========================================================================
   PERIGEE AEROSPACE — DESKTOP STOREFRONT STYLESHEET
   Strict 4-Color Palette | Manrope 400/500/600 | Sharp 0px Geometry
   ========================================================================== */

:root {
  --stage: #3B393A;
  --deep: #2E2C2D;
  --fuselage: #E7E8EA;
  --silver: #A7A6A4;
  --green: #88C657;
  --plate: color-mix(in srgb, #E7E8EA 4%, #3B393A);
  --plate-deep: color-mix(in srgb, #E7E8EA 4%, #2E2C2D);
  --hair: rgba(231, 232, 234, 0.09);
  --hair-strong: rgba(231, 232, 234, 0.22);
  --ink-on-green: #2E2C2D;
  --danger: #E06C65;

  /* Compatibility aliases */
  --bg-stage: var(--stage);
  --bg-deep: var(--deep);
  --ink: var(--fuselage);
  --ink-muted: var(--silver);
  --rule: var(--hair);
  --font-sans: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-display: var(--font-sans);
  --font-body: var(--font-sans);
  --font-mono: var(--font-sans);

  --header-h: clamp(64px, 4.4vw, 92px);
  --wrap: 1400px;
  --gutter: clamp(28px, 3.2vw, 48px);
  --tri-y: -16vw;
  --seam-height: clamp(68px, 6vw, 92px);
}

*, *::before, *::after {
  box-sizing: border-box;
  border-radius: 0 !important;
  font-variant-numeric: tabular-nums;
}

html {
  scroll-behavior: smooth;
  background: var(--deep);
  color: var(--fuselage);
  scrollbar-color: rgba(231, 232, 234, 0.18) var(--deep);
  scrollbar-width: thin;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  background: var(--deep);
  color: var(--fuselage);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--deep); }
::-webkit-scrollbar-thumb { background: rgba(231, 232, 234, 0.18); }
::-webkit-scrollbar-thumb:hover { background: rgba(231, 232, 234, 0.32); }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ==========================================================================
   TOGGLEABLE ANNOUNCEMENT BANNER REACHING INTO HERO ROCKET STAGE
   ========================================================================== */

.announce-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 14;
  background: var(--green);
  color: var(--ink-on-green);
  min-height: 46px;
  padding-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), 0 100%);
}

.announce-bar[hidden] {
  display: none !important;
}

.announce-inner {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 8px 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.005em;
  text-align: center;
}

.announce-link {
  display: inline-flex;
  align-items: center;
  color: var(--ink-on-green);
  font-weight: 600;
  border-bottom: 1.5px solid var(--ink-on-green);
  padding-bottom: 1px;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, padding 0.15s ease;
}

.announce-link:hover {
  background: var(--deep);
  color: var(--fuselage);
  padding: 1px 6px;
}

.announce-bar.is-marquee .announce-inner {
  max-width: none;
  padding: 8px 44px 8px 0;
  justify-content: flex-start;
  flex-wrap: nowrap;
  overflow: hidden;
}

.announce-marquee-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  gap: 48px;
  padding-left: 24px;
  animation: announceMarquee 26s linear infinite;
}

.announce-bar.is-marquee:hover .announce-marquee-track {
  animation-play-state: paused;
}

.announce-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

@keyframes announceMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .announce-marquee-track {
    animation: none !important;
  }
}

.announce-close {
  position: absolute;
  right: 12px;
  top: calc(50% - 4px);
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-on-green);
  background: var(--green);
  opacity: 0.78;
  transition: opacity 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.announce-close[hidden] {
  display: none !important;
}

.announce-close svg {
  width: 13px;
  height: 13px;
}

.announce-close:hover {
  opacity: 1;
  background: rgba(46, 44, 45, 0.14);
}

/* ==========================================================================
   DARKER HEADER + HERO STAGE WITH CONSISTENT 180° TRIANGLE TEXTURE
   ========================================================================== */

.site-header,
.hero-stage {
  background-image: url(assets/brand/triangle_pattern_180.svg);
  background-repeat: no-repeat;
  background-size: 100vw auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  background-color: var(--deep);
  background-position: 50% var(--tri-y);
  border-bottom: 1px solid var(--hair);
  transition: box-shadow 0.2s ease;
}

.site-header.is-docked {
  box-shadow: 0 1px 0 var(--hair), 0 14px 28px -16px rgba(20, 18, 19, 0.75);
}

.header-inner {
  max-width: min(1760px, 100%);
  height: 100%;
  margin: 0 auto;
  padding: 0 clamp(24px, 3vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  height: clamp(36px, 2.5vw, 52px);
  flex-shrink: 0;
}

.brand-main-svg {
  height: clamp(36px, 2.5vw, 52px);
  width: auto;
  display: block;
}

.header-right {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.6vw, 48px);
  height: 100%;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 100%;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0 clamp(10px, 1vw, 18px);
  font-size: clamp(0.875rem, 0.92vw, 1.0625rem);
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--silver);
  transition: color 0.15s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--fuselage);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 10px;
  width: 10px;
  height: 6px;
  transform: translateX(-50%);
  background: var(--green);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  position: relative;
  width: clamp(36px, 2.3vw, 46px);
  height: clamp(36px, 2.3vw, 46px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--silver);
  transition: color 0.15s ease;
}

.icon-btn:hover {
  color: var(--fuselage);
}

.icon-btn svg {
  width: clamp(18px, 1.15vw, 24px);
  height: clamp(18px, 1.15vw, 24px);
}

.icon-btn svg.icon-cart-svg {
  width: clamp(22px, 1.4vw, 28px);
  height: clamp(16px, 1.05vw, 21px);
}

.cart-badge {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: var(--green);
  color: var(--ink-on-green);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-badge.empty { display: none; }

/* ==========================================================================
   HERO STAGE — UNIFORM 42° 17-ROCKET LATTICE + TWO-TONE L / INVERTED-L SLAB
   ========================================================================== */

.hero-stage {
  position: relative;
  width: 100%;
  height: clamp(560px, 78vh, 840px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: calc(var(--seam-height) * 0.42);
  background-color: var(--stage);
  background-position: 50% calc(var(--tri-y) - var(--header-h));
}

/* Uniformly scaled field cropped cleanly by .hero-stage */
.rocket-field {
  position: absolute;
  inset: auto;
  left: 50%;
  top: 50%;
  width: max(100%, 1280px);
  height: auto;
  aspect-ratio: 1920 / 1260;
  transform: translate(-50%, -50%);
  overflow: visible;
  container-type: inline-size;
  z-index: 2;
  pointer-events: none;
}

.fly-rocket {
  position: absolute;
  left: var(--rx);
  top: var(--ry);
  height: var(--rh);
  width: auto;
  transform-origin: center center;
  transform: translate(-50%, -50%) rotate(var(--rest-rot, 42deg)) translate(var(--p0x, 0cqw), var(--p0y, 110cqw)) rotate(var(--p0r, 0deg)) scale(var(--start-scale, 0.92));
  opacity: 0;
  filter: drop-shadow(0 4px 10px rgba(20, 18, 19, 0.24));
  pointer-events: none;
  backface-visibility: hidden;
}

.fly-rocket.launched {
  animation: rocketFlyIn var(--dur, 1050ms) linear var(--delay, 0ms) forwards;
}

.fly-rocket.settled {
  animation: none;
  transform: translate(-50%, -50%) rotate(var(--rest-rot, 42deg)) translate(0, 0) rotate(0deg) scale(1);
  opacity: 1;
}

@keyframes rocketFlyIn {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(var(--rest-rot, 42deg)) translate(var(--p0x, 0cqw), var(--p0y, 110cqw)) rotate(var(--p0r, 0deg)) scale(var(--start-scale, 0.92));
  }
  10% {
    opacity: 1;
  }
  25% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(var(--rest-rot, 42deg)) translate(var(--p1x, 0cqw), var(--p1y, 55cqw)) rotate(var(--p1r, 0deg)) scale(0.97);
  }
  52% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(var(--rest-rot, 42deg)) translate(var(--p2x, 0cqw), var(--p2y, 18cqw)) rotate(var(--p2r, 0deg)) scale(0.99);
  }
  78% {
    opacity: 1;
    animation-timing-function: ease-out;
    transform: translate(-50%, -50%) rotate(var(--rest-rot, 42deg)) translate(var(--p3x, 0cqw), var(--p3y, 3cqw)) rotate(var(--p3r, 0deg)) scale(1);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(var(--rest-rot, 42deg)) translate(0, 0) rotate(0deg) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fly-rocket,
  .fly-rocket.launched {
    animation: none !important;
    transform: translate(-50%, -50%) rotate(var(--rest-rot, 42deg)) translate(0, 0) rotate(0deg) scale(1);
    opacity: 1;
  }
}

/* Asymmetric Dual-Slab Wide-Desktop Hero Composition */
.hero-stage-grid {
  position: relative;
  z-index: 10;
  width: min(1440px, calc(100% - 2 * var(--gutter)));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(28px, 4.5vw, 72px);
}

.hero-stage.has-banner .hero-stage-grid {
  padding-top: 26px;
}

.hero-stage-grid.is-solo {
  justify-content: center;
}

/* Compact Parallelogram Brand Slab — Zero Corner Triangles, Crisp L + Inverted-L */
.hero-slab-frame {
  position: relative;
  z-index: 10;
  width: clamp(320px, 26vw, 376px);
  aspect-ratio: 376 / 324;
  flex-shrink: 0;
  padding: 0;
  display: grid;
  place-items: center;
  container-type: inline-size;
}

/* Mirrored Parallelogram Feature Slab — Media + Copy */
.hero-dispatch-frame {
  position: relative;
  z-index: 10;
  width: clamp(410px, 34vw, 520px);
  aspect-ratio: 520 / 288;
  flex-shrink: 0;
  margin-top: 22px;
  display: flex;
  align-items: stretch;
  cursor: pointer;
  container-type: inline-size;
}

.hero-dispatch-frame[hidden] {
  display: none !important;
}

.hero-dispatch-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 5.5cqw 8.5cqw 5.5cqw 8.2cqw;
  display: grid;
  grid-template-columns: 33cqw minmax(0, 1fr);
  gap: 4cqw;
  align-items: stretch;
}

.hero-dispatch-content.no-media {
  grid-template-columns: 1fr;
  padding: 8cqw 11cqw;
}

.dispatch-media {
  position: relative;
  background: var(--stage);
  overflow: hidden;
  clip-path: polygon(11% 0, 100% 0, 89% 100%, 0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}

.dispatch-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.dispatch-media.is-cover {
  padding: 0;
}

.dispatch-media.is-cover img {
  object-fit: cover;
}

.hero-dispatch-frame:hover .dispatch-media img {
  transform: scale(1.03);
}

.dispatch-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  padding: 2px 0;
}

.dispatch-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.dispatch-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--green);
  white-space: nowrap;
}

.dispatch-eyebrow::before {
  content: '';
  width: 6px;
  height: 8px;
  background: var(--green);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.dispatch-date {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--silver);
  white-space: nowrap;
}

.dispatch-price {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--fuselage);
  white-space: nowrap;
}

.dispatch-title {
  margin: 4px 0 0;
  font-size: clamp(1rem, 3.8cqw, 1.22rem);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: var(--fuselage);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-dispatch-frame:hover .dispatch-title {
  text-decoration: underline;
  text-decoration-color: var(--fuselage);
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.dispatch-excerpt {
  margin: 0;
  font-size: clamp(0.76rem, 2.65cqw, 0.85rem);
  font-weight: 400;
  line-height: 1.48;
  color: var(--silver);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dispatch-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 2px;
}

.dispatch-all-btn {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--silver);
  padding: 4px 0;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.dispatch-all-btn:hover {
  color: var(--fuselage);
}

@media (max-width: 980px) {
  .hero-stage {
    height: auto;
    min-height: clamp(560px, 78vh, 840px);
    padding: 56px 0 calc(var(--seam-height) + 44px);
  }
  .hero-stage-grid {
    flex-direction: column;
    justify-content: center;
    gap: 28px;
  }
  .hero-dispatch-frame {
    margin-top: 0;
    width: min(520px, calc(100% - 24px));
  }
}

.hero-slab-bg-svg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.hero-slab-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-inline: 12cqw;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

.hero-stacked-logo-svg {
  width: 56.5cqw;
  height: auto;
  display: block;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 26px;
  background: var(--green);
  color: var(--ink-on-green);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn-primary:hover {
  background: var(--fuselage);
  color: var(--deep);
}

.btn-slant {
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
  padding: 11px 28px;
}

.btn-text {
  display: inline-flex;
  align-items: center;
  padding: 6px 2px;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--fuselage);
  border-bottom: 1px solid var(--silver);
  transition: border-color 0.15s ease, color 0.15s ease;
}

.btn-text:hover {
  border-bottom-color: var(--green);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid var(--hair-strong);
  color: var(--fuselage);
  background: transparent;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.btn-outline:hover {
  border-color: var(--fuselage);
  background: rgba(231, 232, 234, 0.06);
}

/* Corner reload control inside hero stage */
.hero-corner-tools {
  position: absolute;
  right: 24px;
  bottom: calc(var(--seam-height) + 12px);
  z-index: 12;
  display: flex;
}

.hero-reload-btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(46, 44, 45, 0.86);
  border: 1px solid var(--hair);
  color: var(--silver);
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.hero-reload-btn svg {
  width: 16px;
  height: 16px;
}

.hero-reload-btn:hover {
  border-color: var(--hair-strong);
  color: var(--fuselage);
  background: var(--deep);
}

/* ==========================================================================
   SINGLE BOLD GREEN HIGHLIGHT TRIANGLE + SHOP WEDGE
   ========================================================================== */

#view-home {
  --seam-height: clamp(68px, 6vw, 92px);
}

.shop-wedge-wrap {
  position: relative;
  z-index: 15;
  margin-top: -2px;
  background: transparent;
}

.shop-triangle-seam {
  position: absolute;
  left: 0;
  bottom: calc(100% - 2px);
  display: block;
  width: 100%;
  height: var(--seam-height);
  overflow: hidden;
  pointer-events: none;
}

.shop-wedge-wrap .shop-section {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: var(--deep);
  max-width: none;
  padding: 40px 0 96px;
}

.shop-wedge-wrap .shop-section > :not(.shop-tri-field) {
  max-width: var(--wrap);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.shop-wedge-wrap .shop-section > .shop-tri-field {
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  margin-bottom: calc(var(--header-h) - 100vh);
  max-width: none;
  padding: 0;
  z-index: -1;
  pointer-events: none;
  background: url(assets/brand/triangle_pattern_180.svg) no-repeat right -10vw top -4vh / 135vw auto;
  opacity: 0.72;
}

/* ==========================================================================
   SHOP SECTION — TONAL PLATES, SINGLE TOOLBAR, SPACED-TRIANGLE ICONS
   ========================================================================== */

.view-section { display: none; }
.view-section.active { display: block; }
#view-track,
#view-blog {
  background: var(--stage);
}

#shop {
  scroll-margin-top: var(--header-h);
}

.shop-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 8px;
}

.section-heading {
  margin: 0;
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--fuselage);
}

.shop-count {
  margin-left: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--green);
  vertical-align: super;
}

.shop-toolbar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 28px;
  padding: 20px 0;
  border-bottom: 1px solid var(--hair);
  margin-bottom: 44px;
}

.cat-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
}

.cat-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 0;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--silver);
  transition: color 0.15s ease, padding-left 0.15s ease;
}

.cat-tab svg {
  width: 15px;
  height: 15px;
  opacity: 0.72;
  flex-shrink: 0;
  transition: opacity 0.15s ease, color 0.15s ease;
}

.cat-tab:hover {
  color: var(--fuselage);
}

.cat-tab:hover svg {
  opacity: 0.95;
}

.cat-tab.active {
  color: var(--fuselage);
  padding-left: 13px;
}

.cat-tab.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 8px;
  transform: translateY(-50%);
  background: var(--green);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.cat-tab.active svg {
  color: var(--green);
  opacity: 1;
}

.cat-count {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--silver);
  opacity: 0.72;
  margin-left: 1px;
}

.cat-tab.active .cat-count {
  color: var(--green);
  opacity: 1;
}

.shop-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

.search-input {
  width: 200px;
  height: 36px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hair-strong);
  padding: 0 2px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--fuselage);
  outline: none;
  transition: border-color 0.15s ease;
}

.search-input::placeholder {
  color: var(--silver);
  opacity: 0.75;
}

.search-input:focus {
  border-bottom-color: var(--green);
}

.sort-select {
  appearance: none;
  -webkit-appearance: none;
  height: 36px;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='6' viewBox='0 0 8 6'%3E%3Cpolygon points='0,0 8,0 4,6' fill='%23A7A6A4'/%3E%3C/svg%3E") no-repeat right 2px center;
  border: 0;
  padding: 0 18px 0 4px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fuselage);
  cursor: pointer;
  outline: none;
}

.sort-select option {
  background: var(--deep);
  color: var(--fuselage);
}

/* Featured Product Spotlight */
.featured-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  background: var(--stage);
  padding: 28px;
  margin-bottom: 48px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.featured-spotlight:hover {
  background: var(--plate);
}

.featured-spotlight.is-hidden {
  display: none;
}

@media (max-width: 860px) {
  .featured-spotlight {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.featured-media {
  position: relative;
  height: 340px;
  background: var(--deep);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 12px;
}

.featured-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.featured-spotlight:hover .featured-media img {
  transform: scale(1.02);
}

.featured-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--green);
}

.featured-eyebrow::before {
  content: '';
  width: 6px;
  height: 8px;
  background: var(--green);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.featured-title {
  margin: 10px 0 6px;
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--fuselage);
}

.featured-spotlight:hover .featured-title {
  text-decoration: underline;
  text-decoration-color: var(--fuselage);
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.featured-price {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--fuselage);
  margin-bottom: 14px;
}

.featured-desc {
  color: var(--silver);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0 0 20px;
  max-width: 48ch;
}

.featured-variants {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.featured-var-chip {
  padding: 5px 11px;
  background: var(--deep);
  color: var(--silver);
  font-size: 0.8125rem;
  font-weight: 500;
}

/* Cardless Editorial Grid — Opaque Plates Hide Sticky Triangle Field */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 56px 28px;
}

@media (max-width: 1180px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 16px; }
}

.product-item {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  background: transparent;
}

.product-media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--stage);
  border: 0;
  overflow: hidden;
  transition: background 0.2s ease;
}

.product-item:hover .product-media {
  background: var(--plate);
}

.product-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-media img.alt-img { opacity: 0; }
.product-item:hover .product-media img.primary-img.has-alt { opacity: 0; }
.product-item:hover .product-media img.alt-img { opacity: 1; }
.product-item:hover .product-media img { transform: scale(1.02); }

.product-item.is-soldout .product-media img {
  filter: grayscale(0.7);
  opacity: 0.55;
}

.product-meta {
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.product-meta-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.product-title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--fuselage);
}

.product-item:hover .product-title {
  text-decoration: underline;
  text-decoration-color: var(--fuselage);
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.product-price {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fuselage);
  white-space: nowrap;
}

.product-sub {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  color: var(--silver);
}

/* ==========================================================================
   DEDICATED HATERS — STAGGERED EDITORIAL LAYOUT ON #3B393A
   ========================================================================== */

.haters-band {
  background: var(--stage);
  padding: 76px 0 88px;
}

.haters-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.haters-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 44px;
}

.haters-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.haters-quotes {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 32px 36px;
  align-items: start;
}

.hater-span-5 { grid-column: span 5; margin-top: 0; }
.hater-span-4 { grid-column: span 4; margin-top: 44px; }
.hater-span-3 { grid-column: span 3; margin-top: 14px; }

@media (max-width: 900px) {
  .haters-quotes { grid-template-columns: 1fr; }
  .hater-span-5, .hater-span-4, .hater-span-3 { grid-column: span 1; margin-top: 0; }
}

.hater-tag {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  color: var(--green);
  margin-bottom: 10px;
}

.hater-quote blockquote {
  margin: 0 0 12px;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--fuselage);
}

.hater-quote cite {
  font-style: normal;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  color: var(--silver);
}

/* ==========================================================================
   CONTACT BLOCK — @PERIGEEAERO.SHOP EMAIL ROUTING READY
   ========================================================================== */

#contact {
  scroll-margin-top: var(--header-h);
}

.contact-band {
  background: var(--stage);
  border-top: 1px solid var(--hair);
  padding: 72px 0 88px;
}

.contact-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 40px 64px;
  align-items: start;
}

@media (max-width: 900px) {
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.contact-lead {
  margin: 14px 0 28px;
  color: var(--silver);
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 42ch;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-channel-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-channel-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--fuselage);
}

.contact-channel-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-size: 1rem;
  font-weight: 600;
  color: var(--fuselage);
  border-bottom: 1px solid var(--silver);
  padding-bottom: 2px;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.contact-channel-link:hover {
  border-bottom-color: var(--green);
  color: var(--green);
}

.contact-channel-note {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--silver);
}

.contact-form-plate {
  background: var(--deep);
  padding: 32px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 600px) {
  .contact-row-2 {
    grid-template-columns: 1fr;
  }
}

.field-input.field-textarea {
  height: auto;
  min-height: 118px;
  padding: 12px 14px;
  resize: vertical;
  line-height: 1.5;
}

.field-input.field-select {
  appearance: none;
  -webkit-appearance: none;
  background-color: var(--plate);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='6' viewBox='0 0 8 6'%3E%3Cpolygon points='0,0 8,0 4,6' fill='%23A7A6A4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 34px;
  cursor: pointer;
}

.field-select option {
  background: var(--deep);
  color: var(--fuselage);
}

.contact-form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.contact-status {
  margin-top: 6px;
  padding: 14px 16px;
  background: var(--stage);
  border-left: 3px solid var(--green);
  color: var(--fuselage);
  font-size: 0.875rem;
  line-height: 1.55;
  display: none;
}

.contact-status.is-visible {
  display: block;
}

/* ==========================================================================
   SECONDARY VIEWS: TRACK ORDER / BLOG
   ========================================================================== */

.page-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px var(--gutter) 96px;
  min-height: calc(100vh - var(--header-h) - 220px);
}

.track-form {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 16px;
  align-items: end;
  padding: 24px;
  background: var(--deep);
}

@media (max-width: 760px) {
  .track-form { grid-template-columns: 1fr; }
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field-label {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  color: var(--silver);
}

.field-input {
  height: 44px;
  background: var(--plate);
  border: 0;
  color: var(--fuselage);
  padding: 0 14px;
  font-family: inherit;
  font-size: 0.9375rem;
  outline: none;
  transition: box-shadow 0.15s ease;
}

.field-input:focus {
  box-shadow: inset 0 -2px 0 var(--green);
}

.track-result {
  margin-top: 24px;
  background: var(--deep);
  padding: 32px;
}

.track-res-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--hair);
}

.track-res-eyebrow {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--green);
}

.track-res-status {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-top: 4px;
}

.track-res-email {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--silver);
}

.track-empty {
  color: var(--silver);
  font-size: 0.95rem;
}

/* Triangle-Node Trajectory Timeline */
.timeline {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

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

.tl-step {
  position: relative;
}

.tl-step:not(:last-child)::before {
  content: '';
  position: absolute;
  top: 7px;
  left: 16px;
  right: -20px;
  height: 2px;
  background: var(--hair-strong);
  z-index: 0;
}

.tl-step.done:not(:last-child)::before {
  background: var(--green);
}

@media (max-width: 720px) {
  .tl-step:not(:last-child)::before { display: none; }
}

.tl-node {
  position: relative;
  z-index: 1;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--deep);
  margin-bottom: 14px;
}

.tl-step.pending .tl-step-title,
.tl-step.pending .tl-step-meta {
  opacity: 0.55;
}

.tl-step-title {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--fuselage);
}

.tl-step-meta {
  margin-top: 3px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--silver);
}

/* Blog list */
.blog-list {
  margin-top: 32px;
  border-top: 1px solid var(--hair);
}

.blog-row {
  padding: 26px 0;
  border-bottom: 1px solid var(--hair);
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 24px;
  align-items: baseline;
  cursor: pointer;
}

.blog-row:hover .blog-row-title {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.blog-row-date {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--silver);
}

.blog-row-title {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.blog-row-excerpt {
  margin: 0;
  color: var(--silver);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Blog article reader */
.blog-article-meta {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 10px;
}

.blog-article-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--fuselage);
  margin: 0 0 24px;
  max-width: 780px;
}

.blog-article-body {
  max-width: 740px;
  color: var(--silver);
  font-size: 1rem;
  line-height: 1.75;
}

.blog-article-body h2,
.blog-article-body h3,
.blog-article-body h4 {
  color: var(--fuselage);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.28;
  margin: 30px 0 12px;
}

.blog-article-body p {
  margin: 0 0 16px;
}

.blog-article-body ul,
.blog-article-body ol {
  margin: 0 0 18px;
  padding-left: 24px;
}

.blog-article-body li {
  margin-bottom: 8px;
}

.blog-article-body a {
  color: var(--fuselage);
  border-bottom: 1px solid var(--green);
  transition: color 0.15s ease;
}

.blog-article-body a:hover {
  color: var(--green);
}

.blog-article-body hr {
  border: 0;
  border-top: 1px solid var(--hair);
  margin: 28px 0;
}

.blog-article-body blockquote {
  border-left: 3px solid var(--green);
  margin: 22px 0;
  padding: 4px 0 4px 18px;
  color: var(--fuselage);
}

.blog-figure {
  margin: 24px 0;
}

.blog-figure img {
  display: block;
  max-width: 100%;
  height: auto;
  background: var(--deep);
}

.blog-figcaption {
  margin-top: 8px;
  font-size: 0.8125rem;
  color: var(--silver);
}

/* ==========================================================================
   DEDICATED PRODUCT PAGE VIEW (#product/<slug>)
   ========================================================================== */

#view-product {
  background: var(--stage);
}

.product-page-shell {
  max-width: var(--wrap);
}

.pp-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 24px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--hair);
}

.pp-crumb {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--silver);
}

.pp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 56px;
  align-items: start;
}

@media (max-width: 900px) {
  .pp-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.pp-gallery-main {
  width: 100%;
  height: clamp(420px, 56vh, 600px);
  background: var(--deep);
  padding: 16px;
  object-fit: contain;
}

.pp-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.pp-thumb {
  width: 72px;
  height: 72px;
  border: 1px solid transparent;
  padding: 0;
  overflow: hidden;
  opacity: 0.62;
  background: var(--deep);
  transition: opacity 0.15s ease, border-color 0.15s ease;
}

.pp-thumb.active,
.pp-thumb:hover {
  border-color: var(--green);
  opacity: 1;
}

.pp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.pp-info {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

@media (max-width: 900px) {
  .pp-info {
    position: static;
  }
}

.pp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--green);
}

.pp-eyebrow::before {
  content: '';
  width: 6px;
  height: 8px;
  background: var(--green);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.pp-title {
  margin: 12px 0 8px;
  font-size: clamp(1.85rem, 2.8vw, 2.4rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--fuselage);
}

.pp-price {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--fuselage);
  margin-bottom: 20px;
}

.pp-desc {
  margin: 18px 0 24px;
  color: var(--silver);
  font-size: 0.98rem;
  line-height: 1.68;
}

.pp-buy-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
}

.pp-qty-ctrl {
  margin-top: 0;
  height: 44px;
}

.pp-qty-ctrl button {
  width: 38px;
  height: 42px;
}

.pp-qty-ctrl span {
  min-width: 40px;
}

.pp-meta-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

.pp-copy-feedback {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--green);
}

.pp-note {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--hair);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--silver);
}

.pp-related {
  margin-top: 72px;
  padding-top: 44px;
  border-top: 1px solid var(--hair);
}

.pp-related-heading {
  margin: 0 0 28px;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--fuselage);
}

/* ==========================================================================
   ARCHITECTURAL DRAWERS (PRODUCT DETAIL + CART)
   ========================================================================== */

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 18, 19, 0.72);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(540px, 100vw);
  background: var(--deep);
  border-left: 0;
  box-shadow: -24px 0 48px rgba(20, 18, 19, 0.45);
  z-index: 100;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}

.drawer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--green);
  z-index: 5;
}

.drawer.open { transform: translateX(0); }

.drawer-head {
  height: 64px;
  padding: 0 24px;
  border-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.drawer-title {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fuselage);
}

.drawer-head-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.drawer-page-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--silver);
  padding: 5px 8px;
  border-bottom: 1px solid var(--hair-strong);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.drawer-page-link:hover {
  color: var(--fuselage);
  border-bottom-color: var(--green);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 6px 24px 24px;
  scrollbar-color: rgba(231, 232, 234, 0.18) var(--deep);
  scrollbar-width: thin;
}

.drawer-foot {
  padding: 18px 24px;
  border-top: 0;
  background: var(--stage);
  flex-shrink: 0;
}

.pd-main-img {
  width: 100%;
  height: min(380px, 44vh);
  object-fit: contain;
  border: 0;
  background: var(--stage);
  padding: 8px;
}

.pd-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.pd-thumb {
  width: 58px;
  height: 58px;
  border: 1px solid transparent;
  overflow: hidden;
  padding: 0;
  opacity: 0.6;
  transition: opacity 0.15s ease, border-color 0.15s ease;
}

.pd-thumb.active,
.pd-thumb:hover {
  border-color: var(--green);
  opacity: 1;
}

.pd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--stage);
  padding: 2px;
}

.pd-title {
  margin: 18px 0 4px;
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--fuselage);
}

.pd-price {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--fuselage);
  margin-bottom: 16px;
}

.pd-desc {
  color: var(--silver);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 16px 0 20px;
}

.pd-note {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--silver);
  border-top: 1px solid var(--hair);
  padding-top: 14px;
}

.variant-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  margin-bottom: 18px;
}

.variant-btn {
  padding: 8px 14px;
  border: 1px solid var(--hair);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--fuselage);
  background: var(--stage);
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.variant-btn:hover:not(:disabled) {
  border-color: var(--hair-strong);
}

.variant-btn.active {
  border-color: var(--green);
  background: rgba(136, 198, 87, 0.1);
  color: var(--green);
}

.variant-btn:disabled {
  opacity: 0.35;
  text-decoration: line-through;
  cursor: not-allowed;
}

/* Cart items */
.cart-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--hair);
  align-items: center;
}

.cart-row img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  background: var(--stage);
}

.cart-item-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--fuselage);
}

.cart-item-var {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--silver);
  margin-top: 2px;
}

.cart-item-price {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--fuselage);
}

.cart-remove-btn {
  margin-top: 8px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--silver);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cart-remove-btn:hover { color: var(--fuselage); }

.qty-ctrl {
  display: inline-flex;
  border: 1px solid var(--hair);
  margin-top: 8px;
}

.qty-ctrl button {
  width: 28px;
  height: 28px;
  font-weight: 500;
}

.qty-ctrl span {
  min-width: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 500;
  border-left: 1px solid var(--hair);
  border-right: 1px solid var(--hair);
}

/* ==========================================================================
   FOOTER COLOPHON (0° UPRIGHT BOOKEND PATTERN)
   ========================================================================== */

.site-footer {
  position: relative;
  background: var(--deep) url(assets/brand/triangle_pattern_footer.svg) no-repeat left -6vw bottom -8vh / 75vw auto;
  border-top: 0;
  padding: 64px 0 44px;
  overflow: hidden;
}

.footer-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px 64px;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 320px;
}

.footer-brand-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--fuselage);
}

.footer-brand-note {
  margin-top: 4px;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--silver);
}

.footer-cols {
  display: flex;
  gap: 64px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--fuselage);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--silver);
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--fuselage);
}

.footer-colophon {
  max-width: var(--wrap);
  margin: 44px auto 0;
  padding: 20px var(--gutter) 0;
  border-top: 1px solid var(--hair);
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--silver);
}

/* ==========================================================================
   CART PROMO, SHIPPING QUOTE & LIVE STATUS (SHARED ACROSS VIEWPORTS)
   ========================================================================== */

.cart-promo-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-bottom: 12px;
}

.cart-promo-input {
  height: 38px;
  padding: 0 12px;
  background: var(--deep);
  border: 1px solid var(--hair);
  color: var(--fuselage);
  font-family: inherit;
  font-size: 0.875rem;
  outline: none;
  text-transform: uppercase;
}

.cart-promo-input::placeholder {
  color: var(--silver);
  opacity: 0.72;
  text-transform: none;
}

.cart-promo-input:focus {
  border-color: var(--green);
}

.cart-promo-btn {
  padding: 0 14px;
  height: 38px;
  font-size: 0.8125rem;
}

.cart-quote-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.cart-quote-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--silver);
}

.cart-quote-line.is-discount {
  color: var(--green);
}

.cart-quote-line.is-total {
  padding-top: 8px;
  border-top: 1px solid var(--hair);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--fuselage);
}

.cart-quote-msg {
  margin-top: 10px;
  padding: 10px 12px;
  background: var(--deep);
  border-left: 3px solid var(--green);
  color: var(--fuselage);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.cart-quote-msg.is-error {
  border-left-color: var(--danger);
}

.cart-quote-msg[hidden] {
  display: none !important;
}

.cart-region-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.cart-region-select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 36px;
  padding: 0 30px 0 12px;
  background-color: var(--deep);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='6' viewBox='0 0 8 6'%3E%3Cpolygon points='0,0 8,0 4,6' fill='%23A7A6A4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  border: 1px solid var(--hair);
  color: var(--fuselage);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  outline: none;
}

.cart-region-select:focus {
  border-color: var(--green);
}

.cart-region-select option {
  background: var(--deep);
  color: var(--fuselage);
}

.cart-nc-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--silver);
  cursor: pointer;
}

.cart-nc-toggle[hidden] {
  display: none !important;
}

.cart-nc-toggle input {
  accent-color: var(--green);
  width: 14px;
  height: 14px;
  margin: 0;
}

#view-checkout-success {
  background: var(--stage);
}

.checkout-confirm-card {
  max-width: 720px;
  background: var(--deep);
  border-top: 3px solid var(--green);
  padding: 32px;
}

.checkout-confirm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--green);
}

.checkout-confirm-eyebrow::before {
  content: '';
  width: 6px;
  height: 8px;
  background: var(--green);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.checkout-confirm-title {
  margin: 10px 0 8px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fuselage);
}

.checkout-confirm-sub {
  margin: 0 0 24px;
  color: var(--silver);
  font-size: 0.95rem;
  line-height: 1.55;
}

.checkout-confirm-items {
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  padding: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkout-confirm-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  font-size: 0.92rem;
  color: var(--fuselage);
}

.checkout-confirm-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 16px;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--fuselage);
}

.checkout-confirm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

/* ==========================================================================
   DESKTOP-HIDDEN MOBILE MENU CONTROLS & RESPONSIVE MOBILE LAYOUT
   ========================================================================== */

.mobile-menu-btn {
  display: none;
}

.mobile-menu-btn .menu-icon-close {
  display: none;
}

.mobile-menu-btn.is-open .menu-icon-open {
  display: none;
}

.mobile-menu-btn.is-open .menu-icon-close {
  display: block;
}

.mobile-nav-drawer[hidden],
.mobile-nav-backdrop[hidden] {
  display: none !important;
}

@media (max-width: 760px) {
  :root {
    --header-h: 60px;
    --gutter: 18px;
    --tri-y: -90px;
  }

  #view-home {
    --seam-height: clamp(44px, 9vw, 62px);
  }

  .site-header,
  .hero-stage {
    background-size: max(100vw, 760px) auto;
  }

  .header-inner {
    padding: 0 16px;
    gap: 12px;
  }

  .brand-lockup,
  .brand-main-svg {
    height: 32px;
  }

  .main-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .header-actions {
    gap: 4px;
  }

  .icon-btn {
    width: 40px;
    height: 40px;
  }

  .icon-btn svg {
    width: 19px;
    height: 19px;
  }

  .icon-btn svg.icon-cart-svg {
    width: 23px;
    height: 17px;
  }

  .mobile-nav-backdrop {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: rgba(20, 18, 19, 0.64);
    z-index: 57;
  }

  .mobile-nav-drawer {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 58;
    background: var(--deep);
    border-top: 1px solid var(--hair);
    border-bottom: 2px solid var(--green);
    display: flex;
    flex-direction: column;
    padding: 8px 16px 16px;
    box-shadow: 0 18px 36px rgba(10, 9, 10, 0.55);
  }

  .mobile-nav-link {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 4px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--silver);
    border-bottom: 1px solid var(--hair);
  }

  .mobile-nav-link.active {
    color: var(--fuselage);
    padding-left: 16px;
  }

  .mobile-nav-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 8px;
    transform: translateY(-50%);
    background: var(--green);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
  }

  .mobile-nav-ext {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-top: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--silver);
  }

  /* Hero Stage + Flow Banner on Mobile (Zero Overlap) */
  .hero-stage {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    height: auto;
    min-height: clamp(520px, 78svh, 760px);
    padding: 0 0 calc(var(--seam-height) + 64px);
  }

  .announce-bar {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
    min-height: 40px;
    padding-bottom: 9px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), 0 100%);
  }

  .announce-inner {
    padding: 9px 44px 6px 16px;
    font-size: 0.8125rem;
    gap: 4px 10px;
    justify-content: flex-start;
    text-align: left;
  }

  .announce-bar.is-marquee .announce-inner {
    padding: 9px 44px 6px 0;
    justify-content: flex-start;
  }

  .announce-close {
    right: 8px;
    top: calc(50% - 3px);
    width: 32px;
    height: 32px;
  }

  .hero-stage-grid {
    width: 100%;
    padding: 26px 16px 0;
    gap: 20px;
  }

  .hero-stage.has-banner .hero-stage-grid {
    padding-top: 20px;
  }

  .rocket-field {
    width: max(100%, 1160px);
  }

  .hero-slab-frame {
    width: min(320px, calc(100% - 12px));
  }

  .hero-slab-content {
    gap: 14px;
  }

  .hero-cta-row {
    gap: 16px;
  }

  .hero-cta-row .btn-slant {
    padding: 10px 22px;
    font-size: 0.9rem;
  }

  .hero-corner-tools {
    right: 14px;
    bottom: calc(var(--seam-height) + 10px);
  }

  .hero-reload-btn {
    width: 40px;
    height: 40px;
  }

  /* Shop Toolbar & Horizontal Category Rail */
  .section-heading {
    font-size: clamp(1.85rem, 6.5vw, 2.35rem);
  }

  .shop-wedge-wrap .shop-section {
    padding: 28px 0 64px;
  }

  .shop-wedge-wrap .shop-section > .shop-tri-field {
    background-size: max(135vw, 760px) auto;
  }

  .shop-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 14px 0 18px;
    margin-bottom: 28px;
  }

  .cat-strip {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 16px;
    padding: 2px 0 6px;
  }

  .cat-strip::-webkit-scrollbar {
    display: none;
  }

  .cat-tab {
    white-space: nowrap;
    flex-shrink: 0;
    min-height: 36px;
    font-size: 0.875rem;
  }

  .shop-controls {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .search-input {
    width: 100%;
    min-width: 0;
    height: 40px;
    font-size: 1rem;
  }

  .sort-select {
    height: 40px;
    font-size: 0.875rem;
  }

  /* Featured Spotlight & Grid */
  .featured-spotlight {
    padding: 18px;
    gap: 18px;
    margin-bottom: 32px;
  }

  .featured-media {
    height: 220px;
    padding: 10px;
  }

  .featured-title {
    font-size: 1.35rem;
  }

  .featured-desc {
    font-size: 0.875rem;
    margin-bottom: 16px;
  }

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

  .product-meta-top {
    gap: 6px;
    align-items: flex-start;
  }

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

  .product-price {
    font-size: 0.84rem;
  }

  .product-sub {
    font-size: 0.75rem;
  }

  /* Dedicated Haters & Contact */
  .haters-band {
    padding: 52px 0 60px;
  }

  .haters-head {
    margin-bottom: 28px;
    gap: 12px;
  }

  .hater-quote blockquote {
    font-size: 1.08rem;
  }

  .contact-band {
    padding: 52px 0 64px;
  }

  .contact-form-plate {
    padding: 20px;
  }

  /* Secondary Views */
  .page-shell,
  .product-page-shell,
  .pp-grid > div,
  .pp-info {
    min-width: 0;
  }

  .page-shell {
    padding: 28px var(--gutter) 64px;
  }

  .track-form {
    padding: 18px;
    gap: 14px;
  }

  .track-form .btn-primary {
    width: 100%;
    height: 46px;
  }

  .track-result {
    padding: 20px;
  }

  .field-input {
    font-size: 1rem;
  }

  /* Dedicated Product Page Mobile */
  .pp-bar {
    padding-bottom: 16px;
    margin-bottom: 24px;
    gap: 10px;
  }

  .pp-gallery-main {
    height: clamp(260px, 42vh, 360px);
    padding: 10px;
  }

  .pp-thumbs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .pp-thumb {
    width: 58px;
    height: 58px;
    flex-shrink: 0;
  }

  .pp-title {
    font-size: 1.55rem;
  }

  .pp-price {
    font-size: 1.15rem;
    margin-bottom: 16px;
  }

  .pp-buy-row {
    gap: 10px;
    flex-wrap: wrap;
  }

  .pp-related {
    margin-top: 48px;
    padding-top: 32px;
  }

  /* Footer Mobile */
  .site-footer {
    padding: 48px 0 calc(36px + env(safe-area-inset-bottom, 0px));
    background-size: max(75vw, 520px) auto;
  }

  .footer-inner {
    gap: 32px;
  }

  .footer-cols {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-colophon {
    margin-top: 32px;
  }
}

@media (max-width: 720px) {
  .timeline {
    gap: 0;
    margin-top: 24px;
  }

  .tl-step {
    padding-left: 28px;
    padding-bottom: 22px;
  }

  .tl-step:last-child {
    padding-bottom: 0;
  }

  .tl-node {
    position: absolute;
    left: 0;
    top: 2px;
    margin-bottom: 0;
  }

  .tl-step:not(:last-child)::before {
    display: block;
    top: 18px;
    bottom: 0;
    left: 7px;
    right: auto;
    width: 2px;
    height: auto;
  }
}

@media (max-width: 700px) {
  .blog-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px 0;
  }

  .blog-row-title {
    font-size: 1.15rem;
    margin-bottom: 4px;
  }

  .blog-row-excerpt {
    font-size: 0.9rem;
  }

  .blog-article-body {
    font-size: 0.95rem;
    line-height: 1.7;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 600px) {
  :root {
    --gutter: 16px;
  }

  /* Hero Feature Card: Sharp Two-Tone Silver Inverted-L + Green L Border Without Slant Clipping */
  .hero-dispatch-frame {
    width: min(360px, 100%);
    aspect-ratio: auto;
    height: auto;
    background: rgba(46, 44, 45, 0.96);
    border-top: 2.5px solid var(--silver);
    border-left: 2.5px solid var(--silver);
    border-right: 2.5px solid var(--green);
    border-bottom: 2.5px solid var(--green);
  }

  .hero-dispatch-frame > .hero-slab-bg-svg {
    display: none;
  }

  .hero-dispatch-content {
    padding: 14px;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
    align-items: stretch;
  }

  .hero-dispatch-content.no-media {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .dispatch-media {
    clip-path: none;
    min-height: 108px;
    padding: 6px;
  }

  .dispatch-meta {
    flex-wrap: wrap;
    gap: 4px 8px;
  }

  .dispatch-title {
    font-size: 0.98rem;
  }

  .dispatch-excerpt {
    font-size: 0.8125rem;
    -webkit-line-clamp: 2;
  }

  .dispatch-actions {
    gap: 8px;
  }

  /* Full-Width Touch Drawers */
  .drawer {
    width: 100vw;
    max-width: 100vw;
  }

  .drawer-head {
    height: 58px;
    padding: 0 16px;
  }

  .drawer-body {
    padding: 6px 16px 20px;
  }

  .drawer-foot {
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
  }

  .pd-main-img {
    height: min(280px, 36vh);
  }

  .pd-thumbs {
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .cart-row {
    grid-template-columns: 60px minmax(0, 1fr) auto;
    gap: 12px;
  }

  .cart-row img {
    width: 60px;
    height: 60px;
  }

  .qty-ctrl button {
    width: 34px;
    height: 34px;
  }

  .featured-spotlight .btn-primary,
  .contact-form-foot .btn-primary {
    width: 100%;
  }
}

@media (hover: none) {
  .product-item:hover .product-media img.primary-img.has-alt {
    opacity: 1;
  }

  .product-item:hover .product-media img.alt-img {
    opacity: 0;
  }

  .product-item:hover .product-media img {
    transform: none;
  }
}
