:root {
  --navy: #123044;
  --navy-2: #17384a;
  --teal: #27656b;
  --gold: #e0b75f;
  --sage: #8ca38b;
  --paper: #faf6eb;
  --ink: #17201d;
  --muted: rgba(23,32,29,.68);
  --line: rgba(23,32,29,.14);
  --white: #fffdf7;
  font-family: Inter, Avenir, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Avenir, "Segoe UI", Arial, sans-serif;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 5px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 950;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only,
.hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(180px, 260px) 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 76px;
  padding: 0 42px;
  background: rgba(18,48,68,.96);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.13);
}

.nav.grid-x {
  display: flex;
  flex-wrap: nowrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 6px;
}

.brand-word {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links {
  justify-content: center;
  color: rgba(255,255,255,.8);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.nav-actions {
  justify-content: end;
  gap: 10px;
}

.button,
.button-alt,
.nav-cta,
.nav-foreclosure,
.form-submit {
  display: inline-grid;
  place-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
  margin: 0;
}

.button,
.nav-cta {
  background: var(--gold);
  color: var(--navy);
}

.button-alt,
.nav-foreclosure {
  color: #fff;
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(255,255,255,.08);
}

.form-submit {
  width: 100%;
  background: var(--navy);
  color: #fff;
  border: 0;
  margin-top: 12px;
  cursor: pointer;
}

.hero,
.conversion-hero {
  position: relative;
  display: grid;
  align-items: center;
  gap: 40px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(124deg, var(--navy) 0%, var(--navy-2) 46%, var(--teal) 100%);
}

.hero.grid-x,
.conversion-hero.grid-x {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.hero-copy.cell {
  padding-right: 40px;
}

.conversion-hero .hero-copy.cell {
  padding-right: 36px;
}

.hero {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 560px);
  min-height: 560px;
  padding: 76px 42px;
}

.conversion-hero {
  grid-template-columns: minmax(320px, .78fr) minmax(560px, 820px);
  min-height: calc(100vh - 76px);
  padding: 50px 42px 66px;
}

.hero::after,
.conversion-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, var(--paper));
  pointer-events: none;
}

.hero-copy,
.lead-panel {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 18px;
  max-width: 780px;
  font-size: clamp(43px, 5.7vw, 76px);
  line-height: .98;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 680px;
  margin: 0 0 26px;
  color: rgba(255,255,255,.82);
  font-size: 20px;
  line-height: 1.42;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.proof-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 11px;
  border-radius: 5px;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.86);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.lead-panel {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(250,246,235,.98);
  box-shadow: 0 28px 80px rgba(0,0,0,.32);
}

.lead-logo {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 250px;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy);
  border-bottom: 7px solid var(--gold);
}

.lead-logo.tall {
  min-height: 320px;
}

.lead-logo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(18,48,68,.14), rgba(18,48,68,.72)),
    linear-gradient(90deg, rgba(18,48,68,.28), transparent 48%, rgba(18,48,68,.22));
}

.lead-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  animation: photoFade 36s infinite;
}

.lead-photo:nth-child(1) {
  background-image: url("https://upload.wikimedia.org/wikipedia/commons/8/83/Willamette_Falls_from_Oregon_City.jpg");
  animation-delay: 0s;
}

.lead-photo:nth-child(2) {
  background-image: url("https://commons.wikimedia.org/wiki/Special:FilePath/Oregon_Mount_Hood_from_Trillium_Lake_2024.jpg");
  animation-delay: 6s;
}

.lead-photo:nth-child(3) {
  background-image: url("https://commons.wikimedia.org/wiki/Special:FilePath/Columbia_River_Gorge_from_Crown_Point.jpg");
  animation-delay: 12s;
}

.lead-photo:nth-child(4) {
  background-image: url("https://commons.wikimedia.org/wiki/Special:FilePath/Wahclella_Falls_by_Max_Benbassat.jpg");
  animation-delay: 18s;
}

.lead-photo:nth-child(5) {
  background-image: url("https://commons.wikimedia.org/wiki/Special:FilePath/Portland_and_Mt._Hood.jpg");
  animation-delay: 24s;
}

.lead-photo:nth-child(6) {
  background-image: url("https://commons.wikimedia.org/wiki/Special:FilePath/Elowah_Falls_2597.JPG");
  animation-delay: 30s;
}

@keyframes photoFade {
  0%, 100% {
    opacity: 0;
  }
  5%, 16.66% {
    opacity: 1;
  }
  22% {
    opacity: 0;
  }
}

.lead-logo img {
  position: relative;
  z-index: 2;
  display: block;
  width: min(270px, 76%);
  max-height: 210px;
  object-fit: contain;
  box-shadow: 0 24px 56px rgba(0,0,0,.25);
}

.lead-form {
  padding: 26px;
  background: rgba(250,246,235,.98);
  color: var(--ink);
}

.lead-form h2 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 31px;
  line-height: 1.08;
}

.lead-form p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
}

.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.field {
  min-height: 48px;
  display: grid;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(23,32,29,.13);
  border-radius: 5px;
  background: #fffdf7;
  color: rgba(23,32,29,.5);
  font-size: 14px;
}

input.field,
select.field,
textarea.field {
  width: 100%;
  display: block;
  font: inherit;
  color: var(--ink);
  outline: none;
  margin: 0;
}

input.field::placeholder,
textarea.field::placeholder {
  color: rgba(23,32,29,.5);
}

textarea.field {
  resize: vertical;
}

.field.address,
.field.notes {
  grid-column: 1 / -1;
}

.field.notes {
  min-height: 92px;
  align-items: start;
  padding-top: 13px;
}

.fields.grid-x {
  display: flex;
  gap: 0;
}

.microcopy {
  margin-top: 11px;
  color: rgba(23,32,29,.58);
  font-size: 12px;
  line-height: 1.35;
}

.consent-row {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  margin-top: 12px;
  color: rgba(23,32,29,.68);
  font-size: 12px;
  line-height: 1.35;
}

.consent-row input {
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
}

.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 74px 42px;
}

.band {
  background: #fffdf7;
  border-top: 1px solid rgba(23,32,29,.08);
  border-bottom: 1px solid rgba(23,32,29,.08);
}

.section-head {
  max-width: 780px;
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
}

.section-head p,
.copy p {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.45;
}

.grid-2,
.grid-3,
.grid-4,
.faq-grid,
.steps {
  display: grid;
  gap: 14px;
}

.grid-2,
.faq-grid {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3,
.steps {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-x.grid-2,
.grid-x.grid-3,
.grid-x.grid-4,
.grid-x.faq-grid,
.grid-x.steps {
  display: flex;
  gap: 0;
}

.card,
.faq,
.step,
.area {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.58);
}

.card strong,
.faq strong,
.step strong {
  display: block;
  color: var(--navy);
  font-size: 19px;
  line-height: 1.15;
}

.card span,
.faq span,
.step span {
  display: block;
  margin-top: 8px;
  color: rgba(23,32,29,.68);
  font-size: 15px;
  line-height: 1.38;
}

.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 42px;
  align-items: start;
}

.copy h2 {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
}

.copy p + p {
  margin-top: 15px;
}

.quote-box {
  margin-top: 24px;
  padding: 20px;
  border-left: 6px solid var(--gold);
  background: rgba(255,255,255,.62);
  color: var(--navy);
  font-size: 20px;
  line-height: 1.35;
  font-weight: 800;
}

.mini-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.mini-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.42;
}

.mini-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .58em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}

.callout {
  padding: 22px;
  border: 1px solid rgba(224,183,95,.44);
  border-left: 7px solid var(--gold);
  border-radius: 8px;
  background: rgba(255,253,247,.76);
}

.callout strong {
  display: block;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.15;
}

.callout span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.42;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 28px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
}

.final-cta h2 {
  margin: 0 0 8px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1;
}

.final-cta p {
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 17px;
  line-height: 1.4;
}

.legal-note {
  margin-top: 18px;
  color: rgba(23,32,29,.62);
  font-size: 13px;
  line-height: 1.45;
}

.dark-band {
  background:
    radial-gradient(circle at 82% 18%, rgba(224,183,95,.24), transparent 28%),
    linear-gradient(124deg, var(--navy) 0%, var(--navy-2) 46%, var(--teal) 100%);
  color: #fff;
}

.dark-band .section-head h2,
.dark-band .copy h2 {
  color: #fff;
}

.dark-band .section-head p,
.dark-band .copy p {
  color: rgba(255,255,255,.78);
}

.dark-card {
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
}

.dark-card strong {
  color: #fff;
}

.dark-card span {
  color: rgba(255,255,255,.78);
}

.area {
  display: grid;
  place-items: center;
  min-height: 54px;
  color: var(--navy);
  font-weight: 850;
  text-align: center;
}

.footer {
  padding: 30px 42px 42px;
  background: #0f2736;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  line-height: 1.45;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
}

.footer a {
  color: rgba(255,255,255,.86);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1120px) {
  .hero,
  .conversion-hero,
  .split {
    grid-template-columns: 1fr;
  }

  .grid-4,
  .grid-3,
  .steps,
  .final-cta {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-copy.cell,
  .conversion-hero .hero-copy.cell {
    padding-right: 0;
    margin-bottom: 28px;
  }
}

@media (max-width: 780px) {
  .nav,
  .nav.grid-x {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    padding: 12px 18px;
  }

  .nav-links {
    display: none;
  }

  .nav-actions {
    justify-content: stretch;
  }

  .nav-actions a {
    flex: 1;
  }

  .hero,
  .conversion-hero {
    min-height: auto;
    padding: 46px 18px 58px;
  }

  .section {
    padding: 54px 18px;
  }

  .fields,
  .grid-2,
  .grid-3,
  .grid-4,
  .faq-grid,
  .steps,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .lead-logo,
  .lead-logo.tall {
    min-height: 190px;
  }
}
