:root {
  --cream: #f7f4ee;
  --sand: #ebe5da;
  --ink: #1d2433;
  --ink-soft: #4a5263;
  --brass: #8c6128;
  --brass-hover: #734f1f;
  --brass-light: #d9b27a;
  --line: #d8d0c2;
  --gutter: clamp(20px, 4vw, 56px);
  --header-h: 84px;
  --serif: "Gilda Display", Georgia, "Times New Roman", serif;
  --sans: "Switzer", "Helvetica Neue", Arial, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; }
html.has-smoothscroll { scroll-behavior: auto !important; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
section[id] { scroll-margin-top: var(--header-h); }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--brass-light); color: var(--ink); }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 11vw, 150px) 0; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 6px; z-index: 100; }
.skip-link:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px; border-radius: 8px;
  font: 500 15px/1 var(--sans); letter-spacing: 0.01em; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out), border-color .2s var(--ease-out), box-shadow .2s var(--ease-out), transform .16s var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn-accent { background: var(--brass); color: #fff; }
.btn-accent:hover { background: var(--brass-hover); box-shadow: 0 6px 18px rgba(115, 79, 31, .28); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn-ghost-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Header */
.site-header { position: fixed; inset: 16px var(--gutter) auto; z-index: 50; }
.nav {
  max-width: 1232px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between;
  background: rgba(247, 244, 238, .94); backdrop-filter: blur(8px);
  border-radius: 10px; padding: 8px 8px 8px 22px; min-height: 60px;
  transition: box-shadow .25s var(--ease-out);
}
.site-header.is-scrolled .nav { box-shadow: 0 8px 28px rgba(29, 36, 51, .12); }
.wordmark { font-family: var(--serif); font-size: 23px; text-decoration: none; display: inline-flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.wordmark span { font-family: var(--sans); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.nav-links { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.nav-links a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--ink); border-radius: 6px; }
.nav-links a:not(.btn):hover { background: var(--sand); }
.nav-cta-item { margin-left: 8px; }
.nav-toggle { display: none; width: 48px; height: 48px; border: 0; background: transparent; color: var(--ink); border-radius: 6px; cursor: pointer; align-items: center; justify-content: center; }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--ink); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18, 22, 32, .92) 0%, rgba(18, 22, 32, .55) 38%, rgba(18, 22, 32, .08) 70%); }
.hero-inner { position: relative; z-index: 1; width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter) clamp(40px, 7vh, 80px); display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: end; }
.badge { display: inline-flex; align-items: flex-start; gap: 10px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 22px; white-space: nowrap; }
.dot { width: 7px; height: 7px; background: var(--brass-light); border-radius: 2px; margin-top: 6px; flex: none; }
.hero h1 { font-size: clamp(44px, 6.2vw, 92px); line-height: 1.02; }
.hero h1 em { font-style: italic; color: #f0d9b5; }
.hero-line { display: block; white-space: nowrap; }
.hero-side p { font-size: 18px; color: rgba(255,255,255,.88); max-width: 44ch; margin-bottom: 26px; }

/* Statement */
.statement { background: var(--ink); color: var(--cream); padding: clamp(80px, 10vw, 140px) 0; }
.label { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-light); margin-bottom: 28px; }
.statement-text { font-size: clamp(30px, 3.8vw, 54px); line-height: 1.2; max-width: 22ch; }

/* Section head */
.section-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head h2, .approach h2, .why h2, .how h2, .faq h2, .contact h2 { font-size: clamp(34px, 4.2vw, 58px); }
.section-head p { color: var(--ink-soft); max-width: 46ch; }

/* Problems */
.problem-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.problem-list li { padding: 32px 28px 0 0; }
.problem-list li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.problem-list h3 { font-size: 24px; margin-bottom: 12px; }
.problem-list p { color: var(--ink-soft); font-size: 16px; }

/* Approach */
.approach { background: var(--sand); }
.approach-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.approach-photo, .why-photo, .contact-photo { margin: 0; }
.approach-photo img, .why-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; }
.phase-list, .step-list { list-style: none; margin: 40px 0 0; padding: 0; }
.phase-list li, .step-list li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 28px 0; border-top: 1px solid var(--line); }
.phase-num, .step-num { font-family: var(--serif); font-size: 22px; color: var(--brass); }
.phase-list h3, .step-list h3 { font-size: 26px; margin-bottom: 8px; }
.phase-list p, .step-list p { color: var(--ink-soft); }

/* Packages */
.package-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.package { background: #fff; border-radius: 10px; padding: 36px 32px; display: flex; flex-direction: column; box-shadow: 0 2px 10px rgba(29,36,51,.05); }
.package-featured { background: var(--ink); color: var(--cream); }
.package-tier { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); margin-bottom: 18px; }
.package-featured .package-tier { color: var(--brass-light); }
.package h3 { font-size: 36px; margin-bottom: 12px; }
.package-lede { color: var(--ink-soft); margin-bottom: 26px; }
.package-featured .package-lede { color: rgba(247,244,238,.78); }
.package ul { list-style: none; margin: 0 0 32px; padding: 0; flex: 1; }
.package li { padding: 12px 0; border-top: 1px solid var(--line); }
.package-featured li { border-color: rgba(247,244,238,.18); }
.package-featured .btn-accent { background: var(--brass-light); color: var(--ink); }
.package-featured .btn-accent:hover { background: #e7c690; }
.package .btn { align-self: flex-start; }

/* Why */
.why-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.why-list { list-style: none; margin: 40px 0 0; padding: 0; }
.why-list li { padding: 24px 0; border-top: 1px solid var(--line); }
.why-list h3 { font-size: 26px; margin-bottom: 8px; }
.why-list p { color: var(--ink-soft); max-width: 48ch; }

/* How */
.how { background: var(--sand); }
.how-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.how .step-list { margin-top: 0; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item h3 { font-family: var(--sans); font-size: 18px; font-weight: 500; }
.faq-item button { width: 100%; min-height: 72px; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; background: none; border: 0; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.faq-icon { position: relative; width: 16px; height: 16px; flex: none; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 1.8px; background: var(--brass); transition: transform .22s var(--ease-out); }
.faq-icon::after { transform: rotate(90deg); }
.faq-item button[aria-expanded="true"] .faq-icon::after { transform: rotate(0); }
.faq-panel p { color: var(--ink-soft); padding: 0 40px 24px 0; }

/* Contact */
.contact { background: var(--ink); color: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.contact-copy > p { color: rgba(247,244,238,.8); margin: 20px 0 36px; max-width: 44ch; }
.contact-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.lead-form { background: var(--cream); color: var(--ink); border-radius: 10px; padding: clamp(28px, 4vw, 44px); display: grid; gap: 18px; }
.form-note { font-size: 14px; color: var(--ink-soft); }
.field { display: grid; gap: 6px; }
.field label, .checks legend { font-size: 15px; font-weight: 500; }
.field input:not([type="checkbox"]), .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #b9ae9c; border-radius: 6px; background: #fff; font: inherit; color: var(--ink); }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--brass); outline-offset: 1px; }
.field input[aria-invalid="true"] { border-color: #a3261b; }
.checks { border: 0; padding: 0; margin: 0; gap: 4px; }
.checks legend { margin-bottom: 8px; padding: 0; }
.checks label { display: flex; align-items: center; gap: 10px; min-height: 40px; font-weight: 400; cursor: pointer; }
.checks input { width: 20px; height: 20px; accent-color: var(--brass); }
.lead-form .btn { justify-self: start; }
.form-status { font-size: 15px; min-height: 1em; }
.form-status.is-error { color: #a3261b; }
.form-status.is-success { color: #2f6b3a; }

/* Footer */
.site-footer { background: #141925; color: rgba(247,244,238,.78); padding: 56px 0; font-size: 15px; }
.footer-inner { display: grid; gap: 10px; }
.footer-wordmark { font-family: var(--serif); font-size: 26px; color: var(--cream); }
.footer-wordmark span { font-family: var(--sans); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(247,244,238,.7); margin-left: 6px; }
.footer-links a { color: var(--cream); }

/* Reveal */
.pre-reveal { opacity: 0; transform: translateY(24px); }
.is-visible { opacity: 1; transform: none; transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }

/* Accessibility page */
.doc-hero { background: var(--ink); color: var(--cream); padding: calc(var(--header-h) + 90px) 0 80px; }
.doc-hero h1 { font-size: clamp(40px, 5vw, 68px); }
.doc-hero p { margin-top: 18px; color: rgba(247,244,238,.78); white-space: nowrap; font-size: 15px; }
.doc-body { max-width: 760px; }
.doc-body h2 { font-size: 32px; margin: 56px 0 16px; }
.doc-body p, .doc-body li { color: var(--ink-soft); }
.doc-body ul { padding-left: 20px; }
.doc-body li { margin-bottom: 8px; }

/* Responsive */
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--cream); border-radius: 10px; padding: 10px; box-shadow: 0 12px 30px rgba(29,36,51,.16); }
  .nav-links.is-open { display: flex; }
  .nav-links a:not(.btn) { min-height: 48px; }
  .nav-cta-item { margin: 6px 0 0; }
  .nav-cta-item .btn { width: 100%; color: #fff; }
  .problem-list { grid-template-columns: repeat(2, 1fr); }
  .problem-list li:nth-child(3) { border-left: 0; padding-left: 0; }
  .problem-list li { padding-bottom: 32px; }
  .package-grid { grid-template-columns: 1fr; max-width: 620px; }
}
@media (max-width: 860px) {
  .hero-inner, .section-head, .approach-grid, .why-grid, .how-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-inner { gap: 24px; }
  .why-photo { order: -1; }
  .approach-photo img, .why-photo img { aspect-ratio: 4 / 3; }
}
@media (max-width: 600px) {
  :root { --header-h: 76px; }
  body { font-size: 16px; }
  .site-header { inset: 10px 12px auto; }
  .wordmark { font-size: 20px; }
  .wordmark span { font-size: 10px; letter-spacing: .12em; }
  .hero h1 { font-size: clamp(38px, 11vw, 48px); }
  .hero-line { white-space: normal; }
  .hero-side p { font-size: 16px; margin-bottom: 20px; }
  .badge { font-size: 11px; letter-spacing: .1em; margin-bottom: 16px; }
  .btn-row { flex-direction: column; }
  .btn, .lead-form .btn, .package .btn { width: 100%; align-self: stretch; justify-self: stretch; }
  .problem-list { grid-template-columns: 1fr; }
  .problem-list li, .problem-list li + li { padding: 24px 0; border-left: 0; }
  .problem-list li + li { border-top: 1px solid var(--line); }
  .phase-list li, .step-list li { grid-template-columns: 48px 1fr; }
  .package { padding: 30px 24px; }
  .doc-hero p { font-size: 13px; }
}
@media (max-height: 700px) and (max-width: 600px) {
  .hero-side p { display: none; }
}
@media (max-height: 820px) and (min-width: 861px) {
  .hero h1 { font-size: clamp(44px, 9vh, 80px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .pre-reveal { opacity: 1; transform: none; }
}
