/* ================================================================
   T. Tran Landscaping — Botanical visual system
   Stripe's type system (sohne-var → Inter fallback, weight 300, tight
   tracking, ss01) retinted for a garden palette: deep forest headings,
   garden-green primary, warm terracotta/gold accents, green-tinted shadows.
   Same variable names (--purple, --ruby, etc.) — new values.
   ================================================================ */

:root {
  /* Brand & core — botanical greens (var names kept for stability) */
  --purple:        #1f6b43;   /* garden green — primary brand/CTA */
  --purple-hover:  #185234;   /* darker green hover */
  --purple-deep:   #0f3d27;   /* deepest green for icon hover */
  --purple-mid:    #2b8a5a;   /* mid green for ranges/highlights */
  --purple-light:  #a8d4bd;   /* soft sage for subdued backgrounds */
  --purple-soft:   #d0e5d9;   /* pale sage for subtle borders */

  --brand-dark:    #0f2e22;   /* deep forest — dark section bg */
  --dark-navy:     #071a12;   /* darkest forest — near-black */

  --heading:       #0f2919;   /* deep forest-near-black — heading color */
  --label:         #2d4236;   /* dark sage — labels */
  --body:          #5f7166;   /* green-gray — body text */

  --ruby:          #c76b50;   /* terracotta — warm accent */
  --magenta:       #e4b86a;   /* warm gold — decorative accent */
  --magenta-light: #f3dbcc;   /* blush tint — tinted surfaces */

  --success:       #15be53;
  --success-text:  #108c3d;
  --lemon:         #9b6829;

  /* Surfaces */
  --white:         #ffffff;
  --surface-muted: #f7f5f0;   /* warm cream — muted section bg */
  --border:        #e3e8de;   /* soft sage-gray border */

  /* Shadows — green-tinted, multi-layer */
  --shadow-ambient: rgba(23,30,25,0.06) 0 3px 6px;
  --shadow-soft:    rgba(23,30,25,0.08) 0 15px 35px;
  --shadow-lift:    rgba(34,70,50,0.22) 0 30px 45px -30px, rgba(0,0,0,0.1) 0 18px 36px -18px;
  --shadow-deep:    rgba(15,41,34,0.25) 0 14px 21px -14px, rgba(0,0,0,0.1) 0 8px 17px -8px;

  /* Type */
  --sans: 'sohne-var', 'Söhne', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;
  --mono: 'SourceCodePro', 'Source Code Pro', 'SFMono-Regular', Menlo, Consolas, monospace;

  /* Radius */
  --r-tight: 4px;
  --r-std:   5px;
  --r-med:   6px;
  --r-lg:    8px;

  /* Layout */
  --container: 1080px;
}

/* Reset / base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-feature-settings: "ss01";
  color: var(--heading);
  background: var(--white);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--purple); text-decoration: none; }
a:hover { color: var(--purple-hover); }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; }
p  { margin: 0; }

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

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--purple); color: #fff; padding: 8px 12px; border-radius: var(--r-tight);
}
.skip-link:focus { left: 12px; top: 12px; z-index: 100; }

/* ===============================================================
   Typography scale
   =============================================================== */
.display {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 300;
  line-height: 1.03;
  letter-spacing: -1.4px;
  color: var(--heading);
  margin: 0 0 20px;
}
.heading-xl {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.96px;
  color: var(--heading);
  margin: 0 0 18px;
}
.heading-xl.light { color: #fff; }

h3 {
  font-size: 22px;
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.22px;
  color: var(--heading);
}
h4 {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.18px;
  color: var(--heading);
}
h5 {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--label);
}

.lede {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.45;
  color: var(--body);
  max-width: 620px;
}
.sub {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--body);
  max-width: 620px;
}
.sub-light { color: rgba(255,255,255,0.72); }

.eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 16px;
}
.eyebrow-light { color: var(--magenta); }

/* ===============================================================
   Buttons
   =============================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--r-tight);
  font-family: var(--sans);
  font-feature-settings: "ss01";
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn-lg { padding: 12px 20px; font-size: 15px; }
.btn-full { width: 100%; justify-content: center; }

.btn-primary {
  background: var(--purple);
  color: #fff;
  border-color: var(--purple);
}
.btn-primary:hover { background: var(--purple-hover); border-color: var(--purple-hover); color: #fff; }
.btn-primary:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }

.btn-ghost {
  background: transparent;
  color: var(--purple);
  border: 1px solid var(--purple-light);
}
.btn-ghost:hover { background: rgba(31,107,67,0.06); border-color: var(--purple); color: var(--purple); }

/* ===============================================================
   Nav
   =============================================================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex; align-items: center; gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--heading);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.2px;
}
.brand em { font-style: normal; font-weight: 300; color: var(--body); margin-left: 4px; }
.brand-mark {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-med);
  background: var(--surface-muted);
  border: 1px solid var(--border);
}
.nav-links {
  display: flex; gap: 20px;
  margin-left: 12px;
  flex: 1;
}
.nav-links a {
  font-size: 14px; font-weight: 400;
  color: var(--heading);
  font-feature-settings: "ss01";
  padding: 6px 0;
}
.nav-links a:hover { color: var(--purple); }
.nav-cta { display: flex; gap: 10px; align-items: center; }

@media (max-width: 880px) {
  .nav-links { display: none; }
}
@media (max-width: 540px) {
  .nav-cta .btn-ghost { display: none; }
}

/* ===============================================================
   Hero
   =============================================================== */
.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f8faf4 100%);
}
.hero-decor {
  position: absolute; inset: -10% -20% auto auto;
  width: 900px; height: 900px; pointer-events: none;
  background:
    radial-gradient(circle at 30% 40%, rgba(31,107,67,0.22) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(228,184,106,0.22) 0%, transparent 55%),
    radial-gradient(circle at 60% 30%, rgba(199,107,80,0.14) 0%, transparent 60%);
  filter: blur(40px);
  opacity: 0.9;
}
.hero-leaf {
  position: absolute;
  top: 40px; right: 32px;
  width: 240px; height: 240px;
  pointer-events: none;
  opacity: 0.08;
  color: var(--purple);
  transform: rotate(18deg);
}
@media (max-width: 880px) { .hero-leaf { display: none; } }
.hero-inner { position: relative; }
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 28px;
}
.hero-meta {
  margin: 56px 0 0;
  padding: 24px 28px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lift);
}
.hero-meta div { display: flex; flex-direction: column; gap: 4px; }
.hero-meta dt {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--body);
}
.hero-meta dd {
  margin: 0;
  font-size: 20px;
  font-weight: 300;
  letter-spacing: -0.2px;
  color: var(--heading);
}

@media (max-width: 640px) {
  .hero { padding: 64px 0 56px; }
  .hero-meta { grid-template-columns: 1fr; gap: 16px; padding: 20px; }
}

/* ===============================================================
   Sections
   =============================================================== */
.section {
  padding: 96px 0;
  position: relative;
}
.section-muted { background: var(--surface-muted); }

.section-head {
  max-width: 720px;
  margin: 0 0 48px;
}

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

@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}

/* ===============================================================
   Cards / Services
   =============================================================== */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-med);
  padding: 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card {
  display: flex; flex-direction: column; gap: 12px;
}
.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
  border-color: var(--purple-soft);
}
.service-card h3 { margin-top: 4px; }
.service-card p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--body);
}
.icon-wrap {
  width: 44px; height: 44px;
  border-radius: var(--r-med);
  background: linear-gradient(135deg, rgba(31,107,67,0.10), rgba(228,184,106,0.10));
  border: 1px solid var(--border);
  color: var(--purple);
  display: inline-flex; align-items: center; justify-content: center;
}
.icon-wrap svg { width: 22px; height: 22px; }

/* ===============================================================
   Work grid
   =============================================================== */
.work-grid { grid-auto-rows: 280px; }
.work-tile {
  margin: 0;
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
  background: var(--brand-dark);
}
.work-tile img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.work-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.work-tile:hover img { transform: scale(1.04); }
.work-tile figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 16px 16px 14px;
  display: flex; align-items: center; justify-content: space-between;
  color: #fff;
  background: linear-gradient(180deg, rgba(15,41,34,0) 0%, rgba(15,41,34,0.85) 100%);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  z-index: 1;
}
.work-tag {
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 4px 8px;
  border-radius: var(--r-tight);
  border: 1px solid rgba(255,255,255,0.12);
}
.work-loc { opacity: 0.92; }

/* ===============================================================
   Dark section — Service areas
   =============================================================== */
.section-dark {
  background: var(--brand-dark);
  color: #fff;
  overflow: hidden;
}
.dark-decor {
  position: absolute; inset: auto -20% -40% auto;
  width: 700px; height: 700px;
  background:
    radial-gradient(circle, rgba(228,184,106,0.28) 0%, transparent 55%),
    radial-gradient(circle at 60% 40%, rgba(199,107,80,0.22) 0%, transparent 60%),
    radial-gradient(circle at 40% 60%, rgba(43,138,90,0.18) 0%, transparent 65%);
  filter: blur(50px);
  pointer-events: none;
}
.regions { position: relative; z-index: 1; }
.region-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-med);
  padding: 24px;
}
.region-card h4 {
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(255,255,255,0.18);
}
.region-card ul { display: flex; flex-direction: column; gap: 6px; }
.region-card li {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.78);
  line-height: 1.4;
}

/* ===============================================================
   About / stats
   =============================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.stat-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.stat-list li {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-med);
  box-shadow: var(--shadow-ambient);
  display: flex; flex-direction: column; gap: 10px;
}
.stat-num {
  font-size: 36px;
  font-weight: 300;
  letter-spacing: -0.72px;
  color: var(--heading);
  font-feature-settings: "tnum";
}
.stat-num sub {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
  margin-left: 6px;
  vertical-align: middle;
}
.stat-label {
  font-size: 13px;
  color: var(--body);
  line-height: 1.45;
}
@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 520px) {
  .stat-list { grid-template-columns: 1fr; }
}

/* ===============================================================
   Contact section
   =============================================================== */
.contact-section { background: var(--surface-muted); }
.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  padding: 48px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lift);
}
.contact-meta {
  margin-top: 32px;
  display: flex; flex-direction: column; gap: 18px;
}
.contact-row {
  display: flex; align-items: center; gap: 14px;
  color: var(--heading);
}
a.contact-row:hover { color: var(--purple); }
.contact-icon {
  width: 36px; height: 36px;
  border-radius: var(--r-med);
  background: var(--surface-muted);
  border: 1px solid var(--border);
  color: var(--purple);
  display: inline-flex; align-items: center; justify-content: center;
}
.contact-icon svg { width: 18px; height: 18px; }
.contact-label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--body);
  font-weight: 500;
  margin-bottom: 2px;
}
.contact-value {
  display: block;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.17px;
}

.quote-form {
  display: flex; flex-direction: column; gap: 14px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--label);
  font-feature-settings: "ss01";
}
.field input, .field textarea {
  font-family: var(--sans);
  font-feature-settings: "ss01";
  font-size: 15px;
  font-weight: 300;
  color: var(--heading);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-tight);
  padding: 10px 12px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(31,107,67,0.15);
}
.field textarea { resize: vertical; }
.form-success {
  background: rgba(21,190,83,0.2);
  color: var(--success-text);
  border: 1px solid rgba(21,190,83,0.4);
  border-radius: var(--r-tight);
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 400;
}
.form-foot {
  font-size: 13px;
  color: var(--body);
}

@media (max-width: 880px) {
  .contact-card { grid-template-columns: 1fr; padding: 32px; gap: 32px; }
  .field-row { grid-template-columns: 1fr; }
}

/* ===============================================================
   Footer
   =============================================================== */
.footer {
  background: #0b1a2e;
  color: rgba(255,255,255,0.75);
  padding: 64px 0 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer .brand { color: #fff; }
.footer .brand em { color: rgba(255,255,255,0.6); }
.footer .brand-mark { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); }
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.5;
  max-width: 320px;
  color: rgba(255,255,255,0.6);
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-cols h5 {
  color: rgba(255,255,255,0.9);
  margin-bottom: 14px;
}
.footer-cols ul { display: flex; flex-direction: column; gap: 8px; }
.footer-cols a {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  font-weight: 300;
}
.footer-cols a:hover { color: #fff; }
.footer-cols li { font-size: 14px; font-weight: 300; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px;
  padding-top: 24px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
@media (max-width: 880px) {
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .footer-cols { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
