/* Angeles Residential — site styles
   Layout: a calm editorial grid on warm paper, navy bands for conviction, gold used only as a hairline accent. */
@font-face { font-family: "Schola"; src: url("fonts/schola-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Schola"; src: url("fonts/schola-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Schola"; src: url("fonts/schola-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --paper: #F3EBE0;
  --paper-2: #EAE1D3;
  --navy: #0E1F3D;
  --navy-rule: #2A3B5C;
  --ink: #23262E;
  --muted: #6F6A62;
  --gold: #B08A57;
  --rule: #D8CCBB;
  --cream-text: #F3EBE0;
  --cream-muted: #C9CEDA;

  --serif: "Schola", "Century Schoolbook", "TeX Gyre Schola", "C059", Georgia, serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;

  --wrap: 1200px;
  --gutter-l: max(24px, env(safe-area-inset-left, 0px));
  --gutter-r: max(24px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }

/* Type */
.eyebrow { font: 400 13px/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 28px; }
.navy .eyebrow, .eyebrow.gold { color: var(--gold); }
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 400; color: var(--navy); margin: 0; text-wrap: balance; }
.display { font-size: clamp(42px, 6.4vw, 82px); line-height: 1.08; letter-spacing: -.005em; }
.h2 { font-size: clamp(38px, 5.2vw, 66px); line-height: 1.1; }
.h3 { font-size: clamp(26px, 2.5vw, 32px); line-height: 1.2; }
.lede { font-size: clamp(19px, 1.8vw, 23px); line-height: 1.4; color: var(--ink); max-width: 46ch; margin: 0; }
.lede.wide { max-width: 64ch; }
p { margin: 0; }
.muted { color: var(--muted); }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--paper); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--paper); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 22px 20px; border-bottom: 1px solid var(--rule); }
.brand img { height: 50px; width: auto; }
.nav { display: flex; gap: clamp(20px, 3.6vw, 52px); }
.nav a { font-size: 16px; text-decoration: none; color: var(--navy); padding-block: 8px; border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav a:hover { border-bottom-color: var(--rule); }
.nav a[aria-current="page"] { border-bottom-color: var(--gold); }
.menu-btn { display: none; background: none; border: 0; font: 15px var(--sans); color: var(--navy); padding: 8px 0; cursor: pointer; }

/* Sections */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section.tight-top { padding-top: clamp(40px, 5vw, 64px); }
.navy { background: var(--navy); color: var(--cream-text); }
.navy h1, .navy h2, .navy h3, .navy .serif { color: var(--cream-text); }
.navy .lede, .navy p { color: var(--cream-text); }
.stack { display: flex; flex-direction: column; }
.gap-s { gap: 16px; } .gap-m { gap: 32px; } .gap-l { gap: 48px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.two > * , .three > * { min-width: 0; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3.5vw, 44px); }
.ruled { border-top: 1px solid var(--rule); padding-top: 24px; }
.navy .ruled { border-top-color: var(--navy-rule); }

/* Buttons */
.btn { display: inline-block; font: 16px var(--sans); text-decoration: none; padding: 14px 48px 14px 18px; transition: background .2s, color .2s; }
.btn.light { background: var(--paper); color: var(--navy); }
.btn.light:hover { background: #fff; }
.btn.dark { background: var(--navy); color: var(--cream-text); }
.btn.dark:hover { background: #1a2e52; }
.line-link { display: inline-block; font-size: 17px; color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--navy); padding-bottom: 10px; min-width: min(100%, 186px); }

/* Home hero */
.hero { position: relative; color: var(--cream-text); background: var(--navy) url("img/hero.jpg") center 40% / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,31,61,.86) 0%, rgba(14,31,61,.62) 38%, rgba(14,31,61,.12) 66%, rgba(14,31,61,0) 100%); }
.hero .wrap { position: relative; padding-block: clamp(56px, 7vw, 84px) clamp(48px, 6vw, 64px); }
.hero .eyebrow { color: var(--cream-text); margin-bottom: clamp(36px, 5vw, 56px); }
.hero h1 { color: var(--cream-text); }
.hero .lede { color: var(--cream-text); margin-block: 36px 52px; max-width: 34ch; }

.creds { border-bottom: 1px solid var(--rule); }
.creds .row { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 0; padding-block: 28px; align-items: center; }
.cred { padding-inline: 0 24px; }
.cred + .cred { border-left: 1px solid var(--rule); padding-left: 20px; }
.cred .num { font-family: var(--serif); font-size: clamp(28px, 2.8vw, 34px); color: var(--navy); line-height: 1.1; }
.cred .lab { font-size: 13px; color: var(--muted); margin-top: 10px; }
.creds .more { padding-left: 24px; }

.work { grid-template-columns: 1.15fr .85fr; }
.work .h2 { font-size: clamp(38px, 4.6vw, 60px); }

/* Roman list */
.roman { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.roman li { display: grid; grid-template-columns: 52px 1fr; gap: 0; padding-block: 16px; border-bottom: 1px solid var(--rule); }
.roman .rn { font-family: var(--serif); font-size: 22px; color: var(--gold); line-height: 1.2; }
.roman .t { font-size: 19px; color: var(--navy); }
.roman .d { font-size: 15px; color: var(--muted); margin-top: 4px; }
.photo { width: 100%; height: 100%; object-fit: cover; }
.work-photo { aspect-ratio: 333 / 540; max-width: 100%; height: auto; }

/* About: essential housing */
.essential { grid-template-columns: 0.92fr 1fr; }
.essential .photo-col img { aspect-ratio: 422 / 538; object-fit: cover; width: 100%; height: auto; }
.statement { font-family: var(--serif); font-size: clamp(24px, 2.5vw, 30px); line-height: 1.3; color: var(--navy); }
.subcols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; border-top: 1px solid var(--rule); padding-top: 18px; }
.subcols .eyebrow { margin-bottom: 14px; }
.subcols ul { list-style: none; padding: 0; margin: 0; font-size: 15px; line-height: 1.75; color: var(--ink); }
.test-q { font-family: var(--serif); font-size: 20px; line-height: 1.35; color: var(--navy); }

/* Why Angeles */
.why-body { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.why-body p { font-size: 17px; max-width: 46ch; }
.why-body strong { color: var(--navy); }
.angel { max-width: 300px; width: 100%; height: auto; margin: 0 auto; }
.guardian { font-size: 19px; color: #7A7558; max-width: 58ch; }

/* Creed */
.creed-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 6vw, 72px); }
.creed-grid .col { border-top: 1px solid var(--navy-rule); padding-top: 32px; display: flex; flex-direction: column; gap: 32px; }
.creed-grid p { font-size: 19px; line-height: 1.3; max-width: 34ch; }
.star-rule { display: flex; align-items: center; gap: 24px; margin-top: 56px; }
.star-rule::before, .star-rule::after { content: ""; flex: 1; height: 1px; background: var(--gold); opacity: .8; }
.star-rule img { width: 20px; height: 20px; }
.closing { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 32px); color: var(--cream-text); margin-top: 20px; }

/* Where we work */
.where { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.where .facts { display: flex; flex-direction: column; }
.where .fact { border-top: 1px solid var(--navy-rule); padding-block: 22px; }
.where .fact .eyebrow { margin-bottom: 12px; }
.where .hq { font-family: var(--serif); font-size: 26px; }
.where .map { width: 100%; height: auto; }

/* Approach */
.band { position: relative; background: var(--navy) url("img/construction.jpg") center 45% / cover no-repeat; color: var(--cream-text); }
.band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,31,61,.78) 0%, rgba(14,31,61,.5) 40%, rgba(14,31,61,.05) 72%); }
.band .wrap { position: relative; padding-block: clamp(48px, 6vw, 64px) clamp(56px, 7vw, 84px); }
.band .eyebrow { color: var(--cream-text); }
.band h1 { color: var(--cream-text); }
.steps .step { border-top: 1px solid var(--rule); padding-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.steps .rn { font-family: var(--serif); color: var(--gold); font-size: 16px; }
.steps p { color: var(--ink); font-size: 17px; max-width: 32ch; }

/* Partnerships */
.partner { border-top: 1px solid var(--rule); padding-block: 28px 36px; display: flex; flex-direction: column; gap: 18px; }
.partner p { font-size: 18px; max-width: 42ch; }

/* People */
.bio { border-top: 1px solid var(--rule); padding-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.bio .role { color: var(--gold); font-size: 16px; margin-bottom: 18px; }
.bio p { font-size: 15.5px; line-height: 1.6; }
.stat { border-top: 1px solid var(--rule); padding-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.stat .big { font-family: var(--serif); font-size: clamp(48px, 5.4vw, 64px); line-height: 1; color: var(--navy); font-variant-numeric: lining-nums; }
.stat .k { font-size: 20px; color: var(--navy); }
.stat .d { font-size: 16px; color: var(--muted); max-width: 32ch; }
.navy .stat { border-top-color: var(--navy-rule); }
.navy .stat .big, .navy .stat .k { color: var(--cream-text); }
.fineprint { font-size: 12px; color: var(--muted); margin-top: 56px; }
.creds-list { font-size: 18px; line-height: 1.45; }

/* Contact */
.email { display: inline-block; font-size: 17px; color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--navy); padding: 6px 80px 10px 0; max-width: 100%; overflow-wrap: anywhere; }
.address { color: var(--muted); font-size: 15px; line-height: 1.6; font-style: normal; }

/* Footer */
.site-footer { padding-block: 0 48px; }
.site-footer .top { border-top: 1px solid var(--gold); padding-top: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.foot-brand { display: flex; align-items: center; gap: 24px; }
.foot-brand .angel-gold { height: 52px; width: auto; }
.foot-brand .lf { height: 46px; width: auto; }
.tagline { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 13px; color: var(--navy); margin-top: 28px; }
.foot-links span + span::before { content: "·"; margin-right: 14px; color: var(--muted); }
.copy { font-size: 12px; color: var(--muted); margin-top: 18px; }
.legal { font-size: 11px; line-height: 1.6; color: var(--muted); margin-top: 14px; max-width: 110ch; }

/* Gentle entrance */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
  .rise.d2 { animation-delay: .12s; } .rise.d3 { animation-delay: .24s; }
  @keyframes rise { from { opacity: .001; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* Tablet */
@media (max-width: 960px) {
  .three { grid-template-columns: 1fr; }
  .creds .row { grid-template-columns: 1fr 1fr 1fr; row-gap: 24px; }
  .creds .more { grid-column: 1 / -1; padding-left: 0; }
  .why-body { grid-template-columns: 1fr; }
  .angel { max-width: 220px; margin: 0; }
  .where { grid-template-columns: 1fr; }
}

/* Phone */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .brand img { height: 40px; }
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); flex-direction: column; gap: 0; padding: 8px var(--gutter-r) 20px var(--gutter-l); border-bottom: 1px solid var(--rule); }
  .nav.open { display: flex; }
  .nav a { padding-block: 14px; border-bottom: 1px solid var(--rule); font-size: 18px; }
  .nav a[aria-current="page"] { color: var(--gold); border-bottom-color: var(--rule); }
  .two, .essential, .creed-grid, .subcols { grid-template-columns: 1fr; }
  .creed-grid .col + .col { border-top: 0; padding-top: 32px; }
  .essential .photo-col { order: 2; }
  .work-photo { aspect-ratio: 4 / 3; }
  .creds .row { grid-template-columns: 1fr; }
  .cred + .cred { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 18px; }
  .hero::before { background: linear-gradient(180deg, rgba(14,31,61,.55) 0%, rgba(14,31,61,.78) 100%); }
  .hero .lede { margin-block: 24px 36px; }
  .band::before { background: rgba(14,31,61,.62); }
  .email { padding-right: 0; }
}

/* Contact form */
.contact-grid { grid-template-columns: 1fr 1fr; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 20px; padding-top: 8px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.field .opt { text-transform: none; letter-spacing: 0; }
.field input, .field select, .field textarea { font: 17px/1.4 var(--sans); color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--navy); border-radius: 0; padding: 8px 0 10px; width: 100%; -webkit-appearance: none; appearance: none; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 28px; }
.field textarea { resize: vertical; border: 1px solid var(--rule); border-bottom-color: var(--navy); padding: 10px 12px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold); box-shadow: 0 1px 0 var(--gold); }
.form-note { font-size: 13px; color: var(--muted); }
.form-status { font-size: 15px; color: var(--navy); }
.hp { position: absolute; left: -9999px; }
button.btn { border: 0; cursor: pointer; }

/* Legal pages */
.legal-page > * { max-width: 760px; }
.legal-page .h2 { margin-bottom: 12px; }
.legal-page .effective { color: var(--muted); font-size: 14px; margin-bottom: 40px; }
.legal-page h2:not(.h2) { font-family: var(--serif); font-size: 24px; color: var(--navy); margin: 40px 0 12px; }
.legal-page p { font-size: 16.5px; line-height: 1.65; max-width: 68ch; }
.legal-page p + p { margin-top: 14px; }
.legal-page a { color: var(--navy); }
.foot-links a { color: var(--navy); text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.foot-links > * + *::before { content: "·"; margin-right: 14px; color: var(--muted); }
.foot-links span + span::before { content: none; }
.foot-links > * + span::before { content: "·"; margin-right: 14px; color: var(--muted); }
@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
  .foot-links { flex-direction: column; gap: 10px; }
  .foot-links > *::before { content: none !important; }
}
