/* ==========================================================
   BeauFocus Bookkeeping — editorial light (LexEdge structure)
   Brand colors sampled from the BeauFocus logo mark
   ========================================================== */

:root {
  --cream: #f6f3ec;
  --sand: #ebe5d9;
  --sand-2: #e2dbcc;
  --paper: #fffdf8;
  --navy: #06212f;
  --navy-2: #0c3043;
  --ocean: #0096de;
  --ocean-text: #006fa6;
  --aqua: #0ce7fb;
  --ink: #06212f;
  --ink-soft: rgba(6, 33, 47, 0.74);
  --ink-line: rgba(6, 33, 47, 0.14);
  --cream-soft: rgba(246, 243, 236, 0.76);
  --cream-line: rgba(246, 243, 236, 0.16);

  --serif: "Libre Caslon Condensed", "Libre Caslon Text", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: 32px;
  --maxw: 1320px;
  --header-h: 76px;

  --r-btn: 8px;
  --r-pill: 6px;
  --r-card: 8px;
  --r-panel: 10px;
  --r-input: 6px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --shadow-card: 0 18px 40px -18px rgba(6, 33, 47, 0.28), 0 2px 6px rgba(6, 33, 47, 0.06);
}

/* ---------- fonts (Libre Caslon Condensed, SIL OFL 1.1, self-hosted) ---------- */
@font-face {
  font-family: "Libre Caslon Condensed";
  src: url("fonts/libre-caslon-condensed-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libre Caslon Condensed";
  src: url("fonts/libre-caslon-condensed-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
html.has-smoothscroll { scroll-behavior: auto !important; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; transition-delay: 0s !important; animation-duration: 0.01ms !important; animation-delay: 0s !important; }
}

section[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--ocean); color: var(--navy); }

:focus-visible {
  outline: 3px solid var(--ocean-text);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-dark :focus-visible, .services :focus-visible, .contact-block :focus-visible, .statement :focus-visible, .final-cta :focus-visible {
  outline-color: var(--aqua);
}
.lead-form :focus-visible { outline-color: var(--ocean-text); }

.container {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--navy);
  color: var(--cream);
  border-radius: var(--r-btn);
  font-weight: 600;
  text-decoration: none;
  transition: top 160ms var(--ease-out);
}
.skip-link:focus { top: 12px; }
main:focus { outline: none; }

/* ---------- type ---------- */
.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 4.2vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.section-title em, .hero-title em, .statement-title em, .final-title em {
  font-style: italic;
}
.section-title em { display: block; color: var(--ocean-text); text-wrap: balance; }
.section-title.on-dark { color: var(--cream); }
.section-title.on-dark em { color: var(--aqua); }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.section-lede {
  margin-top: 20px;
  max-width: 560px;
  color: var(--ink-soft);
  font-size: 18px;
}
.section-lede.on-dark { color: var(--cream-soft); }

.eyebrow {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.eyebrow-dot {
  width: 8px;
  height: 8px;
  margin-top: 5px;
  border-radius: 2px;
  background: var(--ocean);
  flex: none;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: var(--r-btn);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, box-shadow 200ms ease, transform 160ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn-sm { min-height: 48px; padding: 12px 20px; font-size: 15px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--navy); color: var(--cream); }
.btn-outline { background: transparent; color: var(--ink); border-color: rgba(6, 33, 47, 0.4); }
.btn-accent { background: var(--ocean); color: var(--navy); }
.btn-light { background: var(--cream); color: var(--navy); }

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--navy-2); box-shadow: 0 10px 24px -12px rgba(6, 33, 47, 0.6); }
  .btn-outline:hover { background: var(--paper); border-color: var(--navy); }
  .btn-accent:hover { background: #22a9ea; box-shadow: 0 10px 26px -12px rgba(0, 150, 222, 0.8); }
  .btn-light:hover { background: var(--paper); box-shadow: 0 10px 26px -12px rgba(0, 0, 0, 0.5); }
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  transition: background-color 240ms ease, box-shadow 240ms ease;
}
.site-header.is-scrolled, .site-header.menu-open {
  background: rgba(246, 243, 236, 0.92);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  box-shadow: 0 1px 0 var(--ink-line);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-height: 48px;
  flex: none;
}
.brand img { width: 40px; height: 40px; }
.brand-name {
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand-sub { font-style: italic; color: var(--ocean-text); }

.nav { margin-left: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a:not(.btn) {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  border-radius: var(--r-pill);
  transition: background-color 160ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .nav-links a:not(.btn):hover { background: rgba(6, 33, 47, 0.06); }
}
.nav-cta-mobile { display: none; }
.nav-toggle { display: none; }

/* ---------- hero ---------- */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  padding: calc(var(--header-h) + 12px) 0 28px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(320px, 30vw, 470px);
  gap: clamp(32px, 4vw, 72px);
  align-items: stretch;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: 20px 0 4px;
  container-type: inline-size;
}
.hero-title {
  margin-top: 26px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 10.3cqi, 112px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.hero-line { display: block; white-space: nowrap; }
.hero-title em { color: var(--ocean-text); }
.hero-sub {
  margin-top: 26px;
  max-width: 520px;
  font-size: 19px;
  color: var(--ink-soft);
}
.hero-top, .hero-bottom { display: flex; flex-direction: column; align-items: flex-start; }
.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-services {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--ink-line);
  align-self: stretch;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}
.hero-services li { display: inline-flex; align-items: center; gap: 8px; }
.hero-services li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--ocean);
}

.hero-media {
  position: relative;
  min-height: 0;
  height: calc(100svh - var(--header-h) - 40px);
  max-height: 900px;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% 30%;
  border-radius: var(--r-panel);
}
.hero-card {
  position: absolute;
  left: -48px;
  bottom: 36px;
  width: 320px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: var(--paper);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
}
.hero-card img { width: 44px; height: 44px; flex: none; }
.hero-card-title { font-weight: 600; font-size: 15px; line-height: 1.3; }
.hero-card-text { margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--ink-soft); }

@media (max-height: 820px) and (min-width: 961px) {
  .hero-title { font-size: clamp(40px, min(10.3cqi, 12vh), 112px); margin-top: 18px; }
  .hero-sub { margin-top: 18px; font-size: 17px; }
  .hero-actions { margin-top: 24px; }
  .hero-services { margin-top: 24px; }
}
@media (max-height: 700px) and (min-width: 961px) {
  .hero-services { display: none; }
}

/* ---------- generic sections ---------- */
.section { padding: clamp(88px, 11vw, 150px) 0; }

/* ---------- problem ---------- */
.problem { background: var(--cream); }
.problem .section-lede { text-align: center; }
.problem-list {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 64px;
  border-top: 1px solid var(--ink-line);
}
.problem-item {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--ink-line);
}
.problem-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.1;
}
.problem-item p { color: var(--ink-soft); }

/* ---------- services ---------- */
.services {
  background: var(--navy);
  color: var(--cream);
}
.services-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}
.services-head .section-title { flex: 1 1 auto; }
.services-head .section-lede { margin-top: 0; max-width: 400px; flex: 0 1 400px; }
.tabs {
  margin-top: 56px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tab {
  min-height: 48px;
  padding: 10px 20px;
  border: 1px solid var(--cream-line);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--cream);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 160ms var(--ease-out);
}
.tab:active { transform: scale(0.97); }
.tab[aria-selected="true"] { background: var(--ocean); border-color: var(--ocean); color: var(--navy); font-weight: 600; }
@media (hover: hover) and (pointer: fine) {
  .tab[aria-selected="false"]:hover { border-color: rgba(246, 243, 236, 0.5); }
}
.panels { margin-top: 20px; }
.panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 48px;
  padding: clamp(32px, 4vw, 56px);
  border-radius: var(--r-panel);
  background: var(--navy-2);
  border: 1px solid var(--cream-line);
  animation: panel-in 320ms var(--ease-out);
}
.panel[hidden] { display: none; }
@keyframes panel-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
.panel-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1.05;
}
.panel-copy p { margin-top: 16px; max-width: 460px; color: var(--cream-soft); }
.panel-copy .btn { margin-top: 32px; }
.panel-list { align-self: center; border-top: 1px solid var(--cream-line); }
.panel-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--cream-line);
  font-size: 17px;
}
.panel-list li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 9px;
  border-radius: 2px;
  background: var(--aqua);
}

/* ---------- process ---------- */
.process { background: var(--sand); }
.steps {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  counter-reset: none;
}
.step {
  display: flex;
  flex-direction: column;
  padding: 36px 32px 40px;
  min-height: 320px;
  background: var(--paper);
  border-radius: var(--r-card);
}
.step-num {
  font-family: var(--serif);
  font-size: 48px;
  line-height: 1;
  color: var(--ocean-text);
}
.step-title {
  margin-top: 72px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.1;
}
.step p { margin-top: 12px; color: var(--ink-soft); }

/* ---------- why ---------- */
.why { background: var(--cream); }
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.why-sticky {
  position: sticky;
  top: calc(var(--header-h) + 40px);
}
.why-index {
  margin: 36px 0 36px;
  border-top: 1px solid var(--ink-line);
}
.why-index a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  border-bottom: 1px solid var(--ink-line);
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  transition: color 160ms ease;
}
.why-index a::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
  margin-right: 4px;
  transition: transform 200ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .why-index a:hover { color: var(--ocean-text); }
  .why-index a:hover::after { transform: translateX(3px) rotate(-45deg); }
}
.why-stack { display: grid; gap: 20px; }
.why-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  padding: 12px;
  background: var(--paper);
  border-radius: var(--r-panel);
  scroll-margin-top: calc(var(--header-h) + 40px);
}
.why-row img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-card);
}
.why-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px 12px 12px 4px;
}
.why-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.08;
}
.why-body p { margin-top: 12px; color: var(--ink-soft); }

/* ---------- statement ---------- */
.statement {
  background: var(--navy);
  color: var(--cream);
  padding: clamp(88px, 10vw, 140px) 0;
}
.statement-inner { text-align: center; }
.statement-mark { width: 64px; height: 64px; margin: 0 auto 36px; }
.statement-title {
  max-width: 1040px;
  margin: 0 auto;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.12;
}
.statement-title em { color: var(--aqua); }

/* ---------- about ---------- */
.about { background: var(--cream); }
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.about-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-panel);
}
.about-copy .section-title { margin-bottom: 28px; }
.about-copy p { max-width: 560px; color: var(--ink-soft); }
.about-copy p + p { margin-top: 16px; }
.about-facts {
  margin: 40px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  border-top: 1px solid var(--ink-line);
  padding-top: 24px;
}
.about-facts dt {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ocean-text);
}
.about-facts dd { margin: 6px 0 0; font-size: 16px; font-weight: 500; }

/* ---------- faq ---------- */
.faq { background: var(--sand); }
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.faq-card {
  margin-top: 40px;
  padding: 28px;
  background: var(--paper);
  border-radius: var(--r-card);
}
.faq-card-title { font-family: var(--serif); font-size: 28px; line-height: 1.1; }
.faq-card p:not(.faq-card-title) { margin-top: 8px; color: var(--ink-soft); }
.faq-card .btn { margin-top: 22px; }

.accordion { display: grid; gap: 10px; }
.acc-item {
  background: var(--paper);
  border-radius: var(--r-card);
}
.acc-heading { font: inherit; }
.acc-trigger {
  width: 100%;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 24px;
  border: 0;
  background: transparent;
  border-radius: var(--r-card);
  text-align: left;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
}
.acc-icon {
  position: relative;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: var(--r-pill);
  background: var(--cream);
  transition: background-color 200ms ease;
}
.acc-icon::before, .acc-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1.5px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 240ms var(--ease-out), background-color 200ms ease;
}
.acc-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-item.is-open .acc-icon { background: var(--navy); }
.acc-item.is-open .acc-icon::before, .acc-item.is-open .acc-icon::after { background: var(--cream); }
.acc-item.is-open .acc-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 260ms var(--ease-out);
}
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-inner { overflow: hidden; }
.acc-inner p { padding: 0 24px 24px; max-width: 640px; color: var(--ink-soft); }
.acc-inner { visibility: hidden; transition: visibility 0s 260ms; }
.acc-item.is-open .acc-inner { visibility: visible; transition: visibility 0s; }

/* ---------- contact ---------- */
.contact { background: var(--cream); }
.contact-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  padding: clamp(32px, 5vw, 72px);
  border-radius: var(--r-panel);
  background: var(--navy);
  color: var(--cream);
}
.contact-lede { margin-top: 20px; max-width: 460px; color: var(--cream-soft); font-size: 18px; }
.check-list { margin-top: 28px; display: grid; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; }
.check-list li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 10px;
  margin-top: 5px;
  border-left: 2px solid var(--aqua);
  border-bottom: 2px solid var(--aqua);
  transform: rotate(-45deg) scale(0.8);
}
.contact-img {
  margin-top: 40px;
  width: 100%;
  max-width: 460px;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: 50% 35%;
  border-radius: var(--r-card);
}

.lead-form {
  align-self: start;
  padding: clamp(24px, 3vw, 40px);
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--r-card);
}
.form-title { font-family: var(--serif); font-size: 32px; line-height: 1.1; }
.form-note { margin-top: 6px; font-size: 14px; color: var(--ink-soft); }
.field { margin-top: 20px; }
.field > label, .checks legend {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 600;
}
.req { font-weight: 500; color: var(--ink-soft); }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid rgba(6, 33, 47, 0.42);
  border-radius: var(--r-input);
  background: #fff;
  font-size: 16px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none;
  border-color: var(--ocean-text);
  box-shadow: 0 0 0 3px rgba(0, 111, 166, 0.35);
}
.field input[aria-invalid="true"] { border-color: #b3261e; }
.field-error { margin-top: 6px; font-size: 14px; font-weight: 500; color: #b3261e; }
.checks { border: 0; padding: 0; margin-left: 0; margin-right: 0; }
.checks legend { padding: 0; }
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  font-size: 16px;
  cursor: pointer;
}
.checks .check { display: flex; margin: 0; font-weight: 400; font-size: 16px; }
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--navy); }
.lead-form .btn { margin-top: 28px; }
.form-status { margin-top: 14px; font-weight: 500; color: #1d6b3a; }
.form-status:empty { display: none; }

/* ---------- final cta ---------- */
.final-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy);
  color: var(--cream);
  padding: clamp(104px, 12vw, 168px) 0;
}
.final-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.final-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
  opacity: 0.7;
  filter: grayscale(1) contrast(0.95);
}
.final-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 65% at 50% 50%, rgba(6, 33, 47, 0.55), rgba(6, 33, 47, 0) 100%),
    linear-gradient(180deg, rgba(6, 33, 47, 0.62), rgba(4, 52, 84, 0.66));
}
.final-inner { position: relative; text-align: center; }
.final-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.06;
}
.final-title em { display: block; color: var(--aqua); }
.final-inner .btn { margin-top: 36px; background: var(--cream); color: var(--navy); }
@media (hover: hover) and (pointer: fine) {
  .final-inner .btn:hover { background: var(--paper); }
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--ink-line);
  padding: 48px 0 40px;
}
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 16px 40px;
}
.footer-line { justify-self: end; font-size: 15px; color: var(--ink-soft); }
.footer-meta {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--ink-line);
  font-size: 14px;
  color: var(--ink-soft);
}
.footer-meta a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin: -14px 0;
  font-weight: 600;
  color: var(--ink);
  text-underline-offset: 4px;
}

/* ---------- motion: hero entrance (plays once on load) ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(28px); filter: blur(8px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes unveil {
  from { clip-path: inset(100% 0 0 0 round var(--r-panel)); }
  to { clip-path: inset(0 0 0 0 round var(--r-panel)); }
}
@keyframes settle {
  from { transform: scale(1.14); }
  to { transform: scale(1); }
}
.hero .eyebrow,
.hero .hero-line,
.hero .hero-sub,
.hero .hero-actions,
.hero .hero-services,
.hero .hero-card {
  animation: rise 1000ms var(--ease-out) both;
}
.hero .eyebrow { animation-delay: 80ms; }
.hero .hero-line:nth-child(1) { animation-delay: 180ms; }
.hero .hero-line:nth-child(2) { animation-delay: 300ms; }
.hero .hero-sub { animation-delay: 460ms; }
.hero .hero-actions { animation-delay: 560ms; }
.hero .hero-services { animation-delay: 680ms; }
.hero-img {
  animation:
    unveil 1300ms cubic-bezier(0.77, 0, 0.175, 1) 120ms both,
    settle 1800ms var(--ease-out) 120ms both;
}
.hero .hero-card { animation-delay: 1150ms; }

/* ---------- motion: hover ---------- */
.step, .why-row, .acc-item {
  transition: translate 260ms var(--ease-out), box-shadow 260ms var(--ease-out);
}
.why-row img { transition: transform 600ms var(--ease-out); }
.why-row { overflow: hidden; }
@media (hover: hover) and (pointer: fine) {
  .step:hover { translate: 0 -6px; box-shadow: var(--shadow-card); }
  .why-row:hover { box-shadow: var(--shadow-card); }
  .why-row:hover img { transform: scale(1.03); }
  .acc-item:hover { box-shadow: 0 10px 24px -18px rgba(6, 33, 47, 0.4); }
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1180px) {
  .nav-links a:not(.btn) { padding: 0 10px; }
  .header-inner { gap: 20px; }
}

@media (max-width: 1080px) {
  .nav, .header-actions { display: none; }
  .nav-toggle {
    margin-left: auto;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 48px;
    height: 48px;
    border: 1px solid var(--ink-line);
    border-radius: var(--r-pill);
    background: var(--paper);
    cursor: pointer;
  }
  .nav-toggle-bar {
    width: 20px;
    height: 1.5px;
    background: var(--ink);
    transition: transform 220ms var(--ease-out);
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-child { transform: translateY(4.25px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-child { transform: translateY(-4.25px) rotate(-45deg); }

  .nav { display: block; position: absolute; left: 0; right: 0; top: var(--header-h); margin: 0; }
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--cream);
    border-bottom: 1px solid var(--ink-line);
    box-shadow: 0 24px 40px -24px rgba(6, 33, 47, 0.35);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a:not(.btn) {
    min-height: 56px;
    padding: 0;
    font-size: 18px;
    border-bottom: 1px solid var(--ink-line);
    border-radius: 0;
  }
  .nav-cta-mobile { display: block; margin-top: 20px; }
  .nav-cta-mobile .btn { width: 100%; }
  .nav-links .btn-primary { color: var(--cream); }

  .services-head { flex-direction: column; align-items: flex-start; gap: 0; }
  .services-head .section-title, .services-head .section-lede { flex: none; }
  .services-head .section-lede { margin-top: 20px; }
  .problem-item { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 960px) {
  .why-grid, .about-grid, .faq-grid, .contact-block { grid-template-columns: 1fr; }
  .why-sticky { position: static; }
  .panel { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .step-title { margin-top: 32px; }
  .about-media img { aspect-ratio: 16 / 11; }
  .contact-img { max-width: none; aspect-ratio: 16 / 10; }
}

@media (max-width: 960px) {
  .hero { padding: calc(var(--header-h) + 4px) 0 32px; }
  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }
  .hero-copy { padding: 8px 0 0; flex: none; gap: 0; }
  .hero-bottom { width: 100%; }
  .hero-title { margin-top: 18px; font-size: clamp(40px, 10.3cqi, 80px); }
  .hero-sub { margin-top: 16px; font-size: 17px; }
  .hero-actions { margin-top: 22px; }
  .hero-services { display: none; }
  .hero-media { flex: none; width: 100%; height: auto; min-height: 0; aspect-ratio: 4 / 5; max-height: 80svh; }
  .hero-img { position: absolute; inset: 0; }
  .hero-card {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    padding: 14px 16px;
  }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; --header-h: 68px; }
  body { font-size: 16px; }
  .brand-name { font-size: 22px; }
  .brand img { width: 36px; height: 36px; }
  .btn { width: 100%; }
  .hero-actions { width: 100%; flex-direction: column; gap: 10px; }
  .hero-grid { gap: 28px; }
  .eyebrow { font-size: 12px; letter-spacing: 0.07em; }
  .hero-line { white-space: normal; }
  .hero-card { display: none; }
  .hero-img { object-position: 60% 28%; }
  .hero-title { font-size: clamp(40px, 12.4vw, 60px); }
  .hero-sub { font-size: 16px; }
  .section-title { font-size: clamp(34px, 9.4vw, 44px); }
  .problem-list { grid-template-columns: 1fr; margin-top: 44px; }
  .problem-title { font-size: 28px; }
  .tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 40px; }
  .tab { width: 100%; padding: 10px 8px; font-size: 14px; white-space: nowrap; }
  .panel { padding: 28px 22px; }
  .why-row { grid-template-columns: 1fr; }
  .why-row img { min-height: 0; height: auto; }
  .why-body { padding: 4px 8px 12px; }
  .why-title, .step-title { font-size: 28px; }
  .about-facts { grid-template-columns: 1fr; }
  .faq-card-title { font-size: 26px; }
  .acc-trigger { padding: 16px 18px; font-size: 17px; }
  .acc-inner p { padding: 0 18px 20px; }
  .contact-block { padding: 28px 20px; margin: 0 calc(var(--gutter) * -0.5); }
  .form-title { font-size: 28px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-line { justify-self: start; display: flex; flex-direction: column; }
  .footer-sep { display: none; }
  .footer-meta { flex-direction: column; gap: 4px; }
  .footer-meta a { margin: 0; min-height: 48px; }
}


@media (max-width: 360px) {
  .brand-name { font-size: 19px; }
  .brand { gap: 8px; }
  .brand img { width: 32px; height: 32px; }
  .header-inner { gap: 12px; }
  .form-title { font-size: 25px; }
  .tab { font-size: 12.5px; padding: 10px 2px; letter-spacing: -0.005em; }
}

/* ---------- motion: scroll reveals (content is visible unless JS opts it in) ---------- */
.pre-reveal {
  opacity: 0;
  transform: translateY(32px);
  filter: blur(6px);
  transition:
    opacity 900ms var(--ease-out) var(--d, 0ms),
    transform 900ms var(--ease-out) var(--d, 0ms),
    filter 900ms var(--ease-out) var(--d, 0ms),
    translate 260ms var(--ease-out),
    box-shadow 260ms var(--ease-out);
}
.pre-reveal.reveal-soft { transform: scale(0.97); }
.pre-reveal.is-visible { opacity: 1; transform: none; filter: none; }

.pre-reveal.reveal-img img {
  clip-path: inset(0 0 100% 0 round var(--r-card));
  transform: scale(1.1);
  transition:
    clip-path 1100ms cubic-bezier(0.77, 0, 0.175, 1) calc(var(--d, 0ms) + 120ms),
    transform 1600ms var(--ease-out) calc(var(--d, 0ms) + 120ms);
}
.pre-reveal.reveal-img.is-visible img {
  clip-path: inset(0 0 0 0 round var(--r-card));
  transform: none;
}

