/* Mark Rose - Bay Area buyer & seller landing (Sotheby's International Realty palette) */

:root {
  --sothebys-blue: #002349;
  --accent-gray: #999999;
  --text-gray: #666666;
  --sothebys-gold: #BD9042;
  --navy: var(--sothebys-blue);
  --navy-deep: var(--sothebys-blue);
  --ink: var(--sothebys-blue);
  --ink-soft: var(--text-gray);
  --cream: #f6f1e8;
  --cream-rgb: 246 241 232;
  --cream-warm: #ebe3d6;
  --cream-soft: #faf7f2;
  --cream-soft-rgb: 250 247 242;
  --gold: var(--sothebys-gold);
  --gold-soft: var(--sothebys-gold);
  --gold-deep: var(--sothebys-gold);
  --line: rgb(0 35 73 / 0.1);
  --line-gold: rgb(189 144 66 / 0.35);
  --white: #ffffff;
  --shadow: 0 24px 60px rgb(0 35 73 / 0.12);
  --shadow-soft: 0 12px 40px rgb(0 35 73 / 0.08);
  --shadow-button: 0 10px 30px rgb(0 35 73 / 0.22);
  --shadow-button-hover: 0 16px 36px rgb(0 35 73 / 0.28);
  --shadow-form-button: 0 10px 28px rgb(0 35 73 / 0.2);
  --error-bg: #f8e8e8;
  --error-text: #6b2a2a;
  --radius: 12px;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Open Sans", "Segoe UI", system-ui, sans-serif;
  --max: 1120px;
  --header-h: 4.25rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--cream);
  padding: 0.65rem 1rem;
  z-index: 100;
  font-size: 0.9rem;
}

.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
}


/* ---------- Announcement bar (click-to-call) ---------- */
.announce-bar {
  background: var(--navy);
  color: var(--cream);
  text-align: center;
  padding: 0.55rem 1rem;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.35;
}

.announce-bar__text {
  margin: 0;
  max-width: var(--max);
  margin-inline: auto;
}

.announce-bar__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: 0.55rem;
  vertical-align: middle;
}

.announce-bar__link--secondary {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgb(246 241 232 / 0.45);
}

.announce-bar__link--secondary:hover,
.announce-bar__link--secondary:focus-visible {
  background: rgb(246 241 232 / 0.12);
  color: var(--cream);
  border-color: var(--cream);
}

@media (max-width: 480px) {
  .announce-bar__actions {
    display: flex;
    justify-content: center;
    margin: 0.45rem 0 0;
  }
}


.announce-bar__link {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  margin-left: 0;
  display: inline-block;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  background: var(--gold);
  border-bottom: none;
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}

.announce-bar__link:hover,
.announce-bar__link:focus-visible {
  background: #d4b06a;
  color: var(--navy);
  outline: none;
  transform: translateY(-1px);
}

@media (max-width: 480px) {
  .announce-bar {
    font-size: 0.8rem;
    padding: 0.6rem 0.85rem;
  }

  .announce-bar__link {
    display: inline-block;
    margin-left: 0.15rem;
    margin-top: 0.1rem;
  }
}

/* Sticky header + announce bar: keep jump targets clear of clip */
#lead-form,
#guide-offer {
  scroll-margin-top: 11.5rem;
}

@media (min-width: 768px) {
  #lead-form,
  #guide-offer {
    scroll-margin-top: 8.5rem;
  }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(var(--cream-rgb) / 0.72);
  border-bottom: 1px solid transparent;
  transition:
    background 0.35s var(--ease-out),
    border-color 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out);
}

.site-header.is-scrolled {
  background: rgb(var(--cream-rgb) / 0.82);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgb(0 35 73 / 0.06);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.72rem 1.5rem 0.98rem;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
}

.brand-logo {
  display: block;
  width: 154px;
  height: auto;
  transform: translateY(-2px);
}

.header-cta {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--navy);
  border: 1px solid var(--navy);
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  transition:
    background 0.3s var(--ease-out),
    color 0.3s var(--ease-out),
    border-color 0.3s var(--ease-out),
    transform 0.3s var(--ease-out);
}

.header-cta:hover,
.header-cta:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--cream);
  transform: translateY(-1px);
  outline: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin-left: auto;
  margin-right: 1.25rem;
}

.site-nav a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
  transition:
    color 0.25s var(--ease-out),
    border-color 0.25s var(--ease-out);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--navy);
  border-bottom-color: var(--gold);
  outline: none;
}

.site-nav a[aria-current="page"] {
  color: var(--navy);
  border-bottom-color: var(--gold);
}

.hero-heading--seller {
  max-width: 14ch;
}

.seller-disclosure {
  margin: 1.8rem 0 1.25rem;
  padding: 1.15rem 1.1rem 1.2rem;
  background: linear-gradient(135deg, rgb(246 241 232 / 0.55), rgb(var(--cream-soft-rgb) / 0.92));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.disclosure-copy--soft {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--ink-soft);
}


/* Soft / placeholder heroes (Mark will supply final photos) */
.hero--soft .hero-media {
  background:
    radial-gradient(ellipse 80% 60% at 70% 30%, rgb(189 144 66 / 0.18), transparent 55%),
    linear-gradient(145deg, #001a36 0%, #002349 45%, #0a3358 100%);
}
.hero--soft .hero-photo {
  display: none;
}
.hero--soft .hero-veil {
  background:
    linear-gradient(
      105deg,
      rgb(0 35 73 / 0.55) 0%,
      rgb(0 35 73 / 0.35) 45%,
      rgb(0 35 73 / 0.5) 100%
    );
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--cream);
  background: var(--navy-deep);
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.06);
  will-change: transform;
  animation: kenburns 22s var(--ease-out) forwards;
}

/* Shared by buy + sell heroes */
@keyframes kenburns {
  from {
    transform: scale(1.06) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.2) translate3d(-2%, -1.2%, 0);
  }
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgb(0 35 73 / 0.78) 0%,
      rgb(0 35 73 / 0.55) 38%,
      rgb(0 35 73 / 0.28) 68%,
      rgb(0 35 73 / 0.42) 100%
    ),
    linear-gradient(
      to top,
      rgb(0 35 73 / 0.72) 0%,
      rgb(0 35 73 / 0.15) 45%,
      rgb(0 35 73 / 0.35) 100%
    );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 7rem 1.5rem 5.5rem;
  width: 100%;
}

.hero-eyebrow,
.section-eyebrow,
.credibility-kicker {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-eyebrow {
  color: var(--gold-soft);
}

.section-eyebrow,
.credibility-kicker {
  color: var(--gold-deep);
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.1rem, 7.8vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 11ch;
}

.hero-lede {
  margin: 0 0 2rem;
  max-width: 34rem;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  font-weight: 300;
  line-height: 1.65;
  color: rgb(var(--cream-rgb) / 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
}

.hero-byline {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: rgb(246 241 232 / 0.72);
}

.hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0.55;
}

.hero-scroll span {
  display: block;
  width: 1px;
  height: 2.5rem;
  background: linear-gradient(to bottom, transparent, var(--gold-soft));
  animation: scrollpulse 2.4s ease-in-out infinite;
}

@keyframes scrollpulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scaleY(0.85);
    transform-origin: top;
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
    transform-origin: top;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.95rem 1.85rem;
  transition:
    transform 0.35s var(--ease-out),
    background 0.35s var(--ease-out),
    color 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out),
    border-color 0.35s var(--ease-out);
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--navy);
  color: var(--cream);
  box-shadow: var(--shadow-button);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-button-hover), inset 0 0 0 1px var(--gold);
  outline: none;
}

.form-section .btn-primary,
.hero-form-card .btn-primary {
  background: var(--navy);
  color: var(--cream);
  box-shadow: var(--shadow-form-button);
}

.form-section .btn-primary:hover,
.form-section .btn-primary:focus-visible,
.hero-form-card .btn-primary:hover,
.hero-form-card .btn-primary:focus-visible {
  background: var(--navy);
  color: var(--cream);
  box-shadow: var(--shadow-form-button), inset 0 0 0 1px var(--gold);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--gold);
  color: var(--gold-deep);
  transform: translateY(-1px);
  outline: none;
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

/* ---------- Credibility strip ---------- */
.credibility {
  background: var(--navy);
  color: var(--cream);
  border-bottom: 1px solid rgb(189 144 66 / 0.15);
}

.credibility-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.75rem 1.5rem 3rem;
}

.credibility-kicker {
  color: var(--gold-soft);
  margin-bottom: 1.5rem;
}

.credibility-strip {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem 2rem;
}

.credibility-strip li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.45rem;
  padding-top: 1rem;
  border-top: 1px solid rgb(189 144 66 / 0.28);
}

.cred-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
}


.credibility-strip--nbhd {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 960px;
  margin-inline: auto;
  column-gap: clamp(2rem, 6vw, 4.5rem);
}

.credibility-strip--nbhd li {
  align-items: center;
  text-align: center;
}

.cred-value {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.35;
  color: rgb(var(--cream-rgb) / 0.92);
}

.cred-value--license {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}


/* ---------- Trust / how it works ---------- */
.trust {
  background: var(--cream-soft);
  padding: 4.5rem 1.5rem 5rem;
}

.trust-intro {
  max-width: var(--max);
  margin: 0 auto 2.75rem;
}

.trust-intro h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 2.85rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  max-width: 16ch;
  color: var(--ink);
}

.trust-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.trust article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.85rem 1.6rem 1.9rem;
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out),
    border-color 0.4s var(--ease-out);
}

.trust article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--line-gold);
}

.trust-num {
  display: block;
  margin-bottom: 1.1rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.trust article h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 500;
  color: var(--ink);
}

.trust article p {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 300;
  color: var(--ink-soft);
}

/* ---------- Form ---------- */
.form-section {
  padding: 4.5rem 1.5rem 5.5rem;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgb(189 144 66 / 0.08), transparent 55%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-warm) 100%);
}

.form-shell {
  max-width: 640px;
  margin: 0 auto;
}

.form-intro {
  text-align: center;
  margin-bottom: 2rem;
}

.form-intro h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.015em;
}

.form-intro p {
  margin: 0 auto;
  max-width: 32rem;
  color: var(--ink-soft);
  font-weight: 300;
}

.form-wrap {
  background: var(--white);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  padding: 2.25rem 2rem 2.4rem;
}

.field {
  margin-bottom: 1.2rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}

.req {
  color: var(--gold);
}

.optional {
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-soft);
}

.field-help {
  margin: -0.1rem 0 0.55rem;
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.45;
  color: var(--ink-soft);
}

.choice-fieldset {
  border: 0;
  margin: 0 0 1.2rem;
  padding: 0;
  min-inline-size: 0;
}

.choice-fieldset legend {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 0;
}

.choice-pills {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.choice-pill {
  margin: 0;
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  font-size: 0.95rem;
}

.choice-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-pill span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--cream-soft);
  color: var(--ink);
  transition:
    border-color 0.25s var(--ease-out),
    background 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out),
    color 0.25s var(--ease-out);
}

.choice-pill input:checked + span {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--cream);
  box-shadow: var(--shadow-soft);
}

.choice-pill input:focus-visible + span {
  outline: none;
  box-shadow: 0 0 0 3px rgb(189 144 66 / 0.25);
}

.choice-pill:hover span {
  border-color: rgb(0 35 73 / 0.28);
}

.buyer-rep-disclosure {
  margin: 1.8rem 0 1.25rem;
  padding: 1.25rem 1.1rem 1.3rem;
  background: linear-gradient(135deg, rgb(246 241 232 / 0.72), rgb(var(--cream-soft-rgb) / 0.96));
  border-top: 1px solid var(--line-gold);
  border-bottom: 1px solid var(--line-gold);
}

.disclosure-copy {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.18rem;
  line-height: 1.4;
  color: var(--ink);
}

.checkbox-list {
  display: grid;
  gap: 0.85rem;
}

.checkbox-label {
  display: grid;
  grid-template-columns: 1.15rem 1fr;
  align-items: start;
  gap: 0.7rem;
  margin: 0;
  font-size: 0.86rem;
  font-weight: 300;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-soft);
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  appearance: none;
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.08rem 0 0;
  display: grid;
  place-content: center;
  border: 1px solid var(--gold);
  border-radius: 4px;
  background: var(--white);
  cursor: pointer;
}

.checkbox-label input[type="checkbox"]::before {
  content: "✓";
  color: var(--cream);
  font-size: 0.78rem;
  line-height: 1;
  transform: scale(0);
  transition: transform 0.2s var(--ease-out);
}

.checkbox-label input[type="checkbox"]:checked {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
}

.checkbox-label input[type="checkbox"]:checked::before {
  transform: scale(1);
}

.checkbox-label input[type="checkbox"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgb(189 144 66 / 0.2);
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink);
  background: var(--cream-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.8rem 0.95rem;
  transition:
    border-color 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out),
    background 0.25s var(--ease-out);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgb(189 144 66 / 0.18);
  background: var(--white);
}

textarea {
  resize: vertical;
  min-height: 6.5rem;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666666' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
  padding-right: 2.3rem;
}

.form-error {
  margin: 0 0 1rem;
  padding: 0.7rem 0.9rem;
  background: var(--error-bg);
  color: var(--error-text);
  border-radius: 10px;
  font-size: 0.92rem;
}

.form-footnote {
  margin: 1.1rem 0 0;
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--ink-soft);
  text-align: center;
}

.success-state {
  text-align: center;
  padding: 1.25rem 0.5rem 0.5rem;
}

.success-state h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
}

.success-state p {
  margin: 0 0 1.6rem;
  color: var(--ink-soft);
  font-weight: 300;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgb(var(--cream-rgb) / 0.78);
  padding: 2.5rem 1.5rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  display: block;
  width: 215px;
  max-width: 100%;
  height: auto;
  margin-bottom: 1rem;
}

.footer-inner p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  font-weight: 300;
}

.footer-profile {
  display: inline-block;
  margin-top: 0.7rem;
  color: rgb(var(--cream-rgb) / 0.78);
  font-size: 0.78rem;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.footer-profile:hover {
  color: var(--cream);
}

.footer-eh {
  margin-top: 0.55rem !important;
  opacity: 0.65;
  font-size: 0.78rem !important;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.reveal-delay-1 {
  transition-delay: 0.12s;
}

.reveal-delay-2 {
  transition-delay: 0.22s;
}

.reveal-delay-3 {
  transition-delay: 0.32s;
}

/* Hero reveals fire immediately via .hero.is-ready */
.hero.is-ready .reveal {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .credibility-strip {
    grid-template-columns: repeat(2, 1fr); /* intentional 2×2 with four items */
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }
}

@media (max-width: 640px) {
  .header-inner {
    padding: 0.62rem 1.1rem 0.88rem;
    flex-wrap: wrap;
  }

  .site-nav {
    order: 3;
    width: 100%;
    margin: 0.15rem 0 0;
    gap: 1.1rem;
  }

  .header-cta {
    font-size: 0.72rem;
    padding: 0.5rem 0.85rem;
  }

  .hero {
    min-height: min(88vh, 720px);
  }

  .hero--with-form {
    min-height: auto;
  }

  .hero-content {
    padding: 5.5rem 1.15rem 4.25rem;
  }

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

  .credibility-inner {
    padding: 2.25rem 1.15rem 2.5rem;
  }

  .credibility-strip {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .trust {
    padding: 3.25rem 1.15rem 3.5rem;
  }

  .form-section {
    padding: 3.25rem 1.15rem 4rem;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .choice-pills {
    gap: 0.5rem;
  }

  .choice-pill span {
    min-height: 2.7rem;
    font-size: 0.92rem;
  }

  .form-wrap {
    padding: 1.65rem 1.2rem 1.85rem;
  }
}


/* Guide offer (lead magnet) */
.guide-offer {
  background: linear-gradient(180deg, #f7f3eb 0%, #fff 100%);
  padding: 4.5rem 1.5rem 4.75rem;
  border-top: 1px solid rgba(0, 35, 73, 0.08);
}

.guide-offer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

.guide-copy h2 {
  font-family: "Playfair Display", Georgia, serif;
  color: #002349;
  font-weight: 500;
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  margin: 0.35rem 0 0.85rem;
  letter-spacing: -0.02em;
}

.guide-subhead {
  color: rgba(0, 35, 73, 0.78);
  font-size: 1.05rem;
  line-height: 1.55;
  margin: 0 0 1.25rem;
  max-width: 38rem;
}

.guide-bullets {
  margin: 0 0 1.15rem;
  padding: 0 0 0 1.15rem;
  color: #002349;
}

.guide-bullets li {
  margin: 0.45rem 0;
  line-height: 1.45;
}

.guide-micro {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(0, 35, 73, 0.55);
}

.guide-cta-card {
  background: #002349;
  color: #f7f3eb;
  border-radius: 14px;
  padding: 1.75rem 1.6rem 1.7rem;
  box-shadow: 0 18px 40px rgba(0, 35, 73, 0.18);
}

.guide-cta-kicker {
  margin: 0 0 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.68rem;
  color: #BD9042;
  font-weight: 600;
}

.guide-cta-card h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  margin: 0 0 0.65rem;
  font-size: 1.55rem;
}

.guide-cta-card p {
  margin: 0 0 1.15rem;
  color: rgba(247, 243, 235, 0.82);
  line-height: 1.5;
  font-size: 0.95rem;
}

.guide-preview-link {
  display: inline-block;
  margin-top: 0.85rem;
  color: #BD9042;
  font-size: 0.88rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn-ghost-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
}

.success-state .btn {
  margin: 0.35rem 0.5rem 0.35rem 0;
}

@media (max-width: 860px) {
  .guide-offer-inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-photo {
    animation: none;
    transform: scale(1.05);
  }

  .hero-scroll span,
  .btn,
  .header-cta,
  .trust article,
  input,
  select,
  textarea,
  .reveal {
    animation: none !important;
    transition: none !important;
  }

  .reveal,
  .hero .reveal {
    opacity: 1;
    transform: none;
  }
}


.success-report-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0 0.5rem;
}
.success-report-links .btn {
  text-decoration: none;
}

/* ---------- Hero with short consumer form (above the fold) ---------- */
.hero--with-form {
  min-height: auto;
  align-items: stretch;
}

.hero-content--with-form {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: 1.75rem 2.5rem;
  /* Top-align copy with form card so desktop headline sits higher / above the fold */
  align-items: start;
  padding: 5rem 1.5rem 2.75rem;
}

.hero-copy {
  max-width: 36rem;
  padding-top: 0.15rem;
  padding-bottom: 0;
}

.hero--with-form .hero-eyebrow {
  margin-bottom: 0.75rem;
}

.hero--with-form h1 {
  margin-bottom: 0.95rem;
}

.hero--with-form .hero-lede {
  margin-bottom: 1rem;
}

.hero--with-form .hero-actions {
  gap: 0.85rem 1.5rem;
}

.hero-form-card {
  position: relative;
  z-index: 2;
  color: var(--cream);
  max-width: 28rem;
  width: 100%;
  justify-self: end;
  background: rgb(0 27 55 / 0.94);
  border: 1px solid rgb(189 144 66 / 0.28);
  border-radius: calc(var(--radius) + 8px);
  padding: 1.25rem 1.2rem 1.35rem;
  box-shadow: 0 22px 56px rgb(0 10 28 / 0.45);
  backdrop-filter: blur(8px);
}

.hero-form-intro {
  margin: 0 0 0.95rem;
  padding: 0 0.15rem;
}

.hero-form-intro .section-eyebrow {
  color: var(--gold-soft);
  margin-bottom: 0.35rem;
}

.hero-form-intro h2 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.6vw, 1.95rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: #ffffff;
}

.hero-form-intro p {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.45;
  color: #ffffff;
}

.hero-form-intro .form-value-callout {
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #ffffff;
}


.form-wrap--hero {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.form-wrap--hero .field {
  margin-bottom: 0.85rem;
}

.form-wrap--hero label,
.form-wrap--hero .choice-fieldset legend {
  color: rgb(255 255 255 / 0.92);
}

.form-wrap--hero .optional {
  color: rgb(255 255 255 / 0.62);
}

.form-wrap--hero input[type="text"],
.form-wrap--hero input[type="email"],
.form-wrap--hero input[type="tel"],
.form-wrap--hero textarea {
  background: rgb(255 255 255 / 0.96);
  border-color: rgb(255 255 255 / 0.2);
  color: var(--ink);
}

.form-wrap--hero .choice-pill span {
  background: rgb(255 255 255 / 0.08);
  border-color: rgb(255 255 255 / 0.28);
  color: #ffffff;
}

.form-wrap--hero .choice-pill input:checked + span {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

.form-wrap--hero .choice-pill:hover span {
  border-color: rgb(189 144 66 / 0.55);
}

.form-wrap--hero .form-footnote {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: rgb(255 255 255 / 0.7);
}

.form-wrap--hero .form-error {
  color: #ffd7d7;
}

.form-wrap--hero .success-state {
  color: var(--cream);
}

.form-wrap--hero .success-state h2 {
  color: #ffffff;
}

.form-wrap--hero .success-state p {
  color: rgb(255 255 255 / 0.85);
}

.hero--with-form .hero-scroll {
  display: none;
}

@media (max-width: 900px) {
  .hero-content--with-form {
    grid-template-columns: 1fr;
    gap: 1.35rem;
    padding: 4.75rem 1.15rem 2rem;
    align-items: start;
  }

  .hero-form-card {
    justify-self: stretch;
    max-width: none;
  }

  .hero--with-form .hero h1 {
    font-size: clamp(2.35rem, 9vw, 3.4rem);
    max-width: 12ch;
  }

  .hero--with-form .hero-lede {
    font-size: 1.02rem;
    margin-bottom: 1rem;
  }

  .hero-form-intro h2,
  .hero-form-intro .form-value-callout,
  .hero-form-intro .section-eyebrow {
    color: #ffffff;
  }
  .hero-form-intro .section-eyebrow {
    color: var(--gold-soft);
  }
}

@media (max-width: 640px) {
  .hero-content--with-form {
    padding-top: 4.75rem;
    padding-bottom: 1.75rem;
  }

  .form-wrap--hero {
    padding: 1.15rem 1rem 1.25rem;
  }

  .form-wrap--hero .choice-pills {
    gap: 0.45rem;
  }
}

/* Neighborhood SEO pages */
.nbhd-snapshot {
  background: #fff;
  padding: 4.25rem 1.5rem 3.75rem;
  border-top: 1px solid rgba(0, 35, 73, 0.08);
}

.nbhd-snapshot-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.nbhd-snapshot-intro h2 {
  font-family: "Playfair Display", Georgia, serif;
  color: #002349;
  font-weight: 500;
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  margin: 0.35rem 0 0.75rem;
  letter-spacing: -0.02em;
}

.nbhd-snapshot-lede {
  color: rgba(0, 35, 73, 0.78);
  font-size: 1.05rem;
  line-height: 1.55;
  margin: 0 0 2rem;
  max-width: 40rem;
}

.nbhd-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.nbhd-snapshot-grid article {
  background: #f7f3eb;
  border: 1px solid rgba(0, 35, 73, 0.08);
  border-radius: 14px;
  padding: 1.35rem 1.3rem 1.4rem;
}

.nbhd-snapshot-grid article h3 {
  margin: 0 0 0.45rem;
  color: #002349;
  font-size: 1.05rem;
  font-weight: 600;
}

.nbhd-snapshot-grid article p {
  margin: 0;
  color: rgba(0, 35, 73, 0.78);
  line-height: 1.55;
  font-size: 0.95rem;
}

.nbhd-snapshot-grid .nbhd-tip {
  grid-column: 1 / -1;
  background: #002349;
  border-color: transparent;
}

.nbhd-snapshot-grid .nbhd-tip h3 {
  color: #BD9042;
}

.nbhd-snapshot-grid .nbhd-tip p {
  color: rgba(247, 243, 235, 0.88);
}

.nbhd-related {
  background: linear-gradient(180deg, #f7f3eb 0%, #fff 55%);
  padding: 3.5rem 1.5rem 3.75rem;
  border-top: 1px solid rgba(0, 35, 73, 0.08);
}

.nbhd-related-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.nbhd-related-intro h2 {
  font-family: "Playfair Display", Georgia, serif;
  color: #002349;
  font-weight: 500;
  font-size: clamp(1.65rem, 2.6vw, 2.1rem);
  margin: 0.35rem 0 1.35rem;
}

.nbhd-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.nbhd-related-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(0, 35, 73, 0.1);
  border-radius: 14px;
  padding: 1.25rem 1.3rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nbhd-related-card:hover,
.nbhd-related-card:focus-visible {
  border-color: rgba(189, 144, 66, 0.55);
  box-shadow: 0 10px 28px rgba(0, 35, 73, 0.08);
}

.nbhd-related-label {
  color: #002349;
  font-weight: 600;
  font-size: 1.05rem;
}

.nbhd-related-blurb {
  color: rgba(0, 35, 73, 0.72);
  font-size: 0.92rem;
  line-height: 1.45;
}

.footer-nbhd {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  margin-top: 1rem;
}

.footer-nbhd a {
  color: rgba(247, 243, 235, 0.82);
  text-decoration: none;
  font-size: 0.88rem;
}

.footer-nbhd a:hover,
.footer-nbhd a:focus-visible {
  color: #BD9042;
}

@media (max-width: 760px) {
  .nbhd-snapshot-grid,
  .nbhd-related-grid {
    grid-template-columns: 1fr;
  }

  .nbhd-snapshot-grid .nbhd-tip {
    grid-column: auto;
  }
}

.photo-credit {
  margin: 0.85rem 0 0;
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: rgb(246 241 232 / 0.55);
}
.photo-credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-copy {
  margin: 0 0 0.35rem;
}
.footer-private {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: rgb(246 241 232 / 0.65);
}


/* Public market report band */

/* ---------- Contact invite (soft path to /contact) ---------- */
.contact-invite {
  background: var(--cream);
  padding: 4.25rem 1.5rem 4.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-invite-inner {
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
}

.contact-invite .section-eyebrow {
  margin-bottom: 0.85rem;
}

.contact-invite h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.4vw, 2.55rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--navy);
}

.contact-invite-lede {
  margin: 0 auto 1.75rem;
  max-width: 28rem;
  color: var(--ink-soft);
  font-weight: 300;
  line-height: 1.55;
  font-size: 1.05rem;
}

.contact-invite .btn {
  display: inline-flex;
}

.market-report {
  background: linear-gradient(135deg, #002349 0%, #0a3a5c 55%, #123f5f 100%);
  color: #f4efe5;
  padding: 56px 20px;
}
.market-report-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  gap: 28px;
  align-items: center;
}
@media (min-width: 768px) {
  .market-report-inner {
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
  }
}
.market-report .section-eyebrow { color: #BD9042; }
.market-report h2 { color: #fff; margin: 8px 0 12px; font-size: clamp(28px, 4vw, 40px); }
.market-report-sub { color: #c9d5db; margin: 0; max-width: 46ch; line-height: 1.55; }
.market-report-actions { display: flex; flex-direction: column; gap: 12px; }
.market-report-actions .btn { text-align: center; }
.market-report .btn-ghost {
  border-color: rgba(189,144,66,.55);
  color: #e7d2ac;
  background: transparent;
}
.market-report .btn-ghost:hover { background: rgba(189,144,66,.12); }

/* ---------- Legal / FAQ content pages ---------- */
.legal-page {
  background: var(--cream-soft);
  padding: 3.5rem 1.5rem 4.5rem;
}

.legal-inner {
  max-width: 42rem;
  margin: 0 auto;
}

.legal-page .section-eyebrow {
  margin-bottom: 0.75rem;
}

.legal-page h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.85rem, 4vw, 2.55rem);
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 0.85rem;
}

.legal-lede {
  margin: 0 0 2rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.55;
}

.legal-block {
  margin: 0 0 1.75rem;
}

.legal-block h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--ink);
  margin: 0 0 0.55rem;
}

.legal-block p,
.legal-block li {
  color: rgba(0, 35, 73, 0.82);
  font-size: 0.98rem;
  line-height: 1.6;
  font-weight: 400;
}

.legal-block p {
  margin: 0 0 0.75rem;
}

.legal-block ul {
  margin: 0 0 0.75rem;
  padding-left: 1.2rem;
}

.legal-block a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.legal-block a:hover {
  color: var(--gold);
}

.legal-disclaimer {
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem !important;
  color: rgba(0, 35, 73, 0.55) !important;
  font-weight: 300 !important;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow-soft);
}

.faq-item h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
  color: var(--ink);
}

.faq-item p {
  margin: 0;
  color: rgba(0, 35, 73, 0.82);
  font-size: 0.96rem;
  line-height: 1.55;
}

.faq-item a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.faq-item a:hover {
  color: var(--gold);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  justify-content: center;
  margin-top: 1rem;
}

.footer-legal a {
  color: rgba(247, 243, 235, 0.82);
  text-decoration: none;
  font-size: 0.88rem;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: #BD9042;
}

/* SEO pass additions */
.footer-nbhd-label{color:#BD9042;font-size:.8rem;letter-spacing:.08em;text-transform:uppercase;margin-right:.2rem}
.cross-link{text-align:center;padding:1.25rem 1rem 0;font-size:.95rem}
.cross-link a,.cross-link-inline{color:inherit;text-decoration:underline;text-underline-offset:3px}
.hub-intro{padding:4rem 1.25rem 1.5rem;text-align:center}
.hub-intro-inner{max-width:46rem;margin:0 auto}
.hub-lede{margin-top:1rem}
.hub-note{text-align:center;margin-top:1.25rem}
.nbhd-related-grid--hub{grid-template-columns:repeat(3,1fr)}
@media (max-width:760px){.nbhd-related-grid--hub{grid-template-columns:1fr}}
.foot-cities{display:block;font-size:.8rem;line-height:1.9;margin-bottom:.5rem}

/* City pages: Bay Area map hero (buy/* and sell/* city pages only) */
.hero--city-map .hero-media { background: #0b1f3a; }
.hero--city-map .hero-photo.hero-map {
  display: block;
  transform: none;
  animation: none;
  object-fit: cover;
  object-position: center;
}
.hero--city-map .hero-veil {
  background:
    linear-gradient(90deg, rgb(11 31 58 / 0.78) 0%, rgb(11 31 58 / 0.66) 30%, rgb(11 31 58 / 0) 47%, rgb(11 31 58 / 0) 100%);
}
/* Keep the headline column narrow so the highlighted city sits in the clear gap between copy and form */
@media (min-width: 901px) {
  .hero--city-map .hero-content--with-form {
    grid-template-columns: minmax(0, 27rem) minmax(0, 28rem);
    justify-content: space-between;
  }
  .hero--city-map .hero-copy { max-width: 27rem; }
  .hero--city-map h1 { font-size: clamp(2.4rem, 3.8vw, 3.6rem); font-weight: 400; }
}
/* Mobile: map is its own band above the copy so the marker is never covered */
@media (max-width: 900px) {
  .hero--city-map { display: block; min-height: 0; }
  .hero--city-map .hero-media { position: relative; inset: auto; height: 15rem; }
  .hero--city-map .hero-photo.hero-map { height: 100%; object-position: 49% 50%; }
  .hero--city-map .hero-veil { background: linear-gradient(to bottom, rgb(11 31 58 / 0) 60%, rgb(11 31 58 / 0.9) 100%); }
  .hero--city-map .hero-content--with-form { padding-top: 1.25rem; }
}

.hero--city-map .hero-copy { text-shadow: 0 2px 18px rgb(11 31 58 / 0.85); }
.footer-credit{font-size:.72rem;opacity:.65;margin:.35rem 0}
.footer-credit a{color:inherit;text-decoration:underline}

/* v2 community pages */
.crumbs{max-width:1100px;margin:0 auto;padding:.9rem 1.5rem .3rem;font-size:.85rem}
.crumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:.4rem;margin:0;padding:0}
.crumbs li+li::before{content:"›";margin-right:.4rem;opacity:.6}
.crumbs a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.hero--city-map .hero-actions{display:flex;flex-wrap:wrap;gap:.6rem}
.city-split{padding:4rem 1.5rem}
.city-split-inner{max-width:1100px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:2rem}
.city-split-col{background:#fff;border:1px solid rgba(189,144,66,.28);border-top:3px solid #BD9042;border-radius:14px;padding:2.2rem 2rem;box-shadow:0 10px 28px rgba(0,35,73,.05)}
.city-split-col h2{font-family:"Playfair Display",Georgia,serif;font-weight:500;font-size:clamp(1.55rem,2.5vw,1.95rem);color:#002349;margin:.25rem 0 .85rem;letter-spacing:-.01em}
.city-list{margin:1rem 0 1.5rem;padding-left:1.1rem;line-height:1.7}
.city-notes{padding:4.25rem 1.5rem 2.75rem;border-top:1px solid rgba(0,35,73,.08)}
.city-notes-inner{max-width:1100px;margin:0 auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem;align-items:stretch}
.city-notes article{background:#fff;border:1px solid rgba(189,144,66,.28);border-top:3px solid #BD9042;border-radius:14px;padding:1.85rem 1.75rem;box-shadow:0 10px 28px rgba(0,35,73,.05);display:flex;flex-direction:column}
.city-note-kicker{display:block;font-size:.68rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#BD9042;margin:0 0 .4rem}
.city-notes h3{font-family:"Playfair Display",Georgia,serif;font-weight:500;font-size:1.28rem;color:#002349;margin:0 0 .65rem;letter-spacing:-.01em}
.city-notes p{margin:0;color:rgba(0,35,73,.8);font-size:.96rem;line-height:1.65;flex:1}
.city-notes article a{display:inline-flex;align-items:center;gap:.35rem;margin-top:.95rem;color:#002349;font-weight:600;font-size:.9rem;text-decoration:none;border-bottom:1.5px solid #BD9042;padding-bottom:.15rem;align-self:flex-start;transition:color .2s ease}
.city-notes article a:hover,.city-notes article a:focus-visible{color:#BD9042}
.nbhd-snapshot-grid article h3 a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.faq{padding:1.25rem 1.5rem 4.25rem}
.faq-inner{max-width:1100px;margin:0 auto}
.faq h2{font-family:"Playfair Display",Georgia,serif;font-weight:500;font-size:clamp(1.85rem,3vw,2.35rem);color:#002349;margin:.35rem 0 1.4rem;letter-spacing:-.02em}
.faq .faq-item{background:#fff;border:1px solid rgba(189,144,66,.26);border-radius:14px;padding:0;margin:0 0 .85rem;box-shadow:0 6px 20px rgba(0,35,73,.04);transition:border-color .2s ease,box-shadow .2s ease;overflow:hidden}
.faq .faq-item:last-child{margin-bottom:0}
.faq .faq-item:hover,.faq .faq-item[open]{border-color:rgba(189,144,66,.6);box-shadow:0 10px 26px rgba(0,35,73,.07)}
.faq .faq-item summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:1.25rem;padding:1.35rem 1.75rem;font-family:"Playfair Display",Georgia,serif;font-weight:500;font-size:1.12rem;line-height:1.35;color:#002349}
.faq .faq-item summary::-webkit-details-marker{display:none}
.faq .faq-item summary::marker{display:none;content:""}
.faq .faq-item summary:focus-visible{outline:2px solid #BD9042;outline-offset:-2px;border-radius:14px}
.faq .faq-item summary::after{content:"+";flex:0 0 auto;width:1.75rem;height:1.75rem;border:1px solid rgba(189,144,66,.48);border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-family:"Open Sans",sans-serif;font-size:1.15rem;font-weight:400;color:#BD9042;line-height:1;transition:background .2s ease,border-color .2s ease,color .2s ease}
.faq .faq-item[open] summary{border-bottom:1px solid rgba(0,35,73,.07)}
.faq .faq-item[open] summary::after{content:"−";background:rgba(189,144,66,.14);border-color:#BD9042;color:#002349}
.faq .faq-item p{margin:0;padding:1.15rem 1.75rem 1.45rem;color:rgba(0,35,73,.82);font-size:.97rem;line-height:1.68}
.hub-form{min-height:0;padding-bottom:3rem}
.hub-h2{font-weight:400}
.hub-form .hero-content{position:relative}
@media (max-width:760px){
  .city-split-inner,.city-notes-inner{grid-template-columns:1fr}
  .city-split-col{padding:1.5rem}
  .city-notes{padding:3rem 1.25rem 2rem}
  .faq{padding:1rem 1.25rem 3.25rem}
  .faq .faq-item summary{padding:1.15rem 1.25rem;font-size:1.02rem}
  .faq .faq-item p{padding:1rem 1.25rem 1.25rem}
}

/* footer v3 editorial */
.site-footer{background:var(--sothebys-blue);color:rgb(255 255 255 / .78);padding:3.5rem 1.5rem 2.2rem}
.site-footer .footer-inner{max-width:72rem;margin:0 auto;text-align:left}
.site-footer .footer-top{display:flex;justify-content:space-between;align-items:center;gap:2rem;flex-wrap:wrap;padding-bottom:2rem;border-bottom:1px solid rgb(255 255 255 / .18)}
.site-footer .footer-logos{display:flex;align-items:center;gap:1.4rem;flex-wrap:wrap}
.site-footer .footer-wordmark{display:block;width:170px;max-width:100%;height:auto;margin:0}
.site-footer .footer-logo{display:block;width:190px;max-width:100%;height:auto;margin:0}
.site-footer .footer-rule{width:1px;height:30px;background:rgb(255 255 255 / .3)}
.site-footer .footer-contact{font-style:normal;display:flex;flex-direction:column;gap:.3rem;text-align:right}
.site-footer .footer-contact a{color:#fff;text-decoration:none;font-weight:300;font-size:.98rem;letter-spacing:.04em}
.site-footer .footer-links{display:flex;flex-wrap:wrap;gap:.7rem 2.2rem;padding:1.6rem 0}
.site-footer .footer-links a{color:rgb(255 255 255 / .85);text-decoration:none;font-size:.78rem;font-weight:300;letter-spacing:.16em;text-transform:uppercase}
.site-footer .footer-contact a:hover,.site-footer .footer-links a:hover,.site-footer .footer-contact a:focus-visible,.site-footer .footer-links a:focus-visible{color:var(--sothebys-gold)}
.site-footer .footer-legalline{border-top:1px solid rgb(255 255 255 / .18);padding-top:1.4rem}
.site-footer .footer-legalline p{margin:0 0 .3rem;font-size:.74rem;line-height:1.6;font-weight:300;letter-spacing:.02em;color:rgb(255 255 255 / .6)}
@media (max-width:640px){
.site-footer{padding:2.6rem 1.25rem 2rem}
.site-footer .footer-top{flex-direction:column;align-items:flex-start;gap:1.5rem}
.site-footer .footer-logos{flex-direction:column;align-items:flex-start;gap:1rem}
.site-footer .footer-rule{display:none}
.site-footer .footer-contact{text-align:left}
.site-footer .footer-links{gap:.9rem 1.6rem}
}

/* Builders nav link: shorten label on small screens (only present on pages that include it) */
@media (max-width: 640px) {
  .site-nav .nav-extra { display: none; }
}

/* FAQ page cards: restore inner padding (later .faq-item rule zeroed it) */
.faq-list .faq-item{padding:1.75rem 2rem;border:1px solid var(--line)}
.faq-list .faq-item h2{margin:0 0 .75rem}
.faq-list .faq-item p{margin:0;line-height:1.7}
@media (max-width:600px){.faq-list .faq-item{padding:1.35rem 1.25rem}}
