/* Ashbury Gardening — Typography + Colour (unified)
   - Studio neutral "ink" = #2f4657 for body + headings
   - Calm hierarchy for captions and dividers
   - h3 syntax fixed
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Lato:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap');


/* ===== Tokens ===== */
:root{
  --ink:        #2f4657;  /* primary text + headings */
  --ink-70:     #667a8a;  /* secondary text, captions */
  --ink-50:     #8fa0ad;  /* faint rules/borders */
  --paper:      #f6f6f6;  /* content panel paper */
  --backdrop:   #e3e2da;  /* site backdrop */
  --accent:     #8a5a44;  /* terracotta links/CTAs */
  --accent-dk:  #7a4f3c;  /* hover/active */

  /* Legacy compatibility */
  --ag-heading: #2f4657;
}

body{
  font-family:"Lato",system-ui,-apple-system,"Segoe UI","Helvetica Neue",Arial,"Noto Sans",sans-serif;
  font-weight:400;
  line-height:1.62;
  color: var(--ink);
}

/* Generic copy */
p, li, dd, table, td, th{ color: var(--ink); }

/* ===== Headings (Cormorant Garamond) ===== */
h1, h2, h3, h4, h5, h6{
  font-family:"Cormorant Garamond", Georgia, "Times New Roman", Times, serif;
  color: var(--ag-heading, var(--ink));
  line-height:1.2;
  margin:24px 0 10px;
  font-weight:600;
}

/* Sizes */
h1{ font-size:clamp(26px, 2.6vw, 34px); }
h2{ font-size:clamp(20px, 2.0vw, 26px); }
h3{
  font-size: clamp(19px, 2.0vw, 21px);
  line-height: 1.25;
  font-weight: 600;
}
h4{ font-size:18px; }

/* Tighter first paragraph after headings */
h2 + p, h3 + p { margin-top:8px; }

/* Optical weight on top headings */
h1, h2{
  letter-spacing:-0.006em;
  line-height:1.18;
}

/* Lock weights so nothing else fattens them */
h1{ font-weight:600 !important; }
h2{ font-weight:600 !important; }
h3{ font-weight:600 !important; }

/* === FINAL VARIABLE REMAP — wins even against earlier !important rules === */
:root{
  --ash-heading: #2f4657 !important;  /* headings = studio neutral */
  --ash-text:    #2f4657 !important;  /* body text = studio neutral */
  /* keep your existing tokens aligned too */
  --ink:         #2f4657 !important;
  --ag-heading:  #2f4657 !important;
  --ink-70:      #667a8a !important;
}

/* ===== PIN SITE TITLE TYPOGRAPHY (stop Lato/green overrides) ===== */
.site-title,
.site-title a,
.site-header .site-title,
.site-header .site-title a,
.site-header .site-branding .site-title,
.site-header .site-branding .site-title a{
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", Times, serif !important;
  color: #2f4657 !important;
  font-weight: 400 !important;
}

/* Site title: refined weight + subtle tracking */
.site-header .site-branding .site-title a,
h1.site-title a{
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", Times, serif !important;
  font-weight: 500 !important;
  letter-spacing: 0.06em;
  line-height: 1.1;
  color: #2f4657 !important;
  text-decoration-color: #2f4657 !important;
}


