/* Solmere Estates — site styles */
:root {
  --bg: #F6F4F0;
  --bg-alt: #EEEAE4;
  --ink: #141414;
  --body: #3D3833;
  --muted: #5E5750;
  --soft: #6E6862;
  --eyebrow: #6E6156;
  --accent: #8B7A69;
  --line: #DDD6CD;
  --field: #D3CCC3;
  --dark: #141414;
  --dark-muted: #B9AFA4;
  --radius: 10px;
  --max: 1280px;
  --shade-left: linear-gradient(90deg, rgba(14,12,10,.78) 0%, rgba(14,12,10,.5) 38%, rgba(14,12,10,.08) 72%);
  --shade-bottom: linear-gradient(0deg, rgba(14,12,10,.55) 0%, rgba(14,12,10,0) 32%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: #5E544B; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; }
.section-alt { background: var(--bg-alt); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow { font-size: 12px; letter-spacing: .3em; color: var(--eyebrow); text-transform: uppercase; margin: 0 0 14px; }
.eyebrow-light { color: rgba(255,255,255,.88); }
.h-display { margin: 0; font-weight: 400; letter-spacing: -.02em; line-height: 1.02; font-size: clamp(44px, 6.6vw, 88px); }
.h-section { margin: 0; font-weight: 400; letter-spacing: -.02em; line-height: 1.06; font-size: clamp(32px, 4.4vw, 54px); }
.h-section .tone, .h-display .tone { color: var(--accent); }
.lead { font-size: 16px; line-height: 1.8; color: var(--muted); margin: 0; max-width: 460px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 6px 6px 6px 22px; min-height: 48px;
  border-radius: 999px; font-size: 15px; text-decoration: none;
  border: none; cursor: pointer; transition: transform .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn .dot { width: 36px; height: 36px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { color: #fff; }
.btn-dark .dot { background: #fff; color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light .dot { background: var(--dark); color: #fff; }
.btn-plain { background: transparent; color: #fff; padding-left: 0; }
.btn-plain:hover { color: #fff; }
.btn-plain .dot { border: 1.5px solid #fff; order: -1; }
.btn-text { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
.icon { width: 15px; height: 15px; }

.pill {
  background: transparent; color: var(--ink); border: 1px solid #BDB5AB;
  border-radius: 999px; padding: 11px 20px; font-size: 14px; min-height: 44px; cursor: pointer;
}
.pill[aria-pressed="true"], .pill[aria-selected="true"] { background: var(--dark); color: #fff; border-color: var(--dark); }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* Header / navigation */
.site-header { position: absolute; inset: 0 0 auto 0; z-index: 20; color: #fff; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; padding-bottom: 24px; }
.logo { color: #fff; text-decoration: none; font-size: 16px; font-weight: 500; letter-spacing: .36em; }
.logo:hover { color: #fff; }
.nav-links { display: flex; gap: 28px; font-size: 14px; }
.nav-links a { color: #fff; text-decoration: none; padding: 6px 0; }
.nav-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.nav-cta { font-size: 14px; min-height: 44px; }
.nav-cta .dot { width: 32px; height: 32px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(255,255,255,.6); background: rgba(20,18,16,.25); color: #fff; align-items: center; justify-content: center; cursor: pointer; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 50; background: var(--dark); color: #fff;
  display: flex; flex-direction: column; padding: 24px; gap: 8px;
  transform: translateY(-100%); transition: transform .35s ease; visibility: hidden;
}
.mobile-menu.open { transform: none; visibility: visible; }
.mobile-menu .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.mobile-menu a.link { color: #fff; text-decoration: none; font-size: 30px; font-weight: 300; padding: 10px 0; border-bottom: 1px solid #2E2A26; }
.mobile-menu .btn { margin-top: 24px; align-self: flex-start; }

/* Hero */
.hero { position: relative; color: #fff; min-height: 760px; display: flex; flex-direction: column; background-color: #3D322A; background-size: cover; background-position: 60% center; }
.hero::before { content: ''; position: absolute; inset: 0; background: var(--shade-bottom), var(--shade-left); }
.hero > .container { position: relative; flex: 1; display: flex; flex-direction: column; width: 100%; }
.hero-body { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 24px; padding: 140px 0 48px; max-width: 620px; }
.hero-body p { margin: 0; font-size: 17px; line-height: 1.7; color: rgba(255,255,255,.9); max-width: 440px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.hero-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; padding-bottom: 36px; }
.stats { display: flex; flex-wrap: wrap; gap: 44px; }
.stat strong { display: block; font-size: 28px; font-weight: 300; }
.stat span { font-size: 12px; color: rgba(255,255,255,.8); }
.float-card { display: flex; gap: 14px; align-items: center; background: rgba(20,18,16,.72); color: #fff; text-decoration: none; border-radius: 16px; padding: 10px 14px 10px 10px; backdrop-filter: blur(6px); }
.float-card:hover { color: #fff; }
.float-card img { width: 92px; height: 72px; object-fit: cover; border-radius: 10px; }
.float-card .meta { display: flex; flex-direction: column; gap: 2px; }
.float-card .meta small { font-size: 12px; color: rgba(255,255,255,.75); }
.float-card .dot { width: 32px; height: 32px; border-radius: 999px; background: #fff; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; margin-left: 8px; }

.page-hero { min-height: 460px; }
.page-hero .hero-body { justify-content: flex-end; padding: 140px 0 48px; }
.crumbs { font-size: 13px; color: rgba(255,255,255,.85); }
.crumbs a { color: rgba(255,255,255,.85); text-decoration: none; }

/* About collage */
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split > .text { flex: 1 1 400px; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.collage { flex: 1 1 540px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: 190px 250px; gap: 14px; }
.collage .tile { border-radius: 6px; overflow: hidden; position: relative; }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage .wide { grid-column: 1 / 3; }
.collage .tall { grid-column: 3; grid-row: 1 / 3; }
.collage .tall .caption { position: absolute; inset: 0; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; text-align: right; color: #fff; font-size: 14px; line-height: 1.5; background: linear-gradient(180deg, rgba(14,12,10,.5) 0%, rgba(14,12,10,0) 35%, rgba(14,12,10,0) 70%, rgba(14,12,10,.45) 100%); }

/* Section heads */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 44px; }
.section-head p { margin: 0; font-size: 14px; color: var(--muted); max-width: 340px; line-height: 1.7; }

/* Residence cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.card { background: var(--bg); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card .media { position: relative; height: 250px; overflow: hidden; }
.card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .media img { transform: scale(1.04); }
.tag { position: absolute; left: 12px; bottom: 12px; background: #fff; color: var(--ink); font-size: 12px; padding: 5px 12px; border-radius: 999px; }
.card .body { padding: 18px 18px 20px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.card h3 { margin: 0; font-size: 19px; font-weight: 500; }
.card h3 a { text-decoration: none; }
.card .spec { font-size: 13px; color: var(--soft); margin-top: 4px; }
.card .price { font-size: 16px; margin-top: 8px; }
.round-btn { flex: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--ink); background: transparent; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; text-decoration: none; }
.round-btn:hover { background: var(--ink); color: #fff; }

/* Calculator */
.calc { display: flex; flex-wrap: wrap; gap: 20px; }
.calc-inputs { flex: 1 1 420px; background: var(--bg-alt); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 24px; }
.calc-result { flex: 1 1 360px; background: var(--dark); color: #fff; border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.calc-result .label { font-size: 14px; color: var(--dark-muted); }
.calc-result .big { font-size: clamp(40px, 5vw, 60px); font-weight: 300; letter-spacing: -.02em; margin-top: 6px; }
.calc-result .big small { font-size: 16px; color: var(--dark-muted); }
.calc-result .rows { display: flex; flex-direction: column; gap: 10px; font-size: 14px; border-top: 1px solid #34302C; padding-top: 18px; }
.calc-result .rows div { display: flex; justify-content: space-between; gap: 12px; }
.calc-result .rows span:first-child { color: var(--dark-muted); }
.calc-result .note { font-size: 12px; color: #A39A90; line-height: 1.6; margin: 0; }
.calc-result .fit { font-size: 14px; color: #D8D0C6; margin-top: 8px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--body); }
.field input[type=number], .field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=date], .field select, .field textarea {
  font-size: 16px; padding: 12px 14px; border: 1px solid var(--field); border-radius: 8px; background: var(--bg); width: 100%;
}
.field input[type=range] { width: 100%; accent-color: var(--ink); }
.calc-panel[hidden] { display: none; }

/* Location */
.location { display: flex; flex-wrap: wrap; }
.location .media { flex: 1 1 520px; min-height: 540px; position: relative; }
.location .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.location .text { flex: 1 1 420px; padding: 80px 48px; display: flex; flex-direction: column; gap: 22px; }
.places { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.places li { display: flex; gap: 16px; align-items: center; }
.places .min { width: 56px; height: 56px; border-radius: 999px; border: 1px solid #BDB5AB; display: inline-flex; align-items: center; justify-content: center; flex: none; font-size: 15px; }
.places strong { display: block; font-weight: 400; font-size: 16px; }
.places small { font-size: 13px; color: var(--soft); }

/* CTA band */
.cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; }

/* Residences page */
.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 28px; }
.spec-grid div { background: var(--bg); padding: 22px; }
.spec-grid small { display: block; font-size: 13px; color: var(--soft); }
.spec-grid strong { display: block; font-size: 28px; font-weight: 300; margin-top: 4px; }
.spec-grid strong span { font-size: 14px; }
.spec-grid em { font-style: normal; font-size: 12px; color: var(--soft); }
.rooms { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.rooms figure { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.rooms img { width: 100%; height: 260px; object-fit: cover; border-radius: 6px; }
.rooms figcaption small { display: block; font-size: 12px; letter-spacing: .24em; color: var(--eyebrow); margin-bottom: 6px; }
.rooms figcaption { font-size: 15px; line-height: 1.6; color: var(--body); }
.plans { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 32px; }
.plan { flex: 1 1 440px; background: var(--bg-alt); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.plan h3 { margin: 0; font-size: 18px; font-weight: 500; }
.plan .img { background: #fff; border-radius: 6px; padding: 12px; cursor: zoom-in; border: none; display: block; width: 100%; }
.plan .img img { width: 100%; height: 560px; object-fit: contain; }
.plan ul { margin: 0; padding-left: 18px; font-size: 14px; color: var(--body); display: flex; flex-direction: column; gap: 6px; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.feature { background: var(--bg); border-radius: 8px; padding: 16px; display: flex; gap: 12px; align-items: center; font-size: 14px; line-height: 1.5; }
.feature .tick { width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--accent); color: var(--eyebrow); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.swap { transition: opacity .3s ease; }
.swap.fading { opacity: 0; }

/* Gallery */
.masonry { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); grid-auto-rows: 230px; gap: 14px; }
.shot { position: relative; margin: 0; border-radius: 6px; overflow: hidden; cursor: zoom-in; border: none; padding: 0; background: #8E7660; }
.shot.tall { grid-row: span 2; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.shot:hover img { transform: scale(1.04); }
.shot .cat { position: absolute; left: 14px; top: 14px; background: rgba(255,255,255,.94); color: var(--ink); font-size: 12px; padding: 4px 11px; border-radius: 999px; }
.shot .cap { position: absolute; left: 14px; bottom: 14px; color: #fff; font-size: 13px; background: rgba(20,18,16,.7); padding: 4px 10px; border-radius: 6px; }
.shot[hidden] { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(10,9,8,.92); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: 6px; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; gap: 12px; align-items: center; color: #fff; font-size: 14px; }
.lightbox .close { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 999px; border: 1px solid rgba(255,255,255,.5); background: transparent; color: #fff; cursor: pointer; font-size: 22px; }

/* Contact */
.info-card { background: var(--bg-alt); border-radius: var(--radius); padding: 22px; display: flex; gap: 16px; align-items: flex-start; }
.info-card .ico { width: 44px; height: 44px; border-radius: 999px; background: var(--dark); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.info-card small { display: block; font-size: 13px; color: var(--soft); }
.info-card a, .info-card span { font-size: 17px; text-decoration: none; }
.form { background: var(--bg-alt); border-radius: var(--radius); padding: 30px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.form .full { grid-column: 1 / -1; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.6; }
.form .check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); }
.form .submit { background: var(--dark); color: #fff; border: none; border-radius: 999px; padding: 16px; font-size: 15px; min-height: 52px; cursor: pointer; }
.form .error { color: #9A3412; font-size: 13px; margin: 0; }
.form .pill { background: var(--bg); border-color: var(--field); }
.form .pill[aria-pressed="true"] { background: var(--dark); color: #fff; border-color: var(--dark); }
.thanks { background: var(--bg-alt); border-radius: var(--radius); padding: 40px; }
.thanks h3 { margin: 0 0 10px; font-size: 26px; font-weight: 400; }
.thanks p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.7; }
.map-band { max-width: var(--max); margin: 0 auto; height: 420px; border-radius: var(--radius); position: relative; overflow: hidden; }
.map-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.map-band .bar { position: absolute; inset: auto 0 0 0; padding: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; color: #fff; background: linear-gradient(0deg, rgba(14,12,10,.6), rgba(14,12,10,0)); }
.map-band .bar a { background: #fff; color: var(--ink); text-decoration: none; padding: 12px 20px; border-radius: 999px; font-size: 14px; min-height: 44px; display: inline-flex; align-items: center; }
.faq { max-width: 900px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--field); }
.faq details:first-of-type { border-top: 1px solid var(--field); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; font-weight: 300; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 0 0 22px; font-size: 15px; line-height: 1.8; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 28px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; font-size: 14px; color: var(--muted); }
.footer-top h4 { margin: 0 0 8px; font-size: 14px; color: var(--ink); font-weight: 500; }
.footer-top a { color: var(--muted); text-decoration: none; display: block; padding: 3px 0; }
.footer-top a:hover { color: var(--ink); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--soft); border-top: 1px solid var(--line); padding-top: 20px; margin-top: 40px; }

/* Mobile action bar */
.action-bar { display: none; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card .media img, .shot img, .btn { transition: none; }
}

/* Responsive */
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .location .text { padding: 56px 24px; }
}
@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .hero { min-height: 680px; background-position: 70% center; }
  .hero::before { background: linear-gradient(180deg, rgba(14,12,10,.55) 0%, rgba(14,12,10,.45) 45%, rgba(14,12,10,.7) 100%); }
  .hero-body { padding-top: 120px; }
  .stats { gap: 28px; }
  .float-card { width: 100%; }
  .collage { grid-template-rows: 150px 190px; gap: 10px; }
  .location .media { min-height: 320px; }
  .plan .img img { height: 380px; }
  .masonry { grid-auto-rows: 200px; }
  .form, .calc-inputs { padding: 22px; }
  body { padding-bottom: 76px; }
  .action-bar {
    display: flex; gap: 10px; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
    background: rgba(20,18,16,.92); border-radius: 999px; padding: 6px; backdrop-filter: blur(8px);
  }
  .action-bar a { flex: 1; text-align: center; color: #fff; text-decoration: none; font-size: 14px; padding: 12px; border-radius: 999px; min-height: 44px; display: flex; align-items: center; justify-content: center; }
  .action-bar a.primary { background: #fff; color: var(--ink); }
}
