:root {
  --bg: #f7f3ea;
  --fg: #1c1915;
  --surface: #fffdf8;
  --muted: #6b5f52;
  --primary: #2c3e2d;
  --primary-fg: #f7f3ea;
  --accent: #8a6a2a;
  --border: #d8cfbd;
  --paper: #efe8d8;
  --ink: #3d342c;
  --hero-overlay: #140f0c;
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --shadow: 0 0 0 1px rgba(28, 25, 21, 0.06), 0 1px 2px -1px rgba(28, 25, 21, 0.06), 0 8px 24px 0 rgba(28, 25, 21, 0.06);
  --radius: 16px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  line-height: 1.55;
}

img, video { max-width: 100%; display: block; }
button, [role="button"], a { cursor: pointer; }
button { font-family: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-wrap: balance;
  margin: 0;
}

p { text-wrap: pretty; }

a { color: inherit; }

.wrap { width: min(1152px, calc(100% - 48px)); margin-inline: auto; }
.wrap-sm { width: min(768px, calc(100% - 48px)); margin-inline: auto; }
.wrap-xs { width: min(640px, calc(100% - 48px)); margin-inline: auto; }

.section { padding: 80px 0; }
.section-paper { background: var(--paper); }
.border-y { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.header-block { text-align: center; max-width: 42rem; margin: 0 auto 48px; }
.header-block .label {
  margin: 0 0 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.header-block h2 { font-size: clamp(1.8rem, 3vw, 2.25rem); font-weight: 600; }
.header-block .lead { margin: 16px 0 0; color: var(--muted); font-size: 1.05rem; }

/* Nav */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 64px;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: color-mix(in srgb, var(--bg) 95%, transparent); border-bottom-color: var(--border); }
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1152px, calc(100% - 32px));
  margin-inline: auto;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 600; }
.mark {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--primary); color: var(--primary-fg);
  display: grid; place-items: center;
  font-family: var(--display); font-size: 0.75rem; font-weight: 600;
}
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: 0.9rem; font-weight: 500; color: var(--ink); }
.nav-links a:hover { color: var(--accent); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 32px; border-radius: 999px; border: 0;
  background: var(--primary); color: var(--primary-fg);
  font-weight: 600; font-size: 1rem; text-decoration: none;
}
.btn:hover { filter: brightness(1.08); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 0.875rem; }
.btn-ghost {
  background: transparent; color: var(--primary-fg);
  border: 1px solid color-mix(in srgb, var(--primary-fg) 40%, transparent);
}
.btn-ghost:hover { background: color-mix(in srgb, var(--primary-fg) 10%, transparent); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; }
.nav-mobile { display: none; background: var(--bg); border-bottom: 1px solid var(--border); padding: 16px; }
.nav-mobile a { display: flex; min-height: 44px; align-items: center; text-decoration: none; color: var(--ink); }

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 64px;
  color: var(--primary-fg);
  text-align: center;
}
.hero video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity 0.7s;
}
.hero video.is-active { opacity: 1; }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(20,15,12,0.55), rgba(20,15,12,0.4), rgba(20,15,12,0.8));
}
.hero-copy { position: relative; z-index: 1; width: min(48rem, calc(100% - 48px)); padding: 80px 0; }
.eyebrow { margin: 0 0 16px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.9; }
.hero h1 { font-size: clamp(2.2rem, 6vw, 3.75rem); font-weight: 600; }
.hero-pitch { margin: 20px auto 0; max-width: 36rem; font-size: 1.125rem; color: color-mix(in srgb, var(--primary-fg) 90%, transparent); }
.hero-badge {
  margin: 24px auto 0;
  display: inline-flex; flex-direction: column; align-items: center; gap: 4px;
  min-width: 240px; padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--primary-fg) 25%, transparent);
  background: color-mix(in srgb, var(--hero-overlay) 55%, transparent);
  backdrop-filter: blur(6px);
}
.hero-badge small { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-note { margin-top: 20px; font-size: 0.9rem; color: color-mix(in srgb, var(--primary-fg) 75%, transparent); }
.hero-dots {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 1; display: flex; gap: 8px;
}
.hero-dots button {
  width: 10px; height: 10px; border-radius: 999px; padding: 0;
  border: 2px solid color-mix(in srgb, var(--primary-fg) 80%, transparent);
  background: transparent;
}
.hero-dots button.is-active { background: var(--primary-fg); }

blockquote.pull {
  margin: 0;
  border-left: 4px solid var(--accent);
  padding-left: 24px;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink);
}

/* Cards */
.grid-3 { display: grid; gap: 24px; }
.grid-2 { display: grid; gap: 20px; }
.grid-4 { display: grid; gap: 16px; }
@media (min-width: 640px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .sm-2 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .md-2 { grid-template-columns: 1fr 1fr; }
  .md-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .lg-3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.line-card { display: flex; flex-direction: column; }
.line-card img { height: 208px; width: 100%; object-fit: cover; }
.line-card .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.tag { margin: 0; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.who { margin: 4px 0 0; font-size: 0.9rem; font-weight: 600; color: var(--primary); }
.muted { color: var(--muted); }
.ink { color: var(--ink); }
.line-card ul { margin: 16px 0 0; padding: 0; list-style: none; font-size: 0.9rem; color: var(--ink); }
.line-card li { margin: 4px 0; }
.line-card .btn { margin-top: 24px; width: 100%; height: 44px; font-size: 0.875rem; }

.feature { text-align: center; padding: 28px; }
.feature svg { margin: 0 auto 16px; color: var(--primary); }
.feature p { margin: 8px 0 0; font-size: 0.9rem; color: var(--muted); }

.person { display: grid; }
@media (min-width: 768px) {
  .person { grid-template-columns: 1fr 1fr; }
  .person.reverse img { order: 2; }
}
.person img { height: 288px; width: 100%; object-fit: cover; }
@media (min-width: 768px) { .person img { height: 100%; min-height: 320px; } }
.person .copy { padding: 40px; }
.person .role { margin: 0; font-size: 0.9rem; font-weight: 600; color: var(--accent); }
.person p { margin: 16px 0 0; color: var(--ink); }
.person ul { margin: 20px 0 0; padding: 0; list-style: none; font-size: 0.9rem; color: var(--ink); }
.person li { margin: 8px 0; }

.line-heading {
  margin: 0 0 24px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
  font-size: 1.25rem;
  color: var(--primary);
}
.stack-16 > * + * { margin-top: 64px; }
.stack-8 > * + * { margin-top: 32px; }

.step { text-align: center; padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; }
.step-n {
  width: 40px; height: 40px; margin: 0 auto 16px;
  border-radius: 999px; background: var(--primary); color: var(--primary-fg);
  display: grid; place-items: center; font-family: var(--display); font-weight: 600;
}
.envelope { padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; }
.envelope svg { color: var(--primary); margin-bottom: 12px; }
.envelope p { margin: 8px 0 0; font-size: 0.9rem; color: var(--muted); }

.promise h3 { font-size: 1.25rem; }
.promise p { margin: 4px 0 0; color: var(--muted); }

.quote { padding: 28px; }
.quote p { margin: 0; font-family: var(--display); font-style: italic; font-size: 1.05rem; line-height: 1.6; color: var(--ink); }
.quote footer { margin-top: 16px; font-size: 0.9rem; font-weight: 600; color: var(--accent); font-style: normal; }

details.faq { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; }
details.faq + details.faq { margin-top: 12px; }
details.faq summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 56px; padding: 16px 20px; font-weight: 600; cursor: pointer;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary span.pm { color: var(--accent); font-size: 1.25rem; font-weight: 400; }
details.faq[open] summary span.pm::before { content: "−"; }
details.faq summary span.pm::before { content: "+"; }
details.faq p { margin: 0; padding: 0 20px 20px; font-size: 0.9rem; color: var(--muted); }

.sketch { margin-top: 48px; }
.sketch img { width: 100%; max-width: 48rem; margin-inline: auto; border-radius: 16px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.sketch figcaption { margin-top: 12px; text-align: center; font-size: 0.875rem; font-style: italic; color: var(--muted); }

/* Pricing / form */
.seg {
  display: flex; justify-content: center; margin-bottom: 32px;
}
.seg-inner { display: flex; border: 1px solid var(--border); background: var(--surface); border-radius: 999px; padding: 4px; }
.seg button {
  height: 40px; padding: 0 20px; border: 0; border-radius: 999px;
  background: transparent; color: var(--ink); font-weight: 600; font-size: 0.875rem;
}
.seg button.is-on { background: var(--primary); color: var(--primary-fg); }
.save {
  display: inline-block; margin-left: 8px; border-radius: 999px;
  background: var(--accent); color: var(--primary-fg);
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.06em; padding: 2px 8px;
}
.price-grid { display: grid; gap: 20px; margin-bottom: 24px; }
@media (min-width: 768px) { .price-grid { grid-template-columns: 1fr 1fr; } }
.price-card {
  text-align: left; padding: 32px; border-radius: 24px; border: 2px solid var(--border);
  background: var(--surface); box-shadow: var(--shadow); width: 100%;
}
.price-card.is-on { border-color: var(--accent); }
.price-card .label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.price-card .amt { margin: 8px 0 0; font-family: var(--display); font-size: 3rem; font-weight: 600; }
.price-card .amt span { font-size: 1.125rem; font-weight: 400; color: var(--muted); }
.price-card ul { margin: 24px 0 0; padding: 0; list-style: none; font-size: 0.9rem; color: var(--ink); }
.price-card li { display: flex; gap: 8px; margin: 8px 0; }
.check { color: var(--primary); flex: none; }
.footnote { text-align: center; font-size: 0.9rem; color: var(--muted); margin: 0 0 40px; }

.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow); padding: 40px; }
.form-card h3 { text-align: center; font-size: 1.5rem; }
.form-note { text-align: center; max-width: 32rem; margin: 8px auto 32px; font-size: 0.9rem; color: var(--muted); }
fieldset { border: 0; margin: 0 0 32px; padding: 0; }
legend { width: 100%; border-bottom: 1px solid var(--border); padding-bottom: 8px; margin-bottom: 16px; font-family: var(--display); font-size: 1.125rem; font-weight: 600; }
.fields { display: grid; gap: 16px; }
@media (min-width: 640px) { .fields.two { grid-template-columns: 1fr 1fr; } .span-2 { grid-column: span 2; } }
label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 6px; }
input, select, textarea {
  width: 100%; height: 44px; border-radius: 8px; border: 1px solid var(--border);
  background: var(--bg); color: var(--fg); padding: 0 14px; font: inherit; font-size: 1rem;
}
textarea { height: auto; padding: 12px 14px; }
input:focus, select:focus, textarea:focus { outline: 2px solid color-mix(in srgb, var(--accent) 25%, transparent); border-color: var(--accent); }
.choice-grid { display: grid; gap: 12px; }
@media (min-width: 640px) {
  .choice-3 { grid-template-columns: repeat(3, 1fr); }
  .choice-2 { grid-template-columns: 1fr 1fr; }
}
.choice {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 80px; padding: 16px 12px; text-align: center;
  border: 2px solid var(--border); border-radius: 12px; background: var(--bg);
}
.choice:has(input:checked), .choice.is-on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--bg)); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice strong { font-size: 0.875rem; }
.choice small { margin-top: 4px; color: var(--muted); }
.form-actions { display: flex; justify-content: center; }
.legal { margin-top: 16px; text-align: center; font-size: 0.75rem; color: var(--muted); }
.thanks { text-align: center; padding: 40px 0; }
.thanks-icon {
  width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 999px;
  background: var(--primary); color: var(--primary-fg); display: grid; place-items: center; font-size: 2rem;
}

.site-footer { background: var(--fg); color: var(--primary-fg); }
.site-footer .wrap { display: grid; gap: 40px; padding: 64px 0; }
@media (min-width: 640px) { .site-footer .wrap { grid-template-columns: repeat(3, 1fr); } }
.site-footer .mark { background: var(--accent); }
.site-footer p { color: color-mix(in srgb, var(--primary-fg) 70%, transparent); font-size: 0.9rem; }
.site-footer h4 { margin: 0 0 12px; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; font-family: var(--sans); }
.site-footer a { color: color-mix(in srgb, var(--primary-fg) 80%, transparent); text-decoration: none; display: block; margin: 8px 0; font-size: 0.9rem; }
.site-footer a:hover { color: var(--primary-fg); }
.site-footer .mail { color: var(--accent); }
.copy { border-top: 1px solid color-mix(in srgb, var(--primary-fg) 10%, transparent); padding: 20px; text-align: center; font-size: 0.75rem; color: color-mix(in srgb, var(--primary-fg) 50%, transparent); }

@media (max-width: 767px) {
  .nav-links { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .nav.open .nav-mobile { display: block; }
  .form-card { padding: 24px; }
  .person .copy { padding: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero video { transition: none; }
}
