:root {
  color-scheme: light;
  --paper: #fbf8e9;
  --white: #fff;
  --soft: #f5efd8;
  --olive-tint: #e9e8d0;
  --heading: #3b401c;
  --heading-deep: #303416;
  --olive: #626b2a;
  --ink: #292619;
  --muted: #5d5542;
  --line: #ded4b6;
  --mustard: #d99b1f;
  --brick: #a12d1d;
  --brick-deep: #83271b;
  --blush: #f0dfd1;
  --radius: 16px;
  --gutter: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.62 "Segoe UI", Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ol, ul, figure { margin: 0; }
img { display: block; width: 100%; height: auto; }
[id] { scroll-margin-top: 98px; }
:focus-visible { outline: 2px solid var(--heading); outline-offset: 5px; }
::selection { color: var(--heading-deep); background: var(--olive-tint); }
.wrap { width: min(1180px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.skip { position: absolute; z-index: 10; top: 5px; left: 5px; padding: 8px 14px; transform: translateY(-150%); color: white; background: var(--heading); }
.skip:focus { transform: translateY(0); }
.micro { font-size: .76rem; font-weight: 750; letter-spacing: .105em; text-transform: uppercase; line-height: 1.5; }
.label { color: var(--olive); }
.arrow { font-size: 1.12em; line-height: 1; }
.section-title { color: var(--heading); font-size: clamp(2.05rem, 4.35vw, 3.9rem); line-height: 1.06; letter-spacing: -.055em; font-weight: 700; text-wrap: balance; }
.section-title em { font: italic 400 1em Georgia, serif; }
.body-copy { max-width: 64ch; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.16rem); }
.button, .nav-contact { display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 46px; padding: 11px 19px; border: 1px solid var(--brick); border-radius: 999px; background: var(--brick); color: white; font-weight: 700; line-height: 1.35; transition: background .18s, border-color .18s; }
.button:hover, .nav-contact:hover { background: var(--brick-deep); border-color: var(--brick-deep); }
.button.outline { color: var(--heading); border-color: var(--heading); background: transparent; }
.button.outline:hover { background: var(--olive-tint); }
.text-link { display: inline-flex; gap: 7px; align-items: center; width: fit-content; max-width: 100%; color: var(--heading); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em; font-weight: 700; }
.text-link:hover { text-decoration-thickness: 2px; }

.header { position: sticky; top: 0; z-index: 5; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; min-height: 83px; align-items: center; justify-content: space-between; gap: 16px 25px; }
.mark { display: grid; gap: 3px; flex: none; color: var(--heading); font-size: 1.3rem; font-weight: 750; letter-spacing: -.035em; line-height: 1.14; }
.mark span { color: var(--muted); font-size: .79rem; font-weight: 500; letter-spacing: 0; }
.main-nav { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 7px clamp(13px, 1.8vw, 27px); font-size: .92rem; font-weight: 600; }
.main-nav a { padding-block: 4px; }
.main-nav a:not(.nav-contact):hover { text-decoration: underline; text-underline-offset: .22em; }
.nav-contact { flex: none; font-size: .9rem; }

.hero { overflow: hidden; background: var(--soft); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: clamp(30px, 6vw, 94px); padding-block: clamp(40px, 6vw, 82px); }
.hero h1 { margin: 13px 0 21px; color: var(--heading); font-size: clamp(2.8rem, 5.6vw, 5.4rem); line-height: 1; font-weight: 730; letter-spacing: -.07em; }
.hero h1 em { color: var(--olive); font: italic 400 1.06em/.94 Georgia, serif; letter-spacing: -.07em; }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 11px 21px; margin-top: 25px; }
.hero-media { position: relative; isolation: isolate; width: 100%; max-width: 440px; justify-self: end; padding: 9px 9px 0; border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
.hero-media::before { content: ""; position: absolute; z-index: -1; right: -20px; bottom: -14px; width: 44%; height: 31%; border-radius: 51% 37% 56% 43% / 43% 53% 43% 57%; background: var(--mustard); opacity: .55; transform: rotate(-11deg); pointer-events: none; }
.hero-media > img { aspect-ratio: 1.05; object-fit: cover; object-position: 50% 33%; border-radius: 13px; background: var(--olive-tint); }
.hero-media figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1px 12px; padding: 10px 7px 12px; color: var(--heading); }
.hero-media figcaption span { color: var(--muted); font-size: .85rem; }
.proof-band { border-bottom: 1px solid var(--line); background: var(--white); }
.proof-grid { display: grid; grid-template-columns: .75fr 1.5fr .75fr; align-items: center; padding-block: 23px; }
.proof-grid > * { display: grid; gap: 3px; }
.proof-grid > * + * { border-left: 1px solid var(--line); padding-left: clamp(15px, 3vw, 38px); }
.proof-grid strong { color: var(--heading); font-size: clamp(1rem, 2.25vw, 1.4rem); line-height: 1.12; }
.proof-rating strong { font-size: clamp(1.6rem, 3vw, 2.15rem); letter-spacing: -.05em; }
.proof-grid span { color: var(--muted); font-size: .89rem; }
.proof-grid a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.network-logo { width: 94px; }

.section { padding-block: clamp(50px, 7vw, 88px); }
.section-head { display: grid; justify-items: start; gap: 10px; margin-bottom: clamp(22px, 3vw, 34px); }
.section-head .body-copy { margin-top: 3px; }
.section-link { margin-top: 20px; }
.buyer-search { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; margin-top: 28px; padding: clamp(16px, 3vw, 28px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.buyer-search p { margin-top: 5px; }
.soft { background: var(--soft); border-block: 1px solid var(--line); }
.service-grid, .property-grid, .review-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; list-style: none; padding: 0; }
.service, .property-card, .review-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.service, .review-card { padding: clamp(17px, 2.5vw, 28px); }
.service { display: flex; flex-direction: column; align-items: start; gap: 11px; }
.service-number, .property-status { border-radius: 999px; background: var(--olive-tint); color: var(--heading); padding: 3px 10px; }
.service-number { background: #f4e3b8; }
.service h3, .property-caption h3 { color: var(--heading); font-size: clamp(1.15rem, 1.9vw, 1.42rem); line-height: 1.2; letter-spacing: -.025em; }
.service p, .review-card p { color: var(--muted); }
.service .text-link { margin-top: auto; }

.split { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(25px, 6vw, 82px); align-items: center; }
.approach { padding-top: 0; align-items: start; }
.about-heading .section-title { margin-top: 9px; }
.about-reels { grid-column: 1/-1; }
.about-reels h3 { color: var(--heading); font-size: clamp(1.4rem, 3.5vw, 2rem); line-height: 1.15; letter-spacing: -.035em; margin-bottom: 10px; }
.reel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1.8vw, 17px); max-width: 780px; padding: 0; margin-top: 18px; list-style: none; }
.reel-card { display: block; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.reel-card:focus-visible { outline-offset: 3px; }
.reel-cover { display: block; position: relative; }
.reel-cover video { display: block; width: 100%; height: auto; }
.reel-cover img, .reel-cover video { aspect-ratio: 3 / 4; object-fit: cover; background: var(--olive-tint); }
.reel-caption { display: flex; align-items: baseline; justify-content: space-between; gap: 4px; padding: clamp(6px, 1.5vw, 11px); color: var(--heading); font-size: clamp(.75rem, 2.4vw, 1rem); line-height: 1.3; font-weight: 700; }
.reel-card:hover .reel-caption { text-decoration: underline; text-underline-offset: 3px; }
.estimate-copy { max-width: 740px; }
.split-copy > * + * { margin-top: 13px; }
.split-copy .text-link { margin-top: 17px; }
.method { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.method li { display: grid; grid-template-columns: 32px 1fr; gap: 9px; align-items: baseline; padding-block: 10px; border-bottom: 1px solid var(--line); }
.method strong { display: block; color: var(--heading); }

.property-card { overflow: hidden; }
.property-card:focus-within { outline: 2px solid var(--heading); outline-offset: 4px; }
.property-link { display: block; height: 100%; }
a.property-link:hover { background: var(--olive-tint); }
a.property-link:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.property-link img { aspect-ratio: 1.58; object-fit: cover; background: var(--olive-tint); }
.property-caption { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 82px; padding: 13px 15px; }
.property-caption h3 { margin-top: 4px; }
.property-caption .micro { letter-spacing: .05em; }
.property-caption > div > p { color: var(--muted); }

.review-info, .rating { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 16px; }
.review-info { margin-bottom: 19px; }
.rating strong { color: var(--heading); font-size: 1.8rem; line-height: 1; letter-spacing: -.04em; }
.stars { color: var(--olive); letter-spacing: .08em; white-space: nowrap; }
.review-card { display: flex; flex-direction: column; gap: 11px; }
.review-card blockquote { flex: 1; margin: 0; }
.review-card .micro { color: var(--heading); letter-spacing: .045em; }
.review-more { margin-top: 16px; }
.review-more summary { width: fit-content; cursor: pointer; font-weight: 700; color: var(--heading); }
.review-more .review-list { margin-top: 13px; }
.review-footer { margin-top: 13px; color: var(--muted); font-size: .87rem; }

.journal .label { display: inline-block; color: var(--brick-deep); background: var(--blush); border-radius: 41% 57% 39% 60% / 68% 53% 48% 36%; padding: 7px 14px; }
.photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.photo-grid img { aspect-ratio: 1.12; object-fit: cover; border-radius: 11px; background: var(--olive-tint); }
.photo-grid .photo-chien { object-position: 50% 65%; }
.photo-grid figcaption { margin-top: 7px; color: var(--muted); letter-spacing: .055em; }
.contact { position: relative; isolation: isolate; overflow: hidden; background: var(--olive-tint); border-block: 1px solid var(--line); }
.contact::after { content: ""; position: absolute; z-index: -1; right: -42px; bottom: -87px; width: 230px; height: 165px; border-radius: 45% 55% 64% 36% / 58% 35% 65% 42%; background: var(--mustard); opacity: .28; transform: rotate(-16deg); pointer-events: none; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .55fr); align-items: center; gap: 23px 48px; }
.contact .section-title { margin: 9px 0 13px; }
.contact-grid .contact-actions { flex-direction: column; align-items: start; margin: 0; }
.footer { padding-block: 24px; font-size: .9rem; }
.footer-top, .footer-top > div { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.footer-top { justify-content: space-between; }
.footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.social-links { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-top: 18px; padding: 0; list-style: none; }
.social-links a { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--heading); }
.social-links a:hover { background: var(--olive-tint); }
.social-icon { flex: none; width: 17px; height: 17px; fill: currentColor; }
.footer-bottom { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }

@media (max-width: 850px) {
  [id] { scroll-margin-top: 145px; }
  .header-inner { min-height: 0; flex-wrap: wrap; gap: 9px 18px; padding-block: 11px; }
  .main-nav { order: 3; width: 100%; justify-content: start; }
}

@media (max-width: 700px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.6rem, 9vw, 4.2rem); }
  .hero-media { justify-self: start; max-width: 365px; }
  .proof-grid { grid-template-columns: 1fr 1.6fr; gap: 12px; padding-block: 15px; }
  .proof-grid > :last-child { grid-column: 1/-1; grid-template-columns: auto auto; justify-content: start; align-items: center; gap: 11px; border: 0; padding: 0; }
  .service-grid, .property-grid, .review-list { grid-template-columns: 1fr; gap: 11px; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid .contact-actions { flex-direction: row; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.main-nav a[aria-current="page"] { color: var(--brick); text-decoration: underline; text-underline-offset: .24em; }
.home-hero { padding-block: clamp(28px, 4vw, 58px); }
.project-choices { display: grid; gap: 9px; list-style: none; padding: 0; margin-top: 22px; }
.project-choices a { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--heading); transition: background .18s, border-color .18s; }
.project-choices li:first-child a { border-color: var(--brick); color: var(--brick-deep); background: var(--blush); }
.project-choices a:hover { border-color: var(--heading); background: var(--olive-tint); }
.project-choices strong, .project-choices small { display: block; }
.project-choices strong { font-size: clamp(1rem, 2vw, 1.16rem); line-height: 1.25; }
.project-choices small { margin-top: 3px; color: var(--muted); font-size: .88rem; line-height: 1.3; }
.page-intro > .wrap { padding-block: clamp(34px, 6vw, 72px); }
.sale-media .about-reels { padding: 0; margin: 0; border: 0; background: none; }
.sale-media .body-copy { margin-top: 12px; }
.purchase-search { padding-block: clamp(24px, 4vw, 44px); }
.purchase-search .buyer-search { margin-top: 0; }

@media (max-width: 700px) {
  .home-hero { gap: 24px; }
  .home-hero h1 { margin-block: 9px 13px; }
  .project-choices { margin-top: 16px; }
}

.home-hero .portrait-trace {
  display: none; position: absolute; top: 4px; left: 4px; width: calc(100% - 8px);
  height: auto; overflow: visible; z-index: 1; pointer-events: none;
}
.home-hero .portrait-trace path {
  fill: none; stroke: var(--mustard); stroke-width: 6px; stroke-linecap: round;
  vector-effect: non-scaling-stroke; stroke-dasharray: 100; stroke-dashoffset: 100;
}
@media (prefers-reduced-motion: no-preference) {
  .home-hero .portrait-trace { display: block; }
  .home-hero .portrait-trace path { animation: fill-portrait-frame 1.85s ease-in-out both; }
  .home-hero .hero-media::before {
    transform-origin: 65% 82%;
    animation: settle-portrait-blob 1.85s ease-out both;
  }
  @keyframes fill-portrait-frame {
    0% { stroke-dashoffset: 100; opacity: .8; }
    72% { stroke-dashoffset: 0; opacity: .8; }
    100% { stroke-dashoffset: 0; opacity: 0; }
  }
  @keyframes settle-portrait-blob {
    0%, 65% { opacity: 0; transform: rotate(-11deg) scale(.08); }
    100% { opacity: .55; transform: rotate(-11deg) scale(1); }
  }
}
.home-projects {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .84fr);
  gap: clamp(10px, 1.6vw, 20px); margin: 0 auto; padding: 0 0 clamp(28px, 4vw, 54px);
}
.home-projects li { display: flex; min-width: 0; }
.home-projects a {
  width: 100%; min-height: 142px; gap: 12px; padding: clamp(16px, 2vw, 26px);
  border-radius: 18px; align-items: center; border-color: #d2d1a9;
}
.home-projects li:nth-child(2) a { background: var(--olive-tint); border-color: #c7c9a4; }
.home-projects li:last-child a { background: var(--paper); border-color: var(--line); }
.home-projects li a:hover { border-color: var(--heading); background: var(--white); }
.home-projects strong { font-size: clamp(1.15rem, 2.2vw, 1.8rem); letter-spacing: -.045em; }
.home-projects small { font-size: .89rem; margin-top: 8px; }
.home-projects .arrow {
  display: grid; place-items: center; flex: 0 0 36px; height: 36px;
  border: 1px solid currentColor; border-radius: 50%; font-size: 1.05rem;
}
.home-video { background: var(--paper); }
.home-video-inner {
  display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: clamp(24px, 4.2vw, 58px); align-items: center;
}
.home-video-copy .body-copy { margin-top: 16px; max-width: 40ch; }
.home-video .reel-grid {
  grid-template-columns: minmax(0, 1.65fr) repeat(2, minmax(0, 1fr)); margin: 0; max-width: none;
  gap: clamp(8px, 1.6vw, 16px); align-items: start;
}
.home-video .reel-grid li:not(:first-child) { margin-top: clamp(14px, 5vw, 54px); }
.home-video .reel-cover video { aspect-ratio: 9 / 14; }
.home-video .reel-cover img { aspect-ratio: 3 / 4; }
@media (max-width: 850px) {
  .home-video-inner { grid-template-columns: 1fr; }
  .home-video .reel-grid { max-width: 630px; }
}
@media (max-width: 700px) {
  .home-projects { grid-template-columns: 1fr; }
  .home-projects a { min-height: 89px; }
  .home-projects strong { font-size: 1.25rem; }
  .home-hero .hero-media::before { right: -14px; }
}

.home-immodvisor .review-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
.home-immodvisor .review-card h3 { margin: 0 0 10px; }
.home-immodvisor .review-card time { display: block; margin-top: 10px; font-size: .8rem; color: var(--muted); }
@media (max-width: 700px) { .home-immodvisor .review-list { grid-template-columns: 1fr; } }
