/* ========================================
   VERITAS ARMS CORP / DESIGN SYSTEM
   Version: 1.0 / Phase 1
   Accent: #C50526
   Typography: Barlow Condensed / Barlow / JetBrains Mono
   ======================================== */

/* ---- IMPORTS ---- */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;500;600;700&family=Barlow:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

/* ---- CSS CUSTOM PROPERTIES ---- */
:root {
  /* Grey Scale: 13 steps for depth */
  --g-950: #0B0B0D;
  --g-900: #121215;
  --g-850: #18181C;
  --g-800: #1F1F24;
  --g-750: #26262C;
  --g-700: #2E2E36;
  --g-600: #3D3D48;
  --g-500: #52525E;
  --g-400: #71717E;
  --g-300: #9898A4;
  --g-200: #B8B8C2;
  --g-100: #D4D4DC;
  --g-50:  #EDEDF2;
  --white: #F8F8FA;

  /* Brand */
  --accent:      #C50526;
  --accent-dark: #960420;
  --accent-soft: rgba(197,5,38,0.12);
  --accent-glow: rgba(197,5,38,0.06);

  /* Semantic */
  --success: #2D8A4E;
  --warning: #C48A1A;
  --error:   #C50526;

  /* Typography */
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Spacing */
  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-5xl: 128px;

  /* Layout */
  --page-padding: clamp(24px, 4vw, 64px);
  --max-width: 1400px;
  --nav-height: 60px;
  --border-radius: 2px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 0.2s;
  --duration-med:  0.35s;
  --duration-slow: 0.5s;
}

/* ---- RESET ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--g-900);
  color: var(--g-200);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul, ol { list-style: none; }

/* ---- TYPOGRAPHY ---- */
.t-display {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -1px;
  line-height: 0.88;
  color: var(--white);
}
.t-display.hero { font-size: clamp(52px, 7.5vw, 88px); }
.t-display.large { font-size: clamp(32px, 4vw, 48px); }
.t-display.medium { font-size: clamp(24px, 3vw, 36px); }

.t-heading {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
}
.t-heading.xl { font-size: 28px; letter-spacing: 4px; }
.t-heading.lg { font-size: 22px; letter-spacing: 3px; }
.t-heading.md { font-size: 18px; letter-spacing: 2px; }
.t-heading.sm { font-size: 15px; letter-spacing: 2px; }

.t-label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.t-mono {
  font-family: var(--font-mono);
  font-weight: 400;
}

.t-section-num {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--g-500);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.t-body { font-size: 14px; line-height: 1.85; color: var(--g-300); font-weight: 300; }
.t-body-lg { font-size: 15px; line-height: 1.85; color: var(--g-300); font-weight: 300; }
.t-small { font-size: 12px; color: var(--g-400); font-weight: 300; }
.t-tiny { font-size: 9px; color: var(--g-500); letter-spacing: 2px; text-transform: uppercase; }

.accent { color: var(--accent); }
.text-bright { color: var(--white); }
.text-muted { color: var(--g-400); }

/* ---- BUTTONS ---- */
.btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: none;
  padding: 14px 36px;
  transition: all var(--duration-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-accent {
  background: var(--accent);
  color: var(--white);
}
.btn-accent:hover { filter: brightness(1.15); }

.btn-outline {
  background: transparent;
  color: var(--g-300);
  border: 1px solid var(--g-600);
}
.btn-outline:hover { border-color: var(--g-400); color: var(--g-100); }

.btn-ghost {
  background: none;
  color: var(--g-400);
  padding: 14px 0;
}
.btn-ghost:hover { color: var(--g-200); }
.btn-ghost::after { content: '→'; margin-left: 4px; transition: transform var(--duration-fast); }
.btn-ghost:hover::after { transform: translateX(4px); }

/* ---- NAV ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(18,18,21,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--g-700);
  height: var(--nav-height);
  display: flex; align-items: center;
  padding: 0 var(--page-padding);
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
}
.nav-logo-img {
  height: 32px;
  width: auto;
  display: block;
}
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  color: var(--g-400);
  font-family: var(--font-display);
  font-size: 11px; font-weight: 500;
  letter-spacing: 3px; text-transform: uppercase;
  transition: color var(--duration-fast);
  position: relative;
}
.nav-links a:hover { color: var(--g-100); }
.nav-links a.active { color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-cta {
  font-family: var(--font-display);
  font-weight: 600; font-size: 10px;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--white);
  background: var(--accent);
  border: none;
  padding: 8px 22px;
  transition: all var(--duration-fast);
}
.nav-cta:hover { filter: brightness(1.15); }

/* Mobile menu toggle */
.nav-toggle { display: none; background: none; border: none; color: var(--g-200); padding: 8px; }
.nav-toggle svg { width: 24px; height: 24px; }

/* ---- HERO ACCENT STRIP ---- */
.hero-strip {
  position: absolute; top: var(--nav-height); left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--accent), var(--accent-dark), transparent 60%);
}

/* ---- SECTION UTILITIES ---- */
.section { padding: clamp(80px, 10vw, 120px) var(--page-padding); }
.section-header {
  display: flex; justify-content: space-between;
  align-items: flex-end; margin-bottom: 60px;
}
.section-link {
  font-family: var(--font-display);
  font-size: 10px; color: var(--g-500);
  letter-spacing: 2px; text-transform: uppercase;
  transition: color var(--duration-fast);
}
.section-link:hover { color: var(--g-300); }

/* ---- GRID HELPERS ---- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--g-700); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--g-700); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); }

/* ---- PRODUCT CARD ---- */
.product-card {
  background: var(--g-800);
  cursor: pointer; transition: all var(--duration-med);
  position: relative; overflow: hidden;
}
.product-card:hover { background: var(--g-750); }
.product-card-img {
  aspect-ratio: 4/5; overflow: hidden;
}
.product-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}
.product-card:hover .product-card-img img { transform: scale(1.02); }
.product-card-meta { padding: 24px 28px 28px; }
.product-card-status {
  font-family: var(--font-mono);
  font-size: 9px; letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 10px; color: var(--g-500);
}
.product-card-status.is-accent { color: var(--accent); }
.product-card-name {
  font-family: var(--font-display);
  font-weight: 600; font-size: 15px;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--g-50); margin-bottom: 4px;
}
.product-card-sub { font-size: 12px; color: var(--g-500); font-weight: 300; margin-bottom: 16px; }
.product-card-price {
  font-family: var(--font-mono);
  font-size: 14px; color: var(--g-200);
}
.product-card-line {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transition: transform var(--duration-med);
  transform-origin: left;
}
.product-card:hover .product-card-line { transform: scaleX(1); }

/* Coming Soon variant: non-clickable, muted, notify CTA */
.product-card.is-coming-soon { cursor: default; }
.product-card.is-coming-soon:hover { background: var(--g-800); }
.product-card.is-coming-soon:hover .product-card-img img { transform: none; }
.product-card.is-coming-soon:hover .product-card-line { transform: scaleX(0); }
.product-card.is-coming-soon .product-card-status { color: var(--g-400); }
.product-card.is-coming-soon .product-card-img img { filter: brightness(0.85); }
.product-card-notify {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--g-300);
  border: 1px solid var(--g-600);
  background: transparent;
  padding: 9px 18px;
  margin-top: 6px;
  cursor: pointer;
  transition: all var(--duration-fast);
}
.product-card-notify:hover {
  color: var(--white);
  border-color: var(--accent);
}

/* ---- SPEC BAR ---- */
.spec-bar {
  display: flex;
  background: var(--g-850);
  border-top: 1px solid var(--g-700);
  border-bottom: 1px solid var(--g-700);
}
.spec-bar-item {
  flex: 1; padding: 32px var(--page-padding);
  border-right: 1px solid var(--g-700);
}
.spec-bar-item:last-child { border-right: none; }
.spec-bar-val {
  font-family: var(--font-mono);
  font-size: 18px; font-weight: 500;
  color: var(--white); margin-bottom: 6px;
}
.spec-bar-label {
  font-family: var(--font-display);
  font-size: 9px; color: var(--g-500);
  letter-spacing: 3px; text-transform: uppercase;
}

/* ---- FEATURE SPLIT ---- */
.feature-split {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--g-850);
  border-top: 1px solid var(--g-700);
  border-bottom: 1px solid var(--g-700);
}
.feature-split-img {
  overflow: hidden; position: relative; min-height: 500px;
}
.feature-split-img img {
  width: 100%; height: 100%; object-fit: cover;
}
.feature-split-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to left, var(--g-850) 2%, transparent 20%);
}
.feature-split-text {
  padding: clamp(40px, 5vw, 80px);
  display: flex; flex-direction: column; justify-content: center;
}

/* ---- SPEC TABLE ---- */
.spec-table { max-width: 380px; }
.spec-table-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--g-700);
}
.spec-table-row:last-child { border-bottom: none; }
.spec-table-key { font-size: 13px; color: var(--g-400); font-weight: 300; }
.spec-table-val {
  font-family: var(--font-mono); font-size: 12px; color: var(--g-100);
}

/* ---- DROP SECTION ---- */
.drop-section {
  padding: clamp(80px, 10vw, 120px) var(--page-padding);
  text-align: center;
  background: var(--g-800);
  border-top: 1px solid var(--g-700);
  border-bottom: 1px solid var(--g-700);
}
.timer { display: flex; justify-content: center; gap: 4px; margin-bottom: 48px; }
.timer-block {
  background: var(--g-900);
  border: 1px solid var(--g-700);
  padding: 20px 24px; min-width: 80px;
  text-align: center;
}
.timer-num {
  font-family: var(--font-mono);
  font-size: 28px; font-weight: 500;
  color: var(--white); line-height: 1;
}
.timer-unit {
  font-family: var(--font-display);
  font-size: 9px; color: var(--g-500);
  letter-spacing: 3px; text-transform: uppercase;
  margin-top: 8px;
}

/* ---- VOTE CARD ---- */
.vote-card {
  background: var(--g-800);
  padding: 36px; transition: all var(--duration-fast);
}
.vote-card:hover { background: var(--g-750); }
.vote-bar {
  width: 100%; height: 2px; background: var(--g-700);
  margin-bottom: 10px; overflow: hidden;
}
.vote-bar-fill { height: 100%; background: var(--accent); }

/* ---- NEWSLETTER ---- */
.newsletter {
  padding: 64px var(--page-padding);
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--g-700);
  background: var(--g-850);
}
.nl-form { display: flex; gap: 1px; }
.nl-input {
  background: var(--g-800); border: 1px solid var(--g-600);
  color: var(--g-100); padding: 12px 20px;
  font-family: var(--font-body); font-size: 13px;
  outline: none; width: 260px;
  transition: border-color var(--duration-fast);
}
.nl-input:focus { border-color: var(--g-400); }
.nl-input::placeholder { color: var(--g-500); }

/* ---- FOOTER ---- */
.footer {
  padding: 36px var(--page-padding);
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--g-700);
  background: var(--g-850);
}
.footer-brand {
  font-family: var(--font-display);
  font-weight: 500; font-size: 10px;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--g-500);
}
.footer-links { display: flex; gap: 20px; }
.footer-links a {
  font-family: var(--font-display);
  font-size: 9px; color: var(--g-500);
  letter-spacing: 2px; text-transform: uppercase;
  transition: color var(--duration-fast);
}
.footer-links a:hover { color: var(--g-300); }
.footer-copy { font-size: 9px; color: var(--g-500); }
.footer-copy a { color: var(--g-500); }

/* ---- AGE GATE ---- */
.age-gate {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--g-950);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  opacity: 1;
  transition: opacity 0.4s var(--ease-out);
}
.age-gate.hidden {
  opacity: 0;
  pointer-events: none;
}
.age-gate-logo {
  font-family: var(--font-display);
  font-weight: 700; font-size: 18px;
  letter-spacing: 8px; text-transform: uppercase;
  color: var(--white);
  margin-bottom: 48px;
}
.age-gate-title {
  font-family: var(--font-display);
  font-weight: 700; font-size: 28px;
  text-transform: uppercase; letter-spacing: 4px;
  color: var(--g-50);
  margin-bottom: 12px;
}
.age-gate-desc {
  font-size: 13px; color: var(--g-400);
  margin-bottom: 40px; text-align: center;
  max-width: 360px; line-height: 1.6;
}
.age-gate-buttons { display: flex; gap: 12px; }
.age-gate-yes {
  font-family: var(--font-display);
  font-weight: 600; font-size: 12px;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--white); background: var(--accent);
  border: none; padding: 14px 48px;
  cursor: pointer; transition: filter var(--duration-fast);
}
.age-gate-yes:hover { filter: brightness(1.15); }
.age-gate-no {
  font-family: var(--font-display);
  font-weight: 500; font-size: 12px;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--g-400); background: transparent;
  border: 1px solid var(--g-600);
  padding: 14px 48px;
  cursor: pointer; transition: all var(--duration-fast);
}
.age-gate-no:hover { border-color: var(--g-400); color: var(--g-200); }
.age-gate-legal {
  margin-top: 32px;
  font-size: 10px; color: var(--g-500);
  text-align: center; max-width: 400px; line-height: 1.5;
}
.age-gate-line {
  width: 40px; height: 2px; background: var(--accent);
  margin-bottom: 32px;
}

/* ---- ARTICLE DETAIL ---- */
.article-wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(100px, 11vw, 140px) var(--page-padding) var(--space-3xl);
}
.article-back {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--g-500);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--space-xl);
  transition: color var(--duration-fast);
}
.article-back::before { content: '\2190'; }
.article-back:hover { color: var(--accent); }
.article-tag-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(197,5,38,0.3);
  padding: 4px 10px;
  margin-bottom: var(--space-md);
}
.article-h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: var(--space-lg);
}
.article-meta-row {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--g-500);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
}
.article-meta-row .dot {
  width: 3px; height: 3px; background: var(--g-600); border-radius: 50%;
}
.article-hero {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--g-850);
  border: 1px solid var(--g-700);
  margin-bottom: var(--space-2xl);
}
.article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-body {
  font-size: 16px;
  line-height: 1.85;
  color: var(--g-200);
  font-weight: 300;
}
.article-body p {
  margin-bottom: var(--space-lg);
}
.article-body p.lede {
  font-size: 18px;
  color: var(--g-100);
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
}
.article-body h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--white);
  margin: var(--space-2xl) 0 var(--space-md);
}
.article-body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin: var(--space-xl) 0 var(--space-sm);
}
.article-body ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: var(--space-lg);
}
.article-body ul li {
  padding: 8px 0 8px 20px;
  position: relative;
  color: var(--g-300);
}
.article-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 1px;
  background: var(--accent);
}
.article-body strong {
  color: var(--g-50);
  font-weight: 500;
}
.article-body .pull-quote {
  border-left: 2px solid var(--accent);
  padding: var(--space-md) 0 var(--space-md) var(--space-xl);
  margin: var(--space-2xl) 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.3;
  color: var(--g-50);
  letter-spacing: 0.5px;
}
.article-spec-block {
  background: var(--g-850);
  border: 1px solid var(--g-700);
  padding: var(--space-xl);
  margin: var(--space-2xl) 0;
}
.article-spec-block .label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--g-500);
  margin-bottom: var(--space-md);
}
.article-spec-block .spec-table-row {
  padding: 10px 0;
}
.article-end-rule {
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin: var(--space-3xl) 0 var(--space-lg);
}

/* Related articles strip */
.related-strip {
  padding: var(--space-3xl) var(--page-padding);
  background: var(--g-850);
  border-top: 1px solid var(--g-700);
  border-bottom: 1px solid var(--g-700);
}
.related-strip .related-head {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--g-500);
  margin-bottom: var(--space-xl);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--g-700);
}
.related-card {
  background: var(--g-800);
  padding: 28px;
  transition: background var(--duration-fast);
  display: flex;
  flex-direction: column;
  min-height: 180px;
}
.related-card:hover { background: var(--g-750); }
.related-card .tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--g-500);
  margin-bottom: 10px;
}
.related-card .title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--g-50);
  line-height: 1.25;
  margin-bottom: auto;
}
.related-card .arrow {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--g-500);
  margin-top: var(--space-md);
  transition: color var(--duration-fast);
}
.related-card:hover .arrow { color: var(--accent); }

@media (max-width: 768px) {
  .related-grid { grid-template-columns: 1fr; }
  .article-body { font-size: 15px; }
  .article-body p.lede { font-size: 16px; }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .feature-split { grid-template-columns: 1fr; }
  .feature-split-img { min-height: 300px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .spec-bar { flex-wrap: wrap; }
  .spec-bar-item { flex: 1 1 50%; }
  .newsletter { flex-direction: column; gap: 20px; text-align: center; }
  .footer { flex-direction: column; gap: 16px; text-align: center; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 16px; }
}
