/* =============================================
   NETCHIFFRES — Design System
   Black & White · Premium · Editorial
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #0a0a0a;
  --gray-900: #141414;
  --gray-800: #1e1e1e;
  --gray-700: #2a2a2a;
  --gray-500: #666666;
  --gray-400: #888888;
  --gray-300: #bbbbbb;
  --gray-200: #d8d8d8;
  --gray-100: #efefef;
  --gray-50: #f7f7f7;
  --white: #ffffff;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', -apple-system, sans-serif;
  --nav-h: 72px;
  --max-w: 1200px;
  --gutter: 72px;
}

html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* ── LOGO ── */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-mark {
  width: 40px;
  height: 40px;
  background: var(--black);
  position: relative;
  flex-shrink: 0;
}
.logo-mark::before {
  content: '';
  position: absolute;
  top: -3px; left: -3px;
  right: 8px; bottom: 8px;
  border: 1.5px solid var(--black);
  pointer-events: none;
}
.logo-mark-n {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  font-style: italic;
  color: var(--white);
  line-height: 1;
}
.logo-text {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--black);
  line-height: 1.2;
}
.logo-sub {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-500);
  display: block;
}

/* ── NAV ── */
nav.main-nav {
  height: var(--nav-h);
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 1000;
}
.nav-links {
  display: flex;
  gap: 0;
  align-items: center;
  list-style: none;
  height: 100%;
}
.nav-links > li {
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
}
.nav-links > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 100%;
  padding: 0 18px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-500);
  text-decoration: none;
  transition: color 0.15s;
  white-space: nowrap;
}
.nav-links > li > a:hover,
.nav-links > li.active > a { color: var(--black); }
.nav-links > li > a .chevron {
  font-size: 9px;
  opacity: 0.5;
  margin-top: 1px;
}
/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(var(--nav-h) - 1px);
  left: 0;
  min-width: 220px;
  background: var(--black);
  border: 1px solid var(--gray-700);
  padding: 8px 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.15s, transform 0.15s;
}
.nav-links > li:hover .dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 24px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.1s;
}
.dropdown a:hover { color: var(--white); }
.nav-cta-link {
  margin-left: 20px;
  background: var(--black);
  color: var(--white) !important;
  padding: 0 22px !important;
  font-weight: 600 !important;
  letter-spacing: 2px !important;
  transition: background 0.15s !important;
}
.nav-cta-link:hover { background: var(--gray-800) !important; color: var(--white) !important; }

/* ── UTILS ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gray-400);
}
h1, h2, h3 { font-family: var(--serif); line-height: 1.1; font-weight: 500; }
h1.display {
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 700;
  letter-spacing: -1px;
}
h2.section-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.5px;
}
h3.card-title {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.section-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--gray-500);
}

/* ── DIVIDER ── */
hr.rule {
  border: none;
  border-top: 1px solid var(--gray-200);
  margin: 0;
}

/* ── FOOTER ── */
footer.main-footer {
  border-top: 1px solid var(--gray-200);
  padding: 32px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copy {
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--gray-400);
  text-transform: uppercase;
}
.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.footer-links a {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--black); }

/* ── PAGE BADGE (for variants) ── */
.page-badge {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--black);
  color: var(--white);
  padding: 6px 14px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 9999;
}
