/* Sandberg Management — site stylesheet */

:root {
  --accent: #3F5A73;
  --accent-deep: #2E4458;
  --accent-soft: #E2E8EE;
  --ink: #1B1F23;
  --ink-2: #363D44;
  --muted: #616970;
  --faint: #969DA4;
  --line: #DEE3E8;
  --line-2: #E3E7EB;
  --bg: #F2F4F5;
  --gutter: clamp(20px, 5vw, 40px);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
::selection { background: #232A33; color: #F2F4F5; }
img { display: block; max-width: 100%; }
a { color: inherit; }
input:focus, select:focus, textarea:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@keyframes scLift { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.wrap { max-width: 1280px; margin: 0 auto; }
.section { padding: clamp(64px, 10vw, 112px) var(--gutter); scroll-margin-top: 90px; }
.bt { border-top: 1px solid #E5E9EE; }
.bg-white { background: #FFFFFF; }
.bg-paper { background: #F9FAFB; }
.bg-base { background: var(--bg); }
.bg-mist { background: #E9ECEF; }
.bg-dark { background: #232A33; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 80px; align-items: start; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap; margin-bottom: 48px; }

/* ---------- Type ---------- */
.eyebrow {
  font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 22px;
}
.eyebrow.on-dark { color: #A9BBCE; }
.display {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(36px, 4vw, 59.5px); line-height: 1.04; letter-spacing: -0.005em;
  color: var(--ink); margin: 0; text-wrap: balance;
}
.display-md { font-size: clamp(34px, 3.6vw, 53px); line-height: 1.06; }
.lede { font-size: 17.5px; line-height: 1.72; color: var(--muted); margin: 0; }
.side-note { font-size: 16.5px; line-height: 1.7; color: var(--muted); margin: 0; }
.link-arrow { color: var(--accent); font-size: 16px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.link-arrow:hover { color: var(--accent-deep); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 17px 30px; border-radius: 2px; font-size: 16px; font-weight: 700;
  letter-spacing: 0.02em; text-decoration: none; white-space: nowrap;
}
.btn-accent { background: var(--accent); color: #FFFFFF; }
.btn-accent:hover { background: var(--accent-deep); }
.btn-outline { border: 1px solid #C2C9D1; color: var(--ink); padding: 17px 26px; font-weight: 600; }
.btn-outline:hover { border-color: var(--ink); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: -38px; z-index: 50; }
.topbar { background: #E9ECEF; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.topbar-in {
  max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); height: 38px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; overflow: hidden;
}
.topbar-tag { letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; font-size: 12px; white-space: nowrap; }
.topbar-phone { margin-left: auto; color: var(--ink); text-decoration: none; font-weight: 600; letter-spacing: 0.02em; white-space: nowrap; }

.nav {
  background: rgba(242, 244, 246, 0.9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-in {
  max-width: 1280px; margin: 0 auto; padding: 14px var(--gutter); min-height: 92px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px 28px;
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.nav-logo img { height: 52px; width: auto; }
.nav-links { display: flex; align-items: center; flex-wrap: nowrap; justify-content: flex-end; gap: 10px 20px; min-width: 0; flex: 1; }
.nav-links > a {
  text-decoration: none; color: var(--ink-2); font-size: 14px; font-weight: 500; letter-spacing: 0.01em;
  white-space: nowrap; padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav-links > a:hover { color: var(--accent); }
.nav-links > a[aria-current="page"] { color: var(--ink); font-weight: 700; border-bottom-color: var(--accent); }
.nav-ctas { display: flex; align-items: center; gap: 10px; flex-shrink: 0; margin-left: 6px; }
.btn-pay {
  text-decoration: none; background: var(--ink); border: 1.5px solid var(--ink); color: #FFFFFF;
  padding: 12px 20px; border-radius: 2px; font-size: 16px; font-weight: 700; letter-spacing: 0.02em;
  white-space: nowrap; box-shadow: 0 2px 8px rgba(27, 31, 35, 0.28);
}
.btn-pay:hover { background: var(--ink-2); }
.btn-proposal {
  text-decoration: none; background: var(--accent); color: #FFFFFF; padding: 13px 20px; border-radius: 2px;
  font-size: 14px; font-weight: 700; letter-spacing: 0.02em; white-space: nowrap;
  box-shadow: 0 2px 7px rgba(63, 90, 115, 0.34);
}
.btn-proposal:hover { background: var(--accent-deep); }

.nav-mobile { display: none; align-items: center; gap: 6px; flex-shrink: 0; }
.nav-mobile .m-btn {
  text-decoration: none; color: #FFFFFF; height: 44px; display: inline-flex; align-items: center;
  border-radius: 2px; font-size: 15px; font-weight: 700; white-space: nowrap;
}
.nav-mobile .m-pay { background: var(--ink); padding: 0 14px; }
.nav-mobile .m-proposal { background: var(--accent); padding: 0 16px; }
.menu-toggle {
  width: 44px; height: 44px; border: 1px solid #C2C9D1; background: transparent; border-radius: 2px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; padding: 0;
}
.menu-toggle span { width: 18px; height: 1.5px; background: var(--ink); display: block; }

.mobile-menu { padding: 4px 20px 20px; display: flex; flex-direction: column; background: #F2F4F5; border-top: 1px solid var(--line); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { text-decoration: none; display: block; }
.mobile-menu .mm-pay {
  background: var(--ink); color: #FFFFFF; font-size: 17.5px; font-weight: 700; padding: 15px 0;
  margin: 14px 0 8px; text-align: center; border-radius: 2px;
}
.mobile-menu .mm-link { color: var(--ink); font-size: 18px; font-weight: 500; padding: 15px 0; border-bottom: 1px solid var(--line-2); }
.mobile-menu .mm-call { color: var(--accent); font-size: 16.5px; font-weight: 700; padding: 18px 0 0; }

@media (max-width: 1039.98px) {
  .topbar-tag, .nav-links { display: none; }
  .nav { background: rgba(242, 244, 246, 0.94); }
  .nav-in { padding: 12px 16px; min-height: 0; gap: 10px; max-width: none; }
  .nav-logo { min-width: 0; flex-shrink: 1; }
  .nav-logo img { height: 30px; max-width: 100%; }
  .nav-mobile { display: flex; }
}

/* ---------- Footer ---------- */
.cta-band { background: #E5E9ED; padding: clamp(56px, 8vw, 88px) var(--gutter); border-top: 1px solid var(--line); }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px 48px; flex-wrap: wrap; }
.cta-band .eyebrow { margin-bottom: 16px; }
.cta-band h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 3.4vw, 49px); line-height: 1.06; color: var(--ink); margin: 0; text-wrap: balance; }
.cta-band .btns { display: flex; gap: 14px; flex-wrap: wrap; }

.footer { background: #1B222B; color: rgba(241, 245, 248, 0.7); padding: 74px var(--gutter) 40px; }
.footer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); gap: 48px;
  padding-bottom: 54px; border-bottom: 1px solid rgba(241, 245, 248, 0.12);
}
.footer-logo { height: 54px; width: auto; margin-bottom: 24px; }
.footer-blurb { font-size: 15.5px; line-height: 1.7; color: rgba(241, 245, 248, 0.58); margin: 0; max-width: 300px; }
.footer-h { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(241, 245, 248, 0.42); font-weight: 600; margin: 0 0 18px; }
.footer-links { display: flex; flex-direction: column; gap: 11px; font-size: 15.5px; }
.footer-links a { color: rgba(241, 245, 248, 0.72); text-decoration: none; }
.footer-links a:hover { color: #F1F5F8; }
.footer address { font-style: normal; font-size: 15.5px; line-height: 1.8; color: rgba(241, 245, 248, 0.72); }
.footer address a { color: #F1F5F8; text-decoration: none; font-weight: 600; }
.footer-base {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  padding-top: 26px; font-size: 14px; color: rgba(241, 245, 248, 0.4);
}
.footer-base span:last-child { letter-spacing: 0.1em; text-transform: uppercase; }

/* ---------- Shared pieces ---------- */
.photo { width: 100%; object-fit: cover; background: #DDE2E7; }
.bldg-name, .person-name { font-family: var(--serif); font-weight: 600; font-size: 21px; color: var(--ink); margin-top: 14px; }
.bldg-since { font-size: 13px; letter-spacing: 0.06em; color: var(--faint); margin-top: 4px; text-transform: uppercase; }
.person-role { font-size: 13px; letter-spacing: 0.08em; color: var(--accent); margin-top: 3px; text-transform: uppercase; font-weight: 600; }

/* Leadership (Home + About) */
.leadership .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 72px; align-items: center; }
.portraits { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 18px; }
.portraits .photo { height: 340px; }
.leadership .eyebrow { margin-bottom: 24px; }
.leadership h2 { margin-bottom: 26px; }
.leadership .p1 { font-size: 17.5px; line-height: 1.72; color: var(--ink-2); margin: 0 0 18px; }
.leadership .p1 strong { font-weight: 600; color: var(--ink); }
.leadership .p2 { font-size: 16.5px; line-height: 1.72; color: var(--muted); margin: 0 0 34px; }
.stats { display: flex; gap: 46px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 30px; }
.stat-num { font-family: var(--serif); font-weight: 600; font-size: 44.5px; color: var(--accent); line-height: 1; }
.stat-label { font-size: 14.5px; color: var(--muted); margin-top: 8px; letter-spacing: 0.04em; }

/* Building grid (Home) */
.bldg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 22px; }
.bldg-grid .photo { height: 300px; }

/* ---------- Home ---------- */
.hero { position: relative; min-height: 94vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; background: #1B222B; }
.hero-img, .hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; pointer-events: none; }
.hero-shade.s1 { background: linear-gradient(95deg, rgba(18,21,26,0.9) 0%, rgba(18,21,26,0.76) 30%, rgba(18,21,26,0.4) 58%, rgba(18,21,26,0.1) 85%, rgba(18,21,26,0.05) 100%); }
.hero-shade.s2 { background: linear-gradient(180deg, rgba(18,21,26,0.35) 0%, rgba(18,21,26,0) 24%, rgba(18,21,26,0) 68%, rgba(18,21,26,0.55) 100%); }
.hero-body { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; padding: clamp(56px, 9vw, 118px) var(--gutter) 0; width: 100%; }
.hero-body > div { max-width: 680px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; letter-spacing: 0.26em; text-transform: uppercase; color: #BBCBDC; font-weight: 600; margin-bottom: 30px; }
.hero-kicker::before { content: ""; width: 26px; height: 1px; background: #BBCBDC; display: inline-block; }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(51px, 6.6vw, 106px); line-height: 0.98; letter-spacing: -0.015em; color: #FBFCFD; margin: 0 0 28px; text-wrap: balance; }
.hero-lede { font-size: clamp(17.5px, 1.35vw, 20px); line-height: 1.65; color: #DCE3EA; margin: 0 0 40px; max-width: 540px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-btns .btn { padding: 17px 32px; }
.hero-btns .btn-accent { box-shadow: 0 6px 24px rgba(0,0,0,0.34); }
.hero-btns .btn-accent span { font-size: 17.5px; }
.btn-ghost { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.42); color: #FBFCFD; font-weight: 600; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,0.16); }
.hero-stats-wrap { position: relative; z-index: 2; max-width: 1280px; margin: auto auto 0; padding: 0 var(--gutter) 40px; width: 100%; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 18px 0; border-top: 1px solid rgba(255,255,255,0.16); padding-top: 24px; max-width: 680px; }
.hero-stats > div { flex: 1; min-width: 130px; padding: 0 24px; border-left: 1px solid rgba(255,255,255,0.16); }
.hero-stats > div:first-child { padding-left: 0; border-left: 0; }
.hero-stats > div:last-child { padding-right: 0; }
.hero-stat-num { font-family: var(--serif); font-size: 34px; line-height: 1; color: #FBFCFD; font-weight: 600; }
.hero-stat-label { font-size: 13px; color: #C2CBD4; margin-top: 8px; letter-spacing: 0.05em; }

.promises { background: #FFFFFF; border-bottom: 1px solid #E5E9EE; padding: 26px var(--gutter); }
.promises .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 28px; }
.promises .wrap > div { display: flex; flex-direction: column; gap: 5px; }
.promise-t { font-size: 15px; font-weight: 700; color: var(--ink); letter-spacing: 0.01em; }
.promise-d { font-size: 14.5px; color: var(--muted); line-height: 1.5; }

.what-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); }
.what-card { background: #FFFFFF; padding: 34px 30px; text-decoration: none; display: flex; flex-direction: column; gap: 12px; min-height: 220px; }
.what-card:hover { background: #F5F7F9; }
.what-tag { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.what-title { font-family: var(--serif); font-weight: 600; font-size: 26.5px; line-height: 1.15; color: var(--ink); }
.what-desc { font-size: 16px; line-height: 1.62; color: var(--muted); flex: 1; }
.what-more { font-size: 15.5px; font-weight: 700; color: var(--accent); }

.quote-band .wrap { max-width: 980px; text-align: center; }
.quote-mark { font-family: var(--serif); font-size: 68px; line-height: 0.6; color: #A9BBCE; margin-bottom: 22px; }
.quote-band blockquote { margin: 0; }
.quote-band blockquote p { font-family: var(--serif); font-weight: 500; font-size: clamp(27.5px, 3vw, 42.5px); line-height: 1.3; color: #F5F8FB; margin: 0 0 30px; text-wrap: balance; }
.quote-who { font-size: 15.5px; font-weight: 600; color: #F5F8FB; }
.quote-where { font-size: 14px; color: #BBC4CD; margin-top: 4px; }
.quote-more { display: inline-block; margin-top: 30px; color: #A9BBCE; font-size: 15.5px; font-weight: 600; text-decoration: none; }
.quote-more:hover { color: #F5F8FB; }

/* ---------- About ---------- */
.about-intro .eyebrow { margin-bottom: 24px; }
.about-p1 { font-size: 19px; line-height: 1.72; color: var(--ink-2); margin: 0 0 22px; }
.about-p2 { font-size: 17.5px; line-height: 1.72; color: var(--muted); margin: 0 0 40px; }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 28px; border-top: 1px solid var(--line); padding-top: 34px; }
.pillar-t { font-family: var(--serif); font-weight: 600; font-size: 24.5px; color: var(--ink); margin-bottom: 6px; }
.pillar-d { font-size: 15.5px; line-height: 1.6; color: var(--muted); }

.testimonials .head { max-width: 680px; margin-bottom: 56px; }
.testimonials .display { color: #F5F8FB; }
.t-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 28px; }
.t-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.14); padding: 36px 32px; display: flex; flex-direction: column; margin: 0; }
.t-mark { font-family: var(--serif); font-size: 46.5px; line-height: 1; color: var(--accent); margin-bottom: 14px; }
.t-card blockquote { margin: 0; flex: 1; }
.t-card blockquote p { font-size: 17.5px; line-height: 1.7; color: #E4EAF0; margin: 0 0 26px; }
.t-card figcaption { border-top: 1px solid rgba(255,255,255,0.14); padding-top: 18px; }

/* ---------- Services ---------- */
.svc-head { margin-bottom: 58px; gap: 40px; }
.svc-head .side-note { max-width: 330px; }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); border: 1px solid var(--line-2); }
.svc { padding: 42px 36px; background: #F9FAFB; }
.svc:hover { background: #fff; }
.svc.br { border-right: 1px solid var(--line-2); }
.svc.bb { border-bottom: 1px solid var(--line-2); }
.svc-num { font-family: var(--serif); font-size: 23.5px; color: var(--accent); font-weight: 600; margin-bottom: 16px; }
.svc-h { font-family: var(--serif); font-weight: 600; font-size: 27.5px; color: var(--ink); margin: 0 0 12px; letter-spacing: -0.005em; }
.svc p { font-size: 16px; line-height: 1.65; color: var(--muted); margin: 0; }
.svc-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; margin-top: 40px; background: #FFFFFF; border: 1px solid var(--line-2); border-radius: 3px; padding: 30px var(--gutter); }
.svc-cta-t { color: var(--ink); font-family: var(--serif); font-size: 26.5px; font-weight: 500; }
.svc-cta .btn { padding: 14px 26px; font-size: 15.5px; }

.advantage { padding-top: clamp(64px, 10vw, 116px); padding-bottom: clamp(64px, 10vw, 116px); }
.advantage .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 72px; align-items: center; }
.advantage .eyebrow { margin-bottom: 30px; }
.advantage-quote { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 3.4vw, 53px); line-height: 1.16; letter-spacing: -0.005em; color: var(--ink); margin: 0; text-wrap: balance; }
.adv-item { padding: 26px 0; border-bottom: 1px solid rgba(27,31,35,0.14); }
.adv-item:last-child { border-bottom: 0; }
.adv-t { margin: 0 0 7px; line-height: normal; font-family: var(--serif); font-weight: 600; font-size: 23.5px; color: var(--ink); }
.adv-d { font-size: 16px; line-height: 1.6; color: var(--muted); }

.transition .head { max-width: 700px; margin-bottom: 56px; }
.transition h2 { margin-bottom: 18px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 0 0 64px; padding: 0; list-style: none; }
.step { background: #FFFFFF; padding: 32px 28px; }
.step-num { font-family: var(--serif); font-size: 34px; line-height: 1; color: var(--accent); font-weight: 600; margin-bottom: 14px; }
.step-t { margin: 0 0 8px; line-height: normal; font-size: 17.5px; font-weight: 600; color: var(--ink); }
.step-d { font-size: 15.5px; line-height: 1.62; color: var(--muted); }

.tech { background: #F9FAFB; padding: 60px var(--gutter); border-top: 1px solid #E5E9EE; border-bottom: 1px solid #E5E9EE; }
.tech .wrap { display: flex; align-items: center; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.tech-label { font-size: 14.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); font-weight: 600; max-width: 200px; line-height: 1.5; }
.tech-names { display: flex; align-items: center; gap: 54px; flex-wrap: wrap; }
.tech-names span { font-family: var(--serif); font-weight: 600; font-size: 29.5px; color: var(--ink); }

/* ---------- Compliance ---------- */
.compliance .eyebrow { margin-bottom: 24px; }
.compliance h1 { margin-bottom: 24px; }
.compliance .lede { margin-bottom: 30px; max-width: 420px; }
.c-stats { display: flex; gap: 40px; flex-wrap: wrap; border-top: 1px solid var(--line-2); padding-top: 26px; }
.c-stat-num { font-family: var(--serif); font-size: 36px; line-height: 1; color: var(--ink); font-weight: 600; }
.c-stat-label { font-size: 14px; color: var(--muted); margin-top: 8px; letter-spacing: 0.03em; }
.law-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); }
.law { background: #FFFFFF; padding: 28px 26px; }
.law-t { font-size: 12px; letter-spacing: 0.14em; color: var(--accent); font-weight: 700; margin: 0 0 10px; }
.law-d { font-size: 16px; line-height: 1.6; color: var(--ink-2); margin: 0; }

/* ---------- Portfolio ---------- */
.port-head { margin-bottom: 54px; gap: 40px; }
.port-head .side-note { max-width: 300px; }
.port-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(max(calc((100% - 88px) / 5), min(calc((100% - 22px) / 2), max(0px, calc((900px - 100%) * 999)))), 1fr));
}
.port-grid .photo { height: clamp(220px, 24vw, 300px); }
.specialties { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 50px; padding-top: 34px; border-top: 1px solid var(--line); align-items: center; }
.spec-label { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); font-weight: 600; margin-right: 8px; }
.spec { font-size: 14.5px; color: var(--ink-2); border: 1px solid #D7DDE3; border-radius: 2px; padding: 8px 15px; background: #fff; }
.specialties .link-arrow { margin-left: auto; font-size: 15.5px; font-weight: 600; }
.map-sec .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: clamp(36px, 5vw, 64px); align-items: stretch; }
.map-copy { display: flex; flex-direction: column; justify-content: center; }
.map-copy h2 { margin-bottom: 20px; }
.map-copy .lede { margin-bottom: 30px; max-width: 420px; }
.hoods { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.hoods li { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--ink); }
.map-frame { position: relative; min-height: 480px; border: 1px solid var(--line); background: #E9ECEF; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Residents ---------- */
.res-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.res-head h1 { font-size: clamp(34px, 3.8vw, 55px); margin-bottom: 16px; text-wrap: wrap; }
.res-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 22px; }
.res-card { text-decoration: none; display: block; background: #fff; border: 1px solid var(--line-2); border-radius: 3px; padding: 38px 32px; }
a.res-card:hover { border-color: var(--accent); }
.res-tag { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 18px; }
.res-card h2 { font-family: var(--serif); font-weight: 600; font-size: 26.5px; color: var(--ink); margin: 0 0 10px; }
.res-card p { font-size: 16px; line-height: 1.6; color: var(--muted); margin: 0 0 18px; }
.res-go { font-size: 15.5px; color: var(--ink); font-weight: 600; text-decoration: none; }
.res-note { text-align: center; margin: 34px 0 0; font-size: 16px; color: var(--muted); }

/* ---------- Q&A ---------- */
.faq-head { max-width: 720px; margin-bottom: 48px; }
.faq-head h1 { margin-bottom: 18px; }
.faq-head a { color: var(--accent); text-decoration: none; font-weight: 600; }
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr)); gap: 0 64px; }
.faq { border-top: 1px solid var(--line); padding: 26px 0; }
.faq h2 { font-size: 18px; font-weight: 700; color: var(--ink); margin: 0 0 10px; line-height: 1.4; }
.faq p { font-size: 16.5px; line-height: 1.72; color: #4C545C; margin: 0; }

/* ---------- Proposal ---------- */
.proposal { background: #E5E9ED; padding-top: clamp(64px, 10vw, 116px); padding-bottom: clamp(64px, 10vw, 116px); scroll-margin-top: 76px; }
.proposal .eyebrow { margin-bottom: 26px; }
.proposal h1 { font-size: clamp(40.5px, 4.4vw, 68px); line-height: 1; margin-bottom: 26px; }
.proposal-lede { font-size: 18px; line-height: 1.7; color: var(--muted); margin: 0 0 44px; max-width: 440px; }
.p-steps { display: flex; flex-direction: column; gap: 22px; list-style: none; margin: 0; padding: 0; }
.p-steps li { display: flex; gap: 16px; align-items: flex-start; }
.p-step-n { width: 30px; height: 30px; border: 1px solid var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 15.5px; font-weight: 600; font-family: var(--serif); color: var(--accent); }
.p-step-t { font-weight: 600; font-size: 16.5px; margin-bottom: 3px; color: var(--ink); }
.p-step-d { font-size: 15.5px; color: var(--muted); line-height: 1.55; }
.p-contact { margin-top: 44px; padding-top: 28px; border-top: 1px solid rgba(27,31,35,0.14); font-size: 15.5px; color: var(--muted); line-height: 1.7; font-style: normal; }
.p-contact a { color: var(--ink); text-decoration: none; font-weight: 600; }

.form-card { background: #FFFFFF; border: 1px solid var(--line-2); box-shadow: 0 3px 16px rgba(27,31,35,0.06); border-radius: 4px; padding: clamp(24px, 5vw, 40px); color: var(--ink); }
.field { margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 16px; margin-bottom: 20px; }
.field-row .field { margin-bottom: 0; }
.field label { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 8px; display: block; }
.field label .opt { text-transform: none; letter-spacing: 0; color: var(--faint); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid #D0D7DE; border-radius: 2px; background: #fff;
  font-family: var(--sans); font-size: 16px; color: var(--ink);
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.form-rule { height: 1px; background: #E5E9EE; margin: 8px 0 22px; }
.field-last { margin-bottom: 26px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.submit { width: 100%; background: #232A33; color: #F1F5F8; border: none; padding: 16px; border-radius: 2px; font-family: var(--sans); font-size: 16.5px; font-weight: 600; letter-spacing: 0.02em; cursor: pointer; }
.submit:hover { background: #313A45; }
.submit[disabled] { opacity: 0.7; cursor: wait; }
.form-note { font-size: 14px; color: var(--faint); text-align: center; margin-top: 14px; line-height: 1.5; }
.form-error { font-size: 15px; color: #9B2C2C; background: #FBEDED; border: 1px solid #F0CACA; border-radius: 2px; padding: 12px 14px; margin: 0 0 16px; line-height: 1.5; }
.form-error[hidden] { display: none; }
.form-error a { color: inherit; font-weight: 600; }
.thanks { text-align: center; padding: 48px 12px; animation: scLift 0.5s ease both; }
.thanks[hidden] { display: none; }
.thanks:focus { outline: none; }
.thanks-icon { width: 66px; height: 66px; border-radius: 50%; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; margin: 0 auto 26px; color: var(--accent); font-size: 32px; line-height: 1; }
.thanks h2 { font-family: var(--serif); font-weight: 600; font-size: 34px; color: var(--ink); margin: 0 0 14px; }
.thanks p { font-size: 17px; line-height: 1.65; color: var(--muted); margin: 0 auto; max-width: 380px; }
.thanks-sig { margin-top: 30px; font-family: var(--serif); font-size: 21px; color: var(--ink); font-weight: 600; }
.thanks-sig span { font-family: var(--sans); font-weight: 400; color: var(--faint); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .thanks { animation: none; }
}
