/* Joe Morrison | Commercial Real Estate
   Layout idea: dark, photo-led hero and footer bracket light working sections;
   condensed uppercase display type for headlines, quiet sans for reading. */
@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%; src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-display: swap; font-weight: 400 700; src: url("../fonts/instrument-sans-latin-wght-normal.woff2") format("woff2"); }
:root {
  --ink: #0d0f13;
  --ink-2: #161920;
  --ink-3: #23272f;
  --paper: #f3f3f0;
  --card: #ffffff;
  --text: #15171b;
  --muted: #5d636d;
  --muted-on-dark: #a2a8b2;
  --line: #dddeda;
  --line-dark: rgba(255, 255, 255, 0.12);
  --accent: #2f5dff;
  --accent-hover: #1e47e0;
  --accent-soft: #e6ecff;
  --sale: #2f5dff;
  --lease: #0f8a6a;
  --font-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  --radius-sm: 8px;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1240px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.display, h1, h2 {
  font-family: var(--font-display);
  font-stretch: 72%;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.95;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: clamp(48px, 9vw, 132px); }
h2 { font-size: clamp(36px, 5.2vw, 68px); }
h3 { font-family: var(--font-body); font-size: 20px; line-height: 1.3; margin: 0; font-weight: 600; text-wrap: balance; }
p { margin: 0; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--muted); max-width: 60ch; }
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.num { font-variant-numeric: tabular-nums; }
.prose { max-width: 68ch; display: grid; gap: 1.1em; font-size: 18px; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); margin-top: 0.8em; }
.prose ul { margin: 0; padding-left: 1.2em; display: grid; gap: 0.5em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: rgba(127,127,127,.12); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-block { width: 100%; }
.text-link { color: var(--accent); font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link svg { width: 16px; height: 16px; }

/* ---------- preview banner ---------- */
.preview-bar { background: #fff4d6; color: #5a4300; font-size: 14px; text-align: center; padding: 8px var(--gutter); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(13, 15, 19, 0.92); backdrop-filter: blur(10px); color: #fff; border-bottom: 1px solid var(--line-dark); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { text-decoration: none; display: grid; line-height: 1; gap: 4px; }
.brand-name { font-family: var(--font-display); font-stretch: 72%; font-weight: 800; font-size: 26px; letter-spacing: 0.02em; text-transform: uppercase; }
.brand-sub { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted-on-dark); }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: 15px; font-weight: 500; color: #d9dce1; padding: 10px 12px; border-radius: 999px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.08); }
.nav-links .btn { color: #fff; padding: 10px 18px; min-height: 42px; margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-dark); color: #fff; width: 46px; height: 46px; border-radius: 999px; align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; }
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink); padding: 8px var(--gutter) 20px; border-bottom: 1px solid var(--line-dark); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line-dark); font-size: 17px; }
  .nav-links .btn { margin: 16px 0 0; border-bottom: 0; justify-content: center; padding: 14px; }
}

/* ---------- dark sections ---------- */
.dark { background: var(--ink); color: #fff; }
.dark .lede { color: var(--muted-on-dark); }
.hero .lede { color: #e4e7ec; text-shadow: 0 1px 12px rgba(0,0,0,.45); }
.hero .eyebrow { color: #b3c3ff; text-shadow: 0 1px 10px rgba(0,0,0,.4); }
.dark .eyebrow { color: #8fa8ff; }

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 0; overflow: hidden; position: relative; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(13,15,19,.88) 0%, rgba(13,15,19,.62) 42%, rgba(13,15,19,.18) 100%),
              linear-gradient(0deg, rgba(13,15,19,.85) 0%, rgba(13,15,19,0) 30%); }
@media (max-width: 860px) { .hero-bg::after { background: linear-gradient(180deg, rgba(13,15,19,.55) 0%, rgba(13,15,19,.78) 50%, rgba(13,15,19,.95) 100%); } }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(28px, 5vw, 72px); align-items: end; }
.hero-copy { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; gap: 28px; padding-bottom: clamp(32px, 6vw, 88px); align-content: center; }
.hero h1 { font-size: clamp(56px, 8.6vw, 132px); line-height: 0.86; }
.hero h1 span { display: block; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.75); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-photo { position: relative; align-self: end; }
.hero-photo img { width: 100%; max-height: 640px; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 18%; border-radius: var(--radius) var(--radius) 0 0; border: 3px solid #fff; border-bottom: 0; box-shadow: 0 30px 70px rgba(0,0,0,.55); }
.hero-badge { position: absolute; left: -28px; bottom: 44px; background: #fff; color: var(--text); border-radius: 12px; padding: 14px 18px 14px 16px; border-left: 4px solid var(--accent); box-shadow: 0 0 0 1px rgba(13,15,19,.08), 0 24px 60px rgba(0,0,0,.6); display: grid; gap: 2px; font-size: 13px; }
.hero-badge strong { font-size: 15px; }
.hero-badge span { color: var(--muted); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 8px; }
  .hero-photo { max-width: 460px; width: 100%; margin-inline: auto; }
  .hero-badge { left: 12px; bottom: 16px; }
}

/* hero review card */
.hero-reviews { position: absolute; right: -24px; bottom: 16px; width: 214px; padding: 10px 12px; border-radius: 13px; color: #fff; text-decoration: none;
  background: rgba(24,27,34,.52); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid rgba(255,255,255,.22); box-shadow: 0 24px 60px rgba(0,0,0,.45); display: grid; gap: 7px; transition: transform .25s, border-color .25s; }
.hero-reviews:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.4); }
.hr-score { display: flex; align-items: center; justify-content: center; gap: 10px; }
.hr-score .laurel { width: 15px; height: 30px; flex: none; opacity: .95; }
.hr-score .laurel.flip { transform: scaleX(-1); }
.hr-score > div { display: grid; justify-items: center; gap: 2px; }
.hr-num { font-family: var(--font-display); font-stretch: 72%; font-weight: 800; font-size: 21px; line-height: 1; }
.hr-trust { font-size: 10.5px; line-height: 1.2; color: rgba(255,255,255,.8); margin-top: 2px; white-space: nowrap; }
.hr-stars { color: #ffc94d; letter-spacing: 1.5px; font-size: 11px; line-height: 1; }
.hr-quotes { display: grid; min-height: 46px; border-top: 1px solid rgba(255,255,255,.16); padding-top: 7px; }
.hr-quotes p { grid-area: 1 / 1; margin: 0; font-size: 12px; line-height: 1.3; opacity: 0; animation: hr-cycle 20s infinite; animation-delay: calc(var(--i) * 5s); }
.hr-quotes p span { display: block; margin-top: 2px; font-size: 10.5px; color: rgba(255,255,255,.68); }
@keyframes hr-cycle { 0% { opacity: 0; transform: translateY(6px); } 4%, 21.0% { opacity: 1; transform: none; } 25.0%, 100% { opacity: 0; transform: translateY(-6px); } }
.hr-foot { display: flex; align-items: center; gap: 12px; font-size: 13px; line-height: 1.3; color: rgba(255,255,255,.9); }
.hr-avatars { display: flex; }
.hr-avatars i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 13px; color: #fff; background: var(--accent); border: 2px solid rgba(24,27,34,.9); }
.hr-avatars i + i { margin-left: -9px; }
.hr-avatars i:nth-child(2) { background: #2a9d8f; } .hr-avatars i:nth-child(3) { background: #c0793a; } .hr-avatars i:nth-child(4) { background: #7a5cc9; }
@media (prefers-reduced-motion: reduce) { .hr-quotes p { animation: none; } .hr-quotes p:first-child { opacity: 1; } }
@media (max-width: 860px) { .hero-reviews { right: 12px; left: auto; bottom: 12px; width: min(214px, calc(100% - 24px)); } }

.stats { border-top: 1px solid var(--line-dark); background: rgba(13,15,19,.6); backdrop-filter: blur(6px); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 28px 24px 30px 0; display: grid; gap: 6px; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.stat-num { font-family: var(--font-display); font-stretch: 72%; font-weight: 800; font-size: clamp(36px, 4.5vw, 56px); line-height: 1; font-variant-numeric: tabular-nums; }
.stat-label { color: var(--muted-on-dark); font-size: 14px; }
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 22px 12px 22px 0; }
  .stat + .stat { padding-left: 0; border-left: 0; }
  .stat:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line-dark); }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-dark); grid-column: 1 / -1; }
}

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: clamp(48px, 8vw, 104px) 0 clamp(40px, 6vw, 72px); }
.page-hero .wrap { display: grid; gap: 20px; }
.page-hero h1 { font-size: clamp(52px, 9vw, 120px); }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.tight { padding: clamp(40px, 6vw, 72px) 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head > div { display: grid; gap: 16px; }
.white { background: var(--card); }

/* ---------- property cards ---------- */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.pcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; transition: transform .25s, box-shadow .25s; }
.pcard:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(13,15,19,.10); }
.pcard-media { position: relative; aspect-ratio: 4 / 3; background: #d9dbe0; overflow: hidden; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pcard:hover .pcard-media img { transform: scale(1.03); }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: #fff; color: var(--text); }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sale); }
.pill.lease::before { background: var(--lease); }
.pill.both::before { background: linear-gradient(90deg, var(--sale) 50%, var(--lease) 50%); }
.pcard .pill { position: absolute; top: 14px; left: 14px; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.pcard-body { padding: 20px 22px 22px; display: grid; gap: 10px; flex: 1; align-content: start; }
.pcard-meta { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.pcard-title { font-size: 21px; font-weight: 600; line-height: 1.25; }
.pcard-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 14px; margin-top: 4px; border-top: 1px solid var(--line); }
.pcard-price { font-family: var(--font-display); font-stretch: 72%; font-weight: 800; font-size: 28px; line-height: 1; font-variant-numeric: tabular-nums; }
.pcard-size { font-size: 14px; color: var(--muted); text-align: right; }

/* filters */
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid var(--line); background: var(--card); border-radius: 999px; padding: 9px 16px; font-size: 15px; font-weight: 600; cursor: pointer; color: var(--text); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip .count { color: var(--muted); font-weight: 500; margin-left: 4px; }
.chip[aria-pressed="true"] .count { color: var(--muted-on-dark); }
.select { appearance: none; border: 1.5px solid var(--line); background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%2315171b' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 16px center; border-radius: 999px; padding: 10px 42px 10px 16px; font: inherit; font-size: 15px; font-weight: 600; color: var(--text); }
.empty { padding: 40px; text-align: center; color: var(--muted); border: 1.5px dashed var(--line); border-radius: var(--radius); }

/* ---------- services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.svc { background: var(--card); padding: 32px 28px; display: grid; gap: 14px; align-content: start; }
.svc-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.svc-icon svg { width: 22px; height: 22px; }
.svc p { color: var(--muted); }
.svc ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15px; }
.svc li { display: flex; gap: 10px; }
.svc li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 9px; border-radius: 50%; background: var(--accent); }
@media (max-width: 980px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .svc-grid { grid-template-columns: 1fr; } }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { border-top: 2px solid var(--line-dark); padding-top: 20px; display: grid; gap: 10px; counter-increment: step; }
.step::before { content: "0" counter(step); font-family: var(--font-display); font-stretch: 72%; font-weight: 800; font-size: 40px; line-height: 1; color: #8fa8ff; }
.step p { color: var(--muted-on-dark); font-size: 16px; }
@media (max-width: 900px) { .process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } }

/* ---------- split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split-media img { width: 100%; border-radius: var(--radius); aspect-ratio: 5 / 4; object-fit: cover; }
.split-copy { display: grid; gap: 24px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.about-side { display: grid; gap: 28px; }
.about-side img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.facts-list { display: grid; gap: 22px; }
.facts-list h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.facts-list ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 16px; }
.facts-list .sub { color: var(--muted); font-size: 14px; display: block; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } .about-side { position: static; } }

.mix { display: grid; gap: 14px; }
.mix-row { display: grid; grid-template-columns: 110px 1fr 48px; gap: 14px; align-items: center; font-size: 15px; }
.mix-bar { height: 10px; border-radius: 999px; background: #e3e5ea; overflow: hidden; }
.mix-bar span { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.mix-row b { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- track record ---------- */
.track-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tcard { display: grid; gap: 12px; }
.tcard img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); width: 100%; }
.tcard-meta { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.dark .tcard-meta { color: var(--muted-on-dark); }
.tcard-value { font-family: var(--font-display); font-stretch: 72%; font-weight: 800; font-size: 26px; line-height: 1; }
.closed-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.track-list { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.track-list > div { background: var(--card); padding: 18px 20px; display: grid; gap: 4px; }
.track-list .addr { font-weight: 600; }
.track-list .det { font-size: 14px; color: var(--muted); }
@media (max-width: 980px) { .track-grid { grid-template-columns: 1fr 1fr; } .track-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .track-grid, .track-list { grid-template-columns: 1fr; } }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.quote { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 20px; align-content: space-between; }
.quote blockquote { margin: 0; font-size: 18px; line-height: 1.5; }
.stars { color: #f5a623; letter-spacing: 3px; font-size: 18px; line-height: 1; }
.quote figcaption { font-size: 14px; color: var(--muted); }
.quote figcaption strong { display: block; color: var(--text); font-size: 15px; }
.sample { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: #fff4d6; color: #6b5000; padding: 4px 8px; border-radius: 6px; width: fit-content; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- tools ---------- */
.tool { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.tool-copy { display: grid; gap: 24px; }
.tool-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; margin: 0; padding: 0; list-style: none; }
.tool-feats li { display: grid; gap: 4px; }
.tool-feats strong { font-size: 16px; }
.tool-feats span { font-size: 15px; color: var(--muted); }
.dark .tool-feats span { color: var(--muted-on-dark); }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 12px; background: #000; color: #fff; border: 1px solid #3a3d44; border-radius: 12px; padding: 10px 18px 10px 14px; text-decoration: none; min-height: 56px; }
.store:hover { border-color: #8fa8ff; }
.store svg { width: 26px; height: 26px; }
.store small { display: block; font-size: 11px; color: #c5c9d0; line-height: 1.1; }
.store b { display: block; font-size: 18px; line-height: 1.15; font-weight: 600; }
@media (max-width: 860px) { .tool { grid-template-columns: 1fr; } .tool-feats { grid-template-columns: 1fr; } }

.phone { width: min(300px, 80%); margin-inline: auto; aspect-ratio: 9 / 19; background: #0b0c0f; border-radius: 44px; padding: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.45), inset 0 0 0 2px #2b2e35; }
.phone-screen { height: 100%; border-radius: 34px; background: linear-gradient(180deg, #121722, #0b0e14); padding: 46px 18px 18px; display: flex; flex-direction: column; gap: 12px; color: #fff; font-size: 13px; position: relative; overflow: hidden; }
.phone-screen::before { content: ""; position: absolute; top: 12px; left: 50%; translate: -50% 0; width: 90px; height: 24px; background: #000; border-radius: 999px; }
.ph-title { font-weight: 700; font-size: 20px; }
.ph-field { background: #1b2130; border-radius: 12px; padding: 10px 12px; display: grid; gap: 2px; }
.ph-field span { color: #8e96a6; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.ph-field b { font-size: 17px; font-variant-numeric: tabular-nums; }
.ph-result { margin-top: auto; background: var(--accent); border-radius: 16px; padding: 14px; display: grid; gap: 2px; }
.ph-result span { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; opacity: .85; }
.ph-result b { font-size: 34px; font-family: var(--font-display); font-stretch: 72%; line-height: 1; }
.ph-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.ph-tabs i { font-style: normal; font-size: 11px; padding: 5px 9px; border-radius: 999px; background: #1b2130; color: #b9c0cc; }
.ph-tabs i.on { background: #fff; color: #000; }
.ph-note { text-align: center; font-size: 12px; color: var(--muted-on-dark); margin-top: 14px; }

.soon { border: 1px solid var(--line); background: var(--card); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .soon { grid-template-columns: 1fr; } }
.status-tag { display: inline-flex; gap: 8px; align-items: center; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8a5a00; background: #fff1d1; padding: 6px 10px; border-radius: 999px; width: fit-content; }

/* ---------- articles ---------- */
.acard { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 14px; text-decoration: none; align-content: start; transition: border-color .2s, transform .2s; }
.acard:hover { border-color: var(--accent); transform: translateY(-2px); }
.acard p { color: var(--muted); font-size: 16px; }
.acard .meta { font-size: 13px; color: var(--muted); display: flex; gap: 12px; flex-wrap: wrap; }
.tag { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.article-head { display: grid; gap: 22px; max-width: 900px; }
.article-head h1 { font-size: clamp(40px, 6vw, 80px); }
.byline { display: flex; align-items: center; gap: 14px; font-size: 15px; color: var(--muted-on-dark); }
.byline img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: center 20%; }
.byline strong { color: #fff; display: block; }

/* ---------- property detail ---------- */
.crumbs { font-size: 14px; color: var(--muted-on-dark); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; color: #d4d8de; }
.crumbs a:hover { text-decoration: underline; }
.prop-head { display: grid; gap: 18px; padding: 40px 0 36px; }
.prop-head h1 { font-size: clamp(40px, 6.5vw, 92px); }
.prop-sub { font-size: 19px; color: var(--muted-on-dark); }
.prop-tags { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.prop-tags .pill { background: #fff; }
.ghost-pill { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line-dark); color: #d4d8de; }

.gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; }
.gallery-main { position: relative; border-radius: var(--radius); overflow: hidden; background: #1c1f26; aspect-ratio: 16 / 10; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: grid; gap: 12px; grid-auto-rows: minmax(0, 1fr); height: 0; min-height: 100%; }
.thumb { border: 0; padding: 0; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; background: #1c1f26; opacity: .65; transition: opacity .2s; min-height: 0; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb[aria-current="true"], .thumb:hover { opacity: 1; }
.gallery.single { grid-template-columns: 1fr; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr; }
  .thumbs { grid-template-columns: repeat(3, 1fr); grid-auto-rows: auto; height: auto; min-height: 0; }
  .thumb { aspect-ratio: 4 / 3; }
}

.prop-body { display: grid; grid-template-columns: 1fr 380px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.prop-main { display: grid; gap: 48px; min-width: 0; }
.prop-main section { display: grid; gap: 18px; }
.prop-main h2 { font-size: clamp(28px, 3.2vw, 40px); }
.facts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); margin: 0; }
.facts div { display: grid; gap: 4px; padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); }
.facts div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
.facts dt { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.facts dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } .facts div:nth-child(even) { padding-left: 0; border-left: 0; } }
.feature-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.feature-list li { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 15px; display: inline-flex; gap: 8px; align-items: center; }
.feature-list svg { width: 16px; height: 16px; color: var(--accent); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); }
table { border-collapse: collapse; width: 100%; font-size: 15px; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; background: #fafaf8; }
tr:last-child td { border-bottom: 0; }
td a { color: var(--accent); font-weight: 600; text-decoration: none; }

.side-card { position: sticky; top: 96px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 18px; }
.side-price { display: grid; gap: 4px; }
.side-price small { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.side-price b { font-family: var(--font-display); font-stretch: 72%; font-weight: 800; font-size: 44px; line-height: 1; font-variant-numeric: tabular-nums; }
.side-price span { color: var(--muted); font-size: 15px; }
.side-actions { display: grid; gap: 10px; }
.files { display: grid; gap: 8px; }
.files a { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 15px; font-weight: 600; padding: 10px 12px; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.files a:hover { border-color: var(--accent); color: var(--accent); }
.files svg { width: 18px; height: 18px; flex: none; }
.agent { display: flex; gap: 14px; align-items: center; padding-top: 18px; border-top: 1px solid var(--line); }
.agent img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; object-position: center 20%; }
.agent div { display: grid; font-size: 14px; line-height: 1.45; }
.agent strong { font-size: 16px; }
.agent a { color: var(--accent); text-decoration: none; }
.colist { font-size: 13px; color: var(--muted); }
.disclaimer { font-size: 13px; color: var(--muted); max-width: 80ch; }
@media (max-width: 980px) { .prop-body { grid-template-columns: 1fr; } .side-card { position: static; order: -1; } }

/* ---------- forms ---------- */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; width: 100%; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: #fff; color: var(--text);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); flex: none; }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: 13px; color: var(--muted); }
.form-status { font-size: 15px; padding: 12px 14px; border-radius: var(--radius-sm); display: none; }
.form-status.show { display: block; }
.form-status.ok { background: #e3f5ee; color: #0b5e47; }
.form-status.err { background: #fde8e8; color: #8b1c1c; }
.form-status.info { background: #fff4d6; color: #5a4300; }

/* modal */
dialog.modal { border: 0; padding: 0; border-radius: var(--radius); width: min(560px, calc(100% - 24px)); max-height: calc(100% - 24px); box-shadow: 0 40px 100px rgba(0,0,0,.4); color: var(--text); }
dialog.modal::backdrop { background: rgba(13,15,19,.6); backdrop-filter: blur(2px); }
.modal-inner { padding: clamp(22px, 4vw, 34px); display: grid; gap: 18px; }
.modal-head { display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.modal-head h2 { font-size: 34px; }
.modal-close { background: var(--paper); border: 0; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; flex: none; }
.modal-close svg { width: 18px; height: 18px; }

/* contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.ccard { display: flex; gap: 16px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; text-decoration: none; }
.ccard svg { width: 22px; height: 22px; color: var(--accent); flex: none; }
.ccard small { display: block; font-size: 13px; color: var(--muted); }
.ccard b { font-size: 17px; font-weight: 600; }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { background: var(--accent); color: #fff; border-radius: var(--radius); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.cta-band h2 { font-size: clamp(34px, 4.6vw, 60px); }
.cta-band p { color: #dfe6ff; margin-top: 12px; max-width: 52ch; }
.cta-band .btn { background: #fff; color: var(--accent); }
.cta-band .btn:hover { background: #eef2ff; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #fff; padding: clamp(56px, 8vw, 96px) 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.footer-top h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted-on-dark); font-weight: 600; margin-bottom: 14px; }
.footer-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.footer-top a { text-decoration: none; color: #e2e5ea; }
.footer-top a:hover { color: #fff; text-decoration: underline; }
.footer-brand { display: grid; gap: 18px; align-content: start; }
.footer-brand p { color: var(--muted-on-dark); font-size: 15px; max-width: 40ch; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-dark); color: #fff; }
.socials a:hover { background: var(--accent); border-color: var(--accent); }
.socials svg { width: 18px; height: 18px; }
.legal { padding-top: 28px; display: grid; gap: 10px; font-size: 13px; color: var(--muted-on-dark); }
.legal .lic { color: #e2e5ea; font-size: 14px; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }

.stack-sm { display: grid; gap: 12px; }
.center { text-align: center; justify-items: center; }
.mt-lg { margin-top: 40px; }

/* ---------- articles: tables, callouts, faq, sources ---------- */
.prose ol { margin: 0; padding-left: 1.3em; display: grid; gap: 0.6em; }
.prose a { color: var(--accent); text-underline-offset: 3px; }
.prose a.btn, .prose a.store { color: #fff; text-decoration: none; }
.prose a.pcard, .prose a.acard { color: inherit; text-decoration: none; }
.prose-table { margin: 0.4em 0; display: grid; gap: 8px; }
.prose-table td { white-space: normal; min-width: 110px; }
.prose-table figcaption { font-size: 13px; color: var(--muted); }
.callout { background: var(--accent-soft); border-left: 4px solid var(--accent); padding: 16px 20px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 16px; }
.faq { display: grid; gap: 10px; margin-top: 1em; }
.faq h2 { margin-bottom: 8px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 18px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--muted); font-size: 16px; }
.sources { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 0.6em; }
.sources h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 8px; }
.sources ol { font-size: 14px; gap: 4px; }
.sources a { color: var(--muted); }
.draft-bar { background: #fff4d6; color: #5a4300; padding: 10px var(--gutter); text-align: center; font-size: 14px; font-weight: 600; }
.inline-cards { margin: 0.6em 0; }
.link-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.link-list a { color: var(--accent); font-weight: 600; text-decoration: none; }
.link-list a:hover { text-decoration: underline; }

/* calculator */
.calc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 28px); display: grid; gap: 22px; margin: 0.4em 0; }
.calc-inputs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.calc-out { margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.calc-out div { background: #fafaf8; padding: 12px 14px; display: grid; gap: 2px; }
.calc-out .big { grid-column: span 2; background: var(--ink); color: #fff; }
.calc-out dt { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.calc-out .big dt { color: var(--muted-on-dark); }
.calc-out dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; font-size: 17px; }
.calc-out .big dd { font-family: var(--font-display); font-stretch: 72%; font-size: 34px; line-height: 1; }
.calc-out { grid-template-columns: repeat(4, 1fr); }
.calc-foot { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; font-size: 15px; color: var(--muted); }
@media (max-width: 760px) { .calc-inputs { grid-template-columns: 1fr 1fr; } .calc-out { grid-template-columns: 1fr 1fr; } .calc-out .big { grid-column: span 1; } }

/* city pages */
.city-stats { display: flex; flex-wrap: wrap; gap: 12px 40px; margin-top: 8px; }
.city-stats div { display: grid; gap: 2px; }
.city-stats b { font-family: var(--font-display); font-stretch: 72%; font-weight: 800; font-size: clamp(34px, 4vw, 48px); line-height: 1; }
.city-stats span { color: var(--muted-on-dark); font-size: 14px; }
.snap { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; }
.snap h2 { font-size: 30px; }
.snap dl { margin: 0; display: grid; }
.snap dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.snap dt { color: var(--muted); }
.snap dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.snap a { color: var(--muted); }
.city-card img { border-radius: var(--radius-sm); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.art-img { margin: 0.4em 0; }
.art-img img { width: 100%; border-radius: var(--radius); aspect-ratio: 16 / 10; object-fit: cover; }
.art-img { display: grid; gap: 8px; }
.art-img figcaption { font-size: 14px; color: var(--muted); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: 1fr; } }

/* associations marquee */
.assoc { padding: 44px 0 48px; overflow: hidden; }
.assoc-head { margin-bottom: 22px; }
.assoc-head .eyebrow { font-family: var(--font-body); font-stretch: 100%; font-size: 13px; line-height: 1.2; text-transform: uppercase; letter-spacing: .14em; color: var(--muted-on-dark); }
.marquee { display: flex; width: max-content; animation: marquee 48s linear infinite; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.assoc:hover .marquee, .assoc:focus-within .marquee { animation-play-state: paused; }
.marquee-track { display: flex; gap: 0; list-style: none; margin: 0; padding: 0; }
.assoc-item { flex: none; padding: 0 clamp(24px, 3.5vw, 48px); border-right: 1px solid var(--line-dark); display: flex; }
.assoc-item a, .assoc-item > span:first-child { text-decoration: none; color: inherit; }
.assoc-item a { display: grid; gap: 4px; }
.assoc-item:not(:has(a)) { display: grid; gap: 4px; }
.assoc-name { font-family: var(--font-display); font-stretch: 72%; font-weight: 800; font-size: clamp(22px, 2.4vw, 30px); text-transform: uppercase; line-height: 1; color: #fff; white-space: nowrap; }
.assoc-sub { font-size: 13px; color: var(--muted-on-dark); white-space: nowrap; }
.assoc-item { align-items: center; }
.assoc-item a, .assoc-item:not(:has(a)) { justify-items: start; align-content: center; }
.assoc-item img.logo { height: 52px; width: auto; max-width: 200px; object-fit: contain; opacity: .88; transition: opacity .2s; }
.assoc-item img.badge { height: 96px; width: 96px; object-fit: contain; opacity: .88; transition: opacity .2s; }
.assoc-item a:hover img.badge { opacity: 1; }
.assoc-item a:hover img.logo { opacity: 1; }
.assoc-item a:hover .assoc-name { color: #b3c3ff; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { animation: none; width: auto; flex-wrap: wrap; -webkit-mask-image: none; mask-image: none; padding-inline: var(--gutter); row-gap: 20px; }
  .marquee-track[aria-hidden="true"] { display: none; }
  .marquee-track { flex-wrap: wrap; row-gap: 20px; }
}
.assoc-item img.logo.tall { height: 72px; }
.assoc-item img.logo.xl { height: 96px; max-width: 240px; }
