/* White Bear Keeps: one stylesheet, system fonts, no external assets. */
:root {
  --navy: #1f3a4d;
  --navy-deep: #152a38;
  --lake: #2e5e75;
  --lake-soft: #dbe7ec;
  --paper: #f8f3ea;
  --paper-2: #efe6d6;
  --card: #fffdf8;
  --ink: #1d2730;
  --muted: #4f5a63;
  --accent: #9a4a1c;      /* warm rust, AA on paper */
  --accent-soft: #f3e2d3;
  --line: #d9cdb8;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(21,42,56,.06), 0 4px 14px rgba(21,42,56,.08);
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6;
  color: var(--ink); background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lake); text-underline-offset: .15em; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 7vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.3rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
code { font-size: .92em; background: var(--paper-2); padding: .05em .35em; border-radius: 4px; }

.wrap { width: min(1100px, 100% - 2.5rem); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }

.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 100;
  background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  min-height: 48px; padding: .7rem 1.3rem; border-radius: 999px;
  background: var(--accent); color: #fff; font: 600 1rem/1.2 var(--sans);
  text-decoration: none; border: 2px solid var(--accent); cursor: pointer;
}
.btn:hover { background: #7f3c15; border-color: #7f3c15; color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-light { background: var(--paper); color: var(--navy); border-color: var(--paper); }
.btn-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-small { min-height: 40px; padding: .45rem .95rem; font-size: .92rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248,243,234,.96); border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(6px)) {
  .site-header { background: rgba(248,243,234,.88); backdrop-filter: blur(6px); }
}
.header-inner { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; padding: .6rem 0; }
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--navy);
  font: 700 1.15rem/1 var(--serif); }
.header-cta { margin-left: auto; }
nav { order: 3; width: 100%; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 1rem; }
.nav-list a { display: block; white-space: nowrap; padding: .35rem 0; color: var(--ink); text-decoration: none; font-size: .95rem; }
.nav-list a:hover { color: var(--accent); text-decoration: underline; }
@media (min-width: 900px) {
  nav { order: 0; width: auto; margin-left: auto; }
  .header-cta { margin-left: 0; }
}
@media (max-width: 599px) {
  .site-header { position: static; }
  html { scroll-padding-top: .5rem; }
  .cta-long { display: none; }
  .header-inner { padding: .5rem 0 .3rem; }
  .nav-list { gap: 0 .9rem; }
  .nav-list a { font-size: .9rem; padding: .3rem 0; }
}

/* Hero */
.hero {
  background:
    radial-gradient(1200px 400px at 85% -10%, rgba(46,94,117,.18), transparent 60%),
    linear-gradient(180deg, var(--lake-soft) 0%, var(--paper) 100%);
  padding: clamp(2.5rem, 8vw, 5.5rem) 0 clamp(2.5rem, 7vw, 4.5rem);
  border-bottom: 1px solid var(--line);
}
.hero-inner { max-width: 820px; }
.hero-grid { display: grid; gap: 2rem; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1fr 320px; align-items: center; gap: 3rem; } }
.glance { background: var(--card); border: 1px solid var(--line); border-top: 5px solid var(--lake); border-radius: var(--radius); padding: 1.4rem 1.5rem; box-shadow: var(--shadow); }
.glance-title { font-size: 1.2rem; margin-bottom: .7rem; }
.glance ul { list-style: none; margin: 0 0 1rem; padding: 0; }
.glance li { padding: .45rem 0 .45rem 1.6rem; border-bottom: 1px solid #ece3d3; position: relative; }
.glance li::before { content: ""; position: absolute; left: .2rem; top: .95rem; width: .55rem; height: .55rem; border-radius: 50%; background: var(--accent); }
.glance-contact { margin: 0; font-size: 1.05rem; font-weight: 700; }
.glance-contact a { color: var(--navy); }
.glance-contact .reveal-btn { width: 100%; margin-top: .25rem; }
.glance-contact .reveal-info { margin-top: .5rem; line-height: 1.45; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700; color: var(--lake); margin-bottom: 1rem; }
.hero-sub { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 3.4vw, 1.5rem); color: var(--accent); }
.hero-lede { font-size: 1.12rem; max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 1rem; }
.hero-note { color: var(--muted); font-size: .95rem; }

/* Sections */
.section { padding: clamp(2.75rem, 7vw, 4.75rem) 0; }
.section-alt { background: var(--paper-2); border-block: 1px solid var(--line); }
.section-dark { background: var(--navy); color: #eef3f6; }
.section-dark h2 { color: #fff; }
.section-dark a { color: #fff; }
.section-dark a.btn-light, .section-dark a.btn-light:hover { color: var(--navy); }
.subhead { margin-top: 2.5rem; }

.two-col { display: grid; gap: 2rem; }
@media (min-width: 860px) { .two-col { grid-template-columns: 1.1fr 1fr; align-items: center; } }

.compare-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 560px) { .compare-list { grid-template-columns: 1fr 1fr; } }
.compare-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.25rem; box-shadow: var(--shadow); }
.compare-card h3 { font-size: 1.1rem; }
.compare-card ul { margin: 0; padding-left: 1.1rem; }
.compare-card li + li { margin-top: .35rem; }
.compare-them { background: #f4efe6; }
.compare-them h3 { color: var(--muted); }
.compare-us { border-color: var(--lake); border-width: 2px; }

/* Steps */
.steps { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); }
.step-num { display: inline-block; font: 700 1.9rem/1 var(--serif); color: var(--accent); margin-bottom: .6rem; }
.step p { margin: 0; }

/* Before / after slider */
.ba {
  --pos: 50%;
  position: relative; overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: var(--shadow); background: #ddd;
  aspect-ratio: 3 / 2; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  margin: 1.25rem 0 .75rem;
}
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-before-wrap { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-tag {
  position: absolute; bottom: .75rem; padding: .25rem .65rem; border-radius: 999px;
  background: rgba(21,42,56,.82); color: #fff; font-size: .85rem; font-weight: 700; pointer-events: none;
}
.ba-tag-before { left: .75rem; }
.ba-tag-after { right: .75rem; }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 44px; margin-left: -22px;
  cursor: ew-resize; display: flex; align-items: center; justify-content: center; touch-action: none;
}
.ba-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.25); }
.ba-grip {
  position: relative; width: 44px; height: 44px; border-radius: 50%;
  background: #fff; border: 2px solid var(--navy); box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.ba-grip::before, .ba-grip::after {
  content: ""; position: absolute; top: 50%; width: 0; height: 0; margin-top: -6px;
  border-top: 6px solid transparent; border-bottom: 6px solid transparent;
}
.ba-grip::before { left: 8px; border-right: 8px solid var(--navy); }
.ba-grip::after { right: 8px; border-left: 8px solid var(--navy); }
.ba-handle:focus-visible { outline: none; }
.ba-handle:focus-visible .ba-grip { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Pricing */
.price-grid { display: grid; gap: 1rem; margin-top: 1.25rem; }
@media (min-width: 700px) { .price-grid { grid-template-columns: repeat(3, 1fr); } }
.price-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; text-align: center; box-shadow: var(--shadow); }
.price-card h3 { margin-bottom: .3rem; }
.price-card p:last-child { margin: 0; color: var(--muted); }
.price { margin: 0 0 .25rem; }
.amount { font: 700 2.4rem/1.1 var(--serif); color: var(--navy); }
.price-card-feature { border: 2px solid var(--lake); background: #fff; }
.price-notes { margin: 1.5rem 0 0; padding-left: 1.2rem; }
.price-notes li + li { margin-top: .3rem; }
.addon-grid { display: grid; gap: 1rem; }
@media (min-width: 700px) { .addon-grid { grid-template-columns: 1fr 1fr; } }
.addon { background: var(--card); border: 1px dashed #b9a98d; border-radius: var(--radius); padding: 1.3rem 1.4rem; }
.addon ul { padding-left: 1.1rem; margin: 0 0 .8rem; }
.addon p:last-child { margin: 0; }

/* Sorting */
.sort-grid { display: grid; gap: 1rem; margin-top: 1rem; }
@media (min-width: 760px) { .sort-grid { grid-template-columns: repeat(3, 1fr); } }
.sort-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; box-shadow: var(--shadow); }
.sort-card p:last-child { margin: 0; }
.sort-tag { display: inline-block; margin: 0 0 .6rem; padding: .15rem .6rem; border-radius: 999px;
  background: var(--lake-soft); color: var(--navy); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }

/* FAQ */
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 10px; margin-bottom: .6rem; }
.faq summary { cursor: pointer; padding: 1rem 1.2rem; font-weight: 650; color: var(--navy); list-style: none; position: relative; padding-right: 2.6rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.1rem; top: .8rem; font-size: 1.4rem; line-height: 1.2; color: var(--accent); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 1.2rem 1.1rem; }

/* Form */
.intake { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.1rem, 4vw, 2rem); box-shadow: var(--shadow); margin-top: 1.25rem; }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { margin: 0 0 1.1rem; min-width: 0; }
fieldset.field { border: 0; padding: 0; }
.field > label, legend { display: block; font-weight: 650; margin-bottom: .35rem; color: var(--navy); padding: 0; }
.req { font-weight: 400; color: var(--muted); font-size: .88rem; }
input[type="text"], input[type="tel"], input[type="email"], textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid #a99c86; border-radius: 8px; padding: .65rem .75rem; min-height: 48px;
}
input::placeholder, textarea::placeholder { color: #6b7279; }
input:focus-visible, textarea:focus-visible { outline: 3px solid var(--lake); outline-offset: 1px; border-color: var(--lake); }
input[aria-invalid="true"] { border-color: #a1271b; }
.field > label.choice { display: flex; font-weight: 400; color: var(--ink); margin: 0; }
.choice-inline label { font-weight: 400; }
.choice { display: flex; gap: .55rem; align-items: flex-start; padding: .3rem 0; }
.choice-inline { display: flex; gap: 1.5rem; min-height: 48px; align-items: center; }
.choice-inline label { display: flex; gap: .45rem; align-items: center; }
input[type="checkbox"], input[type="radio"] { width: 1.2rem; height: 1.2rem; margin: .2rem 0 0; accent-color: var(--lake); flex: none; }
.form-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: .5rem 0 1rem; }
.form-error { background: #fbe9e6; color: #8a1f14; border: 1px solid #e3b4ac; border-radius: 8px; padding: .7rem .9rem; }
.form-fallback { background: var(--accent-soft); border: 1px solid var(--line); border-radius: 8px; padding: .8rem 1rem .1rem; margin-bottom: 1rem; }
.form-fallback p { margin: 0 0 .5rem; }
.form-fallback .form-actions { margin: .6rem 0 .8rem; }
.form-alt { margin-top: -.25rem; }
.intake[aria-busy="true"] .btn[type="submit"] { opacity: .75; cursor: progress; }
.btn:disabled { cursor: not-allowed; }
.intake-thanks { text-align: center; padding-block: clamp(1.75rem, 6vw, 3rem); }
.intake-thanks:focus { outline: none; }
.intake-thanks h3 { font-size: 1.6rem; margin-bottom: .4em; }
.intake-thanks .thanks-mark { width: 56px; height: 56px; margin: 0 auto 1rem; border-radius: 50%; background: var(--lake-soft); color: var(--navy); display: grid; place-items: center; font-size: 1.8rem; line-height: 1; }
.intake-thanks p { max-width: 34rem; margin-inline: auto; }
/* Honeypot: hidden from people and screen readers; bots fill it in. */
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Contact reveal */
.contact-reveal { margin: 0; }
.reveal-info { margin-top: .75rem; }
.reveal-info[hidden] { display: none !important; }
.reveal-btn[hidden] { display: none !important; }

/* Contact */
.contact-name { font: 700 1.4rem/1.2 var(--serif); margin-bottom: .4rem; }
.contact-lede { margin: 0 0 1.25rem; color: #d7e3ea; }
.contact-lede a { text-decoration: underline; }
.contact-lines { font-size: 1.2rem; }
.contact-note { font-style: italic; color: #f3d9c4; }
.refer { margin-top: 1.5rem; font-size: .98rem; }
.refer-dark { margin-top: 1.5rem; color: #c9d6de; font-size: .98rem; }
.section-dark .reveal-info a { color: #fff; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #c9d6de; padding: 1.5rem 0; font-size: .95rem; }
.site-footer a { color: #fff; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; }
.footer-inner p { margin: 0; }

@media print {
  .site-header, .hero-actions, .ba, .intake, .site-footer a { display: none; }
  body { background: #fff; }
}

/* Printable price sheet (pricing.html) */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sheet { max-width: 760px; padding: 1.5rem 0 3rem; }
.sheet-back { margin-bottom: 1.5rem; }
.sheet-head { display: flex; align-items: center; gap: 1rem; }
.sheet-head h1 { font-size: clamp(1.9rem, 6vw, 2.6rem); margin: 0 0 .2rem; }
.sheet-head .eyebrow { margin: 0; }
.sheet h2 { margin-top: 2rem; font-size: 1.5rem; border-bottom: 2px solid var(--line); padding-bottom: .3rem; }
.sheet-table { width: 100%; border-collapse: collapse; background: var(--card); margin-bottom: .75rem; }
.sheet-table th, .sheet-table td { text-align: left; padding: .6rem .7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.sheet-table thead th { background: var(--navy); color: #fff; font-size: .9rem; }
.sheet-table td:last-child { white-space: nowrap; font-weight: 700; color: var(--navy); text-align: right; }
.sheet-table thead th:last-child { text-align: right; }
.sheet-list { padding-left: 1.2rem; }
.sheet-contact { margin-top: 2rem; padding: 1rem 1.2rem; border: 2px solid var(--lake); border-radius: var(--radius); background: var(--card); }
.sheet-contact p { margin: .2rem 0; }
.sheet-contact-print { display: none; }
@media print {
  .sheet-contact .reveal-btn,
  .sheet-contact .reveal-info { display: none !important; }
  .sheet-contact-print { display: block !important; margin-top: .4rem; }
  .sheet-back, .sheet-print-btn, .site-footer { display: none; }
  .sheet { padding: 0; width: 100%; }
  .sheet-table thead th { background: #ddd; color: #000; }
  a { color: #000; text-decoration: none; }
}

.sheet-link { margin-top: 1.5rem; }
.sheet-print-btn { margin-top: 1.25rem; }
