/* ============================================================================
   RED FEATHER — section & component layout (paired with redfeather.css)
   ========================================================================== */

/* ===================== NAV ===================== */
.nav { position: sticky; top: 0; z-index: 50; background: oklch(98.4% 0.010 84 / 0.74); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s ease, background .2s ease; }
.nav-scrolled { border-bottom-color: var(--border); background: oklch(98.4% 0.010 84 / 0.88); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 70px; }
.nav-inner > .brand { flex: 1 1 0; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { width: 40px; height: auto; display: block; }
.nav-inner .brand-mark { width: 56px; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: -0.01em; color: var(--fg); line-height: 1; white-space: nowrap; }
.brand-sub { display: block; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-subtle); margin-top: 3px; }
.nav-links { display: flex; gap: 28px; }
.nav-link { position: relative; font-size: var(--text-sm); color: var(--fg-muted); transition: color .15s ease; padding: 4px 0; white-space: nowrap; }
.nav-link:hover { color: var(--fg); }
.nav-link.active { color: var(--fg); }
.nav-link.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -24px; height: 2px; background: var(--signal); }
.nav-right { flex: 1 1 0; display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.nav-phone { font-family: var(--font-mono); font-size: var(--text-base); font-weight: 600; color: var(--fg); white-space: nowrap; transition: color .15s ease; }
.nav-phone:hover { color: var(--fg); }
.nav-burger { display: none; padding: 6px; color: var(--fg); border-radius: var(--radius-sm); }
.nav-sheet { position: fixed; inset: 0; z-index: 60; background: var(--ink); color: var(--paper); display: none; flex-direction: column; padding: 16px var(--gutter); }
.nav-sheet.open { display: flex; }
.nav-sheet-top { display: flex; align-items: center; justify-content: space-between; height: 50px; }
.nav-sheet-top .brand-name, .nav-sheet-top .nav-burger { color: var(--paper); }
.nav-sheet-links { display: flex; flex-direction: column; gap: 2px; margin-top: 36px; }
.nav-sheet-link { font-family: var(--font-display); font-weight: 500; font-size: 30px; letter-spacing: -0.01em; color: var(--paper); padding: 14px 0; border-bottom: 1px solid oklch(100% 0 0 / 0.08); }
.nav-sheet-cta { margin-top: 28px; }
/* Switch to the mobile burger before the full nav runs out of room. The desktop
   lockup + links + CTA need ~1000px of inner width; below ~1160px viewport the
   brand text would otherwise fold and collide with the links, so we hand off to
   the mobile sheet at that point instead. */
@media (max-width: 1160px) {
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
}
/* The phone number stays visible at every width (it's a tel: link, so it's
   tap-to-call on touch devices). On phones we just render it smaller. */
/* Header CTA label: full text by default, shortened on phones (see below). */
.cta-label-short { display: none; }
@media (max-width: 640px) {
  /* The brand monogram must never be flex-crushed out of the row. */
  .nav-inner { gap: 12px; }
  .nav-inner > .brand { flex: 0 0 auto; }
  /* Breathing room between the phone number and the CTA so a thumb aiming
     for one doesn't land on the other. */
  .nav-phone { font-size: var(--text-sm); margin-right: 8px; }
  .nav-right { gap: 10px; }
  /* Bigger touch target: 22px icon (+40%) inside 10px padding = 42×42px hit
     area, and extra margin keeps it clear of the CTA button. */
  .nav-burger { padding: 10px; margin-left: 6px; }
  .nav-burger .lucide { width: 22px; height: 22px; }
  /* "Get started" → "Start" so everything fits at 375px. */
  .cta-label-full { display: none; }
  .cta-label-short { display: inline; }
}

/* ===================== HERO ===================== */
.hero { padding-top: clamp(40px, 6vw, 76px); padding-bottom: clamp(48px, 7vw, 96px); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.hero-eyebrow { margin-bottom: 26px; }
.hero h1 { font-size: var(--text-5xl); line-height: 1.0; letter-spacing: -0.02em; margin-bottom: 26px; }
.hero h1 .accent { display: inline; }
.hero-lead { max-width: 50ch; margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 38px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; padding-top: 26px; border-top: 1px solid var(--border); }
.hero-trust-item { display: inline-flex; align-items: center; gap: 9px; font-size: var(--text-sm); color: var(--fg-muted); }
.hero-trust-item .ic { width: 17px; height: 17px; color: var(--signal); }
.hero-media { position: relative; margin-top: 38px; }
.hero-media image-slot { width: 100%; height: auto; aspect-ratio: 4 / 5; border: 1px solid var(--border); box-shadow: var(--shadow-md); }
.hero-badge {
  position: absolute; left: -18px; bottom: 26px; background: var(--paper); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 16px 18px; display: flex; align-items: center; gap: 13px; max-width: 270px;
}
.hero-badge .hb-mark { width: 34px; height: 34px; flex-shrink: 0; object-fit: contain; }
.hero-badge .hb-title { font-family: var(--font-display); font-weight: 600; font-size: 15px; line-height: 1.2; }
.hero-badge .hb-sub { font-size: 12.5px; color: var(--fg-muted); line-height: 1.4; margin-top: 2px; }
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { max-width: 460px; margin-top: 0; }
  .hero-media image-slot { height: auto; aspect-ratio: 16 / 11; }
  .hero-badge { left: auto; right: 18px; }
}

/* ===================== SECTION HEAD ===================== */
.sec-head { max-width: 740px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head .eyebrow { margin-bottom: 20px; }
.sec-head h2 { margin-bottom: 18px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }

/* ===================== PROBLEM ===================== */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.problem-card { padding: var(--space-6); display: flex; flex-direction: column; gap: 14px; }
.problem-ic { width: 44px; height: 44px; border-radius: var(--radius-md); border: 1px solid var(--signal-border); background: var(--signal-weak); color: var(--signal); display: grid; place-items: center; }
.problem-ic .ic { width: 21px; height: 21px; }
.problem-card h3 { font-family: var(--font-display); font-weight: 600; font-size: var(--text-xl); letter-spacing: -0.01em; }
.problem-card p { color: var(--fg-muted); font-size: var(--text-sm); margin: 0; line-height: 1.6; }
@media (max-width: 860px) { .problem-grid { grid-template-columns: 1fr; } }

/* ===================== WHY (differentiators) ===================== */
.why-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; }
.why-feature { grid-row: span 2; padding: clamp(28px, 3.4vw, 44px); display: flex; flex-direction: column; background: var(--ink); color: var(--paper); border-color: transparent; position: relative; overflow: hidden; }
.why-feature .eyebrow { color: var(--n-400); margin-bottom: 22px; }
.why-feature h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.08; letter-spacing: -0.015em; color: var(--paper); margin-bottom: 20px; }
.why-feature h3 em { font-style: italic; color: oklch(72% 0.18 30); }
.why-feature p { color: var(--n-300); font-size: var(--text-base); line-height: 1.65; margin: 0 0 26px; max-width: 46ch; }
.why-local-list { display: grid; gap: 12px; margin-top: auto; }
.why-local-item { display: flex; gap: 12px; align-items: flex-start; font-size: var(--text-sm); color: var(--n-200); line-height: 1.5; }
.why-local-item .ic { width: 17px; height: 17px; color: oklch(70% 0.2 30); flex-shrink: 0; margin-top: 2px; }
.why-card { padding: clamp(24px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 13px; }
.why-card .why-ic { width: 40px; height: 40px; border-radius: var(--radius-md); border: 1px solid var(--border); background: var(--paper-2); color: var(--signal); display: grid; place-items: center; }
.why-card .why-ic .ic { width: 20px; height: 20px; }
.why-card h3 { font-family: var(--font-display); font-weight: 600; font-size: var(--text-xl); letter-spacing: -0.01em; }
.why-card p { color: var(--fg-muted); font-size: var(--text-sm); margin: 0; line-height: 1.6; }
@media (max-width: 880px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-feature { grid-row: auto; }
}

/* ===================== SERVICES ===================== */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.svc { background: var(--bg); padding: clamp(26px, 2.8vw, 38px); display: flex; flex-direction: column; gap: 18px; transition: background .16s ease; }
.svc:hover { background: var(--paper-2); }
.svc-top { display: flex; align-items: center; justify-content: space-between; }
.svc-num { font-family: var(--font-mono); font-size: var(--text-eyebrow); letter-spacing: .12em; color: var(--fg-faint); }
.svc-ic { color: var(--signal); }
.svc-ic .ic { width: 26px; height: 26px; }
.svc h3 { font-family: var(--font-display); font-weight: 600; font-size: var(--text-2xl); letter-spacing: -0.015em; }
.svc-desc { color: var(--fg-muted); font-size: var(--text-sm); line-height: 1.6; margin: 0; }
.svc-list { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 9px; }
.svc-list li { display: flex; gap: 10px; align-items: flex-start; font-size: var(--text-sm); color: var(--fg); line-height: 1.45; }
.svc-list .ic { width: 16px; height: 16px; color: var(--signal); flex-shrink: 0; margin-top: 3px; }
.svc-link { margin-top: auto; padding-top: 6px; }
@media (max-width: 880px) { .svc-grid { grid-template-columns: 1fr; } }

/* ===================== INCLUDED BAR ===================== */
.included { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.included-chip { display: inline-flex; align-items: center; gap: 9px; font-size: var(--text-sm); color: var(--fg-muted); border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 8px 15px; background: var(--paper-2); }
.included-chip .ic { width: 15px; height: 15px; color: var(--signal); }

/* ===================== PROCESS ===================== */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); position: relative; }
.step { display: flex; flex-direction: column; gap: 14px; position: relative; }
.step-n { font-family: var(--font-mono); font-size: var(--text-sm); font-weight: 500; color: var(--signal); letter-spacing: .1em; display: flex; align-items: center; gap: 12px; }
.step-n::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.step h3 { font-family: var(--font-display); font-weight: 600; font-size: var(--text-xl); letter-spacing: -0.01em; }
.step p { color: var(--fg-muted); font-size: var(--text-sm); margin: 0; line-height: 1.6; }
@media (max-width: 860px) { .process-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ===================== PROBLEM → SOLUTION ===================== */
.ps-wrap { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.ps-row { display: grid; grid-template-columns: 1fr 1.15fr; border-top: 1px solid var(--border); }
.ps-row:first-child { border-top: none; }
.ps-head { background: var(--ink); }
.ps-head .ps-cell { color: var(--n-300); font-family: var(--font-mono); font-size: var(--text-eyebrow); letter-spacing: .14em; text-transform: uppercase; padding-block: 16px; }
.ps-head .ps-cell:first-child { color: var(--n-400); }
.ps-cell { padding: 20px clamp(18px, 2.4vw, 30px); }
.ps-problem { color: var(--fg-muted); font-size: var(--text-sm); line-height: 1.5; border-right: 1px solid var(--border); display: flex; align-items: center; gap: 11px; }
.ps-problem .ic { width: 16px; height: 16px; color: var(--fg-faint); flex-shrink: 0; }
.ps-solution { font-size: var(--text-sm); color: var(--fg); line-height: 1.5; display: flex; align-items: center; gap: 11px; background: var(--bg); }
.ps-solution .ic { width: 16px; height: 16px; color: var(--signal); flex-shrink: 0; }
.ps-head .ps-cell:first-child { border-right: 1px solid oklch(100% 0 0 / 0.1); }
@media (max-width: 720px) {
  .ps-row { grid-template-columns: 1fr; }
  .ps-problem { border-right: none; border-bottom: 1px solid var(--border-faint); }
  .ps-head { display: none; }
}

/* ===================== ABOUT ===================== */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 68px); align-items: center; }
.about-media { position: relative; }
.about-media image-slot { width: 100%; height: auto; aspect-ratio: 4 / 5; border: 1px solid var(--border); box-shadow: var(--shadow-md); }
.about-sig { font-family: var(--font-display); font-style: italic; font-size: 26px; color: var(--fg); margin-top: 18px; }
.about-body h2 { margin-bottom: 22px; }
.about-body p { color: var(--fg-muted); font-size: var(--text-lg); line-height: 1.65; margin: 0 0 18px; }
.about-body p strong { color: var(--fg); font-weight: 600; }
.hope { margin-top: 26px; padding: 22px 24px; border: 1px solid var(--border); border-left: 3px solid var(--signal); border-radius: var(--radius-md); background: var(--paper-2); }
.hope .eyebrow { margin-bottom: 8px; }
.hope p { font-family: var(--font-display); font-style: italic; font-size: var(--text-lg); color: var(--fg); margin: 0; line-height: 1.4; }
@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-media { max-width: 380px; }
}

/* ===================== TESTIMONIALS ===================== */
.quotes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { padding: clamp(24px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 20px; }
.quote-mark { font-family: var(--font-display); font-size: 46px; line-height: 0.6; color: var(--signal); height: 22px; }
.quote p { font-family: var(--font-display); font-size: var(--text-lg); line-height: 1.45; color: var(--fg); margin: 0; flex: 1; }
.quote-by { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--border-faint); }
.quote-by image-slot { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; }
.quote-name { font-size: var(--text-sm); font-weight: 600; color: var(--fg); }
.quote-role { font-size: 12.5px; color: var(--fg-subtle); }
@media (max-width: 880px) { .quotes-grid { grid-template-columns: 1fr; } }

/* ===================== FAQ ===================== */
.faq-wrap { max-width: 860px; }
.faq-item { border-top: 1px solid var(--border); }
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; text-align: left; padding: 26px 4px; font-family: var(--font-display); font-weight: 500; font-size: var(--text-xl); letter-spacing: -0.01em; color: var(--fg); }
.faq-q .faq-ic { width: 44px; height: 44px; color: var(--signal); flex-shrink: 0; transition: transform .25s ease; }
.faq-item.open .faq-q .faq-ic { transform: rotate(45deg); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 4px 26px; color: var(--fg-muted); font-size: var(--text-base); line-height: 1.65; max-width: 64ch; }
.faq-a-inner strong { color: var(--fg); font-weight: 600; }

/* ===================== CONTACT ===================== */
.contact { background: var(--ink); color: var(--paper); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.contact-intro .eyebrow { margin-bottom: 20px; }
.contact-intro h2 { color: var(--paper); margin-bottom: 18px; }
.contact-intro .lead { color: var(--n-300); margin-bottom: 32px; }
.contact-promise { display: grid; gap: 14px; margin-top: 30px; padding-top: 28px; border-top: 1px solid oklch(100% 0 0 / 0.1); }
.cp-item { display: flex; gap: 13px; align-items: flex-start; }
.cp-item .ic { width: 20px; height: 20px; color: oklch(70% 0.2 30); flex-shrink: 0; margin-top: 1px; }
.cp-item .cp-t { font-size: var(--text-sm); font-weight: 600; color: var(--paper); }
.cp-item .cp-d { font-size: var(--text-sm); color: var(--n-300); line-height: 1.5; }
.form-card { background: var(--paper); color: var(--fg); border-radius: var(--radius-xl); padding: clamp(24px, 3vw, 38px); box-shadow: var(--shadow-lg); }
.form-card .fc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.form-card .fc-title { font-family: var(--font-display); font-weight: 600; font-size: var(--text-xl); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .span-2 { grid-column: 1 / -1; }
.form-card .btn-primary { width: 100%; margin-top: 22px; }
.form-foot { margin-top: 16px; font-size: 12.5px; color: var(--fg-subtle); text-align: center; line-height: 1.5; }
.form-success { display: none; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 30px 10px; }
.form-success.show { display: flex; }
.form-success .fs-ic { width: 54px; height: 54px; border-radius: 50%; background: var(--signal-weak); color: var(--signal); display: grid; place-items: center; }
.form-success .fs-ic .ic { width: 26px; height: 26px; }
.form-success h3 { font-family: var(--font-display); font-weight: 600; font-size: var(--text-2xl); }
@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-grid { grid-template-columns: 1fr; }
}

/* ===================== FOOTER ===================== */
.footer { background: var(--ink); color: var(--paper); padding-top: clamp(56px, 8vw, 100px); padding-bottom: 36px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 2fr; gap: 56px; padding-bottom: 48px; border-bottom: 1px solid oklch(100% 0 0 / 0.1); }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.footer-brand .brand-name { color: var(--paper); }
.footer-tag { font-size: var(--text-sm); line-height: 1.6; margin: 0; max-width: 36ch; color: var(--n-300); }
.footer-hope { font-family: var(--font-mono); font-size: var(--text-eyebrow); letter-spacing: .14em; text-transform: uppercase; color: oklch(70% 0.2 30); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col { display: flex; flex-direction: column; gap: 13px; }
.footer-col .eyebrow { margin-bottom: 5px; color: var(--n-500); }
.footer-col a, .footer-col span { font-size: var(--text-sm); color: var(--n-300); transition: color .15s ease; width: fit-content; }
.footer-col a:hover { color: var(--paper); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px 28px; flex-wrap: wrap; padding-top: 28px; font-size: var(--text-eyebrow); color: var(--n-500); letter-spacing: .03em; font-family: var(--font-mono); }
.footer-bottom a { color: var(--n-400); }
.footer-bottom a:hover { color: var(--paper); }
@media (max-width: 880px) {
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 560px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
