/* ================================================
   CYBER APPAREL CO. — DESIGN SYSTEM v2
   ================================================ */

@font-face {
  font-family: 'IBMPlexMono';
  src: url('../fonts/IBMPlexMono-ExtraLight.ttf') format('truetype');
  font-weight: 200;
  font-display: swap;
}
@font-face {
  font-family: 'IBMPlexMono';
  src: url('../fonts/IBMPlexMono-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}

/* --- TOKENS --- */
:root {
  --black: #000000;
  --white: #ffffff;
  --off-white: #f0f0ec;
  --dim: #555555;
  --dimmer: #2a2a2a;
  --border: rgba(255,255,255,0.08);
  --border-bright: rgba(255,255,255,0.18);
  --mint: #00ffcc;
  --rose: #ff2d78;
  --font: 'IBMPlexMono', 'Courier New', monospace;
  --max-w: 1200px;
  --nav-h: 56px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-weight: 200;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: crosshair;
}

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

/* Scanlines — subtle */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.03) 2px,
    rgba(0,0,0,0.03) 4px
  );
  pointer-events: none;
  z-index: 9998;
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar { width: 2px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--white); }

/* ================================================
   CURSOR FOLLOWER
   ================================================ */
.cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--white);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, background 0.2s, width 0.2s, height 0.2s;
  mix-blend-mode: difference;
}
.cursor-ring {
  position: fixed;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: transform 0.12s var(--ease), width 0.3s, height 0.3s, border-color 0.3s;
}
body:has(a:hover:not(.btn)) .cursor-ring {
  width: 48px;
  height: 48px;
  border-color: var(--mint);
}

/* ================================================
   NAV
   ================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  z-index: 1000;
}

.nav-logo {
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-logo-mark {
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  letter-spacing: 0;
  font-weight: 600;
  flex-shrink: 0;
}

.nav-logo-sigil {
  height: calc(var(--nav-h) - 16px);
  width: auto;
  display: block;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  transition: color 0.2s;
  font-weight: 200;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }

.nav-cta {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--white);
  color: var(--white);
  background: transparent;
  transition: background 0.2s, color 0.2s;
  font-weight: 200;
}
.nav-cta:hover { background: var(--white); color: var(--black); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.3s;
}
.nav-hamburger { position: relative; z-index: 1001; align-items: center; justify-content: center; min-width: 36px; min-height: 36px; touch-action: manipulation; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
@media (max-width: 900px) {
  .nav-hamburger { display: flex; }
  .mobile-menu { z-index: 999; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--nav-h);
  bottom: 0;
  display: block;
  background: var(--black);
  z-index: 998;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-inner {
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 0 0 max(1rem, env(safe-area-inset-bottom));
}
.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 64px;
  box-sizing: border-box;
  font-size: 1.05rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dim);
  padding: 1rem 1.25rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.mobile-menu a:hover,
.mobile-menu a:focus-visible,
.mobile-menu a.active { color: var(--white); }

/* ================================================
   PAGE WRAP
   ================================================ */
.page-wrap { padding-top: var(--nav-h); }
.page-wrap { overflow-x: clip; }

/* ================================================
   HERO — DIAGONAL CASCADE
   ================================================ */
.hero {
  min-height: calc(100svh - var(--nav-h));
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

/* Left: massive cascade text */
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3rem 4rem 2.5rem;
  position: relative;
  z-index: 2;
}

.hero-pre {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero-pre::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--dim);
}

/* The shirt cascade — mirrored from garment design */
.cascade {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.cascade-line {
  font-size: clamp(2.2rem, 4.5vw, 4.2rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateY(20px);
  animation: cascade-in 0.6s var(--ease) forwards;
  white-space: nowrap;
}

/* Each line steps right — exactly like the shirt */
.cascade-line:nth-child(1) { margin-left: 0;    animation-delay: 0.1s; }
.cascade-line:nth-child(2) { margin-left: 0;    animation-delay: 0.2s; font-size: clamp(1rem, 2vw, 1.5rem); color: var(--dim); font-weight: 200; }
.cascade-line:nth-child(3) { margin-left: clamp(1rem,  3vw, 3rem); animation-delay: 0.3s; }
.cascade-line:nth-child(4) { margin-left: clamp(2rem,  5vw, 5rem); animation-delay: 0.4s; }
.cascade-line:nth-child(5) { margin-left: clamp(3rem,  7vw, 7rem); animation-delay: 0.5s; }
.cascade-line:nth-child(6) { margin-left: clamp(4rem,  9vw, 9rem); animation-delay: 0.6s; }
.cascade-line:nth-child(7) { margin-left: clamp(5rem, 11vw, 11rem); animation-delay: 0.7s; }
.cascade-line:nth-child(8) { margin-left: 0;    animation-delay: 0.85s; font-size: clamp(1rem, 2vw, 1.5rem); color: var(--dim); font-weight: 200; margin-top: 1rem; }

@keyframes cascade-in {
  to { opacity: 1; transform: translateY(0); }
}

.hero-sub {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  opacity: 0;
  animation: cascade-in 0.6s var(--ease) 1s forwards;
}

.hero-desc {
  font-size: 0.78rem;
  color: var(--dim);
  max-width: 340px;
  line-height: 1.8;
  font-weight: 200;
}

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

/* Right: shirt reveal */
.hero-right {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #050505;
}

.hero-shirt-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
}

.hero-shirt {
  max-height: 85vh;
  width: auto;
  object-fit: contain;
  opacity: 0;
  animation: shirt-in 1s var(--ease) 0.4s forwards;
  filter: drop-shadow(0 0 60px rgba(255,255,255,0.04));
  position: relative;
  z-index: 2;
}

@keyframes shirt-in {
  from { opacity: 0; transform: scale(0.96) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.hero-shirt-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(255,255,255,0.025) 0%, transparent 70%);
  pointer-events: none;
}

/* Flip toggle */
.shirt-flip-btn {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
  background: none;
  border: 1px solid var(--border);
  padding: 0.5rem 0.875rem;
  transition: all 0.2s;
  z-index: 10;
}

/* Vertical rule between hero cols */
.hero::after {
  content: '';
  position: absolute;
  top: 10%;
  bottom: 10%;
  left: 50%;
  width: 1px;
  background: var(--border);
  pointer-events: none;
}

/* ================================================
   TICKER TAPE
   ================================================ */
.ticker {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  height: 38px;
  display: flex;
  align-items: center;
  background: #050505;
}

.ticker-inner {
  display: flex;
  white-space: nowrap;
  animation: ticker-scroll 28s linear infinite;
}

.ticker-item {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
  padding: 0 2rem;
  flex-shrink: 0;
}

.ticker-item span { color: var(--white); }

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

/* ================================================
   BUTTONS
   ================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 200;
  padding: 0.75rem 1.75rem;
  border: 1px solid var(--white);
  color: var(--white);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

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

.btn-sm {
  font-size: 0.58rem;
  padding: 0.55rem 1.25rem;
}

.btn-mint {
  border-color: var(--mint);
  color: var(--mint);
}

/* ================================================
   SECTION STRUCTURE
   ================================================ */
.section { padding: 6rem 0; }
.section-sm { padding: 3rem 0; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-label {
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--dim);
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

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

/* ================================================
   PRODUCT SECTION
   ================================================ */
.product-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 90vh;
}

/* Gallery rail */
.product-gallery {
  position: sticky;
  top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  background: #060606;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.gallery-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  position: relative;
}

.gallery-main img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.gallery-main img.switching {
  opacity: 0;
  transform: scale(0.97);
}

.gallery-thumbs {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--border);
  height: 88px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--white) #060606;
}
.gallery-thumbs::-webkit-scrollbar { height: 6px; }
.gallery-thumbs::-webkit-scrollbar-track { background: #060606; }
.gallery-thumbs::-webkit-scrollbar-thumb { background: var(--white); }
.gallery-thumbs::-webkit-scrollbar-thumb:hover { background: var(--off-white); }

.gallery-thumb {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-right: 1px solid var(--border);
  padding: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.4;
  transition: opacity 0.2s;
  background: none;
  border-top: none;
  border-bottom: none;
  border-left: none;
}
.gallery-thumb:first-child { border-left: 1px solid var(--border); }
.gallery-thumb.active { opacity: 1; border-bottom: 2px solid var(--white); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }

/* Product details */
.product-details {
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  overflow-y: auto;
}

.product-tag {
  font-size: 0.58rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--dim);
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--border);
  display: inline-block;
}

.product-name {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.product-price {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.product-desc {
  font-size: 0.78rem;
  color: var(--dim);
  line-height: 1.9;
  font-weight: 200;
  max-width: 440px;
}

/* Size selector */
.size-label {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 0.75rem;
}

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

.size-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: none;
  font-family: var(--font);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--dim);
  transition: all 0.15s;
  cursor: pointer;
}
.size-btn.selected { border-color: var(--white); color: var(--white); background: var(--white); color: var(--black); }

/* Spec list */
.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
}

.spec-item {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.spec-key {
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 200;
}

.spec-val {
  font-size: 0.72rem;
  font-weight: 200;
  letter-spacing: 0.05em;
}

/* Hash reveal */
.hash-reveal {
  border: 1px solid var(--border);
  overflow: hidden;
}

.hash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: var(--dimmer);
  cursor: pointer;
  transition: background 0.2s;
}
.hash-header:hover { background: #333; }

.hash-header-label {
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
}

.hash-header-icon {
  font-size: 0.65rem;
  color: var(--dim);
  transition: transform 0.3s;
}
.hash-reveal.open .hash-header-icon { transform: rotate(45deg); }

.hash-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.hash-reveal.open .hash-body { max-height: 300px; }

.hash-row {
  padding: 0.6rem 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hash-field-label {
  font-size: 0.52rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
}

.hash-value {
  font-size: 0.6rem;
  color: var(--mint);
  word-break: break-all;
  line-height: 1.5;
}

/* ================================================
   LIFESTYLE / EDITORIAL
   ================================================ */
.editorial-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 1px;
  background: var(--border);
}

.ed-cell {
  background: var(--black);
  overflow: hidden;
  position: relative;
}

.ed-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease), filter 0.4s;
  filter: grayscale(0.2);
}
.ed-cell:hover img {
  transform: scale(1.04);
  filter: grayscale(0);
}

.ed-cell-1 { grid-column: 1 / 8;  grid-row: 1; min-height: 480px; }
.ed-cell-2 { grid-column: 8 / 13; grid-row: 1; }
.ed-cell-3 { grid-column: 1 / 5;  grid-row: 2; min-height: 360px; }
.ed-cell-4 { grid-column: 5 / 9;  grid-row: 2; }
.ed-cell-5 { grid-column: 9 / 13; grid-row: 2; }

.ed-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.25rem;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  opacity: 0;
  transition: opacity 0.3s;
}
.ed-cell:hover .ed-caption { opacity: 1; }

/* ================================================
   PHILOSOPHY / TEXT SECTION
   ================================================ */
.philosophy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.philosophy-statement {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.philosophy-statement .accent { color: var(--dim); font-weight: 200; }

.philosophy-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.philosophy-body p {
  font-size: 0.8rem;
  color: var(--dim);
  line-height: 1.9;
  font-weight: 200;
}

.principle-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 1rem;
}

.principle-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.principle-num {
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  color: var(--dim);
  padding-top: 0.15rem;
}

.principle-text {
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--dim);
  font-weight: 200;
}

.principle-text strong {
  color: var(--white);
  font-weight: 600;
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}

/* ================================================
   VERIFY PAGE
   ================================================ */
.verify-hero {
  min-height: 40vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--border);
}

.verify-form-wrap {
  max-width: 640px;
  margin-top: 2rem;
}

.verify-label {
  font-size: 0.58rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--dim);
  display: block;
  margin-bottom: 0.6rem;
}

.verify-input-row {
  display: flex;
}

.verify-input {
  flex: 1;
  background: transparent;
  border: 1px solid var(--border-bright);
  border-right: none;
  padding: 1rem 1.25rem;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 200;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s;
  letter-spacing: 0.08em;
}
.verify-input:focus { border-color: var(--white); }
.verify-input::placeholder { color: var(--dim); }

.verify-submit {
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--white);
  padding: 1rem 1.75rem;
  font-family: var(--font);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 200;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.verify-hint {
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  color: var(--dim);
  margin-top: 0.6rem;
}

/* Result card */
.verify-result { display: none; padding: 4rem 0; }
.verify-result.visible { display: block; }

.result-card {
  border: 1px solid var(--border);
  padding: 2.5rem;
  max-width: 760px;
}
.result-card.authentic { border-color: var(--mint); }
.result-card.not-found { border-color: var(--rose); }

.result-status {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.status-pip {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.status-pip.ok { background: var(--mint); box-shadow: 0 0 8px var(--mint); animation: pip-pulse 2s infinite; }
.status-pip.err { background: var(--rose); }

@keyframes pip-pulse {
  0%,100% { opacity:1; }
  50% { opacity:0.3; }
}

.result-status-text {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 200;
}

.result-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 0.5rem 1.5rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.78rem;
  align-items: baseline;
}
.result-row:last-child { border-bottom: none; }

.result-key {
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 200;
}

.result-val { color: var(--off-white); word-break: break-all; }
.result-val.mono { font-size: 0.62rem; color: var(--mint); }

.result-hash {
  font-size: 0.58rem;
  color: var(--mint);
  word-break: break-all;
  line-height: 1.6;
  padding: 0.4rem 0.6rem;
  background: rgba(0,255,204,0.04);
  border: 1px solid rgba(0,255,204,0.12);
}

.result-badge {
  display: inline-block;
  font-size: 0.52rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--mint);
  color: var(--mint);
  margin: 0.1rem;
}

/* ================================================
   MARKS TABLE
   ================================================ */
.marks-table {
  width: 100%;
  border-collapse: collapse;
}
.marks-table th {
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
  text-align: left;
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--border);
  font-weight: 200;
}
.marks-table td {
  padding: 0.85rem 1rem;
  font-size: 0.72rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  vertical-align: middle;
}
.marks-table tr:hover td { background: rgba(255,255,255,0.015); }
.mark-id { color: var(--mint); font-size: 0.68rem; letter-spacing: 0.05em; }

/* ================================================
   LEGAL BLOCKS
   ================================================ */
.legal-block {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}
.legal-block:last-child { border-bottom: 1px solid var(--border); }

.legal-block-title {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.legal-block-title::before {
  content: '';
  display: block;
  width: 16px;
  height: 1px;
  background: var(--dim);
}

.legal-body {
  font-size: 0.78rem;
  color: var(--dim);
  line-height: 1.9;
  max-width: 680px;
  font-weight: 200;
}
.legal-body p + p { margin-top: 1rem; }

.notice-box {
  border: 1px solid rgba(255,45,120,0.25);
  background: rgba(255,45,120,0.04);
  padding: 1.25rem 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 3rem;
}
.notice-tag {
  font-size: 0.52rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose);
  white-space: nowrap;
  padding-top: 0.1rem;
}
.notice-text {
  font-size: 0.75rem;
  color: var(--dim);
  line-height: 1.8;
}

/* ================================================
   ABOUT
   ================================================ */
.about-opener {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  border-bottom: 1px solid var(--border);
  padding-bottom: 4rem;
  margin-bottom: 4rem;
  max-width: 700px;
}
.about-opener .muted { color: var(--dim); font-weight: 200; }

/* ================================================
   FOOTER
   ================================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.footer-brand { grid-column: 1 / 3; }

.footer-logo {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-tagline {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  line-height: 1.6;
  font-weight: 200;
}

.footer-col-title {
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 1rem;
  font-weight: 200;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  transition: color 0.2s;
  font-weight: 200;
}
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 200;
}

/* ================================================
   SCROLL REVEAL
   ================================================ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero::after { display: none; }
  .hero-right { min-height: 50vh; order: -1; }
  .hero-shirt { max-height: 45vh; }

  .product-section { grid-template-columns: 1fr; }
  .product-gallery { position: relative; height: 60vh; top: auto; }

  .editorial-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ed-cell-1 { grid-column: 1 / -1; }
  .ed-cell-2, .ed-cell-3, .ed-cell-4, .ed-cell-5 { grid-column: span 1; min-height: 220px; }

  .philosophy { grid-template-columns: 1fr; gap: 3rem; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .result-row { grid-template-columns: 1fr; gap: 0.2rem; }
}

@media (max-width: 600px) {
  .hero-left { padding: 2rem 1.5rem; }
  .cascade-line:nth-child(n) { margin-left: 0 !important; }

  .container { padding: 0 1.25rem; }
  .section { padding: 4rem 0; }

  .editorial-grid { grid-template-columns: 1fr; }
  .ed-cell { grid-column: 1 / -1 !important; min-height: 260px; }

  .footer-grid { grid-template-columns: 1fr; }

  .product-details { padding: 2rem 1.5rem; }
  .spec-grid { grid-template-columns: 1fr; }

  .philosophy-statement { font-size: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* ================================================
   REQUESTED BUILD OVERRIDES — D001 VERIFIED EDITION
   ================================================ */

/* 1) Home hero image bounded at wide desktop sizes. */
.hero-shirt-wrap { min-width: 0; min-height: 0; }
.hero-shirt {
  width: auto;
  height: auto;
  max-width: min(84%, 720px);
  max-height: min(78vh, 760px);
}
@media (min-width: 1920px) {
  .hero-shirt { max-width: 680px; max-height: 720px; }
}

/* 2) Body-copy scale: 3x the original body-copy declarations. */

/* Inline body-copy declarations in the original HTML are scaled by JS. */
.body-copy-3x { line-height: 1.75; }

/* 3) Page galleries. */
.page-gallery-section { padding-top: 3rem; padding-bottom: 3rem; }
.page-gallery {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: 0;
  background: #060606;
  border: 1px solid var(--border);
}
.page-gallery-main {
  min-height: 520px;
  height: 60vh;
  max-height: 760px;
}
.page-gallery-main img { width: 100%; height: 100%; object-fit: contain; }

/* 5) Universal load cascade: every visible text cluster enters on first load. */
.cascade-page .cascade-text {
  opacity: 0;
  transform: translate3d(calc(min(9vw, 6rem) * var(--cascade-index) / 24), 18px, 0);
  animation: universal-cascade-in 0.62s var(--ease) calc(var(--cascade-index) * 38ms) both;
  will-change: transform, opacity;
}
.cascade-page .cascade-reveal-parent {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
@keyframes universal-cascade-in {
  from { opacity: 0; transform: translate3d(calc(min(9vw, 6rem) * var(--cascade-index) / 24), 18px, 0); }
  to { opacity: 1; transform: translate3d(calc(min(9vw, 6rem) * var(--cascade-index) / 24), 0, 0); }
}

/* The Home hero retains its original diagonal typography cascade. The remaining Home text,
   navigation, controls, and footer copy participate in the same staggered load sequence. */
.cascade-page .hero .cascade-line { animation-name: cascade-in; }

@media (max-width: 900px) {
  .hero-shirt { max-width: 82%; max-height: 45vh; }
  .page-gallery-main { height: 50vh; min-height: 360px; }
}
@media (max-width: 600px) {
  .page-gallery-main { height: 42vh; min-height: 280px; }
}

/* ================================================
   HOME-ONLY TERMINAL OUTPUT CASCADE
   ================================================ */
body.terminal-cascade-ready .home-terminal-token {
  display: inline;
  opacity: 0;
  animation: home-terminal-line-in 0.72s var(--ease) var(--home-cascade-delay) both;
  will-change: opacity, transform;
}
body.terminal-cascade-ready .home-terminal-cascade-parent {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
@keyframes home-terminal-line-in {
  from { opacity: 0; transform: translate3d(0, 10px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* Let rendered line tokens control timing instead of the shared element cascade. */
body.terminal-cascade-ready .cascade-text {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

/* Global text color override requested for the full site release. */
body,
body * {
  color: #F5F5F5F5 !important;
}
body *::before,
body *::after {
  color: #F5F5F5F5 !important;
}
input::placeholder,
textarea::placeholder {
  color: #F5F5F5F5 !important;
  opacity: 1;
}


/* ================================================
   V4 USER REQUESTS
   ================================================ */
/* Universal body-copy size: exactly 14 CSS points. */
body,
body p,
body li,
body td,
body th,
body label,
body input,
body textarea,
body select,
body blockquote,
body dd,
body dt,
body figcaption,
body .hero-desc,
body .philosophy-body p,
body .product-desc,
body .notice-text,
body .verify-hint,
body .legal-body,
body .legal-body p,
body .footer-tagline,
body .footer-links a,
body .footer-copy,
body .four-oh-four-content p {
  font-size: 14pt !important;
}

/* Restore original footer typography on every page. The universal body-copy
   rule above intentionally excludes these design-system footer sizes. */
.footer-logo { font-size: 0.72rem !important; }
body .footer-tagline { font-size: 0.62rem !important; }
.footer-col-title { font-size: 0.55rem !important; }
body .footer-links a { font-size: 0.65rem !important; }
body .footer-copy { font-size: 0.58rem !important; }

/* Universal button highlight suppression: preserve each button's resting state on hover/focus. */
button,
.btn,
a.btn { -webkit-tap-highlight-color: transparent; }
.btn:hover { background: transparent; color: var(--white); }
.btn-fill:hover { background: var(--white); color: var(--black); }
.btn-mint:hover { background: transparent; color: var(--mint); }
.nav-hamburger:hover { background: none; border: none; }
.shirt-flip-btn:hover { border-color: var(--border); color: var(--dim); }
.gallery-thumb:hover { opacity: 0.4; }
.gallery-thumb.active:hover { opacity: 1; }
.size-btn:hover { border-color: var(--border); color: var(--dim); }
.verify-submit:hover { background: var(--white); color: var(--black); }
button:focus,
button:focus-visible,
a.btn:focus,
a.btn:focus-visible {
  outline: none;
  box-shadow: none;
}

/* Drop 001 gallery/footer boundary: let the document define the section height so the sticky gallery cannot underlap the footer. */
.product-section {
  min-height: 0;
  align-items: stretch;
}
.product-details {
  overflow-y: visible;
}
.product-gallery {
  position: sticky;
  top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  align-self: start;
}
.footer {
  position: relative;
  z-index: 20;
  width: 100%;
  clear: both;
  background: var(--black);
}

/* Drop 001 gallery/footer geometry. */
.product-section {
  min-height: 0;
  align-items: stretch;
}
.product-gallery {
  position: sticky;
  top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  align-self: start;
}
.product-details {
  overflow-y: visible;
}
.footer {
  position: relative;
  z-index: 20;
  width: 100%;
  clear: both;
  background: var(--black);
}

/* Drop 001 purchase control: shiny metallic gold border. */
.drop-buy-btn {
  border: 1px solid transparent !important;
  border-image: linear-gradient(
    135deg,
    #6f5100 0%,
    #d4af37 18%,
    #fff4a3 36%,
    #d4af37 52%,
    #8f6b00 72%,
    #f8df77 88%,
    #725400 100%
  ) 1;
  box-shadow: 0 0 16px rgba(212,175,55,0.16), inset 0 0 8px rgba(255,244,163,0.04);
}
.drop-buy-btn:hover {
  background: var(--white) !important;
  color: var(--black) !important;
}

/* Drop 001 full-screen gallery lightbox. */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(0,0,0,0.96);
  cursor: zoom-out;
}
.gallery-lightbox.open { display: flex; }
.gallery-lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  transform-origin: center center;
  transition: transform 0.15s ease;
  user-select: none;
  -webkit-user-drag: none;
}
.gallery-lightbox-controls {
  position: absolute;
  right: 1.25rem;
  top: 1.25rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  z-index: 1;
}
.gallery-lightbox-controls button {
  min-width: 42px;
  min-height: 42px;
  border: 1px solid var(--border-bright);
  background: rgba(0,0,0,0.72);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.9rem;
  cursor: pointer;
}
.gallery-lightbox-controls button:hover,
.gallery-lightbox-controls button:focus {
  border-color: var(--border-bright);
  background: rgba(0,0,0,0.72);
  color: var(--white);
}
.gallery-lightbox-hint {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  color: var(--dim);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}

@media (max-width: 700px) {
  .gallery-lightbox { padding: 1rem; }
  .gallery-lightbox img { max-width: 96vw; max-height: 84vh; }
}

/* CONTROL READABILITY NORMALIZATION — V8
   Keep all interactive buttons/boxes readable and visually static on hover/click. */

/* CONTROL READABILITY NORMALIZATION — V8
   Keep all interactive buttons/boxes readable and visually static on hover/click. */
button,
.btn,
a.btn,
.nav-cta,
.shirt-flip-btn,
.gallery-thumb,
.size-btn,
.verify-submit,
.gallery-lightbox-controls button {
  -webkit-tap-highlight-color: transparent;
  text-shadow: none;
}

/* Primary outlined controls: dark fixed surface, bright readable text/border. */
.btn:not(.btn-fill),
.btn-mint,
.shirt-flip-btn,
.gallery-thumb,
.size-btn,
.gallery-lightbox-controls button {
  background: #060606 !important;
  color: var(--white) !important;
}

/* Filled controls: bright fixed surface with dark readable text. */
.btn-fill,
.verify-submit {
  background: var(--white) !important;
  color: var(--black) !important;
  border-color: var(--white) !important;
}

/* Navigation CTA: fixed outlined state. */
.nav-cta {
  background: transparent !important;
  color: var(--white) !important;
  border-color: var(--white) !important;
}

/* Selected size stays clearly readable without changing on hover. */
.size-btn.selected {
  background: var(--white) !important;
  color: var(--black) !important;
  border-color: var(--white) !important;
}

/* Gallery thumb selection is indicated by opacity/border only. */
.gallery-thumb { opacity: 0.72; }
.gallery-thumb.active { opacity: 1; border-bottom-color: var(--white) !important; }

/* Fixed hover/focus states — no color, background, border, opacity, or shadow surprises. */
.btn:hover,
.btn:focus,
.btn:focus-visible,
.btn-mint:hover,
.btn-mint:focus,
.btn-mint:focus-visible,
.btn-fill:hover,
.btn-fill:focus,
.btn-fill:focus-visible,
.nav-cta:hover,
.nav-cta:focus,
.nav-cta:focus-visible,
.shirt-flip-btn:hover,
.shirt-flip-btn:focus,
.shirt-flip-btn:focus-visible,
.gallery-thumb:hover,
.gallery-thumb:focus,
.gallery-thumb:focus-visible,
.size-btn:hover,
.size-btn:focus,
.size-btn:focus-visible,
.verify-submit:hover,
.verify-submit:focus,
.verify-submit:focus-visible,
.gallery-lightbox-controls button:hover,
.gallery-lightbox-controls button:focus,
.gallery-lightbox-controls button:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.btn:not(.btn-fill):hover,
.btn:not(.btn-fill):focus,
.btn:not(.btn-fill):focus-visible,
.btn-mint:hover,
.btn-mint:focus,
.btn-mint:focus-visible,
.shirt-flip-btn:hover,
.shirt-flip-btn:focus,
.shirt-flip-btn:focus-visible,
.gallery-thumb:hover,
.gallery-thumb:focus,
.gallery-thumb:focus-visible,
.gallery-lightbox-controls button:hover,
.gallery-lightbox-controls button:focus,
.gallery-lightbox-controls button:focus-visible {
  background: #060606 !important;
  color: var(--white) !important;
  border-color: inherit;
}

.btn-fill:hover,
.btn-fill:focus,
.btn-fill:focus-visible,
.verify-submit:hover,
.verify-submit:focus,
.verify-submit:focus-visible {
  background: var(--white) !important;
  color: var(--black) !important;
  border-color: var(--white) !important;
}

.nav-cta:hover,
.nav-cta:focus,
.nav-cta:focus-visible {
  background: transparent !important;
  color: var(--white) !important;
  border-color: var(--white) !important;
}

.size-btn:hover,
.size-btn:focus,
.size-btn:focus-visible {
  background: #060606 !important;
  color: var(--white) !important;
  border-color: var(--border) !important;
}
.size-btn.selected:hover,
.size-btn.selected:focus,
.size-btn.selected:focus-visible {
  background: var(--white) !important;
  color: var(--black) !important;
  border-color: var(--white) !important;
}

.gallery-thumb.active:hover,
.gallery-thumb.active:focus,
.gallery-thumb.active:focus-visible {
  background: #060606 !important;
  color: var(--white) !important;
  opacity: 1;
  border-bottom-color: var(--white) !important;
}

.nav-hamburger:hover,
.nav-hamburger:focus,
.nav-hamburger:focus-visible {
  background: none !important;
  border-color: transparent !important;
  outline: none !important;
  box-shadow: none !important;
}

.drop-buy-btn:hover,
.drop-buy-btn:focus,
.drop-buy-btn:focus-visible {
  background: var(--white) !important;
  color: var(--black) !important;
  border-image: linear-gradient(
    135deg,
    #6f5100 0%,
    #d4af37 18%,
    #fff4a3 36%,
    #d4af37 52%,
    #8f6b00 72%,
    #f8df77 88%,
    #725400 100%
  ) 1 !important;
}


/* V9 UNIVERSAL CONTROL READABILITY
   One fixed, readable control treatment across all textual buttons and interactive boxes.
   Hover/focus/active states preserve the exact resting colors; no highlight transitions. */
.btn,
.btn.btn-fill,
.btn.btn-sm,
.btn.btn-mint,
.nav-cta,
.shirt-flip-btn,
.size-btn,
.verify-submit,
.drop-buy-btn,
.gallery-lightbox-controls button {
  background: #060606 !important;
  color: #F5F5F5 !important;
  border: 1px solid #F5F5F5 !important;
  border-color: #F5F5F5 !important;
  border-image: none !important;
  box-shadow: none !important;
  outline: none !important;
  text-shadow: none !important;
  -webkit-tap-highlight-color: transparent !important;
  transition: none !important;
  opacity: 1 !important;
  filter: none !important;
}

.btn:hover,
.btn.btn-fill:hover,
.btn.btn-sm:hover,
.btn.btn-mint:hover,
.nav-cta:hover,
.shirt-flip-btn:hover,
.size-btn:hover,
.verify-submit:hover,
.drop-buy-btn:hover,
.gallery-lightbox-controls button:hover,
.btn:active,
.btn.btn-fill:active,
.btn.btn-sm:active,
.btn.btn-mint:active,
.nav-cta:active,
.shirt-flip-btn:active,
.size-btn:active,
.verify-submit:active,
.drop-buy-btn:active,
.gallery-lightbox-controls button:active,
.btn:focus,
.btn.btn-fill:focus,
.btn.btn-sm:focus,
.btn.btn-mint:focus,
.nav-cta:focus,
.shirt-flip-btn:focus,
.size-btn:focus,
.verify-submit:focus,
.drop-buy-btn:focus,
.gallery-lightbox-controls button:focus,
.btn:focus-visible,
.btn.btn-fill:focus-visible,
.btn.btn-sm:focus-visible,
.btn.btn-mint:focus-visible,
.nav-cta:focus-visible,
.shirt-flip-btn:focus-visible,
.size-btn:focus-visible,
.verify-submit:focus-visible,
.drop-buy-btn:focus-visible,
.gallery-lightbox-controls button:focus-visible {
  background: #060606 !important;
  color: #F5F5F5 !important;
  border: 1px solid #F5F5F5 !important;
  border-color: #F5F5F5 !important;
  border-image: none !important;
  box-shadow: none !important;
  outline: none !important;
  opacity: 1 !important;
  filter: none !important;
  text-shadow: none !important;
}

/* Selected size remains readable without changing the control palette. */
.size-btn.selected,
.size-btn.selected:hover,
.size-btn.selected:active,
.size-btn.selected:focus,
.size-btn.selected:focus-visible {
  background: #060606 !important;
  color: #F5F5F5 !important;
  border: 2px solid #F5F5F5 !important;
  border-color: #F5F5F5 !important;
  border-image: none !important;
}

/* Gallery image buttons use the same dark/light control frame while preserving the image. */
.gallery-thumb,
.gallery-thumb:hover,
.gallery-thumb:active,
.gallery-thumb:focus,
.gallery-thumb:focus-visible,
.gallery-thumb.active,
.gallery-thumb.active:hover,
.gallery-thumb.active:active,
.gallery-thumb.active:focus,
.gallery-thumb.active:focus-visible {
  background: #060606 !important;
  color: #F5F5F5 !important;
  border-color: #F5F5F5 !important;
  border-image: none !important;
  box-shadow: none !important;
  opacity: 1 !important;
}

/* Keep the hamburger icon as an icon-only control, not a text button. */
.nav-hamburger,
.nav-hamburger:hover,
.nav-hamburger:active,
.nav-hamburger:focus,
.nav-hamburger:focus-visible {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  color: inherit !important;
}

/* Drop 001 v12: keep the gallery at its document-start position; it does not follow page scrolling. */
.product-gallery {
  position: static !important;
  top: auto !important;
  height: auto !important;
  align-self: start;
}
.product-details {
  overflow: visible !important;
}
@media (max-width: 900px) {
  .product-gallery {
    position: static !important;
    top: auto !important;
    height: auto !important;
  }
}

/* v13: Drop 001 footer matches Home footer layout and stays a page-level full-width block. */
.page-wrap > .footer {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  clear: both;
  grid-column: 1 / -1;
  position: relative;
  z-index: 30;
  background: var(--black);
}

.page-wrap > .footer .container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  box-sizing: border-box;
}

/* Drop 001 garment-detail response values: exactly 10pt; labels/titles remain unchanged. */
.product-details .spec-val {
  font-size: 10pt !important;
}
/* Contact page — uses the existing package geometry, type, colors, and control language. */
.contact-grid {
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(240px,0.8fr);
  gap:4rem;
  align-items:start;
}
.contact-copy {
  max-width:620px;
  color:var(--dim);
  font-size:0.82rem;
  line-height:1.9;
  font-weight:200;
  margin:0 0 1.5rem;
}
.contact-endpoint {
  border-top:1px solid var(--border);
  padding-top:1.25rem;
}
.contact-label, .contact-card-title {
  font-size:0.55rem;
  letter-spacing:0.22em;
  text-transform:uppercase;
  color:var(--mint);
  margin-bottom:0.75rem;
}
.contact-email {
  font-family:var(--font);
  font-size:0.78rem;
  color:var(--white);
  word-break:break-word;
}
.contact-note, .contact-card-desc {
  font-size:0.68rem;
  line-height:1.8;
  color:var(--dim);
  font-weight:200;
}
.contact-note { margin-top:1.25rem; }
.contact-cards {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1px;
  background:var(--border);
  margin-top:1.5rem;
}
.contact-card {
  background:var(--black);
  padding:1.5rem;
}
@media (max-width: 760px) {
  .contact-grid, .contact-cards { grid-template-columns:1fr; }
}



/* ================================================
   MOBILE / PHONE HARDENING
   ================================================ */
@media (max-width: 600px) {
  html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .nav {
    padding: 0 0.9rem;
  }
  .nav-logo {
    min-width: 0;
    max-width: calc(100vw - 56px);
    gap: 0.45rem;
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    white-space: nowrap;
  }
  .nav-logo-sigil {
    height: 30px;
  }
  .nav-hamburger {
    flex-shrink: 0;
    padding: 6px 4px;
  }

  .mobile-menu {
    overflow-y: auto;
  }
  .mobile-menu a {
    min-height: 60px;
    font-size: 1rem;
    padding: 1rem 1.25rem;
  }

  .hero {
    min-height: auto;
  }
  .hero-right {
    min-height: 42svh;
  }
  .hero-shirt-wrap {
    padding: 1rem;
  }
  .hero-shirt {
    width: auto;
    max-width: 82%;
    max-height: 38svh;
  }
  .shirt-flip-btn {
    right: 1rem;
    bottom: 1rem;
  }
  .hero-left {
    padding: 3rem 1.25rem 3.5rem;
  }
  .cascade-line {
    font-size: clamp(2rem, 15vw, 3.3rem);
  }
  .cascade-line:nth-child(2),
  .cascade-line:nth-child(8) {
    font-size: 0.95rem;
  }
  .hero-sub {
    margin-top: 2rem;
    gap: 1rem;
  }
  .hero-desc {
    max-width: none;
  }
  .hero-actions,
  .hero-actions .btn {
    width: 100%;
  }
  .hero-actions .btn {
    justify-content: center;
  }

  .ticker {
    height: 34px;
  }
  .ticker-item {
    padding: 0 1.2rem;
    letter-spacing: 0.14em;
  }

  .container {
    width: 100%;
    padding: 0 1rem;
  }
  .section {
    padding: 3.5rem 0;
  }
  .section-sm {
    padding: 2rem 0;
  }
  .section-title {
    font-size: clamp(1.6rem, 9vw, 2.3rem);
  }
  .philosophy {
    gap: 2rem;
  }
  .philosophy-statement {
    font-size: clamp(1.25rem, 7vw, 1.6rem);
  }

  .product-section {
    display: block;
    min-height: 0;
  }
  .product-gallery {
    position: relative !important;
    top: auto !important;
    width: 100%;
    height: auto !important;
  }
  .gallery-main {
    min-height: 44svh;
    padding: 1.25rem;
  }
  .gallery-main img {
    max-height: 40svh;
  }
  .gallery-thumbs {
    height: 72px;
  }
  .gallery-thumb {
    width: 72px;
    height: 72px;
  }
  .product-details {
    padding: 2.25rem 1.25rem 3rem;
    gap: 1.5rem;
    overflow: visible;
  }
  .product-name {
    font-size: clamp(1.5rem, 9vw, 2.2rem);
  }
  .product-price {
    font-size: 1.2rem;
  }
  .sizes {
    gap: 0.4rem;
  }
  .size-btn {
    width: 42px;
    height: 42px;
  }

  .verify-input-row {
    flex-direction: column;
  }
  .verify-input {
    width: 100%;
    border-right: 1px solid var(--border-bright);
    font-size: 16px;
  }
  .verify-submit {
    width: 100%;
  }
  .result-card {
    padding: 1.25rem;
  }
  .result-row {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .notice-box {
    flex-direction: column;
    gap: 0.65rem;
    padding: 1rem;
  }
  .legal-block > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .about-opener {
    font-size: clamp(1.35rem, 7vw, 2rem);
    padding-bottom: 2.5rem;
    margin-bottom: 2.5rem;
  }
  .about-opener + div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .marks-table {
    min-width: 640px;
  }
  .legal-block:has(.marks-table) {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .contact-copy {
    max-width: none;
  }
  .contact-email {
    overflow-wrap: anywhere;
  }
  .contact-card {
    padding: 1.25rem;
  }

  .footer {
    padding: 2.5rem 0 1.5rem;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 380px) {
  .nav-logo {
    font-size: 0.56rem;
    letter-spacing: 0.1em;
  }
  .nav-logo-sigil {
    height: 27px;
  }
  .hero-left {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .container {
    padding-left: 0.875rem;
    padding-right: 0.875rem;
  }
}
