:root {
  --navy: #17324d;
  --gold: #d99a3d;
  --cream: #f6f1e7;
  --ink: #17212b;
  --blue: #5d7c94;
  --brick: #a95e45;
  --paper: #fffaf0;
  --line: rgba(23, 33, 43, 0.18);
  --shadow: 0 18px 45px rgba(23, 33, 43, 0.12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Georgia, "Times New Roman", serif; color: var(--ink); background: var(--cream); line-height: 1.6; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: 0.18; background-image: radial-gradient(circle at 1px 1px, rgba(23,33,43,.18) 1px, transparent 0); background-size: 22px 22px; }
a { color: var(--navy); text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--brick); outline-offset: 4px; }
.skip-link { position: absolute; left: 1rem; top: -10rem; z-index: 20; background: var(--ink); color: white; padding: .75rem 1rem; }
.skip-link:focus { top: 1rem; }
.site-header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem clamp(1rem, 3vw, 2.5rem); background: rgba(246,241,231,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; min-width: 13rem; }
.brand span { display: grid; line-height: 1.05; }
.brand small { color: var(--blue); font-family: Arial, sans-serif; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.header-cta { display: none; margin-left: auto; border: 2px solid var(--navy); border-radius: 6px; padding: .45rem .7rem; font-family: Arial, sans-serif; font-weight: 700; text-decoration: none; }
.site-nav { display: flex; align-items: center; justify-content: flex-end; gap: .25rem; flex-wrap: wrap; font-family: Arial, sans-serif; font-size: .92rem; }
.site-nav a { padding: .55rem .7rem; border-radius: 6px; text-decoration: none; }
.site-nav a[aria-current="page"], .site-nav a:hover { background: var(--navy); color: white; }
.menu-toggle { display: none; border: 1px solid var(--line); background: var(--paper); padding: .6rem .75rem; border-radius: 6px; }
main > section { padding: clamp(2.5rem, 7vw, 6rem) clamp(1rem, 5vw, 4rem); max-width: 1180px; margin: 0 auto; }
.page-hero, .home-hero { max-width: none; min-height: min(620px, 76vh); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(280px, .75fr); align-items: center; gap: clamp(2rem, 6vw, 5rem); background: var(--paper); border-bottom: 1px solid var(--line); }
.page-hero { display: block; min-height: auto; }
.page-hero > * { max-width: 820px; }
.home-hero h1, .page-hero h1 { font-size: clamp(2.4rem, 5vw, 4.9rem); line-height: .97; margin: .35rem 0 1rem; max-width: 14ch; }
.page-hero h1 { max-width: 14ch; }
.hero-copy p, .page-hero p, .lead { font-size: clamp(1.1rem, 2vw, 1.35rem); max-width: 66ch; }
.eyebrow { font-family: Arial, sans-serif; text-transform: uppercase; letter-spacing: .12em; color: var(--brick); font-weight: 700; font-size: .78rem; }
.porch-stage { display: grid; place-items: center; min-height: 22rem; border: 1px solid var(--line); background: var(--cream); box-shadow: var(--shadow); }
.porch-stage img { width: min(64vw, 330px); animation: settle 900ms ease-out both; }
@keyframes settle { from { transform: scale(.88); opacity: .2; } to { transform: scale(1); opacity: 1; } }
h2 { font-size: clamp(1.7rem, 3vw, 3rem); line-height: 1.05; margin: 0 0 1rem; }
h3 { font-size: 1.12rem; line-height: 1.2; margin: 0 0 .55rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.4rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .75rem 1rem; border-radius: 6px; border: 2px solid var(--navy); background: var(--navy); color: white; font-family: Arial, sans-serif; font-weight: 700; text-decoration: none; cursor: pointer; }
.button.secondary, button[disabled] { background: transparent; color: var(--navy); }
button[disabled] { opacity: .66; cursor: not-allowed; }
.band, .notice, .membership-panel, .declaration { background: var(--navy); color: white; max-width: none; }
.band a, .notice a, .membership-panel a, .declaration a { color: white; }
.notice { background: var(--brick); }
.declaration { background: var(--ink); }
.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 1.1rem; min-height: 10rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.split > div, .pricing, .contact-form, .covenant-box, .quiz-card { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: clamp(1rem, 3vw, 2rem); }
.check-list, .steps { padding-left: 1.25rem; }
.detail-list { display: grid; gap: .75rem; }
details { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
summary { cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem; font-weight: 700; }
summary small { color: var(--brick); font-family: Arial, sans-serif; font-size: .8rem; text-transform: uppercase; }
.detail-body { padding: 0 1rem 1rem; }
.resource-list { display: grid; gap: .8rem; }
.resource { display: grid; gap: .2rem; padding: 1rem; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); text-decoration: none; }
.resource span, .muted, .hint { color: #56616b; }
.pricing p:first-of-type { font-size: 1.2rem; font-weight: 700; }
.contact-form { display: grid; gap: 1rem; max-width: 780px; }
label { display: grid; gap: .35rem; font-family: Arial, sans-serif; font-weight: 700; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 6px; padding: .75rem; font: inherit; background: white; color: var(--ink); }
textarea { min-height: 11rem; resize: vertical; }
.check { display: flex; align-items: flex-start; gap: .6rem; font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.check input { width: 1.25rem; height: 1.25rem; margin-top: .25rem; flex: 0 0 auto; }
.field-error, .form-status { color: var(--brick); font-weight: 700; margin: .35rem 0 0; }
.quiz-app { display: grid; gap: 1rem; }
.answers { display: grid; gap: .6rem; margin: 1rem 0; }
.answer { width: 100%; text-align: left; border: 1px solid var(--line); background: white; color: var(--ink); border-radius: 6px; padding: .85rem; cursor: pointer; }
.answer.correct { border-color: #2f7d4f; background: #edf8f0; }
.answer.incorrect { border-color: var(--brick); background: #fff0ea; }
.site-footer { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; padding: 2rem clamp(1rem, 5vw, 4rem); border-top: 1px solid var(--line); background: var(--paper); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .8rem; align-content: start; justify-content: end; }
@media (max-width: 900px) {
  .header-cta { display: inline-flex; }
  .menu-toggle { display: inline-flex; }
  .site-header { align-items: flex-start; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 1rem; background: var(--paper); border-bottom: 1px solid var(--line); justify-content: flex-start; }
  .site-nav.open { display: flex; }
  .home-hero { grid-template-columns: 1fr; }
  .home-hero h1, .page-hero h1 { font-size: clamp(2.15rem, 11vw, 3.35rem); }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .site-footer { grid-template-columns: 1fr; }
  .site-footer nav { justify-content: start; }
}
@media (max-width: 520px) {
  .brand { min-width: 0; }
  .brand small { display: none; }
  .card-grid { grid-template-columns: 1fr; }
  .porch-stage { min-height: 4.5rem; }
  .porch-stage img { width: 4rem; }
  main > section { padding-left: 1rem; padding-right: 1rem; }
  summary { display: grid; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}