:root {
  --ink: #173044;
  --ink-deep: #081c2d;
  --muted: #607483;
  --teal: #193d5a;
  --teal-deep: #0b2239;
  --teal-soft: #e7eef3;
  --sage: #c6a15b;
  --sage-soft: #f5eddd;
  --blue: #365d77;
  --blue-soft: #e8eff4;
  --apricot: #c6a15b;
  --apricot-soft: #f4e7c9;
  --ochre: #c6a15b;
  --ochre-soft: #f5ead2;
  --cream: #f4efe5;
  --paper: #fbf7ee;
  --white: #ffffff;
  --line: rgba(11, 34, 57, 0.13);
  --line-strong: rgba(11, 34, 57, 0.24);
  --shadow-sm: 0 12px 32px rgba(6, 23, 37, 0.08);
  --shadow: 0 26px 70px rgba(6, 23, 37, 0.14);
  --shadow-lift: 0 25px 58px rgba(6, 23, 37, 0.18);
  --radius-sm: 14px;
  --radius: 24px;
  --radius-lg: 38px;
  --sga-navy: #061725;
  --sga-blue: #193d5a;
  --sga-gold: #c6a15b;
  --sga-gold-soft: #e0c88e;
  --sga-ivory: #fbf7ee;
  --sga-sky: #dce7f0;
}

body {
  color: var(--ink);
  background: var(--paper);
  font-family: "Nunito Sans", "Segoe UI", sans-serif;
}

h1,
h2,
h3,
.path-tile strong,
.client-review blockquote p,
.mortgage-producer strong,
.mortgage-benefit-grid h3,
.mortgage-process-grid h3,
.footer-brand strong {
  font-family: "Nunito Sans", "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(48px, 5.8vw, 78px);
  line-height: 1.01;
}

h2 {
  line-height: 1.06;
}

.design-preview-chip {
  position: fixed;
  z-index: 100;
  right: 18px;
  bottom: 18px;
  padding: 9px 14px;
  color: var(--sga-navy);
  background: rgba(224, 200, 142, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  box-shadow: 0 12px 35px rgba(6, 23, 37, 0.24);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.site-header {
  min-height: 86px;
  color: var(--sga-ivory);
  background: rgba(6, 23, 37, 0.96);
  border-bottom: 1px solid rgba(198, 161, 91, 0.32);
  box-shadow: 0 8px 30px rgba(2, 11, 18, 0.22);
}

.brand {
  gap: 14px;
}

.brand img,
.footer-brand img {
  width: 64px;
  height: 64px;
  padding: 4px;
  background: var(--sga-ivory);
  border: 1px solid rgba(224, 200, 142, 0.65);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.brand-copy strong,
.footer-brand strong {
  color: var(--sga-ivory);
  font-size: 18px;
  letter-spacing: -0.025em;
}

.brand-copy small,
.footer-brand span {
  color: var(--sga-gold-soft);
}

nav {
  color: rgba(251, 247, 238, 0.72);
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--sga-ivory);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(224, 200, 142, 0.22);
}

nav .nav-cta:not([aria-current="page"]),
.button-primary {
  color: var(--sga-navy);
  background: var(--sga-gold);
  border-color: var(--sga-gold);
  box-shadow: 0 13px 34px rgba(198, 161, 91, 0.2);
}

nav .nav-cta:not([aria-current="page"]):hover,
.button-primary:hover {
  color: var(--sga-navy);
  background: var(--sga-gold-soft);
  border-color: var(--sga-gold-soft);
  box-shadow: 0 17px 40px rgba(198, 161, 91, 0.28);
}

.nav-muted {
  color: var(--sga-sky);
}

.button {
  min-height: 54px;
  border-radius: 999px;
  letter-spacing: -0.01em;
}

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

.button-secondary {
  color: var(--sga-ivory);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(224, 200, 142, 0.5);
}

.button-secondary:hover {
  color: var(--sga-navy);
  background: var(--sga-ivory);
  border-color: var(--sga-ivory);
}

.eyebrow,
.emblem-eyebrow,
.path-kicker,
.card-kicker,
.review-kicker,
.mortgage-card-number {
  color: var(--sga-gold);
  font-weight: 900;
  letter-spacing: 0.16em;
}

.hero,
.mortgage-hero {
  background:
    radial-gradient(circle at 86% 12%, rgba(224, 200, 142, 0.28), transparent 29%),
    linear-gradient(128deg, var(--sga-navy) 0%, #0b263c 53%, var(--sga-blue) 100%);
}

.hero::before,
.hero::after,
.mortgage-hero::before,
.mortgage-hero::after {
  background: transparent;
  border: 1px solid rgba(224, 200, 142, 0.18);
  border-radius: 50%;
}

.hero::before {
  width: 720px;
  height: 720px;
  right: -360px;
  bottom: -430px;
}

.hero::after {
  width: 440px;
  height: 440px;
  left: 38%;
  top: -330px;
}

.hero h1,
.mortgage-hero h1 {
  color: var(--sga-ivory);
  text-wrap: balance;
}

.mortgage-hero h1 > span {
  color: var(--sga-gold-soft);
}

.hero-text,
.hero-subtext,
.mortgage-promise,
.mortgage-supporting {
  color: var(--sga-sky);
}

.hero-text,
.mortgage-promise {
  max-width: 690px;
  font-weight: 600;
}

.hero-subtext {
  color: rgba(220, 231, 240, 0.7);
}

.hero-reassurance {
  color: rgba(251, 247, 238, 0.76);
}

.hero-reassurance span::before,
.mortgage-reassurance > span::before {
  color: var(--sga-navy);
  background: var(--sga-gold);
}

.hero-mark::before {
  width: 105%;
  height: 100%;
  background: transparent;
  border: 1px solid rgba(224, 200, 142, 0.22);
  border-radius: 50%;
}

.emblem-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(198, 161, 91, 0.2), transparent 34%),
    var(--sga-ivory);
  border: 1px solid rgba(224, 200, 142, 0.62);
  border-radius: 34px;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.28);
}

.emblem-halo {
  width: clamp(150px, 14vw, 190px);
  height: clamp(150px, 14vw, 190px);
  padding: 7px;
  background: var(--sga-ivory);
  border: 1px solid rgba(198, 161, 91, 0.55);
  border-radius: 24px;
  box-shadow: 0 16px 38px rgba(6, 23, 37, 0.16);
}

.emblem-halo::after {
  display: none;
}

.emblem-halo img {
  width: 100%;
  height: 100%;
}

.emblem-card h2,
.emblem-note {
  color: var(--sga-navy);
}

.emblem-copy {
  color: var(--muted);
}

.protection-pills span {
  color: var(--sga-navy);
  background: var(--sga-sky);
  border-color: rgba(11, 34, 57, 0.12);
}

.path-band {
  background: var(--sga-navy);
}

.path-tile {
  border-color: rgba(224, 200, 142, 0.24);
  border-radius: 28px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.16);
}

.path-tile:first-child {
  background: var(--sga-ivory);
}

.path-tile:last-child {
  color: var(--sga-sky);
  background: rgba(255, 255, 255, 0.06);
}

.path-tile:last-child strong {
  color: var(--sga-ivory);
}

.path-tile:last-child span:last-child {
  color: rgba(220, 231, 240, 0.78);
}

.path-tile strong {
  color: var(--sga-navy);
}

.audience-section,
.mortgage-faq,
.mortgage-process {
  background: var(--sga-ivory);
}

.audience-grid article,
.next-grid article,
.mortgage-benefit-grid article,
.mortgage-process-grid li,
.mortgage-faq details {
  background: #ffffff;
  border: 1px solid rgba(11, 34, 57, 0.1);
  border-radius: 22px;
  box-shadow: 0 14px 38px rgba(6, 23, 37, 0.07);
}

.audience-grid article::after,
.mortgage-benefit-grid article::after {
  background: var(--sga-gold-soft) !important;
  opacity: 0.38;
}

.audience-grid strong,
.mortgage-benefit-grid h3,
.mortgage-process-grid h3,
.mortgage-faq summary {
  color: var(--sga-navy);
}

.trust-section,
.mortgage-benefits {
  background:
    radial-gradient(circle at 92% 4%, rgba(224, 200, 142, 0.2), transparent 27%),
    linear-gradient(135deg, var(--sga-navy), var(--sga-blue));
}

.trust-section h2,
.trust-grid h3,
.mortgage-benefits h2,
.mortgage-benefits h3 {
  color: var(--sga-ivory);
}

.trust-grid article,
.mortgage-benefit-grid article {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(224, 200, 142, 0.22);
  box-shadow: none;
}

.trust-grid p,
.mortgage-benefit-grid p,
.mortgage-benefits .mortgage-section-heading > p:last-child {
  color: rgba(220, 231, 240, 0.78);
}

.trust-grid span,
.mortgage-process-grid li > span {
  color: var(--sga-navy);
  background: var(--sga-gold);
}

.reviews-section {
  background:
    radial-gradient(circle at 8% 88%, rgba(198, 161, 91, 0.16), transparent 25%),
    linear-gradient(135deg, #f9f5eb, var(--sga-sky));
}

.client-review {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(198, 161, 91, 0.34);
  box-shadow: 0 16px 44px rgba(6, 23, 37, 0.09);
}

.client-review blockquote p {
  color: var(--sga-navy);
}

.review-attribution strong,
.review-source-link {
  color: var(--sga-blue);
}

.next-section {
  background: #e8eff4;
}

.next-grid span {
  color: var(--sga-navy);
  background: var(--sga-gold-soft);
}

.proof-section,
.contact-band {
  color: var(--sga-sky);
  background:
    radial-gradient(circle at 90% 5%, rgba(224, 200, 142, 0.18), transparent 28%),
    var(--sga-navy);
}

.proof-section h2,
.contact-band h2 {
  color: var(--sga-ivory);
}

.proof-section .section-heading p:last-child,
.proof-list li,
.contact-band p {
  color: rgba(220, 231, 240, 0.78);
}

.proof-list li {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(224, 200, 142, 0.2);
}

.proof-list li::before {
  color: var(--sga-gold-soft);
}

.lead-form,
.mortgage-lead-form {
  background: var(--sga-ivory);
  border-color: rgba(224, 200, 142, 0.58);
  border-radius: 30px;
  box-shadow: 0 30px 82px rgba(0, 0, 0, 0.28);
}

.form-topline {
  display: grid;
  grid-template-columns: max-content max-content;
  align-items: baseline;
  justify-content: space-between;
  column-gap: 22px;
  margin: 0 0 22px;
  padding: 12px 16px;
  color: var(--sga-navy);
  background: var(--sga-gold-soft);
  border-bottom: 0;
  border-radius: 12px;
  font-size: 10px;
  letter-spacing: 0.08em;
  line-height: 1.15;
}

.form-topline span {
  display: block;
  white-space: nowrap;
}

.form-topline span:last-child {
  text-align: right;
}

input,
select,
textarea {
  color: var(--sga-navy);
  background: #ffffff;
  border-color: rgba(11, 34, 57, 0.18);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--sga-gold);
  box-shadow: 0 0 0 4px rgba(198, 161, 91, 0.14);
}

.mortgage-hero {
  min-height: calc(100svh - 86px);
  align-items: center;
}

.mortgage-hero::before {
  width: 680px;
  height: 680px;
  right: -380px;
  top: -240px;
}

.mortgage-hero::after {
  width: 420px;
  height: 420px;
  left: -250px;
  bottom: -280px;
}

.mortgage-reassurance > span,
.mortgage-review-proof {
  color: rgba(251, 247, 238, 0.78);
}

.mortgage-review-proof,
.mortgage-producer a {
  color: var(--sga-gold-soft);
  text-decoration-color: rgba(224, 200, 142, 0.55);
}

.mortgage-producer {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(224, 200, 142, 0.28);
  box-shadow: none;
}

.mortgage-producer strong {
  color: var(--sga-ivory);
}

.mortgage-producer span {
  color: rgba(220, 231, 240, 0.72);
}

.mortgage-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 9px;
  padding: 8px 12px;
  color: var(--sga-gold-soft);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(224, 200, 142, 0.24);
  border-radius: 999px;
}

.mortgage-hero-eyebrow > span {
  position: relative;
  width: 8px;
  height: 8px;
  background: var(--sga-gold);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(198, 161, 91, 0.12);
}

.mortgage-hero-note {
  margin: 11px 0 0;
  color: rgba(251, 247, 238, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.mortgage-hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 690px;
  margin-top: 22px;
}

.mortgage-hero-highlights > span {
  display: grid;
  min-height: 94px;
  align-content: start;
  gap: 9px;
  padding: 14px 15px;
  color: var(--sga-ivory);
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(224, 200, 142, 0.21);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.mortgage-hero-highlights > span:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.095);
  border-color: rgba(224, 200, 142, 0.42);
}

.mortgage-hero-highlights b {
  color: var(--sga-gold);
  font-size: 10px;
  letter-spacing: 0.15em;
}

.mortgage-hero-highlights strong {
  font-family: "Lora", Georgia, serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.mortgage-form-intro h2 {
  color: var(--sga-navy);
}

.family-photo-card {
  position: relative;
  width: min(100%, 470px);
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  border-radius: 42% 14% 38% 18% / 20% 34% 18% 42%;
  box-shadow: 0 36px 88px rgba(0, 0, 0, 0.24);
  -webkit-mask-image: radial-gradient(ellipse 98% 96% at 52% 48%, #000 76%, rgba(0, 0, 0, 0.94) 86%, transparent 100%);
  mask-image: radial-gradient(ellipse 98% 96% at 52% 48%, #000 76%, rgba(0, 0, 0, 0.94) 86%, transparent 100%);
}

.family-photo-card::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, transparent 44%, rgba(7, 28, 45, 0.18) 63%, rgba(7, 28, 45, 0.92) 100%);
}

.family-photo-card > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 43%;
  transition: transform 700ms ease;
}

.family-photo-card figcaption {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  gap: 6px;
  padding: 34px 42px 42px;
  color: var(--sga-ivory);
}

.family-photo-card figcaption span {
  color: var(--sga-gold-soft);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.family-photo-card figcaption strong {
  max-width: 360px;
  font-family: "Lora", Georgia, serif;
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 600;
  line-height: 1.12;
}

.family-photo-card figcaption small {
  color: rgba(251, 247, 238, 0.78);
  font-size: 13px;
  font-weight: 700;
}

.mortgage-family-moment {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: clamp(390px, 44vw, 620px);
  align-items: end;
  padding: clamp(40px, 6vw, 84px);
  overflow: hidden;
  background: var(--sga-navy);
}

.mortgage-family-moment::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(7, 28, 45, 0.9) 0%, rgba(7, 28, 45, 0.62) 40%, rgba(7, 28, 45, 0.08) 73%);
}

.mortgage-family-moment > img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.mortgage-family-moment-copy {
  width: min(620px, 100%);
  padding: clamp(18px, 2.2vw, 28px) 0;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.38);
}

.mortgage-family-moment-copy .eyebrow {
  color: var(--sga-gold-soft);
}

.mortgage-family-moment-copy h2 {
  color: var(--sga-ivory);
  font-size: clamp(32px, 4vw, 52px);
}

.mortgage-family-moment-copy > p:last-child {
  max-width: 570px;
  margin: 16px 0 0;
  color: rgba(220, 231, 240, 0.86);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.6;
}

.family-life-section,
.mortgage-family-gallery {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
  padding: clamp(72px, 9vw, 126px) clamp(24px, 7vw, 112px);
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 46%, rgba(147, 168, 154, 0.22), transparent 38%),
    linear-gradient(135deg, #f9f4e9 0%, #f3eadb 100%);
}

.family-life-section::before,
.mortgage-family-gallery::before {
  position: absolute;
  z-index: -1;
  width: 420px;
  height: 420px;
  content: "";
  border-radius: 50%;
  background: rgba(198, 161, 91, 0.09);
  filter: blur(2px);
}

.family-life-section::before {
  top: -210px;
  left: -120px;
}

.mortgage-family-gallery::before {
  right: -160px;
  bottom: -250px;
}

.family-life-copy,
.mortgage-family-gallery-copy {
  position: relative;
  z-index: 2;
  max-width: 520px;
}

.family-life-copy h2,
.mortgage-family-gallery-copy h2 {
  color: var(--sga-navy);
  font-size: clamp(34px, 4vw, 54px);
}

.family-life-copy > p:last-child,
.mortgage-family-gallery-copy > p:last-child {
  margin: 20px 0 0;
  color: rgba(11, 34, 57, 0.76);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.72;
}

.family-life-scenes,
.mortgage-family-scenes {
  position: relative;
  min-height: clamp(440px, 43vw, 620px);
}

.family-scene,
.mortgage-family-photo {
  position: absolute;
  margin: 0;
  overflow: hidden;
}

.family-scene img,
.mortgage-family-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.family-scene-primary,
.mortgage-family-photo-primary {
  inset: 0 21% 8% 0;
  border-radius: 45% 19% 42% 16% / 26% 40% 20% 38%;
  box-shadow: 0 30px 72px rgba(11, 34, 57, 0.15);
  -webkit-mask-image: radial-gradient(ellipse 98% 96% at 48% 50%, #000 76%, rgba(0, 0, 0, 0.9) 88%, transparent 100%);
  mask-image: radial-gradient(ellipse 98% 96% at 48% 50%, #000 76%, rgba(0, 0, 0, 0.9) 88%, transparent 100%);
}

.family-scene-primary img,
.mortgage-family-photo-primary img {
  object-position: center;
}

.family-scene-secondary,
.mortgage-family-photo-secondary {
  z-index: 2;
  right: 0;
  bottom: 0;
  width: 52%;
  height: 54%;
  border-radius: 50%;
  box-shadow: 0 24px 62px rgba(11, 34, 57, 0.2);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 70%, rgba(0, 0, 0, 0.92) 82%, transparent 100%);
  mask-image: radial-gradient(ellipse at center, #000 70%, rgba(0, 0, 0, 0.92) 82%, transparent 100%);
}

.family-scene-secondary img {
  object-position: center;
}

.mortgage-family-gallery {
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  background:
    radial-gradient(circle at 25% 48%, rgba(147, 168, 154, 0.2), transparent 40%),
    linear-gradient(145deg, #f4ebdc 0%, #faf7ef 100%);
}

.mortgage-family-gallery-copy {
  grid-column: 2;
  grid-row: 1;
}

.mortgage-family-scenes {
  grid-column: 1;
  grid-row: 1;
}

.mortgage-family-photo-secondary {
  width: 46%;
  height: 60%;
  border-radius: 44% 56% 46% 54% / 52% 42% 58% 48%;
}

.mortgage-family-photo-secondary img {
  object-position: center 35%;
}

.form-section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 13px;
  padding-top: 17px;
  border-top: 1px solid rgba(11, 34, 57, 0.12);
}

.form-section-label > span {
  display: grid;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--sga-navy);
  background: var(--sga-gold-soft);
  border: 1px solid rgba(198, 161, 91, 0.42);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.form-section-label > div {
  display: grid;
  gap: 2px;
}

.form-section-label strong {
  color: var(--sga-navy);
  font-size: 14px;
}

.form-section-label small,
.field-help {
  color: rgba(11, 34, 57, 0.64);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.35;
}

.mortgage-details-label {
  margin-top: 22px;
}

.mortgage-details-grid label {
  align-content: start;
}

.mortgage-details-grid input,
.mortgage-details-grid select {
  margin-bottom: 0;
}

.mortgage-explainer {
  background:
    radial-gradient(circle at 5% 95%, rgba(198, 161, 91, 0.15), transparent 28%),
    var(--sga-ivory);
}

.mortgage-explainer-mark {
  padding: 20px;
  background: #ffffff;
  border: 1px solid rgba(198, 161, 91, 0.52);
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.mortgage-explainer-mark img {
  width: 100%;
}

.mortgage-explainer .mortgage-fine-print {
  background: #ffffff;
  border-color: rgba(198, 161, 91, 0.28);
}

.mortgage-final-cta {
  background:
    radial-gradient(circle at 95% 10%, rgba(224, 200, 142, 0.2), transparent 29%),
    linear-gradient(125deg, var(--sga-navy), var(--sga-blue));
}

.mortgage-final-cta h2 {
  color: var(--sga-ivory);
}

footer,
.mortgage-footer {
  color: rgba(220, 231, 240, 0.66);
  background: #04121e;
  border-top-color: rgba(198, 161, 91, 0.22);
}

footer p,
.footer-meta,
.footer-brand span,
.ca-license-disclosure p,
.ca-license-disclosure strong {
  color: rgba(220, 231, 240, 0.62);
}

footer a {
  color: var(--sga-gold-soft);
}

.mortgage-mobile-bar {
  background: rgba(6, 23, 37, 0.97);
  border-top-color: rgba(198, 161, 91, 0.32);
  box-shadow: 0 -12px 35px rgba(0, 0, 0, 0.25);
}

.mortgage-mobile-bar strong,
.mortgage-mobile-bar a:not(.button) {
  color: var(--sga-ivory);
}

@media (hover: hover) and (pointer: fine) {
  .family-photo-card:hover > img {
    transform: scale(1.025);
  }

  .family-scene:hover img,
  .mortgage-family-photo:hover img {
    transform: scale(1.025);
  }

  .audience-grid article:hover,
  .next-grid article:hover,
  .client-review:hover,
  .mortgage-benefit-grid article:hover,
  .mortgage-process-grid li:hover {
    transform: translateY(-6px);
    border-color: rgba(198, 161, 91, 0.55);
    box-shadow: 0 22px 54px rgba(6, 23, 37, 0.15);
  }

  .mortgage-benefit-grid article:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(224, 200, 142, 0.42);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
  }

  .trust-grid article:hover {
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(224, 200, 142, 0.48);
  }
}

@media (max-width: 760px) {
  .design-preview-chip {
    right: 10px;
    bottom: 88px;
    padding: 7px 10px;
    font-size: 9px;
  }

  .site-header {
    min-height: 74px;
  }

  .brand img,
  .footer-brand img {
    width: 52px;
    height: 52px;
    border-radius: 13px;
  }

  .brand-copy strong {
    font-size: 15px;
  }

  .brand-copy small {
    letter-spacing: 0.12em;
  }

  .hero,
  .mortgage-hero {
    min-height: auto;
  }

  .hero h1,
  .mortgage-hero h1 {
    font-size: clamp(43px, 12.2vw, 61px);
  }

  .emblem-card,
  .lead-form,
  .mortgage-lead-form {
    border-radius: 26px;
  }

  .family-photo-card {
    width: min(100%, 520px);
    aspect-ratio: 5 / 6;
    border-radius: 38% 15% 34% 18% / 18% 30% 16% 36%;
  }

  .family-photo-card figcaption {
    padding: 24px;
  }

  .mortgage-family-moment {
    min-height: 560px;
    padding: 22px;
  }

  .mortgage-family-moment::after {
    background: linear-gradient(180deg, rgba(7, 28, 45, 0.06) 20%, rgba(7, 28, 45, 0.9) 76%, rgba(7, 28, 45, 0.98) 100%);
  }

  .mortgage-family-moment > img {
    object-position: 68% center;
  }

  .mortgage-family-moment-copy {
    padding: 18px 0;
  }

  .family-life-section,
  .mortgage-family-gallery {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 64px 22px 74px;
  }

  .family-life-copy,
  .mortgage-family-gallery-copy {
    max-width: 620px;
  }

  .family-life-scenes,
  .mortgage-family-scenes {
    grid-column: 1;
    grid-row: auto;
    min-height: min(122vw, 620px);
  }

  .mortgage-family-gallery-copy {
    grid-column: 1;
    grid-row: 1;
  }

  .mortgage-family-scenes {
    grid-row: 2;
  }

  .family-scene-primary,
  .mortgage-family-photo-primary {
    inset: 0 13% 10% 0;
  }

  .family-scene-secondary,
  .mortgage-family-photo-secondary {
    width: 58%;
    height: 47%;
  }

  .path-band {
    gap: 12px;
  }

  .mortgage-producer {
    background: rgba(255, 255, 255, 0.075);
  }

  .form-section-label {
    align-items: flex-start;
  }
}

@media (max-width: 420px) {
  .form-topline {
    grid-template-columns: 1fr;
    justify-content: start;
    row-gap: 6px;
  }

  .form-topline span:last-child {
    text-align: left;
  }

  .mortgage-hero-highlights {
    grid-template-columns: 1fr;
  }

  .mortgage-hero-highlights > span {
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: center;
    min-height: 0;
    gap: 4px;
    padding: 12px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button:hover,
  .audience-grid article:hover,
  .next-grid article:hover,
  .client-review:hover,
  .mortgage-benefit-grid article:hover,
  .mortgage-process-grid li:hover {
    transform: none;
  }

  .mortgage-hero-highlights > span:hover {
    transform: none;
  }
}

/* Natural family presentation: warmer, more open, and less card-driven. */
.home-page .path-band {
  position: relative;
  isolation: isolate;
  gap: clamp(28px, 5vw, 72px);
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(224, 200, 142, 0.18), transparent 34%),
    linear-gradient(118deg, #071c2d 0%, #0b2b45 100%);
}

.home-page .path-band::before {
  position: absolute;
  z-index: -1;
  top: -55%;
  right: -7%;
  width: 34%;
  height: 180%;
  content: "";
  border: 1px solid rgba(224, 200, 142, 0.17);
  border-radius: 50%;
  transform: rotate(18deg);
}

.home-page .path-tile {
  min-height: 0;
  padding: clamp(10px, 2vw, 24px) 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.home-page .path-tile:first-child {
  color: rgba(220, 231, 240, 0.78);
  background: transparent;
}

.home-page .path-tile:first-child strong,
.home-page .path-tile:first-child .path-kicker {
  color: var(--sga-ivory);
}

.home-page .path-tile + .path-tile {
  padding-left: clamp(28px, 5vw, 68px);
  border-left: 1px solid rgba(224, 200, 142, 0.28);
}

.home-page .audience-section,
.home-page .next-section,
.mortgage-page .mortgage-process,
.mortgage-page .mortgage-faq {
  background:
    radial-gradient(circle at 8% 12%, rgba(198, 161, 91, 0.08), transparent 30%),
    var(--sga-ivory);
}

.home-page .audience-grid,
.home-page .trust-grid,
.mortgage-page .mortgage-benefit-grid,
.mortgage-page .mortgage-process-grid {
  gap: clamp(24px, 4vw, 52px);
}

.home-page .audience-grid article,
.home-page .trust-grid article,
.home-page .next-grid article,
.mortgage-page .mortgage-benefit-grid article,
.mortgage-page .mortgage-process-grid li {
  position: relative;
  padding: clamp(24px, 3.5vw, 40px) 0 0;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(198, 161, 91, 0.48);
  border-radius: 0;
  box-shadow: none;
}

.home-page .audience-grid article::after,
.mortgage-page .mortgage-benefit-grid article::after {
  top: -5px;
  right: auto;
  bottom: auto;
  left: 0;
  width: 56px;
  height: 9px;
  border-radius: 999px;
  opacity: 1;
}

.home-page .trust-grid article,
.mortgage-page .mortgage-benefit-grid article {
  border-top-color: rgba(224, 200, 142, 0.34);
}

.home-page .trust-grid article > span,
.mortgage-page .mortgage-benefit-grid article > span,
.mortgage-page .mortgage-process-grid li > span {
  box-shadow: 0 10px 26px rgba(198, 161, 91, 0.18);
}

.home-page .reviews-section,
.mortgage-page .reviews-section {
  background:
    radial-gradient(ellipse at 12% 82%, rgba(147, 168, 154, 0.18), transparent 34%),
    linear-gradient(142deg, #faf6ed 0%, #eef3f3 100%);
}

.home-page .client-review,
.mortgage-page .client-review {
  background: rgba(255, 255, 255, 0.66);
  border: 0;
  border-radius: 10px 42px 14px 36px;
  box-shadow: 0 18px 44px rgba(6, 23, 37, 0.07);
}

.home-page .family-life-section,
.mortgage-page .mortgage-family-gallery {
  border-top: 1px solid rgba(198, 161, 91, 0.16);
  border-bottom: 1px solid rgba(198, 161, 91, 0.16);
}

.mortgage-page .mortgage-family-moment {
  min-height: clamp(430px, 46vw, 650px);
}

.mortgage-page .mortgage-explainer-mark {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

@media (hover: hover) and (pointer: fine) {
  .home-page .audience-grid article:hover,
  .home-page .trust-grid article:hover,
  .home-page .next-grid article:hover,
  .mortgage-page .mortgage-benefit-grid article:hover,
  .mortgage-page .mortgage-process-grid li:hover {
    transform: translateY(-3px);
    background: transparent;
    border-color: rgba(198, 161, 91, 0.72);
    box-shadow: none;
  }
}

@media (max-width: 760px) {
  .home-page .path-band {
    gap: 22px;
  }

  .home-page .path-tile + .path-tile {
    padding-top: 24px;
    padding-left: 0;
    border-top: 1px solid rgba(224, 200, 142, 0.28);
    border-left: 0;
  }

  .home-page .audience-grid,
  .home-page .trust-grid,
  .mortgage-page .mortgage-benefit-grid,
  .mortgage-page .mortgage-process-grid {
    gap: 28px;
  }

  .home-page .client-review,
  .mortgage-page .client-review {
    border-radius: 8px 28px 10px 24px;
  }
}
