/* Concept 1 — Classic NYC boutique property management
   Mobile-first: 390px base, then 768px, 1024px, 1200px. */

:root {
  --navy: #0B1F3A;
  --navy-2: #142b4d;
  --gold: #B08A2E;
  --gold-text: #7A5E18;
  --ink: #1A1A1A;
  --muted: #4a4f57;
  --ivory: #F4F1EA;
  --line: #ddd7ca;
  --error: #a12622;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --wrap: 1160px;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.55; color: var(--ink); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--gold-text); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.22; margin: 0 0 .5em; color: var(--navy); letter-spacing: -.005em; }
h1 { font-size: 30px; }
h2 { font-size: 26px; }
h3 { font-size: 19px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 200; background: #fff; color: var(--navy); padding: 10px 14px; font-weight: 600; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon-lg { width: 24px; height: 24px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; font: 600 16px/1.2 var(--sans); text-decoration: none; border: 0; border-radius: 2px; cursor: pointer; transition: background-color .15s ease; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #c29a37; color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); color: #fff; }

/* Utility bar */
.utility-bar { background: #fff; border-bottom: 1px solid var(--line); font-size: 13px; }
.utility-inner { display: flex; align-items: center; justify-content: center; min-height: 38px; gap: 16px; }
.utility-phone { display: none; color: var(--ink); text-decoration: none; }
.utility-links { list-style: none; display: flex; gap: 20px; }
.utility-links a { color: var(--navy); text-decoration: none; padding: 9px 0; display: inline-block; font-weight: 600; }
.utility-links a:hover { text-decoration: underline; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); color: #fff; }
.header-inner { display: flex; align-items: center; gap: 12px; min-height: var(--header-h); position: relative; }
.logo { display: flex; flex-direction: column; color: #fff; text-decoration: none; margin-right: auto; line-height: 1; }
.logo:hover { color: #fff; }
.logo-mark { font-family: var(--serif); font-weight: 600; font-size: 24px; letter-spacing: .04em; }
.logo-word { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; margin-top: 4px; color: #d9cfb6; }
.header-phone { display: inline-flex; align-items: center; gap: 6px; color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 4px; white-space: nowrap; }
.header-phone:hover { color: #fff; text-decoration: underline; }

.menu-toggle { width: 44px; height: 44px; display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; background: transparent; border: 1px solid rgba(255,255,255,.35); border-radius: 2px; cursor: pointer; padding: 0; }
.menu-bar { width: 20px; height: 2px; background: #fff; transition: transform .2s ease, opacity .2s ease; }
.nav-open .menu-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .menu-bar:nth-child(2) { opacity: 0; }
.nav-open .menu-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.primary-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); border-top: 1px solid rgba(255,255,255,.14); padding: 4px 20px 24px; max-height: calc(100vh - var(--header-h)); overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; }
.nav-open .primary-nav { visibility: visible; opacity: 1; transform: none; transition: opacity .2s ease, transform .2s ease; }
.primary-nav ul { list-style: none; }
.primary-nav li a { display: block; padding: 14px 0; color: #fff; text-decoration: none; font-size: 18px; border-bottom: 1px solid rgba(255,255,255,.14); }
.primary-nav li a:hover { color: #e6d6ab; }
.nav-cta { width: 100%; margin-top: 20px; }
.nav-overlay { position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,.45); }
html.nav-open, html.nav-open body { overflow: hidden; }

/* Hero */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.52); }
.hero-content { position: relative; padding: 64px 0 56px; max-width: 640px; }
.hero-kicker { font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #e6d6ab; margin-bottom: 12px; }
.hero h1 { color: #fff; }
.hero p { font-size: 17px; }
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 24px; }
.hero-actions .btn { width: 100%; }
.hero-link { color: #fff; font-weight: 600; padding: 6px 0; }
.hero-link:hover { color: #e6d6ab; }

/* Trust strip */
.trust { background: var(--ivory); border-bottom: 1px solid var(--line); padding: 48px 0; }
.trust-title { font-size: 22px; margin-bottom: 20px; }
.trust-list { list-style: none; display: grid; gap: 20px; }
.trust-list li { border-top: 2px solid var(--gold); padding-top: 12px; }
.trust-list strong { display: block; color: var(--navy); font-size: 17px; margin-bottom: 2px; }
.trust-list span { color: var(--muted); }

/* Sections */
.section { padding: 56px 0; }
.section-ivory { background: var(--ivory); }
.section-head { max-width: 720px; margin-bottom: 32px; }
.section-head p:last-child { margin-bottom: 0; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 8px; }
.eyebrow-light { color: #e6d6ab; }

.scopes { display: grid; gap: 32px; }
.scope { border-top: 1px solid var(--line); padding-top: 24px; }
.scope .icon { color: var(--navy); margin-bottom: 14px; }
.scope p { color: var(--muted); margin: 0; }

.ops-list { list-style: none; display: grid; column-gap: 48px; }
.ops-list li { padding: 16px 0; border-top: 1px solid var(--line); }
.ops-list strong { display: block; color: var(--navy); font-size: 17px; }
.ops-list span { color: var(--muted); }

.split { display: grid; gap: 32px; align-items: center; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split-body > :last-child { margin-bottom: 0; }

.steps { list-style: none; counter-reset: step; margin: 24px 0 28px; }
.steps li { counter-increment: step; position: relative; padding: 0 0 18px 48px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border: 1.5px solid var(--navy); color: var(--navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }
.steps strong { display: block; color: var(--navy); }
.steps span { color: var(--muted); }

.section-navy { background: var(--navy); color: #e9edf3; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy a { color: #fff; }
.resident-grid { display: grid; gap: 28px; }
.resident-item .icon { color: #e6d6ab; margin-bottom: 10px; }
.resident-item p { margin: 0; color: #cfd6e1; }
.portal-note { margin-top: 40px; padding: 20px; border: 1px solid rgba(255,255,255,.25); }
.portal-note h3 { font-size: 18px; }
.portal-note p { margin: 0; color: #cfd6e1; }

.areas { list-style: none; display: grid; gap: 0 32px; }
.areas li { padding: 14px 0; border-top: 1px solid var(--line); }
.areas strong { display: block; font-family: var(--serif); font-weight: 600; font-size: 19px; color: var(--navy); }
.areas span { color: var(--muted); font-size: 15px; }

/* Contact + form */
.contact { background: var(--ivory); border-top: 1px solid var(--line); }
.contact-grid { display: grid; gap: 32px; }
.contact-list { list-style: none; margin-top: 20px; }
.contact-list li { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.contact-list .icon { color: var(--navy); }

.inquiry { background: #fff; border: 1px solid var(--line); padding: 24px 20px; }
.form-note { font-size: 14px; color: var(--muted); }
.form-row { display: grid; gap: 0 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 16px; margin-bottom: 6px; color: var(--ink); }
.req { color: var(--error); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 12px; font: 16px/1.4 var(--sans); color: var(--ink); background: #fff; border: 1px solid #8b8f96; border-radius: 2px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1F3A' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 20px; }
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); outline: 2px solid var(--navy); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-size: 14px; margin: 4px 0 0; }
.field-error:empty { display: none; }
.btn-submit { width: 100%; }
.form-status { margin: 16px 0 0; }
.form-status:empty { display: none; }
.form-status.is-success { padding: 14px 16px; background: #eef3ea; border-left: 4px solid #2f6b3a; color: #1d3d24; font-weight: 600; }
.form-status:focus { outline: none; }

/* Footer */
.site-footer { background: var(--navy); color: #cfd6e1; padding: 48px 0 32px; font-size: 15px; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #e6d6ab; }
.footer-grid { display: grid; gap: 32px; }
.footer-logo { font-family: var(--serif); font-size: 22px; font-weight: 600; color: #fff; margin-bottom: 6px; }
.footer-head { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #e6d6ab; margin-bottom: 12px; }
.footer-areas, .footer-links { list-style: none; }
.footer-areas { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
.footer-links li { padding: 3px 0; }
.footer-legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.16); font-size: 13px; color: #b9c2cf; }
.footer-legal p { margin-bottom: 8px; }
.footer-legal strong { color: #fff; }

/* ---------- 768px ---------- */
@media (min-width: 768px) {
  .wrap { padding: 0 32px; }
  h1 { font-size: 36px; }
  h2 { font-size: 30px; }
  .utility-inner { justify-content: space-between; }
  .utility-phone { display: inline; }
  .primary-nav { padding: 4px 32px 24px; }
  .hero-content { padding: 96px 0 88px; }
  .hero-media::after { background: linear-gradient(90deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.48) 50%, rgba(0,0,0,.3) 100%); }
  .hero-actions { flex-direction: row; align-items: center; gap: 24px; }
  .hero-actions .btn { width: auto; }
  .trust-list { grid-template-columns: repeat(2, 1fr); gap: 24px 32px; }
  .section { padding: 80px 0; }
  .ops-list { grid-template-columns: 1fr 1fr; }
  .areas { grid-template-columns: 1fr 1fr; }
  .resident-grid { grid-template-columns: repeat(3, 1fr); }
  .form-row { grid-template-columns: 1fr 1fr; }
  .inquiry { padding: 32px; }
  .btn-submit { width: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- 1024px ---------- */
@media (min-width: 1024px) {
  :root { --header-h: 76px; }
  body { font-size: 17px; }
  .logo { flex-direction: row; align-items: baseline; gap: 10px; }
  .logo-word { margin-top: 0; font-size: 13px; }
  .menu-toggle, .nav-cta { display: none; }
  .primary-nav { position: static; visibility: visible; opacity: 1; transform: none; background: none; border: 0; padding: 0; max-height: none; overflow: visible; margin-right: 12px; }
  .primary-nav ul { display: flex; gap: 26px; }
  .primary-nav li a { padding: 8px 0; font-size: 16px; border: 0; border-bottom: 2px solid transparent; }
  .primary-nav li a:hover { color: #fff; border-bottom-color: var(--gold); }
  .nav-overlay { display: none; }
  html.nav-open, html.nav-open body { overflow: visible; }
  .hero-content { padding: 128px 0 120px; }
  .trust-list { grid-template-columns: repeat(3, 1fr); }
  .section { padding: 96px 0; }
  .scopes { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split-reverse .split-media { order: 2; }
  .contact-grid { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
  .footer-grid { grid-template-columns: 2fr 2fr 1fr 1fr; }
}

/* ---------- 1200px ---------- */
@media (min-width: 1200px) {
  h1 { font-size: 42px; }
  h2 { font-size: 32px; }
  .areas { grid-template-columns: repeat(5, 1fr); }
  .areas li { padding: 16px 0 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}

/* Production additions */
.logo { flex-direction: row !important; align-items: center; gap: 0; }
.logo img { height: 34px; width: auto; display: block; }
@media (min-width: 1024px) { .logo img { height: 40px; } }
.utility-inner { justify-content: flex-end; }
.utility-note { display: none; color: var(--muted); margin-right: auto; }
@media (min-width: 768px) { .utility-note { display: inline; } .utility-inner { justify-content: space-between; } }
.primary-nav li a[aria-current="page"] { color: #e6d6ab; }
.nav-cta-desk { display: none !important; min-height: 44px; padding: 10px 18px; font-size: 15px; }
@media (min-width: 1024px) { .primary-nav li a[aria-current="page"] { border-bottom-color: var(--gold); color: #fff; } .nav-cta-desk { display: inline-flex !important; } .primary-nav ul { gap: 22px; } }
.page-hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.page-hero .hero-media::after { background: rgba(8,20,40,.62); }
.page-hero .wrap { position: relative; padding-top: 56px; padding-bottom: 48px; }
.page-hero h1 { color: #fff; max-width: 760px; }
.page-hero p { max-width: 640px; font-size: 17px; margin: 0; color: #e9edf3; }
@media (min-width: 1024px) { .page-hero .wrap { padding-top: 96px; padding-bottom: 84px; } }
.crumbs { font-size: 14px; margin-bottom: 14px; color: #d9cfb6; }
.crumbs a { color: #d9cfb6; }
.area-grid { list-style: none; display: grid; gap: 24px; }
@media (min-width: 640px) { .area-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .area-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.area-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.area-card h3 { margin: 14px 0 4px; }
.area-card p { color: var(--muted); margin: 0; }
.area-tiles { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 768px) { .area-tiles { grid-template-columns: repeat(5, 1fr); gap: 16px; } }
.area-tiles a { display: block; position: relative; text-decoration: none; color: #fff; }
.area-tiles img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.area-tiles span { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 10px 10px; font-weight: 600; background: linear-gradient(transparent, rgba(0,0,0,.72)); }
.cta-band { background: var(--navy); color: #e9edf3; padding: 48px 0; }
.cta-band .wrap { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.cta-band h2 { color: #fff; margin: 0; }
.cta-band p { margin: 6px 0 0; color: #cfd6e1; }
@media (min-width: 1024px) { .cta-band .wrap { flex-direction: row; align-items: center; justify-content: space-between; } }
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; color: var(--navy); font-size: 18px; list-style: none; position: relative; padding-right: 32px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: -2px; font-size: 24px; color: var(--gold-text); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; color: var(--muted); }
.check-list { list-style: none; display: grid; gap: 10px; margin: 16px 0 24px; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 14px; height: 8px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.section-navy .check-list li { color: #e9edf3; }
.portal-card { display: grid; gap: 16px; }
@media (min-width: 768px) { .portal-card { grid-template-columns: repeat(3, 1fr); } }
.portal-card > div { background: #fff; border: 1px solid var(--line); padding: 24px; }
.portal-card .btn { margin-top: 12px; width: 100%; }
.badge-soon { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-text); border: 1px solid var(--gold); padding: 2px 8px; margin-bottom: 10px; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.4em; font-size: 24px; }
.credits-list { list-style: none; display: grid; gap: 14px; font-size: 15px; }
.credits-list li { border-top: 1px solid var(--line); padding-top: 12px; }
.form-status a { color: #1d3d24; }
.contact-list a { word-break: break-all; }
.footer-logo img { height: 44px; width: auto; }
