/* =========================================================
   Wiegand & Sons Heating & Cooling
   Visual direction: Service Truck Editorial
   Warm paper cream + deep teal + terracotta pulled from logo.
   Fraunces (display) + DM Sans (body).
   ========================================================= */

/* --- Tokens ---------------------------------------------- */
:root {
  /* palette pulled from the logo */
  --paper:        #F5EEE3;   /* background */
  --paper-deep:   #EFE5D4;   /* section alt */
  --card:         #FBF6EC;   /* card fill */
  --ink:          #2A241E;   /* body text */
  --ink-soft:     #5A4F44;   /* secondary */
  --ink-muted:    #8A7E71;   /* small caps, captions */
  --rule:         #DFD2BE;   /* dividers */

  --teal:         #1F5B6B;   /* cool flame */
  --teal-deep:    #14424F;
  --teal-soft:    rgba(31, 91, 107, .08);

  --terracotta:   #C8552B;   /* logo circle + warm flame */
  --terracotta-deep:#A7421E;
  --terracotta-soft: rgba(200, 85, 43, .08);

  --amber:        #E89A3C;   /* highlight */
  --amber-soft:   rgba(232, 154, 60, .14);

  /* shape */
  --radius:       14px;
  --radius-lg:    22px;
  --radius-xs:    6px;

  --shadow-sm:    0 1px 2px rgba(42, 36, 30, .06), 0 2px 6px rgba(42, 36, 30, .04);
  --shadow-md:    0 8px 24px rgba(42, 36, 30, .08), 0 2px 6px rgba(42, 36, 30, .05);
  --shadow-lg:    0 18px 40px rgba(42, 36, 30, .12), 0 4px 10px rgba(42, 36, 30, .06);

  --max:          1140px;
  --maxw-prose:   62ch;
}

/* --- Base ------------------------------------------------ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  /* subtle paper grain */
  background-image:
    radial-gradient(circle at 12% 8%, rgba(232,154,60,.08), transparent 38%),
    radial-gradient(circle at 92% 6%, rgba(31,91,107,.06), transparent 40%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.16  0 0 0 0 0.14  0 0 0 0 0.12  0 0 0 0.05 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

p { margin: 0 0 1em; color: var(--ink-soft); max-width: var(--maxw-prose); }

h1, h2, h3, h4 {
  font-family: "Fraunces", "Playfair Display", Georgia, serif;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 .5em;
  line-height: 1.08;
  letter-spacing: -0.015em;
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 50, "opsz" 72;
}
h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); font-weight: 500; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
h3 { font-size: 1.35rem; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; font-family: "DM Sans", sans-serif; font-weight: 600; letter-spacing: .02em; }

::selection { background: var(--amber-soft); color: var(--ink); }

.container {
  width: min(calc(100% - 2.5rem), var(--max));
  margin: 0 auto;
}

/* --- Type utilities ------------------------------------- */
.eyebrow {
  display: inline-block;
  font-family: "DM Sans", sans-serif;
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--terracotta);
  margin-bottom: 1rem;
}
.eyebrow.teal { color: var(--teal); }

.lede { font-size: 1.2rem; color: var(--ink-soft); line-height: 1.55; }
.small-note { font-size: .92rem; color: var(--ink-muted); }
.muted { color: var(--ink-soft); }
.ink { color: var(--ink); }

.dropcap::first-letter {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 4em;
  float: left;
  line-height: .85;
  padding: .12em .12em 0 0;
  color: var(--terracotta);
  font-variation-settings: "SOFT" 100, "opsz" 144;
}

/* split-color word treatment for hot/cold duality */
.hot  { color: var(--terracotta); }
.cold { color: var(--teal); }
.amp  {
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-style: italic;
  color: var(--terracotta);
  font-variation-settings: "SOFT" 100, "opsz" 144;
}

/* --- Header --------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(245, 238, 227, .88);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 82px;
}
.brand {
  display: flex;
  align-items: center;
  gap: .9rem;
  min-width: 0;
}
.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-copy { display: grid; line-height: 1.1; min-width: 0; }
.brand-title {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  font-variation-settings: "SOFT" 50, "opsz" 36;
}
.brand-title .amp { font-size: 1.05em; }
.brand-sub {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--ink-muted);
  margin-top: 3px;
  font-weight: 500;
}

.site-nav { display: flex; align-items: center; gap: .2rem; }
.site-nav a {
  position: relative;
  padding: .6rem .9rem;
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color .2s ease;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a.active { color: var(--ink); }
.site-nav a.active::after {
  content: "";
  position: absolute;
  left: .9rem;
  right: .9rem;
  bottom: .3rem;
  height: 2px;
  background: var(--terracotta);
  border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: .6rem; }

/* --- Buttons -------------------------------------------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  padding: .85rem 1.4rem;
  font-family: "DM Sans", sans-serif;
  font-size: .97rem;
  font-weight: 600;
  letter-spacing: .01em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.button:hover { transform: translateY(-1px); }

.button.primary {
  background: var(--terracotta);
  color: #FBF6EC;
  box-shadow: 0 1px 0 var(--terracotta-deep) inset, 0 8px 20px rgba(200, 85, 43, .18);
}
.button.primary:hover {
  background: var(--terracotta-deep);
  box-shadow: 0 1px 0 var(--terracotta-deep) inset, 0 10px 26px rgba(200, 85, 43, .25);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.button.secondary:hover {
  background: var(--ink);
  color: var(--paper);
}

.button.teal {
  background: var(--teal);
  color: var(--paper);
  box-shadow: 0 1px 0 var(--teal-deep) inset, 0 8px 20px rgba(31, 91, 107, .18);
}
.button.teal:hover {
  background: var(--teal-deep);
}

.button.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule);
}
.button.ghost:hover {
  border-color: var(--ink);
  background: rgba(42, 36, 30, .04);
}

.button.small {
  min-height: 40px;
  padding: .55rem 1rem;
  font-size: .9rem;
}

/* mobile menu button */
.menu-button {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: var(--radius-xs);
  color: var(--ink);
  cursor: pointer;
}
.menu-button svg { width: 20px; height: 20px; }

.mobile-panel { display: none; }

/* --- Hero ----------------------------------------------- */
.hero {
  padding: 3.5rem 0 2.25rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  /* subtle hand-drawn sun echo behind logo */
  content: "";
  position: absolute;
  top: 15%;
  right: -8%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(232, 154, 60, .12) 0%, transparent 62%);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-family: "DM Sans", sans-serif;
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
}
.hero-kicker::before {
  content: "";
  width: 30px; height: 1px;
  background: var(--terracotta);
}

.hero h1 {
  margin-bottom: 1.2rem;
}
.hero h1 em {
  font-style: italic;
  font-variation-settings: "SOFT" 100, "opsz" 144;
  color: var(--terracotta);
}

.hero-copy .lede {
  max-width: 44ch;
  margin-bottom: 1.5rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-bottom: 1.9rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 1.8rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .88rem;
  color: var(--ink-soft);
}
.hero-trust-item strong {
  color: var(--ink);
  font-weight: 600;
}
.hero-trust-item .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--terracotta);
}

/* hero logo panel */
.hero-logo-wrap {
  position: relative;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.hero-logo-wrap::before {
  /* hand-drawn dashed circle echo */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed var(--rule);
  opacity: .7;
  animation: drift 80s linear infinite;
}
.hero-logo-wrap::after {
  content: "";
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 1px solid var(--rule);
  opacity: .45;
}
.hero-logo-wrap img {
  max-width: 78%;
  height: auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 18px 32px rgba(42, 36, 30, .12));
}
@keyframes drift { to { transform: rotate(360deg); } }

/* --- Section framework --------------------------------- */
.section {
  padding: 5rem 0;
}
.section.compact { padding: 2.25rem 0; }
.section.alt {
  background: var(--paper-deep);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.section-head {
  max-width: none;
  margin-bottom: 3rem;
}
.section-head .lede {
  max-width: 52rem;
}
.section-head.center .lede {
  margin-left: auto;
  margin-right: auto;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* --- Page hero (inner pages) --------------------------- */
.page-hero {
  padding: 4.5rem 0 2.5rem;
  border-bottom: 1px solid var(--rule);
}
.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  align-items: start;
}
.page-hero h1 { margin-top: .5rem; max-width: none; }
.page-hero .lede { max-width: 56rem; }
.page-hero-aside {
  padding: 1.5rem 1.6rem;
  background: var(--card);
  border: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
  border-top: 3px solid var(--terracotta);
  border-radius: var(--radius);
  max-width: 46rem;
}
.page-hero-aside h4 {
  margin-bottom: .5rem;
  color: var(--terracotta);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
}

/* --- Services preview grid ----------------------------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(42, 36, 30, .18);
}
.service-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 1.3rem;
  color: var(--terracotta);
}
.service-card.cold .service-icon { color: var(--teal); }
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 { margin-bottom: .6rem; }
.service-card p { margin-bottom: 1.2rem; color: var(--ink-soft); }
.service-card .service-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .92rem;
  font-weight: 600;
  color: var(--terracotta);
  letter-spacing: .01em;
}
.service-card.cold .service-link { color: var(--teal); }
.service-card .service-link::after {
  content: "→";
  transition: transform .2s ease;
}
.service-card:hover .service-link::after {
  transform: translateX(4px);
}

/* --- Duality feature (hot + cold) ---------------------- */
.duality {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--card);
}
.duality-col {
  padding: 2.5rem 2.2rem;
  position: relative;
}
.duality-col + .duality-col {
  border-left: 1px solid var(--rule);
}
.duality-col .icon-lg {
  width: 72px;
  height: 72px;
  margin-bottom: 1.4rem;
}
.duality-col.hot .icon-lg { color: var(--terracotta); }
.duality-col.cold .icon-lg { color: var(--teal); }
.duality-col h3 { font-size: 1.8rem; margin-bottom: .8rem; }
.duality-col.hot h3 em  { font-style: italic; color: var(--terracotta); font-variation-settings: "SOFT" 100, "opsz" 144; }
.duality-col.cold h3 em { font-style: italic; color: var(--teal); font-variation-settings: "SOFT" 100, "opsz" 144; }
.duality-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
}
.duality-list li {
  padding: .6rem 0;
  border-top: 1px solid var(--rule);
  font-size: .96rem;
  color: var(--ink-soft);
}

/* --- Process steps ------------------------------------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}
.process-step {
  position: relative;
  padding-top: 1.5rem;
}
.process-step::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 48px;
  height: 1px;
  background: var(--terracotta);
}
.process-num {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 3.2rem;
  line-height: 1;
  color: var(--terracotta);
  margin-bottom: .8rem;
  font-variation-settings: "SOFT" 100, "opsz" 144;
}
.process-step h3 { margin-bottom: .4rem; font-size: 1.25rem; }

/* --- Trust bar ----------------------------------------- */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 2rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin: 3rem 0;
}
.trust-bar-item {
  padding: 0 1.2rem;
  border-left: 1px solid var(--rule);
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--ink);
  font-variation-settings: "SOFT" 50, "opsz" 36;
}
.trust-bar-item:first-child { border-left: none; }
.trust-bar-item small {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--ink-muted);
  margin-bottom: .4rem;
}

/* --- Split (two-column editorial) ---------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.split.tight { gap: 2rem; }

/* --- Service detail page ------------------------------- */
.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.service-detail {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem;
  position: relative;
}
.service-detail .label-tag {
  display: inline-block;
  font-family: "DM Sans", sans-serif;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--terracotta);
  padding: .35rem .7rem;
  background: var(--terracotta-soft);
  border-radius: var(--radius-xs);
  margin-bottom: 1.2rem;
}
.service-detail.cold .label-tag {
  color: var(--teal);
  background: var(--teal-soft);
}
.service-detail h2 { font-size: 1.7rem; margin-bottom: .8rem; }
.service-detail .list-clean {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
}
.service-detail .list-clean li {
  padding: .55rem 0 .55rem 1.4rem;
  border-top: 1px solid var(--rule);
  position: relative;
  font-size: .96rem;
  color: var(--ink-soft);
}
.service-detail .list-clean li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--terracotta);
}
.service-detail.cold .list-clean li::before { background: var(--teal); }

/* --- Values cards (About) ------------------------------ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.value-card {
  padding: 2rem 1.8rem;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  position: relative;
}
.value-card h3 {
  font-size: 1.3rem;
  margin-bottom: .6rem;
  color: var(--teal-deep);
}
.value-card .value-num {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 400;
  color: var(--terracotta);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  display: block;
  font-variation-settings: "SOFT" 100, "opsz" 144;
}

/* --- Expectation list (About, Services) ---------------- */
.expect-list {
  display: grid;
  gap: 0;
  margin-top: 1rem;
}
.expect-item {
  padding: 1.4rem 0;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
}
.expect-item:last-child { border-bottom: 1px solid var(--rule); }
.expect-item .mark {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  flex-shrink: 0;
  color: var(--terracotta);
}
.expect-item h4 {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 1.12rem;
  color: var(--ink);
  margin-bottom: .25rem;
  letter-spacing: -0.005em;
  font-variation-settings: "SOFT" 50, "opsz" 36;
}
.expect-item p { font-size: .95rem; margin: 0; color: var(--ink-soft); }

/* --- CTA band ------------------------------------------ */
.cta-band {
  display: grid;
  grid-template-columns: 1.3fr auto;
  gap: 2rem;
  align-items: center;
  padding: 2.8rem;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: -40%; right: -10%;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(232, 154, 60, .22) 0%, transparent 60%);
  pointer-events: none;
}
.cta-band::after {
  content: "";
  position: absolute;
  bottom: -40%; left: 30%;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(31, 91, 107, .35) 0%, transparent 60%);
  pointer-events: none;
}
.cta-band .eyebrow { color: var(--amber); margin-bottom: .6rem; }
.cta-band h2 {
  color: var(--paper);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  margin-bottom: .5rem;
  max-width: 24ch;
}
.cta-band p { color: rgba(245, 238, 227, .75); margin-bottom: 0; }
.cta-band .hero-actions { margin-bottom: 0; position: relative; z-index: 1; }
.cta-band .button.primary {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
}
.cta-band .button.primary:hover {
  background: var(--amber);
  color: var(--ink);
}
.cta-band .button.ghost {
  color: var(--paper);
  border-color: rgba(245, 238, 227, .35);
}
.cta-band .button.ghost:hover {
  background: rgba(245, 238, 227, .1);
  border-color: var(--paper);
}

/* --- FAQ ----------------------------------------------- */
.faq-list {
  margin-top: 1rem;
  border-top: 1px solid var(--rule);
}
.faq-item {
  border-bottom: 1px solid var(--rule);
}
.faq-item details { padding: 1.5rem 0; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  letter-spacing: -0.005em;
  font-variation-settings: "SOFT" 50, "opsz" 36;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: "Fraunces", serif;
  font-size: 1.5rem;
  color: var(--terracotta);
  flex-shrink: 0;
  transition: transform .2s ease;
}
.faq-item details[open] summary::after {
  transform: rotate(45deg);
}
.faq-item details[open] summary { color: var(--terracotta); }
.faq-item p {
  margin-top: 1rem;
  margin-bottom: 0;
  color: var(--ink-soft);
  max-width: 68ch;
}

/* --- Contact form -------------------------------------- */
.form-card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 2.4rem 2.2rem;
  position: relative;
}
.form-card::before {
  content: "";
  position: absolute;
  top: 0; left: 2.2rem; right: 2.2rem;
  height: 3px;
  background: linear-gradient(90deg, var(--terracotta), var(--amber), var(--teal));
  border-radius: 0 0 3px 3px;
}
.form-card form {
  display: grid;
  gap: 1.1rem;
  margin-top: 1rem;
}
.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
label {
  display: grid;
  gap: .4rem;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--ink);
}
input, select, textarea {
  width: 100%;
  padding: .85rem 1rem;
  font-family: "DM Sans", sans-serif;
  font-size: .97rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  transition: border-color .2s ease, box-shadow .2s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px var(--terracotta-soft);
}
textarea { min-height: 140px; resize: vertical; }

.form-note {
  margin-top: 1rem;
  padding: .9rem 1rem;
  background: var(--amber-soft);
  border: 1px solid rgba(232, 154, 60, .3);
  border-radius: var(--radius);
  font-size: .88rem;
  color: var(--ink-soft);
}

/* --- Contact details panel ----------------------------- */
.contact-panel h3 { margin-bottom: .4rem; }
.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  border-top: 1px solid var(--rule);
}
.contact-list li {
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--rule);
}
.contact-list strong {
  display: block;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--ink-muted);
  margin-bottom: .4rem;
  font-weight: 600;
}
.contact-list a { color: var(--teal-deep); font-weight: 600; }
.contact-list a:hover { color: var(--terracotta); }
.contact-list .tel {
  font-family: "Fraunces", serif;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  font-variation-settings: "SOFT" 50, "opsz" 36;
}

/* --- Service area card --------------------------------- */
.area-card {
  padding: 1.6rem 1.8rem;
  background: var(--paper-deep);
  border: 1px dashed var(--rule);
  border-radius: var(--radius-lg);
  margin-top: 1.5rem;
}
.area-card h4 {
  font-family: "Fraunces", serif;
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: .5rem;
  letter-spacing: -0.005em;
  font-variation-settings: "SOFT" 50, "opsz" 36;
}
.area-card p { font-size: .92rem; margin: 0; }

/* --- Call-out (signs to call) -------------------------- */
.call-signs {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 2.4rem 2.2rem;
}
.call-signs h3 { font-size: 1.6rem; margin-bottom: 1.2rem; }
.call-signs ul {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--rule);
}
.call-signs li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  font-size: .98rem;
}
.call-signs li strong {
  color: var(--ink);
  display: block;
  margin-bottom: .15rem;
}
.call-signs li .mark {
  color: var(--terracotta);
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 1.2rem;
  font-variation-settings: "SOFT" 100, "opsz" 144;
  line-height: 1;
  margin-top: 2px;
}
.call-signs li span { color: var(--ink-soft); font-size: .92rem; }

/* --- Testimonials -------------------------------------- */
.testimonials-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.5rem;
}
.testimonials-head h2 { margin-bottom: .3rem; }
.testimonials-head p { margin-bottom: 0; }

.google-badge {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding: .7rem 1rem .7rem .8rem;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  font-family: "DM Sans", sans-serif;
  font-size: .9rem;
  color: var(--ink);
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
  text-decoration: none;
}
.google-badge:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
  border-color: var(--ink);
}
.google-badge .g-logo {
  width: 20px; height: 20px;
  flex-shrink: 0;
}
.google-badge .g-rating {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-variation-settings: "SOFT" 50, "opsz" 36;
}
.google-badge .g-stars {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  color: var(--amber);
  letter-spacing: -1px;
}
.google-badge .g-sub {
  color: var(--ink-muted);
  font-size: .82rem;
}

.pullquote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.pullquote {
  position: relative;
  padding: 2.2rem 1.8rem 1.8rem;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.pullquote:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.pullquote::before {
  content: "\201C";
  position: absolute;
  top: .2rem;
  left: 1.4rem;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 4.2rem;
  line-height: 1;
  color: var(--terracotta);
  font-variation-settings: "SOFT" 100, "opsz" 144;
  opacity: .95;
}
.pullquote .stars {
  display: inline-flex;
  gap: 1px;
  color: var(--amber);
  font-size: .9rem;
  letter-spacing: -1px;
  margin-bottom: .8rem;
}
.pullquote blockquote {
  margin: 0 0 1.2rem;
  padding: 0;
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-size: 1.08rem;
  line-height: 1.5;
  color: var(--ink);
  letter-spacing: -0.005em;
  font-variation-settings: "SOFT" 50, "opsz" 72;
  flex: 1;
}
.pullquote cite {
  display: block;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  font-family: "DM Sans", sans-serif;
  font-style: normal;
  font-size: .88rem;
  color: var(--ink-soft);
}
.pullquote cite strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: .1rem;
  font-size: .95rem;
}
.pullquote .source {
  font-size: .78rem;
  color: var(--ink-muted);
  letter-spacing: .02em;
}

.testimonials-foot {
  margin-top: 2rem;
  text-align: center;
}

@media (max-width: 980px) {
  .testimonials-head {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    align-items: start;
  }
  .pullquote-grid { grid-template-columns: 1fr; }
}

/* --- Footer -------------------------------------------- */
.site-footer {
  margin-top: 5rem;
  background: var(--ink);
  color: rgba(245, 238, 227, .8);
  padding: 4rem 0 2rem;
  position: relative;
}
.site-footer::before {
  content: "";
  display: block;
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal) 0%, var(--terracotta) 100%);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .85fr .85fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(245, 238, 227, .1);
}
.footer-brand .brand-title { color: var(--paper); }
.footer-brand .brand-sub { color: rgba(245, 238, 227, .55); }
.footer-brand p {
  color: rgba(245, 238, 227, .65);
  margin-top: 1.2rem;
  max-width: 42ch;
}
.footer-col h4 {
  color: var(--amber);
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .22em;
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .7rem; }
.footer-col a {
  color: rgba(245, 238, 227, .75);
  transition: color .15s ease;
  font-size: .95rem;
}
.footer-col a:hover { color: var(--amber); }
.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .85rem;
  color: rgba(245, 238, 227, .5);
  flex-wrap: wrap;
  gap: 1rem;
}

/* --- Fade-in reveal on load --------------------------- */
@keyframes riseIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  animation: riseIn .85s cubic-bezier(.2,.8,.2,1) both;
}
.reveal.delay-1 { animation-delay: .08s; }
.reveal.delay-2 { animation-delay: .16s; }
.reveal.delay-3 { animation-delay: .24s; }
.reveal.delay-4 { animation-delay: .32s; }
.reveal.delay-5 { animation-delay: .4s; }

/* --- Responsive --------------------------------------- */
@media (max-width: 980px) {
  .site-nav, .header-actions .desktop-only { display: none; }
  .menu-button { display: inline-grid; }
  .mobile-panel.open {
    display: block;
    padding: 0 0 1.2rem;
    border-top: 1px solid var(--rule);
    margin-top: .5rem;
  }
  .mobile-panel nav {
    display: grid;
    gap: .25rem;
    padding-top: 1rem;
  }
  .mobile-panel a {
    padding: .9rem .2rem;
    border-bottom: 1px solid var(--rule);
    font-weight: 500;
    color: var(--ink);
  }
  .hero-grid,
  .page-hero-grid,
  .split,
  .service-grid,
  .service-detail-grid,
  .duality,
  .process-grid,
  .values-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .duality-col + .duality-col {
    border-left: none;
    border-top: 1px solid var(--rule);
  }
  .trust-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1rem;
  }
  .trust-bar-item {
    border-left: none;
    padding: 0;
  }
  .cta-band {
    grid-template-columns: 1fr;
    padding: 2.2rem 1.8rem;
    gap: 1.5rem;
  }
  .hero {
    padding: 2.6rem 0 1.8rem;
  }
  .hero-logo-wrap {
    max-width: 320px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  body { font-size: 17px; }
  .section { padding: 3.5rem 0; }
  .field-grid { grid-template-columns: 1fr; }
  .button { width: 100%; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .trust-bar { grid-template-columns: 1fr; }
  .trust-bar-item { text-align: left; }
  .form-card, .call-signs, .service-detail, .service-card, .value-card {
    padding: 1.6rem 1.4rem;
  }
  .duality-col { padding: 2rem 1.6rem; }
  .page-hero { padding: 3rem 0 2rem; }
  .header-row { min-height: 70px; }
  .brand-title { font-size: 1rem; }
  .brand-sub { font-size: .82rem; letter-spacing: .12em; }
}


/* --- Accessibility + copy refresh overrides ---------------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  padding: .9rem 1.15rem;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-xs);
  font-weight: 700;
}
.skip-link:focus {
  top: 1rem;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

.eyebrow,
.hero-kicker,
.page-hero-aside h4,
.footer-col h4,
.trust-bar-item small,
.service-detail .label-tag,
.contact-list strong {
  letter-spacing: .12em;
}

.eyebrow {
  font-size: .96rem;
  font-weight: 700;
  color: var(--terracotta-deep);
}

.hero-kicker {
  font-size: .98rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.brand-sub {
  font-size: .86rem;
  letter-spacing: .12em;
  font-weight: 700;
  color: var(--ink-soft);
}

.page-hero-aside h4,
.footer-col h4,
.trust-bar-item small,
.service-detail .label-tag {
  font-size: .9rem;
  font-weight: 700;
}

.small-note,
.pullquote .source,
.google-badge .g-sub,
.footer-bottom {
  font-size: .96rem;
}

.hero-trust-item,
.expect-item p,
.call-signs li span,
.service-detail .list-clean li,
.duality-list li,
.faq-item p,
.pullquote cite,
.area-card p {
  font-size: 1rem;
}

label {
  font-size: 1rem;
  font-weight: 700;
}

.contact-list strong {
  font-size: .92rem;
  font-weight: 700;
}

.site-nav a,
.button,
input,
select,
textarea {
  font-size: 1rem;
}

.page-hero-aside p,
.footer-col a,
.footer-col li {
  font-size: 1rem;
}

.form-note {
  font-size: 1rem;
  line-height: 1.55;
}

.call-signs li {
  font-size: 1.02rem;
}

.cta-band p,
.footer-brand p {
  color: rgba(245, 238, 227, .82);
}

.footer-bottom {
  color: rgba(245, 238, 227, .72);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 980px) {
  .hero-kicker,
  .eyebrow,
  .brand-sub,
  .page-hero-aside h4,
  .footer-col h4,
  .trust-bar-item small,
  .service-detail .label-tag,
  .contact-list strong {
    font-size: .92rem;
  }
}

@media (max-width: 640px) {
  .small-note,
  .footer-bottom,
  .pullquote .source {
    font-size: .94rem;
  }
}


/* --- v7 refinement overrides ----------------------------- */
.hero-kicker {
  display: block;
  position: relative;
  padding-left: 2.35rem;
  line-height: 1.45;
  max-width: 40rem;
}
.hero-kicker::before {
  position: absolute;
  left: 0;
  top: .72em;
  width: 24px;
}
.page-hero .lede {
  max-width: none;
}
.prose-block {
  max-width: 68rem;
}
.prose-block p {
  max-width: none;
}
.prose-block p + p {
  margin-top: 1rem;
}
@media (max-width: 980px) {
  .hero-kicker {
    max-width: 100%;
    padding-left: 2rem;
  }
  .hero-kicker::before {
    width: 20px;
  }
}
@media (max-width: 640px) {
  .hero-kicker {
    letter-spacing: .09em;
    padding-left: 1.75rem;
  }
  .hero-kicker::before {
    width: 16px;
  }
}


/* --- v9 launch-readiness refinements ------------------- */
.prose-wide {
  max-width: 76rem;
}
.prose-wide p {
  max-width: none;
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
input::placeholder,
textarea::placeholder {
  color: #74685c;
  opacity: 1;
}
.site-footer .brand-mark img,
.site-header .brand-mark img,
.hero-logo-wrap img {
  image-rendering: auto;
}


/* --- v10 brand polish: depth, legal pages, and motion ---------------- */
h1, h2, h3 {
  text-wrap: balance;
}
p {
  color: #51473d;
}
.lede {
  color: #5a4f44;
}

.site-header.scrolled {
  box-shadow: 0 16px 34px rgba(42, 36, 30, .10);
  border-bottom-color: rgba(42, 36, 30, .10);
}

.section,
.page-hero,
.site-footer,
.hero,
.trust-bar,
.service-card,
.service-detail,
.value-card,
.form-card,
.page-hero-aside,
.call-signs,
.pullquote,
.cta-band,
.success-card,
.error-card,
.legal-block,
.legal-contact-box {
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -18% auto;
  width: 480px;
  height: 320px;
  background: radial-gradient(circle, rgba(31,91,107,.10) 0%, rgba(31,91,107,0) 68%);
  pointer-events: none;
  z-index: 0;
}

.section::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 22%, rgba(255,255,255,.28), transparent 28%),
    radial-gradient(circle at 88% 14%, rgba(232,154,60,.08), transparent 24%);
  pointer-events: none;
  z-index: -1;
}

.trust-bar,
.service-card,
.service-detail,
.value-card,
.form-card,
.page-hero-aside,
.call-signs,
.pullquote,
.success-card,
.error-card,
.legal-block,
.legal-contact-box {
  background-image:
    linear-gradient(180deg, rgba(255,255,255,.32), rgba(255,255,255,0) 44%),
    radial-gradient(circle at var(--spot-x, 82%) var(--spot-y, 18%), rgba(255,255,255,.20), transparent 28%);
  box-shadow: 0 10px 24px rgba(42, 36, 30, .05), 0 1px 0 rgba(255,255,255,.55) inset;
}

.trust-bar::before,
.service-card::before,
.service-detail::before,
.value-card::before,
.form-card::after,
.page-hero-aside::after,
.call-signs::before,
.pullquote::before,
.legal-block::before,
.legal-contact-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.28), transparent 48%, rgba(31,91,107,.05) 100%);
  opacity: .9;
}

.service-card,
.service-detail,
.value-card {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover,
.service-detail:hover,
.value-card:hover {
  box-shadow: 0 16px 36px rgba(42, 36, 30, .09), 0 1px 0 rgba(255,255,255,.6) inset;
}

.hero-logo-wrap {
  transition: transform .32s ease, filter .32s ease;
  transform-style: preserve-3d;
  will-change: transform;
}
.hero-logo-wrap.is-interactive {
  filter: drop-shadow(0 24px 40px rgba(42, 36, 30, .14));
}

.reveal-scroll {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .72s cubic-bezier(.2,.8,.2,1), transform .72s cubic-bezier(.2,.8,.2,1);
}
.reveal-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* legal page styling inspired by the reference build, adapted to this brand */
.legal-page .page-hero {
  padding-bottom: 3rem;
}
.legal-page .page-hero .lede {
  max-width: 54rem;
}
.legal-page .section {
  padding-top: 3.75rem;
}
.legal-body {
  max-width: 820px;
}
.legal-block {
  padding: 2rem 2rem 1.8rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background-color: var(--card);
}
.legal-block + .legal-block {
  margin-top: 1.25rem;
}
.legal-block h2 {
  font-size: 1.2rem;
  margin-bottom: .65rem;
  padding-bottom: .7rem;
  border-bottom: 1px solid var(--rule);
}
.legal-block p,
.legal-block li {
  font-size: 1.02rem;
  line-height: 1.78;
  color: var(--ink-soft);
}
.legal-block ul {
  margin: .5rem 0 0 1.25rem;
}
.feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .5rem .95rem;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: rgba(255,255,255,.55);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--terracotta);
  flex-shrink: 0;
}
.legal-contact-box {
  padding: 1.6rem 1.75rem;
  border: 1px solid var(--rule);
  border-left: 4px solid var(--terracotta);
  border-radius: var(--radius-lg);
  background: var(--card);
}
.legal-contact-box h2 {
  margin-top: 0;
}
.legal-contact-box p:last-child {
  margin-bottom: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal,
  .reveal-scroll {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-logo-wrap,
  .service-card,
  .service-detail,
  .value-card {
    transition: none !important;
    transform: none !important;
  }
}

@media (max-width: 640px) {
  .legal-block,
  .legal-contact-box {
    padding: 1.5rem 1.25rem;
  }
  .chip {
    width: 100%;
    justify-content: flex-start;
  }
}
