/* ============================================================
   PS General Construction — Design System
   Light, spacious, photography-led. Single restrained accent.
   ============================================================ */

:root {
  --bg: #ffffff;
  --surface: #f5f5f7;
  --surface-2: #ebebef;
  --ink: #0f0f11;
  --ink-soft: #6e6e76;
  --ink-faint: #a1a1a8;
  --line: #e6e6ea;
  --accent: #e0491f;
  --accent-ink: #b93a17;
  --accent-soft: #fdece5;
  --accent-glow: #ff8a5c;
  --dark: #0c0d0f;
  --dark-soft: #9a9aa3;

  --font-display: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container: 1240px;
  --radius: 26px;
  --radius-sm: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--accent); color: #fff; }

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 32px; }

/* ---------- Type scale ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--ink);
}
.h-display { font-size: clamp(2.8rem, 6.4vw, 5.6rem); letter-spacing: -0.04em; }
.h-xl { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.h-lg { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.h-md { font-size: clamp(1.25rem, 1.8vw, 1.5rem); }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1.5px;
  background: var(--accent);
  display: inline-block;
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 640px;
  font-weight: 400;
}

.mono-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  transition: transform 0.25s cubic-bezier(.2,.8,.2,1), background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 1px 2px rgba(224,73,31,0.15); }
.btn-primary:hover { background: var(--accent-ink); box-shadow: 0 8px 26px -6px rgba(224,73,31,0.55); }
.btn-outline { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: padding 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}
.nav.scrolled {
  padding: 12px 0;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(20px) saturate(1.9);
  -webkit-backdrop-filter: blur(20px) saturate(1.9);
  box-shadow: 0 1px 0 var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.brand { display: flex; flex-direction: column; line-height: 1.1; }
@media (min-width: 721px) {
  .brand { flex-shrink: 0; }
}
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em; }
.brand-tag { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.1em; color: var(--accent); text-transform: uppercase; margin-top: 2px; }

.nav-links { display: flex; align-items: center; gap: 0px; }
.nav-links > li { position: relative; }
.nav-links > li > a, .nav-links > li > button {
  display: flex; align-items: center; gap: 4px;
  padding: 9px 10px;
  border-radius: 100px;
  font-size: 0.85rem; font-weight: 500;
  background: none; border: none; color: var(--ink);
  white-space: nowrap;
  transition: background 0.2s ease;
}
.nav-links > li > a:hover, .nav-links > li > button:hover { background: var(--surface); }
.nav-chevron { width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin-top: -3px; transition: transform 0.2s ease; }
.nav-links > li.open .nav-chevron { transform: rotate(225deg); margin-top: 3px; }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(6px);
  background: #fff; border-radius: 18px; box-shadow: 0 20px 50px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
  padding: 10px; min-width: 220px;
  opacity: 0; visibility: hidden; transition: all 0.22s cubic-bezier(.2,.8,.2,1);
}
.nav-links > li.open .dropdown, .nav-links > li:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a { display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; border-radius: 12px; font-size: 0.88rem; font-weight: 500; }
.dropdown a:hover { background: var(--surface); color: var(--accent); }
.dropdown .dd-current { color: var(--accent); }

/* Nested borough -> service flyout */
.dd-borough {
  position: relative;
}
.dd-borough > .dd-borough-link {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 11px 14px; border-radius: 12px; font-size: 0.88rem; font-weight: 500; color: var(--ink);
  cursor: default;
}
.dd-borough > .dd-borough-link .dd-arrow { width: 6px; height: 6px; border-right: 1.5px solid var(--ink-faint); border-bottom: 1.5px solid var(--ink-faint); transform: rotate(-45deg); flex-shrink: 0; }
.dd-borough:hover > .dd-borough-link,
.dd-borough.open > .dd-borough-link { background: var(--surface); color: var(--accent); }
.dd-borough:hover > .dd-borough-link .dd-arrow,
.dd-borough.open > .dd-borough-link .dd-arrow { border-color: var(--accent); }

.dd-sub {
  position: absolute; left: calc(100% + 8px); top: -10px;
  background: #fff; border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
  padding: 8px; min-width: 170px;
  opacity: 0; visibility: hidden; transform: translateX(6px);
  transition: all 0.18s cubic-bezier(.2,.8,.2,1);
  pointer-events: none;
}
.dd-borough:hover > .dd-sub,
.dd-borough.open > .dd-sub {
  opacity: 1; visibility: visible; transform: translateX(0); pointer-events: auto;
}
.dd-sub a { font-size: 0.86rem; padding: 10px 13px; }
.dd-sub .dd-sub-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-faint); padding: 8px 13px 4px; }

.dd-viewall {
  display: block; margin-top: 4px; padding: 11px 14px !important;
  font-size: 0.82rem !important; font-weight: 600 !important; color: var(--accent) !important;
  border-top: 1px solid var(--line);
}
.dd-viewall:hover { background: var(--surface); }

/* If the flyout would run off the right edge, flip it to open leftward instead */
.dropdown.flip-left .dd-sub { left: auto; right: calc(100% + 8px); transform: translateX(-6px); }
.dropdown.flip-left .dd-borough:hover > .dd-sub,
.dropdown.flip-left .dd-borough.open > .dd-sub { transform: translateX(0); }

.nav-cta { display: flex; align-items: center; gap: 8px; }
.nav-phone { font-size: 0.85rem; font-weight: 600; padding: 9px 11px; }
.nav-phone .mono-label { display: block; font-size: 0.62rem; }

.mobile-toggle { display: none; background: none; border: none; width: 40px; height: 40px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.mobile-toggle span { width: 20px; height: 1.5px; background: var(--ink); display: block; transition: transform 0.25s ease, opacity 0.25s ease, background 0.25s ease; }

/* Nav sitting on top of a full-bleed photo hero: light text until scrolled */
.hero-photo .nav:not(.scrolled) .brand-name,
.hero-photo .nav:not(.scrolled) .nav-links > li > a,
.hero-photo .nav:not(.scrolled) .nav-links > li > button,
.hero-photo .nav:not(.scrolled) .nav-phone { color: #fff; }
.hero-photo .nav:not(.scrolled) .brand-tag { color: #ffd9c4; }
.hero-photo .nav:not(.scrolled) .nav-phone { border-color: rgba(255,255,255,0.4); }
.hero-photo .nav:not(.scrolled) .nav-links > li > a:hover,
.hero-photo .nav:not(.scrolled) .nav-links > li > button:hover { background: rgba(255,255,255,0.14); }
.hero-photo .nav:not(.scrolled) .mobile-toggle span { background: #fff; }
.hero-photo .nav:not(.scrolled) .dropdown { color: var(--ink); } /* dropdown panel itself stays on white, unaffected */
.hero-photo .nav:not(.scrolled) .dropdown a { color: var(--ink); }

/* ---------- Hero (bright, Apple-style) ---------- */
.hero-bright { padding: 168px 0 0; background: var(--bg); overflow: hidden; }
.hero-bright-content { max-width: 780px; margin: 0 auto; text-align: center; }
.hero-bright-content .eyebrow { justify-content: center; }
.hero-bright-content h1 { max-width: 760px; margin-left: auto; margin-right: auto; }
.hero-bright-content .lede { max-width: 560px; }

.hero-bright-frame {
  margin: 64px auto 0;
  max-width: 1240px;
  padding: 0 32px;
}
.hero-bright-frame.reveal {
  opacity: 0; transform: translateY(40px) scale(0.98);
  transition: opacity 1s cubic-bezier(.2,.8,.2,1), transform 1s cubic-bezier(.2,.8,.2,1);
}
.hero-bright-frame.reveal.in-view { opacity: 1; transform: translateY(0) scale(1); }
.hero-bright-frame img {
  width: 100%;
  aspect-ratio: 16/8.5;
  object-fit: cover;
  border-radius: 32px;
  box-shadow: 0 50px 100px -30px rgba(15,15,17,0.28), 0 10px 30px -10px rgba(15,15,17,0.12);
}

@media (max-width: 720px) {
  .hero-bright { padding: 128px 0 0; }
  .hero-bright-frame { margin-top: 40px; padding: 0 20px; }
  .hero-bright-frame img { aspect-ratio: 4/4.6; border-radius: 22px; }
  .hero-bright-content .eyebrow {
    display: block;
    text-align: center;
  }
  .hero-bright-content .eyebrow::before { display: none; }
}

/* ---------- Hero (legacy full-bleed photo, kept for reference / other pages) ---------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,10,10,0.82) 0%, rgba(10,10,10,0.35) 46%, rgba(10,10,10,0.05) 68%);
}
.hero-mortar {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0.5;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 128px);
}
.hero-content { position: relative; z-index: 2; width: 100%; padding: 160px 0 76px; color: #fff; }
.hero .eyebrow { color: #ffd9c4; }
.hero .eyebrow::before { background: #ffd9c4; }
.hero h1 { color: #fff; max-width: 920px; }
.hero .lede { color: rgba(255,255,255,0.82); margin-top: 22px; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 28px; right: 32px; z-index: 2;
  color: rgba(255,255,255,0.7); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.hero-scroll .line { width: 1px; height: 34px; background: rgba(255,255,255,0.4); overflow: hidden; }
.hero-scroll .line::after { content: ''; display: block; width: 100%; height: 40%; background: #fff; animation: scrollLine 1.8s ease-in-out infinite; }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 100% { transform: translateY(250%); } }

/* ---------- Trust strip ---------- */
.trust {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.trust .wrap { display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: space-between; padding: 26px 32px; }
.trust-item { font-size: 0.8rem; font-weight: 600; color: var(--ink-soft); letter-spacing: 0.02em; display: flex; align-items: center; gap: 8px; }
.trust-item::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* ---------- Sections ---------- */
.section { padding: 128px 0; }
.section-tight { padding: 88px 0; }
.section-header { max-width: 760px; margin-bottom: 64px; }
.section-header .eyebrow { margin-bottom: 22px; }
.section-header h2 { margin-bottom: 20px; }
.section-alt { background: var(--surface); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s cubic-bezier(.2,.8,.2,1), transform 0.8s cubic-bezier(.2,.8,.2,1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-stag > * { opacity: 0; transform: translateY(24px); transition: opacity 0.7s cubic-bezier(.2,.8,.2,1), transform 0.7s cubic-bezier(.2,.8,.2,1); }
.reveal-stag.in-view > * { opacity: 1; transform: translateY(0); }
.reveal-stag.in-view > *:nth-child(1) { transition-delay: 0.02s; }
.reveal-stag.in-view > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stag.in-view > *:nth-child(3) { transition-delay: 0.18s; }
.reveal-stag.in-view > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-stag.in-view > *:nth-child(5) { transition-delay: 0.34s; }
.reveal-stag.in-view > *:nth-child(6) { transition-delay: 0.42s; }

/* ---------- Stats ---------- */
.stats-wrap { position: relative; }
.stats-wrap::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 900px; height: 420px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 70%);
  opacity: 0.08;
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
.stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.stat-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 3.6vw, 3.4rem); letter-spacing: -0.03em; color: var(--ink); }
.stat-label { font-size: 0.82rem; color: var(--ink-soft); margin-top: 8px; max-width: 20ch; }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 60px -30px rgba(15,15,17,0.18); }
.svc-card { background: var(--bg); padding: 48px; }
.svc-card .mono-label { color: var(--accent); }
.svc-card h3 { margin: 16px 0 22px; font-size: clamp(1.3rem, 2vw, 1.7rem); }
.svc-list { display: flex; flex-direction: column; gap: 12px; }
.svc-list li { font-size: 0.95rem; color: var(--ink-soft); padding-left: 20px; position: relative; }
.svc-list li::before { content: ''; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- Process ---------- */
.process-list { display: flex; flex-direction: column; }
.process-row { display: grid; grid-template-columns: 90px 1fr; gap: 32px; padding: 34px 0; border-top: 1px solid var(--line); align-items: baseline; }
.process-list .process-row:last-child { border-bottom: 1px solid var(--line); }
.process-num { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--ink-faint); }
.process-row h3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); margin-bottom: 10px; }
.process-row p { color: var(--ink-soft); max-width: 560px; font-size: 0.96rem; }

/* ---------- Portfolio ---------- */
.pf-group { margin-bottom: 60px; }
.pf-group:last-child { margin-bottom: 0; }
.pf-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 24px; border-bottom: 1px solid var(--line); padding-bottom: 18px; flex-wrap: wrap; gap: 10px; }
.pf-head h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); }
.pf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pf-item { position: relative; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4/3.1; background: var(--surface); box-shadow: 0 14px 34px -18px rgba(15,15,17,0.22); transition: box-shadow 0.3s ease; }
.pf-item:hover { box-shadow: 0 20px 46px -16px rgba(15,15,17,0.3); }
.pf-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(.2,.8,.2,1); }
.pf-item:hover img { transform: scale(1.06); }
.pf-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 18px 16px; color: #fff; font-size: 0.85rem; font-weight: 600; background: linear-gradient(0deg, rgba(0,0,0,0.72), transparent); }
.pf-ba { position: relative; border-radius: var(--radius-sm); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; aspect-ratio: 16/9; }
.pf-ba img { width: 100%; height: 100%; object-fit: cover; }
.pf-ba .tag { position: absolute; top: 14px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 11px; border-radius: 100px; color: #fff; background: rgba(0,0,0,0.55); backdrop-filter: blur(4px); }
.pf-ba .tag.before { left: 14px; }
.pf-ba .tag.after { right: 14px; background: var(--accent); }
.pf-ba-cap { grid-column: 1 / -1; padding: 16px 4px 0; font-size: 0.9rem; font-weight: 600; color: var(--ink-soft); }

/* ---------- Area chips (used on homepage service-area section) ---------- */
.area-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.area-card { padding: 30px 22px; border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease; }
.area-card:hover { border-color: var(--accent); transform: translateY(-4px); background: #fff; }
.area-card .mono-label { color: var(--ink-faint); }
.area-card h3 { font-size: 1.15rem; margin: 10px 0 10px; }
.area-card p { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 16px; }
.area-card .area-link { font-size: 0.85rem; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.area-card .area-link svg { transition: transform 0.2s ease; }
.area-card:hover .area-link svg { transform: translateX(3px); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--dark);
  color: #fff; border-radius: 32px; padding: 72px; position: relative; overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; top: -30%; right: -10%;
  width: 640px; height: 640px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 68%);
  opacity: 0.22;
  filter: blur(10px);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band .eyebrow { color: #ffd9c4; }
.cta-band .eyebrow::before { background: #ffd9c4; }
.cta-band h2 { color: #fff; max-width: 680px; }
.cta-band p { color: var(--dark-soft); margin-top: 18px; max-width: 520px; font-size: 1.05rem; }
.cta-band-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Contact / form ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }
.contact-info-item { display: flex; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.contact-info-item:last-child { padding-bottom: 0; }
.contact-info-item .mono-label { color: var(--ink-faint); margin-bottom: 4px; }
.contact-info-item .val { font-size: 1.05rem; font-weight: 600; }
.form-card { background: var(--surface); border-radius: var(--radius); padding: 44px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 0.8rem; font-weight: 600; margin-bottom: 8px; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line);
  background: #fff; font-family: inherit; font-size: 0.95rem; color: var(--ink); transition: border-color 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 0.78rem; color: var(--ink-faint); margin-top: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--dark-soft); padding: 64px 0 32px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .brand-name { color: #fff; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h4 { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; font-size: 0.88rem; margin-bottom: 10px; color: var(--dark-soft); }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 28px; font-size: 0.78rem; flex-wrap: wrap; gap: 10px; }

/* ---------- Sub-page hero (boroughs) ---------- */
.subhero { padding: 172px 0 80px; }
.subhero .breadcrumb { font-size: 0.82rem; color: var(--ink-faint); margin-bottom: 26px; display: flex; align-items: center; gap: 8px; }
.subhero .breadcrumb a:hover { color: var(--accent); }
.subhero h1 { max-width: 880px; }
.subhero .lede { margin-top: 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .svc-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .pf-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band { padding: 48px 32px; }
}

@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }
  .nav-phone { display: none; }
  .hero-content { padding: 130px 0 56px; }
  .hero-scroll { display: none; }
  .section { padding: 80px 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .area-grid { grid-template-columns: 1fr 1fr; }
  .pf-grid { grid-template-columns: 1fr; }
  .pf-ba { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .form-card { padding: 28px; }
  .footer-top { flex-direction: column; }
  .footer-cols { gap: 36px 48px; }
  .subhero { padding: 132px 0 56px; }
}

@media (max-width: 560px) {
  .area-grid { grid-template-columns: 1fr; }
}

/* Mobile nav panel */
.mobile-panel {
  position: fixed; inset: 0; z-index: 99; background: var(--bg);
  padding: 100px 28px 40px;
  transform: translateY(-100%); transition: transform 0.35s cubic-bezier(.2,.8,.2,1);
  overflow-y: auto;
}
.mobile-panel.open { transform: translateY(0); }
.mobile-panel a { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mobile-panel .mp-sub { padding-left: 18px; }
.mobile-panel .mp-sub a { font-size: 1.1rem; font-weight: 600; color: var(--ink-soft); border-bottom: none; padding: 10px 0; }
.mobile-panel .btn { margin-top: 28px; width: 100%; }

/* Mobile nested borough -> service accordion */
.mp-borough-group { border-bottom: 1px solid var(--line); }
.mp-borough-group:last-child { border-bottom: none; }
.mp-borough-toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  background: none; border: none; text-align: left;
  font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--ink);
  padding: 12px 0;
}
.mp-borough-toggle .dd-arrow { width: 7px; height: 7px; border-right: 2px solid var(--ink-faint); border-bottom: 2px solid var(--ink-faint); transform: rotate(45deg); transition: transform 0.2s ease; }
.mp-borough-group.open .mp-borough-toggle .dd-arrow { transform: rotate(225deg); }
.mp-borough-services { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; padding-left: 14px; }
.mp-borough-group.open .mp-borough-services { max-height: 200px; }
.mp-borough-services a { font-size: 0.95rem; font-weight: 500; color: var(--ink-soft); padding: 9px 0; border-bottom: none; }
.mp-borough-services .mp-overview { color: var(--accent); }
.mp-viewall { font-family: var(--font-body) !important; font-weight: 600 !important; font-size: 0.95rem !important; color: var(--accent) !important; padding: 14px 0 !important; }

/* --- Added: header logo mark --- */
.brand { display: flex; flex-direction: row; align-items: center; gap: 10px; }
.brand-logo { width: 34px; height: 34px; border-radius: 8px; flex-shrink: 0; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
