﻿:root {
  --ink: #24201f;
  --muted: #6a625b;
  --paper: #fffaf2;
  --soft: #f4eadb;
  --sage: #6f8260;
  --sage-dark: #43593e;
  --gold: #c58a36;
  --sand: #e4c27a;
  --navy: #1c2232;
  --line: rgba(31, 37, 39, 0.14);
  --shadow: 0 18px 52px rgba(31, 37, 39, 0.14);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: .75rem;
  left: .75rem;
  padding: .7rem 1rem;
  color: white;
  background: var(--navy);
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }
.container { width: min(var(--max), calc(100% - 2.5rem)); margin-inline: auto; }
.demo-notice {
  padding: .5rem 1rem;
  color: white;
  background: var(--navy);
  font-size: .9rem;
  text-align: center;
}
.demo-notice a { color: inherit; font-weight: 800; }
.eyebrow {
  margin: 0 0 .65rem;
  color: var(--sage-dark);
  font-size: .79rem;
  font-weight: 800;
  letter-spacing: .11em;
  line-height: 1.3;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(31, 37, 39, .1);
  background: rgba(255, 253, 248, .95);
  backdrop-filter: blur(14px);
}
.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; text-decoration: none; }
.brand img { width: 120px; height: auto; filter: drop-shadow(0 5px 10px rgba(0,0,0,.12)); }
.nav-wrap, .site-nav, .header-actions { display: flex; align-items: center; }
.site-nav { gap: 1.25rem; }
.site-nav a {
  position: relative;
  color: var(--ink);
  font-size: .94rem;
  font-weight: 800;
  text-decoration: none;
}
.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -.55rem;
  left: 0;
  height: 3px;
  border-radius: 2px;
  background: var(--gold);
  content: "";
  opacity: 0;
  transform: scaleX(.45);
  transition: 180ms ease;
}
.site-nav a:hover::after, .site-nav a:focus-visible::after, .site-nav a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}
.header-actions { gap: .65rem; }
.menu-button {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--sage-dark);
  background: var(--paper);
  cursor: pointer;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .72rem 1.1rem;
  border: 2px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--sage-dark); box-shadow: 0 12px 26px rgba(79,104,72,.24); }
.button-primary:hover { background: #40563a; }
.button-light { color: var(--ink); border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.93); }
.button-outline { color: var(--sage-dark); border-color: var(--sage); background: transparent; }
.section-dark .button-outline { color: white; border-color: rgba(255,255,255,.72); }

.hero {
  min-height: min(780px, 82svh);
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: white;
  background: var(--navy);
}
.hero-bg, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg { object-fit: cover; }
.hero-desktop { display: grid; }
.hero-mobile { display: none; }
.hero-desktop .hero-bg { object-position: var(--desktop-image-x, 68%) var(--desktop-image-y, 50%); }
.hero-mobile .hero-bg { object-position: var(--mobile-image-x, 72%) var(--mobile-image-y, 50%); }
.hero-shade { background: linear-gradient(90deg, rgba(28,34,50,.9) 0%, rgba(42,43,38,.72) 38%, rgba(42,43,38,.22) 68%, rgba(42,43,38,.04) 100%); }
.hero-desktop--layout-right .hero-shade { background: linear-gradient(270deg, rgba(28,34,50,.92) 0%, rgba(42,43,38,.74) 38%, rgba(42,43,38,.2) 68%, rgba(42,43,38,.04) 100%); }
.hero-desktop--layout-right .hero-content { margin-left: auto; }
.hero-content { position: relative; z-index: 1; width: min(590px, 52%); padding: 6rem 0; }
.hero h1, .page-hero h1, .section-heading h2, .split-copy h2, .cta-band h2 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.15rem, 5vw, 4.9rem);
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}
.hero h1 { color: white; font-size: clamp(2.1rem, 3.65vw, 3.3rem); }
.hero .eyebrow { color: var(--sand); }
.hero-copy { max-width: 570px; margin: 1.2rem 0 0; color: #3f4946; font-size: clamp(1.05rem, 2vw, 1.22rem); }
.hero .hero-copy { color: rgba(255,255,255,.88); }
.hero-actions, .cta-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.6rem; }

.proof-bar { border-bottom: 1px solid var(--line); background: #fbf4e9; }
.proof-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(195px, 1fr)); gap: 1rem; padding: 1.25rem 0; }
.proof-item { display: flex; gap: .75rem; align-items: flex-start; }
.proof-item svg { flex: 0 0 auto; color: var(--gold); }
.proof-item strong { display: block; color: var(--navy); line-height: 1.2; }
.proof-item span { display: block; color: var(--muted); font-size: .92rem; line-height: 1.35; }

.section { padding: clamp(4.2rem, 8vw, 6.25rem) 0; }
.section-soft { background: var(--soft); }
.section-dark { color: white; background: var(--navy); }
.section-heading { max-width: 760px; margin-bottom: 2rem; }
.section-heading p { color: var(--muted); font-size: 1.08rem; }
.section-dark .eyebrow, .section-dark p { color: rgba(255,255,255,.78); }
.section-dark h2 { color: white; }

.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.card {
  min-height: 100%;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 10px 28px rgba(31,37,39,.07);
}
.card svg { color: var(--gold); }
.card h3 { margin: .75rem 0 .45rem; color: var(--navy); font-size: 1.25rem; line-height: 1.2; }
.card p { margin: 0; color: var(--muted); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--sage-dark);
  font-weight: 800;
  text-decoration: none;
}

.split { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.image-frame { overflow: hidden; border: 10px solid white; border-radius: 8px; box-shadow: var(--shadow); background: white; }
.image-frame img { width: 100%; min-height: 430px; object-fit: cover; object-position: center right; }
.split-copy p { color: var(--muted); }
.check-list { display: grid; gap: .8rem; margin: 1.25rem 0 1.6rem; padding: 0; list-style: none; }
.check-list li { display: flex; gap: .65rem; align-items: flex-start; }
.check-list svg { flex: 0 0 auto; color: var(--sage-dark); margin-top: .18rem; }

.page-hero { padding: 5.2rem 0 3.5rem; color: white; background: linear-gradient(135deg, var(--navy), #3d4f39); border-bottom: 1px solid var(--line); }
.page-hero h1 { color: white; }
.page-hero .eyebrow { color: var(--sand); }
.page-hero .hero-copy { color: rgba(255,255,255,.86); }
.page-hero .hero-copy { max-width: 760px; }
.steps { counter-reset: step; display: grid; gap: 1rem; }
.step {
  position: relative;
  padding: 1.4rem 1.4rem 1.4rem 4.4rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--sage-dark);
  font-weight: 800;
}
.step h3 { margin: 0 0 .35rem; color: var(--navy); }
.step p { margin: 0; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 1rem; align-items: start; }
.contact-panel { padding: 1.4rem; border-radius: 8px; background: white; border: 1px solid var(--line); }
.contact-list { display: grid; gap: .85rem; margin: 0; padding: 0; list-style: none; }
.contact-list a { color: var(--sage-dark); font-weight: 800; }
.contact-list li { display: flex; gap: .65rem; align-items: flex-start; }
.contact-list svg { color: var(--gold); flex: 0 0 auto; margin-top: .2rem; }
.form-note { color: var(--muted); }

.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-band p { max-width: 650px; }
.site-footer { padding: 3rem 0 5rem; color: rgba(255,255,255,.75); background: #101826; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .9fr; gap: 2rem; }
.footer-brand img { width: 150px; margin-bottom: 1rem; }
.footer-title { margin: 0 0 .8rem; color: white; font-size: 1rem; }
.footer-links, .footer-contact { display: grid; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.footer-links a, .footer-contact a { color: white; text-decoration: none; }
.footer-bottom { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.14); font-size: .9rem; }
.mobile-call-bar { display: none; }

@media (max-width: 980px) {
  .header-inner { min-height: 64px; }
  .brand img { width: 106px; }
  .nav-wrap {
    position: fixed;
    inset: 64px 0 auto 0;
    display: none;
    padding: 1rem 1.25rem 1.5rem;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: var(--shadow);
  }
  .nav-wrap[data-open="true"] { display: block; }
  .site-nav { display: grid; gap: .3rem; }
  .site-nav a { padding: .8rem 0; }
  .menu-button { display: inline-grid; }
  .header-actions .button { display: none; }
  .proof-grid, .cards-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .hero { min-height: 690px; align-items: end; }
  .hero-shade { background: linear-gradient(0deg, rgba(28,34,50,.93) 0%, rgba(28,34,50,.72) 42%, rgba(28,34,50,.12) 100%); }
  .hero-content { width: min(650px, 68%); padding: 5.25rem 0; }
  .cta-band { display: block; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 1.25rem, var(--max)); }
  body { padding-bottom: 68px; }
  .hero-desktop { display: none; }
  .hero-mobile { min-height: 620px; display: grid; align-items: end; }
  .hero-mobile--layout-top { align-items: start; }
  .hero-mobile--layout-center { align-items: center; }
  .hero-mobile--layout-bottom { align-items: end; }
  .hero-mobile .hero-shade { background: linear-gradient(0deg, rgba(28,34,50,.95) 0%, rgba(28,34,50,.8) 38%, rgba(28,34,50,.28) 66%, rgba(28,34,50,.08) 100%); }
  .hero-mobile .hero-content { width: 100%; padding: 4.5rem 0 5.25rem; }
  .hero-mobile h1 { max-width: 13ch; font-size: clamp(1.58rem, 7vw, 2.17rem); line-height: 1; }
  .hero-mobile--title-compact h1 { font-size: clamp(1.4rem, 6.2vw, 1.93rem); }
  .hero-mobile--title-condensed h1 { font-size: clamp(1.23rem, 5.45vw, 1.68rem); }
  .hero-mobile .hero-copy { max-width: 38rem; font-size: 1rem; line-height: 1.5; }
  .page-hero h1 { font-size: clamp(2rem, 12vw, 3.2rem); }
  .page-hero .hero-copy { font-size: 1rem; line-height: 1.52; }
  .button { width: 100%; }
  .section { padding: 3.8rem 0; }
  .page-hero { padding: 4rem 0 3.2rem; }
  .proof-grid, .cards-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .image-frame img { min-height: 310px; }
  .mobile-call-bar {
    position: fixed;
    z-index: 120;
    right: .65rem;
    bottom: .65rem;
    left: .65rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    border-radius: 8px;
    padding: .5rem;
    background: rgba(28,34,50,.94);
    box-shadow: var(--shadow);
    gap: .5rem;
  }
  .mobile-call-bar a {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    color: white;
    border-radius: 6px;
    background: var(--sage-dark);
    font-weight: 800;
    text-decoration: none;
  }
  .mobile-call-bar a + a { background: var(--gold); color: var(--ink); }
}

