:root {
  --bg: #f5f1ed;
  --text: #2d2520;
  --text-muted: #6b5d54;
  --border: #d9cfc5;
  --accent: #8b6f47;
}

@import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:wght@300;400;500&family=Inter:wght@400;500&display=swap');

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

html, body {
  height: 100%;
  font-family: 'Crimson Pro', Georgia, serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Subtle gradient background - OPTION 1 (default) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background: 
    radial-gradient(circle at 20% 10%, rgba(139, 111, 71, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 90%, rgba(139, 111, 71, 0.02) 0%, transparent 50%);
  pointer-events: none;
}

/* Subtle grid pattern - OPTION 2 (uncomment to use)
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
*/

/* Noise texture - OPTION 3 (uncomment to use)
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
}
*/

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container.narrow {
  max-width: 720px;
}

/* Header */
.site-header {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}

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

.brand {
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.02em;
  font-family: 'Crimson Pro', serif;
}

.site-nav {
  display: flex;
  gap: 2rem;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
  font-family: Inter, sans-serif;
}

.site-nav a:hover {
  color: var(--accent);
}

/* Hero */
.hero {
  padding: 8rem 0 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('./images/oil-gas.png');
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  z-index: -1;
}

.hero h1 {
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}

.subtitle {
  font-size: 1.5rem;
  color: var(--accent);
  font-weight: 300;
  letter-spacing: 0.01em;
  font-style: italic;
}

/* Intro */
.intro {
  padding: 4rem 0 6rem;
  border-bottom: 1px solid var(--border);
}

.lead {
  font-size: 1.625rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  font-weight: 300;
  letter-spacing: 0;
}

.intro p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-weight: 300;
}

/* Domains */
.domains {
  padding: 6rem 0;
}

.domains h2 {
  font-size: 2.25rem;
  font-weight: 300;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.section-intro {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 4rem;
  font-weight: 300;
}

.domain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem 2rem;
  margin-bottom: 4rem;
}

.domain-item h3 {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--accent);
  margin-bottom: 0.5rem;
  letter-spacing: 0.1em;
  font-family: Inter, sans-serif;
}

.domain-item p {
  font-size: 1.25rem;
  line-height: 1.5;
  font-weight: 300;
}

.methodology {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.result {
  font-size: 1.375rem;
  font-weight: 400;
  margin-top: 2rem;
  letter-spacing: 0;
  color: var(--accent);
  font-style: italic;
}

/* Contact */
.contact {
  padding: 6rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.contact h2 {
  font-size: 2.25rem;
  font-weight: 300;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.contact > div > p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-weight: 300;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.125rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--border);
  transition: all 0.2s;
  font-family: Inter, sans-serif;
}

.contact-links a:hover {
  border-bottom-color: var(--accent);
  color: var(--accent);
}

/* Footer */
.site-footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.site-footer p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }

  .hero {
    padding: 5rem 0 4rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 1.125rem;
  }

  .site-nav {
    gap: 1.5rem;
  }

  .domain-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .intro, .domains, .contact {
    padding: 3rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  body::before {
    animation: none;
  }
}
