/* ============================================================
   Relocation page + relocation booking card (2026-11-26)
   Used by /relocation and by the closing block of
   /guides/moving-to-silicon-valley.

   Feeling curve, one line per section (emotion, then its cause):
   1. Hero        recognised: the headline names the exact bind, the card is already there
   2. The order   overwhelm gives way to sequence: five numbered steps on one rail
   3. Four checks vigilance: the places a move goes wrong, each with the question to ask
   4. Three ways  clarity: a dozen towns reduce to one decision
   5. Why Lisa    trust: who is on the other end of the call
   6. Questions   the last doubts answered plainly
   7. Close       settled: the page ends on the booking card
   Converts to: a booked relocation consultation (the card in section 1).
   ============================================================ */

.relo-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── 1. Hero ── */
.relo-hero {
  position: relative;
  background: var(--black);
  color: #fff;
  overflow: hidden;
}
.relo-hero-media {
  position: absolute; inset: 0;
  background: #0a0a0a url('/assets/images/2026-11-26-peninsula-aerial-1280.jpg') center 40% / cover no-repeat;
}
.relo-hero-media::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6,14,24,0.90) 0%, rgba(6,14,24,0.72) 48%, rgba(6,14,24,0.38) 100%),
    linear-gradient(180deg, rgba(6,14,24,0.55) 0%, rgba(6,14,24,0) 30%, rgba(6,14,24,0.6) 100%);
}
.relo-hero-inner {
  position: relative;
  max-width: 1232px;
  margin: 0 auto;
  padding: 168px 56px 88px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 72px;
  align-items: center;
}
.relo-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
  line-height: 16px;
  color: var(--gold);
  margin-bottom: 24px;
}
.relo-hero h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 4.3vw, 58px);
  font-weight: 400;
  line-height: 1.12;
  line-height: round(1.12em, 4px);
  letter-spacing: -0.8px;
  color: #fff;
  max-width: 16ch;
  margin-bottom: 24px;
  text-wrap: balance;
}
.relo-hero-sub {
  font-size: 17px; font-weight: 300; line-height: 28px;
  color: rgba(255,255,255,0.78);
  max-width: 50ch;
  margin-bottom: 32px;
}
.relo-hero-links {
  display: flex; flex-wrap: wrap; gap: 12px 28px;
  line-height: 16px;
  font-size: 12px; font-weight: 500; letter-spacing: 1.6px; text-transform: uppercase;
}
.relo-hero-links a {
  color: #fff; text-decoration: none;
  padding-bottom: 4px; border-bottom: 1px solid var(--gold);
  transition: color .2s ease, border-color .2s ease;
}
.relo-hero-links a:hover { color: var(--gold); }

/* ── Booking card (shared with the guide) ── */
.relo-card {
  background: rgba(253,250,246,0.98);
  color: var(--black);
  padding: 28px 28px 24px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.32);
  text-align: left;
  scroll-margin-top: 110px;
}
.relo-card-eyebrow {
  font-size: 10px; line-height: 16px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--mauve);
  margin-bottom: 8px;
}
.relo-card h2, aside.relo-card h2 {
  white-space: normal;
  font-family: var(--serif);
  font-size: 26px; font-weight: 400; line-height: 32px; letter-spacing: -0.2px;
  color: var(--black);
  margin: 0 0 8px;
  max-width: none;
  text-transform: none;
}
.relo-card-sub, aside.relo-card p.relo-card-sub {
  font-size: 13px; font-weight: 300; line-height: 20px;
  color: var(--text-secondary);
  margin: 0 0 16px;
  max-width: none;
}
.relo-toggle {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 0; box-shadow: inset 0 0 0 1px var(--border);
  margin: 0 0 12px; padding: 0; min-width: 0;
}
.relo-toggle legend { padding: 0; }
.relo-toggle label { position: relative; cursor: pointer; }
.relo-toggle label + label { border-left: 1px solid var(--border); }
.relo-toggle input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.relo-toggle span {
  display: block; text-align: center;
  padding: 12px 4px;
  line-height: 16px;
  font-size: 10.5px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--text-secondary);
  transition: background .2s, color .2s;
}
.relo-toggle input:checked + span { background: var(--black); color: #fff; }
.relo-toggle input:focus-visible + span { outline: 2px solid var(--cobalt); outline-offset: -2px; }
.relo-field { display: block; margin-bottom: 8px; }
.relo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.relo-field input {
  width: 100%; height: 44px; padding: 0 12px;
  font: 400 14px/1 var(--sans);
  color: var(--black); background: #fff;
  border: 1px solid var(--border); border-radius: 0;
  transition: border-color .2s;
}
.relo-field input::placeholder { color: #8a8580; }
.relo-field input:focus { outline: none; border-color: var(--black); box-shadow: 0 0 0 1px var(--black); }
.relo-submit {
  width: 100%; margin-top: 8px; padding: 16px 0;
  font: 600 12px/16px var(--sans); letter-spacing: 2px; text-transform: uppercase;
  color: #fff; background: var(--black); border: 1px solid var(--black);
  cursor: pointer; transition: background .3s;
}
.relo-submit:hover { background: #333; }
.relo-submit:disabled { opacity: .6; cursor: wait; }
.relo-submit:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 2px; }
.relo-card .lml-sms-consent { margin-top: 12px !important; }
.relo-consent { font-size: 10px; line-height: 16px; color: #77716b; margin: 12px 0 0; max-width: none; }
.relo-consent a { color: inherit; text-decoration: underline; }
.relo-message:empty { display: none; }
.relo-message { margin-top: 12px; font-size: 13px; line-height: 20px; color: var(--text); }
.relo-message.error { color: #9b2c2c; }
.relo-message h3 { font-family: var(--serif); font-size: 22px; line-height: 28px; font-weight: 400; color: var(--black); margin: 0 0 8px; }
.relo-message a { color: inherit; }

/* The thank-you state hides every other child of the form. The fields set
   their own display, so the hidden attribute needs to win. */
.relo-form [hidden] { display: none !important; }

/* /relocation has one action. The seller newsletter pill and the Market Minute
   bar (growth.js, site-wide) sit on top of the booking card, so this page opts out. */
body.relo-page .growth-pill,
body.relo-page .growth-pill-card,
body.relo-page .growth-bar { display: none !important; }

/* ── Section scaffolding ── */
.relo-section { padding: 104px 56px; }
.relo-wrap { max-width: 1120px; margin: 0 auto; }
.relo-label {
  font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
  line-height: 16px;
  color: var(--mauve);
  margin-bottom: 20px;
}
.relo-h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 400; line-height: 1.16; line-height: round(1.16em, 4px); letter-spacing: -0.5px;
  color: var(--black);
  max-width: 20ch;
  margin-bottom: 20px;
  text-wrap: balance;
}
.relo-lede {
  font-size: 17px; font-weight: 300; line-height: 32px;
  color: var(--text-secondary);
  max-width: 58ch;
}
.relo-section a.relo-link {
  color: inherit; font-weight: 400; text-decoration: none;
  border-bottom: 1px solid var(--gold);
  transition: color .2s ease, border-color .2s ease;
}
.relo-section a.relo-link:hover { color: var(--mauve); border-color: var(--mauve); }

/* ── 2. The order ── */
.relo-order { background: var(--cream); }
.relo-order-grid {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 88px; align-items: start;
}
.relo-order-head { position: sticky; top: 132px; }
.relo-steps { list-style: none; margin: 0; padding: 0; position: relative; }
.relo-steps::before {
  content: ''; position: absolute; left: 23px; top: 12px; bottom: 12px;
  width: 1px; background: var(--gold); opacity: .55;
}
.relo-step { position: relative; padding: 0 0 44px 76px; }
.relo-step:last-child { padding-bottom: 0; }
.relo-step-num {
  position: absolute; left: 0; top: 0;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 17px; line-height: 24px; color: var(--black);
  background: var(--cream);
  border: 1px solid var(--gold); border-radius: 50%;
}
.relo-step-when {
  font-size: 10.5px; font-weight: 600; letter-spacing: 2.2px; text-transform: uppercase;
  line-height: 16px;
  color: var(--mauve);
  margin-bottom: 8px; padding-top: 4px;
}
.relo-step h3 {
  font-family: var(--serif); font-size: 23px; font-weight: 400; line-height: 28px;
  color: var(--black); margin-bottom: 12px;
}
.relo-step p { font-size: 15.5px; font-weight: 300; line-height: 28px; color: var(--text-secondary); max-width: 54ch; }

/* ── 3. Four checks ── */
.relo-checks { background: var(--black); color: #fff; }
.relo-checks .relo-h2 { color: #fff; }
.relo-checks .relo-lede { color: rgba(255,255,255,0.68); }
.relo-check-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 60px;
  border-top: 1px solid rgba(255,255,255,0.16);
}
.relo-check { padding: 40px 48px 44px 0; border-bottom: 1px solid rgba(255,255,255,0.16); }
.relo-check:nth-child(even) { padding: 40px 0 44px 48px; border-left: 1px solid rgba(255,255,255,0.16); }
.relo-check-tag {
  font-size: 10.5px; font-weight: 600; letter-spacing: 2.2px; text-transform: uppercase;
  line-height: 16px;
  color: var(--gold); margin-bottom: 16px;
}
.relo-check h3 { font-family: var(--serif); font-size: 24px; font-weight: 400; line-height: 32px; color: #fff; margin-bottom: 16px; }
.relo-check p { font-size: 15px; font-weight: 300; line-height: 28px; color: rgba(255,255,255,0.72); margin-bottom: 16px; }
.relo-check .relo-ask {
  font-family: var(--serif); font-style: italic; font-size: 16.5px; line-height: 28px;
  color: #fff;
  padding-left: 20px; border-left: 2px solid var(--mauve);
  margin: 20px 0;
}
.relo-check .relo-more { font-size: 13px; line-height: 24px; color: rgba(255,255,255,0.6); margin-bottom: 0; }

/* ── 4. Three ways ── */
.relo-ways { background: #fff; }
.relo-ways-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: end; }
.relo-way-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 56px; }
.relo-way { display: block; text-decoration: none; color: inherit; }
.relo-way-img { overflow: hidden; background: var(--off-white); }
.relo-way img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.relo-way:hover img { transform: scale(1.035); }
.relo-way-kicker {
  font-size: 10.5px; font-weight: 600; letter-spacing: 2.2px; text-transform: uppercase;
  line-height: 16px;
  color: var(--mauve); margin: 24px 0 8px;
}
.relo-way h3 { font-family: var(--serif); font-size: 24px; line-height: 32px; font-weight: 400; color: var(--black); margin-bottom: 12px; }
.relo-way p { font-size: 15px; font-weight: 300; line-height: 28px; color: var(--text-secondary); }
.relo-ways-foot { margin-top: 48px; font-size: 15.5px; font-weight: 300; line-height: 28px; color: var(--text-secondary); max-width: 62ch; }

/* ── 5. Why Lisa ── */
.relo-why { background: var(--cream); }
.relo-why-grid { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.relo-why-photo { position: relative; }
.relo-why-photo img { width: 100%; height: auto; aspect-ratio: 1/1; object-fit: cover; display: block; }
.relo-why-photo::after {
  content: ''; position: absolute; inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold); z-index: -1;
}
.relo-why-photo { z-index: 0; }
.relo-pillars { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--border); }
.relo-pillars li { display: grid; grid-template-columns: 44px 1fr; gap: 0 12px; padding: 24px 0; border-bottom: 1px solid var(--border); }
.relo-pillar-num { font-family: var(--serif); font-size: 15px; line-height: 28px; color: var(--mauve); }
.relo-pillars h3 { font-family: var(--serif); font-size: 20px; line-height: 28px; font-weight: 400; color: var(--black); margin-bottom: 4px; }
.relo-pillars p { font-size: 15px; font-weight: 300; line-height: 28px; color: var(--text-secondary); }
.relo-creds { margin-top: 24px; font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); line-height: 24px; }

/* ── 6. Questions ── */
.relo-faq { background: #fff; }
.relo-faq-wrap { max-width: 820px; margin: 0 auto; }
.relo-faq-list { margin-top: 40px; border-top: 1px solid var(--black); }
.relo-faq-list details { border-bottom: 1px solid var(--border); }
.relo-faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
  padding: 24px 0;
  font-family: var(--serif); font-size: 20px; line-height: 28px; color: var(--black);
}
.relo-faq-list summary::-webkit-details-marker { display: none; }
.relo-faq-list summary::after { content: '+'; font-family: var(--sans); font-weight: 300; font-size: 22px; line-height: 28px; color: var(--mauve); flex-shrink: 0; transition: transform .25s ease; }
.relo-faq-list details[open] summary::after { transform: rotate(45deg); }
.relo-faq-list summary:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 4px; }
.relo-faq-list details p { font-size: 15.5px; font-weight: 300; line-height: 28px; color: var(--text-secondary); padding: 0 40px 28px 0; }

/* ── 7. Close ── */
.relo-close { background: var(--deep-navy); color: #fff; text-align: center; padding: 104px 56px; }
.relo-close .relo-label { color: var(--gold); margin-bottom: 20px; }
.relo-close h2 {
  font-family: var(--serif); font-size: clamp(28px, 3.4vw, 44px); font-weight: 400;
  line-height: 1.16; line-height: round(1.16em, 4px); letter-spacing: -0.5px; color: #fff;
  max-width: 18ch; margin: 0 auto 20px; text-wrap: balance;
}
.relo-close-lede { font-size: 16.5px; font-weight: 300; line-height: 28px; color: rgba(255,255,255,0.7); max-width: 52ch; margin: 0 auto 40px; }
.relo-close .relo-card { max-width: 440px; margin: 0 auto; }
.relo-close-call { margin: 32px auto 0; font-size: 13px; line-height: 24px; letter-spacing: .3px; color: rgba(255,255,255,0.7); }
.relo-close-call a { color: #fff; text-decoration: none; border-bottom: 1px solid var(--gold); }

/* ── Guide closing block: the card inside .harden-cta ── */
.harden-primary .relo-card { max-width: 440px; margin: 0 auto; }

/* ── Entrance (quiet; off when motion is reduced) ── */
@media (prefers-reduced-motion: no-preference) {
  .relo-rise { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
  .relo-rise.is-in { opacity: 1; transform: none; }
}

/* ── Responsive ── */
@media (max-width: 1040px) {
  .relo-hero-inner { grid-template-columns: 1fr; gap: 48px; padding: 148px 40px 72px; }
  .relo-hero h1 { max-width: 18ch; }
  .relo-card { max-width: 480px; }
  .relo-order-grid { grid-template-columns: 1fr; gap: 48px; }
  .relo-order-head { position: static; }
  .relo-ways-head { grid-template-columns: 1fr; gap: 16px; }
  .relo-why-grid { grid-template-columns: 1fr; gap: 56px; }
  .relo-why-photo { max-width: 460px; }
}
@media (max-width: 720px) {
  .relo-section, .relo-close { padding: 68px 24px; }
  .relo-hero-inner { padding: 124px 24px 56px; }
  .relo-hero-sub { font-size: 16px; line-height: 28px; }
  .relo-card { padding: 24px 20px 20px; max-width: none; }
  .relo-toggle span { font-size: 9.5px; letter-spacing: .5px; white-space: nowrap; }
  .relo-check-grid { grid-template-columns: 1fr; margin-top: 40px; }
  .relo-check, .relo-check:nth-child(even) { padding: 32px 0 36px; border-left: 0; }
  .relo-way-grid { grid-template-columns: 1fr; gap: 40px; }
  .relo-way img { aspect-ratio: 3/2; }
  .relo-step { padding-left: 64px; }
  .relo-faq-list summary { font-size: 18px; }
  .relo-faq-list details p { padding-right: 0; }
  .relo-why-photo::after { inset: 12px -12px -12px 12px; }
}
@media (max-width: 380px) {
  .relo-row { grid-template-columns: 1fr; }
  .relo-toggle span { letter-spacing: .6px; font-size: 10px; }
}
