/* ═══════════════════════════════════════════════
   Windy Ridge — Global Styles
   Dark theme (Midnight Garden)
   ═══════════════════════════════════════════════ */

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

:root {
  --bg: #0D0F0E;
  --surface: #131715;
  --border: #1E2422;
  --accent: #2D6A4F;
  --accent-light: #40916C;
  --text: #E8E6E3;
  --text-muted: #7A7A7A;
  --text-dim: #5A5A5A;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --max-width: 1440px;
  --content-width: 800px;
  --pad: 80px;
}

html { scroll-behavior: smooth; }

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

a { color: var(--accent-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--text); }

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

/* ── Nav ── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px var(--pad);
  max-width: var(--max-width);
  margin: 0 auto;
}
.nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav-brand img {
  height: 72px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav-links a:hover { color: var(--text); }
.nav-links .btn-nav {
  padding: 10px 24px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  color: var(--accent);
  font-weight: 500;
}
.nav-links .btn-nav:hover {
  background: var(--accent);
  color: var(--text);
}

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: 0.3s; }

/* ── Hero ── */
.hero {
  padding: 100px var(--pad) 80px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.hero-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1.12;
  max-width: 720px;
  margin-bottom: 20px;
}
.hero p {
  font-size: 17px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 560px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-decoration: none;
}
.btn-primary { background: var(--accent); color: var(--text); }
.btn-primary:hover { background: var(--accent-light); color: var(--text); }
.btn-outline { background: transparent; border: 1px solid var(--accent); color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: var(--text); }
.btn-group { display: flex; align-items: center; gap: 16px; margin-top: 28px; }

/* ── Section ── */
.section {
  padding: 80px var(--pad);
  max-width: var(--max-width);
  margin: 0 auto;
}
.section-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section h2 {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 560px;
}
.divider { height: 1px; background: var(--border); }

/* ── Cards ── */
.card-grid {
  display: flex;
  gap: 24px;
  margin-top: 40px;
}
.card {
  flex: 1;
  padding: 40px 32px;
  background: var(--surface);
  border-radius: 8px;
  border: 1px solid var(--border);
}
.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: rgba(45,106,79,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}
.card p {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ── Stats Band ── */
.stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 100px;
  padding: 60px var(--pad);
  background: var(--surface);
}
.stat { text-align: center; }
.stat-value {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.03em;
}
.stat-label {
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  margin-top: 4px;
}
.stat-divider { width: 1px; height: 48px; background: var(--border); }

/* ── Feature Rows ── */
.feature-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 32px;
}
.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: rgba(45,106,79,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-row h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.feature-row p {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.5;
}

/* ── CTA Banner ── */
.cta-banner {
  text-align: center;
  padding: 80px var(--pad);
  background: var(--surface);
}
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.cta-banner p {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-dim);
  max-width: 480px;
  margin: 0 auto 28px;
  line-height: 1.5;
}
.cta-banner .btn-group { justify-content: center; }

/* ── Footer ── */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 60px var(--pad);
  max-width: var(--max-width);
  margin: 0 auto;
  border-top: 1px solid var(--border);
}
.footer-brand h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 13px;
  font-weight: 300;
  color: #4A4A4A;
  max-width: 260px;
  line-height: 1.5;
}
.footer-cols { display: flex; gap: 80px; }
.footer-col h5 {
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.15em;
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  font-weight: 300;
  color: var(--text-dim);
  margin-bottom: 10px;
}
.footer-col a:hover { color: var(--text); }

/* ── Places We Work Flyup ── */
.footer-areas {
  position: relative;
}
.footer-areas-trigger {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-dim);
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-body);
  padding: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-areas-trigger:hover { color: var(--text); }
.footer-areas-trigger svg { transition: transform 0.3s; }
.footer-areas.open .footer-areas-trigger svg { transform: rotate(180deg); }
.footer-areas-menu {
  display: none;
  position: absolute;
  bottom: 100%;
  left: 0;
  margin-bottom: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  width: 600px;
  max-height: 420px;
  overflow-y: auto;
  z-index: 50;
  box-shadow: 0 -8px 32px rgba(0,0,0,0.4);
}
.footer-areas.open .footer-areas-menu { display: block; }
.footer-areas-group h6 {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
  margin-top: 16px;
}
.footer-areas-group:first-child h6 { margin-top: 0; }
.footer-areas-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}
.footer-areas-links a {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-dim);
  margin-bottom: 0;
}
.footer-areas-links a:hover { color: var(--text); }

@media (max-width: 768px) {
  .footer-areas-menu { width: calc(100vw - 48px); left: -12px; }
}

/* ── Article Page ── */
.article-header {
  padding: 80px var(--pad) 40px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.article-header h1 {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.2;
  max-width: var(--content-width);
}
.article-meta {
  font-size: 14px;
  color: var(--text-dim);
  margin-top: 12px;
}
.article-body {
  padding: 0 var(--pad) 80px;
  max-width: calc(var(--content-width) + var(--pad) * 2);
  margin: 0 auto;
}
.article-body p {
  font-size: 17px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}
.article-body h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  margin: 48px 0 16px;
}
.article-body h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  margin: 36px 0 12px;
}
.article-body ul, .article-body ol {
  margin: 0 0 24px 24px;
  color: var(--text-muted);
}
.article-body li {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 8px;
}
.article-body strong { color: var(--text); font-weight: 500; }

/* ── Article List ── */
.article-list { display: flex; flex-direction: column; gap: 0; }
.article-preview {
  display: flex;
  padding: 40px 0;
  gap: 40px;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.article-preview:first-child { padding-top: 0; }
.article-preview-body { flex: 1; }
.article-preview h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.article-preview h3 a { color: var(--text); }
.article-preview h3 a:hover { color: var(--accent-light); }
.article-preview p {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 12px;
}
.article-preview .read-more {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── Contact Form ── */
.form-grid { display: flex; gap: 16px; margin-bottom: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; flex: 1; margin-bottom: 20px; }
.form-group label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--accent); }
.form-group textarea { min-height: 120px; resize: vertical; }

/* ── Service Detail ── */
.service-block {
  display: flex;
  padding: 60px 0;
  gap: 60px;
  border-top: 1px solid var(--border);
  align-items: flex-start;
}
.service-num {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 200;
  color: var(--accent);
  opacity: 0.4;
  letter-spacing: -0.04em;
  width: 100px;
  flex-shrink: 0;
}
.service-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin-top: 8px;
}
.service-includes {
  padding-top: 24px;
  margin-top: 20px;
  border-top: 1px solid var(--border);
}
.service-includes h4 {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}
.service-tags { display: flex; gap: 12px; flex-wrap: wrap; }
.service-tags span {
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
  padding: 6px 16px;
  background: rgba(45,106,79,0.08);
  border-radius: 4px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  :root { --pad: 40px; }
  .hero h1 { font-size: 42px; }
  .card-grid { flex-direction: column; }
  .stats { gap: 48px; flex-wrap: wrap; }
  .footer { flex-direction: column; gap: 40px; }
  .service-block { flex-direction: column; gap: 20px; }
}
@media (max-width: 768px) {
  :root { --pad: 24px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    gap: 20px;
    z-index: 100;
  }
  .nav-toggle { display: block; }
  .nav { position: relative; }
  .hero h1 { font-size: 34px; }
  .section h2 { font-size: 30px; }
  .stats { flex-direction: column; gap: 32px; }
  .stat-divider { width: 48px; height: 1px; }
  .btn-group { flex-direction: column; }
  .form-grid { flex-direction: column; }
  .article-preview { flex-direction: column; gap: 16px; }
}
