/* Lenovate Marketing — Hi-Fi Homepage A
   Brand tokens per design brief.
   Typography: Montserrat (400/500/700) for everything.
   Colors: teal #2C6E5A, amber #F1A73B, charcoal #3D3D3D, warm-white #FFF9F0, sand #E7D1B5
*/

:root {
  --teal: #2C6E5A;
  --teal-dark: #215446;
  --teal-15: rgba(44, 110, 90, 0.15);
  --teal-10: rgba(44, 110, 90, 0.10);
  --amber: #F1A73B;
  --amber-dark: #D9912A;
  --charcoal: #3D3D3D;
  --charcoal-70: rgba(61, 61, 61, 0.70);
  --charcoal-muted: rgba(61, 61, 61, 0.60);
  --warm-white: #FFF9F0;
  --sand: #E7D1B5;
  --sand-50: rgba(231, 209, 181, 0.5);
  --white: #FFFFFF;

  --font-sans: "Montserrat", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-card: 12px;
  --radius-btn: 8px;
  --shadow-card: 0 2px 8px rgba(61, 61, 61, 0.06);
  --shadow-card-hover: 0 6px 20px rgba(61, 61, 61, 0.10);
  --shadow-nav: 0 2px 12px rgba(61, 61, 61, 0.06);

  --max-w: 1200px;
  --max-w-hero: 1280px;
  --section-pad-y: 96px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--warm-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ── Typography ───────────────────────────────────────────────────────── */
.h1 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(40px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--teal);
  margin: 0;
}
.h2 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--teal);
  margin: 0;
}
.h3 {
  font-weight: 700;
  font-size: 22px;
  line-height: 1.3;
  color: var(--teal);
  margin: 0;
}
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0;
}
.eyebrow.amber { color: var(--amber); }
.sub {
  font-size: 20px;
  line-height: 1.5;
  color: var(--charcoal);
  margin: 0;
}
.body { font-size: 17px; line-height: 1.65; color: var(--charcoal); margin: 0; }
.small { font-size: 14px; line-height: 1.5; color: var(--charcoal-muted); margin: 0; }
.fine { font-size: 12px; line-height: 1.5; color: var(--charcoal-muted); margin: 0; }

.text-center { text-align: center; }
.text-reverse { color: var(--white); }
.text-reverse .h1, .text-reverse .h2, .text-reverse .h3 { color: var(--white); }
.text-reverse .sub { color: var(--sand); }
.text-reverse .eyebrow { color: var(--amber); }

/* ── Layout ───────────────────────────────────────────────────────────── */
section { padding: var(--section-pad-y) 24px; }
.container { max-width: var(--max-w); margin: 0 auto; }
.container-wide { max-width: var(--max-w-hero); margin: 0 auto; }
.section-head { display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; margin: 0 auto 56px; max-width: 760px; }
.section-head .sub { max-width: 620px; }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border: none;
  border-radius: var(--radius-btn);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: background-color .18s ease, transform .08s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn.lg { height: 56px; padding: 0 28px; font-size: 17px; }
.btn.full { width: 100%; }
.btn-primary { background: var(--amber); color: var(--charcoal); }
.btn-primary:hover { background: var(--amber-dark); }
.btn-primary:active { transform: translateY(1px); }
.btn-secondary { background: transparent; color: var(--teal); border: 1.5px solid var(--teal); }
.btn-secondary:hover { background: var(--teal); color: var(--white); }
.btn-ghost { background: transparent; color: var(--teal); padding: 0; height: auto; }
.btn-ghost:hover { color: var(--teal-dark); }
.btn-ghost.underline { text-decoration: underline; text-underline-offset: 3px; }

/* ── Nav ──────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--warm-white);
  border-bottom: 1px solid var(--sand);
  transition: box-shadow .25s ease;
}
.nav.scrolled { box-shadow: var(--shadow-nav); }
.nav-inner {
  max-width: var(--max-w-hero);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--teal); font-weight: 700; font-size: 22px; letter-spacing: -0.02em;
}
.brand-mark {
  width: 28px; height: 28px; flex-shrink: 0;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--charcoal);
  transition: color .15s ease;
}
.nav-links a:hover { color: var(--teal); }
.nav-mobile-btn { display: none; background: none; border: none; padding: 8px; cursor: pointer; color: var(--teal); }
.nav-mobile-menu {
  display: none;
  background: var(--warm-white);
  border-top: 1px solid var(--sand);
  padding: 12px 24px 24px;
  flex-direction: column;
  gap: 6px;
}
.nav-mobile-menu a { padding: 12px 0; font-size: 16px; font-weight: 500; color: var(--charcoal); border-bottom: 1px solid var(--sand-50); }
.nav-mobile-menu a:last-of-type { border-bottom: none; }
.nav-mobile-menu .btn { margin-top: 12px; }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero {
  padding-top: 72px;
  padding-bottom: 96px;
  background: var(--warm-white);
  min-height: 640px;
}
.hero-grid {
  max-width: var(--max-w-hero);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.22fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.hero-copy .h1 { max-width: 620px; }
.hero-copy .sub { max-width: 540px; }
.trust-strip {
  display: flex; flex-wrap: wrap; gap: 24px;
  margin-top: 4px;
}
.trust-item { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--charcoal); font-weight: 600; background: var(--white); border: 1px solid rgba(44,110,90,0.18); border-radius: 100px; padding: 8px 14px; box-shadow: 0 1px 3px rgba(44,110,90,0.06); }
.trust-item svg { color: var(--teal); flex-shrink: 0; }
.service-line { font-size: 14px; color: var(--teal); line-height: 1.55; max-width: 520px; font-weight: 500; background: rgba(44,110,90,0.06); border-left: 3px solid var(--teal); border-radius: 0 6px 6px 0; padding: 10px 14px; }

/* ── Hero form card ──────────────────────────────────────────────────── */
.hero-form {
  background: var(--sand);
  border: 1px solid var(--teal-15);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero-form .eyebrow { margin-bottom: 2px; }
.hero-form .h2 { font-size: 28px; }
.hero-form .card-sub { font-size: 15px; line-height: 1.5; color: var(--charcoal); margin: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
  font-size: 13px; font-weight: 700; color: var(--teal);
  letter-spacing: 0.02em;
}
.form-field .req { color: var(--amber-dark); margin-left: 2px; }
.form-field input, .form-field textarea, .form-field select {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--charcoal);
  background: var(--warm-white);
  border: 1px solid var(--teal-15);
  border-radius: 8px;
  padding: 12px 14px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: rgba(61,61,61,0.4); }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(44, 110, 90, 0.15);
  background: var(--white);
}
.form-field textarea { min-height: 84px; resize: vertical; font-family: var(--font-sans); line-height: 1.5; }
.form-submit { margin-top: 4px; }
.form-link { text-align: center; font-size: 14px; }
.form-link a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.form-link a:hover { color: var(--teal-dark); }

.form-success {
  display: none;
  padding: 20px;
  background: var(--warm-white);
  border: 1px solid var(--teal);
  border-radius: 8px;
  text-align: center;
}
.form-success .h3 { margin-bottom: 8px; }
.form-success .body { font-size: 15px; }
.form-success .arrow { margin-top: 14px; color: var(--teal); animation: bounce 1.6s ease-in-out infinite; }
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ── Problem section ─────────────────────────────────────────────────── */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pain-card {
  background: var(--sand);
  border: 1px solid var(--sand);
  border-radius: var(--radius-card);
  padding: 32px;
  display: flex; flex-direction: column; gap: 16px;
}
.pain-card .icon-wrap {
  width: 56px; height: 56px; border-radius: 12px;
  background: var(--warm-white);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
  align-self: center;
}
.pain-card h3 { font-size: 22px; line-height: 1.25; }
.pain-card p { font-size: 15.5px; line-height: 1.6; }

/* ── Value props (teal section) ──────────────────────────────────────── */
.section-teal { background: var(--teal); color: var(--white); }
.section-teal .h1, .section-teal .h2, .section-teal .h3 { color: var(--white); }
.section-teal .sub { color: var(--sand); }
.section-teal .eyebrow { color: var(--amber); }

.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 960px;
  margin: 0 auto 48px;
}
.value-item { display: flex; gap: 20px; align-items: flex-start; }
.value-icon {
  width: 68px; height: 68px; border-radius: 16px;
  background: var(--warm-white);
  color: var(--teal);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.22), 0 1px 3px rgba(0,0,0,0.12);
}
.value-item h3 {
  font-size: 20px; font-weight: 700; color: var(--white); margin: 0 0 8px;
  line-height: 1.3;
}
.value-item p { font-size: 15px; line-height: 1.6; color: var(--sand); margin: 0; }
.value-cta { display: flex; justify-content: center; }

/* ── How it works ────────────────────────────────────────────────────── */
.steps-wrap { position: relative; }
.steps-line {
  position: absolute;
  top: 110px;
  left: 12%;
  right: 12%;
  border-top: 2px dotted var(--teal);
  opacity: 0.35;
  z-index: 0;
}
.steps-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  position: relative; z-index: 1;
}
.step-card { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.step-photo {
  width: 220px; height: 220px; border-radius: 50%;
  border: 1px solid var(--sand);
  overflow: hidden; position: relative;
  background: var(--sand);
}
.step-photo::after {
  content: ""; position: absolute; inset: 0;
  background: var(--sand); opacity: 0.1; mix-blend-mode: multiply;
  pointer-events: none;
}
.step-photo svg { width: 100%; height: 100%; display: block; }
.step-label { font-size: 14px; font-weight: 700; color: var(--amber-dark); letter-spacing: 0.1em; text-transform: uppercase; }
.step-title { font-size: 22px; font-weight: 700; color: var(--teal); }
.step-body { font-size: 15px; line-height: 1.55; color: var(--charcoal); max-width: 240px; }
.steps-callout {
  text-align: center; font-style: italic; font-size: 17px; color: var(--charcoal);
  margin-top: 56px; max-width: 640px; margin-left: auto; margin-right: auto;
}

/* ── Guarantee ───────────────────────────────────────────────────────── */
.section-charcoal { background: var(--charcoal); color: var(--white); }
.guarantee-card {
  max-width: 900px; margin: 0 auto;
  background: var(--warm-white);
  border-radius: var(--radius-card);
  border-left: 4px solid var(--amber);
  padding: 48px;
  box-shadow: var(--shadow-card);
}
.guarantee-card .eyebrow { color: var(--amber-dark); }
.guarantee-card .h2 { font-size: 40px; margin: 12px 0 20px; color: var(--teal); }
.guarantee-card p { font-size: 17px; line-height: 1.65; color: var(--charcoal); margin: 0 0 24px; }

.accordion { margin-top: 8px; display: flex; flex-direction: column; gap: 8px; }
.accordion details {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
}
.accordion summary {
  padding: 16px 20px;
  cursor: pointer;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--teal);
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  transition: background .15s ease;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { background: rgba(44,110,90,0.04); }
.accordion summary .chev { color: var(--teal); transition: transform .2s ease; flex-shrink: 0; }
.accordion details[open] summary .chev { transform: rotate(180deg); }
.accordion .acc-body { padding: 4px 20px 20px; font-size: 15px; line-height: 1.6; color: var(--charcoal); }
.guarantee-cta-wrap { text-align: center; margin-top: 32px; }

/* ── Sample campaign ─────────────────────────────────────────────────── */
.sample-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.sample-copy { display: flex; flex-direction: column; gap: 18px; }
.sample-copy p { font-size: 17px; line-height: 1.65; }
.sample-link { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; font-size: 15px; }
.sample-link:hover { color: var(--teal-dark); }

.stat-card {
  background: var(--sand);
  border-radius: var(--radius-card);
  padding: 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat-tile {
  background: var(--warm-white);
  border-radius: 10px;
  padding: 24px;
  display: flex; flex-direction: column; gap: 6px;
}
.stat-tile .num {
  font-size: 44px; font-weight: 700; color: var(--teal);
  line-height: 1; letter-spacing: -0.02em;
}
.stat-tile .lbl {
  font-size: 13px; font-weight: 700; color: var(--charcoal);
  letter-spacing: 0.1em; text-transform: uppercase;
}
.stat-banner {
  background: var(--amber);
  border-radius: 10px;
  padding: 18px 20px;
  text-align: center;
  font-weight: 700; font-size: 18px;
  color: var(--charcoal);
}
.stat-fine { font-size: 12px; color: var(--charcoal-muted); line-height: 1.5; margin-top: 2px; }

/* ── Industries ──────────────────────────────────────────────────────── */
.industries-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.industry-card {
  background: var(--sand);
  border-radius: var(--radius-card);
  padding: 24px;
  display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center;
  transition: transform .18s ease, box-shadow .18s ease;
}
.industry-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card-hover); }
.industry-card .icon { color: var(--teal); }
.industry-card h3 { font-size: 17px; line-height: 1.3; color: var(--teal); font-weight: 700; margin: 0; }
.industry-card p { font-size: 14px; line-height: 1.5; color: var(--charcoal); margin: 0; }
.industries-note { margin-top: 32px; text-align: center; font-size: 15px; color: var(--charcoal); }
.industries-note a { color: var(--teal); text-decoration: underline; font-weight: 600; }

/* ── Where we work ───────────────────────────────────────────────────── */
.section-sand { background: var(--sand); padding: 64px 24px; }
.where-wrap { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; align-items: center; text-align: center; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 4px; }
.pill {
  background: var(--warm-white);
  color: var(--teal);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(44, 110, 90, 0.2);
}
.where-fine { font-size: 13px; color: var(--charcoal-muted); margin-top: 6px; }

/* ── FAQ ─────────────────────────────────────────────────────────────── */
.faq-wrap {
  max-width: 900px; margin: 0 auto;
  border: 1px solid var(--sand);
  border-radius: var(--radius-card);
  padding: 16px 24px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}
.faq-wrap details { border-bottom: 1px solid var(--sand); }
.faq-wrap details:last-of-type { border-bottom: none; }
.faq-wrap summary {
  padding: 18px 4px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  color: var(--teal);
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-wrap summary::-webkit-details-marker { display: none; }
.faq-wrap summary .chev { color: var(--teal); transition: transform .2s ease; flex-shrink: 0; }
.faq-wrap details[open] summary .chev { transform: rotate(180deg); }
.faq-wrap .acc-body { padding: 0 4px 20px; font-size: 16px; line-height: 1.6; color: var(--charcoal); }

/* ── Founder strip ───────────────────────────────────────────────────── */
.founder-wrap { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.founder-wrap .eyebrow { margin-bottom: 2px; }
.founder-wrap .h2 { margin-bottom: 4px; }
.founder-body p { font-size: 17px; line-height: 1.7; color: var(--charcoal); margin: 0 0 16px; }
.founder-body p:last-child { margin-bottom: 0; }
.founder-sig { font-style: italic; color: var(--teal); font-weight: 600; margin-top: 8px; }
.founder-link { color: var(--teal); text-decoration: underline; font-weight: 600; font-size: 15px; }

/* ── Final CTA ───────────────────────────────────────────────────────── */
.final-cta-wrap { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; align-items: center; text-align: center; }
.final-cta-wrap .h2 { font-size: 40px; }
.calendly-embed {
  width: 100%; min-height: 500px;
  background: var(--warm-white);
  border: 1.5px dashed rgba(255,255,255,0.4);
  border-radius: var(--radius-card);
  display: flex; align-items: center; justify-content: center;
  color: var(--charcoal-muted);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  text-align: center;
}
.calendly-embed svg { color: var(--teal); }
.calendly-embed .label { color: var(--charcoal); font-weight: 600; letter-spacing: 0.05em; }
.calendly-embed .small { color: var(--charcoal-muted); text-transform: none; letter-spacing: 0; font-size: 13px; }

/* ── Footer ──────────────────────────────────────────────────────────── */
.footer { background: var(--charcoal); color: var(--white); padding: 64px 24px 24px; }
.footer-grid {
  max-width: var(--max-w); margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand .brand { color: var(--amber); }
.footer-brand p { margin: 12px 0 0; font-size: 14px; opacity: 0.85; line-height: 1.55; max-width: 320px; }
.footer-col h4 {
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; margin: 0 0 12px; opacity: 0.65;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col a, .footer-col li { font-size: 14px; color: var(--white); opacity: 0.88; }
.footer-col a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom {
  max-width: var(--max-w); margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
}

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 48px; }
  .steps-line { display: none; }
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
  .industries-grid > :last-child { grid-column: 2 / 3; }
  .sample-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
  section { padding: 72px 24px; }
  :root { --section-pad-y: 72px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .h1 { font-size: 38px; }
  .h2 { font-size: 28px; }
  .hero { padding-top: 48px; padding-bottom: 64px; min-height: auto; }
  .hero-form { padding: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .problem-grid { grid-template-columns: 1fr; gap: 16px; }
  .value-grid { grid-template-columns: 1fr; gap: 24px; max-width: 480px; }
  .steps-grid { grid-template-columns: 1fr; gap: 40px; }
  .step-photo { width: 180px; height: 180px; }
  .industries-grid { grid-template-columns: 1fr 1fr; }
  .industries-grid > :last-child { grid-column: 1 / -1; }
  .guarantee-card { padding: 32px 24px; }
  .guarantee-card .h2 { font-size: 30px; }
  .stat-tile .num { font-size: 36px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .nav-links { display: none; }
  .nav-mobile-btn { display: inline-flex; }
  .nav.menu-open .nav-mobile-menu { display: flex; }
  section { padding: 64px 20px; }
  :root { --section-pad-y: 64px; }
  .final-cta-wrap .h2 { font-size: 30px; }
}

/* ══════════════════════════════════════════════════════════════════════
   TWEAK: TYPE SYSTEM — swap font personality
   default (body, no class): Montserrat agency
   ══════════════════════════════════════════════════════════════════════ */

/* Editorial — Fraunces serif, Inter body. Consultancy feel. */
body.type-editorial {
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
body.type-editorial .h1,
body.type-editorial .h2,
body.type-editorial .h3,
body.type-editorial .hero-form .h2,
body.type-editorial .brand {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -0.022em;
  font-variation-settings: "opsz" 100;
}
body.type-editorial .h1 { font-weight: 600; letter-spacing: -0.028em; }
body.type-editorial .brand { font-weight: 600; letter-spacing: -0.025em; font-size: 22px; font-variation-settings: "opsz" 36; }
body.type-editorial .eyebrow { font-family: "Inter", sans-serif; letter-spacing: 0.14em; font-weight: 600; font-size: 12px; }
body.type-editorial .form-field label { font-family: "Inter", sans-serif; font-weight: 600; }
body.type-editorial .btn { font-family: "Inter", sans-serif; font-weight: 600; letter-spacing: 0; }

/* Trade-craft — Archivo + JetBrains Mono accents */
body.type-craft {
  --font-sans: "Archivo", "Inter", -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
body.type-craft .h1 { font-weight: 800; letter-spacing: -0.035em; }
body.type-craft .h2 { font-weight: 700; letter-spacing: -0.025em; }
body.type-craft .h3 { font-weight: 700; letter-spacing: -0.015em; }
body.type-craft .hero-form .h2 { font-weight: 700; letter-spacing: -0.025em; }
body.type-craft .brand { font-family: "Archivo", sans-serif; font-weight: 800; letter-spacing: -0.035em; text-transform: lowercase; }
body.type-craft .eyebrow,
body.type-craft .form-field label,
body.type-craft .stat-label,
body.type-craft .step-label,
body.type-craft .card-eyebrow,
body.type-craft .town-pill {
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.04em;
}
body.type-craft .eyebrow { font-size: 12px; }
body.type-craft .btn { font-family: var(--font-mono); font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; font-size: 14px; }

/* Bold confidence — Space Grotesk, tight */
body.type-bold {
  --font-sans: "Space Grotesk", "Inter", sans-serif;
}
body.type-bold .h1 { font-weight: 700; letter-spacing: -0.045em; line-height: 1.05; }
body.type-bold .h2 { font-weight: 700; letter-spacing: -0.035em; }
body.type-bold .h3 { font-weight: 600; letter-spacing: -0.02em; }
body.type-bold .hero-form .h2 { font-weight: 700; letter-spacing: -0.03em; }
body.type-bold .brand { font-weight: 700; letter-spacing: -0.04em; }
body.type-bold .eyebrow { font-weight: 600; letter-spacing: 0.12em; }

/* ══════════════════════════════════════════════════════════════════════
   TWEAK: PALETTE — retune all brand tokens
   default (no class): warm agency
   ══════════════════════════════════════════════════════════════════════ */

/* Deep & mature — forest + ochre */
body.palette-deep {
  --teal: #1E5142;
  --teal-dark: #11342A;
  --teal-15: rgba(30, 81, 66, 0.15);
  --teal-10: rgba(30, 81, 66, 0.10);
  --amber: #C4872D;
  --amber-dark: #9E6C22;
  --charcoal: #2A2520;
  --charcoal-70: rgba(42, 37, 32, 0.75);
  --charcoal-muted: rgba(42, 37, 32, 0.60);
  --warm-white: #F7F0E2;
  --sand: #DCC5A5;
  --sand-50: rgba(220, 197, 165, 0.5);
}

/* Ink-forward — charcoal heavy, amber highlight */
body.palette-ink {
  --teal: #0F3A2E;
  --teal-dark: #07221B;
  --teal-15: rgba(15, 58, 46, 0.15);
  --teal-10: rgba(15, 58, 46, 0.10);
  --amber: #E89A1F;
  --amber-dark: #BF7F18;
  --charcoal: #141414;
  --charcoal-70: rgba(20, 20, 20, 0.78);
  --charcoal-muted: rgba(20, 20, 20, 0.58);
  --warm-white: #F2EFE7;
  --sand: #DECFB8;
  --sand-50: rgba(222, 207, 184, 0.5);
}
/* Ink palette: darken body text on warm sections so it feels more printed */
body.palette-ink .sub { color: rgba(20,20,20,0.78); }

/* ══════════════════════════════════════════════════════════════════════
   TWEAK: MOTIF — decorative layer applied across the page
   ══════════════════════════════════════════════════════════════════════ */

/* ── Blueprint motif: dotted grid backgrounds + card corner ticks ── */
body.motif-blueprint section {
  background-image: radial-gradient(circle, rgba(44,110,90,0.11) 1px, transparent 1.3px);
  background-size: 26px 26px;
  background-position: 0 0;
}
body.motif-blueprint .section-teal {
  background-image: radial-gradient(circle, rgba(255, 249, 240, 0.10) 1px, transparent 1.3px);
}
body.motif-blueprint .section-charcoal {
  background-image: radial-gradient(circle, rgba(255, 249, 240, 0.06) 1px, transparent 1.3px);
}
body.motif-blueprint .section-sand {
  background-image: radial-gradient(circle, rgba(44,110,90,0.14) 1px, transparent 1.3px);
}
body.palette-deep.motif-blueprint section {
  background-image: radial-gradient(circle, rgba(30,81,66,0.13) 1px, transparent 1.3px);
}
body.palette-ink.motif-blueprint section {
  background-image: radial-gradient(circle, rgba(20,20,20,0.10) 1px, transparent 1.3px);
}

/* Corner ticks on primary card elements */
body.motif-blueprint .pain-card,
body.motif-blueprint .industry-card,
body.motif-blueprint .hero-form,
body.motif-blueprint .guarantee-card,
body.motif-blueprint .stat-card {
  position: relative;
}
body.motif-blueprint .pain-card::before,
body.motif-blueprint .pain-card::after,
body.motif-blueprint .industry-card::before,
body.motif-blueprint .industry-card::after,
body.motif-blueprint .hero-form::before,
body.motif-blueprint .hero-form::after,
body.motif-blueprint .stat-card::before,
body.motif-blueprint .stat-card::after {
  content: "";
  position: absolute;
  width: 12px; height: 12px;
  border: 2px solid var(--teal);
  pointer-events: none;
  opacity: 0.75;
}
body.motif-blueprint .pain-card::before,
body.motif-blueprint .industry-card::before,
body.motif-blueprint .hero-form::before,
body.motif-blueprint .stat-card::before {
  top: -1px; left: -1px;
  border-right: none; border-bottom: none;
}
body.motif-blueprint .pain-card::after,
body.motif-blueprint .industry-card::after,
body.motif-blueprint .hero-form::after,
body.motif-blueprint .stat-card::after {
  bottom: -1px; right: -1px;
  border-left: none; border-top: none;
}

/* ── Numbered motif: oversized section counters ── */
body.motif-numbered { counter-reset: sectionnum; }
body.motif-numbered .section-head {
  position: relative;
}
body.motif-numbered .section-head::before {
  counter-increment: sectionnum;
  content: counter(sectionnum, decimal-leading-zero);
  display: block;
  font-family: var(--font-sans);
  font-size: clamp(56px, 8vw, 108px);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--teal);
  opacity: 0.14;
  line-height: 0.85;
  margin-bottom: 12px;
}
body.motif-numbered .section-teal .section-head::before { color: var(--amber); opacity: 0.32; }
body.motif-numbered .section-charcoal .section-head::before { color: var(--amber); opacity: 0.28; }
body.motif-numbered .text-center .section-head::before,
body.motif-numbered .section-head.text-center::before { text-align: center; }

/* Ensure .section-head centers the counter when the head itself is centered */
body.motif-numbered .section-head[style*="center"]::before { text-align: center; }

/* ══════════════════════════════════════════════════════════════════════
   BLUEPRINT INDEX — Industries rebuilt as a technical spec list
   ══════════════════════════════════════════════════════════════════════ */
.bp-index {
  border-top: 1.5px solid var(--teal);
  border-bottom: 1.5px solid var(--teal);
  margin-top: 8px;
}
.bp-index-head {
  display: grid;
  grid-template-columns: 64px 40px 1.1fr 2fr 140px 24px;
  gap: 20px;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px dashed var(--teal-15);
  font-family: var(--font-mono, "JetBrains Mono", ui-monospace, monospace);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
  opacity: 0.75;
}
.bp-index-head > span:nth-child(2) { visibility: hidden; }
.bp-index-desc-head { grid-column: 4; }
.bp-index-metric-head { grid-column: 5; text-align: right; }

.bp-row {
  display: grid;
  grid-template-columns: 64px 40px 1.1fr 2fr 140px 24px;
  gap: 20px;
  align-items: center;
  padding: 22px 16px;
  border-bottom: 1px solid var(--teal-15);
  color: var(--charcoal);
  transition: background .18s ease, padding .18s ease;
  position: relative;
}
.bp-row:last-of-type { border-bottom: none; }
.bp-row:hover {
  background: var(--teal);
  color: var(--white);
  padding-left: 24px;
}
.bp-row:hover .bp-id,
.bp-row:hover .bp-name,
.bp-row:hover .bp-desc,
.bp-row:hover .bp-metric,
.bp-row:hover .bp-icon,
.bp-row:hover .bp-arrow { color: var(--white); }
.bp-row:hover .bp-metric { color: var(--amber); }
.bp-row:hover .bp-arrow { transform: translateX(4px); }

.bp-id {
  font-family: var(--font-mono, "JetBrains Mono", ui-monospace, monospace);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--teal);
  opacity: 0.75;
}
.bp-icon {
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.bp-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--teal);
  line-height: 1.15;
}
.bp-desc {
  font-size: 15px;
  line-height: 1.5;
  color: var(--charcoal-70);
}
.bp-metric {
  font-family: var(--font-mono, "JetBrains Mono", ui-monospace, monospace);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--teal);
  text-align: right;
  white-space: nowrap;
}
.bp-arrow {
  font-size: 20px;
  color: var(--teal);
  text-align: right;
  transition: transform .2s ease;
}

/* Type-craft override: switch names to Archivo to match aesthetic */
body.type-craft .bp-name { font-family: "Archivo", sans-serif; font-weight: 700; letter-spacing: -0.025em; }

/* Mobile: collapse the grid into stacked rows */
@media (max-width: 900px) {
  .bp-index-head { display: none; }
  .bp-row {
    grid-template-columns: 48px 1fr auto;
    grid-template-areas:
      "id name arrow"
      ". desc desc"
      ". metric metric";
    row-gap: 6px;
    column-gap: 14px;
    padding: 18px 14px;
  }
  .bp-row:hover { padding-left: 14px; }
  .bp-id { grid-area: id; align-self: start; }
  .bp-icon { display: none; }
  .bp-name { grid-area: name; font-size: 19px; }
  .bp-desc { grid-area: desc; font-size: 14px; }
  .bp-metric { grid-area: metric; text-align: left; }
  .bp-arrow { grid-area: arrow; align-self: start; }
}

/* ══════════════════════════════════════════════════════════════════════
   FORM CONSENT CHECKBOX
   ══════════════════════════════════════════════════════════════════════ */
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  padding: 4px 2px 2px;
  user-select: none;
}
.form-consent input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}
.form-consent .check-box {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--teal);
  border-radius: 4px;
  background: var(--warm-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  margin-top: 1px;
  transition: background .15s ease, border-color .15s ease;
}
.form-consent:hover .check-box { border-color: var(--teal-dark); }
.form-consent input:focus-visible + .check-box {
  box-shadow: 0 0 0 3px rgba(44, 110, 90, 0.22);
}
.form-consent input:checked + .check-box {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}
.form-consent .check-text {
  font-size: 12px;
  line-height: 1.5;
  color: var(--charcoal-70);
}

/* ══════════════════════════════════════════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════════════════════════════════════════ */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--teal-15);
  border-radius: var(--radius-card);
  padding: 28px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  box-shadow: 0 2px 8px rgba(61,61,61,0.05);
}
.testimonial-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--teal-15);
}
.testimonial-id {
  font-family: var(--font-mono, "JetBrains Mono", ui-monospace, monospace);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--teal);
  opacity: 0.7;
}
.testimonial-rating {
  color: var(--amber);
  font-size: 15px;
  letter-spacing: 2px;
}
.testimonial-card blockquote {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--charcoal);
  flex-grow: 1;
}
.testimonial-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 14px;
  border-top: 1px solid var(--teal-15);
}
.testimonial-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: -0.01em;
}
.testimonial-biz {
  font-size: 13px;
  color: var(--charcoal-muted);
}

/* Type-craft: make business names monospace */
body.type-craft .testimonial-biz { font-family: var(--font-mono); letter-spacing: 0.02em; }

@media (max-width: 900px) {
  .testimonial-grid { grid-template-columns: 1fr; gap: 16px; }
  .testimonial-card { padding: 22px; }
}
