/*
Theme Name: Goldstone Mutual Investments
Description: A residential acquisitions landing page for Goldstone Mutual Investments LLC.
Version: 2.6.0
Requires PHP: 7.4
Text Domain: gsmi-residential
*/

@font-face {
  font-family: "Instrument Serif";
  src: url("assets/instrument-serif.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url("assets/manrope.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --page: #fff;
  --ink: #292823;
  --muted: #58584f;
  --accent: #765019;
  --accent-hover: #513710;
  --brass: #936a2d;
  --rule: #deddd6;
  --field-line: #89877b;
  --gutter: clamp(1.125rem, 4vw, 3.75rem);
  --display: "Instrument Serif", Georgia, serif;
  font-family: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.65;
  color: var(--ink);
  background: var(--page);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { display: flex; flex-direction: column; min-height: 100vh; margin: 0; }
h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: .12em; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

h1, h2, .profile h3, .seller-situation h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -.025em;
}
h1 { font-size: clamp(3.2rem, 2.25rem + 3.2vw, 5.45rem); }
h2 { font-size: clamp(2.6rem, 2.05rem + 1.9vw, 4rem); }
h1, h2 { text-wrap: balance; }
.shell { width: min(76rem, calc(100% - var(--gutter) - var(--gutter))); margin-inline: auto; }

.skip-link {
  position: absolute;
  z-index: 4;
  inset: .7rem auto auto .7rem;
  transform: translateY(-165%);
  padding: .65rem 1rem;
  color: var(--page);
  background: var(--accent);
}
.skip-link:focus { transform: none; }

.header-layout {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.8vw, 2.5rem);
  min-height: 5.4rem;
  padding-block: .9rem;
  border-bottom: 1px solid var(--rule);
}
.brand {
  display: inline-block;
  width: fit-content;
  font-family: var(--display);
  font-size: 2.45rem;
  line-height: .87;
  letter-spacing: -.025em;
  text-decoration: none;
  white-space: nowrap;
}
.brand small {
  display: block;
  margin-top: .4rem;
  color: var(--accent);
  font-family: Manrope, system-ui, sans-serif;
  font-size: .59rem;
  font-weight: 720;
  line-height: 1.25;
  letter-spacing: .095em;
  text-transform: uppercase;
}
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); margin-inline-start: auto; }
.site-nav a, .header-phone {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: .88rem;
  font-weight: 650;
  text-decoration: none;
}
.site-nav a:hover, .header-phone:hover { color: var(--accent); text-decoration: underline; }
.header-phone { color: var(--accent); font-variant-numeric: tabular-nums; white-space: nowrap; }

.hero {
  display: grid;
  grid-template-areas: "title" "photo" "details";
  gap: 1.35rem;
  padding-block: clamp(1.9rem, 4.1vw, 3.85rem) clamp(2.8rem, 5.6vw, 5.1rem);
}
.hero h1 { grid-area: title; align-self: end; max-width: 16ch; }
.hero-photo {
  grid-area: photo;
  align-self: center;
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 3 / 2;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; }
.hero-details { grid-area: details; align-self: start; }
.hero-details p { max-width: 42ch; color: var(--muted); font-size: clamp(1rem, .95rem + .23vw, 1.12rem); }
.hero-links { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem 1.45rem; margin-top: 1.1rem; }
.hero-secondary { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--muted); font-size: .9rem; }

.cta, #inquiry .fluentform .ff-btn-submit {
  --tag-face: #e5c486;
  --tag-hover: #efd39c;
  --tag-ink: #342918;
  --tag-edge: #896630;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  min-height: 2.95rem;
  padding: .62rem 1.12rem .62rem 2.35rem;
  border: 1px solid var(--tag-edge);
  border-radius: 1.6rem .33rem .33rem 1.6rem;
  background-color: var(--tag-face);
  box-shadow: 0 2px 0 var(--tag-edge);
  color: var(--tag-ink);
  font: 710 .95rem/1.35 Manrope, system-ui, sans-serif;
  text-align: start;
  text-decoration: none;
  cursor: pointer;
}
.cta::before, #inquiry .fluentform .ff-btn-submit::before {
  content: "";
  position: absolute;
  inset-inline-start: .87rem;
  top: 50%;
  width: .43rem;
  height: .43rem;
  transform: translateY(-50%);
  border: 1px solid var(--tag-edge);
  border-radius: 50%;
  background: var(--page);
  box-shadow: 0 0 0 1.5px var(--tag-face), 0 0 0 2.5px var(--tag-edge);
  pointer-events: none;
}
.cta--outline {
  --tag-face: var(--page);
  --tag-hover: #faf3e6;
  --tag-ink: var(--accent);
  --tag-edge: #a08152;
  min-height: 2.75rem;
  box-shadow: none;
}
.cta:hover, #inquiry .fluentform .ff-btn-submit:hover {
  background-color: var(--tag-hover);
  color: var(--tag-ink);
  opacity: 1;
}
.cta:active, #inquiry .fluentform .ff-btn-submit:active { box-shadow: none; }
.cta:focus-visible, #inquiry .fluentform .ff-btn-submit:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.options-section, .inquiry-layout {
  display: grid;
  align-items: start;
  gap: 1.5rem;
  padding-block: clamp(2.55rem, 5.1vw, 4.75rem);
  border-top: 1px solid var(--rule);
}
.options-intro p, .inquiry-copy p { margin-top: .9rem; max-width: 35ch; color: var(--muted); }
.options-detail, .inquiry-form { min-width: 0; }
.options-detail { container-type: inline-size; }
[data-slot="tabs-list"] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .12rem 1rem;
}
[data-slot="tabs-trigger"] {
  position: relative;
  min-height: 2.8rem;
  padding: .4rem 0 .5rem;
  border: 0;
  border-bottom: 2px solid var(--rule);
  background: transparent;
  color: var(--muted);
  font-size: clamp(.88rem, .84rem + .25vw, 1.05rem);
  font-weight: 670;
  line-height: 1.3;
  text-align: start;
  cursor: pointer;
}
[data-slot="tabs-trigger"]:hover, [data-slot="tabs-trigger"][data-state="active"] { color: var(--ink); }
[data-slot="tabs-trigger"][data-state="active"] { border-bottom-color: var(--brass); }
[data-slot="tabs-trigger"]:focus-visible { z-index: 1; }
.tab-indicator {
  position: absolute;
  z-index: 2;
  inset: auto 0 -2px;
  display: none;
  height: 2px;
  background: var(--brass);
  pointer-events: none;
}
@container (min-width: 34rem) {
  [data-slot="tabs-list"] {
    display: flex;
    flex-wrap: wrap;
    gap: .12rem clamp(1rem, 1.85vw, 1.65rem);
    border-bottom: 1px solid var(--rule);
  }
  [data-slot="tabs-trigger"] { margin-bottom: -1px; border-bottom-color: transparent; }
}
.offer-panel { padding-top: 1.35rem; }
.offer-copy h3 { font-size: clamp(1.35rem, 1.15rem + .7vw, 1.8rem); line-height: 1.25; letter-spacing: -.025em; }
.offer-copy p { max-width: 60ch; margin-top: .65rem; color: var(--muted); }
.offer-aside .cta { margin-top: 1rem; }
.offer-panels { display: grid; }
.offer-panels > .offer-panel { grid-area: 1 / 1; min-inline-size: 0; }
.offer-panels > [data-state="inactive"] { visibility: hidden; }
.offers-fallback .offer-panel { padding-top: 0; }
.offers-fallback .offer-panel + .offer-panel { margin-top: 2rem; }

.reasons-section {
  padding-block: clamp(2.5rem, 4.7vw, 4.25rem);
  border-top: 1px solid var(--rule);
}
.reasons-section > h2 { margin-bottom: clamp(1.45rem, 3vw, 2.35rem); }
.seller-situations {
  display: grid;
  gap: 2.2rem clamp(1.65rem, 4vw, 3.25rem);
}
.seller-situation { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.seller-photo {
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 3 / 2;
}
.seller-photo img { width: 100%; height: 100%; object-fit: cover; }
.seller-photo--kitchen img { object-position: 50% 54%; }
.seller-photo--neighborhood img { object-position: 50% 48%; }
.seller-situation h3 { margin-top: 1.05rem; font-size: clamp(2.15rem, 1.65rem + 1.7vw, 3.25rem); }
.seller-situation p { max-width: 51ch; margin-block: .65rem 1rem; color: var(--muted); }
.seller-situation .cta { margin-top: auto; }
.seller-reasons {
  display: grid;
  gap: 1.3rem clamp(1.65rem, 4vw, 3.25rem);
  margin: clamp(2.1rem, 4.6vw, 3.6rem) 0 0;
  padding: 0;
  list-style: none;
}
.seller-reasons li { min-width: 0; padding-top: .85rem; border-top: 1px solid var(--rule); }
.seller-reasons h3 { font-size: 1.06rem; font-weight: 750; line-height: 1.35; }
.seller-reasons p { max-width: 37ch; margin-top: .35rem; color: var(--muted); font-size: .95rem; }
@media (any-hover: hover) {
  .seller-reasons > li:hover { border-top-color: var(--brass); background-color: #faf6ed; }
}
@media (min-width: 36rem) {
  .seller-reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 48rem) {
  .seller-situations { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seller-reasons { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.process-section {
  display: grid;
  gap: clamp(1.45rem, 3.8vw, 3.5rem);
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
  border-top: 1px solid var(--rule);
  scroll-margin-block-start: min(22vh, 12rem);
}
.process-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .9rem 2rem; }
.process-steps {
  --step-number-size: clamp(2.15rem, 2rem + .8vw, 2.75rem);
  --step-gap: clamp(.85rem, .68rem + .65vw, 1.25rem);
  --step-number-inset: .85rem;
  --step-center: calc(var(--step-number-inset) + var(--step-number-size) / 2);
  --process-rail-width: .25rem;
  --process-rail-inset: calc((var(--step-number-size) - var(--process-rail-width)) / 2);
  position: relative;
  isolation: isolate;
  display: grid;
  gap: var(--step-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}
.process-steps > li {
  position: relative;
  display: grid;
  grid-template-columns: var(--step-number-size) minmax(0, 1fr);
  align-items: start;
  column-gap: clamp(.7rem, 1.7vw, 1.35rem);
}
.process-steps > li:not(:last-child)::before, .process-steps::after {
  position: absolute;
  inset-block-start: var(--step-center);
  inset-inline-start: var(--process-rail-inset);
  inline-size: var(--process-rail-width);
  pointer-events: none;
}
.process-steps > li:not(:last-child)::before {
  content: "";
  inset-block-end: calc(-1 * (var(--step-gap) + var(--step-center)));
  background: #e4d7bf;
}
.step-number {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  block-size: var(--step-number-size);
  margin-block-start: var(--step-number-inset);
  border: 1px solid #d5c6a9;
  border-radius: 50%;
  background: var(--page);
  color: var(--accent);
  font: 400 1.65rem/1 var(--display);
}
.step-copy {
  padding: clamp(.85rem, .72rem + .65vw, 1.3rem) clamp(.9rem, .7rem + 1.15vw, 1.65rem);
  border: 1px solid var(--rule);
  border-radius: .4rem;
}
.step-copy h3 { font-size: clamp(1.18rem, 1rem + .5vw, 1.45rem); line-height: 1.25; letter-spacing: -.025em; }
.step-copy p { max-width: 56ch; margin-top: .45rem; color: var(--muted); }
@media (min-width: 50rem) {
  .process-section { grid-template-columns: minmax(0, .66fr) minmax(0, 1.34fr); align-items: start; }
  .process-heading { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .process-steps::after {
    content: "";
    z-index: 1;
    block-size: var(--process-rail-length, 0px);
    background: var(--brass);
    transform: scaleY(var(--process-progress, 0));
    transform-origin: center top;
    transition: transform 105ms cubic-bezier(.2, .7, .35, 1);
  }
  .process-steps .step-number {
    transition: background-color 140ms ease-out, border-color 140ms ease-out, color 140ms ease-out;
  }
  .process-steps .step-copy { transition: border-color 140ms ease-out, box-shadow 140ms ease-out; }
  .process-steps h3 { transition: color 140ms ease-out; }
  .process-steps > [data-current-step] .step-number { border-color: var(--accent); background: var(--accent); color: var(--page); }
  .process-steps > [data-current-step] .step-copy { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
  .process-steps > [data-current-step] h3 { color: var(--accent); }
}

.team-section { padding-block: clamp(1.1rem, 2.5vw, 2.2rem) clamp(3rem, 5.8vw, 5.4rem); }
.team-section h2 { margin-bottom: clamp(1.5rem, 3.2vw, 2.6rem); }
.team-profiles { display: grid; gap: 2rem clamp(2rem, 5.2vw, 5rem); }
.profile {
  --portrait-size: clamp(4.7rem, 8.5vw, 7rem);
  display: grid;
  grid-template-columns: var(--portrait-size) minmax(0, 1fr);
  grid-template-areas: "photo name" "photo bio";
  align-content: start;
  align-items: start;
  gap: .55rem clamp(.95rem, 1.9vw, 1.65rem);
}
.profile-photo {
  grid-area: photo;
  width: var(--portrait-size);
  height: var(--portrait-size);
  object-fit: cover;
}
.profile-identity { grid-area: name; }
.profile h3 { font-size: clamp(1.9rem, 1.65rem + 1vw, 2.55rem); }
.profile-role { margin-top: .25rem; color: var(--accent); font-size: .84rem; font-weight: 670; }
.profile-copy { grid-area: bio; }
.profile-copy p { max-width: 59ch; color: var(--muted); font-size: .96rem; }
.profile-links { display: flex; flex-wrap: wrap; gap: 0 1rem; margin-top: .4rem; }
.profile-links a, .form-policies a, .footer-policies a {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  color: var(--accent);
  font-size: .85rem;
  font-weight: 640;
}

.direct-contact { display: grid; justify-items: start; margin-top: 1rem; }
.direct-contact a { display: inline-flex; align-items: center; min-height: 2.65rem; color: var(--accent); font-weight: 675; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.2rem; }
.fields .full { grid-column: 1 / -1; }
.fields label, .inquiry-form .fluentform .ff-el-input--label label { color: var(--ink); font-size: .91rem; font-weight: 690; }
.optional, .form-note { color: var(--muted); font-size: .83rem; font-weight: 520; }
.fields input, .fields select, .fields textarea, .inquiry-form .fluentform .ff-el-form-control {
  display: block;
  width: 100%;
  min-height: 2.85rem;
  padding: .56rem .67rem;
  border: 1px solid var(--field-line);
  border-radius: .12rem;
  color: var(--ink);
  background-color: var(--page);
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
}
.fields input, .fields select, .fields textarea { margin-top: .28rem; }
.inquiry-form textarea { resize: vertical; }
.sms-consent { margin-block: 1.2rem; font-size: .9rem; }
.consent-label { display: flex; align-items: flex-start; gap: .65rem; font-weight: 670; cursor: pointer; }
.consent-label input { flex: 0 0 1.12rem; width: 1.12rem; height: 1.12rem; margin: .18rem 0 0; accent-color: var(--accent); }
.sms-consent p { margin: .45rem 0 0 1.77rem; color: var(--muted); }
.inquiry-form .fluentform .ff-el-form-check label { line-height: 1.55; }
.inquiry-form .fluentform .ff-el-form-check input { accent-color: var(--accent); }
.inquiry-form .form-sms-disclosure { color: var(--muted); font-size: .9rem; }
.form-policies { display: flex; flex-wrap: wrap; align-items: center; gap: .1rem 1.1rem; margin-top: .45rem; }
.form-note { margin-top: .25rem; }
.form-note:empty { display: none; }
.field-error { color: #a12621; font-size: .85rem; font-weight: 650; }
.field-error:not(:empty) { margin-top: .3rem; }

.site-footer { margin-top: auto; }
.footer-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: 1.7rem 2rem;
  border-top: 1px solid var(--rule);
}
.site-footer .brand { font-size: 1.95rem; }
address { color: var(--muted); font-style: normal; }
.site-footer address { margin-top: .65rem; font-size: .85rem; }
.footer-policies { display: flex; flex-wrap: wrap; gap: 0 1.2rem; }

.policy { max-width: 45rem; padding-block: clamp(3rem, 6vw, 5rem); }
.policy h1 { margin-bottom: 1.2rem; font-size: clamp(3rem, 2.4rem + 2vw, 4.8rem); }
.policy h2 { margin: 1.75rem 0 .6rem; font-family: inherit; font-size: 1.23rem; font-weight: 720; line-height: 1.3; }
.policy p { max-width: 65ch; }
.policy p + p { margin-top: .6rem; }
.policy a { color: var(--accent); }
.policy address { display: grid; justify-items: start; gap: .32rem; }

@media (prefers-reduced-motion: no-preference) {
  .hero-photo, .seller-photo { --photo-crop: 36px; position: relative; }
  .hero-photo img, .seller-photo img {
    position: absolute;
    inset: calc(-1px - var(--photo-crop) / 2) 0 auto;
    height: calc(100% + var(--photo-crop) + 2px);
  }
  [data-scroll-reveal] { --reveal-x: 0px; --reveal-y: 24px; }
  [data-scroll-ready] [data-scroll-reveal]:not([data-scroll-revealed]):not(:focus-within) {
    transform: translate3d(var(--reveal-x), var(--reveal-y), 0);
  }
  [data-scroll-running] [data-scroll-revealed]:not(:focus-within) {
    transition: transform 620ms cubic-bezier(.22, .61, .36, 1) var(--reveal-delay, 0ms);
  }
  [data-slot="tabs-trigger"][data-state="active"] { border-bottom-color: transparent; }
  .tab-indicator { display: block; }
}
@media (min-width: 48rem) and (prefers-reduced-motion: no-preference) {
  .hero-photo, .seller-photo { --photo-crop: 84px; }
}
@media (min-width: 64rem) and (prefers-reduced-motion: no-preference) {
  [data-scroll-reveal="left"] { --reveal-x: calc(-1 * clamp(40px, 3.8vw, 56px)); --reveal-y: 0px; }
  [data-scroll-reveal="right"] { --reveal-x: clamp(32px, 3.2vw, 46px); --reveal-y: 0px; }
  .options-detail, .seller-situation:nth-child(2), .seller-reasons li:nth-child(3n + 2),
  .team-profiles .profile:nth-child(2) { --reveal-delay: 90ms; }
  .seller-reasons li:nth-child(3n) { --reveal-delay: 180ms; }
}
@media (prefers-reduced-motion: no-preference) {
  .cta, #inquiry .fluentform .ff-btn-submit { transition: background-color 150ms ease, transform 110ms ease; }
  .cta:active, #inquiry .fluentform .ff-btn-submit:active { transform: translateY(2px); }
}
@media (forced-colors: active) {
  .cta, #inquiry .fluentform .ff-btn-submit { border-color: ButtonText; background: ButtonFace; color: ButtonText; box-shadow: none; }
  .cta::before, #inquiry .fluentform .ff-btn-submit::before { border-color: ButtonText; box-shadow: none; }
  [data-slot="tabs-trigger"][data-state="active"] { border-bottom-color: Highlight; forced-color-adjust: none; color: ButtonText; }
  .tab-indicator { display: none; }
}

@media (min-width: 42rem) {
  .hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    grid-template-areas: "title title" "photo details";
    column-gap: clamp(1.7rem, 3.8vw, 2.1rem);
  }
  .hero h1 { max-width: none; }
  .hero-details { align-self: center; }
}
@media (min-width: 50rem) {
  .hero {
    grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr);
    grid-template-areas: "photo title" "photo details";
    gap: 1.15rem clamp(2.2rem, 4.8vw, 4.8rem);
  }
  .hero h1 { max-width: 12.5ch; }
  .hero-details { align-self: start; }
  .options-section, .inquiry-layout {
    grid-template-columns: minmax(0, .74fr) minmax(0, 1.26fr);
    column-gap: clamp(2.5rem, 7vw, 6.5rem);
  }
}
@media (min-width: 62rem) {
  .team-profiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 46rem) {
  .header-layout {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .2rem .8rem;
    min-height: 0;
    padding-block: .85rem .1rem;
  }
  .brand { font-size: 2rem; }
  .brand small { font-size: .55rem; }
  .header-phone { justify-self: end; }
  .site-nav {
    grid-row: 2;
    grid-column: 1 / -1;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0 .45rem;
    margin-inline-start: 0;
  }
  .site-nav a, .header-phone { font-size: .82rem; }
}
@media (max-width: 31rem) {
  .hero-links { column-gap: 1.1rem; }
  .profile { grid-template-areas: "photo name" "bio bio"; align-items: center; row-gap: .9rem; }
  .fields { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 23rem) {
  .site-nav { column-gap: .3rem; }
  .site-nav a { font-size: .78rem; }
}
