/* Ipswich Resin - warm stone palette, Fraunces display + system body */

:root {
  --bone: #f6f1e8;
  --sand: #ece4d4;
  --sand-deep: #e0d5bf;
  --ink: #2c241c;
  --ink-soft: #5b5045;
  --ink-faint: #6e6357;
  --clay: #a34e28;
  --clay-deep: #7c3a1c;
  --moss: #4f4a33;
  --line: #d6cab5;
  --white: #fffdf9;
  --radius: 10px;
  --measure: 66ch;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .wordmark {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); margin-bottom: 0.6em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 0.7em; }
h3 { font-size: 1.25rem; margin-bottom: 0.5em; }

p { margin-bottom: 1.1em; max-width: var(--measure); }
ul, ol { margin: 0 0 1.2em 1.2em; max-width: var(--measure); }
li { margin-bottom: 0.45em; }

a { color: var(--clay-deep); text-underline-offset: 3px; }
a:hover { color: var(--clay); }

strong { font-weight: 600; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */

.site-header {
  background: var(--bone);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }

.brand-mark {
  width: 40px; height: 40px; border-radius: 9px;
  background:
    radial-gradient(circle 3px at 9px 11px, #b3663c 3px, transparent 3.5px),
    radial-gradient(circle 3px at 24px 7px, #8c7a5e 3px, transparent 3.5px),
    radial-gradient(circle 3px at 31px 20px, #a34e28 3px, transparent 3.5px),
    radial-gradient(circle 3px at 14px 27px, #c0a778 3px, transparent 3.5px),
    radial-gradient(circle 3px at 27px 32px, #6e5f4b 3px, transparent 3.5px),
    var(--sand-deep);
  border: 1px solid var(--line);
  flex: none;
}

.wordmark { font-size: 1.35rem; color: var(--ink); }
.wordmark span { color: var(--clay-deep); }

.site-nav { display: flex; align-items: center; gap: 4px 18px; flex-wrap: wrap; }
.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.97rem;
  padding: 6px 2px;
}
.site-nav a:hover { color: var(--clay-deep); }
.site-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.site-nav a.btn, .site-nav a.btn:hover { color: var(--white); }

.btn {
  display: inline-block;
  background: var(--clay-deep);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
  cursor: pointer;
}
.btn:hover { background: var(--clay); color: var(--white); }

.btn-ghost {
  display: inline-block;
  color: var(--clay-deep);
  border: 1.5px solid var(--clay-deep);
  background: transparent;
  text-decoration: none;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: 8px;
  font-size: 1rem;
}
.btn-ghost:hover { background: var(--clay-deep); color: var(--white); }

.nav-phone { white-space: nowrap; }

/* ---------- hero ---------- */

.hero { padding: 56px 0 64px; }

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 48px;
  align-items: start;
}

.hero-kicker {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clay-deep);
  font-weight: 600;
  margin-bottom: 14px;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin: 22px 0 10px; }

.hero-note { font-size: 0.9rem; color: var(--ink-faint); max-width: 46ch; }

/* aggregate texture band */
.texture-band {
  height: 14px;
  background:
    radial-gradient(circle 2.2px at 8px 6px, #a34e28 2.2px, transparent 2.7px),
    radial-gradient(circle 2.2px at 22px 10px, #8c7a5e 2.2px, transparent 2.7px),
    radial-gradient(circle 2.2px at 37px 5px, #b3663c 2.2px, transparent 2.7px),
    radial-gradient(circle 2.2px at 50px 9px, #6e5f4b 2.2px, transparent 2.7px),
    radial-gradient(circle 2.2px at 63px 4px, #c0a778 2.2px, transparent 2.7px),
    var(--sand-deep);
  background-size: 72px 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ---------- quote form card ---------- */

.quote-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 2px 14px rgba(44, 36, 28, 0.07);
}

.quote-card h2, .quote-card h3 { margin-bottom: 6px; }

.quote-card .form-intro { font-size: 0.95rem; color: var(--ink-soft); margin-bottom: 18px; }

.field { margin-bottom: 14px; }

label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--ink);
}

input[type="text"], input[type="tel"], textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font: inherit;
  font-size: 1rem;
  background: var(--bone);
  color: var(--ink);
}

input:focus, textarea:focus {
  outline: 2px solid var(--clay);
  outline-offset: 1px;
  background: var(--white);
}

textarea { min-height: 96px; resize: vertical; }

.form-small {
  font-size: 0.82rem;
  color: var(--ink-faint);
  margin-top: 12px;
  line-height: 1.5;
}

/* ---------- sections ---------- */

.section { padding: 56px 0; }
.section-alt { background: var(--sand); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-lede { color: var(--ink-soft); font-size: 1.1rem; max-width: 60ch; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--clay-deep);
  border-radius: 8px;
  padding: 22px;
}

.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.96rem; color: var(--ink-soft); margin-bottom: 10px; }
.card a { font-weight: 600; font-size: 0.95rem; }

/* numbered steps */
.steps { counter-reset: step; margin: 30px 0 0; padding: 0; list-style: none; max-width: none; }
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  margin-bottom: 22px;
  max-width: 70ch;
}
.steps li::before {
  content: counter(step);
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 1.15rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--sand-deep);
  color: var(--clay-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
}
.steps h3 { margin-bottom: 4px; font-size: 1.1rem; }
.steps p { margin-bottom: 0; font-size: 0.97rem; color: var(--ink-soft); }

/* fact panel */
.fact-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin: 26px 0;
  max-width: 74ch;
}
.fact-panel h3 { color: var(--clay-deep); font-size: 1.05rem; margin-bottom: 8px; }
.fact-panel p:last-child { margin-bottom: 0; }

/* prose pages */
.prose { padding: 48px 0 56px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.2em; }

.breadcrumb { font-size: 0.88rem; color: var(--ink-faint); margin-bottom: 18px; }
.breadcrumb a { color: var(--ink-faint); }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--line); padding: 26px 0; max-width: 74ch; }
.faq-item:first-of-type { border-top: 1px solid var(--line); margin-top: 26px; }
.faq-item h2 { font-size: 1.3rem; margin-bottom: 10px; }
.faq-item p:last-child { margin-bottom: 0; }

/* CTA banner */
.cta-banner {
  background: var(--moss);
  color: var(--bone);
  padding: 52px 0;
}
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: #ddd6c4; }
.cta-banner .btn { background: var(--bone); color: var(--ink); }
.cta-banner .btn:hover { background: var(--white); color: var(--ink); }
.cta-banner .btn-ghost { color: var(--bone); border-color: var(--bone); }
.cta-banner .btn-ghost:hover { background: var(--bone); color: var(--ink); }

/* ---------- footer ---------- */

.site-footer {
  background: var(--ink);
  color: #cfc6b8;
  padding: 48px 0 36px;
  font-size: 0.93rem;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 34px;
}

.site-footer h3 {
  color: var(--bone);
  font-size: 1rem;
  margin-bottom: 12px;
  font-family: inherit;
  font-weight: 600;
}

.site-footer ul { list-style: none; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #cfc6b8; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }

.footer-disclosure {
  border-top: 1px solid #4a4136;
  padding-top: 22px;
  color: #b5aa99;
  font-size: 0.88rem;
  max-width: none;
}
.footer-disclosure a { text-decoration: underline; }

/* ---------- responsive ---------- */

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 40px 0 48px; }
  .section { padding: 44px 0; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .site-header .wrap { padding-top: 14px; padding-bottom: 14px; }
  .site-nav { gap: 2px 14px; }
  .hero-ctas .btn, .hero-ctas .btn-ghost { width: 100%; text-align: center; }
  .quote-card { padding: 22px 18px; }
}
