:root {
  color-scheme: light;
  --paper: #fcf7ed;
  --tint: #f4e6d6;
  --line: #dcc6b1;
  --brand: #99452b;
  --accent: #eed1ad;
  --brand-deep: #643421;
  --ink: #312722;
  --muted: #655146;
  --surface: #fffcf6;
  --serif: Georgia, 'Times New Roman', serif;
  --page-gutter: clamp(1rem, 2.5vw, 1.5rem);
  --section-space: clamp(3rem, 7vw, 6rem);
  --control-radius: .25rem;
  --sans: 'Segoe UI', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--sans); }
img { display: block; width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.07; }
h1 { font-size: clamp(2.55rem, 6.25vw, 5.65rem); letter-spacing: -.045em; text-wrap: balance; }
h2 { font-size: clamp(2.15rem, 4.25vw, 3.65rem); letter-spacing: -.035em; text-wrap: balance; }
h3 { font-size: 1.52rem; }
p + p { margin-top: .8rem; }
a { color: inherit; text-underline-offset: .25em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
.on-dark :focus-visible { outline-color: var(--surface); }
[hidden] { display: none !important; }
.wrap { width: min(100% - 2 * var(--page-gutter), 74rem); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: 1rem; z-index: 2; background: var(--surface); padding: .7rem 1rem; transform: translateY(-200%); }
.skip:focus { transform: none; }
.on-dark { background: var(--brand); color: var(--surface); }
.header { background: var(--surface); border-bottom: 1px solid var(--line); color: var(--brand-deep); }
.header-inner { min-height: 5.3rem; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding-block: .7rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand-mark { border: 1px solid var(--brand); width: 2.7rem; height: 2.7rem; display: grid; place-items: center; font: 1.15rem var(--serif); letter-spacing: -.06em; flex-shrink: 0; }
.brand-name { display: grid; line-height: 1.25; font-family: var(--serif); font-size: 1.13rem; }
.brand-name small { font: .73rem var(--sans); color: var(--muted); }
.nav, .actions { display: flex; align-items: center; gap: .9rem 1.3rem; flex-wrap: wrap; }
.nav a { font-size: .88rem; font-weight: 600; text-decoration: none; }
.nav a:hover, .nav [aria-current] { text-decoration: underline; text-decoration-color: var(--brand); }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 2.85rem; padding: .65rem 1.12rem; background: var(--brand); color: var(--surface); border: 1px solid var(--brand); border-radius: var(--control-radius); text-decoration: none; font-size: .88rem; line-height: 1.35; font-weight: 650; }
.button:hover { background: var(--brand-deep); border-color: var(--brand-deep); }
.button.secondary { color: var(--brand); background: transparent; }
.button.secondary:hover { background: var(--tint); }
.button.light { color: var(--brand-deep); background: var(--paper); border-color: var(--paper); }
.button.light:hover { background: var(--tint); border-color: var(--tint); }
.eyebrow { font-size: .76rem; font-weight: 650; letter-spacing: .13em; text-transform: uppercase; }
.on-dark .eyebrow { color: var(--accent); }
.cover, .portfolio-hero { background: var(--tint); }
.cover h1, .portfolio-hero h1, .cover .eyebrow, .portfolio-hero .eyebrow { color: var(--brand); }
.cover { position: relative; isolation: isolate; }
.cover-image { position: absolute; inset: 0; z-index: -2; height: 100%; object-fit: cover; object-position: center 47%; animation: cover-enter .65s ease-out both; }
.cover-inner { min-height: clamp(34rem, 72vh, 46rem); display: flex; flex-direction: column; align-items: start; justify-content: center; padding-block: 4rem; gap: 1.25rem; }
.cover h1 { max-width: 12ch; text-wrap: initial; }
.cover p:not(.eyebrow) { max-width: 36ch; font-size: clamp(1rem, 2vw, 1.18rem); }
.cover-caption {
  padding-block: .65rem .2rem;
  color: var(--brand-deep);
  font: clamp(1.15rem, 2.25vw, 1.75rem)/1.25 var(--serif);
  text-align: center;
  text-wrap: balance;
}
.cover-caption + .about { padding-block-start: clamp(1.1rem, 3vw, 2.35rem); }
.section { padding-block: var(--section-space); }
.about { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1fr); align-items: center; gap: clamp(1.8rem, 6vw, 6rem); }
.about-photo img { max-height: 35rem; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 32%; }
.about-copy { display: grid; gap: 1.15rem; justify-items: start; }
.about-copy > p:not(.eyebrow) { max-width: 51ch; }
.vgv { border-block: 1px solid var(--line); width: 100%; padding: .85rem 0 1rem; }
.vgv strong { display: block; color: var(--brand); font: clamp(1.6rem, 4vw, 2.55rem)/1.12 var(--serif); }
.vgv small { color: var(--muted); }
.tinted { background: var(--tint); }
.section-title { display: grid; gap: .75rem; margin-bottom: 1.7rem; }
.section-title p { max-width: 62ch; }
.about h2, .section-title h2, .steps h3, .preview-grid strong, .group-head, .card h3 { color: var(--brand); }
.on-dark .section-title h2 { color: inherit; }
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.45rem; }
.steps li { padding-block: 1.1rem .25rem; border-top: 1px solid var(--accent); }
.steps p { margin-top: .52rem; }
.journey-close { margin-top: 1.4rem; }
.preview-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-block: 1.6rem; border-block: 1px solid var(--line); }
.preview-grid a { display: grid; gap: .25rem; padding: 1.1rem 1rem; text-decoration: none; }
.preview-grid a:first-child { padding-left: 0; }
.preview-grid a + a { border-left: 1px solid var(--line); }
.preview-grid a:hover strong { text-decoration: underline; }
.preview-grid strong { font: 1.42rem var(--serif); }
.preview-grid span { font-size: .85rem; color: var(--muted); }
.market { border-top: 1px solid var(--line); }
.market .section-title { margin: 0; }
.contact .section-title { margin-bottom: 0; }
.contact-options { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; }
.whatsapp-qr { display: inline-grid; justify-items: center; gap: .45rem; font-size: .78rem; line-height: 1.25; text-align: center; }
.whatsapp-qr img { width: 144px; height: 144px; border-radius: .25rem; }
.footer .whatsapp-qr img { width: 112px; height: 112px; }
.contact-grid { display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.footer { background: var(--brand-deep); color: var(--surface); font-size: .83rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: .85rem 1.5rem; flex-wrap: wrap; padding-block: 1.55rem; }
.photo-credit { padding-block: .75rem 1.15rem; border-top: 1px solid var(--accent); font-size: .78rem; }
.photo-credit summary { width: fit-content; cursor: pointer; }
.photo-credit p { margin-top: .35rem; }
.portfolio-hero { padding-block: clamp(2.65rem, 6vw, 5rem); }
.portfolio-hero p { max-width: 58ch; }
.portfolio-hero p + p { margin-top: .65rem; }
.portfolio-hero h1 { margin-block: .6rem .85rem; }
.portfolio-contact { margin-top: 1.15rem; }
.portfolio-contact a { overflow-wrap: anywhere; }
.portfolio { padding-block: 1.65rem 4rem; }
.studio-intro { padding-bottom: clamp(1.5rem, 4vw, 2.75rem); }
.tools { display: flex; align-items: end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-bottom: 1.15rem; border-bottom: 1px solid var(--line); }
.jump { display: flex; flex-wrap: wrap; gap: .5rem 1.15rem; font-size: .9rem; font-weight: 600; }
.filters { display: flex; gap: .7rem; flex-wrap: wrap; margin: 0; }
.filters label { display: grid; gap: .12rem; font-size: .82rem; font-weight: 600; }
.filters input, .filters select { width: 100%; border: 1px solid var(--brand); background: var(--surface); color: var(--ink); padding: .58rem .64rem; border-radius: var(--control-radius); font: inherit; min-height: 2.55rem; }
.filter-status { margin-top: .65rem; color: var(--muted); font-size: .85rem; }
.group { margin-top: clamp(2rem, 5vw, 3.5rem); }
.group-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .4rem .8rem; margin-bottom: 1rem; }
.group-head a { font-size: .87rem; }
.listings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.card { --card-padding: clamp(.95rem, 2.3vw, 1.5rem); display: flex; flex-direction: column; align-items: start; gap: .7rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--control-radius); padding: var(--card-padding); min-width: 0; }
.card-image { width: calc(100% + 2 * var(--card-padding)); max-width: none; margin: calc(-1 * var(--card-padding)) calc(-1 * var(--card-padding)) .35rem; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--control-radius) var(--control-radius) 0 0; background: var(--tint); }
.card h3 { overflow-wrap: anywhere; }
.location, .reference { font-size: .79rem; color: var(--muted); }
.card .spec { font-size: .89rem; }
.property-details { display: grid; gap: .5rem; margin: 0; font-size: .85rem; }
.property-details dt { font-weight: 700; }
.property-phase { display: inline-block; background: var(--tint); color: var(--ink); padding: .2rem .5rem; border-radius: var(--control-radius); font-weight: 700; }
.property-phase.ready { background: var(--surface); border: 1px solid var(--accent); }
.property-details dd { margin: .12rem 0 0; }
.pricing { padding-top: .6rem; width: 100%; border-top: 1px solid var(--line); }
.pricing strong, .pricing small { display: block; }
.pricing strong { color: var(--brand); }
.pricing small { font-size: .76rem; }
.card .actions { gap: .55rem 1rem; font-size: .82rem; margin-top: auto; }
.card .button { min-height: 2.55rem; font-size: .79rem; }
.note { padding-top: 1rem; border-top: 1px solid var(--line); margin-top: .9rem; font-size: .84rem; color: var(--muted); }
@keyframes cover-enter { from { opacity: .72; } to { opacity: 1; } }
@media (min-width: 881px) {
  .cover-image, .cover-caption { width: 58%; }
  .cover-image { inset-inline-start: auto; }
  .cover-caption { margin-inline: auto 0; padding-inline: var(--page-gutter); }
  .cover-inner { width: 42%; margin-inline: 0; padding-inline: clamp(var(--page-gutter), 6vw, 8rem) clamp(1rem, 3vw, 3rem); }
  .cover h1 { font-size: clamp(2.75rem, 5vw, 5.2rem); }
}
@media (max-width: 880px) {
  .cover { display: flex; flex-direction: column; }
  .cover-image { position: relative; inset: auto; z-index: 0; order: 1; height: clamp(14rem, 52vw, 26rem); }
  .cover-inner { min-height: auto; padding-block: clamp(2.35rem, 6vw, 4rem); }
  .listings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .header-inner { display: grid; gap: .65rem; }
  .nav { gap: .4rem 1.1rem; }
  .nav a { padding-block: .25rem; }
  .about, .steps { grid-template-columns: 1fr; }
  .about-photo { max-width: 24rem; }
  .about-photo img { aspect-ratio: 1/1; }
  .preview-grid { grid-template-columns: 1fr; }
  .preview-grid a { padding-left: 0; }
  .preview-grid a + a { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .listings { grid-template-columns: 1fr; }
  .filters, .filters label:first-child { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .cover-image { animation: none; } }
