/* ==========================================================================
   Noble & Associates — navy + brass editorial system
   Type scale — 5 sizes (consolidated for accessibility; nothing below 16px).
   Roles within a size are separated by weight / colour / case, not extra sizes:
     16  small — meta, caption, footer, eyebrow (uppercase+tracked), nav, labels,
         h5, buttons, boxed/card supporting text, listing address
     20  body / lead / card titles / h4
     24  h3 (serif subhead)
     30  h2 (section head)
     48  h1 (hero / page title / .h-display)
   ========================================================================== */

:root {
  /* Brand (exact design palette) */
  --navy:        #16335C;
  --navy-deep:   #0E2547;
  --brass:       #B8842B;
  --brass-hover: #9C6F20;
  --brass-tint:  #FBF6EC;
  --brass-tint-bd:#EADFC6;

  /* Ink / text */
  --ink:    #1B1E26;
  --slate:  #44464F;
  --slate-2:#52555F;
  --muted:  #6C6E78;
  --muted-2:#6A6C74;   /* AA: ≥4.5:1 on white (mock #7A7C84 = 4.0:1) */
  --faint:  #70727A;   /* AA: ≥4.5:1 on white (mock #9A9CA4 = 2.7:1) */

  /* Surfaces */
  --gray-bg: #F1F3F6;
  --offwhite:#FBF9F4;
  --white:   #FFFFFF;
  --hairline:#ECE7DC;
  --hairline-2:#E2DCCF;
  --well:    #E7E1D4;

  /* On navy */
  --on-navy:        #FFFFFF;   /* body text on navy bands — white, matching the headings (per request) */
  --on-navy-eyebrow:#C9B790;
  --footer-link:    #C3CEDF;

  /* System */
  --maxw: 1320px;
  --pad: 40px;
  --header-h: 82px;
  --serif: 'Spectral', Georgia, 'Times New Roman', serif;
  --sans:  'Hanken Grotesk', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
/* Chinese: sans-serif throughout (client request) — Han glyphs use Noto Sans,
   and the "serif" role (headings) is remapped to the same sans stack so nothing
   on the Chinese pages renders in a serif face. */
html[lang="zh-Hans"] {
  --serif: 'Hanken Grotesk', 'Noto Sans SC', system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --sans:  'Hanken Grotesk', 'Noto Sans SC', system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}
html[lang="zh-Hant"] {
  --serif: 'Hanken Grotesk', 'Noto Sans TC', system-ui, -apple-system, 'PingFang TC', 'Microsoft JhengHei', sans-serif;
  --sans:  'Hanken Grotesk', 'Noto Sans TC', system-ui, -apple-system, 'PingFang TC', 'Microsoft JhengHei', sans-serif;
}
/* Taller CJK glyphs need more leading than the tight Latin 1.05 when a heading
   wraps to 2+ lines (e.g. the mixed Latin/CJK home hero) */
html[lang="zh-Hans"] h1, html[lang="zh-Hant"] h1,
html[lang="zh-Hans"] h2, html[lang="zh-Hant"] h2 { line-height: 1.2; }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 22px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--brass); text-decoration: none; }
::selection { background: var(--navy); color: #fff; }

/* Consistent keyboard-focus ring (mouse clicks unaffected) */
:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; border-radius: 2px; }
.btn:focus-visible, .header-quote:focus-visible { outline-color: var(--brass); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* Skip-to-content link (visible only on keyboard focus) */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 18px; border-radius: 0 0 6px 6px; font-weight: 700; font-size: 17px; transition: top .15s ease; }
.skip-link:focus { top: 0; }

.photo-tint, .photo-tint img {
  filter: none; /* high-res originals look best untouched */
}

/* ---------- Typography (design-native px) ---------- */
h1, h2, h3, h4, h5 { margin: 0; color: var(--navy); font-weight: 400; text-wrap: balance; }
h1 { font-family: var(--serif); font-weight: 500; font-size: 48px; line-height: 1.05; letter-spacing: -0.02em; }
h2 { font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.12; letter-spacing: -0.015em; }
h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.25; letter-spacing: -0.01em; }
h4 { font-size: 22px; line-height: 1.4; font-weight: 700; }
h5 { font-size: 17px; line-height: 1.4; font-weight: 700; }
p  { margin: 0 0 1rem; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
/* Unified reading measure for centered band copy so line lengths are consistent */
.statement p, .ctaband p { max-width: 620px; margin-left: auto; margin-right: auto; }

.h-display { font-size: 48px; line-height: 1.12; font-weight: 300; }
.h2-lg { font-size: 30px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-weight: 700; font-size: 17px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--brass);
  margin: 0 0 18px;
}
/* Design eyebrows are plain tracked labels — no leading rule/dash. */
.eyebrow--center { justify-content: center; }
.eyebrow--navy { color: var(--on-navy-eyebrow); }
/* CJK eyebrows read small at 12px — bump on the Chinese pages (zh-Hans / zh-Hant) */
:lang(zh) .eyebrow,
:lang(zh) .story__panel .eyebrow,
:lang(zh) .split__body .eyebrow,
:lang(zh) .hero__media-cap .eyebrow,
:lang(zh) .memberships .eyebrow { font-size: 17px; letter-spacing: 0.14em; }

/* CJK adjustment layer: Han glyphs are denser than Latin, so 16px multi-line
   reading text (the boxed card paragraphs) reads tight on the Chinese pages.
   Bump just those to 18px — short UI labels (nav, buttons, meta, eyebrows) stay
   16px since a few glyphs read fine. Latin pages are unaffected. */
:lang(zh) .exp-card p,
:lang(zh) .trust-cell p,
:lang(zh) .cred-col p,
:lang(zh) .quote-card p,
:lang(zh) .blog-card p { font-size: 18px; }

.lead { font-size: 22px; line-height: 1.6; color: var(--slate); }

/* ---------- Layout ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); width: 100%; }
.section { padding: 100px 0; }
.section--sm { padding: 72px 0; }
.section--gray { background: var(--gray-bg); }
.section--navy { background: var(--navy); color: var(--on-navy); }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }
main { display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-weight: 700; font-size: 17px;
  line-height: 1; padding: 14px 26px; border-radius: 3px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap; transition: opacity .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:hover { opacity: 0.75; }
.btn:active { opacity: 0.6; }
.btn--brass { background: var(--brass); color: #fff; }
.btn--brass:hover { opacity: 1; background: var(--brass-hover); }
.btn--navy { background: var(--navy); color: #fff; border-radius: 4px; }
.btn--navy:hover { opacity: 1; background: var(--navy-deep); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--invert { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--invert:hover { opacity: 1; background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--lg { font-size: 17px; padding: 16px 36px; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: 17px; color: var(--navy);
  transition: opacity .2s ease;
}
.arrow-link svg { width: 17px; height: 17px; }
.arrow-link:hover { opacity: 0.75; }
.arrow-link--brass { color: var(--brass); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--hairline);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  height: var(--header-h); padding: 0 32px; max-width: var(--maxw);
}
.site-header__logo { flex-shrink: 0; display: flex; align-items: center; }
.site-header__logo img { height: 42px; width: auto; }

.nav__list {
  display: flex; align-items: center; gap: 22px;
  list-style: none; margin: 0; padding: 0;
}
.nav__list a {
  font-size: 17px; font-weight: 500; color: var(--slate-2);
  white-space: nowrap; transition: opacity .2s ease, color .2s ease;
}
.nav__list a:hover { opacity: 0.75; }
.nav__list a[aria-current="page"] { color: var(--navy); font-weight: 600; }
.nav__extras { display: none; }

.header-tools { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-quote { padding: 0 18px; font-size: 17px; border-radius: 3px; }
/* Keep the three header controls (lang / login / Free Quote) the same height */
.header-tools .dd__btn, .header-tools .header-quote { height: 40px; }

.dd { position: relative; }
.dd__btn {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 13px; border: 1px solid #DDD7C9; border-radius: 4px;
  font-size: 17px; font-weight: 600; color: var(--navy); white-space: nowrap;
  transition: border-color .2s ease, opacity .2s ease;
}
.dd__btn::-webkit-details-marker { display: none; }
.dd__btn:hover { border-color: var(--navy); }
/* Login button — filled navy (client request); caret + user icon inherit white */
.logindd > .dd__btn { background: var(--navy); border-color: var(--navy); color: #fff; }
.logindd > .dd__btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.dd__caret { width: 13px; height: 13px; transition: transform .2s ease; }
.dd[open] .dd__caret { transform: rotate(180deg); }
.dd__menu {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 70;
  background: #fff; border: 1px solid var(--hairline); border-radius: 9px;
  box-shadow: 0 16px 44px rgba(14,37,71,0.17); padding: 6px;
}
.langdd__menu { min-width: 156px; }
.langdd__menu a {
  display: block; padding: 9px 12px; border-radius: 6px;
  font-size: 17px; font-weight: 500; color: var(--slate-2);
}
.langdd__menu a:hover { background: var(--gray-bg); color: var(--navy); }
/* Mark the current language by emphasis (bold navy), not a fill — a gray
   background here read as a permanent hover state. */
.langdd__menu a[aria-current="true"] { color: var(--navy); font-weight: 700; }

.logindd__user { display: inline-flex; }
.logindd__user svg { width: 16px; height: 16px; }
.logindd__menu { min-width: 240px; padding: 8px; }
.logindd__row { display: flex; align-items: center; gap: 13px; padding: 11px 12px; border-radius: 6px; }
.logindd__row:hover { background: var(--gray-bg); }
.logindd__icon {
  width: 34px; height: 34px; border-radius: 8px; background: #EEF1F7;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--navy);
}
.logindd__icon svg { width: 17px; height: 17px; }
.logindd__t { display: block; font-size: 17px; font-weight: 700; color: var(--navy); }

.nav-toggle {
  display: none; width: 42px; height: 38px; border: 1px solid #DDD7C9; border-radius: 4px;
  background: #fff; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--navy); transition: transform .2s ease, opacity .2s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-deep); color: var(--footer-link); }
.site-footer__inner { padding: 80px var(--pad) 32px; }
.footer-main {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand__logo img { height: 50px; width: auto; margin-bottom: 22px; }
.footer-tagline { font-size: 17px; line-height: 1.65; color: #8FA0BD; max-width: 280px; }
.footer-col__head {
  font-family: var(--sans); font-size: 17px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-navy-eyebrow);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.footer-col a { color: var(--footer-link); font-size: 17px; transition: opacity .2s ease; }
.footer-col a:hover { opacity: 0.75; }
.footer-addr { font-size: 17px; line-height: 1.7; color: var(--footer-link); margin: 0 0 14px; }
.footer-addr a { color: var(--footer-link); }
.footer-email { color: var(--on-navy-eyebrow) !important; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding-top: 28px; flex-wrap: wrap;
}
.footer-copy p { font-size: 17px; color: #93A4C2; margin: 0; }
.footer-credit { margin-top: 6px !important; color: #7E90B0; }
.footer-credit a { color: #B7C3D6; }
.footer-credit a:hover { color: var(--brass); }
.footer-social { display: flex; gap: 14px; }
.footer-social a { color: #8FA0BD; transition: opacity .2s ease; display: inline-flex; align-items: center; justify-content: center; min-width: 24px; min-height: 24px; }
.footer-social a:hover { opacity: 0.75; }
.footer-social svg { width: 19px; height: 19px; fill: currentColor; }

/* ==========================================================================
   Page title
   ========================================================================== */
.page-title { padding: 90px 0 0; }
.page-title .container { max-width: var(--maxw); }
.page-title h1 { max-width: 18ch; }
.page-title p { font-size: 22px; line-height: 1.6; color: var(--slate); margin: 22px 0 0; max-width: 620px; }
.page-title--left h1 { max-width: 30ch; }

/* ==========================================================================
   Sticky rail layout (Our Services, FAQ)
   Sidebar holds the page title + filter; content fills the wide right column,
   so the page no longer reads as one left-leaning stack.
   ========================================================================== */
.rail-section { padding-top: 84px; }
.rail-layout {
  display: grid;
  grid-template-columns: minmax(340px, 420px) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.rail { position: sticky; top: calc(var(--header-h) + 28px); }
/* Title matches every other page-title h1 (inherits the base 56px). Short CJK
   titles fit one line in the widened rail; longer ones wrap (no overflow). */
.rail__title { line-height: 1.05; }
.rail__lead { font-size: 22px; line-height: 1.6; color: var(--slate); margin: 20px 0 0; }
.rail__lead a { color: var(--brass); text-decoration: underline; text-underline-offset: 2px; }
.rail-main { min-width: 0; }

/* FAQ: even 2-col grid (10 categories — avoids the ragged 3-then-2 wrap) */
.rail .faq-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 32px 0 0; max-width: none; }
.rail .faq-chip { text-align: center; }
/* Services: only 3 filters, so let them sit inline on one row */
.rail .svc-pills { gap: 10px; margin: 32px 0 0; max-width: none; }
/* Rail filters are pill-shaped (softer than the homepage's squared nav; rhymes
   with the rounded accordion cards + pill category badges) */
.rail .faq-chip,
.rail .svc-pills .svc-tab { border-radius: 999px; }

/* Content fills the main column (drop the old left-pinned max-widths) */
.rail-main .acc,
.rail-main .faq-list,
.rail-main .svc-res,
.rail-main .svc-com { max-width: none; }
.rail-main .svc-intro-line { max-width: 760px; }

@media (max-width: 1024px) {
  .rail-section { padding-top: 64px; }
  .rail-layout { grid-template-columns: 1fr; gap: 36px; }
  /* min-width:0 stops the rail's min-content (long chips / title) from blowing the
     single grid column past the viewport — the cause of FAQ overflow on mobile */
  .rail { position: static; min-width: 0; }
  .rail__title { font-size: 30px; }
}
@media (max-width: 560px) {
  .rail__title { font-size: 30px; }
}

/* ==========================================================================
   Home — hero
   ========================================================================== */
/* Hero fills the first viewport: copy+video centred, stat bar pinned to the fold */
.hero { padding: 72px 0 0; min-height: calc(100svh - var(--header-h)); display: flex; flex-direction: column; }
.hero > .container:first-child { flex: 1 1 auto; display: flex; align-items: center; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 72px; align-items: center; width: 100%; }
.hero h1 { font-size: 48px; font-weight: 700; margin-bottom: 24px; }
.hero h1 sup { font-size: 0.42em; top: -0.7em; }
.hero__lead { font-size: 22px; line-height: 1.65; color: var(--slate); margin-bottom: 34px; max-width: 30rem; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__media { position: relative; border-radius: 5px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--well); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
/* Video hero: a 16:9 embed replaces the portrait photo */
.hero__media--video { aspect-ratio: 16 / 9; }
.hero__media--video iframe { display: block; width: 100%; height: 100%; border: 0; }
.hero__media-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px;
  background: linear-gradient(to top, rgba(11,24,46,0.78), rgba(11,24,46,0));
}
.hero__media-cap .eyebrow { font-family: var(--sans); font-weight: 700; font-size: 17px; letter-spacing: 0.22em; color: var(--on-navy-eyebrow); margin-bottom: 8px; }
.hero__media-cap p { font-family: var(--serif); font-size: 24px; color: #fff; margin: 0; }

/* Stat strip */
.statstrip { margin-top: 48px; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.statstrip__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 36px 28px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--hairline); }
.stat__num { font-family: var(--serif); font-weight: 400; font-size: 30px; color: var(--navy); line-height: 1; }
.stat__label { font-size: 17px; color: var(--muted); margin-top: 8px; }

/* Statement band — the brand promise, made the loudest moment on the page */
.statement { text-align: center; }
.statement .container { max-width: 1000px; }
.statement .eyebrow { margin-bottom: 20px; }
.statement h2 { font-family: var(--serif); font-size: 56px; line-height: 1.08; font-weight: 600; letter-spacing: -0.02em; color: #fff; margin-bottom: 24px; }
.statement__accent { color: var(--brass); }
.statement p { font-size: 22px; line-height: 1.6; color: var(--on-navy); }

/* Section heads + trust grid */
.sec-head { max-width: 640px; }
.sec-head--center { max-width: 760px; margin: 0 auto; text-align: center; }
/* Header row: heading on the left, "see all" link pinned to the far right */
.sec-head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.sec-head--split .arrow-link { white-space: nowrap; }
.sec-head p { margin-top: 16px; color: var(--slate); font-size: 22px; }
.trust-grid {
  margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--hairline); border-left: 1px solid var(--hairline);
}
.trust-cell {
  padding: 38px 36px; border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
  display: flex; flex-direction: column; text-align: center;
}
.trust-cell__icon { color: var(--navy); margin-bottom: 20px; align-self: center; }
.trust-cell__icon svg { width: 30px; height: 30px; }
.trust-cell h3 { font-family: var(--sans); font-size: 24px; font-weight: 700; color: var(--navy); margin-bottom: 10px; letter-spacing: 0; }
.trust-cell p { font-size: 17px; line-height: 1.7; color: var(--muted); }
.trust-cell--cta { justify-content: center; align-items: center; }

/* Home services tabs */
.svc-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 40px 0 36px; }
.svc-tab {
  font-family: var(--sans); font-size: 17px; font-weight: 600;
  padding: 11px 24px; border-radius: 3px; border: 1px solid var(--hairline-2);
  background: #fff; color: var(--muted); cursor: pointer;
  transition: opacity .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.svc-tab:hover { opacity: 0.75; }
.svc-tab.is-on { background: var(--navy); color: #fff; border-color: var(--navy); }
.svc-panel { background: #fff; border: 1px solid var(--hairline); border-radius: 5px; padding: 44px 48px; }
.svc-panel h3 { font-family: var(--serif); font-size: 24px; margin-bottom: 24px; }
.svc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 48px; }
.svc-row { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; padding: 9px 0; }
.svc-row__icon { flex-shrink: 0; height: 25px; display: flex; align-items: center; justify-content: center; }
.svc-row__icon svg { width: 18px; height: 18px; }
.svc-row__title { font-size: 17px; color: #33363F; line-height: 1.5; }
.badge-specialty {
  display: inline-flex; align-items: center; gap: 5px; vertical-align: middle;
  font-size: 17px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--brass); background: var(--brass-tint); border: 1px solid var(--brass-tint-bd);
  border-radius: 30px; padding: 2px 9px; margin-left: 8px; white-space: nowrap;
}
.badge-specialty svg { width: 11px; height: 11px; fill: currentColor; }

/* Expertise */
.exp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 56px; }
.exp-card__media { aspect-ratio: 4 / 3; border-radius: 5px; overflow: hidden; background: var(--well); margin-bottom: 22px; }
.exp-card__media img { width: 100%; height: 100%; object-fit: cover; }
.exp-card h3 { font-family: var(--sans); font-size: 24px; font-weight: 700; color: var(--navy); margin-bottom: 10px; letter-spacing: 0; }
.exp-card p { font-size: 17px; line-height: 1.7; color: var(--muted); }

/* Service area */
.area-grid { display: grid; grid-template-columns: 1.35fr 0.85fr; gap: 56px; align-items: center; }
.area-map { position: relative; border: 1px solid var(--hairline-2); border-radius: 6px; background: #DAE3E4; overflow: hidden; }
.area-map img { width: 100%; height: auto; }
.area-copy h2 { margin-bottom: 22px; }
.area-copy p { color: var(--slate-2); font-size: 22px; line-height: 1.7; }
.area-copy p + p { margin-top: 16px; }

/* Featured / listing cards */
.listing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.listing-card { background: #fff; border: 0; box-shadow: 0 0 0 1px var(--hairline); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; }
/* [hidden] must win over the display:flex above, else JS-hidden cards (filter +
   pagination) keep showing — the attribute selector raises specificity to do so */
.listing-card[hidden] { display: none; }
a.listing-card { text-decoration: none; color: inherit; transition: box-shadow .2s ease, transform .2s ease; }
a.listing-card:hover { box-shadow: 0 0 0 1px var(--hairline-2), 0 10px 28px rgba(14,37,71,0.10); transform: translateY(-2px); }
.listing-grid .listing-card { border-radius: 5px; }
.listing-card__media { position: relative; aspect-ratio: 16 / 10; background: var(--well); overflow: hidden; }
.listing-card__media img { width: 100%; height: 100%; object-fit: cover; }
.listing-badge {
  position: absolute; top: 12px; left: 12px;
  font-size: 17px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: #fff; background: var(--navy); border-radius: 2px; padding: 5px 10px;
}
.listing-badge--sqft { left: auto; right: 12px; background: rgba(14,37,71,0.78); display: inline-flex; align-items: center; gap: 5px; letter-spacing: 0.02em; }
.listing-badge--sqft svg { width: 12px; height: 12px; }
/* Marketing promotion, fed by the CRM promo field. It sits in the card BODY, not
   as a badge on the photo: a card is ~280px wide and the top edge is already
   taken by the sq-ft badge, which left room for ~20 characters — it truncated a
   17-character offer, and the client's promos run to ~30. Here it gets the full
   width and sits next to the price, the context that makes "1 month free rent"
   mean something. Navy on brass tint (11.7:1), matching the detail-page banner. */
/* Placed ABOVE .listing-card__foot's `margin-top:auto`, so the slack absorbed by
   that auto margin keeps the price/availability row aligned across every card in
   a grid row whether or not a promo is present (or wraps to two lines). */
.listing-promo {
  display: flex; align-items: flex-start; gap: 8px; margin: 0 0 4px;
  padding: 9px 12px; border-radius: 3px;
  background: var(--brass-tint); border: 1px solid var(--brass-tint-bd);
  font-size: 16px; line-height: 1.4; font-weight: 600; color: var(--navy);
}
.listing-promo svg { flex: 0 0 auto; width: 15px; height: 15px; margin-top: 2px; color: var(--brass); }
.listing-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.listing-card__meta { font-size: 17px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--faint); margin-bottom: 7px; }
.listing-card__addr { font-size: 17px; font-weight: 700; color: var(--navy); line-height: 1.3; margin-bottom: 14px; text-wrap: balance; }
.listing-stats { display: flex; flex-wrap: wrap; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--hairline); margin-bottom: 16px; }
.listing-stat { display: inline-flex; align-items: center; gap: 6px; font-size: 17px; color: var(--slate); }
.listing-stat svg { width: 16px; height: 16px; color: var(--brass); }
.listing-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.listing-price { font-family: var(--serif); font-size: 24px; font-weight: 500; color: var(--navy); }
.listing-price span { font-family: var(--sans); font-size: 17px; font-weight: 400; color: var(--muted); }
.listing-avail { font-size: 17px; color: var(--faint); text-align: right; }
.listing-avail b { display: block; font-size: 17px; font-weight: 600; color: var(--slate); }

/* Testimonials */
/* Testimonials rail — horizontal scroll-snap track so all 10 Google reviews
   live in one swipeable row instead of a fixed 3-up grid. Prev/next arrows sit
   just outside the track (.reviews-wrap is the positioning context). */
.reviews-wrap { position: relative; margin-top: 48px; }
.reviews-rail {
  display: flex; align-items: flex-start; gap: 24px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-left: 4px;
  -webkit-overflow-scrolling: touch;
  padding: 4px 4px 22px;      /* bottom room for the scrollbar; side room for focus ring */
  scrollbar-width: thin; scrollbar-color: #C3CCD9 transparent;
}
.reviews-rail::-webkit-scrollbar { height: 8px; }
.reviews-rail::-webkit-scrollbar-thumb { background: #C3CCD9; border-radius: 99px; }
.reviews-rail::-webkit-scrollbar-thumb:hover { background: var(--brass); }
.reviews-rail:focus-visible { outline: 2px solid var(--brass); outline-offset: 4px; border-radius: 6px; }
/* All collapsed cards share one height regardless of quote length — long quotes
   clamp to 5 lines with a Read-more toggle, short ones fill to the same floor. */
.reviews-rail > .quote-card {
  flex: 0 0 clamp(280px, 82vw, 360px);
  scroll-snap-align: start; min-height: 452px;
}

/* Prev / next arrow controls */
.reviews-nav {
  position: absolute; top: 50%; transform: translateY(-50%); margin-top: -11px; z-index: 2;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--hairline); color: var(--navy);
  box-shadow: 0 6px 18px rgba(16,31,54,.14); cursor: pointer;
  transition: background .15s ease, color .15s ease, opacity .2s ease;
}
.reviews-nav svg { width: 22px; height: 22px; }
.reviews-nav:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.reviews-nav:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.reviews-nav--prev { left: -14px; }
.reviews-nav--next { right: -14px; }
.reviews-nav:disabled { opacity: 0; pointer-events: none; }
@media (max-width: 720px) { .reviews-nav { display: none; } }
.quote-card { background: #fff; border: 1px solid var(--hairline); border-radius: 5px; padding: 34px 32px; display: flex; flex-direction: column; }
.quote-card__mark { color: #C3CCD9; margin-bottom: 14px; }
.quote-card__mark svg { width: 38px; height: 38px; display: block; }
.quote-card p { font-family: var(--sans); font-size: 17px; line-height: 1.7; color: var(--ink); margin-bottom: 24px; }
.quote-card__who { margin-top: auto; border-top: 1px solid var(--hairline); padding-top: 20px; font-size: 17px; color: var(--muted); }
.quote-card__stars { color: var(--brass); letter-spacing: 2px; font-size: 17px; margin-bottom: 10px; }
.quote-card__who b { color: var(--navy); font-weight: 700; }
/* Long quotes clamp to a 5-line preview; the toggle (injected by JS only when
   the text actually overflows) reveals the full review in place */
.quote-card.is-clamped p { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.quote-card__more {
  background: none; border: 0; padding: 0; margin: -12px 0 24px; align-self: flex-start;
  font-family: var(--sans); font-size: 16px; font-weight: 700; color: var(--brass);
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.quote-card__more:hover { opacity: .75; }
/* Centered "all reviews on Google" link under the quote grid */
.quote-google { margin-top: 36px; text-align: center; }

/* Footnote reference markers (inline superscripts) + the footnotes block */
.fn-ref { font-size: 11px; line-height: 0; font-weight: 700; margin-left: 1px; }
.fn-ref a { color: var(--muted); text-decoration: none; scroll-margin-top: 120px; }
.fn-ref a:hover { color: var(--ink); text-decoration: underline; }
.fn-ref a:target { color: var(--ink); }
.footnotes { padding-top: 40px; padding-bottom: 40px; }
.footnotes__list { max-width: 820px; margin: 0; padding-left: 20px; color: var(--faint); font-size: 14px; line-height: 1.7; }
.footnotes__list li { margin-bottom: 4px; scroll-margin-top: 120px; }
.footnotes__list li:target { color: var(--muted-2); }
.fn-back { display: inline-flex; vertical-align: middle; margin-left: 5px; color: var(--muted); }
.fn-back svg { width: 13px; height: 13px; }
.fn-back:hover { color: var(--ink); }
.fn-back:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; border-radius: 2px; }
.footnotes__disclaimer { margin: 16px 0 0; color: var(--faint); font-size: 14px; line-height: 1.7; }

/* CTA band */
.ctaband { text-align: center; }
.ctaband .container { max-width: 1000px; }
.ctaband h2 { color: #fff; margin-bottom: 22px; }
.ctaband p { font-size: 22px; line-height: 1.6; color: var(--on-navy); margin: 0 auto 34px; }

/* Memberships */
.memberships { text-align: center; }
.memberships .eyebrow { color: var(--faint); margin-bottom: 32px; }
.memberships .eyebrow::before { background: var(--faint); }
.member-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 44px; }
.member-logos img { height: 60px; width: auto; filter: grayscale(1); opacity: 0.7; transition: opacity .2s ease, filter .2s ease; }
.member-logos img:hover { filter: grayscale(0); opacity: 1; }

/* ==========================================================================
   About
   ========================================================================== */
.page-title--left h1 { font-size: 48px; }
.story { display: grid; grid-template-columns: 1fr 1fr; border-radius: 6px; overflow: hidden; }
.story__panel { background: var(--navy); color: var(--on-navy); padding: 64px 56px; }
.story__panel .eyebrow { font-size: 17px; color: var(--on-navy-eyebrow); }
.story__panel h2 { font-size: 30px; color: #fff; margin-bottom: 18px; }
.story__panel p { font-size: 22px; line-height: 1.7; color: var(--on-navy); }
.story__media { background: var(--well); min-height: 420px; }
.story__media img { width: 100%; height: 100%; object-fit: cover; }

.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: start; }
.split__head { position: sticky; top: 120px; }
.split__body p { color: var(--slate); font-size: 22px; line-height: 1.7; }
.split__body .eyebrow { font-size: 17px; }
.about-svc { margin-top: 18px; border-top: 1px solid var(--hairline); }
.about-svc__item { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; padding: 24px 0; border-bottom: 1px solid var(--hairline); }
.about-svc__item svg { width: 22px; height: 22px; color: var(--brass); margin-top: 3px; flex-shrink: 0; }
.about-svc__item h3 { font-family: var(--sans); font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 4px; letter-spacing: 0; }
.about-svc__item p { font-size: 22px; color: var(--muted); }

.credibility { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 56px; border-top: 1px solid var(--hairline); }
.cred-col { padding: 34px 36px 0; border-right: 1px solid var(--hairline); }
.cred-col:last-child { border-right: 0; }
.cred-col__num { font-family: var(--serif); font-size: 30px; color: var(--brass); line-height: 1; margin-bottom: 18px; }
.cred-col h3 { font-family: var(--sans); font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 10px; letter-spacing: 0; }
.cred-col p { font-size: 17px; line-height: 1.7; color: var(--muted); }

/* ==========================================================================
   Our Services
   ========================================================================== */
.svc-pills { display: flex; justify-content: flex-start; gap: 10px; margin-bottom: 56px; flex-wrap: wrap; }
.svc-intro-line { text-align: left; font-size: 22px; color: var(--muted); margin: 0 0 36px; max-width: 720px; }
.svc-intro-line b { color: var(--navy); font-weight: 600; }

.acc { max-width: 860px; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.acc-item { border: 1px solid var(--hairline); border-radius: 10px; overflow: hidden; background: #fff; }
.acc-head {
  width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 28px; font-family: var(--sans);
}
.acc-head__l { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.acc-head__name { font-family: var(--serif); font-size: 24px; font-weight: 400; color: var(--navy); letter-spacing: -0.01em; }
.acc-head__count { font-size: 17px; color: var(--faint); }
.acc-head__chev { flex-shrink: 0; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; transition: transform .2s ease; color: var(--navy); }
.acc-head__chev svg { width: 20px; height: 20px; }
.acc-item.is-open .acc-head__chev { transform: rotate(180deg); }
.acc-body { display: none; padding: 0 28px 12px; }
.acc-item.is-open .acc-body { display: block; }
.acc-row { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid #F0ECE3; align-items: start; }
.acc-row__icon { width: 19px; flex-shrink: 0; margin-top: 2px; }
.acc-row__icon svg { width: 19px; height: 19px; fill: var(--brass); }
.acc-row__title { font-size: 22px; font-weight: 600; color: #23262E; }
.acc-row__desc { font-size: 22px; color: var(--muted-2); line-height: 1.55; margin-top: 5px; }

.svc-res { max-width: 820px; margin: 0; }
.svc-res h2 { font-size: 30px; margin-bottom: 36px; }
.svc-res__list { border-top: 1px solid var(--hairline); }
.svc-res__item { padding: 34px 0; border-bottom: 1px solid var(--hairline); display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; }
.svc-res__num { font-family: var(--serif); font-size: 24px; color: var(--brass); line-height: 1.2; }
.svc-res__item h3 { font-family: var(--sans); font-size: 24px; font-weight: 600; color: var(--navy); margin-bottom: 12px; letter-spacing: 0; }
.svc-res__item p { font-size: 22px; line-height: 1.65; color: #5A5C65; }

.svc-com { max-width: 900px; margin: 0; }
.svc-com h2 { font-size: 30px; margin-bottom: 22px; }
.svc-com__intro { font-size: 22px; line-height: 1.7; color: var(--slate); margin-bottom: 44px; max-width: 760px; }
.svc-com__head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.svc-com__head h3 { font-family: var(--sans); font-size: 17px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); white-space: nowrap; }
.svc-com__head span { flex: 1; height: 1px; background: var(--hairline); }
.svc-com__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 48px; }
.svc-com__item { display: flex; align-items: flex-start; gap: 14px; padding: 9px 0; }
.svc-com__item svg { width: 19px; height: 19px; flex-shrink: 0; margin-top: 2px; color: var(--brass); }
.svc-com__item span { font-size: 22px; color: #33363F; line-height: 1.55; }

/* ==========================================================================
   Listings
   ========================================================================== */
.listings-map { border: 1px solid var(--hairline-2); border-radius: 8px; overflow: hidden; }
.listings-map iframe { display: block; width: 100%; height: 320px; border: 0; }
.filterbar {
  background: #fff; border: 1px solid var(--hairline); border-radius: 8px;
  padding: 22px 24px; display: grid; grid-template-columns: 1fr 1fr 0.7fr 1fr 1.4fr 1.2fr; gap: 18px; align-items: end;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field > label { font-size: 17px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); font-weight: 700; }
.field select, .field input[type="text"], .field input[type="tel"], .field input[type="email"], .field input[type="date"], .field input[type="number"], .field textarea {
  font-family: var(--sans); font-size: 17px; color: var(--ink);
  background: #FAFBFC; border: 1px solid #DDD7C9; border-radius: 4px; padding: 11px 14px; width: 100%;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2316335C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(22,51,92,0.08); }
.field input[type="range"] { width: 100%; accent-color: var(--navy); }
.field__rangerow { display: flex; justify-content: space-between; align-items: baseline; }
.field__rangeval { font-size: 17px; font-weight: 700; color: var(--navy); }
.results-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 28px 0 24px; }
.results-row__count { font-size: 17px; color: var(--muted); }
.btn-link { background: none; border: 0; cursor: pointer; font-family: var(--sans); font-size: 17px; font-weight: 600; color: var(--brass); transition: opacity .2s ease; }
.btn-link:hover { opacity: 0.75; }
.listings-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.listing-card__actions { display: flex; gap: 10px; margin-top: 14px; }
.listing-card__cta { flex: 1; font-size: 17px; }
.listing-card__save {
  width: 44px; flex-shrink: 0; background: #FAFBFC; border: 1px solid #DDD7C9; border-radius: 4px;
  cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--navy);
  transition: border-color .2s ease, opacity .2s ease;
}
.listing-card__save:hover { border-color: var(--navy); }
.listing-card__save svg { width: 18px; height: 18px; }
.listing-card__save[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.listings-empty { text-align: center; padding: 60px 0; color: var(--muted); font-size: 22px; }

/* ==========================================================================
   Blog
   ========================================================================== */
.blog-featured { display: grid; grid-template-columns: 400px 1fr; gap: 48px; align-items: stretch; padding-bottom: 44px; margin-bottom: 8px; border-bottom: 1px solid var(--hairline); text-decoration: none; }
.blog-featured__media { width: 400px; height: 400px; border-radius: 5px; overflow: hidden; background: var(--well); }
.blog-featured__media img { width: 100%; height: 100%; object-fit: cover; }
.blog-featured__body { display: flex; flex-direction: column; justify-content: space-between; max-width: 640px; padding: 4px 0; }
.blog-pill {
  display: inline-flex; align-self: flex-start; align-items: center;
  font-size: 17px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brass); background: var(--brass-tint); border: 1px solid var(--brass-tint-bd);
  border-radius: 30px; padding: 4px 12px; margin-bottom: 18px;
}
.blog-featured__date, .blog-card__date { font-size: 17px; color: var(--faint); margin-bottom: 12px; }
.blog-featured h2 { font-size: 30px; line-height: 1.15; color: var(--navy); margin-bottom: 16px; transition: color .2s ease; }
.blog-featured:hover h2 { color: var(--brass-hover); }
.blog-featured p { font-size: 18px; line-height: 1.6; color: var(--slate); margin-bottom: 20px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; }
.blog-card { border-top: 3px solid var(--brass); padding-top: 24px; display: flex; flex-direction: column; }
.blog-card__top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.blog-card__top .blog-pill { margin-bottom: 0; font-size: 17px; padding: 4px 11px; }
.blog-card__date { margin-bottom: 0; font-size: 17px; }
.blog-card h3 { font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--navy); line-height: 1.3; margin-bottom: 12px; }
.blog-card p { font-size: 17px; line-height: 1.6; color: var(--muted); margin-bottom: 18px; }
.blog-card .arrow-link { margin-top: auto; font-size: 17px; }

/* Blog: featured hero on top, then a two-column grid of image+text rows */
.container--narrow { max-width: 880px; }
.blog-list {
  display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px;
  border-top: 1px solid var(--hairline);
}
.blog-row {
  display: grid; grid-template-columns: 152px 1fr; gap: 24px; align-items: center;
  padding: 24px 4px; border-bottom: 1px solid var(--hairline);
  transition: background-color .2s ease;
}
.blog-row:hover { background: var(--gray-bg); }
.blog-row__media { width: 152px; height: 152px; border-radius: 5px; overflow: hidden; background: var(--well); flex-shrink: 0; }
.blog-row__media img { width: 100%; height: 100%; object-fit: cover; }
.blog-row__date { display: block; font-size: 17px; color: var(--faint); margin-bottom: 6px; }
.blog-row__main h3 { font-size: 24px; color: var(--navy); line-height: 1.25; margin-bottom: 8px; transition: color .2s ease; }
.blog-row:hover .blog-row__main h3 { color: var(--brass-hover); }
.blog-row__main p { font-size: 17px; line-height: 1.6; color: var(--muted); }
.blog-row__arrow { color: var(--brass); align-self: center; opacity: 0; transform: translateX(-6px); transition: opacity .2s ease, transform .2s ease; }
.blog-row__arrow svg { width: 22px; height: 22px; display: block; }
.blog-row:hover .blog-row__arrow { opacity: 1; transform: none; }
.blog-more { margin-top: 36px; }

/* Image-less articles keep their media slot (placeholder icon) so the fixed
   card grid doesn't collapse; an orphan last row fills the 2-column grid. */
.blog-featured__media--empty, .blog-row__media--empty { display: flex; align-items: center; justify-content: center; color: var(--faint); }
.blog-featured__media--empty .blog-ph { width: 88px; height: 88px; }
.blog-row__media--empty .blog-ph { width: 40px; height: 40px; }
.blog-list > .blog-row:last-child:nth-child(odd) { grid-column: 1 / -1; }
.pagination .is-disabled { opacity: .4; pointer-events: none; }

/* Single article (blog detail) — readable prose column */
.blog-article { max-width: 760px; margin: 0 auto; }
.blog-article__date { font-family: var(--sans); font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); margin-bottom: 22px; }
.blog-article__body { font-size: 19px; line-height: 1.75; color: var(--slate); }
.blog-article__body > *:first-child { margin-top: 0; }
.blog-article__body p { margin: 0 0 22px; }
.blog-article__body h2 { font-size: 28px; margin: 40px 0 16px; }
.blog-article__body h3 { font-size: 22px; margin: 32px 0 14px; }
.blog-article__body ul, .blog-article__body ol { margin: 0 0 22px; padding-left: 1.3em; }
.blog-article__body li { margin-bottom: 8px; }
.blog-article__body img { max-width: 100%; height: auto; border-radius: 10px; margin: 12px 0; }
.blog-article__body a { color: var(--brass); text-decoration: underline; text-underline-offset: 2px; }
.blog-article__body blockquote { margin: 24px 0; padding-left: 20px; border-left: 3px solid var(--brass); color: var(--navy); font-style: italic; }
.blog-article__back { margin-top: 44px; }

@media (max-width: 860px) {
  .blog-featured { gap: 24px; }
  .blog-featured__media { width: 100%; height: auto; aspect-ratio: 1 / 1; max-width: 420px; margin: 0 auto; }
  .blog-list { grid-template-columns: 1fr; column-gap: 0; }
}
@media (max-width: 600px) {
  .blog-row { grid-template-columns: 120px 1fr; gap: 18px; align-items: start; }
  .blog-row__media { width: 120px; height: 120px; }
}
.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 56px; }
.pagination a, .pagination span {
  min-width: 40px; height: 40px; padding: 0 10px; border-radius: 5px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 600; color: var(--slate-2); border: 1px solid #DDD7C9; background: #fff;
}
.pagination a:hover { opacity: 0.75; }
.pagination .is-active { background: var(--navy); color: #fff; border-color: var(--navy); font-weight: 700; }
.pagination .ellipsis { border: 0; background: none; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.page-title h1 { }
/* Stacked layout: intro + quick-nav chips on top, full-width list below */
.faq-page { max-width: 900px; margin: 0 auto; }
.faq-intro { margin-bottom: 30px; }
.faq-intro h1 { margin-bottom: 16px; }
.faq-intro .lead { color: var(--slate); }
.faq-intro .lead a { color: var(--brass); text-decoration: underline; text-underline-offset: 2px; }
.faq-page .faq-chips { max-width: none; margin: 0 0 26px; justify-content: center; }
.faq-page .faq-list { max-width: none; }
@media (max-width: 560px) { .faq-intro h1 { font-size: 30px; } }
/* Mobile: lay the quick-nav out as an even 2-column grid (instead of a ragged
   centered wrap) so it reads as an organised filter list */
@media (max-width: 620px) {
  .faq-page .faq-chips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .faq-page .faq-chip { width: 100%; text-align: center; padding: 11px 12px; }
  /* Our Services quick-nav: even 3-up grid on mobile (was a left-ragged row) */
  .rail .svc-pills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .rail .svc-pills .svc-tab { width: 100%; justify-content: center; padding: 11px 6px; }
}
.faq-chips { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 10px; max-width: 660px; margin: 0 0 44px; }
.faq-chip {
  font-family: var(--sans); font-size: 17px; font-weight: 600;
  padding: 11px 24px; border-radius: 3px; border: 1px solid var(--hairline-2); background: #fff; color: var(--muted); cursor: pointer;
  transition: opacity .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.faq-chip:hover { opacity: 0.75; }
.faq-chip.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.faq-list { max-width: 880px; margin: 0; background: #fff; border: 1px solid var(--hairline); border-radius: 10px; }
.faq-item { border-bottom: 1px solid #F0ECE3; }
.faq-item:last-child { border-bottom: 0; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 24px 30px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-badge {
  flex-shrink: 0; font-size: 17px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--brass); background: var(--brass-tint); border: 1px solid var(--brass-tint-bd); border-radius: 30px; padding: 4px 11px;
}
.faq-q { flex: 1; font-size: 22px; font-weight: 600; color: var(--navy); }
.faq-chev { flex-shrink: 0; width: 20px; height: 20px; color: var(--navy); transition: transform .2s ease; }
.faq-item[open] .faq-chev { transform: rotate(180deg); }
.faq-a { padding: 0 30px 28px 30px; font-size: 22px; line-height: 1.7; color: #5A5C65; }
.faq-a p { margin-bottom: 0.8rem; }
.faq-a ul { margin: 0.4rem 0; padding-left: 1.2rem; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; border: 1px solid var(--hairline); border-radius: 10px; overflow: hidden; }
.contact-info { padding: 48px 44px; display: flex; flex-direction: column; gap: 30px; }
.contact-info__item { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.contact-info__item > svg { width: 22px; height: 22px; color: var(--brass); margin-top: 3px; }
.contact-info__label { font-size: 17px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); margin-bottom: 6px; }
.contact-info__val { font-size: 17px; line-height: 1.6; color: #33363F; }
.contact-info__val a { color: var(--navy); font-weight: 600; }
.contact-info__val .muted { color: var(--muted); }
.contact-vcard { display: inline-flex; align-items: center; gap: 7px; font-size: 17px; font-weight: 600; color: var(--brass) !important; margin-top: 8px; transition: opacity .2s ease; }
.contact-vcard:hover { opacity: 0.75; }
.contact-vcard svg { width: 15px; height: 15px; }
.contact-map { min-height: 420px; background: var(--well); }
.contact-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

.proposal { background: #fff; border: 1px solid var(--hairline); border-radius: 12px; padding: 44px 46px; }
.proposal__head h2 { font-size: 30px; margin-bottom: 10px; }
.proposal__head p { font-size: 22px; color: var(--muted); margin-bottom: 32px; }
.form-section { margin-bottom: 28px; }
.form-section__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.form-section__head h3 { font-family: var(--sans); font-size: 17px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); white-space: nowrap; }
.form-section__head span { flex: 1; height: 1px; background: var(--hairline); }
.form-grid { display: grid; gap: 18px 22px; }
.form-grid--3 { grid-template-columns: repeat(3, 1fr); }
.form-grid--2 { grid-template-columns: repeat(2, 1fr); }
.field label { font-size: 17px; font-weight: 600; color: var(--slate); }
.field--full { grid-column: 1 / -1; }
.req { color: var(--brass); }
.proposal textarea { resize: vertical; min-height: 110px; }
.proposal__submit { margin-top: 8px; }
.proposal__error { margin: 0 0 16px; padding: 12px 16px; border-radius: 8px; background: #FBE9E9; border: 1px solid #E7B7B7; color: #8A2A2A; font-family: var(--sans); font-size: 15px; }
.proposal-success { text-align: center; max-width: 480px; margin: 0 auto; padding: 40px 0; }
.proposal-success__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.proposal-success__icon svg { width: 30px; height: 30px; }
.proposal-success h2 { font-size: 30px; margin-bottom: 14px; }
.proposal-success p { font-size: 22px; line-height: 1.6; color: #5A5C65; margin-bottom: 28px; }

.social-follow { text-align: center; }
.social-follow h2 { font-size: 24px; margin-bottom: 24px; }
.social-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.social-row a {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid var(--hairline); border-radius: 40px; padding: 12px 22px;
  font-size: 17px; font-weight: 600; color: var(--navy); transition: opacity .2s ease;
}
.social-row a:hover { opacity: 0.75; }
.social-row svg { width: 18px; height: 18px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  /* Stacked hero flows naturally — don't force it to fill the viewport */
  .hero { min-height: 0; display: block; padding-top: 56px; }
  .hero > .container:first-child { display: block; }
  .hero__grid, .area-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 30px; }
  .trust-grid, .listing-grid { grid-template-columns: repeat(2, 1fr); }
  .exp-grid, .blog-grid, .listings-grid-3, .credibility { grid-template-columns: 1fr 1fr; }
  .credibility .cred-col:nth-child(2) { border-right: 0; }
  .filterbar { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split__head { position: static; }
}

/* Collapse the 7-item nav into the hamburger before it can crowd the header tools */
@media (max-width: 1024px) {
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; border-bottom: 1px solid var(--hairline); padding: 16px 24px 24px; transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s; box-shadow: 0 16px 30px rgba(14,37,71,0.08); }
  .nav.nav--open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav__list a { display: block; padding: 11px 8px; font-size: 17px; border-bottom: 1px solid var(--hairline); }
  .nav__extras { display: block; margin-top: 14px; }
  .nav__extras .logindd { display: block; margin-bottom: 14px; }
  /* Language now lives beside the hamburger (out of the menu) — hide the in-menu copy */
  .nav__extras .lang-switch--menu { display: none; }
  .header-tools .logindd, .header-quote { display: none; }
  /* Keep the language dropdown visible in the header tools, compact, next to the toggle */
  .header-tools .langdd { display: block; }
  .header-tools .langdd .dd__btn { height: 38px; padding: 9px 11px; }
  .nav-toggle { display: flex; }
}

@media (max-width: 860px) {
  :root { --pad: 24px; }
  .statstrip__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3), .stat:nth-child(4) { border-top: 1px solid var(--hairline); }
  .stat:nth-child(odd) { border-left: 0; }
  .story, .contact-grid, .blog-featured { grid-template-columns: 1fr; }
  .svc-cols, .svc-com__grid, .form-grid--3, .form-grid--2 { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .section { padding: 72px 0; }
  .hero h1 { font-size: 30px; }
  h2, .h2-lg, .statement h2, .h-display { font-size: 24px; }
  .page-title--left h1 { font-size: 30px; }
}

@media (max-width: 560px) {
  .trust-grid, .listing-grid, .exp-grid, .blog-grid, .listings-grid-3 { grid-template-columns: 1fr; }
  .credibility { grid-template-columns: 1fr; }
  .credibility .cred-col { border-right: 0; border-bottom: 1px solid var(--hairline); padding-bottom: 28px; }
  .filterbar { grid-template-columns: 1fr; }
  .statstrip__grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .stat { border-left: 0 !important; border-top: 1px solid var(--hairline); }
  .stat:first-child { border-top: 0; }
  .story__panel, .contact-info, .proposal, .svc-panel { padding: 32px 26px; }
  .hero h1 { font-size: 30px; }
}

/* ==========================================================================
   Sticky floating CTA (bottom-right, every page)
   ========================================================================== */
.sticky-cta {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--brass); color: #fff; font-family: var(--sans); font-weight: 700; font-size: 17px;
  padding: 14px 22px; border-radius: 3px; box-shadow: 0 12px 30px rgba(14,37,71,0.30);
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.sticky-cta:hover { background: var(--brass-hover); color: #fff; transform: translateY(-2px); box-shadow: 0 16px 38px rgba(14,37,71,0.34); }
.sticky-cta svg { width: 19px; height: 19px; }
@media (max-width: 560px) {
  .sticky-cta { right: 14px; bottom: 14px; padding: 13px; gap: 0; }
  .sticky-cta .sticky-cta__txt { display: none; }
  .sticky-cta svg { width: 22px; height: 22px; }
}

/* ==========================================================================
   Service category icons (home tabs + services accordion heads)
   ========================================================================== */
.svc-tab { display: inline-flex; align-items: center; gap: 8px; }
.svc-tab > svg, .svc-tab > .svc-ic { width: 18px; height: 18px; flex-shrink: 0; }
.acc-head__name { display: inline-flex; align-items: center; gap: 11px; }
.acc-head__icon { display: inline-flex; flex-shrink: 0; color: var(--brass); }
.acc-head__icon svg, .acc-head__icon .svc-ic { width: 24px; height: 24px; }

/* Client-supplied service icons rendered as CSS masks so they inherit colour
   (white on the active navy tab, brass in the accordion) instead of staying black. */
.svc-ic {
  display: inline-block; background-color: currentColor;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
}
.svc-ic--leasing     { -webkit-mask-image: url("../images/svc/leasing.svg");     mask-image: url("../images/svc/leasing.svg"); }
.svc-ic--operation   { -webkit-mask-image: url("../images/svc/operation.svg");   mask-image: url("../images/svc/operation.svg"); }
.svc-ic--accounting  { -webkit-mask-image: url("../images/svc/accounting.svg");  mask-image: url("../images/svc/accounting.svg"); }
.svc-ic--commercial  { -webkit-mask-image: url("../images/svc/commercial.svg");  mask-image: url("../images/svc/commercial.svg"); }
.svc-ic--nonresident { -webkit-mask-image: url("../images/svc/nonresident.svg"); mask-image: url("../images/svc/nonresident.svg"); }

/* ==========================================================================
   FAQ — per-question icon (replaces the category text badge) + mobile fixes
   ========================================================================== */
.faq-icon {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 9px;
  background: #EEF1F7; color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center;
}
.faq-icon svg { width: 20px; height: 20px; }
@media (max-width: 700px) {
  .faq-item summary { padding: 18px 18px; gap: 13px; }
  .faq-q { font-size: 18px; }
  .faq-a { padding: 0 18px 22px 18px; font-size: 18px; }
  .faq-icon { width: 34px; height: 34px; }
  .faq-icon svg { width: 18px; height: 18px; }
  .rail .faq-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
}

/* ==========================================================================
   Listings — image carousel (prev/next arrows + dots)
   ========================================================================== */
.listing-card__media { position: relative; }
.lc-track { display: flex; width: 100%; height: 100%; transition: transform .3s ease; }
.lc-track > img { width: 100%; height: 100%; object-fit: cover; flex: 0 0 100%; }
.lc-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,0.92); color: var(--navy);
  display: none; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(14,37,71,0.22); transition: background-color .2s ease, opacity .2s ease;
}
.lc-arrow:hover { background: #fff; }
.lc-arrow svg { width: 18px; height: 18px; }
.lc-arrow--prev { left: 10px; }
.lc-arrow--next { right: 10px; }
.listing-card__media[data-gallery="multi"]:hover .lc-arrow,
.listing-card__media[data-gallery="multi"]:focus-within .lc-arrow { display: inline-flex; }
.lc-dots {
  position: absolute; left: 0; right: 0; bottom: 10px; z-index: 3;
  display: none; gap: 6px; justify-content: center;
}
.listing-card__media[data-gallery="multi"] .lc-dots { display: flex; }
.lc-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.55); border: 0; padding: 0; cursor: pointer; }
.lc-dot.is-on { background: #fff; }
/* always show arrows on touch (no hover) */
@media (hover: none) {
  .listing-card__media[data-gallery="multi"] .lc-arrow { display: inline-flex; }
}

/* ==========================================================================
   Listings — compare toggle + tray + modal
   ========================================================================== */
.listing-card__compare {
  width: 44px; flex-shrink: 0; background: #FAFBFC; border: 1px solid #DDD7C9; border-radius: 4px;
  cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--navy);
  transition: border-color .2s ease, background-color .2s ease, color .2s ease, opacity .2s ease;
}
.listing-card__compare:hover { border-color: var(--navy); }
.listing-card__compare svg { width: 19px; height: 19px; }
.listing-card__compare[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.listing-card.is-comparing { box-shadow: 0 0 0 2px var(--navy), 0 10px 28px rgba(14,37,71,0.12); }

.compare-bar {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 24px; z-index: 95;
  background: var(--navy); color: #fff; border-radius: 12px; box-shadow: 0 14px 40px rgba(14,37,71,0.38);
  padding: 12px 14px 12px 18px; display: flex; align-items: center; gap: 16px; max-width: calc(100vw - 32px);
}
.compare-bar[hidden] { display: none; }
.compare-bar__label { font-weight: 700; font-size: 17px; white-space: nowrap; }
.compare-bar__items { display: flex; gap: 8px; flex-wrap: wrap; }
.compare-chip { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.12); border-radius: 8px; padding: 6px 8px 6px 11px; font-size: 17px; white-space: nowrap; }
.compare-chip button { background: none; border: 0; color: #C3CEDF; cursor: pointer; font-size: 17px; line-height: 1; padding: 2px; display: inline-flex; }
.compare-chip button:hover { color: #fff; }
.compare-bar .btn { padding: 11px 20px; }
.compare-bar .btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.compare-bar__clear { background: none; border: 0; color: #C3CEDF; cursor: pointer; font-size: 17px; font-weight: 600; }
.compare-bar__clear:hover { color: #fff; }
@media (max-width: 600px) {
  .compare-bar { left: 12px; right: 12px; transform: none; max-width: none; flex-wrap: wrap; gap: 12px; bottom: 14px; }
  .compare-bar__items { order: 3; flex-basis: 100%; }
}

.compare-modal { position: fixed; inset: 0; z-index: 120; background: rgba(14,37,71,0.55); display: flex; align-items: center; justify-content: center; padding: 24px; }
.compare-modal[hidden] { display: none; }
.compare-modal__panel { background: #fff; border-radius: 14px; max-width: 900px; width: 100%; max-height: 90vh; overflow: auto; padding: 30px 32px 34px; position: relative; }
.compare-modal__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.compare-modal__head h2 { font-size: 24px; }
.compare-modal__close { background: none; border: 0; cursor: pointer; color: var(--slate); width: 38px; height: 38px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; }
.compare-modal__close:hover { background: var(--gray-bg); color: var(--navy); }
.compare-modal__close svg { width: 22px; height: 22px; }
.compare-modal__tools { display: flex; align-items: center; gap: 16px; }
.cmp-difftoggle { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--slate); cursor: pointer; white-space: nowrap; user-select: none; }
.cmp-difftoggle input { width: 16px; height: 16px; accent-color: var(--navy); margin: 0; }

/* Side-by-side spec comparison table */
.compare-cols { display: block; }
.cmp-table { width: 100%; border: 1px solid var(--hairline); border-radius: 10px; overflow: hidden; }
.cmp-row { display: grid; grid-template-columns: 1.1fr 1fr 1fr; border-bottom: 1px solid var(--hairline); }
.cmp-table--3 .cmp-row { grid-template-columns: 1.1fr 1fr 1fr 1fr; }
.cmp-row:last-child { border-bottom: 0; }
.cmp-cell { padding: 10px 14px; font-size: 16px; color: var(--ink); display: flex; align-items: center; justify-content: center; text-align: center; min-width: 0; }
/* Only the left label column stays left-aligned; both property columns centre */
.cmp-cell--label { color: var(--muted); font-weight: 600; justify-content: flex-start; text-align: left; }
.cmp-row--head .cmp-cell { padding-top: 14px; padding-bottom: 14px; }
.cmp-prop { flex-direction: column; align-items: center; justify-content: flex-start; text-align: center; gap: 7px; }
.cmp-prop img { width: 100%; max-width: 160px; height: 88px; object-fit: cover; border-radius: 6px; background: var(--well); }
.cmp-prop b { color: var(--navy); font-size: 17px; line-height: 1.25; }
.cmp-prop span { color: var(--faint); font-size: 14px; }
/* Server-rendered compare table links its header cells to the listing */
.cmp-prop a { display: flex; flex-direction: column; align-items: center; gap: 7px; width: 100%; text-decoration: none; color: inherit; }
.cmp-row--section { grid-template-columns: 1fr; }
.cmp-row--section .cmp-cell { font-family: var(--sans); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; color: var(--navy); background: var(--gray-bg); padding-top: 9px; padding-bottom: 9px; justify-content: flex-start; text-align: left; }
.cmp-row--diff { background: var(--brass-tint); }
.cmp-yes { width: 19px; height: 19px; color: #1C7C46; }
.cmp-no { color: var(--faint); }
@media (max-width: 600px) {
  .compare-modal__panel { padding: 22px 16px 24px; }
  .compare-modal__tools { gap: 10px; }
  .cmp-difftoggle { font-size: 13px; }
  .cmp-cell { padding: 8px 9px; font-size: 14px; }
  .cmp-cell--label { font-size: 13px; }
  .cmp-prop img { height: 62px; }
  .cmp-prop b { font-size: 14px; }
  .cmp-prop span { font-size: 12px; }
}

/* Statement band scales down but stays the biggest type on the page (overrides
   the generic mobile h2 rule above, which would otherwise shrink it to 24px) */
@media (max-width: 860px) { .statement h2 { font-size: 40px; } }
@media (max-width: 560px) { .statement h2 { font-size: 32px; } }


/* --- enquiry form: submit button + invisible reCAPTCHA badge on one row --- */
.proposal__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.proposal__actions .proposal__submit { margin-top: 8px; flex: 0 0 auto; }
/* Push the badge to the far right of the button's line. Google requires it to
   stay visible, so it is moved — never hidden. */
/* flex:0 0 auto is load-bearing — the badge must never shrink. Do NOT reintroduce
   line-height here; it collapses the badge's own text layout. */
.proposal__actions .noble-captcha {
  margin-left: auto;
  flex: 0 0 auto;
  min-width: 256px;
  overflow: visible;
}
.proposal__actions .noble-captcha .grecaptcha-badge {
  box-shadow: none !important;
  overflow: visible !important;
}
/* On narrow screens let it drop under the button rather than squeeze it. */
@media (max-width: 560px) {
  .proposal__actions { justify-content: flex-start; }
  .proposal__actions .noble-captcha { margin-left: 0; min-width: 0; }
}
