/* Heritage Hall Partners — styles
   Type: Libre Caslon Text (display, uppercase hero, italic emphasis), Lato (UI/body)
   Color: navy #13294B, antique gold #C4A574, warm ground #EFEBE3 / #F6F4EF, ink #1A1C18 */

:root {
  --navy: #13294B;
  --navy-deep: #0D1D36;
  --gold: #C4A574;
  --gold-light: #D9C29A;
  --ground: #F6F4EF;
  --ground-warm: #EDE8DE;
  --white: #FFFFFF;
  --ink: #1A1C18;
  --body: #3E4450;
  --muted: #6B707A;
  --rule: #DDD5C5;
  --serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --sans: "Lato", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --wrap: 1180px;
  --narrow: 680px;
  --header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.7;
  color: var(--body); background: var(--ground-warm); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--navy); line-height: 1.18; margin: 0 0 .55em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); letter-spacing: .005em; }
h3 { font-size: 1.3rem; }
em { font-style: italic; }
h2 em, .band-quote em { color: var(--gold); }
p { margin: 0 0 1.1em; }
figure { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: var(--narrow); }
.center { text-align: center; }
.center-block { margin-left: auto; margin-right: auto; }
.small { font-size: .875rem; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px; }
.hp { left: -10000px; }
.skip { position: absolute; left: -10000px; top: 8px; background: var(--gold); color: var(--navy); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Eyebrows */
.eyebrow { font-weight: 700; font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1em; }
.eyebrow::before { content: ""; display: inline-block; width: 34px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 14px; position: relative; top: -2px; }
.eyebrow-center { text-align: center; }
.eyebrow-center::after { content: ""; display: inline-block; width: 34px; height: 1px; background: currentColor; vertical-align: middle; margin-left: 14px; position: relative; top: -2px; }
.eyebrow-light { color: var(--gold-light); }

/* Buttons */
.btn { display: inline-block; font-family: var(--sans); font-weight: 700; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; padding: 13px 24px; border: 1px solid transparent; border-radius: 0; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.btn-lg { padding: 17px 32px; font-size: .78rem; }
.btn-gold { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: transparent; color: var(--navy); }
.btn-outline-light { color: var(--white); border-color: rgba(255,255,255,.6); background: transparent; }
.btn-outline-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

/* Header: transparent over hero, solid navy after scroll */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background-color .3s, box-shadow .3s; }
.site-header.scrolled, .site-header.solid { background: var(--navy); box-shadow: 0 1px 0 rgba(196,165,116,.25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.wordmark { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; line-height: 1; }
.wm-top { font-family: var(--serif); color: var(--white); font-size: 1.1rem; letter-spacing: .3em; text-transform: uppercase; padding-left: .3em; }
.wm-bottom { font-family: var(--sans); color: var(--gold-light); font-size: .6rem; letter-spacing: .55em; text-transform: uppercase; margin-top: 6px; padding: 5px 0 0 .55em; border-top: 1px solid rgba(196,165,116,.65); }
.wordmark-sm .wm-top { font-size: .95rem; }

.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a:not(.btn) { color: rgba(255,255,255,.9); text-decoration: none; font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.site-nav a:not(.btn):hover { color: var(--gold-light); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle .bar, .nav-toggle .bar::before, .nav-toggle .bar::after { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--white); content: ""; transition: transform .2s; }
.nav-toggle .bar { top: 21px; }
.nav-toggle .bar::before { top: -7px; left: 0; }
.nav-toggle .bar::after { top: 7px; left: 0; }
.nav-toggle[aria-expanded="true"] .bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar::after { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--navy); padding: 8px 28px 28px; }
  .site-nav.open { display: flex; }
  .site-header:has(.site-nav.open) { background: var(--navy); }
  .site-nav a:not(.btn) { padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .site-nav .btn { margin-top: 18px; text-align: center; }
}

/* Hero: full-bleed black-and-white photograph */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; color: var(--white); background: var(--navy-deep); overflow: hidden; }
.hero-photo { position: absolute; inset: 0; background-size: cover; background-position: center 35%; filter: grayscale(1) contrast(1.05); transform: scale(1.03); }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(13,29,54,.55) 0%, rgba(13,29,54,.35) 40%, rgba(13,29,54,.85) 100%),
  linear-gradient(90deg, rgba(13,29,54,.6) 0%, rgba(13,29,54,0) 70%); }
.hero-inner { position: relative; padding-top: calc(var(--header-h) + 40px); padding-bottom: 110px; width: 100%; }
.hero h1 { color: var(--white); font-size: clamp(2.4rem, 6.2vw, 4.6rem); text-transform: uppercase; letter-spacing: .04em; line-height: 1.08; max-width: 920px; }
.hero .lede { font-size: clamp(1.05rem, 1.7vw, 1.25rem); font-weight: 300; color: rgba(255,255,255,.9); max-width: 40ch; margin-bottom: 2.2em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; width: 1px; height: 54px; background: rgba(255,255,255,.25); overflow: hidden; }
.scroll-cue span { position: absolute; left: 0; top: -54px; width: 1px; height: 54px; background: var(--gold-light); animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { to { top: 54px; } }

/* Bands */
.band { background: var(--navy); padding: clamp(56px, 8vw, 88px) 0; text-align: center; }
.band-quote { font-family: var(--serif); color: var(--white); font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.35; max-width: 26ch; margin: 0 auto; }
.band-quote-lg { font-size: clamp(1.7rem, 3.6vw, 2.75rem); max-width: 24ch; }
.band-quote em { color: var(--gold-light); }
.photo-band { position: relative; padding: clamp(110px, 16vw, 200px) 0; text-align: center; background: var(--navy-deep); overflow: hidden; }
.photo-band-img { position: absolute; inset: 0; background-size: cover; background-position: center; filter: grayscale(1); opacity: .32; }
.photo-band .wrap { position: relative; }

/* Sections */
.section { padding: clamp(80px, 11vw, 136px) 0; }
.section-white { background: var(--ground); }
.sources { font-size: .8rem; color: var(--muted); margin-top: 18px; }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.split-reverse > :first-child { order: 2; }
.split-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: 18px 18px 0 var(--gold); }
.split-photo-sm img { max-width: 420px; margin-left: auto; aspect-ratio: auto; }
.owners-intro { margin-bottom: clamp(56px, 8vw, 88px); }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split-reverse > :first-child { order: 0; }
  .split-photo img { box-shadow: 10px 10px 0 var(--gold); }
  .split-photo-sm img { margin: 0; }
}

.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.photo-pair img { width: 100%; aspect-ratio: 3 / 4.6; object-fit: cover; }
.photo-pair img:last-child { margin-top: 48px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(56px, 8vw, 88px) 0 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.stats > div { padding: 34px 24px; border-right: 1px solid var(--rule); text-align: center; }
.stats > div:last-child { border-right: 0; }
.stats dt { font-family: var(--serif); color: var(--navy); font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1; margin-bottom: 10px; }
.stats dd { margin: 0; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); line-height: 1.5; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } .stats > div:nth-child(2) { border-right: 0; } .stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--rule); } }

/* Pillars */
.pillars { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.section-white .eyebrow-center { margin-top: clamp(72px, 10vw, 112px); }
.pillars li { background: var(--white); padding: 44px 34px 40px; border-top: 2px solid var(--gold); text-align: center; }
.pillar-num { display: block; font-family: var(--serif); color: var(--gold); font-size: 1.15rem; letter-spacing: .2em; margin-bottom: 14px; }
.pillars h3 { margin-bottom: .6em; }
.pillars p { margin: 0; color: var(--muted); font-size: .98rem; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }

/* Trades gallery */
.trades { list-style: none; margin: 0 0 clamp(48px, 7vw, 72px); padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.trades li { position: relative; overflow: hidden; background: var(--navy); }
.trades img { width: 100%; aspect-ratio: 4 / 5.2; object-fit: cover; filter: saturate(.8); transition: transform .6s ease, filter .6s ease; }
.trades li:hover img { transform: scale(1.04); filter: saturate(1); }
.trades li::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,29,54,0) 50%, rgba(13,29,54,.88) 100%); }
.trades span { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; color: var(--white); font-family: var(--serif); font-size: 1.05rem; line-height: 1.25; }
@media (max-width: 980px) { .trades { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .trades { grid-template-columns: 1fr 1fr; } .trades li:last-child { grid-column: span 2; } .trades li:last-child img { aspect-ratio: 16 / 9; } }

/* Buy box */
.buybox { margin: 0 0 48px; background: var(--white); border-top: 2px solid var(--gold); }
.buybox > div { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 22px 36px; border-bottom: 1px solid var(--rule); }
.buybox > div:last-child { border-bottom: 0; }
.buybox dt { font-weight: 700; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--navy); padding-top: 4px; }
.buybox dd { margin: 0; color: var(--ink); }
@media (max-width: 640px) { .buybox > div { grid-template-columns: 1fr; gap: 4px; padding: 18px 22px; } }

/* Team */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 56px; }
.person { background: var(--white); padding: 0 0 30px; text-align: center; border-bottom: 2px solid var(--gold); }
.person .headshot { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; margin-bottom: 26px; }
div.headshot { background: var(--navy); display: grid; place-items: center; }
div.headshot span { font-family: var(--serif); color: var(--gold-light); font-size: 2.6rem; letter-spacing: .1em; }
.person h3 { margin: 0 22px .15em; font-size: 1.25rem; }
.role { font-size: .7rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin: 0 22px 14px; }
.person p:last-child { color: var(--muted); font-size: .94rem; margin: 0 24px; line-height: 1.65; }
@media (max-width: 1040px) { .team { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .team { grid-template-columns: 1fr; } }

/* Contact */
.contact { position: relative; padding: clamp(88px, 12vw, 140px) 0; background: var(--navy); color: rgba(255,255,255,.85); overflow: hidden; }
.contact-photo { position: absolute; inset: 0; background-size: cover; background-position: center; filter: grayscale(1); opacity: .12; }
.contact h2 { color: var(--white); }
.contact h2 em { color: var(--gold-light); }
.contact-grid { position: relative; display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.email { color: var(--gold-light); font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(217,194,154,.5); }
.email:hover { color: var(--white); }
.muted { color: rgba(255,255,255,.62); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

.form { background: var(--ground); color: var(--ink); padding: clamp(26px, 4vw, 44px); border-top: 3px solid var(--gold); }
.form label { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--navy); margin-bottom: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; gap: 0; } }
.form input, .form select, .form textarea { display: block; width: 100%; margin-top: 7px; padding: 12px 14px; font: 400 1rem/1.4 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); background: var(--white); border: 1px solid var(--rule); border-radius: 0; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
.form textarea { resize: vertical; }
.req { color: var(--gold); }
.form .btn { width: 100%; margin-top: 8px; }
.preview-note { margin: 14px 0 0; padding: 10px 14px; background: var(--white); border-left: 3px solid var(--gold); font-size: .875rem; }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.68); font-size: .875rem; padding: 60px 0 32px; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(196,165,116,.2); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 26px; font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.footer-meta p { margin: 0 0 4px; text-align: right; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; }
.footer-base p { margin: 0; }
.verse { font-family: var(--serif); font-style: italic; color: rgba(255,255,255,.55); }
@media (max-width: 760px) { .footer-meta p { text-align: left; } }

/* Simple pages (thanks, 404) */
.page-simple { min-height: 100vh; display: flex; flex-direction: column; background: var(--ground-warm); }
.page-simple main { flex: 1; display: grid; place-items: center; padding: calc(var(--header-h) + 72px) 24px 96px; text-align: center; }
.page-simple main .eyebrow::before { display: none; }
.page-simple main h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); text-transform: uppercase; letter-spacing: .04em; }
.page-simple main p { color: var(--muted); max-width: 44ch; margin-left: auto; margin-right: auto; }
.simple-header .header-inner { justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .hero-photo { transform: none; }
}
