:root {
  --cream: #efeadd;
  --paper: #fbf7ed;
  --sage: #dfe6d7;
  --olive: #59634c;
  --forest: #20281d;
  --charcoal: #23231f;
  --muted: #737166;
  --line: rgba(35, 35, 31, 0.14);
  --white: rgba(255, 255, 255, 0.78);
  --shadow: 0 28px 70px rgba(34, 38, 29, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(229, 197, 184, 0.55), transparent 18%),
    linear-gradient(270deg, rgba(214, 223, 203, 0.65), transparent 20%),
    var(--cream);
  color: var(--charcoal);
  font-family: "Inter", Arial, sans-serif;
}

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

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

.page-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 48px 0 36px;
}

.site-header {
  align-items: center;
  background: rgba(253, 249, 239, 0.88);
  box-shadow: 0 18px 45px rgba(31, 36, 27, 0.08);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  min-height: 74px;
  padding: 0 28px;
  position: sticky;
  top: 18px;
  z-index: 10;
  backdrop-filter: blur(18px);
}

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

.brand span {
  display: grid;
  gap: 1px;
}

.brand strong {
  font-size: 0.88rem;
  line-height: 1;
  text-transform: uppercase;
}

.brand small {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

nav {
  align-items: center;
  display: flex;
  gap: 34px;
  justify-content: center;
}

nav a {
  color: #4f5149;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 10px 2px;
  position: relative;
  transition: color 180ms ease, transform 180ms ease;
}

nav a::after {
  background: linear-gradient(90deg, #6f8f5f, #8fbf76, #3f6f4a);
  bottom: 4px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  width: 100%;
}

nav a:hover,
nav a:focus-visible {
  background: linear-gradient(90deg, #4f7448, #78ad64, #2f6540);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  outline: none;
  transform: translateY(-2px);
}

nav a:hover::after,
nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-action,
.button,
.contact-form button {
  border: 1px solid var(--forest);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 700;
  justify-content: center;
  min-height: 43px;
  padding: 13px 20px;
}

.header-action {
  justify-self: end;
  overflow: hidden;
  position: relative;
  transition: border-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  z-index: 0;
}

.header-action::before {
  background: linear-gradient(135deg, #4f7448, #7fb768 48%, #2f6540);
  content: "";
  inset: 0;
  opacity: 0;
  position: absolute;
  transition: opacity 180ms ease;
  z-index: -1;
}

.header-action:hover,
.header-action:focus-visible {
  border-color: transparent;
  box-shadow: 0 16px 34px rgba(68, 112, 70, 0.24);
  color: #fffdf7;
  outline: none;
  transform: translateY(-2px);
}

.header-action:hover::before,
.header-action:focus-visible::before {
  opacity: 1;
}

.hero {
  min-height: 570px;
  position: relative;
  overflow: hidden;
}

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

.home-scene {
  background:
    linear-gradient(90deg, rgba(18, 22, 16, 0.18), transparent 56%),
    url("assets/hero-interior.jpg") center / cover;
}

.scene-light {
  background: rgba(255, 255, 255, 0.72);
  height: 210px;
  left: 23%;
  position: absolute;
  top: 0;
  width: 43%;
}

.scene-light,
.scene-window,
.scene-room {
  display: none;
}

.scene-window {
  background: rgba(255, 255, 255, 0.48);
  border-left: 16px solid rgba(255, 255, 255, 0.75);
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  height: 320px;
  left: 42%;
  padding: 24px;
  position: absolute;
  top: 0;
  width: 32%;
}

.scene-window span {
  border-left: 1px solid rgba(71, 78, 61, 0.22);
  border-right: 1px solid rgba(71, 78, 61, 0.18);
}

.scene-room {
  inset: auto 0 0;
  height: 58%;
  position: absolute;
}

.sofa {
  background: linear-gradient(180deg, #beb9a2, #8f8b75);
  border-radius: 34px 34px 8px 8px;
  bottom: 72px;
  height: 145px;
  left: 30%;
  position: absolute;
  width: 36%;
}

.sofa::before,
.sofa::after {
  background: #d7d0b7;
  border: 2px solid rgba(89, 99, 76, 0.24);
  border-radius: 50%;
  content: "";
  height: 58px;
  position: absolute;
  top: 35px;
  width: 58px;
}

.sofa::before {
  left: 38%;
}

.sofa::after {
  right: 18%;
}

.table {
  background: rgba(193, 176, 133, 0.48);
  border: 1px solid rgba(84, 76, 55, 0.22);
  border-radius: 50%;
  bottom: 38px;
  height: 90px;
  left: 63%;
  position: absolute;
  width: 150px;
}

.shelf {
  border: 12px solid rgba(179, 162, 117, 0.55);
  border-radius: 50% 50% 6px 6px;
  bottom: 118px;
  height: 220px;
  position: absolute;
  right: 8%;
  width: 122px;
}

.plant {
  bottom: 86px;
  height: 270px;
  left: 9%;
  position: absolute;
  width: 190px;
}

.plant i {
  background: #3e5133;
  border-radius: 100% 0;
  display: block;
  height: 170px;
  left: 70px;
  position: absolute;
  top: 0;
  transform-origin: bottom center;
  width: 32px;
}

.plant i:nth-child(1) { transform: rotate(-52deg); }
.plant i:nth-child(2) { transform: rotate(-27deg); height: 205px; }
.plant i:nth-child(3) { transform: rotate(0deg); height: 225px; }
.plant i:nth-child(4) { transform: rotate(28deg); height: 195px; }
.plant i:nth-child(5) { transform: rotate(55deg); }

.plant::after {
  background: #6f735f;
  bottom: 0;
  content: "";
  height: 115px;
  left: 58px;
  position: absolute;
  width: 76px;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(20, 24, 18, 0.62), rgba(20, 24, 18, 0.16) 50%, rgba(20, 24, 18, 0.04)),
    linear-gradient(180deg, rgba(251, 247, 237, 0), rgba(35, 35, 31, 0.12));
}

.hero-content {
  color: #fffdf7;
  max-width: 650px;
  padding: 265px 0 82px 44px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--olive);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f7f2e6;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.98;
  margin: 0;
}

h1 {
  font-size: clamp(3.1rem, 7vw, 5.9rem);
  max-width: 720px;
}

h2 {
  font-size: clamp(2.35rem, 4.6vw, 4.8rem);
}

h3,
p {
  margin: 0;
}

.hero-content p:not(.eyebrow) {
  font-size: 1rem;
  line-height: 1.7;
  margin-top: 22px;
  max-width: 520px;
}

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

.button.primary {
  background: #fffdf7;
  border-color: #fffdf7;
  color: var(--forest);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.76);
  color: #fffdf7;
}

.hero-card {
  align-items: center;
  background: rgba(251, 247, 237, 0.88);
  bottom: 36px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  grid-template-columns: 82px 1fr;
  padding: 12px;
  position: absolute;
  right: 34px;
  width: min(330px, calc(100% - 68px));
  z-index: 2;
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.hero-card:hover,
.hero-card:focus-visible {
  background: rgba(255, 253, 247, 0.96);
  box-shadow: 0 32px 82px rgba(34, 38, 29, 0.22);
  outline: none;
  transform: translateY(-5px);
}

.hero-card img {
  aspect-ratio: 1;
  height: 82px;
  object-fit: cover;
  object-position: center 18%;
  width: 82px;
}

.hero-card span,
.property-info span,
.approach-panel p {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-card strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  margin: 3px 0;
}

.hero-card p {
  color: #5f6057;
  font-size: 0.82rem;
  line-height: 1.45;
}

.intro-band {
  align-items: start;
  background: var(--paper);
  display: grid;
  gap: 36px;
  grid-template-columns: 1.1fr 0.9fr auto;
  padding: 74px 42px 58px;
}

.intro-band > p,
.section-heading > p,
.approach-copy > p,
.contact-section p {
  color: #65655d;
  font-size: 0.98rem;
  line-height: 1.78;
}

.icon-link {
  align-items: center;
  display: grid;
  gap: 13px;
  justify-items: center;
  min-width: 92px;
}

.icon-link b {
  border: 1px solid var(--forest);
  display: grid;
  font-size: 1.25rem;
  height: 48px;
  place-items: center;
  width: 48px;
}

.icon-link span {
  font-size: 0.75rem;
  font-weight: 800;
  text-align: center;
}

.split-section {
  background: var(--paper);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
}

.split-section article {
  background: rgba(255, 255, 255, 0.36);
  min-height: 250px;
  padding: 42px;
}

.split-section span {
  color: var(--olive);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.2rem;
}

.split-section h3,
.property-info h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.7rem;
  line-height: 1.05;
  margin: 18px 0 13px;
}

.split-section p,
.property-info p {
  color: #62635c;
  font-size: 0.94rem;
  line-height: 1.68;
}

.homes-section {
  background: linear-gradient(180deg, var(--sage), #eef0e5);
  padding: 76px 42px;
}

.section-heading {
  align-items: end;
  display: grid;
  gap: 42px;
  grid-template-columns: 1fr minmax(260px, 390px);
  margin-bottom: 34px;
}

.property-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}

.property-card {
  background: rgba(255, 255, 255, 0.54);
  box-shadow: 0 20px 55px rgba(56, 66, 45, 0.1);
  overflow: hidden;
}

.property-image {
  aspect-ratio: 1.15;
  background-size: cover;
  min-height: 250px;
}

.home-one {
  background-image: url("assets/listing-hillside.jpg");
}

.home-two {
  background-image: url("assets/hero-interior.jpg");
}

.home-three {
  background-image: url("assets/listing-ranch.jpg");
}

.property-info {
  padding: 24px;
}

.approach {
  background: var(--paper);
  display: grid;
  gap: 42px;
  grid-template-columns: 1fr 390px;
  padding: 82px 42px;
}

.approach-copy {
  max-width: 710px;
}

.approach-copy p:last-child {
  margin-top: 24px;
  max-width: 620px;
}

.approach-panel {
  align-self: center;
  background: #ece4d4;
  border: 1px solid rgba(35, 35, 31, 0.12);
  padding: 36px;
}

.approach-panel strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  line-height: 1.08;
  margin: 10px 0 30px;
}

.approach-panel strong:last-child {
  margin-bottom: 0;
}

.contact-section {
  align-items: start;
  background: #20261d;
  color: #fffdf7;
  display: grid;
  gap: 46px;
  grid-template-columns: 1fr 420px;
  padding: 78px 42px 54px;
}

.contact-section .eyebrow,
.contact-section p {
  color: #dfe6d7;
}

.contact-section h2 {
  max-width: 720px;
}

.contact-section p {
  margin-top: 24px;
  max-width: 620px;
}

.contact-form {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  gap: 16px;
  padding: 26px;
}

.contact-form label {
  color: #f8f3e8;
  display: grid;
  font-size: 0.78rem;
  font-weight: 800;
  gap: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

input,
select,
textarea {
  background: #f8f3e8;
  border: 0;
  color: var(--forest);
  font: inherit;
  min-height: 46px;
  padding: 0 13px;
  width: 100%;
}

textarea {
  line-height: 1.5;
  min-height: 118px;
  padding: 13px;
  resize: vertical;
}

.contact-form button {
  background: #f8f3e8;
  color: var(--forest);
  cursor: pointer;
  margin-top: 6px;
  width: 100%;
}

.about-hero {
  align-items: stretch;
  background: var(--paper);
  display: grid;
  gap: 0;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 620px;
}

.about-portrait {
  background: #e8dfce;
  display: grid;
  min-height: 560px;
  overflow: hidden;
  place-items: end center;
}

.about-portrait img {
  height: 100%;
  max-height: 620px;
  object-fit: cover;
  object-position: center 14%;
  width: 100%;
}

.about-copy {
  align-self: center;
  padding: 82px 56px;
}

.about-copy h1 {
  color: var(--forest);
}

.about-lede {
  color: #65655d;
  font-size: 1.05rem;
  line-height: 1.82;
  margin-top: 26px;
  max-width: 620px;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button.primary.dark {
  background: var(--forest);
  border-color: var(--forest);
  color: #fffdf7;
}

.button.secondary.dark {
  background: transparent;
  border-color: var(--forest);
  color: var(--forest);
}

.about-details {
  background: linear-gradient(180deg, var(--sage), #eef0e5);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(5, 1fr);
}

.about-details article {
  background: rgba(255, 255, 255, 0.38);
  min-height: 150px;
  padding: 30px 24px;
}

.about-details span {
  color: var(--olive);
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.about-details strong {
  color: var(--forest);
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.45rem;
  line-height: 1.12;
}

.about-story {
  align-items: start;
  background: var(--paper);
  display: grid;
  gap: 42px;
  grid-template-columns: 1fr minmax(280px, 460px);
  padding: 78px 42px;
}

.about-story-copy {
  display: grid;
  gap: 18px;
}

.about-story-copy p {
  color: #65655d;
  font-size: 1rem;
  line-height: 1.82;
}

.loan-hero {
  align-items: stretch;
  background:
    linear-gradient(90deg, rgba(251, 247, 237, 0.98), rgba(251, 247, 237, 0.84)),
    url("assets/listing-hillside.jpg") center / cover;
  display: grid;
  gap: 34px;
  grid-template-columns: 1fr 360px;
  min-height: 620px;
  padding: 96px 42px 74px;
}

.loan-copy {
  align-self: end;
  max-width: 820px;
}

.loan-copy h1 {
  color: var(--forest);
  font-size: clamp(3rem, 6vw, 5.6rem);
}

.loan-note {
  align-self: end;
  background: rgba(255, 253, 247, 0.9);
  border: 1px solid rgba(35, 35, 31, 0.12);
  box-shadow: var(--shadow);
  padding: 32px;
}

.loan-note span,
.loan-steps span {
  color: var(--olive);
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.loan-note strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  line-height: 1.08;
}

.loan-note p {
  color: #65655d;
  line-height: 1.7;
  margin-top: 18px;
}

.loan-steps {
  background: linear-gradient(180deg, var(--sage), #eef0e5);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, 1fr);
}

.loan-steps article {
  background: rgba(255, 255, 255, 0.38);
  min-height: 330px;
  padding: 34px 28px;
}

.loan-steps h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.8rem;
  line-height: 1.06;
  margin: 0 0 18px;
}

.loan-steps p {
  color: #62635c;
  font-size: 0.94rem;
  line-height: 1.72;
}

.loan-guide,
.loan-inquiry {
  align-items: start;
  background: var(--paper);
  display: grid;
  gap: 46px;
  grid-template-columns: 1fr minmax(320px, 460px);
  padding: 78px 42px;
}

.loan-guide-list {
  display: grid;
  gap: 18px;
}

.loan-guide-list p,
.loan-inquiry p {
  color: #65655d;
  font-size: 1rem;
  line-height: 1.82;
}

.loan-inquiry {
  background: #20261d;
  color: #fffdf7;
}

.loan-inquiry .eyebrow,
.loan-inquiry p {
  color: #dfe6d7;
}

.site-footer {
  align-items: center;
  background: rgba(251, 247, 237, 0.72);
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 26px 42px;
  justify-content: space-between;
  min-height: 104px;
  padding: 24px;
}

.footer-affiliations {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 26px 42px;
}

.footer-logo-group {
  align-items: center;
  display: inline-flex;
  gap: 12px;
}

.footer-logo-group a {
  align-items: center;
  display: inline-flex;
  padding: 8px;
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.footer-logo-group a:hover,
.footer-logo-group a:focus-visible {
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 16px 34px rgba(34, 38, 29, 0.12);
  outline: none;
  transform: translateY(-4px);
}

.footer-logo-group span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-logo-group img {
  height: 34px;
  object-fit: contain;
  transition: filter 180ms ease, transform 180ms ease;
  width: auto;
}

.footer-logo-group a:hover img,
.footer-logo-group a:focus-visible img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.03);
}

.footer-logo-group img[alt="Fast Bridge Group"] {
  height: 58px;
  max-width: 220px;
}

.site-credit {
  align-items: center;
  color: var(--olive);
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 800;
  gap: 9px;
  letter-spacing: 0.1em;
  padding: 10px;
  text-transform: uppercase;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-credit img {
  height: 22px;
  transition: transform 180ms ease;
  width: 22px;
}

.site-credit:hover,
.site-credit:focus-visible {
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 16px 34px rgba(34, 38, 29, 0.12);
  color: var(--forest);
  outline: none;
  transform: translateY(-4px);
}

.site-credit:hover img,
.site-credit:focus-visible img {
  transform: scale(1.08);
}

@media (max-width: 900px) {
  .page-shell {
    width: min(100% - 22px, 720px);
    padding-top: 18px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    padding: 12px 16px;
    position: static;
  }

  .site-footer,
  .footer-affiliations {
    justify-content: center;
  }

  nav {
    grid-column: 1 / -1;
    justify-content: space-between;
    order: 3;
    width: 100%;
  }

  .hero {
    min-height: 690px;
  }

  .hero-content {
    padding: 245px 24px 190px;
  }

  .hero-card {
    bottom: 24px;
    left: 24px;
    right: auto;
  }

  .intro-band,
  .section-heading,
  .approach,
  .contact-section,
  .about-hero,
  .about-story,
  .loan-hero,
  .loan-guide,
  .loan-inquiry {
    grid-template-columns: 1fr;
  }

  .split-section,
  .property-grid,
  .about-details,
  .loan-steps {
    grid-template-columns: 1fr;
  }

  .intro-band,
  .homes-section,
  .approach,
  .contact-section,
  .about-copy,
  .about-story,
  .loan-hero,
  .loan-guide,
  .loan-inquiry {
    padding-left: 24px;
    padding-right: 24px;
  }

  .about-portrait {
    min-height: 460px;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: 100%;
    padding: 0;
  }

  .site-header {
    top: 0;
  }

  nav {
    gap: 12px;
  }

  .header-action {
    min-height: 38px;
    padding: 10px 14px;
  }

  h1 {
    font-size: 3.05rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-card {
    grid-template-columns: 68px 1fr;
    width: calc(100% - 36px);
    left: 18px;
  }

  .hero-card img {
    height: 68px;
    width: 68px;
  }

  .split-section article,
  .property-info,
  .approach-panel,
  .contact-form {
    padding: 24px;
  }
}
