/* ===================================================
   Connecticut Aesthetics — static site stylesheet
   Theme: New England field guide (pine / brass / stone)
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Spectral:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Work+Sans:wght@400;500;600;700&display=swap');

:root{
  --ink:        #172019;
  --ink-soft:   #4B5147;
  --pine:       #24402F;
  --pine-deep:  #142219;
  --brass:      #9C7A3C;
  --brass-soft: #E8DCC0;
  --stone:      #E4DDCB;
  --paper:      #FBF8F1;
  --line:       #CFC6AE;
  --line-soft:  #DED7C3;
  --max: 980px;
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: 'Work Sans', sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3, .serif{
  font-family: 'Spectral', serif;
  color: var(--ink);
  margin: 0;
}

a{ color: inherit; }

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

/* ---------- Nav ---------- */
.site-nav{
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-nav .wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
}
.site-nav .brand{
  font-family: 'Spectral', serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
}
.site-nav .brand span{ color: var(--brass); }
.site-nav .links{
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav .links a{
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
  transition: border-color .15s ease, color .15s ease;
}
.site-nav .links a:hover,
.site-nav .links a.active{
  color: var(--pine);
  border-bottom-color: var(--brass);
}

/* ---------- Hero (asymmetric, left aligned) ---------- */
.hero{
  background: linear-gradient(155deg, var(--pine-deep) 0%, var(--pine) 100%);
  color: var(--paper);
  padding: 76px 0 64px;
}
.hero .wrap{
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
  align-items: end;
}
.hero-mark{
  width: 34px; height: 34px;
  border: 1px solid var(--brass);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--brass);
  font-family: 'Spectral', serif;
  font-size: 15px;
  margin-bottom: 22px;
}
.hero h1{
  font-size: clamp(32px, 4.2vw, 50px);
  font-weight: 600;
  line-height: 1.12;
  color: #fff;
  max-width: 14ch;
}
.hero p{
  font-size: 17px;
  color: #D8DED3;
  max-width: 46ch;
  margin-top: 20px;
}
.hero-ctas{ display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.btn{
  display: inline-block;
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  padding: 13px 26px;
  text-decoration: none;
  border-radius: 3px;
  border: 1px solid transparent;
  transition: opacity .15s ease, background .15s ease;
}
.btn-brass{ background: var(--brass); color: var(--pine-deep); }
.btn-brass:hover{ opacity: .88; }
.btn-outline{ border-color: rgba(255,255,255,0.4); color: #fff; }
.btn-outline:hover{ border-color: #fff; }

.ledger{
  border-top: 1px solid rgba(255,255,255,0.22);
}
.ledger-row{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.22);
}
.ledger-num{
  font-family: 'Spectral', serif;
  font-size: 28px;
  font-weight: 500;
  color: var(--brass);
}
.ledger-label{
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #B9C2AF;
}

/* ---------- Section shell ---------- */
section{ padding: 78px 0; }
.section-head{ max-width: 640px; margin-bottom: 44px; }
.section-head h2{
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 600;
  line-height: 1.2;
}
.section-head p{
  font-size: 16px;
  color: var(--ink-soft);
  margin-top: 14px;
}
.rule{
  height: 1px;
  background: var(--line);
  border: none;
  margin: 0;
}

/* ---------- About ---------- */
.about{ background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about .wrap{ max-width: 680px; }
.about p{ font-size: 17px; color: var(--ink-soft); margin: 0 0 16px; }
.about p:last-child{ margin-bottom: 0; }

/* ---------- Steps (genuine 3-step sequence, numerals justified) ---------- */
.steps{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step{ border-top: 2px solid var(--pine); padding-top: 18px; }
.step .num{ font-family: 'Spectral', serif; font-style: italic; font-size: 15px; color: var(--brass); }
.step h3{ font-size: 19px; font-weight: 600; margin: 10px 0 8px; }
.step p{ font-size: 14.5px; color: var(--ink-soft); margin: 0; }

/* ---------- Values ---------- */
.values{ background: var(--pine); color: var(--paper); }
.values .section-head h2{ color: #fff; }
.values .section-head p{ color: #C8D0BF; }
.values-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.value-mark{
  width: 30px; height: 30px; border: 1px solid var(--brass); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--brass); font-family: 'Spectral', serif; font-size: 14px; margin-bottom: 16px;
}
.value h3{ font-size: 17.5px; font-weight: 600; color: #fff; margin-bottom: 6px; }
.value p{ font-size: 14px; color: #C1C9B7; margin: 0; }

/* ---------- Final CTA ---------- */
.final-cta{ text-align: left; }
.final-cta-inner{
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brass);
  padding: 44px 40px;
}
.final-cta h2{ font-size: clamp(24px, 3.4vw, 30px); font-weight: 600; margin-bottom: 12px; }
.final-cta p{ font-size: 16px; color: var(--ink-soft); margin-bottom: 24px; max-width: 46ch; }

/* ---------- Footer ---------- */
footer{ border-top: 1px solid var(--line); padding: 32px 0; }
footer .wrap{ display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
footer p{ font-size: 13px; color: var(--ink-soft); margin: 0; }
footer a{ text-decoration: none; color: var(--ink-soft); font-size: 13px; }
footer a:hover{ color: var(--pine); }

/* ===================================================
   Directory page
   =================================================== */

.dir-hero{
  background: linear-gradient(155deg, var(--pine-deep) 0%, var(--pine) 100%);
  color: var(--paper);
  padding: 64px 0 48px;
}
.dir-hero h1{ color: #fff; font-size: clamp(30px, 4.2vw, 44px); font-weight: 600; max-width: 18ch; }
.dir-hero p{ color: #D8DED3; font-size: 16px; max-width: 56ch; margin-top: 16px; }
.dir-stats{ display: flex; gap: 40px; margin-top: 34px; }
.dir-stat-num{ font-family: 'Spectral', serif; font-size: 26px; color: var(--brass); font-weight: 600; }
.dir-stat-label{ font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.07em; color: #B9C2AF; margin-top: 3px; }

.dir-method{
  font-size: 13px;
  color: var(--ink-soft);
  font-style: italic;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.dir-body{ padding: 40px 0 90px; }

details.county{
  border-bottom: 1px solid var(--line);
}
details.county summary{
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
details.county summary::-webkit-details-marker{ display: none; }
.county-name{
  font-family: 'Spectral', serif;
  font-size: 21px;
  font-weight: 600;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.county-count{
  font-size: 12.5px;
  color: var(--brass);
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
}
.chevron{
  width: 18px; height: 18px; color: var(--brass);
  transition: transform .2s ease;
  flex-shrink: 0;
}
details.county[open] .chevron{ transform: rotate(180deg); }

.county-list{ padding: 0 0 28px; }
.prov-row{
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line-soft);
  text-align: left;
}
.prov-row:first-child{ border-top: none; }
.prov-name{ font-size: 15px; font-weight: 600; margin: 0 0 2px; text-align: left; }
.prov-town{ font-size: 12.5px; color: var(--ink-soft); text-align: left; }
.prov-phone{
  font-size: 13px;
  font-weight: 600;
  color: var(--pine);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid var(--brass);
  padding-bottom: 1px;
}
.prov-phone.na{ color: var(--ink-soft); border-bottom-color: var(--line); }

@media (max-width: 720px){
  .hero .wrap{ grid-template-columns: 1fr; }
  .steps, .values-grid{ grid-template-columns: 1fr; gap: 28px; }
  .site-nav .links{ gap: 18px; }
  .prov-row{ grid-template-columns: 1fr; }
  .prov-phone{ justify-self: start; }
}
