/* IPR Collective — clean & minimal */
:root {
  --navy: #1C2A3A;
  --accent: #C1733F;
  --accent-dark: #A65F30;
  --text: #1C2A3A;
  --muted: #6B7380;
  --line: #E7E8EA;
  --grey: #F6F6F4;
  --white: #FFFFFF;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.03em; color: var(--navy); }
h2 { font-size: clamp(2rem, 3.6vw, 2.75rem); line-height: 1.1; }
h3 { font-size: 1.1rem; letter-spacing: -.01em; margin-bottom: 6px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.label { font-size: .9rem; font-weight: 500; color: var(--accent); margin-bottom: 14px; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }
.body-lg { font-size: 1.12rem; color: #3D4654; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: inherit; font-weight: 500; font-size: 1rem; text-decoration: none;
  background: var(--accent); color: #fff; border: 0; border-radius: 999px;
  padding: 14px 28px; cursor: pointer; transition: background .15s;
}
.btn:hover { background: var(--accent-dark); }
.btn-dark { background: var(--navy); }
.btn-dark:hover { background: #0F1923; }
.btn-full { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; }
.text-link { font-weight: 500; text-decoration: none; color: var(--navy); }
.text-link span { display: inline-block; transition: transform .15s; }
.text-link:hover span { transform: translateX(4px); }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { height: 68px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 600; font-size: 1.08rem; letter-spacing: -.01em; }
.logo svg { width: 30px; height: 28px; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { text-decoration: none; font-size: .95rem; color: var(--muted); transition: color .15s; }
.nav a:hover { color: var(--navy); }
.nav .nav-cta { color: var(--navy); font-weight: 500; border: 1px solid var(--line); padding: 8px 18px; border-radius: 999px; }
.nav .nav-cta:hover { border-color: var(--navy); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--navy); margin: 6px 0; transition: transform .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

/* Hero */
.hero { padding: 120px 0 0; }
.hero h1 { font-size: clamp(3rem, 8vw, 6rem); line-height: 1; letter-spacing: -.045em; margin-bottom: 28px; }
.hero .soft { color: #B7BCC4; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 540px; margin-bottom: 36px; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; }
.facts {
  list-style: none; margin: 110px 0 0; padding: 32px 0 0; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.facts strong { display: block; font-weight: 600; }
.facts span { color: var(--muted); font-size: .95rem; }

/* Sections */
.section { padding: 120px 0; }
.hero + .section { padding-top: 120px; }
.section-grey { background: var(--grey); }
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 80px; }
.list { list-style: none; padding: 0; margin: 28px 0 32px; border-top: 1px solid var(--line); }
.list li { padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.list strong { color: var(--navy); font-weight: 600; margin-right: 4px; }
.section-grey .list, .section-grey .list li { border-color: #E3E3DF; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.steps .num {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line); font-weight: 500; font-size: .95rem; margin-bottom: 22px;
}
.steps li:nth-child(2) .num { border-color: var(--accent); color: var(--accent); }
.steps p { color: var(--muted); margin: 0; }

/* About */
.about { display: grid; grid-template-columns: 340px 1fr; gap: 80px; align-items: center; }
.photo { position: relative; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: #ECECE8; }
.photo img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.photo img.missing { display: none; }
.photo-empty { position: absolute; inset: 0; display: grid; place-items: center; }
.photo-empty svg { width: 34%; color: #CFCFC9; --accent: #DDB797; }
.role { color: var(--muted); margin: 8px 0 24px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.35fr; gap: 80px; align-items: start; }
.contact h2 { margin-bottom: 16px; }
.contact a { color: var(--navy); }
.form-card { border: 1px solid var(--line); border-radius: 20px; padding: 32px; }
.tabs { display: inline-flex; background: var(--grey); border-radius: 999px; padding: 4px; margin-bottom: 28px; }
.tab { font: inherit; font-size: .95rem; font-weight: 500; border: 0; background: transparent; color: var(--muted); padding: 9px 20px; border-radius: 999px; cursor: pointer; }
.tab.active { background: var(--white); color: var(--navy); box-shadow: 0 1px 3px rgba(28,42,58,.12); }
.lead-form { display: none; }
.lead-form.active { display: block; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 24px; }
.fields .full { grid-column: 1 / -1; }
.fields label { display: flex; flex-direction: column; gap: 6px; font-size: .9rem; font-weight: 500; }
.opt { font-weight: 400; color: var(--muted); }
input, select, textarea {
  font: inherit; font-size: 1rem; color: var(--text); width: 100%;
  border: 1px solid #DCDEE1; border-radius: 10px; background: var(--white); padding: 12px 14px;
  transition: border-color .15s, box-shadow .15s;
}
select { appearance: none; -webkit-appearance: none; padding-right: 36px; cursor: pointer;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236B7380' stroke-width='1.5'/%3E%3C/svg%3E") right 14px center / 11px no-repeat;
}
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: #A5AAB2; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(28,42,58,.08); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { margin: 14px 0 0; text-align: center; font-size: .95rem; min-height: 1.4em; }
.form-status.ok { color: #2F6B4F; }
.form-status.err { color: #A33A2A; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 48px 0 40px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.footer-nav a { text-decoration: none; color: var(--muted); font-size: .95rem; }
.footer-nav a:hover { color: var(--navy); }
.disclosure { font-size: .8rem; color: #8A919C; max-width: 860px; line-height: 1.7; }

/* Responsive */
@media (max-width: 900px) {
  .split, .about, .contact { grid-template-columns: 1fr; gap: 40px; }
  .photo { max-width: 320px; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 68px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line); padding: 0 20px 20px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; color: var(--navy); }
  .nav .nav-cta { margin-top: 16px; text-align: center; border: 1px solid var(--navy); }
  .hero { padding-top: 72px; }
  .facts { grid-template-columns: 1fr; gap: 18px; margin-top: 72px; }
  .section, .hero + .section { padding: 80px 0; }
  .form-card { padding: 22px 18px; border-radius: 16px; }
  .fields { grid-template-columns: 1fr; }
  .tabs { display: flex; }
  .tab { flex: 1; }
}

/* ============================================================
   Color layer — navy hero, navy buyers band, warm steps, navy footer
   ============================================================ */
:root { --accent-light: #E39A66; --warm: #FBF1E8; --on-navy: #C9D0D9; --navy-line: rgba(255,255,255,.12); }

/* Hero */
.hero { background: var(--navy); padding-bottom: 64px; position: relative; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { color: #fff; }
.hero .soft { color: var(--accent-light); }
.hero .lead { color: var(--on-navy); }
.hero .text-link { color: #fff; }
.hero .facts { border-top-color: var(--navy-line); }
.hero .facts strong { color: #fff; }
.hero .facts span { color: var(--on-navy); }
.hero .facts li { padding-left: 16px; border-left: 3px solid var(--accent); }
.hero-mark { position: absolute; right: -40px; bottom: -60px; width: 520px; height: 484px; color: rgba(255,255,255,.05); --accent: rgba(193,115,63,.35); pointer-events: none; }

/* Navy band */
.section-navy { background: var(--navy); }
.section-navy h2 { color: #fff; }
.section-navy .label { color: var(--accent-light); }
.section-navy .body-lg { color: #E4E8EE; }
.section-navy .list { border-color: var(--navy-line); }
.section-navy .list li { border-color: var(--navy-line); color: var(--on-navy); }
.section-navy .list strong { color: #fff; }

/* Warm steps */
.section-warm { background: var(--warm); }
.steps .num { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
.steps li:nth-child(2) .num { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Contact */
.tab.active { background: var(--navy); color: #fff; box-shadow: none; }
.form-card { border-top: 4px solid var(--accent); }

/* Footer */
.footer { background: var(--navy); border-top: 0; }
.footer .logo { color: #fff; }
.footer-nav a { color: var(--on-navy); }
.footer-nav a:hover { color: #fff; }
.disclosure { color: #8E99A8; }

/* Header CTA */
.nav .nav-cta { background: var(--accent); border-color: var(--accent); color: #fff; }
.nav .nav-cta:hover { background: var(--accent-dark); border-color: var(--accent-dark); }

@media (max-width: 720px) {
  .hero-mark { width: 300px; height: 280px; right: -60px; bottom: -40px; }
  .nav .nav-cta { border: 0; }
}

/* Homeowners section — fuller layout */
.sell-head { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; margin-bottom: 56px; }
.sell-head .body-lg { margin: 0; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--warm); border-radius: 18px; padding: 32px 28px; }
.feature-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--accent); margin-bottom: 22px; }
.feature-icon svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature:nth-child(2) .feature-icon { background: var(--navy); }
.feature h3 { font-size: 1.2rem; margin-bottom: 8px; }
.feature p { color: var(--muted); margin: 0; }
.help-strip {
  margin-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 32px;
  background: var(--navy); border-radius: 18px; padding: 32px 36px;
}
.help-strip h3 { color: #fff; font-size: 1.05rem; margin-bottom: 14px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: .92rem; color: #E4E8EE; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 6px 14px; }
.help-strip .btn { flex: none; }

@media (max-width: 900px) {
  .sell-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 36px; }
  .features { grid-template-columns: 1fr; }
  .help-strip { flex-direction: column; align-items: flex-start; padding: 28px 22px; }
}

/* ===== Fuller sections (buyers, steps, about) ===== */
.section { padding: 100px 0; }
.help-strip p { margin: 0; color: var(--on-navy); }

/* Buyers */
.feature-dark { background: var(--navy-2, #24364A); border: 1px solid rgba(255,255,255,.08); }
.feature-dark h3 { color: #fff; }
.feature-dark p { color: var(--on-navy); }
.feature-dark:nth-child(2) .feature-icon { background: #fff; }
.feature-dark:nth-child(2) .feature-icon svg { stroke: var(--navy); }
.strip-orange { background: var(--accent); }
.strip-orange h3 { color: #fff; }
.strip-orange p { color: #FCE9DC; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--navy); color: #fff; }

/* Steps */
.step-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: none; position: relative; }
.step-card { background: #fff; border-radius: 18px; padding: 32px 28px; position: relative; box-shadow: 0 1px 2px rgba(28,42,58,.04); }
.step-num {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 600; font-size: 1.2rem; margin-bottom: 22px;
}
.step-card:nth-child(2) .step-num { background: var(--navy); }
.step-card:not(:last-child)::after {
  content: "→"; position: absolute; right: -16px; top: 44px; width: 32px; height: 32px; z-index: 2;
  display: grid; place-items: center; border-radius: 50%; background: var(--warm); color: var(--accent); font-weight: 600;
}
.step-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step-card p { color: var(--muted); margin: 0; }

/* About */
#about .about { grid-template-columns: 400px 1fr; align-items: center; }
.photo-empty { background: var(--navy); }
.photo-empty svg { color: rgba(255,255,255,.18); --accent: #C1733F; }
.photo-tag {
  position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2;
  background: #fff; border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column;
  border-left: 4px solid var(--accent);
}
.photo-tag strong { font-weight: 600; }
.photo-tag span { color: var(--muted); font-size: .9rem; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 28px 0 32px; }
.value { background: #fff; border-radius: 14px; padding: 18px 18px 16px; }
.value-bar { display: block; width: 28px; height: 4px; border-radius: 2px; background: var(--accent); margin-bottom: 12px; }
.value-bar.navy { background: var(--navy); }
.value strong { display: block; margin-bottom: 4px; }
.value p { margin: 0; font-size: .92rem; color: var(--muted); }

@media (max-width: 900px) {
  .step-cards { grid-template-columns: 1fr; }
  .step-card:not(:last-child)::after { content: "↓"; right: auto; left: 40px; top: auto; bottom: -26px; }
  #about .about { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 72px 0; }
}
