/*
Theme Name: DDA — Мария Левенских
Version: 0.1.0
Text Domain: dda-maria
*/
@font-face{font-family:"Inter Tight";src:url("assets/InterTight.ttf") format("truetype");font-weight:100 900;font-display:swap}
@font-face{font-family:"Lora";src:url("assets/Lora.ttf") format("truetype");font-weight:400 700;font-display:swap}
:root{color-scheme:light;--paper:#f4f1e7;--white:#fcfaf4;--ink:#29271f;--olive:#30422b;--muted:#504b40;--sand:#ddc6a1;--line:#d5cbbc;--serif:"Lora","Inter Tight",serif;--sans:"Inter Tight","Lora",sans-serif}
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font:400 1rem/1.55 var(--sans)}
img{display:block;width:100%;object-fit:cover}
a{color:inherit;text-underline-offset:.28em}
a:hover{color:#754b31}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
:focus-visible{outline:2px solid #8f5c39;outline-offset:4px}
h1,h2,h3,p,figure{margin:0}
h1,h2,h3,.wordmark{font-family:var(--serif);font-weight:500;line-height:1.07}
h2{font-size:clamp(2.25rem,4.35vw,4.15rem);letter-spacing:-.055em}
h3{font-size:clamp(1.42rem,2vw,1.85rem);letter-spacing:-.035em}
p{color:var(--muted)}
section[id],#main,#projects{scroll-margin-top:6rem}
.wrap{width:min(1280px,calc(100% - 2 * clamp(20px,5.4vw,96px)));margin-inline:auto}
.skip{position:fixed;z-index:12;top:.5rem;left:.5rem;background:white;padding:.75rem;transform:translateY(-150%)}
.skip:focus{transform:none}
.header{
  position:sticky;top:0;z-index:10;
  background:linear-gradient(105deg,#303d2b,#25332a 65%,#202e25);
  color:#f9f2e5;border-bottom:1px solid #b59468;
  box-shadow:0 3px 14px #262c201a;
}
.header-inner{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:1.15rem}
.wordmark{font-size:1.25rem;text-decoration:none;white-space:nowrap}
.header .wordmark{letter-spacing:-.02em}
.header .wordmark:hover{color:#f3d6ac}
.header nav{display:flex;gap:clamp(.75rem,2.4vw,2.5rem)}
.header nav a{color:#f1ebdf;font-size:.94rem;text-decoration:none;white-space:nowrap;padding:.3rem 0;border-bottom:1px solid transparent}
.header nav a:hover,.header nav a[aria-current="location"]{border-bottom-color:#d4b487;color:#f3d6ac}
.header :focus-visible{outline-color:#f3d6ac}
.button{min-height:48px;display:inline-flex;align-items:center;justify-content:center;padding:.68rem 1.25rem;border:1px solid transparent;text-decoration:none;font-weight:620;text-align:center;border-radius:3px;transition:background-color .18s,color .18s}
.primary{color:white;background:var(--olive)}
.primary:hover{background:#253620;color:white}
.outline{border-color:#8b7d63;background:transparent;color:var(--olive)}
.outline:hover{background:#e8e2d4;color:var(--olive)}
.header .header-contact{background:#e8d4b4;border-color:#e8d4b4;color:#273326}
.header .header-contact:hover,.header .header-contact[aria-current="location"]{background:#f6e8d3;border-color:#f6e8d3}
.warm{background:var(--sand);color:var(--ink)}
.warm:hover{background:#ead8ba}
.overline{font-size:.875rem;text-transform:uppercase;letter-spacing:.115em;font-weight:650;color:#6f5039}
.hero-band{position:relative;isolation:isolate;overflow:hidden}
.hero-band::before{
  content:"";position:absolute;z-index:-1;inset:0 19% 0 0;pointer-events:none;
  background:linear-gradient(180deg,var(--paper),#f4f1e7c2 45%,#f4f1e739 77%,var(--paper)),
    linear-gradient(90deg,transparent 65%,var(--paper)),
    url("assets/dubai-palms.jpg") center 72% / cover no-repeat;
  opacity:.35;filter:saturate(.48)
}
.hero{display:grid;grid-template-columns:minmax(0,1.17fr) minmax(0,.83fr);gap:clamp(1.75rem,5vw,5rem);align-items:center;padding-block:clamp(2.7rem,5.4vw,5.5rem)}
.hero h1{font-size:clamp(2.38rem,6.8vw,6.2rem);letter-spacing:-.066em;line-height:.98;margin:1.05rem 0 1.3rem;color:var(--olive)}
.hero h1 span{display:block;color:#4a573e}
.hero-intro{font-size:clamp(1.075rem,1.55vw,1.35rem);max-width:36ch;margin-bottom:1.5rem}
.hero-actions{display:flex;flex-wrap:wrap;gap:.55rem .75rem}
.hero-image{position:relative;min-width:0;width:100%;max-width:490px;justify-self:end;aspect-ratio:1/1.08;margin-right:14px}
.hero-image::before{content:"";position:absolute;z-index:-1;inset:17px -14px -15px 17px;background:#e0dac9;border:1px solid #afa189}
.hero-image img{height:100%;object-position:center 45%;border:1px solid #9b8d73}
.about-band{position:relative;isolation:isolate;background:#26362a;color:var(--white)}
.about-band::before{
  content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;
  background:linear-gradient(90deg,#26362ab0 0%,#26362adb 43%,#26362a 72%),url("assets/dubai-waterfront.jpg") left 55% / cover no-repeat;
}
.about{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(1.4rem,5vw,5rem);align-items:center;padding-block:clamp(3.35rem,7vw,6.75rem)}
.about h2,.section h2,.contact h2{margin-top:.55rem}
.about-heading h2{max-width:15ch}
.about .overline,.about .broker-stats dt{color:#f0d5ad}
.about-copy{max-width:58ch;font-size:clamp(1.04rem,1.55vw,1.2rem)}
.about-copy p,.about .broker-stats dd{color:#eee9dc}
.about .broker-stats{margin-top:1.5rem;padding-top:1.15rem;border-color:#f0d5ad75}
.broker-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem;margin:1.1rem 0 .3rem;padding-top:.85rem;border-top:1px solid var(--line)}
.broker-stats dt{font:500 clamp(1.45rem,3vw,2.15rem)/1.1 var(--serif);color:var(--olive)}
.broker-stats dd{margin:.35rem 0 0;color:var(--muted);font-size:.92rem}
.section{padding-block:clamp(3.35rem,7vw,6.75rem)}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:1.2rem;margin-bottom:1.7rem}
.section-head>p{max-width:36ch}
.selection-band{background:#fcfaf4}
.catalog-filter{width:min(100%,17rem)}
label{display:grid;gap:.35rem;font-size:.94rem;font-weight:600}
select,input,textarea{width:100%;min-width:0;background:var(--white);padding:.65rem .75rem;border:1px solid #8d816d;border-radius:3px;color:var(--ink);font-weight:400}
select,input{min-height:46px}
select{appearance:none;padding-right:2.25rem;background-image:linear-gradient(45deg,transparent 50%,var(--olive) 50%),linear-gradient(135deg,var(--olive) 50%,transparent 50%);background-position:calc(100% - 16px) 52%,calc(100% - 11px) 52%;background-size:5px 5px;background-repeat:no-repeat}
textarea{resize:vertical}
.property-catalog{margin-top:1rem}
.property-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(.85rem,2vw,1.25rem)}
.property-grid article{display:flex;flex-direction:column;border:1px solid var(--line);border-top:2px solid #657058;background:var(--white);overflow:hidden;border-radius:4px}
.property-cover{aspect-ratio:16/10;background:#e5ddce}
.property-cover-sydney{object-position:center 2%}
.property-card-copy{padding:1rem 1.15rem 1.25rem;flex:1;display:flex;flex-direction:column;align-items:start;gap:.5rem}
.property-grid h3{font-size:clamp(1.25rem,2.1vw,1.65rem)}
.property-grid a{margin-top:auto;color:var(--olive);font-size:.95rem;font-weight:650}
#property-empty{margin-top:.5rem}
.offers-band{background:#eee8dc;border-bottom:1px solid #d8cebc}
.offers h2{color:var(--olive)}
.offer-features{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:clamp(.85rem,2vw,1.65rem)}
.offer-feature{
  position:relative;isolation:isolate;display:flex;align-items:end;min-width:0;min-height:clamp(300px,31vw,460px);overflow:hidden;
  padding:clamp(1.35rem,3vw,2.6rem);background:#3c4136;color:var(--white);text-decoration:none;
}
.offer-feature:hover{color:var(--white)}
.offer-feature img,.offer-feature::after{position:absolute;inset:0;width:100%;height:100%;z-index:-1}
.offer-feature img{transition:transform .5s cubic-bezier(.2,.65,.2,1)}
.offer-feature::after{content:"";background:linear-gradient(180deg,transparent 23%,#161e18a0 69%,#161e18f2)}
.offer-feature:hover img,.offer-feature:focus-visible img{transform:scale(1.045)}
.offer-feature-copy h3{font-size:clamp(1.85rem,3.5vw,3.15rem);margin:.35rem 0 .8rem}
.offer-feature-copy .overline{color:#f6dfbb}
.offer-feature-action{display:inline-flex;align-items:center;gap:.5rem;font-size:.96rem;font-weight:650;border-bottom:1px solid #f6dfbb9c;padding-bottom:.2rem}
.offer-feature-action span{font-size:1.15em}
.offer-inline{scroll-margin-top:8rem;margin-top:1.3rem}
.offer-inline:not(:target),.offer-inline:empty{display:none}
.offer-inline .offer-detail{padding:clamp(1rem,3vw,2rem);background:var(--white)}
.offer-dialog{width:min(850px,calc(100% - 2rem));padding:0}
.offer-detail-head{padding:1.15rem clamp(.9rem,3vw,1.8rem);margin:0}
.offer-detail-head h2{font-size:clamp(1.65rem,4vw,2.8rem);margin-top:.25rem}
.offer-inline .offer-detail-head{padding:0 0 1rem}
.offer-detail-copy{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.9rem;padding:1rem clamp(.9rem,3vw,1.8rem) 1.25rem}
.offer-detail-copy p{max-width:46ch}
.offer-inline .offer-detail-copy{padding-inline:0}
.gallery-track{display:flex;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#948367 #e5ddce}
.gallery-track:focus-visible{outline-offset:-4px}
.gallery-track img{flex:0 0 100%;min-width:0;height:clamp(172px,49vw,420px);scroll-snap-align:start}
.gallery-bar{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.5rem;min-height:56px;padding:.25rem .55rem;border-bottom:1px solid var(--line);background:#eee9dc}
.gallery-caption{grid-column:2;text-align:center;color:var(--muted);font-size:.875rem}
.gallery-bar button{width:44px;height:44px;padding:0;border:1px solid #8b7d63;background:var(--white);color:var(--olive);font-size:1.65rem;line-height:1}
.gallery-bar button:hover:not(:disabled){background:#e8e2d4}
.gallery-bar button:disabled{opacity:.45;cursor:default}
.buyer-guide-band{background:linear-gradient(116deg,#e9ecdf,#dce4d2);border-bottom:1px solid #c9d2bd}
.guide{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:center;gap:clamp(1.45rem,6vw,6rem)}
.guide-intro h2{max-width:15ch;color:var(--olive)}
.guide-intro p:not(.overline){max-width:39ch;margin-top:1.15rem;font-size:clamp(1.04rem,1.4vw,1.2rem)}
.guide-panel{
  background:var(--white);border:1px solid #b7c1a9;border-top:3px solid #718459;border-radius:4px;padding:clamp(.9rem,3vw,2rem);
  box-shadow:0 1rem 2.75rem #30422b14;
}
.guide-priorities{min-inline-size:0;margin:0;padding:0;border:0}
.guide-priorities legend{margin-bottom:.75rem;padding:0;font-size:.95rem;color:var(--muted)}
.guide-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem}
.guide-option{position:relative;min-width:0;cursor:pointer}
.guide-option input{position:absolute;opacity:0;width:1px;height:1px;min-height:0;margin:0;padding:0}
.guide-option span{
  display:flex;align-items:center;gap:.5rem;min-height:58px;padding:.65rem .75rem;border:1px solid #c4cbb9;background:#f2f3eb;
  color:var(--olive);line-height:1.25;border-radius:3px;transition:background-color .18s,border-color .18s,color .18s;
}
.guide-option span::before{content:"";flex:0 0 1rem;height:1rem;border:1px solid currentColor;border-radius:2px}
.guide-option:hover span{background:#e5ebdc}
.guide-option input:checked+span{color:white;background:var(--olive);border-color:var(--olive)}
.guide-option input:checked+span::before{
  background:linear-gradient(45deg,transparent 51%,white 52% 64%,transparent 65%) .13rem .38rem/.36rem .27rem no-repeat,
    linear-gradient(-52deg,transparent 47%,white 48% 61%,transparent 62%) .38rem .13rem/.36rem .52rem no-repeat;
}
.guide-option input:focus-visible+span{outline:2px solid #8f5c39;outline-offset:2px}
.guide-distance{margin-top:.9rem}
.guide-actions{display:flex;align-items:center;flex-wrap:wrap;gap:.6rem .9rem;margin-top:1rem}
.guide-actions .button{gap:.55rem}
#guide-choice-status{color:var(--olive);font-size:.92rem}
.blog-band{
  color:#f9efe2;
  background:radial-gradient(ellipse at 4% 0%,#5b4435 0%,transparent 64%),#3a2c24;
  border-top:1px solid #715745;
}
.blog{padding-block:clamp(2.6rem,5.2vw,4.5rem)}
.blog .section-head{margin-bottom:clamp(1rem,2.2vw,1.5rem)}
.blog h2{font-size:clamp(2rem,4vw,3.55rem)}
.blog-band :focus-visible{outline-color:#f1d4b3}
.blog-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(.65rem,1.7vw,1.2rem)}
.blog-card{
  display:grid;grid-template-columns:clamp(4rem,13%,9rem) minmax(0,1fr) auto;gap:clamp(.65rem,1.8vw,1.25rem);align-items:center;
  min-width:0;padding:clamp(.75rem,1.8vw,1.25rem);border:1px solid #efcfab52;border-radius:3px;
  background:#f4ddc30e;color:inherit;text-decoration:none;transition:background-color .18s,border-color .18s;
}
.blog-card:hover{background:#f4ddc31a;border-color:#efcfab90;color:inherit}
.blog-card img{display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;background:#2e241e;border-radius:2px}
.blog-card-copy{grid-column:2;min-width:0;overflow-wrap:anywhere}
.blog-card:not(:has(img)) .blog-card-copy{grid-column:1/3}
.blog-card-copy h3{font-size:clamp(1.1rem,2.4vw,1.8rem);line-height:1.18;letter-spacing:-.025em}
.blog-card-copy p{color:#ead9c8;font-size:clamp(.88rem,1.55vw,1.12rem);line-height:1.36;margin-top:.42rem}
.blog-card-arrow{grid-column:3;color:#f1d4b3;align-self:start;font-size:clamp(1rem,2vw,1.4rem);line-height:1}
.article-header{min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:.65rem}
.article-back{color:#f7dfbe;font-size:.94rem;font-weight:650;white-space:nowrap}
.article-back:hover{color:white}
.journal-article{max-width:960px;padding-block:clamp(2.5rem,6vw,5.5rem)}
.journal-heading,.journal-cover,.journal-copy{width:min(100%,46rem);margin-inline:auto}
.journal-heading h1{color:var(--olive);font-size:clamp(2.35rem,6.5vw,4.6rem);letter-spacing:-.055em;margin:.65rem 0 1.1rem}
.journal-published{color:var(--muted);font-size:.9rem;margin:0 0 .75rem}
.journal-intro{font-size:clamp(1.12rem,2vw,1.35rem);line-height:1.5}
.journal-cover{margin-block:clamp(1.55rem,4vw,2.6rem)}
.journal-cover img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;background:#e6ddca;border-radius:4px}
.journal-cover figcaption{margin-top:.55rem;color:var(--muted);font-size:.82rem;line-height:1.45}
.journal-cover figcaption a{text-underline-offset:.18em}
.journal-cover:has(figcaption) img{aspect-ratio:auto}
.journal-copy{font-size:clamp(1.035rem,1.45vw,1.15rem);line-height:1.68}
.journal-copy section+section,.journal-copy > p+h2{margin-top:clamp(1.75rem,4vw,2.6rem)}
.journal-copy h2{font-size:clamp(1.48rem,3vw,2.15rem);letter-spacing:-.04em;color:var(--olive);line-height:1.23;margin-bottom:.6rem}
.journal-takeaway{margin-top:1.55rem;padding:1rem 1.2rem;border-left:3px solid #879875;background:#e5e8db;color:var(--olive)}
.journal-copy > p + .journal-conclusion{margin-top:1rem}
.journal-copy .journal-quote{margin:clamp(1.85rem,4vw,2.75rem) 0 0;padding:clamp(1rem,3vw,1.55rem);border-left:3px solid #879875;background:#e5e8db;color:var(--olive);border-radius:0 4px 4px 0}
.journal-quote-label{margin-bottom:.5rem;font-size:.86rem;font-weight:700}
.journal-sources{margin-top:clamp(1.7rem,4vw,2.5rem);padding-top:1rem;border-top:1px solid var(--line);color:var(--muted);font-size:.9rem}
.journal-sources p{font-weight:650}
.journal-sources ul{margin:.35rem 0 0;padding-inline-start:1.35em}
.journal-contact{margin-top:1.5rem}
.contact-band{
  position:relative;isolation:isolate;color:var(--white);background:linear-gradient(105deg,#30422b,#202f26);border-top:1px solid #5f7155;
}
.contact{display:flex;align-items:center;justify-content:space-between;gap:2rem;padding-block:clamp(1.5rem,3.6vw,3.15rem)}
.contact h2{font-size:clamp(1.75rem,3.5vw,2.8rem)}
.contact-actions{display:grid;gap:.55rem;flex:0 0 auto}
.contact-message{border-color:#d3c5a8;background:transparent;color:#fcfaf4}
.contact-message:hover{background:#ffffff19}
.contact-band :focus-visible{outline-color:var(--sand)}
.contact-profile{font-size:.94rem;color:var(--olive);text-align:center}
.footer{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding-block:1.4rem}
.social-links{display:flex;gap:.55rem}
.social-links a{width:44px;height:44px;display:grid;place-items:center;border:1px solid #8b7d63;border-radius:50%;color:var(--olive)}
.social-links a:hover{background:#e1e5d7}
.social-links svg{width:23px;height:23px}
dialog{width:min(540px,calc(100% - 2rem));max-height:calc(100% - 2rem);padding:clamp(1rem,4vw,2rem);background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:4px}
body:has(dialog[open]){overflow:hidden}
dialog::backdrop{background:#25251dc7}
.dialog-head,.dialog-actions{display:flex;justify-content:space-between;align-items:center;gap:.6rem}
.dialog-head{margin-bottom:1.1rem}
.dialog-head h2{font-size:2.35rem}
.close{border:0;background:transparent;color:var(--olive);font-size:1.75rem;line-height:1;min-width:44px;min-height:44px}
#request-form{display:grid;gap:.8rem}
#request-result{border-top:1px solid var(--line);padding-top:1rem;margin-top:1rem}
.dialog-actions{margin-top:.65rem;flex-wrap:wrap;justify-content:start}
#copy-status:not(:empty){margin-top:.5rem}
@media(max-width:800px){
  section[id],#main,#projects{scroll-margin-top:8rem}
  .header-inner{flex-wrap:wrap;gap:.35rem;padding-block:.55rem}
  .header nav{order:3;width:100%;justify-content:space-between;gap:.3rem .55rem;overflow-x:auto;padding:.26rem 2px 0;border-top:1px solid #e8d4b44a}
  .header-contact{min-height:42px}
  .hero,.about,.guide{grid-template-columns:1fr}
  .hero-band::before{inset:0 0 auto;height:min(560px,66%);opacity:.28}
  .hero h1{font-size:clamp(2.38rem,9.2vw,4.5rem)}
  .hero-image{justify-self:start;width:calc(100% - 14px);aspect-ratio:1.14}
  .section-head{align-items:start;flex-direction:column}
  .section-head>p{max-width:50ch}
  .property-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .offer-features{grid-template-columns:1fr}
  .offer-feature{min-height:clamp(225px,51vw,350px)}
  .about-band::before{background:linear-gradient(90deg,#26362ad9,#26362af2),url("assets/dubai-waterfront.jpg") 42% center / cover no-repeat}
}
@media(max-width:500px){
  .offers h2{font-size:clamp(1.875rem,7.5vw,2.25rem)}
  .contact{align-items:start;flex-direction:column;gap:1.1rem}
  .property-grid{grid-template-columns:1fr}
  .guide-option span{padding-inline:.55rem}
  .offer-detail-copy .button{width:100%}
  .footer .wordmark{font-size:1.05rem}
  .journal-cover img{aspect-ratio:4/3}
}
@media(max-width:380px){
  .header .wordmark{font-size:1.08rem}
  .header .header-contact{padding-inline:.7rem;font-size:.9rem}
}
@media(prefers-reduced-motion:no-preference){
  .hero-copy,.hero-image{animation:hero-entry .68s cubic-bezier(.2,.65,.2,1) both}
  .hero-image{animation-delay:.1s}
  @keyframes hero-entry{from{opacity:.55;transform:translateY(12px)}to{opacity:1;transform:none}}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

.lead-notice { margin-top: 1rem; padding: .8rem 1rem; border: 1px solid currentColor; border-radius: 4px; }
#dda-lead-trap { position: absolute; left: -10000px; }
#request-form .form-note { font-size: .85rem; }
#request-form input, #request-form select, #request-form textarea { width: 100%; }
