/* Your Move, Planned: Rosey Homes navy, red and gold */
:root {
  --navy: #13284A;
  --navy-dk: #0C1C36;
  --red: #C8102E;
  --red-lt: #EF5A6F;
  --gold: #C9A13B;
  --gold-lt: #F4ECD8;
  --ivory: #FBF9F5;
  --white: #FFFFFF;
  --ink: #13284A;
  --text: #2B3442;
  --muted: #6B7380;
  --border: #E6E0D4;
  --radius: 16px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Jost', Arial, sans-serif; color: var(--text); background: var(--ivory); font-size: 17px; line-height: 1.7; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: 'Cormorant Garamond', Georgia, serif; color: var(--ink); line-height: 1.15; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 400; margin-bottom: 0.5em; }
h3 { font-size: 1.45rem; font-weight: 600; margin-bottom: 0.35em; }
h1 em, h2 em { font-style: italic; color: var(--red); }
p + p { margin-top: 0.8em; }
.wrap { width: min(1140px, 100% - 32px); margin: 0 auto; }
section { padding: 88px 0; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.eyebrow { display: block; font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); font-weight: 500; margin-bottom: 14px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 720px; }
.alt { background: var(--white); }
.tint { background: var(--gold-lt); }
.dark { background: var(--navy); color: #DCE3EE; }
.dark h2, .dark h3 { color: var(--white); }
.dark h2 em { color: var(--red-lt); }
.dark .eyebrow { color: var(--gold); }
.dark .lead { color: #C3CEDF; }

/* Draft banner: remove before going live */
.draft-banner { background: #FFF3CD; color: #5A4500; font-size: 0.9rem; padding: 10px 0; border-bottom: 1px solid #E8D48A; }
.draft-banner strong { color: #3D2F00; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 18px; }
.brand img { height: 58px; width: auto; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 26px; }
.nav-links a { text-decoration: none; font-size: 0.92rem; color: var(--ivory); letter-spacing: 0.03em; }
.nav-links a:hover { color: var(--gold); }
.menu-toggle { display: none; background: none; border: 1px solid rgba(251, 249, 245, 0.4); color: var(--ivory); border-radius: 8px; padding: 8px 14px; font: inherit; cursor: pointer; }

/* Buttons */
.btn { display: inline-block; padding: 14px 30px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: 0.98rem; border: 2px solid transparent; cursor: pointer; font-family: inherit; }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: #A50D26; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-line { border-color: var(--navy); color: var(--navy); }
.dark .btn-line { border-color: var(--gold); color: var(--gold); }
.nav-links .btn { padding: 10px 22px; color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* Hero */
.hero { padding: 96px 0 84px; background: linear-gradient(180deg, var(--ivory) 0%, var(--gold-lt) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero .lead { margin-top: 20px; }
.hero-card { background: var(--white); border-radius: var(--radius); padding: 34px; border: 1px solid var(--border); box-shadow: 0 18px 40px rgba(19, 40, 74, 0.08); }
.hero-card img { width: 120px; margin: 0 auto 18px; }
.hero-card h3 { text-align: center; }
.hero-card ol { list-style: none; counter-reset: h; margin-top: 16px; display: grid; gap: 10px; }
.hero-card li { counter-increment: h; display: flex; gap: 12px; align-items: baseline; }
.hero-card li::before { content: counter(h); flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--navy); color: var(--white); font-size: 0.85rem; display: flex; align-items: center; justify-content: center; }

/* Cards and grids */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.card .icon { font-size: 1.6rem; display: block; margin-bottom: 8px; }
.card.quote h3 { font-style: italic; font-weight: 400; color: var(--navy); }
.ticks { list-style: none; display: grid; gap: 9px; margin-top: 14px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: "\2713"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

/* The journey */
.journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 44px; position: relative; }
.stage { background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); padding: 28px 24px; position: relative; }
.stage .when { display: inline-block; background: var(--gold-lt); color: #7A5E14; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.06em; padding: 4px 12px; border-radius: 999px; margin-bottom: 12px; }
.stage .num { position: absolute; top: -16px; right: 20px; width: 36px; height: 36px; border-radius: 50%; background: var(--red); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 500; }
.stage ul { list-style: none; display: grid; gap: 8px; margin-top: 10px; font-size: 0.96rem; }
.stage li { padding-left: 18px; position: relative; }
.stage li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

/* Steps (getting started) */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; counter-reset: s; }
.step { counter-increment: s; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(201, 161, 59, 0.4); border-radius: var(--radius); padding: 28px; }
.step::before { content: counter(s); display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--navy); font-weight: 600; margin-bottom: 14px; }

/* Notes */
.note { margin-top: 28px; padding: 16px 20px; border-left: 4px solid var(--gold); background: rgba(201, 161, 59, 0.1); border-radius: 0 10px 10px 0; font-size: 0.92rem; }
.dark .note { color: #DCE3EE; }

/* FAQ */
details { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 18px 22px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 500; color: var(--navy); }
details p { margin-top: 10px; }

/* Contact form */
.contact-list { list-style: none; display: grid; gap: 10px; margin-top: 22px; }
.contact-list a { color: var(--navy); font-weight: 500; }
.cform { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cform label { display: grid; gap: 6px; font-size: 0.9rem; font-weight: 500; color: var(--navy); }
.cform .full { grid-column: 1 / -1; }
.cform input, .cform select, .cform textarea { font: inherit; font-weight: 400; padding: 11px 13px; border: 1px solid var(--border); border-radius: 10px; background: var(--ivory); color: var(--text); width: 100%; }
.cform .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--text); }
.cform .consent input { width: auto; margin-top: 5px; }

/* Footer */
footer { background: var(--navy-dk); color: #B9C4D6; padding: 60px 0 30px; font-size: 0.92rem; }
footer .wrap.cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; }
footer h4 { color: var(--white); font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.3rem; font-weight: 600; margin-bottom: 10px; }
footer ul { list-style: none; display: grid; gap: 6px; }
footer a { color: #DCE3EE; text-decoration: none; }
footer a:hover { color: var(--gold); }
footer .legal { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 36px; padding-top: 20px; font-size: 0.82rem; color: #8E9AB0; }
footer .legal p + p { margin-top: 6px; }

@media (max-width: 980px) {
  .journey { grid-template-columns: 1fr 1fr; gap: 30px 22px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  section { padding: 64px 0; }
  .menu-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 80px; left: 0; right: 0; flex-direction: column; align-items: flex-start; background: var(--navy); padding: 22px 16px; gap: 16px; }
  .nav-links.open { display: flex; }
  .brand img { height: 48px; }
  .hero-grid, .grid-2, footer .wrap.cols { grid-template-columns: 1fr; gap: 36px; }
  .journey, .grid-3, .steps { grid-template-columns: 1fr; }
  .cform { grid-template-columns: 1fr; padding: 22px; }
}

/* ===== The Path Home: the logo's dotted gold path, run through the site ===== */

/* A short winding path that opens a section */
.path-divider { display: block; width: 220px; height: 44px; margin: 0 auto 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 44'%3E%3Cpath d='M6 34 C60 40 70 8 110 8 S160 40 214 10' fill='none' stroke='%23C9A13B' stroke-width='4' stroke-linecap='round' stroke-dasharray='0.1 11'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Eyebrow labels lead in with three path dots */
.eyebrow::before { content: ""; display: inline-block; width: 30px; height: 6px; margin-right: 10px; vertical-align: middle; background: radial-gradient(circle, var(--gold) 2.4px, transparent 2.9px) 0 50% / 11px 6px repeat-x; }
.center .eyebrow::after { content: ""; display: inline-block; width: 30px; height: 6px; margin-left: 10px; vertical-align: middle; background: radial-gradient(circle, var(--gold) 2.4px, transparent 2.9px) 0 50% / 11px 6px repeat-x; }

/* Hero card: the four stages joined by the path, ending at the front door */
.hero-card li { position: relative; padding-bottom: 6px; }
.hero-card li:not(:last-child)::after { content: ""; position: absolute; left: 12px; top: 30px; width: 6px; height: calc(100% - 22px); background: radial-gradient(circle, var(--gold) 2.2px, transparent 2.7px) 50% 0 / 6px 9px repeat-y; }
.hero-card li::before { border-radius: 14px 14px 4px 4px; }
.hero-card li:last-child::before { background: var(--red); }
.front-door { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--border); color: var(--navy); font-weight: 500; }
.front-door svg { flex: 0 0 auto; }

/* Stage numbers become little red front doors */
.stage .num { border-radius: 18px 18px 4px 4px; height: 40px; }

/* The journey: house, winding path through each stage, front door */
.journey-path { display: block; width: 100%; height: auto; margin: 36px 0 -6px; }
@media (max-width: 980px) {
  .journey-path { display: none; }
  .journey { padding-left: 34px; }
  .journey::before { content: ""; position: absolute; left: 8px; top: 0; bottom: 40px; width: 6px; background: radial-gradient(circle, var(--gold) 2.4px, transparent 2.9px) 50% 0 / 6px 12px repeat-y; }
  .journey::after { content: ""; position: absolute; left: -2px; bottom: 0; width: 26px; height: 36px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 36'%3E%3Cpath d='M1 36 V14 A12 12 0 0 1 25 14 V36 Z' fill='%23C8102E'/%3E%3Cpath d='M5 36 V15 A8 8 0 0 1 21 15 V36 Z' fill='%23FBF9F5'/%3E%3Ccircle cx='17.5' cy='25' r='1.4' fill='%2313284A'/%3E%3C/svg%3E") center / contain no-repeat; }
  .journey { grid-template-columns: 1fr; }
}

/* Getting started: the steps joined by the path */
.steps { position: relative; }
@media (min-width: 761px) {
  .steps::before { content: ""; position: absolute; left: 60px; right: 60px; top: 47px; height: 6px; background: radial-gradient(circle, var(--gold) 2.4px, transparent 2.9px) 0 50% / 12px 6px repeat-x; z-index: 0; }
  .step { position: relative; z-index: 1; background: var(--navy); }
}

/* Footer: the path runs along the top, ending at the door */
footer { position: relative; }
footer::before { content: ""; position: absolute; left: 0; right: 46px; top: 22px; height: 6px; background: radial-gradient(circle, rgba(201, 161, 59, 0.75) 2.2px, transparent 2.7px) 0 50% / 13px 6px repeat-x; }
footer::after { content: ""; position: absolute; right: 16px; top: 6px; width: 22px; height: 30px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 36'%3E%3Cpath d='M1 36 V14 A12 12 0 0 1 25 14 V36 Z' fill='%23C8102E'/%3E%3Cpath d='M5 36 V15 A8 8 0 0 1 21 15 V36 Z' fill='%230C1C36'/%3E%3Ccircle cx='17.5' cy='25' r='1.4' fill='%23C9A13B'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Coming soon label */
.soon { display: inline-block; font-family: "Jost", Arial, sans-serif; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); background: rgba(200, 16, 46, 0.08); border-radius: 999px; padding: 2px 9px; margin-left: 6px; vertical-align: middle; font-style: normal; }
