/* Cromonix visual system: charcoal surfaces, cool neutrals, and silver accents. */

:root {
  /* Monochrome palette */
  --c-plat-100: #F8F9FA;
  --c-plat-200: #E9ECEF;
  --c-plat-300: #DEE2E6;
  --c-plat-400: #CED4DA;
  --c-plat-500: #ADB5BD;
  --c-slate-600: #6C757D;
  --c-slate-700: #495057;
  --c-slate-800: #343A40;
  --c-slate-900: #212529;

  /* Charcoal surfaces and silver accents */
  --page-background: #141618;
  --silver-gradient: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 20%, #DEE2E6 45%, #ADB5BD 70%, #FFFFFF 100%);
  --hairline-silver: rgba(222, 226, 230, 0.14);
  --hairline-silver-subtle: rgba(222, 226, 230, 0.08);

  /* Shared typography */
  --font-heading: 'Exo 2', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Exo 2', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Exo 2', -apple-system, BlinkMacSystemFont, sans-serif;

  --transition-quiet: 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* --------------------------------------------------------------------------
   BASE STYLES & RESET
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-padding-top: 4.5rem;
  background-color: var(--page-background);
  color: var(--c-plat-300);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  font-family: var(--font-sans);
  background: #0A0C0E;
  background-image: 
    radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 0.03) 0%, transparent 60%),
    linear-gradient(180deg, rgba(14, 16, 19, 0.75) 0%, rgba(10, 11, 13, 0.88) 100%),
    url('assets/forged-carbon-master.jpg');
  background-size: 100% 100%, 100% 100%, cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* --------------------------------------------------------------------------
   FIXED NAVIGATION
   -------------------------------------------------------------------------- */
.site-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: rgba(20, 22, 24, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline-silver-subtle);
  z-index: 100;
  transition: background var(--transition-quiet);
}

.nav-inner {
  max-width: 100%;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(2rem, 5vw, 5rem);
}

.nav-brand-mark {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--c-plat-100);
}

.nav-logo-img {
  width: 26px;
  height: 30px;
  object-fit: contain;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.85));
}

.nav-brand-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--c-plat-400);
  text-decoration: none;
  text-transform: uppercase;
  transition: color var(--transition-quiet);
}

.nav-link:hover {
  color: var(--c-plat-100);
}

.nav-btn-link {
  padding: 0.4rem 1.1rem;
  border: 1px solid var(--hairline-silver);
  background: rgba(222, 226, 230, 0.05);
  color: var(--c-plat-200);
  transition: all var(--transition-quiet);
}

.nav-btn-link:hover {
  background: rgba(222, 226, 230, 0.14);
  color: var(--c-plat-100);
  border-color: rgba(255, 255, 255, 0.35);
}

/* --------------------------------------------------------------------------
   PAGE LAYOUT
   -------------------------------------------------------------------------- */
.page-container {
  width: 100%;
  max-width: 100%;
  margin: 60px 0 0;
  padding: 0;
}

.page-surface {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 60px);
  background:
    radial-gradient(ellipse at 50% 10%, rgba(255, 255, 255, 0.04) 0%, transparent 65%),
    linear-gradient(180deg, rgba(14, 16, 19, 0.80) 0%, rgba(10, 11, 13, 0.90) 100%),
    url('assets/forged-carbon-master.jpg');
  background-size: 100% 100%, 100% 100%, cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
  border-top: 1px solid rgba(222, 226, 230, 0.09);
  border-bottom: 1px solid rgba(222, 226, 230, 0.09);
  border-left: none;
  border-right: none;
  border-radius: 0;
  padding: 5rem clamp(2rem, 6vw, 8rem) 6rem;
  box-shadow: none;
  overflow: hidden;
}

/* Subtle Brand Watermark */
.brand-watermark {
  position: absolute;
  top: 36%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 580px;
  height: 580px;
  opacity: 0.032;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: overlay;
}

.brand-watermark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* --------------------------------------------------------------------------
   BRAND MASTHEAD
   -------------------------------------------------------------------------- */
.brand-masthead {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: 3rem;
}

.brand-emblem {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.brand-mark {
  width: 125px;
  height: 145px;
  object-fit: contain;
  /* Authentic Physical Stamped Foil Deboss - Zero Background Light Bleed */
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.85));
  display: block;
  transition: filter var(--transition-quiet), transform var(--transition-quiet);
}

.brand-mark:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.95));
}

.brand-name {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: 0.32em;
  text-indent: 0.32em;
  line-height: 1;
  margin: 0 0 0.8rem;
  background: var(  --silver-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.9));
}

.brand-tagline {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-indent: 0.32em;
  color: var(--c-plat-400);
  margin-bottom: 2.2rem;
}

/* Section Dividers */
.section-divider {
  height: 1px;
  border: none;
  background: linear-gradient(90deg, transparent 0%, var(--hairline-silver) 15%, var(--hairline-silver) 85%, transparent 100%);
  margin: 2.2rem 0;
  position: relative;
  z-index: 2;
}

.section-divider.hairline {
  background: linear-gradient(90deg, transparent 0%, var(--hairline-silver-subtle) 20%, var(--hairline-silver-subtle) 80%, transparent 100%);
  margin: 3.5rem 0;
}

/* Product Status Summary */
.status-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 0.5rem 0;
  position: relative;
  z-index: 2;
}

.status-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.status-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--c-slate-600);
}

.status-value {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--c-plat-400);
}

/* --------------------------------------------------------------------------
   OVERVIEW
   -------------------------------------------------------------------------- */
.content-section {
  position: relative;
  z-index: 2;
}

.editorial-body {
  margin-bottom: 2.5rem;
}

.lead-statement {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--c-plat-100);
  margin-bottom: 0.9rem;
}

.sub-statement {
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--c-plat-400);
}

/* --------------------------------------------------------------------------
   SECTION HEADINGS & CHAPTER TITLES
   -------------------------------------------------------------------------- */
.section-title-wrap {
  margin-bottom: 2rem;
}

.section-roman {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--c-plat-500);
  display: block;
  margin-bottom: 0.4rem;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-plat-100);
  line-height: 1.2;
}

/* --------------------------------------------------------------------------
   PRODUCT COPY
   -------------------------------------------------------------------------- */
.entry-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--c-plat-500);
  text-transform: uppercase;
}

.entry-desc {
  font-size: 0.95rem;
  color: var(--c-plat-400);
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   PRODUCT SECTIONS
   -------------------------------------------------------------------------- */
.product-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.product-copy {
  max-width: 34rem;
}

.product-copy .entry-tag {
  margin-bottom: 0.75rem;
}

.product-copy .entry-desc {
  margin-bottom: 1rem;
}

.product-visual {
  min-width: 0;
  margin: 0;
}

.product-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1280 / 666;
  object-fit: contain;
  border: 1px solid var(--hairline-silver);
  border-radius: 2px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.product-caption {
  margin-top: 0.65rem;
  color: var(--c-plat-500);
  font-size: 0.75rem;
  line-height: 1.5;
}

.product-link {
  display: inline-block;
  margin-top: 0.5rem;
}

.product-note {
  color: var(--c-plat-500);
  font-size: 0.82rem;
}

.hero-link {
  display: inline-block;
  margin-top: 0.75rem;
}

/* --------------------------------------------------------------------------
   SITE FOOTER
   -------------------------------------------------------------------------- */
.sheet-footer {
  margin-top: 4rem;
  position: relative;
  z-index: 2;
}

.footer-hairline {
  height: 1px;
  background: var(--hairline-silver-subtle);
  margin-bottom: 1.5rem;
}

.footer-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--c-slate-600);
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN (MOBILE & TABLET)
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .page-surface {
    padding: 3.5rem 2.5rem 3rem;
  }

  .brand-name {
    font-size: 2.4rem;
    letter-spacing: 0.22em;
    text-indent: 0.22em;
  }

  .product-feature {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .status-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    text-align: left;
  }

  .status-value {
    font-size: 0.68rem;
    letter-spacing: 0.04em;
  }
}

@media (max-width: 600px) {
  .site-navbar {
    height: 88px;
  }

  .nav-inner {
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.35rem 1.2rem;
  }

  .nav-brand-mark {
    gap: 0.5rem;
  }

  .nav-logo-img {
    width: 20px;
    height: 22px;
  }

  .nav-brand-name {
    font-size: 0.82rem;
  }

  .nav-menu {
    width: 100%;
    justify-content: space-between;
    gap: 0.35rem;
  }

  .nav-link {
    font-size: 0.62rem;
    letter-spacing: 0.04em;
  }

  .nav-btn-link {
    padding: 0.15rem 0.35rem;
  }

  .page-container {
    padding: 0;
    margin-top: 88px;
  }

  .page-surface {
    padding: 2.5rem 1.2rem 2rem;
    border-radius: 0;
  }

  .brand-name {
    font-size: 1.8rem;
    letter-spacing: 0.16em;
    text-indent: 0.16em;
  }

  .lead-statement {
    font-size: 1.15rem;
  }

  .brand-tagline {
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    text-indent: 0.16em;
  }

  .footer-meta-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
