:root {
  --ink: #18373b;
  --ink-dark: #10282b;
  --paper: #f3eee4;
  --paper-light: #fbf8f1;
  --terracotta: #bd674e;
  --gold: #be9d64;
  --sage: #8b9680;
  --line: #cfc8ba;
  --muted: #667174;
  --display: "Italiana", Georgia, serif;
  --body: "Manrope", sans-serif;
  --max: 1360px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.7 var(--body); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 200; top: 8px; left: 8px; padding: 10px 16px; background: white; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 4px; }
.demo-note { position: fixed; z-index: 110; top: 0; left: 50%; padding: 6px 14px; transform: translateX(-50%); background: var(--terracotta); color: white; font-size: 8px; letter-spacing: .16em; text-transform: uppercase; }

.site-header { position: fixed; z-index: 100; top: 0; left: 0; width: 100%; min-height: 96px; padding: 8px max(24px, calc((100vw - var(--max)) / 2)) 0; display: flex; align-items: center; justify-content: space-between; gap: 35px; color: white; border-bottom: 1px solid rgba(255,255,255,.22); transition: background .3s, color .3s, min-height .3s; }
.site-header.scrolled { min-height: 76px; color: var(--ink); background: rgba(243,238,228,.96); border-color: var(--line); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 13px; white-space: nowrap; }
.brand svg { width: 43px; height: 43px; fill: none; stroke: var(--gold); stroke-width: 1.5; }
.brand span { display: flex; flex-direction: column; line-height: 1.05; }
.brand strong { font: 20px var(--display); letter-spacing: .03em; }
.brand small { margin-top: 6px; font-size: 7px; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.language-switch { display: flex; gap: 4px; margin-left: auto; padding: 3px; border: 1px solid currentColor; font-size: 8px; font-weight: 600; letter-spacing: .1em; }
.language-switch a { display: grid; place-items: center; width: 27px; height: 24px; opacity: .55; }
.language-switch a.active { color: var(--ink); background: var(--paper-light); opacity: 1; }
.site-header.scrolled .language-switch a.active { color: white; background: var(--ink); }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 2.5vw, 38px); font-size: 11px; font-weight: 600; }
.main-nav a { position: relative; }
.main-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; bottom: -7px; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .25s; }
.main-nav a:hover::after { transform: scaleX(1); }
.nav-cta { padding: 15px 20px; color: var(--ink-dark); background: var(--paper-light); }
.site-header.scrolled .nav-cta { color: white; background: var(--ink); }
.nav-cta span, .button span { display: inline-block; margin-left: 14px; transition: transform .25s; }
.nav-cta:hover span, .button:hover span { transform: translate(3px,-3px); }
.menu-toggle { display: none; width: 45px; height: 45px; padding: 12px 8px; border: 0; background: transparent; }
.menu-toggle > span:not(.sr-only) { display: block; width: 27px; height: 1px; margin: 7px 0 7px auto; background: currentColor; transition: transform .25s; }

.hero { position: relative; height: min(960px, 100svh); min-height: 760px; display: flex; align-items: flex-end; padding: 170px max(24px, calc((100vw - var(--max)) / 2)) 82px; color: white; overflow: hidden; background: var(--ink-dark); }
.hero-image { position: absolute; inset: 0; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 47%; filter: brightness(.9) saturate(.88); animation: heroScale 1.4s ease-out both; }
@keyframes heroScale { from { transform: scale(1.04); opacity: .6; } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,36,39,.78) 0%, rgba(12,36,39,.42) 46%, rgba(12,36,39,.04) 82%), linear-gradient(0deg, rgba(8,29,31,.5), transparent 58%); }
.hero-content { position: relative; z-index: 2; width: 100%; max-width: 850px; padding-bottom: 60px; }
.overline, .eyebrow { margin: 0 0 25px; font-size: 9px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.overline { color: rgba(255,255,255,.68); }
.eyebrow { color: var(--terracotta); }
.eyebrow.light { color: #d6c4a6; }
h1, h2 { margin: 0; font-family: var(--display); font-weight: 400; letter-spacing: -.025em; line-height: .98; }
h1 { font-size: clamp(62px, 7vw, 112px); }
h1 em, h2 em { color: #e3b98e; font-weight: 400; }
.hero-content > p:not(.overline) { max-width: 580px; margin: 30px 0 0; color: rgba(255,255,255,.76); font-size: 17px; }
.hero-actions { display: flex; align-items: center; gap: 32px; margin-top: 38px; }
.button { min-height: 56px; padding: 0 24px; border: 0; display: inline-flex; align-items: center; justify-content: space-between; font-size: 11px; font-weight: 600; cursor: pointer; }
.button-light { color: var(--ink); background: var(--paper-light); }
.button-dark { color: white; background: var(--ink); }
.button-outline { color: white; border: 1px solid rgba(255,255,255,.34); }
.button:hover { filter: brightness(1.05); }
.text-link { padding-bottom: 3px; border-bottom: 1px solid rgba(255,255,255,.6); font-size: 11px; font-weight: 600; }
.text-link span { margin-left: 12px; }
.hero-facts { position: absolute; z-index: 2; right: max(24px, calc((100vw - var(--max)) / 2)); bottom: 82px; width: 270px; border-top: 1px solid rgba(255,255,255,.4); }
.hero-facts div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.22); }
.hero-facts small { color: rgba(255,255,255,.55); font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }
.hero-facts strong { font: 15px var(--display); }
.hero-index { position: absolute; z-index: 2; right: 22px; top: 50%; font-size: 8px; letter-spacing: .2em; writing-mode: vertical-rl; }

.section { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; padding-block: clamp(90px, 10vw, 150px); }
.manifesto-title h2, .residences h2, .interiors h2, .location h2, .contact h2, .faq h2 { font-size: clamp(50px, 6vw, 88px); }
.manifesto-title { max-width: 1100px; }
.manifesto-title h2 em { color: var(--terracotta); }
.manifesto-grid { display: grid; grid-template-columns: .72fr 1fr .56fr; gap: 22px; align-items: start; margin-top: 80px; }
.manifesto-copy { padding: 20px 8vw 0 0; }
.manifesto-copy .lead { font: 27px/1.35 var(--display); color: var(--ink); }
.manifesto-copy > p:not(.lead) { color: var(--muted); }
.manifesto-copy dl { display: grid; grid-template-columns: repeat(3, 1fr); margin: 45px 0 0; border-top: 1px solid var(--line); }
.manifesto-copy dl div { padding: 18px 12px 0 0; }
.manifesto-copy dt { font: 30px var(--display); }
.manifesto-copy dd { margin: 2px 0 0; color: var(--muted); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.manifesto figure { margin: 0; }
.building-detail img { width: 100%; height: 690px; object-fit: cover; }
.building-arch { margin-top: 180px !important; }
.building-arch img { width: 100%; height: 410px; object-fit: cover; }
figcaption, .gallery-item span, .location-photo > span { display: block; margin-top: 10px; color: var(--muted); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }

.residences { padding: 1px 0; color: white; background: var(--ink); }
.residences-heading { padding-bottom: 80px; }
.split-heading { display: grid; grid-template-columns: 1.2fr .55fr; gap: 10vw; align-items: end; }
.split-heading > p { margin: 0 0 7px; color: rgba(255,255,255,.58); }
.typology-showcase { border-top: 1px solid rgba(255,255,255,.18); }
.typology { min-height: 410px; display: grid; grid-template-columns: 120px 1.1fr .9fr; gap: 5vw; align-items: center; padding: 55px max(24px, calc((100vw - var(--max)) / 2)); border-bottom: 1px solid rgba(255,255,255,.18); transition: background .3s; }
.typology:hover { background: rgba(255,255,255,.035); }
.type-label { align-self: start; font: 52px var(--display); color: #e3b98e; }
.plan { position: relative; height: 280px; border: 1px solid rgba(255,255,255,.4); }
.room { position: absolute; display: grid; place-content: center; border-right: 1px solid rgba(255,255,255,.35); border-bottom: 1px solid rgba(255,255,255,.35); color: rgba(255,255,255,.55); font-size: 8px; letter-spacing: .1em; text-align: center; text-transform: uppercase; }
.room.living { inset: 0 40% 35% 0; }
.room.bedroom { inset: 0 0 50% 60%; border-right: 0; }
.room.bedroom.two { inset: 50% 0 0 60%; border-bottom: 0; }
.room.bedroom.three { inset: 50% 22% 0 60%; border-right: 1px solid rgba(255,255,255,.35); border-bottom: 0; }
.room.kitchen { inset: 65% 40% 0 0; border-bottom: 0; }
.room.bath { inset: 50% 0 0 60%; border: 0; }
.plan-t1 .bedroom { inset: 0 0 55% 60%; }
.plan-t1 .bath { inset: 55% 0 0 75%; }
.plan-t1 .kitchen { right: 25%; }
.plan-t3 .bedroom { inset: 0 0 38% 65%; }
.plan-t3 .bedroom.two { inset: 38% 0 0 78%; }
.plan-t3 .bedroom.three { inset: 38% 22% 0 65%; }
.type-copy h3 { margin: 0 0 15px; font: 36px var(--display); }
.type-copy p { max-width: 430px; color: rgba(255,255,255,.58); }
.type-copy a { display: inline-block; margin-top: 12px; padding-bottom: 3px; border-bottom: 1px solid; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.availability { padding-top: 130px; }
.availability-head { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; margin-bottom: 55px; }
.filters { display: flex; gap: 7px; }
.filters button { padding: 9px 15px; border: 1px solid rgba(255,255,255,.25); background: transparent; color: rgba(255,255,255,.7); font-size: 9px; cursor: pointer; }
.filters button.active, .filters button:hover { color: var(--ink); background: #e3b98e; border-color: #e3b98e; }
.unit-table { border-top: 1px solid rgba(255,255,255,.3); }
.unit-row { display: grid; grid-template-columns: .6fr .6fr .7fr .8fr 1.2fr 1.1fr 1fr; gap: 16px; align-items: center; min-height: 82px; border-bottom: 1px solid rgba(255,255,255,.18); }
.unit-row[hidden] { display: none; }
.unit-row strong { font: 25px var(--display); }
.unit-row > span { color: rgba(255,255,255,.65); font-size: 11px; }
.unit-row > a { justify-self: end; font-size: 9px; font-weight: 600; text-transform: uppercase; }
.unit-header { min-height: 45px; }
.unit-header > span { font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.status { display: inline-flex; align-items: center; gap: 7px; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status.available { color: #b4cfa6; }
.status.consult { color: #e3b98e; }
.status.reserved { color: #b6b6b6; }
.availability-note { margin-top: 18px; color: rgba(255,255,255,.4); font-size: 8px; letter-spacing: .08em; }

.interiors-heading { display: grid; grid-template-columns: 1fr 1.6fr .65fr; gap: 5vw; align-items: end; margin-bottom: 70px; }
.interiors-heading .eyebrow { align-self: start; }
.interiors-heading > p:last-child { margin: 0 0 8px; color: var(--muted); }
.gallery-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 12px; }
.gallery-item { position: relative; min-height: 560px; padding: 0; border: 0; background: transparent; text-align: left; cursor: zoom-in; overflow: hidden; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s; }
.gallery-item:hover img { transform: scale(1.025); }
.gallery-item span { position: absolute; left: 18px; bottom: 18px; margin: 0; padding: 7px 9px; color: white; background: rgba(16,40,43,.75); }
.materials { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 45px; border-top: 1px solid var(--line); }
.materials span { padding: 18px 12px; border-right: 1px solid var(--line); color: var(--muted); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }

.location { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 800px; background: var(--terracotta); color: white; }
.location-photo { position: relative; min-height: 600px; }
.location-photo img { width: 100%; height: 100%; object-fit: cover; }
.location-photo > span { position: absolute; left: 18px; bottom: 16px; margin: 0; padding: 6px 8px; color: white; background: rgba(16,40,43,.72); }
.location-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(55px, 7vw, 110px); }
.location-copy > p:not(.eyebrow) { color: rgba(255,255,255,.75); }
.location-copy ul { margin: 32px 0 12px; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.3); }
.location-copy li { display: flex; gap: 25px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.25); }
.location-copy li span { width: 62px; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.location-copy small { color: rgba(255,255,255,.55); font-size: 8px; }
.location-copy .button { align-self: flex-start; margin-top: 32px; }

.contact { display: grid; grid-template-columns: .72fr 1.28fr; gap: 9vw; }
.contact-intro > p:not(.eyebrow) { max-width: 460px; color: var(--muted); }
.contact-direct { margin-top: 45px; border-top: 1px solid var(--line); }
.contact-direct a { display: flex; flex-direction: column; padding: 15px 0; border-bottom: 1px solid var(--line); }
.contact-direct small { color: var(--terracotta); font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }
.contact-direct strong { font: 19px var(--display); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 18px; padding: clamp(28px, 4vw, 50px); background: var(--paper-light); border: 1px solid var(--line); }
.field.full, .full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 7px; font-size: 8px; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; }
.field input, .field select, .field textarea { width: 100%; padding: 11px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; outline: 0; color: var(--ink); background: transparent; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--terracotta); }
.field input[readonly] { color: var(--terracotta); }
.field.invalid input { border-color: #b02f25; }
.error { display: none; color: #a22a21; font-size: 9px; }
.field.invalid .error { display: block; }
.consent { display: flex; gap: 9px; color: var(--muted); font-size: 9px; }
.consent input { accent-color: var(--terracotta); }
.consent a { text-decoration: underline; }
.form-success { display: none; padding: 18px; border-left: 3px solid var(--sage); background: #e3eadf; }
.form-success.show { display: flex; flex-direction: column; }
.form-success strong { font: 20px var(--display); }
.form-success span { font-size: 11px; }

.faq { display: grid; grid-template-columns: .6fr 1.4fr; gap: 9vw; border-top: 1px solid var(--line); }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; list-style: none; cursor: pointer; font: 21px var(--display); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary span { color: var(--terracotta); font: 25px var(--body); transition: transform .2s; }
.accordion details[open] summary span { transform: rotate(45deg); }
.accordion details p { max-width: 650px; margin: -3px 40px 28px 0; color: var(--muted); }

.site-footer { padding: 70px max(24px, calc((100vw - var(--max)) / 2)) 25px; color: white; background: var(--ink-dark); }
.footer-main { display: grid; grid-template-columns: 1.1fr .7fr 1fr auto; gap: 45px; align-items: center; padding-bottom: 50px; }
.footer-main > p, .footer-main > div { color: rgba(255,255,255,.58); font-size: 11px; }
.footer-main > div { display: flex; flex-direction: column; }
.footer-legal { display: flex; gap: 30px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.38); font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.footer-legal span:last-child { margin-left: auto; }
.whatsapp { position: fixed; z-index: 80; right: 22px; bottom: 22px; width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; color: white; background: #20c66b; box-shadow: 0 12px 35px rgba(10,65,36,.32); transition: transform .25s; }
.whatsapp:hover { transform: translateY(-4px); }
.whatsapp svg { width: 33px; fill: currentColor; }

.gallery-modal { position: fixed; z-index: 300; inset: 0; padding: 70px; background: rgba(8,24,26,.96); color: white; }
.gallery-modal:not([hidden]) { display: grid; place-items: center; }
.gallery-modal img { width: min(1100px, 80vw); height: min(720px, 75vh); object-fit: contain; }
.gallery-modal p { margin: 12px 0 0; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.modal-close, .modal-prev, .modal-next { position: absolute; border: 0; color: white; background: transparent; cursor: pointer; }
.modal-close { top: 24px; right: 30px; font-size: 40px; }
.modal-prev, .modal-next { top: 50%; font-size: 28px; }
.modal-prev { left: 25px; }
.modal-next { right: 25px; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  .main-nav { gap: 17px; }
  .main-nav > a:nth-child(3), .main-nav > a:nth-child(4) { display: none; }
  .manifesto-grid { grid-template-columns: .8fr 1.2fr; }
  .building-arch { display: none; }
  .typology { grid-template-columns: 80px 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1.2fr .8fr; }
  .gallery-item:last-child { grid-column: 1 / -1; min-height: 440px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .demo-note { font-size: 7px; }
  .site-header { min-height: 76px; padding: 8px 20px 0; }
  .brand svg { width: 36px; }
  .brand strong { font-size: 17px; }
  .brand small { font-size: 6px; }
  .language-switch { margin-left: auto; }
  .menu-toggle { display: block; margin-left: 6px; }
  .menu-toggle[aria-expanded="true"] > span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .main-nav { position: fixed; top: 76px; right: 0; width: min(88vw, 390px); height: calc(100svh - 76px); padding: 40px 28px; display: flex; flex-direction: column; align-items: stretch; gap: 0; color: var(--ink); background: var(--paper); box-shadow: -20px 20px 55px rgba(0,0,0,.2); transform: translateX(105%); transition: transform .3s; }
  .main-nav.open { transform: none; }
  .main-nav > a, .main-nav > a:nth-child(3), .main-nav > a:nth-child(4) { display: block; padding: 17px 0; border-bottom: 1px solid var(--line); font: 26px var(--display); }
  .main-nav .nav-cta { margin-top: 28px; padding: 18px; border: 0; color: white; background: var(--ink); font: 11px var(--body); }
  .hero { min-height: 860px; height: 100svh; padding: 140px 20px 30px; }
  .hero-shade { background: linear-gradient(0deg, rgba(12,36,39,.94), rgba(12,36,39,.28) 90%); }
  .hero-content { padding-bottom: 155px; }
  h1 { font-size: clamp(55px, 15.5vw, 75px); }
  .hero-content > p:not(.overline) { font-size: 14px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 20px; }
  .hero-actions .button { width: 100%; }
  .text-link { align-self: flex-start; }
  .hero-facts { right: 20px; left: 20px; bottom: 82px; width: auto; display: grid; grid-template-columns: .9fr 1.05fr 1.15fr; border-top: 1px solid rgba(255,255,255,.35); }
  .hero-facts div { display: flex; flex-direction: column; gap: 3px; padding-right: 8px; border-right: 1px solid rgba(255,255,255,.2); }
  .hero-facts small { font-size: 6px; }
  .hero-facts strong { font-size: 12px; }
  .hero-index { display: none; }
  .section { width: calc(100% - 40px); padding-block: 85px; }
  .manifesto-title h2, .residences h2, .interiors h2, .location h2, .contact h2, .faq h2 { font-size: 48px; }
  .manifesto-grid { grid-template-columns: 1fr; margin-top: 50px; }
  .manifesto-copy { padding: 0; }
  .building-detail img { height: 520px; }
  .split-heading { grid-template-columns: 1fr; gap: 28px; }
  .typology { grid-template-columns: 1fr; gap: 25px; padding: 50px 20px; }
  .type-label { font-size: 38px; }
  .plan { height: 230px; }
  .availability-head { grid-template-columns: 1fr; }
  .unit-header { display: none; }
  .unit-row { grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 20px 0; }
  .unit-row strong { font-size: 25px; }
  .unit-row > span, .unit-row > a { justify-self: start; font-size: 9px; }
  .unit-row > a { grid-column: 1 / -1; margin-top: 8px; }
  .interiors-heading { grid-template-columns: 1fr; gap: 22px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item, .gallery-item:last-child { grid-column: auto; min-height: 470px; }
  .materials { grid-template-columns: 1fr 1fr; }
  .location { grid-template-columns: 1fr; }
  .location-photo { min-height: 520px; }
  .location-copy { padding: 75px 20px; }
  .contact { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; padding: 28px 20px; }
  .field.full, .full { grid-column: auto; }
  .faq { grid-template-columns: 1fr; }
  .accordion summary { font-size: 19px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-legal { flex-wrap: wrap; gap: 12px 20px; }
  .footer-legal span:last-child { width: 100%; margin: 10px 0 0; }
  .gallery-modal { padding: 60px 20px; }
  .gallery-modal img { width: 100%; height: 70vh; }
  .whatsapp { right: 16px; bottom: 16px; width: 56px; height: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
