/* Momenta Real Estate — site styles */
:root {
  --navy: #10233F;
  --navy-deep: #0B1A30;
  --navy-line: #34486A;
  --cream: #F7F5F0;
  --sand: #EFEBE2;
  --placeholder: #E6E1D6;
  --line: #DDD8CC;
  --line-strong: #C9C2B2;
  --text-muted: #3C4A60;
  --text-body: #2A3A54;
  --text-subtle: #5B6577;
  --on-navy-muted: #AEB9CC;
  --accent: #A9521C;
  --accent-light: #E59A6B;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --max: 1280px;
  --gutter: 48px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: var(--navy); text-decoration: none; transition: color .15s; }
a:hover { color: var(--accent); }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; text-wrap: balance; }
p { margin: 0; }

.container { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.bg-sand { background: var(--sand); }
.bg-navy { background: var(--navy); color: var(--cream); }
.border-top { border-top: 1px solid var(--line); }

/* Type */
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.display { font-size: clamp(60px, 7.4vw, 112px); line-height: .98; letter-spacing: -.025em; }
.display em { font-style: italic; color: var(--accent); }
.h2 { font-size: clamp(44px, 5vw, 72px); line-height: 1.02; letter-spacing: -.02em; }
.lead { font-size: 22px; line-height: 1.5; color: var(--text-muted); }
.lead-sm { font-size: 19px; line-height: 1.5; color: var(--text-muted); }
.num { font-size: 14px; font-weight: 600; letter-spacing: .18em; color: var(--accent); }

/* Buttons & links */
.btn { display: inline-block; padding: 20px 34px; border-radius: 2px; font-size: 17px; font-weight: 600; letter-spacing: .02em; }
.btn-navy { background: var(--navy); color: var(--cream); }
.btn-navy:hover { background: var(--accent); color: var(--cream); }
.btn-cream { background: var(--cream); color: var(--navy); padding: 22px 38px; }
.btn-cream:hover { background: #fff; color: var(--accent); }
.btn-outline { border: 1.5px solid var(--navy); padding: 12px 22px; border-radius: 2px; font-weight: 600; }
.btn-outline:hover { border-color: var(--accent); }
.link-underline { font-size: 17px; font-weight: 600; border-bottom: 1.5px solid currentColor; padding-bottom: 4px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .container { padding-top: 26px; padding-bottom: 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.site-header .logo img { height: 64px; width: auto; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 36px; font-size: 16px; font-weight: 500; }
.site-nav a[aria-current="page"] { border-bottom: 1.5px solid var(--navy); padding-bottom: 3px; }

/* Hero */
.hero { padding-top: 110px; padding-bottom: 90px; display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.hero-copy { flex: 999 1 560px; min-width: 0; }
.hero .eyebrow { margin-bottom: 28px; }
.hero .lead { margin-top: 40px; max-width: 560px; }
.hero-actions { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.hero-image { flex: 1 1 380px; max-width: 500px; aspect-ratio: 4 / 5; object-fit: cover; min-width: 0; }

/* Stats bar */
.stats { padding-top: 72px; padding-bottom: 72px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px 32px; }
.stat { border-left: 1px solid var(--navy-line); padding-left: 28px; display: flex; flex-direction: column; gap: 14px; }
.stat-value { font-family: var(--serif); font-size: 60px; line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
.stat-label { font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--on-navy-muted); }

/* Section heading row */
.section { padding-top: 130px; padding-bottom: 130px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 64px; }
.section-head .lead-sm { max-width: 420px; }

/* Who we advise */
.advise-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; }
.advise-card { border-top: 2px solid var(--navy); padding-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.advise-card .title { font-family: var(--serif); font-size: 34px; line-height: 1.1; }
.advise-card .desc { font-size: 18px; line-height: 1.5; color: var(--text-muted); }
.advise-card .more { font-size: 16px; font-weight: 600; margin-top: 8px; }
.advise-card:hover .title { color: var(--accent); }

/* Impact list */
.impact { display: flex; flex-wrap: wrap; gap: 64px; }
.impact > h2 { flex: 1 1 320px; }
.impact-list { flex: 2 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); column-gap: 48px; margin: 0; padding: 0; list-style: none; }
.impact-list li { border-top: 1px solid var(--line-strong); padding: 22px 0; font-family: var(--serif); font-size: 26px; }
.impact-list li:nth-last-child(-n+2) { border-bottom: 1px solid var(--line-strong); }

/* Founder */
.founder { display: flex; flex-wrap: wrap; gap: 72px; align-items: flex-start; }
.headshot { flex: 1 1 320px; max-width: 420px; width: 100%; aspect-ratio: 5 / 7; object-fit: cover; object-position: center top; background: var(--placeholder); min-width: 0; }
.founder-copy { flex: 999 1 520px; min-width: 0; }
.founder-copy .eyebrow { margin-bottom: 20px; }
.founder-copy h2 { margin-bottom: 36px; font-size: clamp(48px, 5.4vw, 80px); line-height: 1; letter-spacing: -.02em; }
.bio { display: flex; flex-direction: column; gap: 22px; max-width: 700px; font-size: 18px; line-height: 1.65; color: var(--text-body); }
.bio .intro { font-family: var(--serif); font-size: 26px; line-height: 1.4; color: var(--navy); }

/* Speaker strip */
.speaker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.speaker .container { padding-top: 40px; padding-bottom: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.speaker-label { font-size: 13px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--text-subtle); }
.speaker-list { display: flex; flex-wrap: wrap; gap: 48px; margin: 0; padding: 0; list-style: none; font-family: var(--serif); font-size: 26px; color: var(--text-body); }

/* CTA */
.cta { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-end; justify-content: space-between; }
.cta h2 { flex: 1 1 560px; font-size: clamp(52px, 6.4vw, 96px); line-height: 1; letter-spacing: -.025em; }
.cta h2 em { color: var(--accent-light); }
.cta .btn { flex: 0 0 auto; }

/* Contact */
.contact { display: flex; flex-wrap: wrap; gap: 56px 80px; align-items: flex-start; }
.contact-intro { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.contact-intro h2 { font-size: clamp(44px, 4.8vw, 72px); line-height: 1; letter-spacing: -.025em; }
.contact-intro h2 em { color: var(--accent-light); }
.contact-intro > p { max-width: 460px; font-size: 19px; line-height: 1.55; color: #D5DCE7; }
.contact-details { margin: 8px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 12px 28px; font-size: 18px; }
.contact-details dt { font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--on-navy-muted); align-self: center; }
.contact-details dd { margin: 0; }
.contact-details a { color: var(--cream); border-bottom: 1px solid var(--navy-line); }
.contact-details a:hover { color: var(--accent-light); }
.contact-form { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.field-row { display: flex; flex-wrap: wrap; gap: 20px; }
.field-row .field { flex: 1 1 200px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; letter-spacing: .04em; color: var(--on-navy-muted); }
.field input, .field textarea { font: inherit; font-size: 17px; font-weight: 400; letter-spacing: 0; color: var(--cream); background: transparent; border: 1px solid var(--navy-line); border-radius: 2px; padding: 14px 16px; min-height: 48px; }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--accent-light); outline-offset: 1px; border-color: transparent; }
.contact-form .btn { align-self: flex-start; border: 0; cursor: pointer; font-family: var(--sans); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Footer */
.site-footer { background: var(--navy-deep); color: var(--on-navy-muted); }
.site-footer .container { padding-top: 36px; padding-bottom: 36px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; font-size: 15px; }
.site-footer img { height: 48px; width: auto; }
.site-footer a { color: var(--on-navy-muted); }
.site-footer a:hover { color: var(--cream); }

/* Our work */
.page-intro { padding-top: 100px; padding-bottom: 72px; }
.page-intro .eyebrow { margin-bottom: 24px; }
.page-intro .lead { margin-top: 36px; max-width: 720px; font-size: 24px; }
.filters { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 12px; }
.filters a { font-size: 16px; font-weight: 600; padding: 12px 20px; border: 1.5px solid var(--navy); border-radius: 2px; }
.filters a:hover { border-color: var(--accent); }

.group { border-top: 1px solid var(--line); scroll-margin-top: 0; }
.group .container { padding-top: 100px; padding-bottom: 100px; }
.group .section-head { margin-bottom: 48px; }
.group .section-head .lead-sm { max-width: 480px; }
.group .num { display: block; margin-bottom: 14px; }
.cases { display: flex; flex-direction: column; gap: 24px; }
.case { background: #fff; border: 1px solid var(--line); padding: 44px; display: flex; flex-wrap: wrap; gap: 48px; }
.case-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.case-meta { font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.case h3 { font-size: 38px; line-height: 1.1; letter-spacing: -.01em; }
.case-copy p { font-size: 18px; line-height: 1.6; color: var(--text-muted); }
.case-facts { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.case-stat { border-top: 1px solid var(--line-strong); padding: 20px 0; display: flex; flex-direction: column; gap: 8px; }
.case-stat .n { font-family: var(--serif); font-size: 48px; line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
.case-stat .l { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text-subtle); }
.case-scope { border-top: 1px solid var(--line-strong); padding: 18px 0; font-family: var(--serif); font-size: 22px; line-height: 1.3; }
.cta-sm h2 { font-size: clamp(44px, 5.4vw, 80px); line-height: 1.02; letter-spacing: -.02em; }

/* Mo's Memos */
.memo-feature { padding-top: 96px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 32px 64px; }
.memo-feature-meta { flex: 1 1 240px; display: flex; flex-direction: column; gap: 12px; font-size: 15px; color: var(--on-navy-muted); }
.memo-tag { font-size: 13px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-light); }
.memo-feature-copy { flex: 3 1 560px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.memo-feature h2 { font-size: clamp(40px, 4.6vw, 64px); line-height: 1.05; letter-spacing: -.02em; }
.memo-feature h2 a, .memo-feature .link-underline { color: var(--cream); }
.memo-feature h2 a:hover, .memo-feature .link-underline:hover { color: var(--accent-light); }
.memo-feature p { max-width: 720px; font-size: 21px; line-height: 1.55; color: #D5DCE7; }
.memo-archive .section-head { margin-bottom: 40px; }
.memo-list { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line-strong); }
.memo-row { border-top: 1px solid var(--line-strong); padding: 40px 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 16px 48px; }
.memo-row time { flex: 0 0 160px; font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.memo-row-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.memo-row h3 { font-size: 34px; line-height: 1.15; letter-spacing: -.01em; }
.memo-row p { max-width: 720px; font-size: 18px; line-height: 1.6; color: var(--text-muted); }
.memo-read { flex: 0 0 auto; font-size: 16px; font-weight: 600; }
.memo-topics { padding-top: 40px; padding-bottom: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }

/* Homepage memo teaser */
.latest-memos { padding-top: 110px; padding-bottom: 110px; }
.latest-memos .section-head { margin-bottom: 48px; }
.memo-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.memo-card { background: #fff; border: 1px solid var(--line); padding: 40px; display: flex; flex-direction: column; gap: 16px; transition: border-color .15s; }
.memo-card:hover { border-color: var(--navy); }
.memo-card time { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.memo-card .title { font-family: var(--serif); font-size: 32px; line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; }
.memo-card:hover .title { color: var(--accent); }
.memo-card .desc { font-size: 17px; line-height: 1.6; color: var(--text-muted); }
.memo-card .more { margin-top: auto; padding-top: 8px; font-size: 16px; font-weight: 600; color: var(--navy); }

/* LinkedIn */
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.linkedin { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.linkedin svg { width: 20px; height: 20px; flex: none; }

/* Memo article */
.memo { max-width: 860px; padding-top: 88px; padding-bottom: 110px; }
.memo-head { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid var(--line-strong); }
.memo-back { font-size: 15px; font-weight: 600; margin-bottom: 24px; }
.memo-head h1 { font-size: clamp(44px, 5.6vw, 76px); line-height: 1.02; letter-spacing: -.02em; }
.memo-byline { font-size: 16px; color: var(--text-subtle); }
.prose { font-size: 19px; line-height: 1.7; color: var(--text-body); }
.prose > * + * { margin-top: 24px; }
.prose h2 { margin-top: 56px; font-size: 34px; line-height: 1.15; letter-spacing: -.01em; color: var(--navy); }
.prose h2 + * { margin-top: 18px; }
.prose ul { padding-left: 22px; }
.prose li + li { margin-top: 14px; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--navy); font-weight: 600; }
.memo-lede { font-family: var(--serif); font-size: 26px; line-height: 1.45; color: var(--navy); }
.pull { font-family: var(--serif); font-size: 28px; line-height: 1.35; color: var(--navy); border-top: 2px solid var(--accent); padding-top: 24px; margin-top: 40px; margin-bottom: 8px; }
.memo-sign { margin-top: 48px; color: var(--text-subtle); }
.memo-next { margin-top: 72px; padding-top: 32px; border-top: 1px solid var(--line-strong); display: flex; flex-direction: column; gap: 12px; }
.memo-next a { font-family: var(--serif); font-size: 28px; line-height: 1.2; }

/* Phone width */
@media (max-width: 720px) {
  :root { --gutter: 20px; }
  .site-header .logo img { height: 48px; }
  .site-nav { gap: 18px 22px; font-size: 15px; }
  .hero { padding-top: 64px; padding-bottom: 56px; gap: 40px; }
  .display { font-size: 52px; }
  .lead { font-size: 19px; }
  .section, .group .container { padding-top: 80px; padding-bottom: 80px; }
  .stat-value { font-size: 48px; }
  .stat-label { white-space: normal; }
  .impact-list li:nth-last-child(2) { border-bottom: 0; }
  .case { padding: 28px 22px; gap: 28px; }
  .case h3 { font-size: 30px; }
  .case-copy, .case-facts, .impact-list, .hero-copy, .founder-copy, .cta h2 { flex-basis: 100%; }
}
