/* Responsive and state rules for the homepage. Base styling lives inline on each element. */

.page { container: page / inline-size; }
.page *, .page *::before, .page *::after { box-sizing: border-box; }

.sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

.page a, .page button { transition: color .16s ease, background-color .16s ease, border-color .16s ease; }
.page a:focus-visible, .page button:focus-visible, .page input:focus-visible, .page select:focus-visible {
  outline: 2px solid #B59A6A; outline-offset: 2px;
}

.nl:hover { color: #B59A6A !important; }
.yt-link:hover { color: #FFFFFF !important; }
.nl-dark:hover { color: #7A6236 !important; }
.btn-sand:hover { background: #FAF8F4 !important; }
.review-card:hover { border-color: #181818 !important; box-shadow: 0 10px 24px rgba(50, 35, 20, .14); }
.btn-ink:hover { background: #333333 !important; }
.btn-line:hover { background: rgba(250, 248, 244, .1) !important; border-color: #FAF8F4 !important; }

.move input::placeholder, .field::placeholder { color: #D3CFC6; opacity: 1; }
.field-light::placeholder { color: #4A4743; opacity: 1; }

.video-card img { transition: transform .4s ease; }
.video-card:hover img { transform: scale(1.03); }
.service-card img { transition: transform .4s ease; }
.service-card:hover img { transform: scale(1.03); }
.service-arrow { transition: transform .55s ease; }
.service-card:hover .service-arrow { transform: rotate(360deg); }

/* Filter and city buttons */
.chip {
  min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(250, 248, 244, .34); background: transparent; color: #FAF8F4;
  font: inherit; font-size: 14.5px; font-weight: 500;
}
.chip:hover { border-color: #FAF8F4; }
.chip[aria-pressed="true"] { background: #D3CFC6; border-color: #D3CFC6; color: #141414; }

/* Review carousel: the next card peeks in at the right edge */
.review-track::-webkit-scrollbar, .service-track::-webkit-scrollbar, .video-track::-webkit-scrollbar { display: none; }
.review-card, .service-card, .video-card { flex: 0 0 clamp(270px, 26cqw, 400px); scroll-snap-align: start; }
.service-card { flex-basis: clamp(290px, 31cqw, 460px); }

/* Video tiles: a small frosted play badge in the corner */
.play-badge {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center;
  width: 58px; height: 58px; border-radius: 16px; color: #FFFFFF;
  background: rgba(16, 16, 16, .56); border: 1px solid rgba(255, 255, 255, .26);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.play-badge:hover { background: rgba(255, 255, 255, .92); border-color: #FFFFFF; color: #141414; }

/* Video slider arrows */
.slider-btn {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0; cursor: pointer;
  border: 0; background: transparent; color: #FAF8F4;
}
.slider-line { position: relative; flex: 1 1 160px; min-width: 120px; height: 2px; background: rgba(250, 248, 244, .24); }
.slider-line span { position: absolute; left: 0; top: 0; bottom: 0; background: #B59A6A; transition: width .25s ease; }
.slider-line.on-light { background: rgba(27, 24, 21, .2); }
.slider-line.on-light span { background: #7A6236; }
.slider-btn:hover:not(:disabled) { color: #B59A6A; }
.slider-btn:disabled { opacity: .35; cursor: default; }
.slider-btn.on-light { color: #181818; }
.slider-btn.on-light:hover:not(:disabled) { color: #7A6236; }

/* Map pins */
.pin {
  position: absolute; width: 40px; height: 40px; margin: -20px 0 0 -20px; padding: 0;
  display: grid; place-items: center; border: 0; background: transparent; color: #FAF8F4; cursor: pointer;
}
.pin .dot {
  width: 10px; height: 10px; border-radius: 50%; background: #D3CFC6;
  box-shadow: 0 0 0 3px rgba(15, 15, 15, .85); transition: transform .15s ease;
}
.pin:hover .dot, .pin:focus-visible .dot { transform: scale(1.3); }
.pin[aria-pressed="true"] { z-index: 3; }
.pin[aria-pressed="true"] .dot {
  width: 14px; height: 14px; background: #B59A6A;
  box-shadow: 0 0 0 4px rgba(15, 15, 15, .9), 0 0 0 7px rgba(181, 154, 106, .5);
}
.pin .lab {
  position: absolute; top: 50%; transform: translateY(-50%); white-space: nowrap; pointer-events: none;
  font-size: 13px; font-weight: 500; color: #D3CFC6; text-shadow: 0 1px 6px #0F0F0F, 0 0 2px #0F0F0F;
}
.pin .lab.r { left: 31px; }
.pin .lab.l { right: 31px; }
.pin .lab.t { top: auto; bottom: 28px; left: 22px; transform: none; }
.pin[aria-pressed="true"] .lab { color: #B59A6A; font-weight: 600; font-size: 14px; }

/* About page timeline: steps alternate sides of a center line */
.tl { position: relative; max-width: 1060px; margin: clamp(36px, 4.4cqw, 56px) auto 0; padding: 0; list-style: none; }
.tl::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(50% - 1px); width: 2px; background: rgba(181, 154, 106, .55); }
.tl-item { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.tl-item + .tl-item { margin-top: -28px; }
.tl-item + .tl-item.tl-lower { margin-top: 0; }
.tl-item::before { content: ""; position: absolute; top: 12px; left: calc(50% - 6px); width: 12px; height: 12px; border-radius: 50%; background: #B59A6A; }
.tl-box { grid-column: 1; min-width: 0; padding-right: clamp(28px, 4cqw, 56px); text-align: right; }
.tl-item:nth-child(even) .tl-box { grid-column: 2; padding: 0 0 0 clamp(28px, 4cqw, 56px); text-align: left; }

/* About page questions: click a question to show its answer */
.qa summary { list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: #7A6236; }
.qa-mark { transition: transform .18s ease; }
.qa[open] .qa-mark { transform: rotate(45deg); }

/* Relocation page: the card overlaps a large photo */
.plan-media { position: relative; min-width: 0; min-height: 820px; }
.plan-media img { position: absolute; top: 0; right: 0; display: block; width: 86%; height: 100%; border-radius: 22px; object-fit: cover; }
.plan-card { position: absolute; left: 0; bottom: 36px; width: 74%; }

/* Booking section: the card overlaps a photo of Nenad */
.book-media { position: relative; min-width: 0; min-height: 540px; }
.book-media img { position: absolute; top: 0; right: 0; display: block; width: 76%; height: 100%; border-radius: 22px; object-fit: cover; object-position: 50% 22%; }
.book-card { position: absolute; left: 0; bottom: 26px; width: 62%; gap: 18px !important; padding: clamp(22px, 2.8cqw, 38px) !important; box-shadow: 0 14px 30px rgba(20, 16, 12, .22); }
.book-card h3 { font-size: clamp(26px, 2.6cqw, 36px) !important; }
.book-card .btn-sand { min-height: 52px !important; padding: 0 24px !important; font-size: 16px !important; }

/* Buy page quiz */
.buy-hero { position: relative; isolation: isolate; min-height: clamp(560px, 46cqw, 660px); padding: 130px clamp(20px, 6.4cqw, 96px) clamp(210px, 18cqw, 260px); text-align: center; background: #141414; }
.buy-hero-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.buy-hero-scrim { position: absolute; inset: 0; z-index: -1; background: rgba(12, 12, 12, .68); }
.buy-hero-text { max-width: 980px; margin-inline: auto; color: #FAF8F4; }
.buy-quiz { position: relative; display: flow-root; padding: 0 clamp(20px, 3.4cqw, 52px); background: #FAF8F4; }
.quiz-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); max-width: 1320px; min-height: 640px; margin: calc(-1 * clamp(170px, 14cqw, 200px)) auto 0; overflow: hidden; border-radius: 22px 22px 0 0; background: #FFFFFF; box-shadow: 0 18px 44px rgba(30, 24, 16, .16); }
.quiz-photo { position: relative; min-width: 0; }
.quiz-photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.quiz-panel { position: relative; align-self: center; min-width: 0; padding: clamp(32px, 4.4cqw, 64px); }
.quiz-start { gap: 0; transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease, gap .22s ease; }
.quiz-start svg { width: 0; opacity: 0; transform: translateX(-6px); transition: width .22s ease, opacity .22s ease, transform .22s ease; }
.quiz-start:hover:not(:disabled) { gap: 10px; transform: translateY(-2px); background: #141414 !important; color: #FAF8F4 !important; box-shadow: 0 12px 24px rgba(30, 24, 16, .22); }
.quiz-start.on-dark:hover:not(:disabled) { background: #FAF8F4 !important; color: #141414 !important; box-shadow: 0 12px 24px rgba(0, 0, 0, .34); }
.quiz-start.on-ink:hover:not(:disabled) { background: #B59A6A !important; color: #141414 !important; }
.quiz-start:hover:not(:disabled) svg { width: 20px; opacity: 1; transform: translateX(0); }
.quiz-start:active:not(:disabled) { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .quiz-start, .quiz-start svg { transition: none; } .quiz-start:hover { transform: none; } }

.quiz-progress { height: 3px; border-radius: 3px; background: rgba(24, 24, 24, .14); overflow: hidden; }
.quiz-progress span { display: block; height: 100%; background: #7A6236; transition: width .25s ease; }
.quiz-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 12px; margin-top: 26px; }
.quiz-opt {
  min-height: 72px; padding: 14px 20px; border: 1px solid rgba(24, 24, 24, .2); border-radius: 16px; cursor: pointer;
  background: #FFFFFF; color: #181818; font: inherit; font-size: 17px; font-weight: 500; line-height: 1.3; text-align: left;
}
.quiz-opt:hover { border-color: #181818; }
.quiz-opt[aria-pressed="true"] { background: #141414; border-color: #141414; color: #FAF8F4; }
.quiz-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; margin-top: 26px; }
.quiz-field { display: block; }
.quiz-field span { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 600; color: #333333; }
.quiz-field input {
  box-sizing: border-box; width: 100%; min-height: 54px; padding: 0 16px; border: 1px solid rgba(24, 24, 24, .3); border-radius: 12px;
  background: #FFFFFF; color: #181818; font: inherit; font-size: 17px;
}
.quiz-field input::placeholder { color: #6A6660; opacity: 1; }
.quiz-submit:disabled { opacity: .5; cursor: default; }
.quiz-back { display: block; margin-top: 18px; min-height: 44px; padding: 0; border: 0; background: transparent; color: #4A4743; font: inherit; font-size: 15px; font-weight: 500; text-decoration: underline; cursor: pointer; }
.quiz-back:hover { color: #181818; }

/* Things that only appear at smaller widths start hidden */
.show-lg, .city-list { display: none !important; }

@container page (max-width: 1180px) {
  .hide-lg { display: none !important; }
  .show-lg { display: flex !important; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 34px !important; }
  .hero-card { max-width: none; flex-direction: row !important; gap: 24px; padding: 4px 24px !important; }
  .hero-row { flex: 1 1 0; border-bottom: 0 !important; }
}

@container page (max-width: 920px) {
  .quiz-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .quiz-photo { height: 300px; }
  .book-media { min-height: 0; }
  .book-media img { position: static; width: 100%; height: auto; aspect-ratio: 4 / 5; }
  .book-card { position: relative; left: auto; bottom: auto; width: auto; margin: -56px 16px 0; }
  .plan-media { min-height: 0; }
  .plan-media img { position: static; width: 100%; height: auto; aspect-ratio: 4 / 3; }
  .plan-card { position: relative; left: auto; bottom: auto; width: auto; margin: -56px 16px 0; }
  .hero-scrim {
    background: linear-gradient(180deg, rgba(12, 12, 12, .64) 0%, rgba(12, 12, 12, .74) 48%, rgba(12, 12, 12, .94) 100%) !important;
  }
  .two, .map-grid, .book-grid, .guide-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .map-grid { grid-template-rows: none !important; }
  .map-head, .map-frame, .map-panel { grid-column: auto !important; grid-row: auto !important; }
  .city-list { display: flex !important; }
  .head-row { flex-direction: column; align-items: flex-start !important; }
  .hide-md { display: none !important; }
  .foot-top { grid-template-columns: minmax(0, 1fr) !important; gap: 14px !important; }
  .foot-brand { grid-row: 1; padding: 0 0 8px !important; border-inline: 0 !important; }
  .foot-cell { padding: 4px 0 !important; }
  .legal { flex-direction: column; text-align: center; }
  .legal > div { flex: none !important; justify-content: center; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .about-photo { max-width: 460px; }
  .book-cover { justify-self: center; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 18px !important; }
  .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .review-card { min-height: 0 !important; }
}

@container page (max-width: 760px) {
  .tl::before { left: 5px; }
  .tl-item { grid-template-columns: minmax(0, 1fr); }
  .tl-item + .tl-item, .tl-item + .tl-item.tl-lower { margin-top: 28px; }
  .tl-item::before { left: 0; }
  .tl-box, .tl-item:nth-child(even) .tl-box { grid-column: 1; padding: 0 0 0 30px; text-align: left; }
}

@container page (max-width: 620px) {
  .stats, .video-grid, .review-grid, .service-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .video-grid { gap: 30px !important; }
  .hero-card { flex-direction: column !important; gap: 0; padding: 6px 22px !important; }
  .hero-row { border-bottom: 1px solid rgba(250, 248, 244, .16) !important; }
  .hero-row:last-child { border-bottom: 0 !important; }
  .hide-sm { display: none !important; }
  .brand { gap: 11px !important; }
  .brand-logo { height: 42px !important; }
  .brand-rule { height: 28px !important; }
  .logo { width: 88px !important; }
  .move { flex-direction: column; border-radius: 20px !important; flex-basis: 100% !important; max-width: none !important; }
  .move input { min-height: 54px; }
  .move a { min-height: 52px; }
  .pin { width: 28px; height: 28px; margin: -14px 0 0 -14px; }
  .pin .dot { width: 8px; height: 8px; }
  .pin .lab { display: none; font-size: 12.5px; }
  .pin .lab.r { left: 22px; }
  .pin .lab.l { right: 22px; }
  .pin[aria-pressed="true"] .lab { display: block; font-size: 13px; }
  .map-label { font-size: 13px !important; }
}

/* Buy page: steps carousel */
.step-carousel, .step-track, .service-loop, .video-loop, .sold-loop { --edge: max(clamp(20px, 6.4cqw, 96px), calc(50cqw - 660px)); }
.step-carousel { position: relative; width: 100cqw; margin: clamp(36px, 4.4cqw, 56px) 0 0 calc(50% - 50cqw); }
.step-track { position: relative; display: flex; gap: 20px; margin: 0; padding: 0 var(--edge); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge); scrollbar-width: none; list-style: none; }
.step-track::-webkit-scrollbar { display: none; }
.step-card { position: relative; flex: 0 0 clamp(275px, 28.5cqw, 456px); height: clamp(415px, 37.8cqw, 576px); overflow: hidden; border-radius: 16px; background: #141414; color: #FAF8F4; outline: 0; scroll-snap-align: start; }
.step-card img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.step-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 14, 14, .72) 0%, rgba(14, 14, 14, .34) 42%, rgba(14, 14, 14, .34) 100%); transition: background-color .25s ease; }
.step-card:hover::after, .step-card:focus::after { background-color: rgba(14, 14, 14, .38); }
.step-card:focus-visible { box-shadow: inset 0 0 0 3px #D9C39A; }
.step-card-top { position: absolute; z-index: 1; top: 26px; left: 26px; right: 26px; }
.step-card-num { display: block; font-family: Newsreader, Georgia, serif; font-size: 22px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; color: #E3D3B0; }
.step-card strong { display: block; margin-top: 10px; font-family: Newsreader, Georgia, serif; font-size: clamp(30px, 2.8cqw, 38px); font-weight: 400; line-height: 1.12; }
.step-card p { position: absolute; z-index: 1; left: 26px; right: 26px; bottom: 26px; margin: 0; font-size: 17px; line-height: 1.5; color: #FAF8F4; opacity: 0; transform: translateY(10px); transition: opacity .25s ease, transform .25s ease; }
.step-card:hover p, .step-card:focus p { opacity: 1; transform: translateY(0); }
.step-arrow { position: absolute; z-index: 2; top: 50%; display: grid; place-items: center; width: 60px; height: 60px; padding: 0; border: 0; background: transparent; color: #FAF8F4; cursor: pointer; transform: translateY(-50%); }
.step-arrow::before { content: ""; position: absolute; inset: 0; border: 1px solid rgba(250, 248, 244, .7); border-radius: 50%; background: #141414; transition: transform .28s ease, border-color .28s ease; }
.step-arrow svg { position: relative; overflow: visible; }
.step-arrow .sa-line, .step-arrow .sa-head { vector-effect: non-scaling-stroke; transition: transform .28s ease; }
.step-arrow.next .sa-line { transform-origin: 5px 12px; }
.step-arrow.prev .sa-line { transform-origin: 19px 12px; }
.step-arrow.next:hover::before { transform: translateX(-10px) scale(.84); border-color: #B59A6A; }
.step-arrow.prev:hover::before { transform: translateX(10px) scale(.84); border-color: #B59A6A; }
.step-arrow:hover .sa-line { transform: scaleX(2.3); }
.step-arrow.next:hover .sa-head { transform: translateX(18px); }
.step-arrow.prev:hover .sa-head { transform: translateX(-18px); }
.step-arrow:focus-visible { outline: 2px solid #D9C39A; outline-offset: 2px; border-radius: 50%; }
.step-arrow.prev { left: max(clamp(10px, 2.6cqw, 40px), calc(var(--edge) - 56px)); }
.step-arrow.next { right: max(clamp(10px, 2.6cqw, 40px), calc(var(--edge) - 56px)); }
@media (hover: none) { .step-card::after { background-color: rgba(14, 14, 14, .38); } .step-card p { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .step-card::after, .step-card p, .step-arrow::before, .step-arrow .sa-line, .step-arrow .sa-head { transition: none; } }
@container page (max-width: 920px) {
  .step-card::after { background-color: rgba(14, 14, 14, .38); }
  .step-card p { opacity: 1; transform: none; }
  .step-arrow { display: none; }
}

/* Buy page: escrow dropdowns */
.esc-section { padding: clamp(56px, 5cqw, 72px) clamp(20px, 6.4cqw, 96px) clamp(64px, 6cqw, 86px); background: radial-gradient(90% 90% at 100% 0%, rgba(181, 154, 106, .22), rgba(181, 154, 106, 0) 60%), #141414; color: #FAF8F4; }
.esc-intro { position: sticky; top: 32px; padding-top: 40px; text-align: center; }
.esc-list { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.esc { border-radius: 12px; background: #FAF8F4; color: #181818; }
.esc-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 55px; padding: 8px 20px; border: 0; border-radius: 12px; background: transparent; color: inherit; font-family: Newsreader, Georgia, serif; font-size: 20px; font-weight: 500; line-height: 1.2; text-align: left; cursor: pointer; transition: background-color .25s ease, color .25s ease, border-radius .25s ease; }
.esc { transition: transform .22s ease, box-shadow .22s ease; }
.esc:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0, 0, 0, .3); }
.esc-q svg { flex: none; transition: transform .3s ease; }
.esc-q:hover svg { transform: rotate(90deg) scale(1.18); }
.esc-v { transition: opacity .25s ease; }
.esc-q:hover { color: #7A6236; }
.esc-q:focus-visible { outline: 2px solid #7A6236; outline-offset: -2px; }
.esc-q[aria-expanded="true"] { border-radius: 12px 12px 0 0; background: #333333; color: #FAF8F4; }
.esc-q[aria-expanded="true"] .esc-v { opacity: 0; }
.esc-a { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .32s ease, visibility 0s linear .32s; }
.esc-a > div { min-height: 0; overflow: hidden; }
.esc-q[aria-expanded="true"] + .esc-a { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .32s ease, visibility 0s; }
.esc p { margin: 0; padding: 18px 20px 20px; font-size: 16px; line-height: 1.6; color: #4A4743; }
@media (prefers-reduced-motion: reduce) { .esc, .esc-q, .esc-q svg, .esc-v, .esc-a { transition: none; } .esc:hover { transform: none; } .esc-q:hover svg { transform: none; } }
@container page (max-width: 920px) { .esc-intro { position: static; padding-top: 0; } }

/* Buy page: why choose me */
.why-grid { --why-gutter: clamp(20px, 10cqw, 170px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; width: calc(100cqw - 2 * var(--why-gutter)); margin: clamp(36px, 4.4cqw, 56px) 0 0 calc(50% - 50cqw + var(--why-gutter)); }
.why-sub { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; min-width: 0; }
.why-card { min-width: 0; padding: clamp(24px, 2.4cqw, 32px); border-radius: 11px; background: var(--glow, none), linear-gradient(115deg, #2C2822 0%, #25221E 52%, #211F1C 100%); box-shadow: inset 0 0 16px rgba(214, 190, 142, .1); color: #FAF8F4; }
.why-sub .why-card:nth-child(1) { --glow: radial-gradient(70% 90% at 0% 0%, rgba(120, 98, 62, .22), rgba(120, 98, 62, 0) 72%); }
.why-sub .why-card:nth-child(2) { --glow: radial-gradient(62% 130% at 100% 45%, rgba(156, 124, 72, .42), rgba(122, 96, 56, .16) 52%, rgba(122, 96, 56, 0) 82%); }
.why-sub .why-card:nth-child(3) { --glow: radial-gradient(80% 90% at 0% 60%, rgba(104, 84, 54, .16), rgba(104, 84, 54, 0) 72%); }
.why-sub .why-card:nth-child(4) { --glow: radial-gradient(80% 100% at 100% 0%, rgba(150, 118, 68, .36), rgba(120, 94, 56, .14) 55%, rgba(120, 94, 56, 0) 84%); }
.why-feature { --glow: radial-gradient(88% 62% at 0% 100%, rgba(170, 134, 78, .48), rgba(128, 100, 60, .2) 50%, rgba(128, 100, 60, 0) 82%), radial-gradient(70% 40% at 72% 0%, rgba(130, 108, 74, .18), rgba(130, 108, 74, 0) 74%); display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 3.2cqw, 46px); }
.why-num { font-family: Newsreader, Georgia, serif; font-size: clamp(84px, 9cqw, 130px); line-height: 1; color: #E3D3B0; }
.why-card h3 { margin: 0; font-family: Newsreader, Georgia, serif; font-size: clamp(24px, 2cqw, 28px); font-weight: 400; line-height: 1.16; }
.why-feature h3 { margin-top: 12px; }
.why-card p { margin: 10px 0 0; font-size: 16px; line-height: 1.55; color: #EDE8DE; text-wrap: pretty; }
@container page (max-width: 1040px) { .why-grid { grid-template-columns: minmax(0, 1fr); } }
@container page (max-width: 620px) { .why-sub { grid-template-columns: minmax(0, 1fr); } }

/* Relocation FAQ */
.faq-q { transition: color .22s ease; }
.faq-q:hover { color: #E3D3B0 !important; }
.faq-text { transition: transform .25s ease; }
.faq-q:hover .faq-text { transform: translateX(8px); }
.faq-mark { flex: none; color: #B59A6A; transition: transform .3s ease; }
.faq-q:hover .faq-mark { transform: rotate(90deg) scale(1.16); }
.faq-q[aria-expanded="true"] .faq-mark { transform: rotate(45deg); }
.faq-q[aria-expanded="true"]:hover .faq-mark { transform: rotate(135deg) scale(1.16); }
.faq-a { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .32s ease, visibility 0s linear .32s; }
.faq-a > div { min-height: 0; overflow: hidden; }
.faq-q[aria-expanded="true"] + .faq-a { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .32s ease, visibility 0s; }
.qa summary:hover .qa-mark { transform: rotate(90deg) scale(1.16); }
.qa[open] summary:hover .qa-mark { transform: rotate(135deg) scale(1.16); }
@media (prefers-reduced-motion: reduce) { .faq-q, .faq-text, .faq-mark, .faq-a { transition: none; } .faq-q:hover .faq-text { transform: none; } }

/* Sell page: home value form */
.quiz-select { width: 100%; min-height: 52px; padding: 0 44px 0 14px; border: 1px solid rgba(24, 24, 24, .24); border-radius: 12px; background: #FFFFFF; color: #181818; font: inherit; font-size: 16px; }
.quiz-select:focus { outline: 2px solid #7A6236; outline-offset: 1px; }
.quiz-consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; font-size: 13.5px; line-height: 1.5; color: #4A4743; cursor: pointer; }
.quiz-consent input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: #7A6236; }

/* Homepage services loop */
.service-loop { position: relative; display: flex; gap: 20px; margin: 0; padding: 0 var(--edge); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge); scrollbar-width: none; }
@container page (max-width: 920px) { .step-carousel .step-arrow { display: none; } }

/* Homepage video loop */
.video-loop { position: relative; display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: calc((100% - 60px) / 4); gap: 20px; margin-inline: var(--edge); padding: 0; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 0; scrollbar-width: none; }
.video-loop .video-card { min-width: 0; }
@container page (max-width: 920px) { .video-loop { grid-auto-columns: calc((100% - 20px) / 2); } }
@container page (max-width: 560px) { .video-loop { grid-auto-columns: 100%; } }
#videos .btn-line:hover { background: #141414 !important; color: #FAF8F4 !important; }
.step-arrow:disabled { opacity: 0; pointer-events: none; }

/* Menu bar: hides on scroll down, returns on scroll up */
.head-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 50; font-family: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif; color: #FAF8F4; transition: transform .28s ease; }
.head-bar.head-away { transform: translateY(-100%); }
.head-bar .site-head { position: relative !important; background: rgba(20, 20, 20, .96); }
@media (prefers-reduced-motion: reduce) { .head-bar { transition: none; } }

/* Review carousel arrows */
.review-arrows { position: relative; }
.review-arrows .step-arrow.prev { left: -30px; }
.review-arrows .step-arrow.next { right: -30px; }
@container page (max-width: 920px) { .review-arrows .step-arrow { display: none; } }

/* Last review card */
.review-more { display: flex; flex-direction: column; justify-content: center; gap: 16px; box-sizing: border-box; padding: 32px; border-radius: 18px; background: #141414; color: #FAF8F4; text-decoration: none; transition: transform .22s ease, box-shadow .22s ease; }
.review-more:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(30, 24, 16, .22); }
.review-more-stars { font-size: 20px; letter-spacing: .08em; color: #D9C39A; }
.review-more-title { font-family: Newsreader, Georgia, serif; font-size: clamp(28px, 2.5cqw, 36px); line-height: 1.14; }
.review-more-link { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; color: #D9C39A; }
.review-more-link svg { transition: transform .22s ease; }
.review-more:hover .review-more-link svg { transform: translateX(5px); }

/* Sell page: selling plan */
.plan-section { padding: clamp(47px, 6.1cqw, 89px) clamp(20px, 6.4cqw, 96px); background: #EFEBE2; color: #181818; }
.plan-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6cqw, 96px); align-items: center; max-width: 1320px; margin-inline: auto; }
.plan-title { margin: 0 0 24px; font-family: Newsreader, Georgia, serif; font-size: clamp(38px, 4.6cqw, 62px); font-weight: 400; line-height: 1.08; letter-spacing: -.01em; text-wrap: balance; }
.plan-title em { font-style: normal; color: #7A6236; }
.plan-grid > div:first-child > p { margin: 0 0 18px; font-size: 18px; line-height: 1.6; color: #4A4743; }
.plan-toggle { display: inline-flex; gap: 4px; margin-top: 14px; padding: 6px; border: 1px solid rgba(24, 24, 24, .3); border-radius: 999px; }
.plan-toggle button { min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: transparent; color: #181818; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: background-color .25s ease, color .25s ease; }
.plan-toggle button[aria-pressed="true"] { background: #141414; color: #FAF8F4; }
.plan-toggle button:focus-visible { outline: 2px solid #7A6236; outline-offset: 2px; }
.plan-panels { display: grid; }
.plan-panel { grid-area: 1 / 1; border-top: 1px solid rgba(24, 24, 24, .18); transition: opacity .3s ease, visibility .3s ease; }
.plan-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 20px clamp(24px, 3cqw, 44px); align-items: baseline; padding: clamp(26px, 3cqw, 42px) 0; border-bottom: 1px solid rgba(24, 24, 24, .18); }
.plan-row h3 { margin: 0; font-family: Newsreader, Georgia, serif; font-size: clamp(32px, 3.3cqw, 46px); font-weight: 400; line-height: 1.1; color: #7A6236; }
.plan-row p { margin: 0; font-size: 17px; line-height: 1.6; color: #4A4743; }
.plan-row-off h3 { color: #6F6A63; text-decoration: line-through; text-decoration-thickness: 1px; text-decoration-color: #6F6A63; }
.plan-row-off p { color: #5E5A54; }
@container page (max-width: 920px) { .plan-grid { grid-template-columns: minmax(0, 1fr); } }
@container page (max-width: 560px) { .plan-row { grid-template-columns: minmax(0, 1fr); gap: 10px; } }

/* Main menu hover */
nav[aria-label="Main"] a { transition: color .2s ease, transform .2s ease; }
nav[aria-label="Main"] a:hover { transform: scale(1.1); }

/* Sell page: photography */
.photo-section { padding: clamp(64px, 8.4cqw, 122px) clamp(20px, 6.4cqw, 96px); background: #E2D9C9; color: #181818; }
.photo-wrap { max-width: 1320px; margin-inline: auto; }
.photo-section .plan-title { margin-bottom: 16px; }
.photo-intro { max-width: 640px; margin: 0 0 clamp(28px, 3.4cqw, 44px); font-size: 18px; line-height: 1.6; color: #4A4743; }
.film-strip { display: grid; gap: 14px; width: 100cqw; margin-left: calc(50% - 50cqw); overflow: hidden; }
.film-run { display: flex; width: max-content; animation: film-run 70s linear infinite; }
.film-run.back { animation-direction: reverse; }
.film-run img { display: block; flex: none; width: clamp(320px, 35cqw, 530px); aspect-ratio: 4 / 3; margin-right: 14px; object-fit: cover; border-radius: 14px; }
.film-strip:hover .film-run { animation-play-state: paused; }
@keyframes film-run { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .film-run { animation: none; } }

/* Sell page: seller questions */
.sell-faq { padding: clamp(58px, 7.6cqw, 110px) clamp(20px, 6.4cqw, 96px); background: #EFEBE2; color: #181818; }
.sell-faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 6cqw, 96px); align-items: start; max-width: 1320px; margin-inline: auto; }
.sell-faq-grid > div:first-child > p { margin: 0; font-size: 18px; line-height: 1.6; color: #4A4743; }
.sell-faq-grid a { color: #181818; font-weight: 600; }
.sell-faq-list { border-top: 1px solid rgba(24, 24, 24, .18); }
.sell-faq-item { border-bottom: 1px solid rgba(24, 24, 24, .18); }
.sell-faq .faq-q { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; min-height: 76px; padding: 16px 0; border: 0; background: transparent; color: #181818; font-family: Newsreader, Georgia, serif; font-size: clamp(22px, 2cqw, 28px); line-height: 1.2; text-align: left; cursor: pointer; }
.sell-faq .faq-q:hover { color: #7A6236 !important; }
.sell-faq .faq-mark { color: #7A6236; }
.sell-faq .faq-a p { margin: 0; padding: 0 44px 24px 0; font-size: 17px; line-height: 1.6; color: #4A4743; }
@container page (max-width: 920px) { .sell-faq-grid { grid-template-columns: minmax(0, 1fr); } }

/* Past sales carousel */
.sold-loop { position: relative; grid-auto-columns: calc((100% - 60px) / 4) !important; margin-inline: var(--edge); padding: 0; scroll-padding-inline: 0; }
@container page (max-width: 920px) { .sold-loop { grid-auto-columns: calc((100% - 20px) / 2) !important; } }
@container page (max-width: 560px) { .sold-loop { grid-auto-columns: 100% !important; } }

/* Explore San Diego and area guides */
.area-hit { position: absolute; z-index: 1; inset: 0; border-radius: inherit; }
.area-hit:focus-visible { outline: 3px solid #D9C39A; outline-offset: -3px; }
.area-section { padding: clamp(58px, 7.6cqw, 110px) clamp(20px, 6.4cqw, 96px); color: #181818; }
.area-wrap { max-width: 1320px; margin-inline: auto; }
.area-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6cqw, 96px); align-items: center; max-width: 1320px; margin-inline: auto; }
.area-intro > div:first-child > p, .area-commute > div:first-child > p, .area-lead { margin: 0 0 18px; font-size: 18px; line-height: 1.6; color: #4A4743; }
.area-video { display: block; overflow: hidden; border-radius: 18px; background: #141414; color: #FAF8F4; text-decoration: none; }
.area-thumb { position: relative; display: block; overflow: hidden; }
.area-thumb b { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: rgba(250, 248, 244, .94); color: #141414; transform: translate(-50%, -50%); transition: transform .25s ease; }
.area-video:hover .area-thumb b { transform: translate(-50%, -50%) scale(1.08); }
.area-video img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .4s ease; }
.area-video:hover img { transform: scale(1.03); }
.area-video-title { position: relative; display: block; padding: 18px 20px 20px; background: #141414; font-size: 17px; font-weight: 600; line-height: 1.35; }
.area-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; margin-top: 16px; padding: 22px 24px; border-radius: 18px; background: #EFEBE2; }
.area-stats span { display: block; font-size: 14px; font-weight: 600; color: #4A4743; }
.area-stats strong { display: block; margin-top: 4px; font-family: Newsreader, Georgia, serif; font-size: clamp(30px, 2.8cqw, 40px); font-weight: 400; color: #7A6236; }
.area-stats p { grid-column: 1 / -1; margin: 6px 0 0; font-size: 13px; color: #4A4743; }
.area-table { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 5cqw, 72px); border-top: 1px solid rgba(24, 24, 24, .18); }
.area-row { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid rgba(24, 24, 24, .18); font-size: 17px; line-height: 1.4; }
.area-row span { color: #4A4743; }
.area-row strong { font-weight: 600; text-align: right; }
.area-note { grid-column: 1 / -1; margin: 14px 0 0; font-size: 14px; line-height: 1.5; color: #4A4743; }
.area-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.area-grid article { padding: clamp(24px, 2.6cqw, 36px); border-radius: 18px; background: #EFEBE2; }
.area-grid h3 { margin: 0 0 14px; font-family: Newsreader, Georgia, serif; font-size: clamp(28px, 2.6cqw, 36px); font-weight: 400; line-height: 1.12; }
.area-grid ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.area-grid li { font-size: 17px; line-height: 1.5; color: #4A4743; }
.area-grid li strong { font-weight: 600; color: #181818; }
.area-commute { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 6cqw, 96px); align-items: center; max-width: 1320px; margin-inline: auto; }
.area-commute > div:first-child > p { color: #E4E0D8; }
.area-table.on-dark { border-top-color: rgba(250, 248, 244, .2); }
.on-dark .area-row { border-bottom-color: rgba(250, 248, 244, .2); }
.on-dark .area-row span, .on-dark .area-note { color: #E4E0D8; }
.area-lead { margin: 0; }
@container page (max-width: 920px) { .area-intro, .area-commute, .area-grid { grid-template-columns: minmax(0, 1fr); } }
@container page (max-width: 640px) { .area-table { grid-template-columns: minmax(0, 1fr); } }

.area-map-panel { width: fit-content; max-width: 100%; padding: clamp(20px, 2.4cqw, 32px) clamp(24px, 3cqw, 42px); border-radius: 16px; background: rgba(20, 20, 20, .92); color: #FAF8F4; }

.brand-logo { display: block; flex: none; width: auto; height: 54px; }

/* Before you move tips */
.tips-section { padding: clamp(68px, 8.8cqw, 128px) clamp(20px, 6.4cqw, 96px); background: #141414; color: #FAF8F4; }
.tips-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 6.6cqw, 96px); align-items: start; max-width: 1320px; margin-inline: auto; }
.tips-eyebrow { margin: 0 0 16px; font-size: 12px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: #B59A6A; }
.tips-grid h2 { margin: 0; font-family: Newsreader, Georgia, serif; font-size: clamp(42px, 4cqw, 58px); font-weight: 400; line-height: 1.03; letter-spacing: -.02em; }
.tips-grid h2 span { color: #B59A6A; }
.tips-lead { margin: 20px 0 0; font-size: 18px; line-height: 1.6; color: #E4E0D8; text-wrap: pretty; }
.tips-btn { display: inline-flex; align-items: center; min-height: 52px; margin-top: 24px; padding: 0 26px; border-radius: 999px; background: #B59A6A; color: #141414; text-decoration: none; font-size: 16px; font-weight: 600; }
.tips-list { border-top: 1px solid rgba(250, 248, 244, .18); }
.tips-item { border-bottom: 1px solid rgba(250, 248, 244, .18); }
.tips-section .faq-q { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; min-height: 76px; padding: 16px 0; border: 0; background: transparent; color: #FAF8F4; font-family: Newsreader, Georgia, serif; font-size: clamp(22px, 2cqw, 28px); line-height: 1.2; text-align: left; cursor: pointer; }
.tips-section .faq-q:hover { color: #B59A6A !important; }
.tips-section .faq-a p { margin: 0; padding: 0 44px 24px 0; font-size: 17px; line-height: 1.6; color: #E4E0D8; }
@container page (max-width: 920px) { .tips-grid { grid-template-columns: minmax(0, 1fr); } }

/* Home Explore San Diego: wider row of smaller cards */
#communities .step-carousel, #communities .step-track { --edge: clamp(16px, 1.6cqw, 24px); }
#communities .step-card, #explore .step-card { flex-basis: clamp(260px, 19.2cqw, 340px); height: clamp(360px, 28cqw, 460px); }

/* Home services: wider row of smaller cards */
#services .step-carousel, #services .service-loop { --edge: clamp(16px, 1.6cqw, 24px); }
#services .service-card { flex-basis: clamp(260px, 19.2cqw, 340px); }
#services .service-card:first-child { margin-left: auto; }
#services .service-card:last-child { margin-right: auto; }

/* Buy page carousels: same full-width row as Home Explore San Diego */
.wide-row .step-carousel, .wide-row .step-track { --edge: clamp(16px, 1.6cqw, 24px); }
.wide-row .step-card { flex-basis: clamp(260px, 19.2cqw, 340px); height: clamp(360px, 28cqw, 460px); }

/* Past sales: Sold tag */
.sold-tag { position: absolute; z-index: 1; top: 12px; left: 12px; padding: 5px 12px; border-radius: 999px; background: #141414; color: #FAF8F4; font-size: 12px; font-weight: 600; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; }

/* About page: A few things people ask me */
.about-qa .faq-q { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; min-height: 76px; padding: 18px 0; border: 0; background: transparent; color: #181818; font-family: Newsreader, Georgia, serif; font-size: 28px; line-height: 1.2; text-align: left; cursor: pointer; }
.about-qa .faq-q:hover { color: #7A6236 !important; }
.about-qa .faq-mark { color: #7A6236; }
.about-qa .faq-a p { margin: 0; padding: 0 44px 22px 0; font-size: 17px; line-height: 1.6; color: #333333; }

/* Left column stays in view while questions scroll */
.sticky-col { position: sticky; top: 32px; }
@container page (max-width: 920px) { .sticky-col { position: static; } }

/* Sell: address-first home value card */
.addr-card { display: block; max-width: 1180px; min-height: 0; border-radius: 22px; padding: clamp(56px, 6.4cqw, 96px) clamp(24px, 4.4cqw, 64px); background: linear-gradient(rgba(14, 14, 14, .58), rgba(14, 14, 14, .58)), url(/img/3ecc12f3796a8a7f50d6cd2f02f2f627.webp) center / cover; color: #FAF8F4; text-align: center; }
.addr-inner { max-width: 760px; margin-inline: auto; }
.addr-card h2 { margin: 0; font-family: Newsreader, Georgia, serif; font-size: clamp(36px, 4cqw, 56px); font-weight: 400; line-height: 1.04; letter-spacing: -.02em; }
.addr-card h2 em { font-style: normal; color: #D9C39A; }
.addr-card p { margin: 14px 0 0; font-size: 17px; line-height: 1.55; color: #F0ECE4; }
.addr-bar { display: flex; gap: 8px; margin-top: 30px; padding: 8px; border-radius: 999px; background: #FFFFFF; }
.addr-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.addr-bar input { flex: 1; min-width: 0; min-height: 52px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; color: #181818; font: inherit; font-size: 17px; }
.addr-bar input:focus-visible { outline: 2px solid #7A6236; }
.addr-bar button { display: inline-flex; align-items: center; gap: 10px; flex: none; min-height: 52px; padding: 0 28px; border: 0; border-radius: 999px; background: #B59A6A; color: #141414; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; }
.addr-bar button:disabled { opacity: .6; cursor: default; }
@container page (max-width: 560px) { .addr-bar { flex-direction: column; border-radius: 20px; } .addr-bar button { justify-content: center; } }

/* Sell: estimate step (personal note) */
.est-card { display: flex; flex-direction: column; align-items: center; max-width: 1180px; min-height: 0; border-radius: 22px; padding: clamp(40px, 4.4cqw, 64px) clamp(24px, 4.4cqw, 64px); text-align: center; }
.est-avatar { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 3px solid #B59A6A; }
.est-card h2 { margin: 18px 0 0; font-family: Newsreader, Georgia, serif; font-size: clamp(32px, 3.4cqw, 48px); font-weight: 400; line-height: 1.06; letter-spacing: -.02em; }
.est-card h2 em { font-style: normal; color: #7A6236; }
.est-lead { margin: 10px 0 0; font-size: 17px; color: #333333; }
.est-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; width: 100%; max-width: 900px; margin-top: 26px; text-align: left; }
.est-card .quiz-consent { max-width: 900px; text-align: left; }
.est-card .quiz-submit { align-self: center; }
.est-edit { margin-top: 12px; min-height: 44px; padding: 0 12px; border: 0; background: transparent; color: #4A4743; font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }
.est-card > sc-if:last-child, .est-card a.quiz-start { align-self: center; }
@container page (max-width: 760px) { .est-fields { grid-template-columns: minmax(0, 1fr); } }

/* Sell: address card and estimate step on white */
.addr-card { background: #FFFFFF; color: #181818; }
.addr-card h2 em { color: #7A6236; }
.addr-card p { color: #333333; }
.addr-bar { border: 1px solid rgba(24, 24, 24, .28); background: #FAF8F4; }
.est-card { background: #FFFFFF; color: #181818; }
.est-card h2 em { color: inherit !important; }
.addr-card h2 em { color: inherit !important; }


/* Buy quiz: San Diego photo collage */
.quiz-collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; padding: 10px; }
.quiz-collage img { position: static; inset: auto; width: 100%; height: 100%; min-height: 0; border-radius: 14px; object-fit: cover; object-position: center; }
.quiz-collage img:first-child { grid-row: span 2; }
@container page (max-width: 920px) { .quiz-collage { height: 320px; } }

/* Buy: taller step cards so longer descriptions never cover the title */
.wide-row#how-it-works .step-card { height: clamp(430px, 33cqw, 500px); }
#how-it-works .step-card p { font-size: 15px; line-height: 1.5; }

/* ===== TABLET ONLY (600px to 1100px wide). Desktop is unchanged. ===== */
@container page (min-width: 600px) and (max-width: 1100px) {
  /* Home: Meet your agent stays side by side */
  #about > .two { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) !important; gap: 36px !important; align-items: start !important; }
  #about .about-photo { max-width: none; position: sticky; top: 24px; }
  #about .about-photo img { aspect-ratio: 3 / 4 !important; }
  /* Home: services and videos show a clear partial card, plus arrows */
  #services .service-card { flex-basis: calc((100cqw - 56px) / 2.4) !important; }
  #videos .video-loop, #resources .video-loop { margin-right: 0 !important; grid-auto-columns: calc((100% - 40px) / 2.4) !important; }
  #services .step-arrow, #videos .step-arrow { display: none !important; }
  #services .step-arrow:disabled, #videos .step-arrow:disabled { display: none !important; }
  /* Home: Explore San Diego shows a clear partial card, plus arrows */
  #communities .step-card { flex-basis: calc((100cqw - 56px) / 2.4) !important; }
  #communities .step-arrow, #explore .step-arrow { display: none !important; }
  #communities .step-arrow:disabled, #explore .step-arrow:disabled { display: none !important; }
  /* Client reviews: clear partial card, plus arrows */
  #reviews .review-card { flex-basis: calc((100cqw - 6.4cqw - 40px) / 2.4) !important; }
  #reviews .review-arrows .step-arrow { display: none !important; }
  /* Home and others: Ready to make a move, photo beside the text */
  #book .book-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) !important; grid-template-areas: "photo text" "photo card"; gap: 24px 36px !important; align-items: start !important; }
  #book .book-grid > div:first-child { grid-area: text; }
  #book .book-media { display: contents; }
  #book .book-media img { grid-area: photo; position: static; width: 100%; height: 100%; min-height: 360px; aspect-ratio: auto; border-radius: 20px; }
  #book .book-card { grid-area: card; position: static; width: auto; margin: 0; box-shadow: none; }
  /* Buy: How home buying works, description shows on tap */
  #how-it-works .step-card p { opacity: 0; transform: translateY(10px); }
  #how-it-works .step-card::after { background-color: transparent; }
  #how-it-works .step-card:hover p, #how-it-works .step-card:focus p { opacity: 1; transform: none; }
  #how-it-works .step-card:hover::after, #how-it-works .step-card:focus::after { background-color: rgba(14, 14, 14, .45); }
  /* Buy: How home buying works, partial card plus arrows */
  #how-it-works .step-card { flex-basis: calc((100cqw - 56px) / 2.4) !important; }
  #how-it-works .step-arrow { display: none !important; }
  /* Past sales: partial column plus arrows */
  #sold .sold-loop { margin-right: 0 !important; grid-auto-columns: calc((100% - 40px) / 2.4) !important; }
  #sold .step-arrow { display: none !important; }
  /* Relocation: plan steps in two columns, no aerial photo */
  #plan .two > ol { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; border-bottom: 0 !important; }
  #plan .two > ol > li { flex-direction: column; gap: 10px !important; padding: 22px 0 !important; }
  #plan .plan-media img { display: none; }
  #plan .plan-card { margin: 0; }
  #plan .two > ol > li:last-child { grid-column: 1 / -1; }
  #resources .step-arrow { display: none !important; }
}

/* ===== PHONE ONLY (under 600px wide). Tablet and desktop are unchanged. ===== */
@container page (max-width: 599px) {
  /* Buy: How home buying works, matches the tablet design */
  #how-it-works .step-card { flex-basis: calc((100cqw - 36px) / 1.2) !important; }
  #how-it-works .step-card p { opacity: 0; transform: translateY(10px); }
  #how-it-works .step-card::after { background-color: transparent; }
  #how-it-works .step-card:hover p, #how-it-works .step-card:focus p { opacity: 1; transform: none; }
  #how-it-works .step-card:hover::after, #how-it-works .step-card:focus::after { background-color: rgba(14, 14, 14, .55); }
  #how-it-works .step-arrow { display: none !important; }
  /* Past sales: two rows, partial column, arrows */
  #sold .sold-loop { margin-right: 0 !important; grid-auto-columns: calc((100% - 20px) / 1.6) !important; gap: 24px 14px !important; }
  #sold .sold-card p:first-of-type { font-size: 22px !important; }
  #sold .step-arrow { display: none !important; }
  /* Client reviews: partial card, arrows */
  #reviews .review-card { flex-basis: calc((100cqw - 6.4cqw - 20px) / 1.2) !important; }
  #reviews .review-arrows .step-arrow { display: none !important; }
  /* Videos (Home and Relocation): one row, next video peeks in */
  #videos .video-loop, #resources .video-loop { grid-template-rows: auto !important; grid-auto-columns: 80% !important; gap: 14px !important; margin-right: 0 !important; }
  #videos .step-arrow, #resources .step-arrow { display: none !important; }
  /* Relocation reviews: one row, next review peeks in */
  .rel-reviews { display: flex !important; gap: 14px !important; margin-right: calc(-1 * clamp(20px, 6.4cqw, 96px)); padding-right: clamp(20px, 6.4cqw, 96px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .rel-reviews::-webkit-scrollbar { display: none; }
  .rel-reviews .review-card { flex: 0 0 82% !important; scroll-snap-align: start; }
  /* Relocation: no aerial photo behind "What you get with me" */
  #plan .plan-media img { display: none; }
  #plan .plan-card { margin: 0; }
  /* Area guides: long values (like ZIP codes) wrap instead of running off the screen */
  .area-row { gap: 16px; }
  .area-row span { flex: none; }
  .area-row strong { min-width: 0; text-align: right; overflow-wrap: anywhere; }
}

/* ===== TABLET AND PHONE (under 1100px wide): Sell plan section fits the chosen plan ===== */
@container page (max-width: 1100px) {
  .plan-panel[aria-hidden="true"] { display: none; }
  .plan-panel[aria-hidden="false"] { animation: planIn .35s ease; }
}
@keyframes planIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .plan-panel { animation: none !important; } }

/* ===== Phone and tablet menu: cream full-height panel (design #3, no numbers or contact info) ===== */
nav.show-lg[aria-label="Menu"] { z-index: 30; min-height: 620px; padding: 28px 24px 32px !important; background: #EFEBE2 !important; border-bottom: 0 !important; box-shadow: 0 24px 40px rgba(0, 0, 0, .25); animation: menuIn .28s ease; }
nav.show-lg[aria-label="Menu"] a.nl { min-height: 78px !important; color: #181818 !important; font-family: Newsreader, Georgia, serif; font-size: 40px !important; font-weight: 400 !important; line-height: 1.1; border-bottom: 1px solid rgba(24, 24, 24, .16) !important; }
nav.show-lg[aria-label="Menu"] a.nl:hover { color: #7A6236 !important; }
nav.show-lg[aria-label="Menu"] a.nl:last-child { justify-content: center; min-height: 56px !important; margin-top: auto; border: 0 !important; border-radius: 999px; background: #141414; color: #FAF8F4 !important; font-family: 'Instrument Sans', Arial, sans-serif; font-size: 16px !important; font-weight: 600 !important; }
nav.show-lg[aria-label="Menu"] a.nl:last-child { margin-top: auto !important; }
.site-head button[aria-expanded="true"] svg { display: none; }
.site-head button[aria-expanded="true"]::after { content: "\00D7"; font-size: 26px; line-height: 1; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { nav.show-lg[aria-label="Menu"] { animation: none; } }
/* Let the open menu extend past short page headers instead of being cut off */
section:has(> .site-head nav[aria-label="Menu"]) { overflow: visible !important; z-index: 20; }

/* live site additions */
nav.show-lg[aria-label="Menu"]{min-height:max(560px, calc(100svh - 80px))}
