:root {
  /* Colors */
  --bg-primary: #F7F5F0; /* Soft cream */
  --bg-secondary: #EBE5DB; /* Deeper cream for contrast */
  --bg-dark: #0F0F0F; /* Charcoal for high contrast sections */
  --text-primary: #1A1A1A; /* Near black */
  --text-secondary: #4A4A4A; /* Dark gray */
  --text-muted: #8A8A8A; /* Muted gray */
  --accent-primary: #D96A45; /* Warm orange */
  --border-color: rgba(26, 26, 26, 0.1);
  --border-light: rgba(255, 255, 255, 0.1);
  
  /* Typography */
  --font-heading: 'Instrument Serif', serif;
  --font-body: 'Inter', sans-serif;
  
  /* Spacing */
  --container-padding: 2rem;
  --section-padding: 8rem;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.4s ease;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.05;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.text-center { text-align: center; }
.text-orange { color: var(--accent-primary); }
.text-lg { font-size: 1.125rem; line-height: 1.6; }
.text-xl { font-size: 1.5rem; line-height: 1.4; }
.text-2xl { font-size: 2rem; }
.text-3xl { font-size: 2.5rem; }
.text-4xl { font-size: 3rem; }
.text-5xl { font-size: 4rem; }
.text-6xl { font-size: 5rem; }

.editorial-body {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 700px;
}

.editorial-quote {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  line-height: 1.2;
  border-left: 2px solid var(--accent-primary);
  padding-left: 2rem;
  margin: 3rem 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.link-underline {
  border-bottom: 1px solid var(--text-primary);
  padding-bottom: 2px;
  transition: border-color var(--transition-fast);
}

.link-underline:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.container-sm {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--section-padding) 0;
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--bg-primary);
}

.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 {
  color: var(--bg-primary);
}

.section-dark .text-secondary {
  color: #A0A0A0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 2.5rem;
  border-radius: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: 1px solid var(--text-primary);
}

.btn-primary {
  background-color: var(--text-primary);
  color: var(--bg-primary);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--text-primary);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-primary);
}

.btn-outline:hover {
  background-color: var(--text-primary);
  color: var(--bg-primary);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2rem 0;
  z-index: 100;
  transition: all var(--transition-normal);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background-color: rgba(247, 245, 240, 0.95);
  backdrop-filter: blur(12px);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 400;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.nav-links a:hover {
  color: var(--text-primary);
}

/* Nav Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  cursor: pointer;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 1rem);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(247, 245, 240, 0.98);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0.75rem 0;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  font-size: 0.85rem;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  background: var(--bg-secondary);
  color: var(--accent-primary);
}

/* Hero Section */
.hero {
  padding-top: 14rem;
  padding-bottom: 8rem;
  border-bottom: 1px solid var(--border-color);
}

.hero h1 {
  margin-bottom: 2rem;
  max-width: 900px;
}

.hero p {
  font-size: 1.5rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin-bottom: 3rem;
  line-height: 1.4;
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

/* Cards & Elements */
.editorial-card {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
}

.editorial-card.dark {
  border-color: var(--border-light);
}

.stat-block {
  margin-bottom: 2rem;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--accent-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

/* Forms */
.qualifier-form {
  background: var(--bg-secondary);
  padding: 4rem;
  border: 1px solid var(--border-color);
}

.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-control {
  width: 100%;
  padding: 1rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-color);
  font-family: var(--font-body);
  font-size: 1.25rem;
  color: var(--text-primary);
  border-radius: 0;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
}

select.form-control {
  appearance: none;
  cursor: pointer;
}

/* Footer */
.footer {
  padding: 6rem 0 3rem;
  background-color: var(--bg-dark);
  color: var(--bg-primary);
}

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

.footer h4 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--bg-primary);
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 0.75rem;
}

.footer ul li a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
  font-size: 0.95rem;
}

.footer ul li a:hover {
  color: var(--bg-primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Utility */
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-16 { margin-top: 4rem; }

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .qualifier-form { padding: 2rem; }
  .hero { padding-top: 10rem; }
  .text-6xl { font-size: 4rem; }
  .text-5xl { font-size: 3rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; }
  .section { padding: 4rem 0; }
  .text-6xl { font-size: 3rem; }
}
