/* High Desert theme: deep navy, warm copper, clean modern type.
   Loaded after site.css when brand.json sets "theme": "high-desert". */
:root {
  --white: #ffffff;
  --ivory: #f5f6f8;
  --ivory-2: #eaedf2;
  --stone: #dde2ea;
  --line: #dfe4eb;
  --ink: #13233a;            /* deep navy */
  --ink-2: #3a4a61;
  --muted: #5b6676;          /* 5.6:1 on white */
  --gold: #b9733f;           /* copper, decorative */
  --gold-text: #8a4c1f;      /* copper text, 6.3:1 on white */
  --gold-soft: #f6e8dc;
  --gold-light: #eab68b;     /* copper on navy */
  --serif: Inter, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --shadow: 0 1px 2px rgba(19, 35, 58, .05), 0 10px 30px rgba(19, 35, 58, .08);
  --shadow-lift: 0 2px 4px rgba(19, 35, 58, .06), 0 18px 44px rgba(19, 35, 58, .14);
  --focus: 0 0 0 3px #fff, 0 0 0 5px #13233a;
}
h1, h2, h3 { font-weight: 650; letter-spacing: -.025em; line-height: 1.08; }
h1 { font-weight: 700; }
.wordmark__names { font-weight: 750; font-size: 1.45rem; letter-spacing: -.02em; text-transform: none; }
.card__price, .property__price, .stat__n, .mstat dd { font-weight: 700; letter-spacing: -.02em; }

.btn--gold { color: #fff; }
.btn--gold:hover { background: #a6622f; border-color: #a6622f; box-shadow: 0 8px 22px rgba(138, 76, 31, .28); }
.section--dark .btn--gold { color: #fff; }

.hero--media, .page-head--scene { background: #0f1d31; }
.hero__shade {
  background:
    linear-gradient(90deg, rgba(10,20,36,.80) 0%, rgba(10,20,36,.60) 42%, rgba(10,20,36,.18) 78%, rgba(10,20,36,.06) 100%),
    linear-gradient(180deg, rgba(10,20,36,.35) 0%, rgba(10,20,36,0) 28%, rgba(10,20,36,0) 62%, rgba(10,20,36,.55) 100%);
}
.page-head__shade { background: linear-gradient(180deg, rgba(10,20,36,.25) 0%, rgba(10,20,36,.35) 45%, rgba(10,20,36,.82) 100%), linear-gradient(90deg, rgba(10,20,36,.5), rgba(10,20,36,0) 70%); }
.section--dark { background: radial-gradient(1200px 400px at 85% 0%, rgba(185,115,63,.22), transparent 60%), #0f1d31; color: #eef1f6; }
.badge--active { background: rgba(19,35,58,.88); }
@media (max-width: 760px) {
  .hero__shade { background: linear-gradient(180deg, rgba(10,20,36,.45) 0%, rgba(10,20,36,.55) 40%, rgba(10,20,36,.82) 100%); }
}

/* ---- Production polish (phones first) ---------------------------------- */
/* Copper buttons: darker fill so white text passes WCAG AA (5.4:1). */
.btn--gold, .section--dark .btn--gold { background: #9c5a28; border-color: #9c5a28; color: #fff; }
.btn--gold:hover { background: #8a4c1f; border-color: #8a4c1f; }
.lang-switch--label { background: #9c5a28 !important; border-color: #9c5a28 !important; }

/* Quick language link next to the menu button on phones and tablets. */
.lang-quick { display: none; }
@media (max-width: 1240px) {
  .lang-quick { display: inline-flex; align-items: center; min-height: 44px; padding: .4rem .75rem; border-radius: var(--radius); background: #9c5a28; color: #fff; font-weight: 600; font-size: .82rem; text-decoration: none; }
  .lang-quick:hover { background: #8a4c1f; }
  .site-header__inner .nav-toggle { margin-left: 0; }
  .primary-nav .lang-switch--label { display: none; }
}

/* Phones: drop the duplicate license bar (the header and hero already show it). */
@media (max-width: 760px) {
  .topbar { display: none; }
  .hero__actions .btn { flex: 1 1 100%; }
  .footer-links { grid-template-columns: 1fr 1fr; column-gap: 1rem; }
  .footer-links a { display: inline-block; padding: .25rem 0; }
  .site-footer .footer-grid { gap: 1.75rem; }
  .info-card { padding: 1.25rem; }
  .cta-band { padding: 1.25rem; }
  .cta-band .btn { flex: 1 1 100%; }
  .own-listing__title { font-size: 1.4rem; }
}

/* Gentle, consistent motion; none for people who prefer reduced motion. */
.btn, .area-link, .info-card, .own-listing { transition: background-color .2s var(--ease), border-color .2s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease); }
.own-listing:hover { box-shadow: var(--shadow-lift); }
@media (prefers-reduced-motion: reduce) { .area-link:hover { transform: none; } * { transition: none !important; } }
@media (max-width: 760px) {
  .site-header__inner { flex-wrap: wrap; gap: .5rem; }
  .wordmark { flex: 1 1 0; min-width: 0; flex-direction: column; align-items: flex-start; gap: .15rem; margin-right: 0; }
  .wordmark__names { font-size: 1.3rem; }
  .brokerage-mark--header { line-height: 1.2; }
  .lang-quick, .js .nav-toggle { flex: 0 0 auto; }
  .primary-nav { flex-basis: 100%; }
}
@media (max-width: 760px) {
  .site-header__inner { flex-wrap: nowrap; }
  .site-header__inner.has-open-nav, .site-header__inner:has(.primary-nav.is-open) { flex-wrap: wrap; }
  .js .nav-toggle { width: auto; padding: .4rem .6rem; gap: .4rem; letter-spacing: .08em; }
  .nav-toggle__label { font-size: .72rem; }
  .lang-quick { padding: .4rem .6rem; font-size: .78rem; }
  .brokerage-name { font-size: .68rem; letter-spacing: .08em; }
  .brokerage-office { font-size: .68rem; }
}
@media (max-width: 1240px) {
  /* Base grid is wordmark | menu; this site adds the Español button between them. */
  .site-header__inner { grid-template-columns: minmax(0, 1fr) auto auto; column-gap: .5rem; }
  .site-header__inner .primary-nav { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .brokerage-name, .brokerage-office { font-size: .75rem; letter-spacing: .04em; }
  .nav-toggle__label { font-size: .78rem; }
}

/* HD New Homes logo in the header: logo on the left, agent + brokerage stacked beside it. */
.wordmark--logo { display: grid !important; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: .9rem; row-gap: .1rem; align-items: center; justify-content: start; }
.wordmark--logo .wordmark__logo { grid-row: 1 / 3; display: block; }
.wordmark--logo .wordmark__logo img { display: block; height: 58px; width: auto; }
.wordmark--logo .wordmark__names--small { grid-column: 2; align-self: end; font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.wordmark--logo .wordmark__rule { display: none; }
.wordmark--logo .brokerage-mark { grid-column: 2; align-self: start; }
@media (max-width: 760px) {
  .wordmark--logo { column-gap: .6rem; }
  .wordmark--logo .wordmark__logo img { height: 44px; }
  .wordmark--logo .wordmark__names--small { font-size: .95rem; }
}
@media (max-width: 380px) { .wordmark--logo .wordmark__logo img { height: 38px; } }
@media (max-width: 760px) {
  /* Phones: logo alone in the header; agent name, brokerage and DRE# show in the hero and footer. */
  .wordmark--logo .wordmark__names--small, .wordmark--logo .brokerage-mark { display: none; }
  .wordmark--logo { grid-template-columns: auto; }
  .wordmark--logo .wordmark__logo { grid-row: auto; }
  .wordmark--logo .wordmark__logo img { height: 50px; }
}
@media (max-width: 380px) { .wordmark--logo .wordmark__logo img { height: 42px; } }
/* Vidal's motto */
.hero__motto { font-size: clamp(1.1rem, 2.4vw, 1.45rem); font-weight: 800; letter-spacing: .02em; color: var(--gold-light); margin: 0 0 .6rem; }
.footer-logo { display: block; height: 52px; width: auto; margin: 0 0 .5rem; }
.footer-motto { font-weight: 800; font-size: 1.05rem; color: var(--gold-text); margin: 0 0 1rem; }
.area-chips { list-style: none; padding: 0; margin: 1.25rem 0 .75rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.area-chips li { padding: .4rem .85rem; border-radius: 999px; background: var(--ivory); border: 1px solid var(--line); font-weight: 600; font-size: .9rem; }
/* YouTube intro video */
.yt { margin: 0; }
.yt__link, .yt__frame { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: #0f1d31; box-shadow: var(--shadow); border: 0; }
.yt__thumb { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--ease); }
.yt__link:hover .yt__thumb { transform: scale(1.03); }
.yt__play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: rgba(156,90,40,.94); box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.yt__play::after { content: ''; position: absolute; left: 31px; top: 24px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent #fff; }
.yt figcaption { margin-top: .6rem; color: var(--muted); font-size: .92rem; }
.meet-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: start; text-align: left; }
.about-video { max-width: 860px; margin-bottom: 2.5rem; }
@media (max-width: 860px) { .meet-grid { grid-template-columns: 1fr; } }
/* Track record */
.track { background: var(--ink); color: #eef1f6; }
.track h2, .track .section__lead { color: #fff; }
.track__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 2rem 0 1rem; }
.track__stat { display: flex; flex-direction: column-reverse; align-items: center; text-align: center; padding: 1.4rem 1rem; border-radius: var(--radius-lg); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.track__stat dd { margin: 0; font-size: clamp(2rem, 4.5vw, 2.8rem); font-weight: 800; letter-spacing: -.02em; color: var(--gold-light); line-height: 1.1; }
.track__stat dt { margin-top: .35rem; font-size: .95rem; color: #d7dde7; }
.track__range { text-align: center; font-size: 1.05rem; color: #fff; margin: 1rem 0 .5rem; }
.track .muted { color: #b9c2cf !important; }
@media (max-width: 760px) { .track__stats { grid-template-columns: 1fr 1fr; gap: .75rem; } .track__stat { padding: 1rem .5rem; } }
/* Client reviews */
.reviews__list { list-style: none; padding: 0; margin: 2rem 0 1rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.25rem; }
.review { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius-lg); padding: 1.4rem 1.5rem; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.review__stars { color: #c98a3a; letter-spacing: .15em; font-size: 1.05rem; margin: 0 0 .6rem; }
.review__quote { margin: 0 0 1rem; flex: 1; }
.review__quote p { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--ink); }
.review__who { margin: 0; font-weight: 700; font-size: .92rem; color: var(--ink); }
.review__src { margin: .15rem 0 0; font-size: .85rem; color: var(--muted); }
@media (max-width: 760px) {
  .reviews__list { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 86%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .75rem; margin-right: -16px; padding-right: 16px; }
  .review { scroll-snap-align: start; }
}
.track__stats { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.track__sub { color: #fff; text-align: center; font-size: 1.25rem; margin: 2.25rem 0 1rem; }
.recent-sales { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .6rem; }
.recent-sales li { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .75rem; padding: .75rem 1rem; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.rs__price { grid-row: 1 / 3; align-self: center; font-weight: 800; color: var(--gold-light); font-size: 1.1rem; }
.rs__what { color: #fff; font-size: .92rem; }
.rs__date { color: #b9c2cf; font-size: .82rem; }
.own-listing__status.is-pending { color: #6a645b; }
@media (max-width: 760px) { .track__stats { grid-template-columns: 1fr 1fr; } .track__stat:first-child { grid-column: 1 / -1; } }
.designation { font-size: .85rem; font-weight: 600; color: var(--gold-text); letter-spacing: .02em; margin: .15rem 0 .4rem; }
.own-listing__hl { list-style: none; padding: 0; margin: 0 0 .9rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.own-listing__hl li { font-size: .82rem; font-weight: 600; padding: .3rem .65rem; border-radius: 999px; background: var(--gold-soft); color: var(--gold-text); }

/* =========================================================================
   Brought over from abvegasrealty.com, restyled for HD New Homes (navy + copper)
   ========================================================================= */
html, body { overflow-x: clip; }

/* ---- Copper brand stripe: under the hero and above the footer ---- */
.brand-stripe, .hero--brand::after { display: block; height: 4px;
  background: linear-gradient(90deg, #0f1d31 0 16%, #3a4a61 16% 36%, #8a4c1f 36% 64%, #b9733f 64% 88%, #eab68b 88% 100%); }
.hero--brand { position: relative; }
.hero--brand::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; transform-origin: left; animation: stripe-draw 1.6s var(--ease) .4s both; }
@keyframes stripe-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---- Framed headshot: copper offset frame that shifts on hover ---- */
.headshot-frame { position: relative; display: inline-block; align-self: start; isolation: isolate; margin: 0 12px 12px 0; }
.headshot-frame::before { content: ''; position: absolute; inset: 10px -10px -10px 10px; z-index: -1; border-radius: 10px;
  background: linear-gradient(135deg, #eab68b, #b9733f 50%, #8a4c1f); transition: inset .6s var(--ease); }
.headshot-frame .headshot { display: block; position: relative; border-radius: 10px; box-shadow: 0 10px 28px rgba(19, 35, 58, .18); }
.agent-card:hover .headshot-frame::before, .headshot-frame--lg:hover::before { inset: 14px -14px -14px 14px; }
.headshot-frame--lg { max-width: 420px; width: calc(100% - 18px); margin: 0 18px 18px 0; }
.headshot-frame--lg::before { inset: 18px -18px -18px 18px; }
.headshot-frame--lg .headshot { width: 100%; }
@media (max-width: 760px) { .headshot-frame::before { inset: 7px -7px -7px 7px; } }

/* ---- Scroll quote: the motto and his line fill in as you scroll ---- */
.scroll-quote { padding-block: clamp(4rem, 10vw, 7.5rem); background: var(--ivory); }
.scroll-quote__text { margin: 0; max-width: 58rem; }
.scroll-quote__text p { margin: 0; font-size: clamp(1.6rem, 3.6vw, 2.7rem); line-height: 1.2; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.scroll-quote__text .scroll-quote__motto { font-size: clamp(2.6rem, 7vw, 5.2rem); font-weight: 800; line-height: 1; letter-spacing: -.035em; margin-bottom: 1.25rem; color: var(--gold-text); }
.scroll-quote__text .w { color: rgba(19, 35, 58, .16); transition: color .35s ease; }
.scroll-quote__text .w.on { color: var(--ink); }
.scroll-quote__text .scroll-quote__motto .w.on { color: var(--gold-text); }
.scroll-quote__text footer { margin-top: 1.75rem; font-size: .76rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-text); display: flex; align-items: center; gap: .8rem; }
.scroll-quote__text footer::before { content: ''; width: 2.5rem; height: 2px; background: var(--gold); }

/* ---- Drawn underlines and hover feedback ---- */
.link-arrow { border-bottom: 0; padding-bottom: 3px; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 100% 1px no-repeat; transition: color .2s, background-size .5s var(--ease); }
.link-arrow:hover, .link-arrow:focus-visible { color: var(--gold-text); background-size: 100% 2px; }
.link-arrow:hover::after { transform: translateX(4px); }
.footer-links a, .agent-card__links a, .footer-agent a, .page-lead a, .info-card a:not(.btn) { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease), color .2s; }
.footer-links a:hover, .agent-card__links a:hover, .footer-agent a:hover, .page-lead a:hover, .info-card a:not(.btn):hover,
.footer-links a:focus-visible, .agent-card__links a:focus-visible, .footer-agent a:focus-visible { background-size: 100% 1px; color: var(--gold-text); }
.primary-nav ul a { border-bottom: 0; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 2px no-repeat; transition: color .2s, background-size .45s var(--ease); }
.primary-nav ul a:hover, .primary-nav ul a:focus-visible, .primary-nav ul a[aria-current="page"] { background-size: 100% 2px; }
/* Specialty and area cards: a copper bar draws across the top on hover. */
.service, .area-link { position: relative; overflow: hidden; }
.service { border-top-color: var(--line); }
.service::after, .area-link::after { content: ''; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, #8a4c1f, #b9733f, #eab68b); transform: scaleX(.18); transform-origin: left; transition: transform .7s var(--ease); }
.area-link::after { transform: scaleX(0); }
.service:hover::after, .service:focus-within::after, .area-link:hover::after, .area-link:focus-visible::after { transform: scaleX(1); }
.service h3 { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .6s var(--ease); width: fit-content; }
.service:hover h3, .service:focus-within h3 { background-size: 100% 2px; }
/* Buttons: lift on hover, press on tap, clear focus ring everywhere. */
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); box-shadow: none; }
a:focus-visible, button:focus-visible, .btn:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }

/* ---- Language switch: globe pill ---- */
.lang-globe { flex: none; }
.primary-nav .lang-switch, .lang-quick { display: inline-flex; align-items: center; gap: .45rem; border-radius: 999px !important; padding: .5rem .95rem !important;
  border: 1px solid rgba(185, 115, 63, .7) !important; background: rgba(185, 115, 63, .08) !important; color: var(--ink) !important;
  font-size: .8rem !important; font-weight: 600; letter-spacing: .04em; text-transform: none; text-decoration: none; white-space: nowrap; min-height: 40px;
  transition: background-color .3s, border-color .3s, color .3s; }
.primary-nav .lang-switch .lang-globe, .lang-quick .lang-globe { color: var(--gold); }
.primary-nav .lang-switch:hover, .lang-quick:hover { background: var(--gold-soft) !important; border-color: var(--gold) !important; }
.lang-quick { display: none; }
@media (max-width: 1240px) {
  .lang-quick { display: inline-flex; min-height: 44px; padding: .5rem .8rem !important; }
}

/* ---- Phone & tablet menu: navy slide-out drawer ---- */
.nav-drawer__head, .nav-drawer__contact { display: none; }
@media (max-width: 1240px) {
  .js .nav-toggle { width: 48px; height: 48px; min-height: 0; padding: 0 !important; justify-content: center; border-radius: 50%; border: 1px solid var(--line); background: #fff; }
  .js .nav-toggle .nav-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .js .primary-nav, .js .primary-nav.is-open { display: flex; }
  .js .primary-nav { position: fixed; inset: 0 0 0 auto; z-index: 200; width: min(90vw, 420px); height: 100dvh; margin: 0; padding: 0 1.6rem 2rem;
    flex-direction: column; align-items: stretch; gap: 0; overflow-y: auto; overscroll-behavior: contain;
    background: radial-gradient(140% 70% at 100% 0%, #1d3354 0%, #13233a 55%, #0c1726 100%); color: #eef1f6;
    box-shadow: -30px 0 80px rgba(0, 0, 0, .45); transform: translateX(104%); visibility: hidden;
    transition: transform .55s cubic-bezier(.77, 0, .175, 1), visibility 0s linear .55s; }
  .js .primary-nav.is-open { transform: none; visibility: visible; transition: transform .55s cubic-bezier(.77, 0, .175, 1), visibility 0s; }
  html.menu-open { overflow: hidden; }
  html.menu-open body::after { content: ''; position: fixed; inset: 0; z-index: 150; background: rgba(8, 15, 26, .55); animation: nav-dim .45s ease both; }
  @keyframes nav-dim { from { opacity: 0; } to { opacity: 1; } }
  html.menu-open .site-header { z-index: 300; }
  html.menu-open .mobile-cta { display: none !important; }
  .nav-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; position: sticky; top: 0; z-index: 2; margin: 0 -1.6rem .75rem; padding: 1.2rem 1.6rem 1rem;
    background: linear-gradient(180deg, #13233a 75%, rgba(19, 35, 58, 0)); }
  .nav-drawer__brand { margin: 0; display: flex; flex-direction: column; gap: .35rem; }
  .nav-drawer__brand img { width: 120px; height: auto; background: #fff; border-radius: 8px; padding: 4px 6px; }
  .nav-drawer__brand span { font-size: 1.25rem; font-weight: 700; color: #fff; }
  .nav-drawer__brand small { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); }
  .nav-close { position: relative; flex: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(234, 182, 139, .45); background: transparent; cursor: pointer; transition: background-color .3s, transform .5s var(--ease); }
  .nav-close:hover { background: rgba(234, 182, 139, .12); transform: rotate(90deg); }
  .nav-close span, .nav-close span::before { position: absolute; left: 50%; top: 50%; width: 18px; height: 1.5px; background: #fff; content: ''; }
  .nav-close span { transform: translate(-50%, -50%) rotate(45deg); }
  .nav-close span::before { transform: translate(-50%, -50%) rotate(90deg); }
  .js .primary-nav ul { gap: 0; }
  .js .primary-nav ul li { border-bottom: 1px solid rgba(234, 182, 139, .14); }
  .js .primary-nav ul a { display: block; padding: 1rem 0; border: 0; background: none; font-size: 1.45rem; font-weight: 650; letter-spacing: -.01em; text-transform: none; color: #fff; white-space: normal; }
  .js .primary-nav ul a[aria-current="page"], .js .primary-nav ul a:hover { color: var(--gold-light); }
  .js .primary-nav .lang-switch { display: inline-flex !important; align-self: stretch; justify-content: center; margin-top: 1.25rem; padding: .95rem 1rem !important; font-size: .95rem !important; color: #fff !important; border-color: rgba(234, 182, 139, .55) !important; background: rgba(234, 182, 139, .08) !important; }
  .js .primary-nav .lang-switch .lang-globe { color: var(--gold-light); }
  .nav-drawer__contact { display: grid; gap: .6rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(234, 182, 139, .18); }
  .nav-drawer__contact a { display: flex; justify-content: space-between; gap: 1rem; color: #fff; text-decoration: none; font-size: .98rem; padding: .35rem 0; overflow-wrap: anywhere; }
  .nav-drawer__contact a span { color: var(--gold-light); font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; line-height: 1.9; }
  /* Items drop in one after another when the drawer opens. */
  .js .primary-nav ul li, .js .primary-nav .lang-switch, .js .primary-nav .nav-drawer__contact { opacity: 0; transform: translateY(-14px); }
  .js .primary-nav.is-open ul li, .js .primary-nav.is-open .lang-switch, .js .primary-nav.is-open .nav-drawer__contact {
    opacity: 1; transform: none; transition: opacity .5s ease, transform .65s var(--ease); transition-delay: calc(.16s + var(--i, 0) * .05s); }
}
@media (max-width: 1240px) and (prefers-reduced-motion: reduce) {
  .js .primary-nav { transition: none; }
  .js .primary-nav ul li, .js .primary-nav .lang-switch, .js .primary-nav .nav-drawer__contact { opacity: 1; transform: none; }
}

/* ---- Phones: the main buttons fit on the first screen ---- */
@media (max-width: 760px) {
  .hero--media .hero__inner { padding-top: 2.25rem; padding-bottom: 2.5rem; }
  .hero--media .eyebrow { font-size: .68rem; letter-spacing: .14em; margin-bottom: .6rem; }
  .hero__motto { font-size: 1.1rem; margin-bottom: .4rem; }
  .hero--media .hero__title { font-size: clamp(1.9rem, 8.4vw, 2.35rem); line-height: 1.06; margin-bottom: .7rem; }
  .hero--media .hero__lead { font-size: .98rem; line-height: 1.5; margin-bottom: 1.1rem; }
  .hero__actions { gap: .6rem; }
  .hero__actions .btn { min-height: 50px; }
}
/* The phone call bar never sits on top of the last content on the page. */
@media (max-width: 760px) { .has-mobile-cta main { padding-bottom: 0; } .has-mobile-cta .site-footer { padding-bottom: calc(2rem + 84px + env(safe-area-inset-bottom)); } }

@media (prefers-reduced-motion: reduce) {
  .hero--brand::after { animation: none; }
  .scroll-quote__text .w { color: inherit; }
  .btn:hover, .btn:active { transform: none; }
}

/* ---- Homepage: header sits see-through over the hero video, solid once you scroll ----
   JS adds .header-over to <body class="home"> and measures --chrome-h. Without JS the normal white bar shows. */
.wordmark__logo-light { display: none; }
.header-over .topbar { background: transparent; border-bottom-color: rgba(255,255,255,.14); color: rgba(255,255,255,.8); position: relative; z-index: 21; }
.header-over .topbar strong { color: #fff; }
.header-over .site-header { transition: background-color .4s ease, box-shadow .4s ease, border-color .4s ease; }
.header-over .site-header:not(.is-solid) { background: linear-gradient(180deg, rgba(8, 15, 26, .5), rgba(8, 15, 26, 0)); -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: transparent; box-shadow: none; }
.header-over .site-header:not(.is-solid) .wordmark__logo-dark { display: none; }
.header-over .site-header:not(.is-solid) .wordmark__logo-light { display: block; }
.header-over .site-header:not(.is-solid) .wordmark__logo-light img { display: block; height: 58px; width: auto; filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .35)); }
.header-over .site-header:not(.is-solid) .wordmark__names, .header-over .site-header:not(.is-solid) .brokerage-name { color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, .35); }
.header-over .site-header:not(.is-solid) .brokerage-office { color: rgba(255, 255, 255, .8); }
.header-over .site-header:not(.is-solid) .primary-nav ul a { color: rgba(255, 255, 255, .94); text-shadow: 0 1px 8px rgba(0, 0, 0, .35); background-image: linear-gradient(var(--gold-light), var(--gold-light)); }
.header-over .site-header:not(.is-solid) .primary-nav ul a:hover { color: #fff; }
.header-over .site-header:not(.is-solid) .lang-switch, .header-over .site-header:not(.is-solid) .lang-quick { color: #fff !important; border-color: rgba(234, 182, 139, .75) !important; background: rgba(255, 255, 255, .1) !important; }
.header-over .site-header:not(.is-solid) .lang-switch .lang-globe, .header-over .site-header:not(.is-solid) .lang-quick .lang-globe { color: var(--gold-light); }
.header-over .site-header:not(.is-solid) .nav-toggle { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .5); }
.header-over .site-header:not(.is-solid) .nav-toggle__bars, .header-over .site-header:not(.is-solid) .nav-toggle__bars::before, .header-over .site-header:not(.is-solid) .nav-toggle__bars::after { background: #fff; }
.header-over .site-header.is-solid { background: rgba(255, 255, 255, .97); box-shadow: 0 6px 24px rgba(19, 35, 58, .08); }
.header-over .hero--media { margin-top: calc(-1 * var(--chrome-h, 0px)); }
.header-over .hero--media .hero__inner { padding-top: calc(var(--chrome-h, 0px) + clamp(2.5rem, 6vw, 5rem)); }
.header-over .hero__shade::after { content: ''; position: absolute; inset: 0 0 auto; height: calc(var(--chrome-h, 0px) + 120px); background: linear-gradient(180deg, rgba(8, 15, 26, .6) 0%, rgba(8, 15, 26, .25) 60%, rgba(8, 15, 26, 0) 100%); }
@media (max-width: 760px) {
  .header-over .site-header:not(.is-solid) .wordmark__logo-light img { height: 50px; }
  .header-over .hero--media .hero__inner { padding-top: calc(var(--chrome-h, 0px) + 1.75rem); }
}
@media (max-width: 380px) { .header-over .site-header:not(.is-solid) .wordmark__logo-light img { height: 42px; } }
@media (max-width: 1240px) { html.menu-open .header-over .site-header, .header-over .site-header.is-solid { -webkit-backdrop-filter: none; backdrop-filter: none; } }
