/* Elizabeth Davidson — matches the Wix theme: Sotheby's navy, gold accents,
   brush-script headings in "Regular Brush" (Din Studio, commercial-use licence),
   the same font file her Wix site uses. */
@font-face {
  font-family: 'Regular Brush';
  src: url(/assets/fonts/brush.woff2) format('woff2'), url(/assets/fonts/brush.woff) format('woff');
  font-display: swap;
}
:root {
  --navy: #002349;
  --navy-2: #37516d;
  --gold: #c29b40;
  --gold-dark: #81672b;
  --ink: #313030;
  --muted: #626060;
  --line: #d5d5d5;
  --mist: #dedede;
  --paper: #fffefc;
  --script: 'Regular Brush', 'Brush Script MT', cursive;
  --sans: 'Montserrat', 'Avenir Next', Avenir, 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1140px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font: 300 15px/1.75 var(--sans); }
img, video, iframe { max-width: 100%; display: block; }
a { color: var(--navy); }
h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.2; font-weight: 400; }
p { margin: 0 0 1em; }
.script { font-family: var(--script); font-weight: 400; letter-spacing: .5px; }
.eyebrow { text-transform: uppercase; letter-spacing: 1px; color: var(--gold); font-size: 15px; font-weight: 400; margin-bottom: .75em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 820px; margin: 0 auto; padding: 0 16px; }
.center { text-align: center; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Buttons */
.btn { display: inline-block; padding: 12px 34px; font: 400 14px/1.2 var(--sans); letter-spacing: 1px; text-transform: uppercase; text-decoration: none; border: 0; cursor: pointer; transition: background .2s; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-dark); }
.btn-slate { background: #617992; color: #fff; text-transform: none; letter-spacing: 0; }
.btn-slate:hover { background: var(--navy-2); }
.btn-outline { border: 1px solid currentColor; color: inherit; background: transparent; }
.btn-block { display: block; width: 100%; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid #eee; position: relative; z-index: 10; }
.header-top { max-width: var(--wrap); margin: 0 auto; padding: 18px 16px 10px; display: flex; align-items: center; justify-content: center; position: relative; }
.logo img { width: 430px; height: auto; }
.social { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); display: flex; gap: 10px; }
.social a { color: #000; }
.nav-toggle { display: none; }
.site-nav > ul { list-style: none; margin: 0 auto; padding: 0 16px 10px; display: flex; justify-content: center; flex-wrap: wrap; gap: 0 22px; max-width: var(--wrap); }
.site-nav li { position: relative; }
.site-nav a, .site-nav span { display: block; padding: 8px 0; color: #222; text-decoration: none; font: 400 13px/1.4 var(--sans); cursor: pointer; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--gold); }
.site-nav li ul { display: none; position: absolute; left: -12px; top: 100%; min-width: 230px; list-style: none; margin: 0; padding: 6px 0; background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.site-nav li ul a { padding: 7px 16px; }
.site-nav li:hover > ul, .site-nav li:focus-within > ul { display: block; }

/* Sections */
.band { padding: 56px 0; }
.band-navy { background: var(--navy); color: #fff; }
.band-navy a:not(.btn) { color: #fff; }
.band-mist { background: var(--mist); }
.band-photo { position: relative; background-size: cover; background-position: center; }
.hero-intro { text-align: center; padding: 34px 0 32px; }
.hero-intro h1 { font-size: clamp(30px, 4.4vw, 42px); }
.hero-intro p { max-width: 1000px; margin: 0 auto 22px; font-size: 16px; font-weight: 400; }
.hero-intro .btn { min-width: 280px; }

.video-hero { background: #fff; padding: 0 16px; }
.video-hero video { width: 100%; max-width: var(--wrap); margin: 0 auto; aspect-ratio: 16/9; object-fit: cover; }

.portland { text-align: center; padding: 70px 0; background: linear-gradient(rgba(255,255,255,.82), rgba(255,255,255,.82)), url(/assets/img/home-portland-skyline.jpg) center/cover; }
.portland h2 { color: var(--navy); font-size: clamp(30px, 4vw, 40px); }
.portland p { max-width: 900px; margin: 0 auto; color: #444; }

.next-move { text-align: center; }
.next-move h2 { font-size: clamp(36px, 5.4vw, 56px); margin-bottom: .6em; }
.next-move > .wrap > p { max-width: 760px; margin: 0 auto 40px; font-size: 17px; }
.three-up { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.three-up .icon { width: 54px; height: 54px; margin: 0 auto 14px; color: var(--gold); }
.three-up h3 { color: var(--gold); font: 400 17px/1.3 var(--sans); letter-spacing: 1px; text-transform: uppercase; }
.three-up p { min-height: 3.4em; }
.three-up .btn { text-transform: none; letter-spacing: .5px; padding: 10px 22px; }

.search-cta { text-align: center; }
.search-cta h2 { color: #555; font-size: clamp(32px, 4.5vw, 46px); }

.featured h2, .section-title { color: var(--navy); font-size: clamp(32px, 4.5vw, 44px); text-align: center; }
.listings-crop { position: relative; overflow: hidden; margin: 24px 0 28px; }
.listings-crop iframe { position: absolute; left: 0; top: 0; width: 1100px; max-width: none; height: 1400px; border: 0; transform-origin: 0 0; pointer-events: none; }
.listings-crop a { position: absolute; inset: 0; }
.listings-page { width: 100%; height: 1300px; border: 0; margin-top: 20px; }

.testimonials { background: url(/assets/img/home-testimonials-bg.jpg) center/cover; padding: 70px 16px; }
.testimonials .intro { text-align: center; max-width: 760px; margin: 0 auto 36px; }
.slider { position: relative; max-width: 760px; margin: 0 auto; }
.slide { display: none; background: #fff; padding: 40px 48px; text-align: center; font-size: 14px; box-shadow: 0 8px 30px rgba(0,0,0,.15); }
.slide.is-active { display: block; }
.slide cite { display: block; margin-top: 14px; font-style: normal; color: #555; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #fff; font-size: 44px; cursor: pointer; padding: 0 10px; text-shadow: 0 1px 4px rgba(0,0,0,.4); }
.slider-btn.prev { left: -70px; } .slider-btn.next { right: -70px; }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.dots button { width: 9px; height: 9px; border-radius: 50%; border: 1px solid #fff; background: transparent; padding: 0; cursor: pointer; }
.dots button[aria-current="true"] { background: #fff; }
.more-reviews { text-align: center; padding: 40px 0 10px; }
.more-reviews h2 { color: var(--navy); font-size: clamp(30px, 4.5vw, 44px); }
.more-reviews .btn { margin: 6px; min-width: 140px; text-transform: none; }

/* About */
.split-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 470px; }
.split-hero .photo { background-size: cover; background-position: center; }
.split-hero .copy { background: var(--navy); color: #fff; display: flex; flex-direction: column; justify-content: center; padding: 48px 56px; }
.split-hero h1 { font-family: var(--script); font-size: clamp(38px, 4.4vw, 56px); line-height: 1.1; }
.split-hero .sub { font-weight: 500; margin-top: 10px; }
.split-hero .creds { font-weight: 600; margin-top: 14px; }
.prose { font-size: 15px; }
.prose-center { text-align: center; }
.gold-script { font-family: var(--script); color: var(--gold); font-size: clamp(34px, 4.8vw, 50px); text-align: center; margin: 0 0 .8em; }

/* Buying */
.photo-hero { position: relative; text-align: center; padding: 90px 16px; background-size: cover; background-position: center; }
.photo-hero::before { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.72); }
.photo-hero > * { position: relative; }
.photo-hero h1 { font-family: var(--script); color: var(--navy); font-size: clamp(44px, 6vw, 72px); text-shadow: 3px 3px 0 rgba(0,0,0,.12); }
.photo-hero p { max-width: 760px; margin: 0 auto; color: #555; }
.start-search { text-align: center; }
.start-search h2 { font: 400 clamp(26px, 3.2vw, 34px)/1.2 var(--sans); letter-spacing: 1px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 34px; }
.tile { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 4/3; background-size: cover; background-position: center; text-decoration: none; }
.tile::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.35); transition: background .2s; }
.tile:hover::before { background: rgba(0,35,73,.55); }
.tile span { position: relative; color: #fff; font: 600 clamp(18px, 2.2vw, 26px)/1.2 var(--sans); text-align: center; padding: 0 12px; }

/* Blog */
.blog-hero { text-align: center; padding: 46px 0 40px; }
.blog-hero h1 { font-size: clamp(38px, 5.4vw, 60px); margin: 0 0 .15em; }
.blog-hero p { max-width: 720px; margin: 0 auto; }
.blog-hero .crumb { font-size: 13px; margin-bottom: 4px; }
.blog-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 18px 16px; border-bottom: 1px solid #eee; position: sticky; top: 0; background: #fff; z-index: 5; }
.blog-nav a { padding: 7px 16px; border: 1px solid #ddd; border-radius: 999px; font: 400 13px/1.2 var(--sans); color: #444; text-decoration: none; }
.blog-nav a:hover { border-color: var(--gold); color: var(--gold-dark); }
.blog-nav a[aria-current] { background: var(--navy); border-color: var(--navy); color: #fff; }
.blog-row { padding: 46px 0 6px; border-bottom: 1px solid #eee; }
.blog-row:last-child { border-bottom: 0; }
.row-head { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 6px 22px; }
.row-head h2 { color: var(--navy); font-size: clamp(30px, 3.6vw, 40px); margin: 0; }
.row-head p { margin: 0; color: var(--muted); font-size: 14px; }
.row-head .see-all { color: var(--gold-dark); font-weight: 500; font-size: 14px; text-decoration: none; white-space: nowrap; }
.city-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; padding: 24px 0 46px; }
.city-tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 4/3; padding: 14px 16px; background: var(--navy) center/cover; color: #fff; text-decoration: none; overflow: hidden; }
.city-tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgba(0,35,73,.85)); transition: background .2s; }
.city-tile:hover::before { background: linear-gradient(transparent 10%, rgba(0,35,73,.92)); }
.city-tile span { position: relative; }
.city-tile .name { font: 400 26px/1.1 var(--script); }
.city-tile .count { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: #e9d9b0; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--navy); color: #fff !important; font-size: 11px; letter-spacing: .5px; text-transform: uppercase; text-decoration: none; margin-right: 8px; }
.pill-outline { background: transparent; border: 1px solid var(--navy); color: var(--navy) !important; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; padding: 28px 0 46px; }
.card { border: 1px solid #e6e6e6; background: #fff; display: flex; flex-direction: column; }
.card img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.card .body { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card .meta { font-size: 12px; color: var(--muted); }
.card h2 { font: 500 17px/1.4 var(--sans); color: var(--navy); }
.card a { text-decoration: none; color: inherit; }
.card p { font-size: 14px; color: #555; margin: 0; }
.post { max-width: 940px; margin: 30px auto 60px; border: 1px solid #e6e6e6; padding: 44px clamp(18px, 6vw, 72px); }
.post .meta { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.post .meta img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.post h1 { font-family: var(--script); color: #555; font-size: clamp(30px, 4vw, 40px); line-height: 1.3; margin-bottom: .7em; }
.post-body { font-size: 16px; line-height: 1.8; color: #333; }
.post-body h2, .post-body h3 { font: 500 22px/1.35 var(--sans); color: #333; margin: 1.6em 0 .5em; }
.post-body img { margin: 1.4em auto; height: auto; }
.post-body a { color: var(--gold-dark); }
.post-tags { margin-top: 32px; padding-top: 18px; border-top: 1px solid #eee; font-size: 13px; color: var(--muted); }
.post-cta { margin-top: 30px; padding: 26px; background: var(--navy); color: #fff; text-align: center; }
.post-cta p { margin-bottom: 14px; }

/* Photo + text halves (Selling, Let's Work Together, Sotheby's) */
.half { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.half .photo { min-height: 420px; background-size: cover; background-position: center; }
.half .copy { padding: 56px clamp(20px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.half .copy h1, .half .copy h2 { font-family: var(--script); color: var(--navy); font-size: clamp(34px, 4.2vw, 50px); line-height: 1.15; }
.half .copy .eyebrow { color: var(--navy); }
.half.flip .photo { order: 2; }
.card-over { background: #fff; box-shadow: 0 10px 40px rgba(0,0,0,.12); margin: -60px 0 0 -80px; position: relative; }
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(34px, 4.6vw, 52px); }
.cta-band p { max-width: 640px; margin: 0 auto 22px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; padding: 70px 16px; background: linear-gradient(rgba(255,255,255,.8), rgba(255,255,255,.8)), url(/assets/img/sothebys-stats-bg.jpg) center/cover; }
.stats strong { display: block; font: 300 clamp(36px, 5vw, 56px)/1.1 var(--sans); color: var(--navy); }
.feature-list h3 { font: 500 15px/1.4 var(--sans); letter-spacing: 1px; text-transform: uppercase; color: var(--gold); margin-top: 1.4em; }
.duo { display: grid; grid-template-columns: 1fr 1fr; }
.duo a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 70px 16px; color: #fff; text-decoration: none; font: 400 24px/1.2 var(--sans); background: #666; }
.duo a + a { background: #8a8a8a; }
.duo a span.btn { background: var(--navy); font-size: 12px; letter-spacing: .5px; padding: 9px 18px; }
.duo a:hover span.btn { background: var(--gold); }

/* Click-to-play YouTube */
.yt { position: relative; display: block; width: 100%; aspect-ratio: 16/9; border: 0; padding: 0; cursor: pointer; background: #000 center/cover no-repeat; }
.yt::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(0,35,73,.55)); }
.yt-play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: rgba(0,35,73,.85); z-index: 1; transition: background .2s, transform .2s; }
.yt-play::before { content: ""; position: absolute; left: 30px; top: 22px; border-style: solid; border-width: 16px 0 16px 26px; border-color: transparent transparent transparent #fff; }
.yt:hover .yt-play { background: var(--gold); transform: scale(1.06); }
.yt-label { position: absolute; left: 22px; bottom: 16px; right: 22px; z-index: 1; color: #fff; font: 400 clamp(18px, 2.6vw, 28px)/1.2 var(--script); text-align: left; }
.yt-frame { width: 100%; aspect-ratio: 16/9; border: 0; display: block; }

/* Embeds and video */
.embed { width: 100%; border: 0; display: block; }
.video-block { max-width: 900px; margin: 0 auto 50px; padding: 0 16px; }
.video-block h2 { font: 400 clamp(22px, 3vw, 32px)/1.3 var(--sans); text-align: center; color: #444; margin: 0 0 18px; }
.video-block video { width: 100%; aspect-ratio: 16/9; background: #000; }

/* Lead-form pages (home value, referrals, newsletter) */
.form-page { padding: 60px 16px; background-size: cover; background-position: center; }
.form-card { max-width: 760px; margin: 0 auto; background: rgba(255,255,255,.96); padding: 40px clamp(20px, 5vw, 56px); box-shadow: 0 10px 40px rgba(0,0,0,.15); }
.form-card h1 { font-family: var(--script); color: var(--navy); font-size: clamp(34px, 4.4vw, 48px); text-align: center; }
.form-card > p { text-align: center; }
.form-card fieldset { border: 0; padding: 0; margin: 18px 0 0; }
.form-card legend { font: 600 13px/1.4 var(--sans); text-transform: uppercase; letter-spacing: 1px; color: var(--gold); margin-bottom: 10px; }
.contact-form select { appearance: auto; }

/* Relocation hub cards */
.link-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-top: 26px; }
.link-card { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; background: #fff; border: 1px solid #e3e3e3; text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s; }
.link-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.band-navy a.link-card { color: var(--ink); }
.link-card h3 { font: 500 16px/1.35 var(--sans); color: var(--navy); margin: 0; }
.link-card p { font-size: 14px; margin: 0; flex: 1; }
.link-card .more { color: var(--gold-dark); font-size: 13px; font-weight: 500; }

/* Testimonials page */
.review-list { columns: 2 340px; column-gap: 26px; padding: 40px 0 60px; }
.review { break-inside: avoid; margin: 0 0 26px; padding: 28px 30px; background: #fff; border: 1px solid #e6e6e6; font-size: 15px; }
.review .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 8px; }
.review cite { display: block; font-style: normal; font-weight: 500; color: var(--navy); margin-top: 6px; }

/* Vendors */
.vendor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; padding: 30px 0 60px; }
.vendor { border: 1px solid #e3e3e3; padding: 20px 22px; background: #fff; }
.vendor h2 { font: 500 13px/1.4 var(--sans); letter-spacing: 1px; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.vendor .entry + .entry { border-top: 1px solid #eee; margin-top: 12px; padding-top: 12px; }
.vendor .name { font-weight: 500; color: var(--ink); }
.vendor p { margin: 0; font-size: 14px; }

/* Footer + forms */
.site-footer { border-top: 1px solid #eee; }
.contact { max-width: 900px; margin: 0 auto; padding: 60px 16px 30px; }
.contact h2 { color: var(--navy); font-size: clamp(32px, 4vw, 42px); text-align: center; margin-bottom: 24px; }
.contact-form label { display: block; margin-bottom: 14px; }
.contact-form label > span { display: block; font: 600 12px/1.4 var(--sans); color: #222; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; border: 0; border-bottom: 1px solid #777; padding: 8px 2px; font: 300 14px var(--sans); background: transparent; border-radius: 0; }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-bottom-color: var(--gold); }
.footer-brand { text-align: center; padding: 26px 16px 34px; font-size: 13px; }
.footer-brand img { width: 320px; height: auto; margin: 0 auto 12px; }
.footer-brand .fine { font-size: 11px; color: var(--muted); margin: 0; }

/* Phone */
@media (max-width: 760px) {
  .logo img { width: 260px; }
  .social { display: none; }
  .nav-toggle { display: block; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); background: none; border: 1px solid #ccc; padding: 6px 10px; font: 400 12px var(--sans); }
  .header-top { justify-content: flex-start; }
  .site-nav { display: none; }
  .nav-open .site-nav { display: block; }
  .site-nav > ul { flex-direction: column; gap: 0; }
  .site-nav li ul { display: block; position: static; box-shadow: none; padding: 0 0 0 14px; }
  .row-head { grid-template-columns: 1fr; }
  .blog-nav { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; }
  .blog-nav a { white-space: nowrap; }
  .three-up, .tiles, .split-hero, .contact-form .row, .half, .duo, .stats { grid-template-columns: 1fr; }
  .half.flip .photo { order: 0; }
  .half .photo { min-height: 280px; }
  .card-over { margin: 0; }
  .split-hero .photo { min-height: 320px; }
  .split-hero .copy { padding: 36px 20px; }
  .slider-btn.prev { left: -6px; } .slider-btn.next { right: -6px; }
  .slide { padding: 28px 30px; }
  .listings-crop { display: none; }
  .listings-page { height: 2300px; }
}
