/* VEYMEER - Core Architectural Luxury Stylesheet
   Identity: Pure Obsidian Matte + Crisp White Hairlines + Haute Horlogerie Precision
   Reference: media_1789076732937.png
*/

:root {
  /* Color Palette - Deep Obsidian Canvas & Crystalline White Inks */
  --bg-primary: #0A0A0C;
  --bg-secondary: #111114;
  --bg-tertiary: #18181C;
  --bg-surface: #141417;
  --bg-card: rgba(255, 255, 255, 0.022);
  --bg-card-hover: rgba(255, 255, 255, 0.045);
  
  --ink-primary: #FAFAFA;
  --ink-secondary: #D4D4D8;
  --ink-muted: #A1A1AA;
  --ink-faint: #80808A; /* 4.5:1 or more on every surface: it is used for text */
  
  --border-light: rgba(255, 255, 255, 0.07);
  --border-medium: rgba(255, 255, 255, 0.12);
  --border-focus: rgba(255, 255, 255, 0.35);
  --border-hairline: 1px solid rgba(255, 255, 255, 0.08);
  
  /* Precision Optical Accents (Subtle Luminescence) */
  --accent-white: #FFFFFF;
  --accent-white-glow: rgba(255, 255, 255, 0.18);
  --accent-titanium: #A1A1AA;
  --accent-cyan: #38BDF8;
  --accent-emerald: #10B981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.2);
  --accent-amber: #F59E0B;
  --accent-rose: #F43F5E;

  /* Typography */
  --font-serif: "Cinzel", "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Inter", "Space Grotesk", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", "Consolas", monospace;
  
  /* Layout & Grid */
  --container-max: 1360px;
  --header-height: 80px;
  --grid-size: 32px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  /* Refined Luxury Shadows (Diffuse Optical Glows) */
  --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
  --shadow-card: 0 16px 40px -12px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.07);
  --shadow-card-hover: 0 24px 60px -15px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.16);
  --shadow-glow: 0 0 40px rgba(255, 255, 255, 0.08);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg-primary);
}

body {
  background-color: var(--bg-primary);
  color: var(--ink-secondary);
  font-family: var(--font-sans);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Base Architectural Micro-Grid Background */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
  pointer-events: none;
  z-index: -2;
}

/* Subtle Film Grain Noise Overlay */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.015;
  background-image: radial-gradient(rgba(255, 255, 255, 0.9) 1px, transparent 1px);
  background-size: 6px 6px;
  pointer-events: none;
  z-index: -1;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2.5rem;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  color: var(--ink-primary);
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(2rem, 3.8vw, 3rem);
}

h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
}

p {
  color: var(--ink-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease;
}

code, pre, .mono {
  font-family: var(--font-mono);
}

/* ==========================================================================
   NAVIGATION BAR (MATCHING media_1789076732937.png EXACT LOCKUP)
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(10, 10, 12, 0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 2rem;
}

/* Brand Link: Precision 1:1 Vector Lockup */
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 1.15rem;
  cursor: pointer;
  position: relative;
  text-decoration: none;
  flex-shrink: 0;
}

/* The Left Logo Mark in Nav */
.brand-mark {
  width: 38px;
  height: 38px;
  background: #0A0A0C;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9px;
  padding: 5px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Thin Vertical Divider */
.brand-divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.35);
  display: inline-block;
  flex-shrink: 0;
}

/* Wide-Spaced High-Contrast Serif Wordmark */
.brand-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.38em;
  color: #FFFFFF;
  text-transform: uppercase;
  margin-right: 0;
  white-space: nowrap;
  transition: opacity 0.25s ease;
}

.brand-link:hover .brand-mark {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6), 0 0 12px rgba(255, 255, 255, 0.15);
}

.brand-link:hover .brand-name {
  opacity: 0.9;
}

/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2.25rem;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  position: relative;
  padding: 0.5rem 0;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background: #FFFFFF;
  transform: translateX(-50%);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover {
  color: #FFFFFF;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: #FFFFFF;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Action Controls */

/* Luxury Primary Button (Architectural Hairline & Specular Gradient) */
.btn-luxury {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.75rem 1.65rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: #FFFFFF;
  color: #0A0A0C;
  border: 1px solid #FFFFFF;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  text-decoration: none;
}

.btn-luxury:hover {
  background: #E4E4E7;
  border-color: #E4E4E7;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.25);
  color: #0A0A0C;
}

.btn-luxury:active {
  transform: translateY(0);
}

.btn-luxury-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: #FFFFFF;
  border: 1px solid var(--border-medium);
  box-shadow: none;
}

.btn-luxury-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: #FFFFFF;
}

@media (max-width: 1024px) {
  .nav-menu {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
}

/* ==========================================================================
   SECTION STANDARDS
   ========================================================================== */

section {
  padding: 7.5rem 0;
  position: relative;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-muted);
  border: 1px solid var(--border-light);
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.section-tag::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.section-header {
  margin-bottom: 4rem;
}

.section-header.text-center {
  text-align: center;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  margin-bottom: 1.25rem;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--ink-muted);
  max-width: 700px;
  line-height: 1.7;
}

.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   FOOTER (MINIMAL ARCHITECTURAL MONOLITH)
   ========================================================================== */

.site-footer {
  background: #08080A;
  border-top: 1px solid var(--border-light);
  padding: 5rem 0 2.5rem;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  max-width: 380px;
  color: var(--ink-muted);
  line-height: 1.7;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
  color: #FFFFFF;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--ink-muted);
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-col ul li a:hover {
  color: #FFFFFF;
  transform: translateX(2px);
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-faint);
  letter-spacing: 0.06em;
}

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

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1.25rem;
    text-align: center;
  }
}

/* ==========================================================================
   ARCHITECTURAL TAGS & PRECISION TELEMETRY BADGES
   ========================================================================== */

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-titanium);
  margin-bottom: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.section-tag::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 1px;
  background: var(--accent-titanium);
  opacity: 0.6;
}
