/* =========================================================
   EVERBLOOM — Landscape Design & Garden Care, Raleigh NC
   Design tokens
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400;1,9..144,500&family=Inter:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root{
  /* Color */
  --bg:            #F7F4EC;   /* warm paper */
  --bg-alt:        #EFE9D8;   /* stone / soil band */
  --bg-deep:       #1E2818;   /* deep botanical ink, used as dark section bg */
  --ink:           #202318;   /* near-black with green undertone, primary text */
  --ink-soft:      #5B5F51;   /* muted sage-grey, secondary text */
  --ink-on-deep:   #EFE9D8;   /* text on dark sections */
  --green-deep:    #2F5D1E;   /* primary brand green (deepened from logo) */
  --green-bright:  #5FAE1A;   /* logo green — sparing accent */
  --amber:         #E2971F;   /* logo amber — sparing accent */
  --line:          #DAD2B8;   /* hairline border, light */
  --line-deep:     #3C4A30;   /* hairline border, on dark */

  /* Type */
  --font-display:  'Fraunces', Georgia, serif;
  --font-body:     'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:     'IBM Plex Mono', 'Courier New', monospace;

  --radius-tag: 2px 2px 2px 10px;
}

*, *::before, *::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family:var(--font-display); font-weight:500; margin:0; color:var(--ink); line-height:1.18; text-wrap:balance; }
p{ margin:0; }
.container{
  max-width:1160px;
  margin:0 auto;
  padding:0 32px;
}
@media (max-width:640px){ .container{ padding:0 20px; } }

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.001ms !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

/* Visible focus states */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible{
  outline:2px solid var(--green-deep);
  outline-offset:3px;
}

/* =========================================================
   Signature element — the plant tag
   A nod to nursery plant markers: small mono-type labels
   with a cut/stake corner, used as eyebrows, category
   badges and portfolio captions throughout the site.
   ========================================================= */
.tag{
  display:inline-flex;
  align-items:center;
  gap:7px;
  font-family:var(--font-mono);
  font-size:12px;
  font-weight:500;
  letter-spacing:0.09em;
  text-transform:uppercase;
  padding:6px 12px 6px 10px;
  border:1px solid var(--green-deep);
  border-radius:var(--radius-tag);
  color:var(--green-deep);
  background:var(--bg);
  position:relative;
}
.tag::before{
  content:"";
  width:5px; height:5px;
  border-radius:50%;
  background:var(--green-deep);
  flex:none;
}
.tag--on-deep{
  border-color:var(--green-bright);
  color:var(--ink-on-deep);
  background:transparent;
}
.tag--on-deep::before{ background:var(--green-bright); }
.tag--amber{ border-color:var(--amber); color:var(--amber); }
.tag--amber::before{ background:var(--amber); }

/* =========================================================
   Buttons
   ========================================================= */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:var(--font-body);
  font-weight:600;
  font-size:14.5px;
  letter-spacing:0.01em;
  padding:14px 26px;
  border-radius:2px;
  border:1px solid transparent;
  cursor:pointer;
  transition:background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn-primary{
  background:var(--green-deep);
  color:#fff;
}
.btn-primary:hover{ background:#264C18; transform:translateY(-1px); }
.btn-secondary{
  background:transparent;
  color:var(--ink);
  border-color:var(--ink);
}
.btn-secondary:hover{ background:var(--ink); color:var(--bg); }
.btn-on-deep{
  background:var(--green-bright);
  color:#132009;
}
.btn-on-deep:hover{ background:#77C42E; }
.btn-ghost-on-deep{
  background:transparent;
  border-color:var(--line-deep);
  color:var(--ink-on-deep);
}
.btn-ghost-on-deep:hover{ border-color:var(--ink-on-deep); }

/* =========================================================
   Header / Nav
   ========================================================= */
.site-header{
  position:sticky; top:0; z-index:50;
  background:var(--bg);
  border-bottom:1px solid var(--line);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 0;
}
.nav-logo{ display:flex; align-items:center; gap:10px; }
.nav-logo img{ height:64px; width:auto; }
.nav-links{ display:flex; align-items:center; gap:34px; }
.nav-links a{
  font-size:14.5px; font-weight:500; color:var(--ink-soft);
  position:relative; padding:4px 0;
  transition:color .15s ease;
}
.nav-links .btn-primary{ display:none; color:#fff; }
.nav-links a:hover, .nav-links a[aria-current="page"]{ color:var(--green-deep); }
.nav-links a[aria-current="page"]::after{
  content:""; position:absolute; left:0; right:0; bottom:-3px; height:2px; background:var(--green-deep);
}
.nav-cta{ display:flex; align-items:center; gap:18px; }
.nav-toggle{
  display:none; background:none; border:none; cursor:pointer; padding:6px;
}
.nav-toggle span{ display:block; width:22px; height:2px; background:var(--ink); margin:5px 0; }

@media (max-width:900px){
  .nav-links{
    position:fixed; top:97px; left:0; right:0; bottom:0;
    background:var(--bg);
    flex-direction:column; align-items:flex-start; gap:0;
    padding:10px 24px 24px;
    transform:translateY(-8px);
    opacity:0; pointer-events:none;
    transition:opacity .2s ease, transform .2s ease;
  }
  .nav-links.is-open{ opacity:1; pointer-events:auto; transform:translateY(0); }
  .nav-links a{ width:100%; padding:14px 0; border-bottom:1px solid var(--line); }
  .nav-cta .btn-primary{ display:none; }
  .nav-links .btn-primary{ display:inline-flex; margin-top:14px; }
  .nav-toggle{ display:block; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero{
  padding:76px 0 64px;
}
.hero-grid{
  display:grid;
  grid-template-columns:1.05fr 0.95fr;
  gap:56px;
  align-items:center;
}
.hero-eyebrow{ margin-bottom:22px; }
.hero h1{
  font-size:clamp(2.3rem, 4.2vw, 3.5rem);
  line-height:1.08;
  letter-spacing:-0.01em;
  max-width:20ch;
}
.hero p.lede{
  margin-top:22px;
  max-width:46ch;
  font-size:17px;
  color:var(--ink-soft);
}
.hero-actions{ display:flex; flex-wrap:wrap; gap:14px; margin-top:32px; }
.hero-media{
  position:relative;
  border-radius:2px 2px 2px 26px;
  overflow:hidden;
  aspect-ratio:4/5;
}
.hero-media img{ width:100%; height:100%; object-fit:cover; }

.pillars{
  margin-top:70px;
  padding-top:44px;
  border-top:1px solid var(--line);
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:32px;
}
.pillar h3{ font-size:1.05rem; margin-bottom:10px; }
.pillar p{ font-size:14.5px; color:var(--ink-soft); }
@media (max-width:900px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero-media{ order:-1; aspect-ratio:16/10; }
  .pillars{ grid-template-columns:1fr 1fr; }
}
@media (max-width:560px){ .pillars{ grid-template-columns:1fr; } }

/* =========================================================
   Section scaffolding
   ========================================================= */
.section{ padding:88px 0; }
.section--alt{ background:var(--bg-alt); }
.section--deep{ background:var(--bg-deep); color:var(--ink-on-deep); }
.section--deep h2, .section--deep h3{ color:var(--ink-on-deep); }
.section-head{ max-width:640px; margin-bottom:48px; }
.section-head .tag{ margin-bottom:18px; }
.section-head h2{ font-size:clamp(1.9rem, 3.3vw, 2.55rem); line-height:1.12; }
.section-head p{ margin-top:16px; color:var(--ink-soft); font-size:16px; }
.section--deep .section-head p{ color:#C9CFC0; }

/* Intro / approach two-column */
.split{
  display:grid;
  grid-template-columns:0.9fr 1.1fr;
  gap:60px;
  align-items:start;
}
.split h2{ font-size:clamp(1.9rem, 3.3vw, 2.55rem); line-height:1.12; }
.split .tag{ margin-bottom:18px; }
.split .body-copy p{ margin-bottom:16px; color:var(--ink-soft); font-size:16px; }
.split .body-copy p:last-child{ margin-bottom:0; }
@media (max-width:820px){ .split{ grid-template-columns:1fr; gap:28px; } }

/* Services grid (home teaser + services page) */
.services-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1px;
  background:var(--line);
  border:1px solid var(--line);
}
.service-card{
  background:var(--bg);
  padding:34px 30px;
}
.service-card .tag{ margin-bottom:20px; }
.service-card h3{ font-size:1.15rem; margin-bottom:10px; }
.service-card p{ color:var(--ink-soft); font-size:14.5px; }
@media (max-width:900px){ .services-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:600px){ .services-grid{ grid-template-columns:1fr; } }

/* Portfolio teaser + gallery */
.portfolio-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
}
.portfolio-card{ display:block; }
.portfolio-card .media{
  border-radius:2px 2px 2px 18px;
  overflow:hidden;
  aspect-ratio:4/3;
  margin-bottom:16px;
}
.portfolio-card .media img{ width:100%; height:100%; object-fit:cover; transition:transform .35s ease; }
.portfolio-card:hover .media img{ transform:scale(1.04); }
.portfolio-card .cap{ display:flex; align-items:center; justify-content:space-between; gap:12px; }
.portfolio-card h3{ font-size:1.02rem; }
@media (max-width:900px){ .portfolio-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:600px){ .portfolio-grid{ grid-template-columns:1fr; } }

.ba-pair{
  display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-bottom:16px;
}
.ba-pair .media{ border-radius:2px; overflow:hidden; aspect-ratio:4/3; }
.ba-pair .media img{ width:100%; height:100%; object-fit:cover; }
@media (max-width:560px){ .ba-pair{ grid-template-columns:1fr; } }

/* Service area strip */
.strip{
  display:flex; align-items:center; justify-content:space-between; gap:24px;
  padding:40px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line);
  flex-wrap:wrap;
}
.strip h3{ font-size:1.25rem; }
.strip p{ color:var(--ink-soft); max-width:44ch; }

/* Final CTA */
.cta-final{ text-align:center; }
.cta-final .section-head{ margin:0 auto 30px; text-align:center; }
.cta-final .hero-actions{ justify-content:center; }

/* Footer */
.site-footer{ background:var(--bg-deep); color:var(--ink-on-deep); padding:64px 0 28px; }
.footer-grid{
  display:grid; grid-template-columns:1.3fr 1fr 1fr 1fr; gap:40px; padding-bottom:44px;
  border-bottom:1px solid var(--line-deep);
}
.footer-logo img{ height:56px; margin-bottom:16px; }
.footer-grid p{ color:#B9C0AC; font-size:14px; max-width:32ch; }
.footer-col h4{ font-family:var(--font-mono); font-size:11px; letter-spacing:0.09em; text-transform:uppercase; color:#8E9880; margin-bottom:16px; font-weight:500; }
.footer-col a, .footer-col address{ display:block; font-style:normal; color:#D8DCCB; font-size:14.5px; margin-bottom:10px; }
.footer-col a:hover{ color:var(--green-bright); }
.footer-bottom{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; padding-top:24px; font-size:13px; color:#7C8570; }
@media (max-width:820px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-grid{ grid-template-columns:1fr; } }

/* =========================================================
   Page header (interior pages)
   ========================================================= */
.page-header{ padding:56px 0 40px; border-bottom:1px solid var(--line); }
.page-header .tag{ margin-bottom:18px; }
.page-header h1{ font-size:clamp(2rem,3.6vw,2.9rem); max-width:18ch; }
.page-header p{ margin-top:18px; color:var(--ink-soft); max-width:56ch; font-size:16.5px; }

/* Services page category blocks */
.category-block{ padding:56px 0; border-bottom:1px solid var(--line); }
.category-block:last-child{ border-bottom:none; }
.category-head{ display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:32px; flex-wrap:wrap; }
.category-head-text{ display:flex; align-items:baseline; gap:18px; flex-wrap:wrap; }
.category-photo{
  flex:none;
  width:76px; height:76px;
  border-radius:2px 2px 2px 14px;
  overflow:hidden;
}
.category-photo img{ width:100%; height:100%; object-fit:cover; }
.category-photo--placeholder{
  background:linear-gradient(135deg, var(--green-deep), var(--green-bright));
  display:flex; align-items:center; justify-content:center;
}
.category-photo--placeholder svg{ width:28px; height:28px; opacity:0.85; }
.category-head h2{ font-size:1.5rem; }
.category-list{ display:grid; grid-template-columns:1fr 1fr; gap:28px 40px; }
.category-item h4{ font-family:var(--font-body); font-weight:600; font-size:15.5px; margin-bottom:6px; }
.category-item p{ color:var(--ink-soft); font-size:14.5px; }
@media (max-width:700px){ .category-list{ grid-template-columns:1fr; } }

/* =========================================================
   Contact page
   ========================================================= */
.contact-grid{
  display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:start;
}
.contact-info .tag{ margin-bottom:20px; }
.contact-info h2{ font-size:1.9rem; margin-bottom:16px; }
.contact-info p{ color:var(--ink-soft); margin-bottom:28px; }
.contact-method{ display:flex; flex-direction:column; gap:16px; margin-bottom:32px; }
.contact-method a{ font-size:16px; font-weight:600; color:var(--ink); }
.contact-method span{ display:block; font-family:var(--font-mono); font-size:11px; letter-spacing:0.08em; text-transform:uppercase; color:var(--ink-soft); margin-bottom:4px; }
.booking-box{
  background:var(--bg-deep); color:var(--ink-on-deep);
  padding:30px 28px; border-radius:2px 2px 2px 20px; margin-top:8px;
}
.booking-box h3{ font-size:1.15rem; margin-bottom:10px; }
.booking-box p{ color:#C9CFC0; font-size:14.5px; margin-bottom:20px; }

.form-card{
  background:var(--bg-alt); border:1px solid var(--line); padding:36px; border-radius:2px 2px 2px 20px;
}
.field{ margin-bottom:20px; }
.field label{ display:block; font-family:var(--font-mono); font-size:11px; letter-spacing:0.08em; text-transform:uppercase; color:var(--ink-soft); margin-bottom:8px; }
.field input, .field select, .field textarea{
  width:100%; padding:12px 14px; border:1px solid var(--line); border-radius:2px;
  background:#fff; font-family:var(--font-body); font-size:15px; color:var(--ink);
}
.field textarea{ resize:vertical; min-height:110px; }
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.form-note{ font-size:12.5px; color:var(--ink-soft); margin-top:16px; }
@media (max-width:820px){ .contact-grid{ grid-template-columns:1fr; gap:44px; } }
@media (max-width:560px){ .field-row{ grid-template-columns:1fr; } }

/* Garden gallery strip (home) */
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
.gallery-grid figure{ margin:0; position:relative; overflow:hidden; border-radius:2px; aspect-ratio:4/5; }
.gallery-grid img{ width:100%; height:100%; object-fit:cover; }
.gallery-grid figcaption{
  position:absolute; left:10px; bottom:10px;
  font-family:var(--font-mono); font-size:10px; letter-spacing:0.06em; text-transform:uppercase;
  color:#fff; background:rgba(30,40,24,0.72); padding:4px 8px; border-radius:2px 2px 2px 8px;
  opacity:0; transform:translateY(4px);
  transition:opacity .18s ease, transform .18s ease;
}
.gallery-grid figure:hover figcaption{ opacity:1; transform:translateY(0); }
@media (max-width:820px){
  .gallery-grid{ grid-template-columns:repeat(2,1fr); }
}

/* Progression gallery (portfolio project detail) */
.progression-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}
.progression-grid figure{ margin:0; }
.progression-grid .media{ border-radius:2px; overflow:hidden; aspect-ratio:4/3; margin-bottom:10px; }
.progression-grid .media img{ width:100%; height:100%; object-fit:cover; }
.progression-grid figcaption .tag{ font-size:10px; padding:4px 9px 4px 7px; }
@media (max-width:820px){ .progression-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:480px){ .progression-grid{ grid-template-columns:1fr; } }

/* Utility */
.mt-0{ margin-top:0; }
.visually-hidden{
  position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap;
}
