:root {
  --ink: #0E2A2F;
  --ink-soft: #3B5559;
  --paper: #F4F1E8;
  --paper-deep: #E9E4D4;
  --marigold: #F2B23A;
  --marigold-deep: #C98A12;
  --white: #FFFFFF;
  --radius: 6px;
  --max: 1160px;
  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

a { color: inherit; }
img, svg { display: block; max-width: 100%; }

:focus-visible {
  outline: 3px solid var(--marigold-deep);
  outline-offset: 3px;
}

.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

h1, h2, h3, h4 {
  font-family: var(--display);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.55em;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; font-weight: 700; letter-spacing: 0; }

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

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--marigold-deep);
  margin: 0 0 0.9rem;
}

section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.band { background: var(--ink); color: var(--paper); }
.band h1, .band h2, .band h3, .band h4 { color: var(--paper); }
.band p { color: #B9C9C6; }
.band .eyebrow { color: var(--marigold); }

.section-head { max-width: 42rem; margin-bottom: 2.5rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--paper-deep);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}
.brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.2rem;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.brand span { color: var(--marigold-deep); }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { font-weight: 600; }

.nav-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 0.4rem 0.7rem;
  font: 600 0.9rem var(--body);
  color: var(--ink);
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--paper-deep);
  }
  .nav.open { display: flex; }
  .nav a { padding: 0.9rem 1.25rem; border-top: 1px solid var(--paper-deep); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font: 600 1rem var(--body);
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius);
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn:disabled { opacity: 0.6; cursor: wait; }

.btn-marigold { background: var(--marigold); border-color: var(--marigold); color: var(--ink); }
.btn-marigold:hover { background: transparent; border-color: var(--ink); color: var(--ink); }

.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* ---------- Hero ---------- */
.hero { padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 4.5rem); }
.hero .lede { font-size: 1.2rem; max-width: 36rem; margin-bottom: 2rem; }
.hero-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr 0.9fr; } }

.page-hero { padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 3.5rem); }
.page-hero .lede { font-size: 1.15rem; max-width: 40rem; }

/* Hero stat card */
.stat-card {
  background: var(--white);
  border: 1px solid var(--paper-deep);
  border-radius: 14px;
  padding: 1.75rem;
  box-shadow: 10px 10px 0 var(--ink);
}
.stat-card .big {
  font-family: var(--display);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
}
.stat-card .big-label { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 1.25rem; }
.stat-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--paper-deep);
  font-size: 0.95rem;
  color: var(--ink);
}
.stat-row span:last-child { font-weight: 600; white-space: nowrap; }

/* ---------- Cards and grids ---------- */
.grid { display: grid; gap: 1.25rem; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--white);
  border: 1px solid var(--paper-deep);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}
.card h3, .card h4 { color: var(--ink); }
.card p { color: var(--ink-soft); }
.card .price {
  font-family: var(--display);
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
  margin: 0.4rem 0 0.25rem;
  color: var(--ink);
}
.card .price-note { font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 1.1rem; }
.card .tag {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--marigold);
  color: var(--ink);
  padding: 0.25rem 0.6rem;
  border-radius: 99px;
  margin-bottom: 0.9rem;
}
.card.featured { border: 2px solid var(--ink); }

.card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex: 1;
}
.card li {
  padding: 0.5rem 0 0.5rem 1.4rem;
  position: relative;
  border-top: 1px solid var(--paper-deep);
  font-size: 0.95rem;
  color: var(--ink);
}
.card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--marigold);
}
.card .card-cta { margin-top: auto; }

.card-link { text-decoration: none; }

/* Rate card table */
.rate-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--paper-deep);
  border-radius: var(--radius);
  overflow: hidden;
}
.rate-table th,
.rate-table td {
  text-align: left;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--paper-deep);
  font-size: 0.97rem;
  color: var(--ink);
}
.rate-table th {
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.rate-table td.price-cell { font-weight: 700; white-space: nowrap; font-family: var(--display); font-size: 1.05rem; }
.rate-table tr:last-child td { border-bottom: none; }
.table-wrap { overflow-x: auto; }

/* Pillars */
.pillar { border-top: 4px solid var(--ink); padding-top: 1.25rem; }
.pillar .num { font-family: var(--display); font-weight: 800; color: var(--marigold-deep); font-size: 0.95rem; margin-bottom: 0.4rem; }

/* Notes */
.note {
  font-size: 0.88rem;
  color: var(--ink-soft);
  border-left: 3px solid var(--marigold);
  padding: 0.6rem 0.9rem;
  background: var(--white);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0 0;
}

/* CTA strip */
.cta-strip { text-align: center; }
.cta-strip p { max-width: 36rem; margin-inline: auto; }
.cta-strip .btn-row { justify-content: center; }

/* ---------- Forms ---------- */
.lead-form {
  background: var(--white);
  border: 1px solid var(--paper-deep);
  border-radius: var(--radius);
  padding: 2rem;
  display: grid;
  gap: 1rem;
}
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
  color: var(--ink);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid #C9C4B2;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(242, 178, 58, 0.45);
}
.field .error { display: none; color: #A4332B; font-size: 0.85rem; margin-top: 0.3rem; }
.field.invalid input { border-color: #A4332B; }
.field.invalid .error { display: block; }
.lead-form .btn { width: 100%; text-align: center; }
.form-hint { font-size: 0.85rem; color: var(--ink-soft); margin: 0; }
.form-status { font-weight: 600; color: var(--ink); margin: 0; min-height: 1.4em; }

.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; } }

.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.contact-list li { padding: 1rem 0; border-top: 1px solid var(--paper-deep); }
.contact-list strong { display: block; color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #B9C9C6;
  padding: 3rem 0 2rem;
  font-size: 0.95rem;
}
.site-footer .wrap {
  display: grid;
  gap: 2rem;
}
@media (min-width: 800px) { .site-footer .wrap { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer h4 { color: var(--paper); font-size: 0.95rem; margin-bottom: 0.7rem; }
.site-footer a { color: #B9C9C6; text-decoration: none; display: block; padding: 0.2rem 0; }
.site-footer a:hover { color: var(--marigold); }
.site-footer .brand { color: var(--paper); }
.site-footer .copy {
  grid-column: 1 / -1;
  border-top: 1px solid #2C4A4F;
  padding-top: 1.25rem;
  font-size: 0.85rem;
  color: #8FA7A4;
}

/* Reveal on load (respects reduced motion) */
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .reveal-2 { animation: rise 0.7s 0.1s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
