:root{
  --paper: #F6F5F1;
  --ink: #16201C;
  --accent: #3D6B4D;
  --accent-soft: #DCE5D5;
  --line: rgba(22,32,28,0.14);
  --maxw: 880px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3{
  font-family: 'Fraunces', serif;
  margin:0;
  font-weight: 600;
  letter-spacing: -0.01em;
}
a{ color:inherit; text-decoration:none; }
.wrap{ max-width: var(--maxw); margin:0 auto; padding: 0 28px; }

:focus-visible{ outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Template disclaimer banner ---------- */
.template-banner{
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  max-height: 60px;
  transition: max-height 0.3s ease;
}
.template-banner.dismissed{ max-height: 0; }
.template-banner-inner{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 10px 28px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 14px;
  font-size: 0.82rem;
  font-weight: 500;
  text-align:center;
}
.template-banner-close{
  background:none;
  border:none;
  color: inherit;
  font-size: 1.1rem;
  line-height:1;
  cursor:pointer;
  opacity:0.65;
  padding: 0 4px;
  transition: opacity 0.2s ease;
}
.template-banner-close:hover{ opacity: 1; }

/* ---------- Header ---------- */
header{
  position: sticky; top:0; z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  display:flex; align-items:center; justify-content: space-between;
  height: 76px;
}
.logo{ font-family:'Fraunces', serif; font-size: 1.1rem; font-weight: 600; }
.logo span{ font-weight: 500; opacity: 0.7; }
nav{ display:flex; align-items:center; gap: 30px; }
nav a:not(.btn){ font-size: 0.94rem; font-weight: 500; opacity: 0.8; transition: opacity 0.2s ease; }
nav a:not(.btn):hover{ opacity: 1; }
.menu-toggle{ display:none; background:none; border:none; color: var(--ink); padding: 4px; }
.menu-toggle svg{ width:22px; height:22px; }

.btn{
  display:inline-flex; align-items:center;
  font-weight: 600; font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.btn:hover{ background: var(--ink); color: var(--paper); }
.btn-primary{ background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover{ background: #2f5640; border-color:#2f5640; color:#fff; }

/* ---------- Hero ---------- */
.hero{ padding: 96px 0 88px; }
.eyebrow{
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  opacity: 0.6; margin: 0 0 22px;
}
.hero h1{
  font-size: clamp(2.2rem, 5.6vw, 3.6rem);
  line-height: 1.08;
  position: relative;
  display: inline-block;
}
.hero h1 .underline{
  display:block;
  width: 220px; max-width: 60%;
  height: 14px;
  margin-top: 6px;
  stroke: var(--accent);
  stroke-width: 4;
  fill:none;
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  animation: draw 1s ease 0.5s forwards;
}
@keyframes draw{ to{ stroke-dashoffset: 0; } }
.lede{
  margin-top: 26px; max-width: 480px;
  font-size: 1.08rem; line-height: 1.6; opacity: 0.78;
}
.hero-ctas{
  margin-top: 36px;
  display:flex; align-items:center; gap: 26px; flex-wrap: wrap;
}
.link-arrow{ font-weight: 600; font-size: 0.94rem; }

/* ---------- About ---------- */
.about{ padding: 80px 0; border-top: 1px solid var(--line); }
.section-tag{
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  opacity: 0.55; margin: 0 0 22px;
}
.section-tag.light{ color: rgba(246,245,241,0.6); }
.pull-quote{
  font-family:'Fraunces', serif;
  font-size: 1.4rem; font-weight: 500;
  line-height: 1.4;
  margin: 0 0 24px;
  color: var(--accent);
}
.about-content p{ line-height: 1.7; opacity: 0.85; margin: 0 0 16px; max-width: 620px; }

/* ---------- Services ---------- */
.services{ padding: 80px 0; border-top: 1px solid var(--line); }
.services h2{ font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 40px; max-width: 480px; }
.service-grid{
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.service-card{
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px;
  background: #fff;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.service-card:hover{ border-color: var(--accent); transform: translateY(-3px); }
.service-card h3{ font-size: 1.15rem; margin-bottom: 10px; }
.service-card p{ font-size: 0.93rem; line-height: 1.55; opacity: 0.75; margin:0; }

/* ---------- Contact / CTA ---------- */
.cta-section{
  background: var(--ink); color: var(--paper);
  padding: 88px 0;
}
.cta-section h2{ font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin-bottom: 36px; max-width: 480px; }
.contact-form{ max-width: 480px; }
.form-row{ margin-bottom: 18px; display:flex; flex-direction: column; gap: 8px; }
.form-row label{ font-size: 0.85rem; font-weight: 500; opacity: 0.8; }
.form-row input, .form-row textarea{
  font-family: inherit; font-size: 0.96rem;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(246,245,241,0.22);
  background: rgba(246,245,241,0.06);
  color: var(--paper);
  resize: vertical;
}
.form-row input:focus, .form-row textarea:focus{ outline: 2px solid var(--accent-soft); outline-offset: 1px; }
.form-note{ margin-top: 14px; font-size: 0.88rem; opacity: 0.75; min-height: 1.2em; }

/* ---------- Footer ---------- */
footer{ padding: 30px 0; border-top: 1px solid var(--line); }
.footer-inner{
  display:flex; justify-content: space-between; align-items:center;
  font-size: 0.85rem; opacity: 0.6; flex-wrap: wrap; gap: 10px;
}

@media (max-width: 760px){
  nav{
    position: fixed; top: calc(76px + var(--banner-height, 0px)); left:0; right:0;
    background: var(--paper);
    flex-direction: column; align-items: flex-start;
    gap: 0;
    border-bottom: 1px solid var(--line);
    transform: translateY(-110%);
    transition: transform 0.25s ease, top 0.3s ease;
  }
  nav.open{ transform: translateY(0); }
  nav a:not(.btn){ width:100%; padding: 16px 28px; border-bottom: 1px solid var(--line); }
  nav .btn{ margin: 16px 28px; }
  .menu-toggle{ display:block; }
  .service-grid{ grid-template-columns: 1fr; }
}

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