:root {
  --ink: #111111;
  --cream: #f1f3f4;
  --paper: #ffffff;
  --accent: #36c5e5;
  --line: rgba(17, 17, 17, 0.16);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.6 Helvetica, Arial, sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: Manrope, sans-serif;
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.nav {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(251, 250, 246, 0.92);
  backdrop-filter: blur(14px);
  z-index: 5;
}
.brand { display: flex; align-items: center; }
.brand img { display: block; width: 255px; max-width: 28vw; height: auto; }
.nav nav {
  display: flex;
  gap: 32px;
  font-size: 14px;
}
.nav nav a:hover {
  opacity: 0.55;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--ink);
  font-weight: 600;
  padding: 15px 23px;
  border-radius: 2px;
  transition: 0.2s;
}
.button:hover {
  transform: translateY(-2px);
  filter: brightness(0.96);
}
.button.small {
  padding: 11px 17px;
  font-size: 14px;
}
.button.dark {
  background: var(--ink);
  color: white;
}
.button.light {
  background: white;
}
.hero {
  min-height: 680px;
  padding: 8vw 5vw 6vw;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.55fr);
  gap: 9vw;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.78) 58%, rgba(255, 255, 255, 0.42) 100%),
    url("hero-background.webp") center / cover no-repeat;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.17em;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 25px;
}
.hero h1 {
  font-size: clamp(52px, 7vw, 108px);
  max-width: 980px;
  margin-bottom: 30px;
}
.lead {
  font-size: clamp(18px, 2vw, 24px);
  max-width: 760px;
  color: #40534d;
}
.actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 38px;
}
.text-link {
  font-weight: 600;
}
.text-link span {
  margin-left: 10px;
}
.hero-panel {
  background: var(--ink);
  color: white;
  padding: 35px;
}
.metric {
  display: flex;
  align-items: flex-end;
  gap: 18px;
}
.metric strong {
  font: 600 60px Manrope;
  letter-spacing: -0.06em;
  line-height: 0.9;
  color: var(--accent);
}
.metric span {
  max-width: 120px;
  line-height: 1.25;
}
.panel-line {
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin: 28px 0;
}
.hero-panel > p {
  color: #c4d0cc;
}
.lender-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.lender-tags span {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  padding: 6px 10px;
  font-size: 12px;
}
.intro,
.about {
  padding: 100px 5vw;
  display: grid;
  grid-template-columns: 1fr 2.1fr;
  gap: 8vw;
  border-top: 1px solid var(--line);
}
.about { grid-template-columns: 0.85fr 0.65fr 1fr; gap: 5vw; align-items: center; }
.profile-photo { margin: 0; position: relative; }
.profile-photo::after { content: ""; position: absolute; right: -12px; bottom: -12px; width: 42%; height: 42%; background: var(--accent); z-index: 0; }
.profile-photo img { display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; position: relative; z-index: 1; }
.career-logos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 30px;
}
.career-logo {
  height: 92px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}
.career-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.intro h2,
.about h2,
.process h2,
.cta h2 {
  font-size: clamp(38px, 5vw, 70px);
  margin-bottom: 28px;
}
.intro div p {
  max-width: 700px;
  font-size: 20px;
  color: #53635e;
}
.feature {
  padding: 90px 5vw;
  display: grid;
  grid-template-columns: 80px 1.5fr minmax(260px, 0.55fr);
  gap: 5vw;
  border-top: 1px solid var(--line);
}
.development {
  background: var(--ink);
  color: white;
}
.owner {
  background: var(--cream);
}
.feature-number {
  font: 500 14px Helvetica, Arial, sans-serif;
  border: 1px solid currentColor;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
}
.feature h2 {
  font-size: clamp(42px, 5.5vw, 76px);
  max-width: 850px;
}
.feature-lead {
  font-size: 20px;
  max-width: 780px;
  color: #bfcac6;
}
.owner .feature-lead {
  color: #52615c;
}
.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 60px 0 45px;
  border-top: 1px solid currentColor;
}
.service-grid article {
  padding: 28px 25px 28px 0;
  border-bottom: 1px solid currentColor;
  opacity: 0.88;
}
.service-grid article:nth-child(odd) {
  padding-right: 35px;
}
.service-grid article:nth-child(even) {
  padding-left: 35px;
  border-left: 1px solid currentColor;
}
.service-grid h3 {
  font-size: 21px;
  margin-bottom: 12px;
}
.service-grid p {
  opacity: 0.68;
  margin: 0;
}
.feature-aside {
  padding-top: 62px;
}
.feature-aside > p {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 11px;
  opacity: 0.65;
  margin: 0 0 14px;
}
.feature-aside ul {
  padding: 0;
  margin: 0 0 50px;
  list-style: none;
}
.feature-aside li {
  padding: 10px 0;
  border-bottom: 1px solid currentColor;
}
.examples { padding: 110px 5vw; background: white; border-top: 1px solid var(--line); }
.examples-heading { display: grid; grid-template-columns: 0.7fr 1.4fr 1fr; gap: 5vw; align-items: end; margin-bottom: 55px; }
.examples-heading h2 { font-size: clamp(38px, 5vw, 70px); margin: 0; }
.examples-heading > p:last-child { color: #596460; margin: 0; }
.case-study { border: 1px solid var(--line); padding: 34px; }
.featured-case { display: grid; grid-template-columns: 0.55fr 0.7fr 1.5fr; gap: 5vw; background: var(--ink); color: white; border: 0; padding: 52px; }
.featured-case + .featured-case { margin-top: 22px; }
.light-case { background: var(--cream); color: var(--ink); border: 1px solid var(--line); }
.light-case .case-copy > p, .light-case .case-stat span { color: #596460; }
.light-case .case-copy dl div { border-color: var(--line); }
.light-case .case-copy dt { color: #68736f; }
.case-label { display: flex; flex-direction: column; gap: 8px; text-transform: uppercase; letter-spacing: 0.13em; font-size: 10px; }
.case-label span:last-child { color: var(--accent); }
.case-stat { display: flex; flex-direction: column; }
.case-stat strong { font: 600 clamp(54px, 6vw, 90px)/0.9 Manrope; letter-spacing: -0.07em; color: var(--accent); }
.case-stat span { margin-top: 16px; color: #bdc4c2; }
.case-copy h3 { font-size: 27px; margin-bottom: 18px; }
.case-copy > p { color: #c7cfcc; font-size: 18px; }
.case-copy dl { margin: 32px 0 0; }
.case-copy dl div { display: grid; grid-template-columns: 0.6fr 1.4fr; gap: 18px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,0.2); }
.case-copy dt { color: #9aa5a1; }
.case-copy dd { margin: 0; }
.aside-note {
  background: white;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.aside-note span {
  color: #52615c;
}
.process {
  padding: 110px 5vw;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 65px;
  border-top: 1px solid var(--line);
}
.steps > div {
  padding: 28px 25px 0;
  border-right: 1px solid var(--line);
}
.steps > div:first-child {
  padding-left: 0;
}
.steps > div:last-child {
  border: 0;
}
.steps span {
  color: #73817c;
  font-size: 12px;
}
.steps h3 {
  font-size: 24px;
  margin: 24px 0 12px;
}
.steps p {
  color: #64716d;
}
.about {
  background: #e9f8fc;
}
.about h3 {
  font-size: 28px;
}
.about p {
  font-size: 18px;
  max-width: 700px;
}
.locations {
  padding: 110px 5vw;
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.6fr);
  gap: 8vw;
  border-top: 1px solid var(--line);
}
.locations h2 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(38px, 5vw, 70px);
}
.location-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.location-card {
  min-height: 270px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--cream);
  transition: transform 0.2s, border-color 0.2s;
}
.location-card:hover {
  transform: translateY(-3px);
  border-color: var(--ink);
}
.location-state {
  margin-bottom: 36px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.location-card address {
  margin-bottom: 36px;
  font: normal 20px/1.5 Helvetica, Arial, sans-serif;
}
.location-link {
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
}
.location-link span { margin-left: 8px; }
.cta {
  text-align: center;
  padding: 120px 5vw;
  background: var(--accent);
}
.cta h2 {
  max-width: 850px;
  margin: 0 auto 25px;
}
.cta > p:not(.eyebrow) {
  max-width: 620px;
  margin: 0 auto 35px;
  font-size: 19px;
}
footer {
  padding: 50px 5vw;
  background: var(--accent);
  color: var(--ink);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 35px;
  align-items: start;
  font-size: 14px;
}
footer p {
  margin: 0;
  color: var(--ink);
}
footer div:last-child {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}
.footer-brand { padding: 0; width: max-content; }
.footer-brand img { width: 220px; max-width: 35vw; }
@media (max-width: 900px) {
  .nav nav {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-panel {
    max-width: 500px;
  }
  .intro,
  .about {
    grid-template-columns: 1fr;
  }
  .profile-photo { max-width: 380px; }
  .career-logos { max-width: 620px; }
  .locations { grid-template-columns: 1fr; }
  .examples-heading, .featured-case { grid-template-columns: 1fr; }
  .featured-case { gap: 32px; }
  .feature {
    grid-template-columns: 55px 1fr;
  }
  .feature-aside {
    grid-column: 2;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .steps > div {
    border-bottom: 1px solid var(--line);
    padding: 25px;
  }
  .steps > div:first-child {
    padding-left: 25px;
  }
  footer {
    grid-template-columns: 1fr 1fr;
  }
  footer div:last-child {
    align-items: flex-start;
  }
}
@media (max-width: 600px) {
  .nav {
    height: 72px;
  }
  .nav .button {
    display: none;
  }
  .brand img { width: 190px; max-width: 55vw; }
  .hero {
    padding-top: 90px;
    background:
      linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.82)),
      url("hero-background.webp") 58% center / cover no-repeat;
  }
  .hero h1 {
    font-size: 48px;
  }
  .actions {
    align-items: flex-start;
    flex-direction: column;
  }
  .feature {
    padding: 70px 5vw;
    grid-template-columns: 1fr;
  }
  .feature-number {
    margin-bottom: 10px;
  }
  .examples { padding: 75px 5vw; }
  .featured-case { padding: 32px 24px; }
  .feature-main,
  .feature-aside {
    grid-column: 1;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .service-grid article,
  .service-grid article:nth-child(even),
  .service-grid article:nth-child(odd) {
    padding: 24px 0;
    border-left: 0;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .steps > div {
    border-right: 0;
  }
  .intro,
  .about,
  .locations,
  .process,
  .cta {
    padding: 75px 5vw;
  }
  .location-grid { grid-template-columns: 1fr; }
  .location-card { min-height: 230px; }
  .career-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  footer {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .button {
    transition: none;
  }
}
