/* PECM site styles, v3.
   Identity: PECM navy and steel blue, Lora headlines with an italic accent word, Raleway labels.
   Layout idea: a private-bank annual report. Big confident type, generous white space, a
   numbered ledger rhythm, and full-bleed photography of PECM's own communities between
   quiet reading sections. Dark and light page headers alternate so pages feel distinct. */
:root {
  --navy: #071c33;        /* brand navy */
  --navy-2: #0c2744;      /* raised navy surface */
  --navy-deep: #03101d;   /* footer */
  --steel: #2e7bac;       /* brand steel blue: actions and accents */
  --sky: #6bb6e6;         /* accent on navy */
  --paper: #ffffff;
  --stone: #f3f1ec;       /* warm alternate section */
  --fog: #eef2f6;         /* cool alternate section */
  --rule: #dfe4ea;
  --ink: #15212d;
  --muted: #5b6b7a;
  --display: "Lora", Georgia, "Times New Roman", serif;
  --body: "Raleway", "Helvetica Neue", Arial, sans-serif;
  --figure: "Montserrat", "Helvetica Neue", Arial, sans-serif; /* all numbers: bold, lining, no serif */
  --wrap: 1240px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.75; font-weight: 500; font-variant-numeric: lining-nums; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--steel); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.1; margin: 0; text-wrap: balance; }
h1 em, h2 em, h3 em, .em { font-style: italic; font-weight: 400; }
h1 { font-size: clamp(2.8rem, 6.2vw, 5.4rem); letter-spacing: -.015em; }
h2 { font-size: clamp(2.1rem, 3.9vw, 3.4rem); letter-spacing: -.01em; }
h3 { font-size: 1.35rem; line-height: 1.25; }
h4, .label { font-family: var(--body); font-weight: 700; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; margin: 0; }
p { margin: 0; max-width: 64ch; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
@media (max-width: 600px) { .wrap { padding: 0 20px; } body { font-size: 16px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 14px; font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: var(--steel); font-weight: 700; }
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.dark .eyebrow { color: var(--sky); }
.lede { font-size: 1.2rem; line-height: 1.7; color: var(--muted); font-weight: 500; }
.dark { background: var(--navy); color: #fff; }
.dark p, .dark .lede { color: #c6d3df; }
.stack { display: grid; gap: 22px; align-content: start; }
.stack-lg { display: grid; gap: 56px; align-content: start; }
.center { text-align: center; justify-items: center; }
.center p { margin-inline: auto; }
.muted { color: var(--muted); }

/* Header: transparent over the page header, solid navy once scrolled */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; color: #fff; transition: background .3s, box-shadow .3s; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 112px; transition: height .3s; }
.site-header.scrolled { background: rgba(7,28,51,.97); box-shadow: 0 10px 30px -20px rgba(0,0,0,.6); }
.site-header.scrolled .wrap { height: 84px; }
.brand img { height: 78px; width: auto; transition: height .3s; }
.site-header.scrolled .brand img { height: 56px; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a { color: #fff; text-decoration: none; font-size: .76rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; opacity: .9; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover { opacity: 1; border-bottom-color: rgba(255,255,255,.5); }
.nav a[aria-current="page"] { opacity: 1; border-bottom-color: var(--sky); }
.nav .btn { opacity: 1; padding: 12px 20px; border: 1px solid rgba(255,255,255,.55); background: transparent; }
.nav .btn:hover { background: #fff; color: var(--navy); border-color: #fff; }
.menu-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,.55); color: #fff; padding: 10px 14px; font: inherit; font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; }
@media (max-width: 1040px) {
  .menu-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--navy); flex-direction: column; align-items: flex-start; padding: 20px 32px 32px; gap: 18px; }
  .nav.open { display: flex; }
  .site-header .wrap { height: 92px; }
  .brand img { height: 60px; }
}

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 17px 30px; font-family: var(--body); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; text-decoration: none; border: 1px solid var(--steel); background: var(--steel); color: #fff; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: #22668f; border-color: #22668f; }
.btn.line { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn.line:hover { background: var(--navy); color: #fff; }
.dark .btn.line, .hero .btn.line { color: #fff; border-color: rgba(255,255,255,.6); }
.dark .btn.line:hover, .hero .btn.line:hover { background: #fff; color: var(--navy); border-color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.more { font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--steel); display: inline-flex; gap: 12px; align-items: center; }
.more::after { content: "\2192"; font-size: 1rem; transition: transform .2s; }
.more:hover::after { transform: translateX(5px); }
.dark .more { color: var(--sky); }

/* Sections */
section { padding: 136px 0; }
.stone { background: var(--stone); }
.fog { background: var(--fog); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: center; }
.split.top { align-items: start; }
.split.r57 { grid-template-columns: 5fr 7fr; }
.split.r75 { grid-template-columns: 7fr 5fr; }
.head-row { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: end; }
@media (max-width: 920px) { .split, .split.r57, .split.r75, .head-row { grid-template-columns: 1fr; gap: 40px; } section { padding: 88px 0; } }

/* Page headers */
.hero { position: relative; color: #fff; background: var(--navy) center / cover no-repeat; display: flex; align-items: flex-end; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,16,29,.62) 0%, rgba(3,16,29,.18) 38%, rgba(3,16,29,.86) 100%), linear-gradient(90deg, rgba(3,16,29,.66) 0%, rgba(3,16,29,0) 72%); }
.hero > .wrap { position: relative; z-index: 1; display: grid; gap: 28px; }
.hero h1 { max-width: 15ch; }
.hero .lede { color: #dbe5ee; max-width: 54ch; }
.hero.home { min-height: clamp(680px, 92vh, 940px); padding: 200px 0 0; }
.hero.home .wrap { padding-bottom: 64px; }
.hero.page { min-height: 560px; padding: 210px 0 88px; }
.hero.page h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); max-width: 17ch; }
/* Light header: washed photo, navy type. Used on alternating pages, after pecm.com's own treatment. */
.hero.light { color: var(--navy); }
.hero.light::before { background: linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.9) 42%, rgba(255,255,255,.55) 100%); }
.hero.light .lede { color: var(--muted); }
.hero.light .eyebrow { color: var(--steel); }
.hero.light::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 112px; background: var(--navy); }
/* Plain navy header with no photo */
.hero.plain::before { background: radial-gradient(120% 90% at 85% 0%, #123a63 0%, rgba(7,28,51,0) 60%); }

/* Ledger: the track record strip inside the home header */
.ledger { position: relative; z-index: 1; border-top: 1px solid rgba(255,255,255,.14); background: var(--navy); color: #fff; }
.ledger .wrap { display: grid; grid-template-columns: repeat(5, 1fr); }
.ledger .cell { padding: 30px 22px 30px 0; display: grid; gap: 6px; }
.ledger .cell + .cell { padding-left: 26px; border-left: 1px solid rgba(255,255,255,.16); }
.ledger .num { font-family: var(--display); font-size: clamp(2rem, 3.2vw, 2.9rem); line-height: 1; color: #fff; font-variant-numeric: tabular-nums lining-nums; }
.ledger .label { color: var(--sky); font-size: .66rem; }
@media (max-width: 900px) { .ledger .wrap { grid-template-columns: repeat(2, 1fr); } .ledger .cell, .ledger .cell + .cell { padding: 18px 12px 18px 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.14); } .ledger .cell:last-child { grid-column: span 2; } }
.ledger-note { background: var(--navy-deep); color: #8197ab; font-size: .78rem; padding: 14px 0; font-weight: 500; }
.ledger-note p { max-width: none; }
.ledger-note a { color: #cde2f2; }

/* Statement band */
.statement { padding: 120px 0; text-align: center; }
.statement p { font-family: var(--display); font-size: clamp(1.8rem, 3.4vw, 2.9rem); line-height: 1.3; color: var(--navy); max-width: 30ch; margin: 0 auto; font-weight: 400; }
.statement p em { color: var(--steel); }
.dark.statement p { color: #fff; }
.dark.statement p em { color: var(--sky); }

/* Photo figure */
figure { margin: 0; }
.figure { position: relative; }
.figure img { width: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.figure.tall img { aspect-ratio: 4 / 5; }
.figure.wide img { aspect-ratio: 16 / 10; }
.figure figcaption { margin-top: 16px; font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); display: flex; gap: 12px; align-items: center; }
.figure figcaption::before { content: ""; width: 24px; height: 1px; background: var(--steel); }
.figure.offset::after { content: ""; position: absolute; z-index: -1; right: -24px; bottom: 24px; width: 70%; height: 70%; background: var(--fog); }
.figure.offset { z-index: 0; }

/* Lifecycle: the in-house platform, step by step */
.lifecycle { display: grid; grid-template-columns: repeat(7, 1fr); position: relative; counter-reset: step; }
.lifecycle::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 1px; background: rgba(255,255,255,.22); }
.step { position: relative; padding-right: 18px; display: grid; gap: 12px; align-content: start; }
.step .dot { width: 47px; height: 47px; border-radius: 50%; border: 1px solid var(--sky); background: var(--navy); display: grid; place-items: center; font-family: var(--display); font-style: italic; color: var(--sky); font-size: 1rem; position: relative; }
.step h3 { font-size: 1.12rem; color: #fff; margin-top: 10px; }
.step p { font-size: .9rem; line-height: 1.6; color: #a9bccd; }
.step .inhouse { font-size: .62rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--sky); }
@media (max-width: 1040px) { .lifecycle { grid-template-columns: 1fr; gap: 28px; } .lifecycle::before { left: 23px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; } .step { grid-template-columns: 47px 1fr; column-gap: 22px; } .step .dot { grid-row: span 4; } .step h3 { margin-top: 8px; } }

/* Numbered columns */
.cols { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); }
.cols.four { grid-template-columns: repeat(4, 1fr); }
.cols.two { grid-template-columns: repeat(2, 1fr); }
.col { padding: 40px 36px 8px 0; display: grid; gap: 14px; align-content: start; }
.col + .col { padding-left: 36px; border-left: 1px solid var(--rule); }
.col .n { font-family: var(--display); font-style: italic; color: var(--steel); font-size: 2.4rem; line-height: 1; }
.col h3 { color: var(--navy); }
.col p { color: var(--muted); font-size: .98rem; }
.dark .cols, .dark .col + .col { border-color: rgba(255,255,255,.16); }
.dark .col h3 { color: #fff; }
.dark .col p { color: #a9bccd; }
.dark .col .n { color: var(--sky); }
@media (max-width: 980px) { .cols, .cols.four { grid-template-columns: 1fr 1fr; } .cols .col:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 620px) { .cols, .cols.four, .cols.two { grid-template-columns: 1fr; } .col + .col { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); } }

/* Tables */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .96rem; font-variant-numeric: tabular-nums lining-nums; }
th { text-align: left; font-weight: 700; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); padding: 14px 20px 14px 0; border-bottom: 2px solid var(--navy); white-space: nowrap; }
td { padding: 20px 20px 20px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
td.num, th.num { text-align: right; padding-right: 0; }
td .t { font-family: var(--display); font-size: 1.15rem; color: var(--navy); }
td .s { display: block; font-size: .86rem; color: var(--muted); margin-top: 4px; }
td.big { font-family: var(--display); font-size: 1.5rem; color: var(--navy); white-space: nowrap; }
tfoot td { font-weight: 700; border-bottom: 0; border-top: 2px solid var(--navy); color: var(--navy); }
.fine { font-size: .8rem; color: var(--muted); max-width: 92ch; font-weight: 500; }
.dark .fine { color: #8197ab; }

/* Portfolio */
.filters { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid var(--rule); }
.filters button { font: inherit; font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; background: none; border: 0; border-bottom: 2px solid transparent; padding: 14px 18px; color: var(--muted); cursor: pointer; margin-bottom: -1px; }
.filters button[aria-pressed="true"] { color: var(--navy); border-bottom-color: var(--steel); }
.filters button .c { color: var(--steel); margin-left: 6px; }
.grid { display: grid; gap: 32px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }
.prop { display: grid; grid-template-rows: auto 1fr; background: #fff; }
.prop[hidden] { display: none; }
.prop .img { position: relative; aspect-ratio: 5 / 4; overflow: hidden; background: var(--navy); }
.prop .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.prop:hover .img img { transform: scale(1.05); }
.prop .badge { position: absolute; top: 16px; left: 16px; background: rgba(255,255,255,.95); color: var(--navy); font-size: .6rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; padding: 7px 11px; }
.prop .badge.sold { background: var(--navy); color: #fff; }
.prop .body { padding: 24px 0 0; display: grid; gap: 4px; align-content: start; }
.prop h3 { font-size: 1.45rem; color: var(--navy); }
.prop .meta { font-size: .86rem; color: var(--muted); }
.prop dl { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 2px 12px; margin: 16px 0 0; padding-top: 16px; border-top: 1px solid var(--rule); font-variant-numeric: tabular-nums lining-nums; }
.prop dt { font-size: .6rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); grid-row: 1; }
.prop dd { margin: 0; grid-row: 2; font-family: var(--display); font-size: 1.15rem; color: var(--navy); }
.prop.sold-card .body { gap: 2px; }
.placeholder-img { width: 100%; height: 100%; display: grid; place-items: center; background: radial-gradient(120% 100% at 20% 0%, #15406b, #071c33); }
.placeholder-img img { width: 72px !important; height: auto !important; opacity: .6; }

/* People */
.leader { display: grid; grid-template-columns: 5fr 7fr; gap: 88px; align-items: center; }
@media (max-width: 920px) { .leader { grid-template-columns: 1fr; gap: 40px; } }
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 28px; }
@media (max-width: 1000px) { .people { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .people { grid-template-columns: 1fr 1fr; gap: 28px 16px; } }
.person { display: grid; gap: 6px; align-content: start; }
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 18%; margin-bottom: 14px; filter: saturate(.92); transition: filter .4s; }
.person:hover img { filter: saturate(1.05); }
.person h3 { font-size: 1.22rem; color: var(--navy); }
.person .role { font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--steel); line-height: 1.6; }

/* Quote */
.quote { font-family: var(--display); font-style: italic; font-weight: 400; font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.28; max-width: 24ch; color: var(--navy); }
.dark .quote { color: #fff; }
.attr { font-size: .7rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--steel); }
.dark .attr { color: var(--sky); }

/* Closing panel: photo plus invitation */
.closing { display: grid; grid-template-columns: 1fr 1fr; padding: 0; background: var(--navy); color: #fff; }
.closing .pic { background: center / cover no-repeat; min-height: 600px; }
.closing .panel { padding: 120px 8vw 120px 88px; display: grid; gap: 28px; align-content: center; }
.closing .panel p { color: #c6d3df; }
@media (max-width: 920px) { .closing { grid-template-columns: 1fr; } .closing .pic { min-height: 340px; } .closing .panel { padding: 72px 20px; } }

/* Philosophy */
.chapters { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule); }
.chapter { padding: 40px 44px 40px 0; display: grid; grid-template-columns: 70px 1fr; gap: 8px 18px; border-bottom: 1px solid var(--rule); align-content: start; }
.chapter:nth-child(even) { padding: 40px 0 40px 44px; border-left: 1px solid var(--rule); }
.chapter .n { font-family: var(--display); font-style: italic; color: var(--steel); font-size: 1.9rem; line-height: 1.05; grid-row: span 3; }
.chapter h3 { color: var(--navy); }
.chapter .line { font-family: var(--display); font-style: italic; color: var(--ink); font-weight: 400; }
.chapter p:last-child { font-size: .95rem; color: var(--muted); }
@media (max-width: 860px) { .chapters { grid-template-columns: 1fr; } .chapter:nth-child(even) { padding-left: 0; border-left: 0; } }
.refusals { list-style: none; margin: 0; padding: 0; counter-reset: r; border-top: 1px solid rgba(255,255,255,.16); }
.refusals li { padding: 22px 0 22px 64px; border-bottom: 1px solid rgba(255,255,255,.16); position: relative; color: #dde6ee; }
.refusals li::before { counter-increment: r; content: counter(r, decimal-leading-zero); position: absolute; left: 0; top: 20px; font-family: var(--display); font-style: italic; color: var(--sky); font-size: 1.2rem; }

/* Invest process */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: p; }
.process > div { padding: 36px 32px 36px 0; border-top: 2px solid var(--navy); display: grid; gap: 12px; align-content: start; }
.process > div + div { padding-left: 32px; }
.process .n { font-family: var(--display); font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--steel); }
.process h3 { color: var(--navy); }
.process p { color: var(--muted); font-size: .96rem; }
@media (max-width: 980px) { .process { grid-template-columns: 1fr 1fr; } .process > div:nth-child(3) { padding-left: 0; } }
@media (max-width: 600px) { .process { grid-template-columns: 1fr; } .process > div + div { padding-left: 0; } }
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); padding: 0; }
.faq summary { list-style: none; cursor: pointer; padding: 26px 48px 26px 0; font-family: var(--display); font-size: 1.25rem; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 22px; font-family: var(--body); font-size: 1.6rem; color: var(--steel); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 28px; color: var(--muted); }

/* Forms */
form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.field input, .field textarea, .field select { font: inherit; font-weight: 500; font-size: 1rem; padding: 15px 16px; border: 1px solid var(--rule); background: #fff; color: var(--ink); border-radius: 0; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--steel); outline: none; box-shadow: 0 0 0 3px rgba(46,123,172,.15); }
.field textarea { min-height: 170px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 600px) { .row2 { grid-template-columns: 1fr; } }
.form-card { background: #fff; padding: 56px; box-shadow: 0 40px 80px -40px rgba(7,28,51,.35); }
@media (max-width: 600px) { .form-card { padding: 30px 22px; } }
.form-status { font-size: .95rem; color: var(--steel); min-height: 1.5em; }
.map { width: 100%; aspect-ratio: 4 / 3; border: 0; display: block; filter: grayscale(.35) contrast(1.05); background: var(--fog); }
.map-fallback { aspect-ratio: 4 / 3; background: linear-gradient(160deg, #0c2744, #071c33); color: #fff; display: grid; place-items: center; text-align: center; padding: 24px; }

/* Legal */
.legal { max-width: 80ch; display: grid; gap: 18px; }
.legal h2 { font-size: 1.7rem; margin-top: 30px; color: var(--navy); }
.legal p { color: #2b3a48; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #9fb2c4; padding: 96px 0 40px; font-size: .92rem; }
.site-footer .top { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 64px; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-footer h4 { color: #fff; margin-bottom: 20px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.site-footer a { color: #9fb2c4; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .logo img { height: 96px; width: auto; margin-bottom: 26px; }
.site-footer .tagline { font-family: var(--display); font-style: italic; color: #dbe5ee; font-size: 1.1rem; font-weight: 400; }
.site-footer .bottom { padding-top: 32px; display: grid; gap: 14px; font-size: .74rem; color: #6f8498; line-height: 1.65; }
.site-footer .bottom p { max-width: none; }
@media (max-width: 920px) { .site-footer .top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer .top { grid-template-columns: 1fr; } }

/* Numbers: one bold sans face everywhere a figure or index appears */
.ledger .num, .col .n, .process .n, .step .dot, .prop dd, td.big, .tel {
  font-family: var(--figure); font-style: normal; font-weight: 700; letter-spacing: -.01em;
  font-variant-numeric: tabular-nums lining-nums;
}
.ledger .num { font-size: clamp(2rem, 3.1vw, 2.8rem); }
.col .n, .process .n { font-size: 2rem; }
.step .dot { font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; }
.prop dd { font-size: 1.05rem; }
td.big { font-size: 1.4rem; }

/* Track record band: centered figures, equal cells */
.ledger .cell, .ledger .cell + .cell { padding: 34px 16px; justify-items: center; text-align: center; }
.ledger-note p { text-align: center; margin: 0 auto; max-width: 110ch; }
@media (max-width: 900px) { .ledger .cell, .ledger .cell + .cell { padding: 20px 10px; } }


/* Home header: the pecm.com Tulsa skyline, shown exactly as pecm.com shows it.
   No overlay, anchored to the top so the sky fills the frame and the tower tops line the
   bottom edge, headline centered in the clouds, slow parallax on desktop. */
.hero.home.skyline { min-height: 0; height: clamp(520px, 34vw + 112px, 860px); padding: 112px 0 0; align-items: center; background-size: cover; background-position: 50% 0%; }
.hero.home.skyline::before { display: none; }
.hero.home.skyline::after { height: 112px; }
.hero.home.skyline .wrap { padding-bottom: 0; justify-items: center; text-align: center; gap: 22px; margin-top: -4vw; }
.hero.home.skyline h1 { max-width: none; font-size: clamp(2.4rem, 4.6vw, 4.4rem); }
.hero.home.skyline .lede { color: #1d2f42; max-width: 60ch; margin: 0 auto; }
.hero.home.skyline .actions { justify-content: center; }
.hero.home.skyline .eyebrow::after { content: ""; width: 36px; height: 1px; background: currentColor; }
@media (min-width: 1041px) and (prefers-reduced-motion: no-preference) { .hero.home.skyline { background-attachment: fixed; background-size: 100vw auto; background-position: 50% 112px; } }
@media (max-width: 700px) { .hero.home.skyline { height: auto; min-height: 0; padding: 140px 0 190px; background-color: #eeeff2; background-size: 170% auto; background-position: 50% 100%; } .hero.home.skyline .wrap { margin-top: 0; gap: 18px; } .hero.home.skyline .eyebrow { letter-spacing: .16em; } .hero.home.skyline .eyebrow::before, .hero.home.skyline .eyebrow::after { width: 22px; } .hero.home.skyline::before { display: block; background: linear-gradient(180deg, #eeeff2 0%, #eeeff2 calc(100% - 86vw), rgba(238,239,242,0) calc(100% - 52vw)); } }
.hero.light .btn.line { color: var(--navy); border-color: var(--navy); }
.hero.light .btn.line:hover { background: var(--navy); color: #fff; }

/* Wide screens: let the layout grow with the monitor, while running text stays at a readable measure */
@media (min-width: 1680px) {
  :root { --wrap: 1460px; }
  body { font-size: 18px; }
  .wrap { padding: 0 48px; }
  section { padding: 152px 0; }
  .split, .head-row, .leader { gap: 112px; }
  .grid { gap: 40px; }
  .people { gap: 48px 36px; }
}
@media (min-width: 2200px) {
  :root { --wrap: 1840px; }
  body { font-size: 20px; }
  .wrap { padding: 0 64px; }
  h1 { font-size: 5.8rem; }
  h2 { font-size: 3.7rem; }
  .hero.page h1 { font-size: 4.8rem; }
  .hero.home.skyline h1 { font-size: 4.9rem; }
  .ledger .num { font-size: 3.2rem; }
  .brand img { height: 86px; }
  .site-header .wrap { height: 124px; }
  .hero.light::after, .hero.home.skyline::after { height: 124px; }
  .hero.home.skyline { padding-top: 124px; height: clamp(560px, 30vw + 124px, 980px); }
}

/* Philosophy: two families only. Lora for titles and quotes, Raleway for everything else */
.chapter { grid-template-columns: 48px 1fr; }
.chapter .n, .refusals li::before { font-family: var(--body); font-style: normal; font-weight: 700; font-size: .78rem; letter-spacing: .18em; color: var(--steel); line-height: 1; padding-top: .55em; }
.refusals li::before { color: var(--sky); top: 26px; padding-top: 0; }
.chapter h3 { font-size: 1.45rem; }
.chapter .line { font-family: var(--body); font-style: normal; font-weight: 600; font-size: 1.02rem; line-height: 1.55; color: var(--navy); }

/* No sideways scroll on phones (decorative offsets stay inside the page) */
html, body { overflow-x: clip; }
@media (max-width: 520px) { .filters { flex-wrap: nowrap; gap: 0; } .filters button { padding: 14px 10px; letter-spacing: .12em; white-space: nowrap; } .filters button .c { margin-left: 4px; } }
/* Philosophy chapters: tighter rhythm */
.chapter { padding: 26px 40px 26px 0; gap: 4px 18px; }
.chapter:nth-child(even) { padding: 26px 0 26px 40px; }
.chapter h3 { margin-bottom: 2px; }
.chapter p { margin: 0; }
.chapter .line { margin-bottom: 4px; }
@media (max-width: 860px) { .chapter:nth-child(even) { padding-left: 0; } }
