:root {
  --ink: #1a2332;
  --ink-soft: #4a5568;
  --paper: #f7f5f0;
  --paper-deep: #efeae2;
  --line: #d9d2c6;
  --accent: #8a5f20;
  --accent-deep: #8a5f20;
  --white: #ffffff;
  --max: 68rem;
  --pad: clamp(1.25rem, 4vw, 3rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Figtree", system-ui, sans-serif;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent-deep);
}

a:hover {
  color: var(--accent);
}

.wrap {
  width: min(100% - 2 * var(--pad), var(--max));
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.wordmark {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 650;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a:not(.btn) {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a:not(.btn):hover {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 0.4rem;
  padding: 0.4rem 0.7rem;
  font: inherit;
  cursor: pointer;
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
  }
  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 1rem;
  }
  .nav.open {
    display: flex;
  }
  .site-header .inner {
    flex-wrap: wrap;
  }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.35rem;
  border-radius: 0.45rem;
  border: none;
  background: var(--accent);
  color: var(--white) !important;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none !important;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn:hover {
  background: #704b18;
}

.btn:disabled {
  cursor: wait;
  opacity: 0.72;
}

.btn-ghost {
  background: transparent;
  color: var(--ink) !important;
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  background: var(--paper-deep);
}

.text-link {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 50%, transparent);
}

.text-link:hover {
  border-bottom-color: var(--accent);
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: min(88vh, 46rem);
  display: grid;
  align-items: end;
  color: var(--white);
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(14, 22, 34, 0.35) 0%, rgba(14, 22, 34, 0.72) 55%, rgba(14, 22, 34, 0.88) 100%);
}

.hero-inner {
  padding: clamp(5rem, 12vh, 8rem) 0 clamp(2.5rem, 6vh, 4rem);
  max-width: 40rem;
}

.hero .brand-mark {
  font-family: "Fraunces", Georgia, serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.9;
  margin: 0 0 1rem;
}

.hero h1 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 650;
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.hero .lead {
  margin: 0 0 0.85rem;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 36rem;
}

.hero .boundary {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.hero.compact {
  min-height: min(62vh, 32rem);
}

/* —— Sections —— */
section {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 0.75rem;
}

h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.2;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.muted {
  color: var(--ink-soft);
}

.doors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

@media (max-width: 700px) {
  .doors {
    grid-template-columns: 1fr;
  }
}

.door {
  display: block;
  padding: 1.75rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.door:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.door h2 {
  font-size: 1.45rem;
  margin-bottom: 0.5rem;
}

.door p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.door .go {
  font-weight: 600;
  color: var(--accent-deep);
}

.method {
  background: var(--paper-deep);
  border-block: 1px solid var(--line);
}

.method p {
  max-width: 42rem;
  margin: 0 0 0.75rem;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

@media (max-width: 800px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.questions {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.questions li {
  padding: 0.9rem 1rem;
  background: var(--white);
  border-left: 3px solid var(--accent);
  border-radius: 0 0.3rem 0.3rem 0;
}

.aside-panel {
  padding: 1.5rem;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: 0.35rem;
}

.measure-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.measure-list li {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.measure-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cta-band {
  background: var(--ink);
  color: var(--white);
}

.cta-band h2 {
  color: var(--white);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 36rem;
}

.cta-band .btn {
  margin-top: 0.5rem;
}

.powered {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* —— Form —— */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--ink-soft);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  background: var(--paper);
  color: var(--ink);
}

.field textarea {
  min-height: 6rem;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: transparent;
}

.form-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 0.75rem 0 0;
}

.form-success {
  display: none;
  padding: 1rem 1.1rem;
  background: #e8f2ea;
  border: 1px solid #b7d4be;
  border-radius: 0.35rem;
  margin-bottom: 1rem;
}

.form-success.show {
  display: block;
}

.form-error {
  display: none;
  padding: 1rem 1.1rem;
  background: #f8e8e6;
  border: 1px solid #d9aaa4;
  border-radius: 0.35rem;
  margin-bottom: 1rem;
  color: #722b23;
}

.form-error.show {
  display: block;
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

.next-steps {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
}

.next-steps li {
  margin-bottom: 0.4rem;
}

.page-hero-photo {
  min-height: 14rem;
  border-radius: 0.35rem;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line);
}

/* —— Footer —— */
.site-footer {
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--line);
  background: var(--white);
  font-size: 0.95rem;
}

.site-footer .brand {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 650;
  margin: 0 0 0.5rem;
}

.site-footer .boundary {
  color: var(--ink-soft);
  max-width: 36rem;
  margin: 0 0 1.25rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
}

.footer-meta {
  color: var(--ink-soft);
  font-size: 0.85rem;
  margin: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  counter-reset: step;
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.step {
  padding: 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.35rem;
}

.step strong {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  margin-bottom: 0.35rem;
}

.step p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.reasons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}

@media (max-width: 800px) {
  .reasons {
    grid-template-columns: 1fr;
  }
}

.reason {
  padding: 1.25rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.35rem;
}

.reason strong {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.15rem;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.reason p {
  margin: 0;
  color: var(--ink-soft);
}
