/* Quantum Accelerate Investment Group — static styles */
:root{
  --bg:#F7F3EC; --fg:#1A1A1A; --muted:#6B6459; --border:#E4DDD1;
  --stone:#EFE9DE; --gold:#B8935A; --gold-2:#C9A46A;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{background:var(--bg);color:var(--fg);font-family:'Inter',system-ui,sans-serif;line-height:1.5;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font:inherit;cursor:pointer;border:0;background:none;color:inherit}
.serif,.display{font-family:'Cormorant Garamond','Playfair Display',serif;font-weight:500}
.mono{font-family:'JetBrains Mono',ui-monospace,monospace}
.italic{font-style:italic}
.gold{color:var(--gold)}
.container{max-width:1200px;margin:0 auto;padding:0 24px}
@media(min-width:768px){.container{padding:0 80px}}
.eyebrow{font-family:'JetBrains Mono',monospace;font-size:10px;letter-spacing:.3em;text-transform:uppercase;color:var(--gold)}
.muted{color:var(--muted)}
.balance{text-wrap:balance}
.pretty{text-wrap:pretty}

/* Nav */
.nav{position:sticky;top:0;z-index:50;background:rgba(247,243,236,.8);backdrop-filter:blur(12px);border-bottom:1px solid var(--border)}
.nav-inner{max-width:1200px;margin:0 auto;padding:20px 24px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{font-family:'Cormorant Garamond',serif;font-size:20px;font-weight:600;letter-spacing:-.01em;flex-shrink:0;display:inline-flex;align-items:center;gap:16px;text-decoration:none;color:inherit}
.brand-logo{height:72px;width:72px;object-fit:contain;display:block}
.brand em{color:var(--gold);font-style:italic}
.nav-links{display:none;gap:40px;font-size:11px;letter-spacing:.22em;text-transform:uppercase;font-weight:500;color:var(--muted)}
.nav-links a:hover{color:var(--fg)}
@media(min-width:768px){.nav-links{display:flex}}
.btn{display:inline-flex;align-items:center;padding:10px 20px;background:var(--fg);color:var(--bg);font-size:11px;letter-spacing:.22em;text-transform:uppercase;font-weight:500;transition:background .3s}
.btn:hover{background:var(--gold)}
.btn-gold{background:var(--gold);color:var(--fg)}
.btn-gold:hover{background:var(--fg);color:var(--bg)}
.btn-outline-dark{background:var(--bg);color:var(--fg)}

/* Hero */
.hero{display:grid;grid-template-columns:1fr;border-bottom:1px solid var(--border)}
@media(min-width:1024px){.hero{grid-template-columns:1fr 1fr}}
.hero-copy{padding:80px 32px;display:flex;flex-direction:column;justify-content:center}
@media(min-width:1024px){.hero-copy{padding:128px 80px}}
.hero-copy .eyebrow{margin-bottom:32px;display:block;letter-spacing:.35em}
.hero h1{font-family:'Cormorant Garamond',serif;font-size:clamp(40px,6vw,72px);line-height:1.05;margin-bottom:40px;font-weight:500}
.hero h1 em{color:var(--gold)}
.hero-copy p{max-width:46ch;color:var(--muted);font-size:18px;line-height:1.6;margin-bottom:48px}
.hero-cities{display:flex;align-items:center;gap:20px;margin-top:56px}
.hero-cities .rule{height:1px;width:48px;background:var(--gold)}
.hero-cities span{font-family:'JetBrains Mono',monospace;font-size:11px;text-transform:uppercase;color:var(--muted)}
.hero-img{position:relative;background:var(--stone);min-height:60vh}
@media(min-width:1024px){.hero-img{min-height:88vh}}
.hero-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero-caption{position:absolute;bottom:32px;left:32px;right:32px;display:flex;justify-content:space-between;align-items:flex-end;color:var(--bg)}
.hero-caption .mono{font-size:10px;letter-spacing:.3em;text-transform:uppercase;opacity:.8}
.hero-caption .cap-title{font-family:'Cormorant Garamond',serif;font-style:italic;font-size:24px}

/* Partners */
.partners{padding:56px 0;border-bottom:1px solid var(--border);overflow:hidden}
.partners p{text-align:center;font-family:'JetBrains Mono',monospace;font-size:10px;letter-spacing:.3em;text-transform:uppercase;color:var(--muted);margin-bottom:40px}
.marquee{display:flex;gap:96px;align-items:center;width:max-content;padding:0 48px;animation:marquee 40s linear infinite}
.marquee span{font-family:'Cormorant Garamond',serif;font-style:italic;font-size:30px;color:rgba(107,100,89,.6);white-space:nowrap;letter-spacing:.01em}
@keyframes marquee{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}

/* Property section */
.prop-section{padding:96px 24px;border-bottom:1px solid var(--border)}
@media(min-width:768px){.prop-section{padding:96px 80px}}
.prop-section.dark{background:var(--fg);color:var(--bg);border-bottom-color:rgba(247,243,236,.1)}
.prop-inner{max-width:1200px;margin:0 auto}
.prop-head{display:flex;flex-direction:column;gap:24px;margin-bottom:56px}
@media(min-width:768px){.prop-head{flex-direction:row;justify-content:space-between;align-items:flex-end}}
.prop-head h3{font-family:'Cormorant Garamond',serif;font-size:clamp(30px,4vw,48px);line-height:1.1;font-weight:500}
.prop-head h3 em{color:var(--gold)}
.prop-head .side{font-family:'JetBrains Mono',monospace;font-size:10px;letter-spacing:.3em;text-transform:uppercase;color:var(--muted)}
.dark .prop-head .side{color:rgba(247,243,236,.5)}
.prop-grid{display:grid;grid-template-columns:1fr;gap:1px;background:var(--border);border:1px solid var(--border)}
@media(min-width:768px){.prop-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.prop-grid{grid-template-columns:repeat(5,1fr)}}
.dark .prop-grid{background:rgba(247,243,236,.1);border-color:rgba(247,243,236,.1)}
.prop-card{background:var(--bg);display:flex;flex-direction:column}
.dark .prop-card{background:var(--fg)}
.prop-card .img{aspect-ratio:4/5;overflow:hidden;background:var(--stone)}
.prop-card .img img{width:100%;height:100%;object-fit:cover;transition:transform .7s}
.prop-card:hover .img img{transform:scale(1.05)}
.prop-card .body{padding:28px;flex:1;display:flex;flex-direction:column}
.prop-card .num{font-family:'JetBrains Mono',monospace;font-size:11px;color:var(--gold);margin-bottom:20px}
.prop-card h4{font-family:'Cormorant Garamond',serif;font-size:20px;font-weight:500;line-height:1.3;margin-bottom:8px}
.prop-card .dev{font-family:'JetBrains Mono',monospace;font-size:10px;text-transform:uppercase;letter-spacing:.22em;color:var(--muted);margin-bottom:16px}
.dark .prop-card .dev{color:rgba(247,243,236,.5)}
.prop-card .desc{font-size:14px;color:var(--muted);line-height:1.6}
.dark .prop-card .desc{color:rgba(247,243,236,.7)}
.prop-cta{margin-top:48px;display:flex;justify-content:center}
.prop-cta button{padding:16px 40px;background:var(--fg);color:var(--bg);font-size:11px;letter-spacing:.28em;text-transform:uppercase;font-weight:500;transition:background .3s}
.prop-cta button:hover{background:var(--gold)}
.dark .prop-cta button{background:var(--bg);color:var(--fg)}
.dark .prop-cta button:hover{background:var(--gold);color:var(--fg)}

/* Section common */
.section{padding:112px 24px}
@media(min-width:768px){.section{padding:112px 80px}}
.section .max{max-width:1200px;margin:0 auto}
.section.stone{background:rgba(239,233,222,.4)}
.section-head{display:flex;flex-direction:column;gap:24px;align-items:flex-start;margin-bottom:80px}
@media(min-width:768px){.section-head{flex-direction:row;justify-content:space-between;align-items:flex-end}}
.section-head h2{font-family:'Cormorant Garamond',serif;font-size:clamp(36px,5vw,60px);line-height:1.1;max-width:36ch;font-weight:500}
.section-head h2 em{color:var(--gold);font-style:italic}

.svc-grid,.inv-grid{display:grid;grid-template-columns:1fr;gap:1px;background:var(--border);border:1px solid var(--border)}
@media(min-width:768px){.svc-grid,.inv-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.svc-grid{grid-template-columns:repeat(5,1fr)}.inv-grid{grid-template-columns:repeat(4,1fr)}}
.svc-card,.inv-card{background:var(--bg);padding:40px;min-height:280px;display:flex;flex-direction:column;transition:background .5s}
.svc-card:hover,.inv-card:hover{background:var(--stone)}
.svc-card .num,.inv-card .num{font-family:'JetBrains Mono',monospace;font-size:11px;color:var(--gold);margin-bottom:40px}
.inv-card .num{margin-bottom:32px}
.svc-card h3,.inv-card h3{font-family:'Cormorant Garamond',serif;font-weight:500;font-size:22px;line-height:1.3;margin-bottom:16px}
.svc-card p,.inv-card p{font-size:14px;color:var(--muted);line-height:1.6}

.inv-head{display:grid;grid-template-columns:1fr;gap:64px;margin-bottom:64px;align-items:end}
@media(min-width:1024px){.inv-head{grid-template-columns:7fr 5fr}}
.inv-head h2{font-family:'Cormorant Garamond',serif;font-size:clamp(36px,5vw,60px);line-height:1.05;font-weight:500}
.inv-head h2 em{color:var(--gold);font-style:italic}
.inv-head p{color:var(--muted);line-height:1.6}
.inv-cta{margin-top:56px;display:flex;justify-content:center}

/* Markets */
.markets{background:var(--fg);color:var(--bg);padding:112px 24px}
@media(min-width:768px){.markets{padding:112px 80px}}
.markets-inner{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:1fr;gap:64px;align-items:start}
@media(min-width:1024px){.markets-inner{grid-template-columns:4fr 8fr}}
.markets h2{font-family:'Cormorant Garamond',serif;font-size:clamp(36px,4.5vw,48px);line-height:1.2;color:var(--bg);margin-bottom:32px;font-weight:500}
.markets .note{color:rgba(247,243,236,.6);font-size:14px;max-width:40ch;line-height:1.6}
.market-row{display:flex;justify-content:space-between;align-items:center;padding:28px 0;border-bottom:1px solid rgba(247,243,236,.1)}
.market-row .city{font-family:'Cormorant Garamond',serif;font-style:italic;font-size:clamp(28px,3vw,36px);font-weight:500}
.market-row .tag{font-size:10px;letter-spacing:.25em;text-transform:uppercase;color:rgba(247,243,236,.4);margin-left:24px;display:none}
@media(min-width:640px){.market-row .tag{display:inline}}
.market-row .code{font-family:'JetBrains Mono',monospace;font-size:12px;color:rgba(247,243,236,.4)}

/* Credentials */
.creds{padding:128px 24px;display:flex;flex-direction:column;gap:80px;max-width:1200px;margin:0 auto}
@media(min-width:768px){.creds{padding:128px 80px;flex-direction:row}}
.creds .img{width:100%}
@media(min-width:768px){.creds .img{width:40%}}
.creds .img img{width:100%;aspect-ratio:3/4;object-fit:cover}
.creds .body{width:100%;display:flex;flex-direction:column;justify-content:center}
@media(min-width:768px){.creds .body{width:60%}}
.creds h2{font-family:'Cormorant Garamond',serif;font-size:clamp(36px,4.5vw,48px);line-height:1.2;margin-bottom:40px;font-weight:500}
.creds h2 em{font-style:italic}
.creds-grid{display:grid;grid-template-columns:1fr;gap:48px;border-top:1px solid var(--border);padding-top:48px}
@media(min-width:768px){.creds-grid{grid-template-columns:1fr 1fr}}
.cred h4{font-family:'JetBrains Mono',monospace;font-size:10px;letter-spacing:.25em;text-transform:uppercase;color:var(--gold);margin-bottom:12px}
.cred p{font-size:14px;color:var(--muted);line-height:1.6}

/* Process */
.process{padding:0 24px 128px;max-width:1200px;margin:0 auto}
@media(min-width:768px){.process{padding:0 80px 128px}}
.process-head{margin-bottom:64px}
.process-head h2{font-family:'Cormorant Garamond',serif;font-size:clamp(36px,4.5vw,48px);line-height:1.2;max-width:36ch;font-weight:500}
.process-grid{display:grid;grid-template-columns:1fr;gap:32px}
@media(min-width:768px){.process-grid{grid-template-columns:repeat(4,1fr)}}
.process-item .rule{height:1px;background:var(--border);margin-bottom:24px}
.process-item .n{font-family:'Cormorant Garamond',serif;font-style:italic;font-size:30px;color:var(--gold);display:block;margin-bottom:24px}
.process-item h4{font-size:12px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;margin-bottom:12px}
.process-item p{font-size:14px;color:var(--muted);line-height:1.6;max-width:32ch}

/* Footer/Contact */
.footer{background:var(--fg);color:var(--bg);padding:112px 24px}
@media(min-width:768px){.footer{padding:112px 80px}}
.footer-inner{max-width:1200px;margin:0 auto}
.footer-top{display:grid;grid-template-columns:1fr;gap:80px;margin-bottom:96px}
@media(min-width:1024px){.footer-top{grid-template-columns:1fr 1fr}}
.footer h2{font-family:'Cormorant Garamond',serif;font-size:clamp(40px,5vw,60px);line-height:1.1;margin-bottom:40px;font-weight:500}
.footer h2 em{color:var(--gold);font-style:italic}
.footer .lead{color:rgba(247,243,236,.6);max-width:42ch;line-height:1.6}
form.contact{display:flex;flex-direction:column;gap:32px}
form.contact label{font-size:10px;font-weight:500;letter-spacing:.25em;text-transform:uppercase;color:rgba(247,243,236,.5);display:block;margin-bottom:8px}
form.contact input,form.contact select{width:100%;background:transparent;border:0;border-bottom:1px solid rgba(247,243,236,.2);padding:8px 0;outline:none;color:var(--bg);font:inherit;font-size:15px;transition:border-color .2s}
form.contact input::placeholder{color:rgba(247,243,236,.3)}
form.contact input:focus,form.contact select:focus{border-bottom-color:var(--gold)}
form.contact select option{color:var(--fg)}
form.contact button{align-self:flex-start;margin-top:16px;background:var(--gold);color:var(--fg);padding:12px 32px;font-size:11px;letter-spacing:.22em;text-transform:uppercase;font-weight:500;transition:all .3s}
form.contact button:hover{background:var(--bg);color:var(--fg)}
form.contact button:disabled,.dialog-form button:disabled{cursor:wait;opacity:.65}
.form-message{width:100%;min-height:20px;margin:10px 0 0;font-size:13px;line-height:1.5;letter-spacing:0;text-transform:none}
.form-message.is-error{color:#e9a8a8}
.form-message.is-success{color:#c9d8bd}
.offices{display:grid;grid-template-columns:1fr;gap:40px;padding-top:48px;border-top:1px solid rgba(247,243,236,.1)}
@media(min-width:768px){.offices{grid-template-columns:repeat(4,1fr)}}
.offices .label{font-family:'JetBrains Mono',monospace;font-size:10px;letter-spacing:.25em;text-transform:uppercase;color:var(--gold);margin-bottom:12px}
.offices p{font-size:14px;color:rgba(247,243,236,.7);line-height:1.6}
.direct-email-btn{margin-top:12px;padding:12px 24px}
.legal{margin-top:80px;padding-top:32px;border-top:1px solid rgba(247,243,236,.1);display:flex;flex-direction:column;gap:16px;font-size:10px;letter-spacing:.25em;text-transform:uppercase;color:rgba(247,243,236,.4)}
@media(min-width:768px){.legal{flex-direction:row;justify-content:space-between}}

/* Dialog */
.dialog{position:fixed;inset:0;z-index:100;display:none;align-items:center;justify-content:center;background:rgba(0,0,0,.6);padding:16px}
.dialog.open{display:flex}
.dialog-inner{background:var(--bg);border:1px solid var(--border);max-width:800px;width:100%;max-height:90vh;overflow:auto;display:grid;grid-template-columns:1fr}
@media(min-width:768px){.dialog-inner{grid-template-columns:1fr 1fr}}
.dialog-img{display:none;position:relative;background:var(--stone);min-height:400px}
@media(min-width:768px){.dialog-img{display:block}}
.dialog-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.dialog-img .cap{position:absolute;bottom:24px;left:24px;color:var(--bg);font-family:'Cormorant Garamond',serif;font-style:italic;font-size:20px;text-shadow:0 2px 8px rgba(0,0,0,.5)}
.dialog-body{padding:32px}
@media(min-width:768px){.dialog-body{padding:40px}}
.dialog-body h3{font-family:'Cormorant Garamond',serif;font-size:26px;font-weight:500;line-height:1.2;margin:8px 0}
.dialog-body .desc{font-size:14px;color:var(--muted);margin-bottom:24px}
.direct-contact-dialog-inner{max-width:960px}
.direct-contact-body{background:var(--fg);color:var(--bg)}
.direct-contact-body h3{color:var(--bg);margin-bottom:28px}
.direct-contact-body .eyebrow{color:var(--gold)}
.direct-contact-popup-form{gap:22px}
.direct-contact-popup-form .form-message{margin-top:0}
.direct-contact-dialog .dialog-close{background:var(--bg);color:var(--fg)}
.dialog-close{position:absolute;top:12px;right:12px;background:var(--bg);border:1px solid var(--border);width:32px;height:32px;border-radius:50%;font-size:18px;line-height:1;z-index:2}
.dialog-form{display:flex;flex-direction:column;gap:16px}
.dialog-form input,.dialog-form select,.dialog-form textarea{width:100%;border:1px solid var(--border);border-radius:6px;padding:12px 16px;font:inherit;font-size:14px;background:var(--bg);color:var(--fg);outline:none;transition:border-color .2s}
.dialog-form input:focus,.dialog-form select:focus,.dialog-form textarea:focus{border-color:var(--gold)}
.dialog-form textarea{resize:none}
.dialog-form button{margin-top:8px;width:100%;background:var(--fg);color:var(--bg);padding:16px;font-size:11px;letter-spacing:.28em;text-transform:uppercase;font-weight:500;transition:background .3s}
.dialog-form button:hover{background:var(--gold)}
.dialog-form .form-message{margin-top:0;text-align:center;color:var(--muted)}
.dialog-form .form-message.is-error{color:#9b3030}
.dialog-form .form-message.is-success{color:#446b37}
.thanks{text-align:center;padding:40px 0}
.thanks .display{font-size:22px;margin:8px 0}
.thanks .close-btn{margin-top:32px;padding:12px 24px;background:var(--fg);color:var(--bg);font-size:11px;letter-spacing:.25em;text-transform:uppercase}
