:root {
  --porcelain: #faf8f3;
  --ink: #47463f;
  --ink-soft: #5f5e54;
  --slate-deep: #33495b;
  --slate: #4d677c;
  --periwinkle: #88a3c8;
  --sage: #9aab84;
  --line: #ebe7de;
  --mist: #e9eef4;
  --sage-mist: #eef1e8;
  --on-slate-soft: #d5dde6;
  --icon-on-slate: #c9d6e8;
  --serif: "Cormorant Garamond", serif;
}

body {
  margin: 0;
  background: var(--porcelain);
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
}

.thanks {
  margin: 0;
  padding: 10px 16px;
  background: var(--slate-deep);
  color: var(--porcelain);
  text-align: center;
  font-size: 14px;
  line-height: 1.4;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
a { color: var(--slate-deep); }
a:hover { color: var(--slate); }
h1, h2, h3, p { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding-top: 88px; padding-bottom: 88px; }
.stack-24 { display: flex; flex-direction: column; gap: 24px; }
.stack-40 { display: flex; flex-direction: column; gap: 40px; }
.h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 4vw, 48px); line-height: 1.1; color: var(--slate-deep); overflow-wrap: break-word; }
.body-lg { font-size: 18px; line-height: 1.6; color: var(--ink-soft); }
.card-title { font-size: 20px; font-weight: 600; color: var(--slate-deep); }

.btn { display: inline-flex; align-items: center; min-height: 48px; border-radius: 999px; text-decoration: none; background: var(--slate-deep); color: var(--porcelain); }
.btn:hover { color: var(--porcelain); background: var(--slate); }
.btn-nav { min-height: 44px; padding: 12px 20px; }
.btn-primary { padding: 14px 26px; font-weight: 500; font-size: 16px; }

/* ---------- header ---------- */
.site-header { max-width: 1200px; margin: 0 auto; padding: 24px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.brand { display: flex; flex-direction: column; gap: 2px; }
.brand-name { font-family: var(--serif); font-size: 28px; font-weight: 600; color: var(--slate-deep); line-height: 1; }
.brand-tag { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.site-nav { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; font-size: 15px; }
.site-nav a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; }
@media (max-width: 639px) {
  .site-header { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ---------- hero ---------- */
.hero { max-width: 1200px; margin: 0 auto; padding: 48px 24px 72px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero-text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.eyebrow { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate); font-weight: 600; }
.display { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 6vw, 76px); line-height: 1.02; color: var(--slate-deep); overflow-wrap: break-word; }
.lede { font-size: 19px; line-height: 1.55; max-width: 34em; color: var(--ink-soft); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.pill { display: inline-flex; align-items: center; min-height: 48px; padding: 14px 22px; border-radius: 999px; border: 1px dashed #9c9a97; color: var(--ink-soft); font-size: 15px; }
.hero-visual { flex: 1 1 300px; min-width: 0; display: flex; justify-content: center; }
.phone { width: 300px; max-width: 100%; aspect-ratio: 300 / 610; border-radius: 48px; border: 12px solid var(--slate-deep); background: var(--mist); box-shadow: 0 30px 60px rgba(51, 73, 91, 0.25); overflow: hidden; }

/* ---------- proof ---------- */
.proof { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof .wrap { padding-top: 40px; padding-bottom: 40px; }
.proof-intro { font-family: var(--serif); font-size: 26px; color: var(--slate-deep); text-align: center; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); gap: 16px; text-align: center; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num { font-family: var(--serif); font-size: 52px; color: var(--slate-deep); line-height: 1; }
.stat-label { font-size: 14px; color: var(--ink-soft); }

/* ---------- not a wall ---------- */
#not-a-wall { display: flex; flex-direction: column; gap: 40px; }
.intro { display: flex; flex-direction: column; gap: 12px; max-width: 40em; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.old-way { font-size: 13px; color: var(--ink-soft); text-decoration: line-through; }
.card-body { font-size: 15px; line-height: 1.5; color: var(--ink-soft); }

/* ---------- features ---------- */
.features { background: var(--slate-deep); color: var(--porcelain); }
.features .h2 { color: var(--porcelain); }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 20px; }
.feature { background: rgba(255, 255, 255, 0.07); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 12px; color: var(--icon-on-slate); }
.feature .card-title { color: var(--porcelain); }
.feature .card-body { font-size: 15px; line-height: 1.55; color: var(--on-slate-soft); }

/* ---------- made with you ---------- */
.made { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.made-text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.tiles { flex: 1 1 380px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.tile-top { font-size: 22px; color: var(--slate); line-height: 1; }
.tile-serif { font-family: var(--serif); font-size: 26px; color: var(--slate-deep); }
.tile-title { font-size: 16px; font-weight: 600; color: var(--slate-deep); }
.tile-body { font-size: 14px; color: var(--ink-soft); }
.swatches { display: flex; gap: 6px; }
.sw { width: 22px; height: 22px; border-radius: 50%; }
.sw-1 { background: var(--slate-deep); }
.sw-2 { background: var(--periwinkle); }
.sw-3 { background: var(--sage); }
.sw-4 { background: var(--line); }

/* ---------- how ---------- */
.how { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 28px; }
.step { display: flex; flex-direction: column; gap: 10px; }
.step-num { font-family: var(--serif); font-size: 44px; color: var(--slate); line-height: 1; }
.step-title { font-size: 19px; font-weight: 600; color: var(--slate-deep); }
.step-body { font-size: 15px; line-height: 1.55; color: var(--ink-soft); }

/* ---------- reassurance ---------- */
.reassure { padding-top: 72px; padding-bottom: 72px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.note { border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.note-mist { background: var(--mist); }
.note-sage { background: var(--sage-mist); }
.note-body { font-size: 16px; line-height: 1.55; color: var(--ink); }

/* ---------- about ---------- */
.about { padding-top: 40px; padding-bottom: 88px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.about-figure { flex: 0 1 320px; min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.about-photo { display: block; width: 100%; height: auto; border-radius: 24px; background: var(--line); }
.photo-credit { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--ink-soft); }
.about-text { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.about-text .body-lg { line-height: 1.65; }

/* ---------- contact ---------- */
.contact { background: var(--slate-deep); color: var(--porcelain); }
.contact .h2 { color: var(--porcelain); }
.contact .body-lg, .demo-note { color: var(--on-slate-soft); }
.contact-grid { display: flex; flex-wrap: wrap; gap: 48px; }
.contact-text { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.price { font-family: var(--serif); font-size: 30px; }
.demo-note { font-size: 15px; }

/* ---------- footer ---------- */
.site-footer { max-width: 1200px; margin: 0 auto; padding: 28px 24px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; font-size: 14px; color: var(--ink-soft); }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }

/* ---------- concierge demo ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.screen { height: 100%; display: flex; flex-direction: column; background: var(--mist); position: relative; }
.chat-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: #fff; border-bottom: 1px solid var(--line); }
.chat-title { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--slate-deep); }
.chat-demo { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.chat-log { flex: 1 1 0; min-height: 0; overflow-y: auto; padding: 14px 12px; display: flex; flex-direction: column; gap: 10px; }
.bubble { margin: 0; padding: 10px 14px; border-radius: 18px; font-size: 14px; line-height: 1.45; max-width: 88%; overflow-wrap: anywhere; }
.bubble-q { align-self: flex-end; background: var(--slate-deep); color: var(--porcelain); border-bottom-right-radius: 6px; }
.bubble-a { align-self: flex-start; background: #fff; color: var(--ink); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.chat-questions { flex: none; display: flex; flex-direction: column; gap: 6px; padding: 10px 12px 14px; background: #fff; border-top: 1px solid var(--line); }
.chat-questions[hidden] { display: none; }
.chat-questions button { min-height: 44px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--slate); background: var(--porcelain); color: var(--slate-deep); font: inherit; font-size: 13px; line-height: 1.25; text-align: left; cursor: pointer; }
.chat-questions button:hover { background: var(--mist); }
.chat-questions button:focus-visible { outline: 2px solid var(--slate-deep); outline-offset: 2px; }
.chat-log:focus-visible { outline: 2px solid var(--slate-deep); outline-offset: -2px; }

/* ---------- motion (only when main.js enables it) ---------- */
html.motion .reveal { transition: opacity 0.6s ease-out, translate 0.6s ease-out; }
html.motion .reveal:not(.is-in) { opacity: 0; translate: 0 12px; }
html.motion .old-way { position: relative; text-decoration: none; }
html.motion .old-way::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 55%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.6s ease-out 0.4s;
}
html.motion .reveal.is-in .old-way::after { transform: scaleX(1); }

@media print {
  html.motion .reveal { opacity: 1 !important; translate: none !important; transition: none; }
  html.motion .old-way { text-decoration: line-through; }
  html.motion .old-way::after { display: none; }
}

/* ---------- contact form ---------- */
.contact-form-wrap { flex: 1 1 420px; min-width: 0; }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.field-row { display: flex; flex-wrap: wrap; gap: 14px; }
.field { flex: 1 1 180px; min-width: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--on-slate-soft); }
.field input, .field textarea { width: 100%; min-width: 0; box-sizing: border-box; min-height: 48px; border-radius: 12px; border: 1px solid #5f7c93; background: var(--porcelain); padding: 0 14px; font: inherit; font-size: 16px; color: #47463f; }
.field textarea { padding: 12px 14px; resize: vertical; }
.field input::placeholder { color: #6b6a64; opacity: 1; }
.field input:focus-visible, .field textarea:focus-visible, .send:focus-visible { outline: 2px solid var(--porcelain); outline-offset: 2px; }
.send { align-self: flex-start; min-height: 48px; padding: 0 28px; border-radius: 999px; border: 0; background: var(--porcelain); color: var(--slate-deep); font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; }
.send:disabled { opacity: 0.75; cursor: progress; }
.form-status { margin: 0; font-size: 15px; line-height: 1.5; color: var(--on-slate-soft); }
.form-status:empty { display: none; }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.contact-done { color: var(--porcelain); font-family: var(--serif); font-size: 30px; line-height: 1.2; }
.contact-done:focus { outline: none; }

/* ---------- privacy page ---------- */
.brand-link { text-decoration: none; min-height: 44px; justify-content: center; }
.policy { max-width: 720px; margin: 0 auto; padding: 24px 24px 64px; display: flex; flex-direction: column; gap: 20px; }
.policy section { display: flex; flex-direction: column; gap: 8px; }
.policy p { font-size: 17px; line-height: 1.6; }
.policy .body-lg { font-size: 18px; }
.policy-date { color: var(--ink-soft); font-size: 15px; }
.policy-h { font-family: var(--serif); font-weight: 600; font-size: 26px; line-height: 1.2; color: var(--slate-deep); }
.policy a { overflow-wrap: anywhere; }
.policy .policy-link { display: inline-flex; align-items: center; min-height: 44px; }
