/* ================= Hardpoint Compliance — v2 warm editorial ================= */

:root {
  --cream: #f7f2e9;
  --cream-deep: #efe7d8;
  --paper: #fffdf8;
  --ink: #211d16;
  --ink-soft: #5f5849;
  --line: #ddd3c2;
  --rust: #c2491d;
  --rust-hover: #a83c14;
  --rust-soft: #f3ddd0;
  --olive: #3d4433;
  --olive-deep: #333a2b;
  --olive-text: #e9e6da;
  --olive-muted: #b4b3a0;
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1100px;
  --header-h: 68px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}
.container-narrow { max-width: 780px; }
.center { text-align: center; }

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 700;
}
h1 { font-size: clamp(2.1rem, 6vw, 3.7rem); }
h2 { font-size: clamp(1.65rem, 4.2vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: 1.2rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--rust);
  margin-bottom: 1rem;
}

.accent-text { color: var(--rust); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 242, 233, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}
.logo { color: var(--ink); flex-shrink: 0; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.brand-light { color: var(--ink-soft); font-weight: 500; }

.header-actions { display: flex; align-items: center; gap: 8px; }

.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 500;
}
.site-nav a:hover { color: var(--ink); }

/* Persistent book button — visible at every width */
.header-cta {
  background: var(--rust);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 18px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.15s;
}
.header-cta:hover { background: var(--rust-hover); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  display: block;
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn-lg { padding: 17px 32px; font-size: 1.05rem; }
.btn-primary { background: var(--rust); color: #fff; }
.btn-primary:hover { background: var(--rust-hover); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.on-dark .btn-ghost { color: var(--olive-text); border-color: var(--olive-muted); }
.on-dark .btn-ghost:hover { background: var(--olive-text); color: var(--olive-deep); }

/* ---------- Hero (the hook) ---------- */
.hero { padding: 84px 0 72px; }
.hero-inner { max-width: 880px; }
.hero h1 { margin-bottom: 1.4rem; }
.hero-lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 660px;
  margin-bottom: 1.1rem;
}
.hero-lede strong { color: var(--ink); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.8rem; }
.center-actions { justify-content: center; }

.serve-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2.4rem;
}
.serve-chips li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.serve-chips li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--rust);
  border-radius: 2px;
  transform: rotate(45deg);
  margin-right: 9px;
  vertical-align: 1px;
}

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-dark {
  background: var(--olive);
  color: var(--olive-text);
  border-radius: 28px;
  margin: 0 12px;
}
.section-dark h2 { color: #fff; }
.section-dark p { color: var(--olive-text); }

.section-note {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.section-dark .section-note { color: var(--olive-muted); }

/* ---------- About ---------- */
.cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 52px;
  align-items: start;
}
.col-text p + p { margin-top: 1rem; }

.about-points { display: grid; gap: 20px; align-self: center; }
.point {
  background: var(--olive-deep);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.point h3 { color: #fff; margin-bottom: 4px; font-size: 1.02rem; }
.point p { font-size: 0.93rem; color: var(--olive-muted) !important; }

/* ---------- Services cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 2.4rem;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card-featured { border: 2px solid var(--rust); }
.card-tier {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--rust);
}
.card-price {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}
.card p:last-child { font-size: 0.93rem; color: var(--ink-soft); }

/* ---------- Case studies ---------- */
.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 2.4rem;
}
.case {
  background: var(--cream-deep);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.case-tag {
  display: inline-block;
  background: var(--rust-soft);
  color: var(--rust-hover);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 14px;
}
.case h3 { margin-bottom: 12px; font-size: 1.3rem; }
.case-block { margin-top: 14px; }
.case-block h4 {
  font-family: var(--font-head);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  margin-bottom: 4px;
}
.case-block p { font-size: 0.95rem; color: var(--ink-soft); }
.case-result { border-top: 2px solid var(--rust); padding-top: 12px; }
.case-result p { color: var(--ink); font-weight: 500; }

/* ---------- Process steps ---------- */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 2.4rem;
}
.steps li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--rust);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 14px;
}
.steps h3 { margin-bottom: 8px; }
.steps p { font-size: 0.95rem; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
#faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 4px 20px;
  margin-bottom: 10px;
}
#faq summary {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: 14px 36px 14px 0;
  min-height: 44px;
}
#faq summary::-webkit-details-marker { display: none; }
#faq summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--rust);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
}
#faq details[open] summary::after { content: "\2212"; }
#faq details p {
  padding-bottom: 18px;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

/* ---------- Contact / CTA (the end) ---------- */
.section-cta {
  background: var(--olive);
  color: var(--olive-text);
  border-radius: 28px;
  margin: 0 12px 12px;
  padding: 90px 0;
}
.section-cta h2 { color: #fff; }
.cta-sub { color: var(--olive-text); max-width: 560px; margin: 0 auto 2rem; }
.cta-note { margin-top: 1.6rem; font-size: 0.82rem; color: var(--olive-muted); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--cream);
  color: var(--ink-soft);
  padding: 44px 0 56px;
  font-size: 0.9rem;
}
.footer-inner { display: grid; gap: 20px; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
}
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-nav a { color: var(--ink-soft); text-decoration: none; padding: 4px 0; }
.footer-nav a:hover { color: var(--ink); }
.footer-legal { font-size: 0.78rem; line-height: 1.7; max-width: 760px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cols { grid-template-columns: 1fr; gap: 32px; }
  .case-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .hero { padding: 56px 0 56px; }
  .section { padding: 60px 0; }
  .section-cta { padding: 64px 0; }
  .cards { grid-template-columns: 1fr; }
  .section-dark, .section-cta { margin: 0 8px; border-radius: 20px; }
  .section-cta { margin-bottom: 8px; }

  .brand-name .brand-light { display: none; } /* keep header uncrowded next to the CTA */
  .header-cta { padding: 9px 14px; font-size: 0.85rem; }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 6px 20px 14px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 13px 0; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: none; }
  .nav-toggle { display: flex; }

  .btn { width: 100%; text-align: center; }
  .hero-actions { flex-direction: column; }
}
