/* mohammadsiddique.com
   Palette: river navy, dome gold, granite. Type: Big Shoulders Display + Public Sans. */

:root {
  --ink: #0b1f33;
  --navy: #12314f;
  --gold: #d9b25f;
  --gold-deep: #8a6a1f;
  --sky: #1f5fa8;
  --stone: #eef1f4;
  --paper: #ffffff;
  --text: #1b2733;
  --muted: #55636f;
  --rule: #d5dbe1;
  --display: "Big Shoulders Display", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.container { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; line-height: 1.02; margin: 0 0 0.5em; color: var(--ink); letter-spacing: 0.005em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6vw, 4.75rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
h3 { font-size: 1.5rem; font-weight: 700; line-height: 1.15; }
h4 { font-size: 1.125rem; font-weight: 700; }
p { margin: 0 0 1em; max-width: 68ch; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--ink); padding: 10px 16px; z-index: 100; font-weight: 600; }
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--body); font-weight: 600; font-size: 1rem; line-height: 1.2;
  padding: 14px 22px; border: 2px solid transparent; border-radius: 2px;
  text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--sky); color: #fff; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-white, .btn-gold { background: var(--gold); color: var(--ink); }
.btn-white:hover, .btn-gold:hover { background: #fff; color: var(--ink); }
.btn-outline-white { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-outline-white:hover { border-color: #fff; background: #fff; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header { background: var(--ink); color: #fff; position: relative; z-index: 20; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand:hover { color: #fff; }
.brand-mark { width: 48px; height: 40px; flex: none; color: var(--gold); display: grid; place-items: center; font-size: 0; }
.brand-mark svg { width: 48px; height: 28px; }
.brand-text span { display: block; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 1.5rem; line-height: 1; letter-spacing: .01em; }
.brand-sub { font-size: .8125rem; color: #c3cfda; margin-top: 4px; line-height: 1.2; white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a { color: #e6ecf2; text-decoration: none; font-size: .9375rem; font-weight: 600; padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a.active { color: #fff; border-bottom-color: var(--gold); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { padding: 10px 16px; font-size: .9375rem; white-space: nowrap; }
.nav-toggle { display: none; width: 44px; height: 44px; background: transparent; border: 1px solid rgba(255,255,255,.35); border-radius: 2px; cursor: pointer; padding: 0; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: #fff; margin: 4px auto; }

/* ---------- Home hero: the Capitol ---------- */
.hero { background: var(--ink); color: #fff; overflow: hidden; }
.hero .container { position: relative; padding-top: clamp(24px, 4vw, 48px); }
.capitol-stage { position: relative; }
.capitol { display: block; width: 100%; height: auto; }
.capitol image { opacity: 0; transition: opacity 1.4s ease; transform-box: fill-box; transform-origin: 50% 60%; }
.capitol image.is-on { opacity: 1; animation: capitol-drift 9s ease-out forwards; }
@keyframes capitol-drift { from { transform: scale(1.0); } to { transform: scale(1.07); } }
.capitol .cap-fill { fill: var(--navy); }
.capitol .cap-tint { fill: var(--ink); opacity: .16; }
.capitol .cap-lines { fill: none; stroke: var(--gold); stroke-width: 1.2; opacity: .42; vector-effect: non-scaling-stroke; }
.capitol .cap-outline { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; animation: capitol-draw 2.2s .15s cubic-bezier(.6,.1,.2,1) forwards; }
@keyframes capitol-draw { to { stroke-dashoffset: 0; } }
.capitol .cap-photos { opacity: 0; animation: capitol-reveal 1s .8s ease forwards; }
@keyframes capitol-reveal { to { opacity: 1; } }

.hero-inner { position: relative; }
.hero-head, .hero-side { position: relative; z-index: 2; }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 9vw, 4rem); margin: 0; }
.hero p.lede { color: #d5dee7; font-size: 1.0625rem; margin: 0 0 20px; }
.hero-caption { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0 22px; color: #c3cfda; font-size: .9375rem; }
.hero-caption strong { color: var(--gold); font-weight: 600; }
.hero-dots { display: flex; gap: 2px; }
.hero-dots button { width: 26px; height: 26px; padding: 0; border: 0; background: transparent; cursor: pointer; position: relative; }
.hero-dots button::after { content: ""; position: absolute; left: 3px; right: 3px; top: 12px; height: 2px; background: rgba(255,255,255,.3); }
.hero-dots button[aria-current="true"]::after { background: var(--gold); }
.hero-dots button:hover::after { background: #fff; }

@media (min-width: 1200px) {
  .hero .container { padding-top: 28px; }
  .capitol-stage { width: min(100%, max(980px, calc((100vh - 190px) * 1.739))); margin: 0 auto; }
  .hero-head, .hero-side { position: absolute; top: clamp(4px, 1.6vw, 28px); width: 35%; }
  .hero-head { left: 0; }
  .hero-side { right: 0; }
  .hero h1 { font-size: clamp(2.3rem, 3.4vw, 3.7rem); }
}
@media (max-width: 1199px) {
  .hero-head { margin-bottom: 20px; }
  .hero-side { margin: 22px 0 6px; }
  .capitol-stage { max-width: 900px; }
  .capitol .cap-outline { stroke-width: 5; }
  .capitol .cap-lines { display: none; }
}

/* ---------- Inner page hero ---------- */
.page-hero { background: var(--ink); color: #fff; padding: clamp(40px, 7vw, 84px) 0 clamp(36px, 6vw, 68px); position: relative; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--gold); }
.page-hero h1 { color: #fff; max-width: 18ch; }
.page-hero p { color: #d5dee7; font-size: 1.125rem; margin: 0; max-width: 62ch; }
.breadcrumb { font-size: .875rem; color: #a9b8c6; margin-bottom: 18px; }
.breadcrumb a { color: #d5dee7; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-alt { background: var(--stone); }
.section-dark { background: var(--ink); color: #dfe6ed; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark a { color: var(--gold); }
.section-center { margin-bottom: 36px; max-width: 760px; }
.section-intro { color: var(--muted); font-size: 1.125rem; margin: 0 !important; }
.eyebrow, .hero-eyebrow { display: block; font-weight: 600; font-size: .9375rem; color: var(--gold-deep); margin-bottom: 10px; }
.section-dark .eyebrow, .hero-eyebrow { color: var(--gold); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.section-head h2 { margin: 0; max-width: 16ch; }
.section-head p { margin: 0; max-width: 46ch; color: var(--muted); }
.section-dark .section-head p { color: #c3cfda; }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card { border-top: 3px solid var(--ink); padding: 18px 0 0; background: transparent; }
.card-icon { display: none; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; }
.section-dark .card { border-top-color: var(--gold); }
.section-dark .card p { color: #c3cfda; }

.pillar-list { list-style: none; margin: 0; padding: 0; }
.pillar-list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.pillar-list li:last-child { border-bottom: 0; }
.pillar-list p { color: var(--muted); }
.pillar-check { color: var(--gold-deep); font-weight: 700; flex: none; }

.type-strip { display: flex; flex-wrap: wrap; gap: 10px; }
.type-chip { border: 1px solid var(--ink); padding: 8px 14px; font-weight: 600; font-size: .9375rem; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split img.portrait { aspect-ratio: 3 / 4; object-position: top; max-width: 440px; background: var(--stone); }

.quote-block { border-left: 4px solid var(--gold); padding: 6px 0 6px 24px; font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.2; color: var(--ink); max-width: 30em; }

.cta-banner { background: var(--ink); color: #fff; padding: clamp(32px, 5vw, 64px); }
.cta-banner h2 { color: #fff; max-width: 20ch; }
.cta-banner p { color: #d5dee7; margin-bottom: 24px; }

/* ---------- Home: property types ---------- */
.type-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; list-style: none; margin: 0; padding: 0; }
.type-tile a { display: block; text-decoration: none; color: inherit; }
.type-tile img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.type-tile h3 { margin: 14px 0 4px; display: inline-block; border-bottom: 3px solid transparent; }
.type-tile a:hover h3 { border-bottom-color: var(--gold); }
.type-tile p { color: var(--muted); margin: 0; font-size: 1rem; }

/* ---------- Home: investment reasons ---------- */
.reasons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; list-style: none; margin: 0; padding: 0; }
.reasons li { padding: 22px 0; border-top: 1px solid rgba(255,255,255,.18); }
.reasons h3 { margin: 0 0 6px; color: var(--gold); }
.reasons p { margin: 0; color: #d5dee7; }
.fineprint { font-size: .9375rem; color: #a9b8c6; margin-top: 28px; max-width: 80ch; }

/* ---------- Home: steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 3.2rem 1fr; gap: 4px 12px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.steps li::before { content: counter(step); font-family: var(--display); font-weight: 800; font-size: 2.2rem; line-height: 1; color: var(--gold-deep); grid-row: span 2; }
.steps h3 { margin: 0; }
.steps p { margin: 0; color: var(--muted); grid-column: 2; }

/* ---------- Home: about facts ---------- */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 28px 0; padding: 0; }
.facts div { border-top: 3px solid var(--gold); padding-top: 12px; }
.facts dt { font-family: var(--display); font-weight: 800; font-size: 2.4rem; line-height: 1; color: var(--ink); }
.facts dd { margin: 6px 0 0; color: var(--muted); font-size: .9375rem; line-height: 1.4; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-family: var(--display); font-weight: 700; font-size: 1.5rem; line-height: 1.15; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 1.8rem; color: var(--gold-deep); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 22px; margin: 0; color: var(--muted); }

/* ---------- Forms ---------- */
.form-card { background: var(--paper); border: 1px solid var(--rule); border-top: 4px solid var(--ink); padding: clamp(20px, 3vw, 36px); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: 6px; color: var(--ink); }
.field input, .field select, .field textarea, .search-bar input, .search-bar select {
  width: 100%; font: inherit; color: var(--text); background: #fff; border: 1px solid #9aa7b3; border-radius: 2px; padding: 12px 14px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--sky); outline: 3px solid rgba(31,95,168,.25); outline-offset: 0; }
.form-note, .form-status { font-size: .9375rem; color: var(--muted); margin-top: 12px; }
.form-status { display: none; }
.search-bar { display: grid; grid-template-columns: 1fr 2fr auto; gap: 12px; padding: 24px 0; }
.info-strip { display: grid; gap: 20px; }
.stats-row { display: flex; flex-wrap: wrap; gap: 32px; }
.stat strong { display: block; font-family: var(--display); font-size: 2.2rem; line-height: 1; color: var(--ink); }
.stat span { color: var(--muted); font-size: .9375rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c3cfda; padding: 64px 0 28px; font-size: .9688rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 36px; }
.footer-brand .brand-name { color: #fff; font-size: 1.75rem; margin-bottom: 10px; }
.footer-brand p { color: #c3cfda; max-width: 38ch; }
.site-footer h4 { color: var(--gold); font-family: var(--body); font-size: .9375rem; font-weight: 600; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #e6ecf2; text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.16); margin-top: 40px; padding-top: 22px; }
.footer-legal p { max-width: none; font-size: .9063rem; color: #c3cfda; margin: 0; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 18px; font-size: .875rem; color: #a9b8c6; }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .main-nav { gap: 18px; }
  .site-header .container { gap: 16px; }
}
@media (max-width: 1100px) {
  .nav-cta .btn { display: none; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; border-top: 1px solid rgba(255,255,255,.16); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 1.0625rem; }
  .grid-3, .grid-4, .type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .reasons { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .grid-2, .grid-3, .grid-4, .type-grid, .form-row, .footer-grid, .facts, .search-bar { grid-template-columns: 1fr; }
  .brand-sub { font-size: .75rem; white-space: normal; }
  .brand-name { font-size: 1.3rem; }
  .hero-caption { flex-direction: column; align-items: flex-start; gap: 6px; }
  .faq summary { font-size: 1.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .capitol .cap-outline { animation: none; stroke-dashoffset: 0; }
  .capitol .cap-photos { animation: none; opacity: 1; }
  .capitol image { transition: none; }
  .capitol image.is-on { animation: none; }
}
