:root {
  /* Tim Wendelboe Coffee Palette */
  --bg-primary: #0b0a08;
  --bg-secondary: #1a1410;
  --surface-elevated: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.05);
  
  --accent-primary: #c17a4b;
  --accent-secondary: #e3b588;
  --accent-highlight: #f2d3a1;
  
  --text-primary: #f5f1ea;
  --text-secondary: #d6c6b8;
  --text-muted: #a8907c;

  /* Typography */
  --font-sans: 'Inter', sans-serif;
  --font-serif: 'Playfair Display', serif;

  /* Layout */
  --max-width: 1320px;
  --radius-md: 14px;
  --radius-lg: 18px;
  
  /* Spacing */
  --section-spacing: 120px;
  --container-padding: 32px;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.2;
}

h1 { font-size: clamp(3rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.5rem; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1rem; }

p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.text-muted { color: var(--text-muted); font-size: 0.875rem; }
.editorial-text { font-family: var(--font-serif); font-style: italic; color: var(--accent-secondary); }

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

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

/* Header & Nav */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(11, 10, 8, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(193, 122, 75, 0.1);
  transition: all 0.4s ease;
}

.site-header.scrolled {
  background: rgba(11, 10, 8, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(193, 122, 75, 0.2);
}

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

.logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-primary);
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  color: var(--text-secondary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -4px;
  left: 0;
  background: var(--accent-primary);
  transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--accent-highlight); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.mobile-toggle {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: var(--bg-primary);
  box-shadow: 0 4px 15px rgba(193, 122, 75, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(193, 122, 75, 0.4);
  background: linear-gradient(135deg, var(--accent-secondary), var(--accent-highlight));
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--accent-primary);
}

.btn-outline:hover {
  background: rgba(193, 122, 75, 0.1);
  transform: translateY(-2px);
}

.btn-group {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

/* Glass Cards */
.glass-card {
  background: var(--surface-elevated);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at top right, rgba(193, 122, 75, 0.1), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  border-color: rgba(193, 122, 75, 0.3);
}

.glass-card:hover::before { opacity: 1; }

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content { position: relative; z-index: 2; }

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 70vh;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85) contrast(1.1);
}

.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-primary), transparent);
}

/* Page Headers */
.page-header {
  padding: 180px 0 80px;
  text-align: center;
  background: linear-gradient(to bottom, var(--bg-secondary), var(--bg-primary));
  position: relative;
}

/* Grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; align-items: center; }

/* Image Wrappers */
.img-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

.img-wrapper img {
  transition: transform 0.8s ease;
}

.img-wrapper:hover img {
  transform: scale(1.05);
}

/* Footer */
.site-footer {
  background: var(--bg-secondary);
  padding: 80px 0 40px;
  border-top: 1px solid var(--glass-border);
}

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

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-links a:hover { color: var(--accent-highlight); }

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Forms */
.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; margin-bottom: 0.5rem; color: var(--text-secondary); font-size: 0.9rem; }
.form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1rem;
  color: var(--text-primary);
  font-family: var(--font-sans);
  transition: all 0.3s ease;
}
.form-control:focus { outline: none; border-color: var(--accent-primary); background: rgba(255, 255, 255, 0.05); }
textarea.form-control { resize: vertical; min-height: 150px; }

/* Legal Text */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { margin-top: 3rem; }
.legal-content p { color: var(--text-secondary); }

/* Utility */
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }