:root {
  --ink: #142433;
  --muted: #66746e;
  --line: #dce4df;
  --paper: #f7f4ee;
  --white: #ffffff;
  --blue: #23495f;
  --blue-dark: #18384f;
  --blue-light: #9dc7dc;
  --shadow: 0 18px 50px rgba(20, 36, 51, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(14, 29, 42, 0.76), rgba(14, 29, 42, 0));
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.menu-open {
  color: var(--ink);
  background: rgba(247, 244, 238, 0.94);
  box-shadow: 0 8px 28px rgba(20, 36, 51, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 184px;
  min-width: 184px;
}

.brand-logo {
  width: 100%;
  height: auto;
  background: var(--white);
  display: block;
}

.nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  font-size: 0.95rem;
  font-weight: 700;
}

.header-cta {
  padding: 11px 16px;
  border: 1px solid currentColor;
  font-weight: 800;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 6px auto;
  background: currentColor;
}

.mobile-menu {
  position: fixed;
  z-index: 19;
  top: 70px;
  left: 16px;
  right: 16px;
  display: none;
  padding: 12px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.mobile-menu a {
  display: block;
  padding: 13px 10px;
  color: var(--ink);
  font-weight: 800;
}

.mobile-menu.is-open {
  display: block;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  align-items: end;
  gap: 32px;
  padding: 150px clamp(20px, 5vw, 72px) 52px;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 25, 38, 0.92) 0%, rgba(10, 25, 38, 0.64) 48%, rgba(10, 25, 38, 0.18) 100%),
    linear-gradient(0deg, rgba(10, 25, 38, 0.58), rgba(10, 25, 38, 0.08));
}

.hero-content,
.deal-panel {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.77rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.investor-section .eyebrow,
.process-section .eyebrow {
  color: var(--blue-light);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(2.9rem, 6.5vw, 5.9rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.4vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.15;
}

.hero-copy {
  max-width: 690px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--white);
  background: var(--blue);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.08);
}

.deal-panel {
  padding: 26px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.deal-panel span,
.property-card span {
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.deal-panel strong {
  display: block;
  margin-top: 10px;
  font-size: 1.5rem;
  line-height: 1.12;
}

.deal-grid {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.deal-grid p {
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.deal-grid b {
  color: var(--ink);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.trust-strip div {
  min-height: 132px;
  padding: 28px clamp(18px, 3vw, 40px);
  background: var(--white);
}

.trust-strip strong {
  display: block;
  color: var(--blue);
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
}

.trust-strip span {
  display: block;
  max-width: 190px;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
}

.split-section,
.contact-section,
.criteria-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 72px);
  padding: clamp(72px, 9vw, 124px) clamp(20px, 5vw, 72px);
}

.section-copy p,
.section-heading p,
.contact-copy p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.05rem;
}

.feature-list {
  display: grid;
  gap: 16px;
}

.feature-list article {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: start;
  gap: 18px;
  padding: 26px;
  background: var(--white);
  border-left: 4px solid var(--blue);
}

.feature-list .icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  font-size: 0.8rem;
  font-weight: 900;
}

.feature-list p,
.timeline p,
.property-card p {
  margin: 8px 0 0;
  color: var(--muted);
}

.feature-list article p {
  grid-column: 2;
}

.investor-section,
.process-section {
  padding: clamp(72px, 9vw, 124px) clamp(20px, 5vw, 72px);
  background: var(--blue-dark);
  color: var(--white);
}

.investor-section .section-heading p,
.process-section .section-heading p {
  color: rgba(255, 255, 255, 0.74);
}

.inventory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.property-card {
  min-width: 0;
  background: var(--white);
  color: var(--ink);
}

.property-card img {
  width: 100%;
  aspect-ratio: 1.42;
  object-fit: cover;
}

.property-card div {
  padding: 22px;
}

.criteria-section {
  align-items: start;
}

.criteria-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.criteria-list li {
  padding: 18px 20px;
  background: var(--white);
  border-left: 4px solid var(--blue);
  color: var(--ink);
  font-weight: 800;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.timeline article {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.timeline span {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 26px;
  place-items: center;
  background: var(--blue-light);
  color: var(--ink);
  font-weight: 900;
}

.contact-section {
  background: var(--white);
}

.contact-methods {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  color: var(--blue);
  font-size: 1.15rem;
  font-weight: 900;
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 36px);
  background: var(--paper);
  border: 1px solid var(--line);
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 900;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: var(--white);
}

.lead-form textarea {
  resize: vertical;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--blue);
  font-weight: 800;
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

.thank-you-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--paper);
}

.thank-you {
  width: min(720px, 100%);
  padding: clamp(32px, 6vw, 64px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.thank-you .brand {
  margin-bottom: 42px;
}

.thank-you h1 {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
}

.thank-you p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.08rem;
}

.thank-you a:not(.button) {
  color: var(--blue);
  font-weight: 900;
}

.thank-you .button {
  margin-top: 18px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.72);
  background: #0d2233;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .nav,
  .header-cta {
    display: none;
  }

  .menu-button {
    display: block;
    justify-self: end;
  }

  .hero,
  .split-section,
  .contact-section,
  .criteria-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 132px;
  }

  .deal-panel {
    max-width: 520px;
  }

  .trust-strip,
  .inventory-grid,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand {
    width: 150px;
    min-width: 150px;
  }

  .hero {
    padding: 112px 18px 34px;
  }

  h1 {
    font-size: clamp(2.55rem, 15vw, 4rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .trust-strip,
  .inventory-grid,
  .timeline,
  .criteria-list {
    grid-template-columns: 1fr;
  }

  .split-section,
  .contact-section,
  .criteria-section,
  .investor-section,
  .process-section {
    padding: 64px 18px;
  }

  .feature-list article {
    gap: 14px 16px;
    padding: 24px;
  }

  .feature-list article p {
    grid-column: 1 / -1;
  }

  .site-footer {
    display: grid;
  }
}
