/* ===== Brand tokens (pulled from the logo) ===== */
:root {
  --navy: #1d2440;
  --navy-2: #2a3256;
  --blush: #e9b8bb;
  --blush-soft: #f8e6e6;
  --sage: #8c9a6c;
  --sage-soft: #eef1e6;
  --gold: #c3a26a;
  --cream: #fcf9f6;
  --ink: #2b2f3a;
  --muted: #646a78;
  --line: #ece4dd;
  --white: #ffffff;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --shadow: 0 10px 30px rgba(29, 36, 64, 0.08);
  --header-h: 72px;
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
h3 { font-size: 1.5rem; }
h4 { margin: 0 0 .25em; font-size: 1rem; color: var(--navy); }
p { margin: 0 0 1em; }

.container { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 40px); }

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

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.eyebrow {
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 700; color: var(--sage); margin-bottom: .75em;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85em 1.6em; border-radius: 999px; border: 2px solid var(--navy);
  background: var(--navy); color: #fff; font: 700 .95rem/1 var(--sans);
  text-decoration: none; cursor: pointer; transition: transform .15s, background .2s, color .2s;
}
.btn:hover { background: var(--navy-2); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-small { padding: .6em 1.2em; font-size: .88rem; }
.btn-block { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(252, 249, 246, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(29,36,64,.05); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 40px; width: auto; }
.brand-name { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; color: var(--navy); letter-spacing: .04em; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink); position: relative; }
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 2px;
  background: var(--blush); transform: scaleX(0); transition: transform .2s;
}
.site-nav a:not(.btn):hover::after { transform: scaleX(1); }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: transform .2s, opacity .2s; }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden; text-align: center;
  padding: 56px 0 88px;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, var(--blush-soft), transparent 70%),
    radial-gradient(ellipse 40% 40% at 90% 90%, var(--sage-soft), transparent 70%),
    var(--cream);
}
.hero-inner { max-width: 820px; }
.hero-logo { width: min(520px, 90%); margin: 0 auto 28px; }
.hero h1 { margin-bottom: .4em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; margin: 0 auto 2em; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-facts {
  list-style: none; padding: 0; margin: 48px auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  max-width: 620px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
}
.hero-facts li { padding: 20px 12px; display: flex; flex-direction: column; }
.hero-facts li + li { border-left: 1px solid var(--line); }
.hero-facts strong { font-family: var(--serif); font-size: 1.6rem; color: var(--navy); line-height: 1.1; }
.hero-facts span { font-size: .85rem; color: var(--muted); }

/* ===== Sections ===== */
.section { padding: 96px 0; }
.section-tint { background: var(--white); }
.section-navy { background: var(--navy); color: #d9dcea; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy .eyebrow { color: var(--blush); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head p:last-child { color: var(--muted); }
.section-navy .section-head p:last-child { color: #b9bdd2; }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.split-top { align-items: start; }

.pillars { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pillars li {
  font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--navy);
  background: var(--white); border-left: 3px solid var(--blush); padding: 12px 16px; border-radius: 0 10px 10px 0;
}

/* ===== Cards ===== */
.card { background: var(--white); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.card-muted { background: var(--blush-soft); box-shadow: none; }
.card-stack { display: grid; gap: 20px; }
.card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.4rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot-sage { background: var(--sage); }
.dot-blush { background: #d48f95; }
.small { font-size: .95rem; color: var(--muted); margin: 0; }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--sage-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238c9a6c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* ===== Pricing ===== */
.pricing { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 880px; margin: 0 auto; }
.price-card {
  background: var(--cream); border: 1px solid var(--line); border-radius: 22px; padding: 36px;
  display: flex; flex-direction: column;
}
.price-card.featured { background: var(--white); border: 2px solid var(--blush); box-shadow: var(--shadow); }
.price-card .check-list { margin: 22px 0 28px; flex: 1; }
.badge {
  align-self: flex-start; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: var(--blush); color: var(--navy); padding: 5px 12px; border-radius: 999px; margin-bottom: 16px;
}
.badge-soft { background: var(--sage-soft); color: #5d6a40; }
.price { margin: 0; color: var(--muted); }
.price span { font-family: var(--serif); font-size: 3rem; font-weight: 700; color: var(--navy); }
.price-note { font-size: .9rem; color: var(--muted); margin: 0; }

.extras { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 880px; margin: 28px auto 0; }
.extra { border: 1px dashed var(--gold); border-radius: 14px; padding: 18px 22px; }
.extra p { margin: 0; font-size: .95rem; color: var(--muted); }

/* ===== Features ===== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { background: var(--white); border-radius: var(--radius); padding: 32px; text-align: center; box-shadow: var(--shadow); }
.feature p { color: var(--muted); margin: 0; }
.icon {
  width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 18px;
  display: grid; place-items: center; background: var(--blush-soft);
}
.icon svg, .contact-list svg { width: 26px; height: 26px; fill: none; stroke: var(--navy); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.note {
  margin: 36px auto 0; max-width: 820px; text-align: center; font-size: .95rem; color: var(--muted);
  background: var(--sage-soft); border-radius: 14px; padding: 18px 24px;
}
.note strong { color: var(--navy); }

/* ===== House life ===== */
.info-card { background: var(--navy-2); border-radius: var(--radius); padding: 28px; }
.info-card h3 { font-size: 1.45rem; margin-bottom: 14px; }
.info-card dl { margin: 0; }
.info-card dl div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.1); }
.info-card dt { color: #b9bdd2; }
.info-card dd { margin: 0; font-weight: 700; color: #fff; text-align: right; }

.rules { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin-top: 40px; }
.rules details { border-bottom: 1px solid rgba(255,255,255,.15); }
.rules summary, .faq summary {
  list-style: none; cursor: pointer; padding: 16px 32px 16px 0; position: relative; font-weight: 700;
}
.rules summary { color: #fff; }
.rules summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.rules summary::after, .faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; font-weight: 400; color: var(--blush); transition: transform .2s;
}
.rules details[open] summary::after, .faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.rules details p { color: #c9cce0; margin: 0 0 18px; }

/* ===== Steps ===== */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.steps li { position: relative; padding: 32px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.steps span {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; margin-bottom: 16px;
  background: var(--navy); color: #fff; font-family: var(--serif); font-size: 1.4rem; font-weight: 700;
}
.steps p { color: var(--muted); margin: 0; }

/* ===== FAQ ===== */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { color: var(--navy); font-size: 1.05rem; }
.faq details p { color: var(--muted); margin: 0 0 18px; }

/* ===== Contact / Form ===== */
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-list svg { width: 22px; height: 22px; flex: none; stroke: var(--sage); }

.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { font-weight: 700; font-size: .9rem; color: var(--navy); }
.optional { font-weight: 400; color: var(--muted); }
input, select, textarea {
  font: inherit; font-size: 1rem; color: var(--ink); width: 100%;
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--cream);
  transition: border-color .2s, background .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--sage); background: #fff; }
.invalid { border-color: #c96a72 !important; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--muted); }
.checkbox input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--navy); flex: none; }
.form-status { margin: 0; font-size: .92rem; text-align: center; min-height: 1.4em; }
.form-status.error { color: #b4545d; }
.form-status.success { color: #5d6a40; }

/* ===== Footer ===== */
.site-footer { background: var(--white); border-top: 1px solid var(--line); padding: 56px 0 32px; text-align: center; }
.footer-logo { width: min(320px, 80%); margin: 0 auto 18px; }
.tagline { font-family: var(--serif); font-size: 1.2rem; font-style: italic; color: var(--navy); }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin: 22px 0; }
.footer-nav a { text-decoration: none; font-weight: 600; font-size: .92rem; }
.fine { font-size: .8rem; color: var(--muted); max-width: 640px; margin: 0 auto; }

/* ===== Reveal on scroll ===== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .grid-3, .steps { grid-template-columns: 1fr; }
  .rules { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(29,36,64,.08);
    padding: 8px 20px 20px; display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav .btn { margin-top: 16px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container, .narrow { width: calc(100% - 32px); }
  .section { padding: 68px 0; }
  .hero { padding: 36px 0 64px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-facts strong { font-size: 1.3rem; }
  .pricing, .extras, .field-row, .pillars { grid-template-columns: 1fr; }
  .price-card, .card { padding: 26px; }
  .brand-name { font-size: 1.15rem; }
  .brand img { height: 34px; }
}

.contact-text { display: flex; flex-direction: column; line-height: 1.3; }
.contact-label { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
