/* ============================================================
   Ventirra — Polished Minimal, No External Dependencies
   ============================================================ */

:root {
  --slate:        #1C2530;
  --slate-mid:    #2E3D4F;
  --offwhite:     #F6F5F2;
  --warm-white:   #FDFCFA;
  --muted:        #5A6A7A;
  --muted-lt:     #8A9BAC;
  --green:        #4A6350;
  --green-lt:     #6B8C74;
  --green-tint:   rgba(74,99,80,.07);
  --green-line:   rgba(74,99,80,.20);
  --line:         rgba(28,37,48,.09);
  --line-md:      rgba(28,37,48,.13);
  --card-bg:      rgba(255,255,255,.80);
  --shadow-sm:    0 2px 8px rgba(28,37,48,.05);
  --shadow-md:    0 8px 28px rgba(28,37,48,.09);
  --radius-sm:    10px;
  --radius:       16px;
  --radius-lg:    22px;
  --max:          1060px;

  /* System serif for display — renders beautifully on Mac/Windows/iOS */
  --font-display: 'Georgia', 'Times New Roman', serif;
  /* System sans — crisp on every OS */
  --font-body:    -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--slate);
  background: var(--offwhite);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.section { padding: 64px 0; }
.section + .section { border-top: 1px solid var(--line); }

/* ---- Scroll reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .60s cubic-bezier(.22,1,.36,1), transform .60s cubic-bezier(.22,1,.36,1);
}
.reveal.visible        { opacity: 1; transform: none; }
.reveal-delay-1        { transition-delay: .10s; }
.reveal-delay-2        { transition-delay: .20s; }
.reveal-delay-3        { transition-delay: .30s; }

/* ============================================================
   HEADER
   ============================================================ */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246,245,242,.90);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-md);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 15px 0;
}

.brand { display: flex; flex-direction: column; gap: 4px; }
.brand .name {
  font-family: var(--font-display);
  font-size: 22px; font-weight: normal;
  letter-spacing: .02em; color: var(--slate);
  font-style: italic;
}
.brand .tag {
  font-size: 10.5px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--green);
}
.brand:hover { text-decoration: none; }

.nav { display: flex; gap: 2px; align-items: center; }
.nav a {
  font-size: 14px; font-weight: 500;
  color: var(--muted); padding: 7px 13px;
  border-radius: var(--radius-sm);
  transition: color .15s, background .15s;
}
.nav a:hover { color: var(--slate); background: rgba(28,37,48,.06); text-decoration: none; }
.nav a.active { color: var(--slate); font-weight: 700; }

/* Mobile hamburger */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 8px;
  cursor: pointer; border-radius: var(--radius-sm);
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--slate); border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-drawer {
  display: none; flex-direction: column;
  padding: 8px 0 16px; border-top: 1px solid var(--line);
}
.nav-drawer a {
  font-size: 15px; font-weight: 500; color: var(--muted);
  padding: 12px 2px; border-bottom: 1px solid var(--line);
  transition: color .15s;
}
.nav-drawer a:hover, .nav-drawer a.active { color: var(--slate); text-decoration: none; }
.nav-drawer.open { display: flex; }

@media (max-width: 640px) { .nav { display: none; } .nav-toggle { display: flex; } }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 72px 0 36px; position: relative; overflow: hidden; }
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 68% 38%, rgba(74,99,80,.07) 0%, transparent 70%),
    radial-gradient(ellipse 45% 75% at 8% 85%,  rgba(28,37,48,.04) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1.25fr .75fr;
  gap: 32px; align-items: start; position: relative;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: 46px; line-height: 1.12;
  letter-spacing: -.01em; font-weight: normal;
  color: var(--slate); margin-bottom: 18px;
}
.hero .lead {
  font-size: 17px; line-height: 1.65;
  color: var(--muted); max-width: 50ch;
  margin: 0 0 28px; font-weight: 400;
}
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }

/* Hero aside card */
.hero-card {
  background: var(--card-bg);
  border: 1px solid var(--line-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 24px 22px;
}
.card-title {
  font-size: 10px; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--green); margin-bottom: 14px;
}
.card-text { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 0 0 14px; }
.card-list { display: flex; flex-direction: column; gap: 10px; }
.card-list li {
  font-size: 13.5px; line-height: 1.45;
  color: var(--slate-mid); padding-left: 18px; position: relative;
}
.card-list li::before {
  content: '';
  position: absolute; left: 0; top: 7px;
  width: 6px; height: 6px;
  border-radius: 50%; background: var(--green-lt);
}

/* Stat strip */
.stat-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: 48px;
  border: 1px solid var(--line-md);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line-md);
  gap: 1px;
}
.stat-cell { background: var(--warm-white); padding: 22px; text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-size: 28px; font-weight: normal; font-style: italic;
  color: var(--slate); line-height: 1; margin-bottom: 5px;
}
.stat-label {
  font-size: 11px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted-lt);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 11px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px; font-weight: 600;
  border: 1px solid var(--line-md);
  background: transparent; color: var(--slate);
  cursor: pointer;
  transition: background .15s, box-shadow .15s, transform .12s;
}
.btn:hover { background: rgba(28,37,48,.06); text-decoration: none; transform: translateY(-1px); }
.btn.primary {
  background: var(--slate); color: var(--offwhite);
  border-color: var(--slate);
  box-shadow: 0 3px 12px rgba(28,37,48,.18);
}
.btn.primary:hover {
  background: var(--slate-mid); border-color: var(--slate-mid);
  box-shadow: 0 5px 18px rgba(28,37,48,.22);
}

/* ============================================================
   SECTION KICKER
   ============================================================ */
.section-kicker {
  font-size: 10px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--green); margin-bottom: 26px;
  display: flex; align-items: center; gap: 10px;
}
.section-kicker::after {
  content: ''; flex: 1; max-width: 40px;
  height: 1px; background: var(--green-line);
}

/* ============================================================
   PANELS
   ============================================================ */
.panel {
  background: var(--card-bg);
  border: 1px solid var(--line-md);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 26px 24px;
  transition: box-shadow .22s, transform .22s;
}
.panel:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.panel h2 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: normal; font-style: italic;
  letter-spacing: -.01em; margin-bottom: 12px; color: var(--slate);
}
.panel h3 {
  font-size: 11px; font-weight: 700;
  letter-spacing: .10em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 12px;
}
.panel p { font-size: 15px; line-height: 1.65; color: var(--muted); margin: 0 0 10px; }
.panel p:last-child { margin-bottom: 0; }
.panel.subtle { background: var(--green-tint); border-color: var(--green-line); }
.panel a { color: var(--green); font-weight: 600; }
.panel a:hover { text-decoration: underline; }

.stack { display: flex; flex-direction: column; gap: 14px; }
.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; align-items: start; }

/* ============================================================
   CARDS
   ============================================================ */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card {
  background: var(--card-bg);
  border: 1px solid var(--line-md);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 22px 20px;
  transition: box-shadow .22s, transform .22s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card h3 {
  font-family: var(--font-display);
  font-size: 17px; font-weight: normal; font-style: italic;
  margin-bottom: 10px; color: var(--slate);
}
.card p { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0 0 12px; }

.mini { display: flex; flex-direction: column; gap: 7px; padding-left: 0; margin-top: 10px; }
.mini li { font-size: 13.5px; line-height: 1.45; color: var(--slate-mid); padding-left: 16px; position: relative; }
.mini li::before { content: '–'; position: absolute; left: 0; color: var(--green-lt); font-weight: 700; }

.section-cta { margin-top: 28px; display: flex; gap: 12px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-list { display: flex; flex-direction: column; gap: 12px; margin: 18px 0; }
.contact-list > div { display: flex; align-items: baseline; gap: 12px; font-size: 15px; }
.label {
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .10em; text-transform: uppercase;
  color: var(--muted-lt); min-width: 52px;
}
.contact-list a { color: var(--slate); font-weight: 600; }
.contact-list a:hover { color: var(--green); }
.muted-text { font-size: 13.5px; color: var(--muted); line-height: 1.6; margin-top: 14px; }

/* Contact form */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field label {
  font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.field input,
.field select,
.field textarea {
  font-family: var(--font-body); font-size: 14.5px;
  color: var(--slate); background: var(--warm-white);
  border: 1px solid var(--line-md); border-radius: var(--radius-sm);
  padding: 10px 13px; outline: none;
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none; appearance: none;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--green-lt);
  box-shadow: 0 0 0 3px rgba(74,99,80,.10);
}
.field textarea { resize: vertical; min-height: 100px; }
.form-note { font-size: 12px; color: var(--muted-lt); margin-top: 8px; }
.form-success {
  display: none;
  background: var(--green-tint); border: 1px solid var(--green-line);
  border-radius: var(--radius); padding: 18px 20px;
  font-size: 15px; color: var(--green); font-weight: 600; margin-top: 14px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { padding: 32px 0 44px; border-top: 1px solid var(--line-md); }
.footer-inner {
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 20px; flex-wrap: wrap; margin-bottom: 20px;
}
.footer-brand {
  font-family: var(--font-display); font-style: italic;
  font-size: 17px; font-weight: normal;
  color: var(--slate); margin-bottom: 5px;
}
.footer-note { font-size: 13px; color: var(--muted-lt); max-width: 40ch; line-height: 1.55; }
.footer-right { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); flex-wrap: wrap; }
.footer-right a { color: var(--muted); transition: color .14s; }
.footer-right a:hover { color: var(--slate); text-decoration: none; }
.dot { color: var(--line-md); }
.footer-meta { font-size: 12px; color: var(--muted-lt); border-top: 1px solid var(--line); padding-top: 16px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .hero { padding: 52px 0 24px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
  .cards { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; gap: 10px; background: none; border: none; }
  .stat-cell { border: 1px solid var(--line-md); border-radius: var(--radius); }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .hero h1 { font-size: 30px; }
  .section { padding: 48px 0; }
  .panel h2 { font-size: 20px; }
  .container { padding: 0 16px; }
}

/* ============================================================
   GRAPHICS ADD-ONS
   ============================================================ */

/* Logo image in header */
.brand-logo {
  display: block;
  height: 44px;
  width: auto;
}
.brand:hover { opacity: .88; transition: opacity .15s; }

/* Hero illustration */
.hero-illustration {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  display: block;
  box-shadow: var(--shadow-md);
}
.hero-illo-wrap {
  position: relative;
}
.hero-illo-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-md);
  pointer-events: none;
}

/* Service card icon chip */
.card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--green-tint);
  border: 1px solid var(--green-line);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  color: var(--green);
  flex-shrink: 0;
  transition: background .2s, transform .2s;
}
.card:hover .card-icon { background: rgba(74,99,80,.14); transform: scale(1.08); }
.panel-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--green-tint);
  border: 1px solid var(--green-line);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: var(--green);
}

/* Background texture — topographic dot pattern */
.topo-bg {
  position: relative;
}
.topo-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(74,99,80,.12) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}
.topo-bg > * { position: relative; z-index: 1; }

/* Subtle contour lines on hero */
.hero-contour {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.045;
}

/* Section divider with mountain motif */
.section-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 32px;
  color: var(--muted-lt);
}
.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line-md);
}

/* Pull-quote / highlight band */
.highlight-band {
  background: var(--green-tint);
  border-top: 1px solid var(--green-line);
  border-bottom: 1px solid var(--green-line);
  padding: 32px 0;
  text-align: center;
}
.highlight-band p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--slate);
  max-width: 56ch;
  margin: 0 auto;
  line-height: 1.5;
}
