/* ============================================================
   18 Main — editorial design system
   Structure and interaction language adapted from the R&P site,
   skinned entirely in 18 Main's own charcoal + champagne-gold palette.
   ============================================================ */

:root {
  --ink:        #1d1b18;   /* near-black body text */
  --char:       #262421;   /* charcoal — dark sections, header, footer */
  --char-soft:  #322f2b;
  --char-deep:  #1a1815;   /* deepest charcoal — button hover */
  --gold:       #bca96e;   /* champagne gold — accent on dark */
  --gold-deep:  #9c7f3e;   /* deeper gold — accent/links on light */
  --paper:      #ffffff;
  --ivory:      #faf9f5;   /* warm page base */
  --mist:       #f6f5f2;
  --fog:        #ecebe6;
  --muted:      #6b6760;   /* warm gray secondary text */
  --line:       #e4e2dc;
  --hair:       #e4e2dc;
  --maxw:       1180px;
  --maxw-tight: 860px;
  --radius:     2px;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
::selection { background: var(--char); color: var(--ivory); }
a { color: var(--ink); text-decoration: none; transition: color .18s ease, opacity .18s ease; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3rem); }
.container--tight { max-width: var(--maxw-tight); }
.center { text-align: center; }

/* ── Typography ─────────────────────────────────────────── */
.display-1, .display-2, .display-3, .display-4, h1, h2, h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.display-1 { font-size: clamp(2.4rem, 6vw, 3.9rem); line-height: 1.04; letter-spacing: -0.02em; }
.display-2 { font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.08; letter-spacing: -0.015em; }
.display-3 { font-size: clamp(1.5rem, 3vw, 2.15rem); line-height: 1.16; }
.display-4 { font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.3; font-weight: 600; }
h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); line-height: 1.06; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.12; }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.3; font-weight: 600; }

.eyebrow {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-size: 0.74rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.26em; color: var(--gold-deep); margin-bottom: 1rem;
}
.eyebrow--light { color: var(--gold); }
.lede {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.5; font-weight: 400;
  color: var(--char); max-width: 62ch;
}
.lead { font-size: 1.05rem; color: var(--muted); max-width: 62ch; }
.accent { font-style: italic; font-weight: 400; opacity: 0.92; }
.figure {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 500; line-height: 1;
  letter-spacing: -0.02em; color: var(--gold);
}

/* ── Sections ───────────────────────────────────────────── */
.section     { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--sm { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section--paper { background: var(--paper); }
.section--ivory { background: var(--ivory); }
.section--mist  { background: var(--mist); }
.section--dark  { background: var(--char); color: var(--ivory); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark .display-2, .section--dark .display-3 { color: var(--ivory); }
.section--dark .lede { color: rgba(250,249,245,0.82); }
.section--dark .lead { color: rgba(250,249,245,0.6); }
.hairline { height: 1px; background: var(--hair); width: 100%; }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.65rem;
  padding: 0.95rem 1.9rem; border: 1px solid transparent; border-radius: var(--radius);
  font-family: "Montserrat", sans-serif; font-size: 0.76rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.2em; cursor: pointer; will-change: transform;
  transition: transform .16s cubic-bezier(.34,1.45,.64,1), box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease, filter .1s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(20,17,14,0.5); }
.btn:active { transform: translateY(0) scale(.94); filter: brightness(.88); box-shadow: inset 0 3px 8px -3px rgba(20,17,14,0.5); transition-duration: .05s; }
.btn:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }
.btn--solid   { background: var(--char); color: var(--paper); }
.btn--solid:hover { background: var(--char-deep); color: var(--paper); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--char); color: var(--paper); border-color: var(--char); }
.btn--inverse { background: var(--ivory); color: var(--char); }
.btn--inverse:hover { background: #fff; color: var(--char); }
.btn--gold    { background: var(--gold-deep); color: #fff; }
.btn--gold:hover { background: #86692f; color: #fff; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--gold-deep);
}
.link-arrow svg { transition: transform .25s ease; }
.link-arrow:hover { color: var(--ink); }
.link-arrow:hover svg { transform: translateX(4px); }
.section--dark .link-arrow { color: var(--gold); }
.section--dark .link-arrow:hover { color: var(--ivory); }

/* Animated editorial underline link */
.ulink { position: relative; }
.ulink::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left center;
  transition: transform .32s cubic-bezier(.4,0,.2,1);
}
.ulink:hover::after { transform: scaleX(1); }

/* ── Header / nav ───────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 60;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  background: rgba(250,249,245,0.92); backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--hair);
}
.site-header.over-hero { background: transparent; border-bottom-color: transparent; backdrop-filter: none; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 40px; width: auto; }
.brand-logo--light { display: none; }
.over-hero .brand-logo--dark { display: none; }
.over-hero .brand-logo--light { display: block; }
.nav-links { display: flex; align-items: center; gap: clamp(0.9rem, 1.6vw, 1.55rem); list-style: none; }
.navlink {
  position: relative; font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--char); opacity: 0.62; white-space: nowrap;
  transition: opacity .2s ease, transform .2s ease, color .2s ease; padding-bottom: 4px;
}
.brand { margin-right: 1.25rem; }
.over-hero .navlink { color: var(--ivory); opacity: 0.82; }
.navlink::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: center;
  transition: transform .28s cubic-bezier(.4,0,.2,1);
}
.navlink:hover { opacity: 1; transform: translateY(-2px); }
.navlink:hover::after, .navlink.active::after { transform: scaleX(1); }
.navlink.active { opacity: 1; }
.nav-cta { margin-left: clamp(0.5rem, 2vw, 1.25rem); }
.nav-toggle { display: none; background: none; border: 0; color: var(--char); font-size: 1.5rem; cursor: pointer; line-height: 1; }
.over-hero .nav-toggle { color: var(--ivory); }

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 620px; height: 90vh; max-height: 920px;
  display: flex; align-items: flex-end; overflow: hidden; background: var(--char); color: var(--ivory);
  margin-top: -84px; /* slide under the transparent header */
}
.hero-media { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,17,14,0.35) 0%, rgba(20,17,14,0.55) 55%, rgba(20,17,14,0.86) 100%); }
/* Full-bleed cinematic video backdrop (falls back to the poster image if the
   video is missing or blocked, e.g. iOS Low Power Mode). */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(20,17,14,0.32) 0%, rgba(20,17,14,0.42) 50%, rgba(20,17,14,0.84) 100%); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.8rem; margin-top: 2.2rem; }
.hero-inner { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(3rem, 7vw, 6rem); padding-top: 8rem; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { color: var(--ivory); max-width: 16ch; margin-bottom: 1.5rem; }
.hero-sub { max-width: 46ch; color: rgba(250,249,245,0.72); font-size: 1.05rem; margin-bottom: 2rem; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem 2.2rem; margin-bottom: 2.2rem; }
.hero-points li { position: relative; padding-left: 1.2rem; color: rgba(250,249,245,0.85); font-size: 0.98rem; }
.hero-points li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }

/* ── Stats ──────────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem 2rem; }
.stats--four { grid-template-columns: repeat(4, 1fr); }
.stat .figure { margin-bottom: 0.6rem; }
.section--dark .stat .figure { color: var(--gold); }
.stat .label { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); }
.section--dark .stat .label { color: rgba(250,249,245,0.6); }
.stats-note { margin-top: 2.5rem; font-size: 0.95rem; color: rgba(250,249,245,0.55); max-width: 60ch; }

/* ── Feature cards ──────────────────────────────────────── */
.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 22px 48px -28px rgba(20,17,14,0.4); border-color: var(--gold); }
.card-img { aspect-ratio: 4 / 3; background-size: cover; background-position: center; }
.card-body { padding: 1.5rem 1.6rem 1.8rem; }
.card-body .place { display: block; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: var(--gold-deep); margin-bottom: 0.6rem; }
.card-body h3 { margin-bottom: 0.55rem; }
.card-body p { font-size: 0.95rem; color: var(--muted); }

/* ── Partners ───────────────────────────────────────────── */
.partners { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.partner { display: flex; align-items: center; justify-content: center; padding: 1.8rem 1.2rem; background: var(--paper); min-height: 96px; transition: background .2s ease; }
.partner:hover { background: var(--mist); }
.partner img { max-height: 42px; width: auto; opacity: 0.72; filter: grayscale(1); transition: opacity .25s ease, filter .25s ease; }
.partner:hover img { opacity: 1; filter: grayscale(0); }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer { background: var(--char); color: var(--ivory); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 3rem; padding: clamp(3rem, 6vw, 4.5rem) 0 2.5rem; }
.footer-brand { max-width: 24rem; }
.footer-brand .brand-logo { height: 46px; margin-bottom: 1.4rem; }
.footer-brand p { font-size: 0.92rem; color: rgba(250,249,245,0.5); line-height: 1.7; }
.footer-cols { display: flex; gap: clamp(2.5rem, 6vw, 5rem); }
.footer-col h4 { font-family: "Montserrat", sans-serif; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.22em; color: rgba(250,249,245,0.42); margin-bottom: 1.1rem; }
.footer-col a, .footer-col span { display: block; font-size: 0.92rem; color: rgba(250,249,245,0.62); margin-bottom: 0.7rem; }
.footer-col a:hover { color: var(--ivory); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 1.8rem 0; border-top: 1px solid rgba(250,249,245,0.1); font-size: 0.8rem; color: rgba(250,249,245,0.4); }
.footer-bottom .eyebrow { color: rgba(250,249,245,0.4); margin: 0; }

/* ── Scroll reveal ──────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ── Page intro band (inner pages) ──────────────────────── */
.page-head { position: relative; background: var(--char); color: var(--ivory); padding: clamp(6rem, 12vw, 9rem) 0 clamp(3rem, 6vw, 4.5rem); margin-top: -84px; overflow: hidden; }
.page-head .eyebrow { color: var(--gold); }
.page-head h1 { color: var(--ivory); max-width: 20ch; }
.page-head p { color: rgba(250,249,245,0.7); max-width: 56ch; margin-top: 1.2rem; font-size: 1.05rem; }
/* Optional photographic backdrop behind a page head — pass an inline
   background-image on .page-head--media; the gradient keeps text legible. */
.page-head--media { background: var(--char); }
.page-head--media .page-head-media { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.page-head--media .page-head-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,17,14,0.55) 0%, rgba(20,17,14,0.72) 60%, rgba(20,17,14,0.9) 100%); }
.page-head--media .container { position: relative; z-index: 1; }
/* Thin gold rule that can sit under the page-head heading. */
.page-head .rule { width: 64px; height: 2px; background: var(--gold); margin-top: 1.6rem; }
/* Breadcrumb / back link inside a dark page head. */
.page-head .crumb { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: var(--gold); margin-bottom: 1.4rem; }
.page-head .crumb:hover { color: var(--ivory); }

/* ── Section heading cluster (eyebrow + title + lede) ───── */
.sect-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.sect-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sect-head h2 { margin-bottom: 1rem; }
.sect-head .rule { width: 56px; height: 2px; background: var(--gold-deep); margin: 1.3rem 0 0; }
.sect-head--center .rule { margin-left: auto; margin-right: auto; }
.section--dark .sect-head .rule { background: var(--gold); }

/* ── Alternating image + text split ─────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 4.5rem); }
.split + .split { margin-top: clamp(3rem, 7vw, 6rem); }
.split-media { position: relative; border-radius: var(--radius); overflow: hidden; }
.split-media img, .split-media .ph { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(0.9) contrast(1.02); transition: transform .7s cubic-bezier(.22,1,.36,1); }
.split-media:hover img { transform: scale(1.04); }
/* Thin gold frame offset behind the image for an editorial layered look. */
.split-media--framed::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--gold-deep); border-radius: var(--radius); z-index: -1; }
.split-body h2, .split-body h3 { margin-bottom: 1rem; }
.split-body p + p { margin-top: 1rem; }
.split-body .lead, .split-body p { color: var(--muted); }
.split-body .btn, .split-body .link-arrow { margin-top: 1.6rem; }
/* Reverse the column order — image on the right on desktop. */
.split--reverse .split-media { order: 2; }
.split--reverse .split-body { order: 1; }
.section--dark .split-body p, .section--dark .split-body .lead { color: rgba(250,249,245,0.72); }

/* ── Philosophy / pull-quote block ──────────────────────── */
.pullquote { max-width: 24ch; margin: 0 auto; text-align: center; }
.pullquote--left { text-align: left; margin-left: 0; }
.pullquote .mark { font-family: "Playfair Display", Georgia, serif; font-size: 4rem; line-height: 0.6; color: var(--gold-deep); display: block; margin-bottom: 0.4rem; }
.pullquote blockquote { font-family: "Playfair Display", Georgia, serif; font-size: clamp(1.6rem, 3.6vw, 2.7rem); line-height: 1.22; letter-spacing: -0.015em; font-weight: 500; color: var(--ink); max-width: 22ch; }
.pullquote--left blockquote, .pullquote--wide blockquote { max-width: 30ch; }
.pullquote--wide { max-width: 40ch; }
.pullquote cite { display: block; font-style: normal; margin-top: 1.6rem; font-size: 0.74rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em; color: var(--muted); }
.section--dark .pullquote .mark { color: var(--gold); }
.section--dark .pullquote blockquote { color: var(--ivory); }
.section--dark .pullquote cite { color: rgba(250,249,245,0.55); }

/* ── Numbered approach / process steps ──────────────────── */
.steps { display: grid; gap: 0; }
.step { display: grid; grid-template-columns: minmax(0, 8rem) 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); padding: clamp(1.8rem, 4vw, 2.6rem) 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step-num { font-family: "Playfair Display", Georgia, serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; line-height: 1; color: var(--gold-deep); }
.step-body h3 { margin-bottom: 0.7rem; }
.step-body p { color: var(--muted); max-width: 60ch; }
.step-body .detail { margin-top: 0.9rem; font-family: "Playfair Display", Georgia, serif; font-style: italic; font-size: 1.05rem; color: var(--char); }
.section--dark .step { border-color: rgba(250,249,245,0.14); }
.section--dark .step-num { color: var(--gold); }
.section--dark .step-body p { color: rgba(250,249,245,0.7); }
.section--dark .step-body .detail { color: rgba(250,249,245,0.85); }
/* Compact card variant of the process — numbered tiles in a grid. */
.steps-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); }
.step-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.2rem); transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease, border-color .25s ease; }
.step-card:hover { transform: translateY(-4px); box-shadow: 0 22px 48px -28px rgba(20,17,14,0.4); border-color: var(--gold); }
.step-card .step-num { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1rem; }

/* ── Stat row on light backgrounds ──────────────────────── */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(2rem, 4vw, 3rem) 0; }
.stat-row--three { grid-template-columns: repeat(3, 1fr); }
.stat-row--two { grid-template-columns: repeat(2, 1fr); }
.stat-row .stat-cell { text-align: center; padding: 0 clamp(0.5rem, 2vw, 1.5rem); position: relative; }
.stat-row .stat-cell + .stat-cell::before { content: ""; position: absolute; left: 0; top: 12%; height: 76%; width: 1px; background: var(--line); }
.stat-row .figure { color: var(--gold-deep); margin-bottom: 0.5rem; }
.stat-row .label { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); }
.stat-row .sub { display: block; margin-top: 0.35rem; font-size: 0.85rem; color: var(--muted); }
.section--dark .stat-row { border-color: rgba(250,249,245,0.14); }
.section--dark .stat-row .stat-cell + .stat-cell::before { background: rgba(250,249,245,0.14); }
.section--dark .stat-row .figure { color: var(--gold); }
.section--dark .stat-row .label, .section--dark .stat-row .sub { color: rgba(250,249,245,0.6); }

/* ── Team portrait grid ─────────────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.team-grid--four { grid-template-columns: repeat(4, 1fr); }
.member { text-align: left; }
.member-photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--mist); margin-bottom: 1.1rem; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9) contrast(1.02); transition: transform .6s cubic-bezier(.22,1,.36,1); }
.member:hover .member-photo img { transform: scale(1.04); }
.member h3 { font-size: 1.15rem; margin-bottom: 0.2rem; }
.member .role { display: block; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; color: var(--gold-deep); margin-bottom: 0.7rem; }
.member .bio { font-size: 0.92rem; color: var(--muted); }
.member .member-links { margin-top: 0.8rem; display: flex; gap: 1rem; }
.section--dark .member .bio { color: rgba(250,249,245,0.7); }
.section--dark .member .role { color: var(--gold); }

/* ── Monogram / initial tile (people with no photo) ─────── */
.monogram { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: linear-gradient(160deg, var(--char-soft) 0%, var(--char) 100%); color: var(--gold); font-family: "Playfair Display", Georgia, serif; font-weight: 500; letter-spacing: 0.02em; font-size: clamp(2.4rem, 5vw, 3.6rem); user-select: none; }
.monogram--light { background: linear-gradient(160deg, var(--fog) 0%, var(--mist) 100%); color: var(--gold-deep); }
/* Small inline monogram (e.g. testimonial avatar, contact card). */
.monogram-sm { width: 3.25rem; height: 3.25rem; border-radius: 50%; font-size: 1.15rem; flex: none; }

/* ── Featured founder split ─────────────────────────────── */
.founder { display: grid; grid-template-columns: 240px 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.founder-portrait { position: relative; width: 240px; max-width: 100%; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--mist); }
.founder-portrait img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.92) contrast(1.02); }
.founder-portrait--framed::before { content: ""; position: absolute; inset: 16px -16px -16px 16px; border: 1px solid var(--gold-deep); border-radius: var(--radius); z-index: -1; }
.founder-body .eyebrow { margin-bottom: 0.8rem; }
.founder-body h2 { margin-bottom: 0.25rem; }
.founder-body .role { display: block; font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; color: var(--gold-deep); margin-bottom: 1.4rem; }
.founder-body p { color: var(--muted); }
.founder-body p + p { margin-top: 1rem; }
.founder-body .signature { margin-top: 1.6rem; font-family: "Playfair Display", Georgia, serif; font-style: italic; font-size: 1.3rem; color: var(--char); }
.section--dark .founder-body p { color: rgba(250,249,245,0.72); }
.section--dark .founder-body .role { color: var(--gold); }
.section--dark .founder-body .signature { color: var(--ivory); }

/* ── Portfolio: markets + captioned asset cards ─────────── */
.market { margin-top: clamp(2.5rem, 5vw, 4rem); }
.market:first-child { margin-top: 0; }
.market-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem; padding-bottom: 1.2rem; margin-bottom: clamp(1.5rem, 3vw, 2.2rem); border-bottom: 1px solid var(--line); }
.market-head h2, .market-head h3 { margin: 0; }
.market-head .market-meta { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; color: var(--gold-deep); white-space: nowrap; }
.section--dark .market-head { border-color: rgba(250,249,245,0.14); }
.section--dark .market-head .market-meta { color: var(--gold); }
.asset-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); }
.asset-grid--two { grid-template-columns: repeat(2, 1fr); }
.asset { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--char); transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s ease; }
.asset:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(20,17,14,0.5); }
.asset-img { aspect-ratio: 3 / 2; background-size: cover; background-position: center; transition: transform .7s cubic-bezier(.22,1,.36,1); }
.asset:hover .asset-img { transform: scale(1.05); }
/* Caption overlaid at the foot of the image. */
.asset-cap { position: absolute; inset: auto 0 0 0; padding: 1.4rem 1.35rem 1.2rem; color: var(--ivory); background: linear-gradient(180deg, rgba(20,17,14,0) 0%, rgba(20,17,14,0.85) 100%); }
.asset-cap .place { display: block; font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: var(--gold); margin-bottom: 0.3rem; }
.asset-cap h3, .asset-cap h4 { color: var(--ivory); font-size: 1.1rem; line-height: 1.2; margin: 0; }
.asset-cap .meta { display: block; margin-top: 0.35rem; font-size: 0.85rem; color: rgba(250,249,245,0.75); }
/* Caption below the image (light card variant). */
.asset--card { background: var(--paper); border: 1px solid var(--line); }
.asset--card .asset-cap { position: static; background: none; color: var(--ink); padding: 1.2rem 1.35rem 1.4rem; }
.asset--card .asset-cap .place { color: var(--gold-deep); }
.asset--card .asset-cap h3, .asset--card .asset-cap h4 { color: var(--ink); }
.asset--card .asset-cap .meta { color: var(--muted); }
/* Status chip (e.g. "Held", "Realised", "Under management"). */
.asset-tag { position: absolute; top: 1rem; left: 1rem; z-index: 2; font-size: 0.64rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; padding: 0.35rem 0.7rem; border-radius: var(--radius); background: rgba(250,249,245,0.92); color: var(--char); }
.asset-tag--gold { background: var(--gold-deep); color: #fff; }

/* ── Contact: two-column layout + form fields ───────────── */
.contact-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) 1.1fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
.contact-aside h2 { margin-bottom: 1rem; }
.contact-aside .lead, .contact-aside p { color: var(--muted); }
.contact-detail { display: flex; gap: 1rem; padding: 1.3rem 0; border-top: 1px solid var(--line); }
.contact-detail:last-child { border-bottom: 1px solid var(--line); }
.contact-detail .ic { flex: none; color: var(--gold-deep); margin-top: 0.15rem; }
.contact-detail .k { display: block; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); margin-bottom: 0.3rem; }
.contact-detail .v { font-size: 1rem; color: var(--ink); }
.contact-detail a.v:hover { color: var(--gold-deep); }
.section--dark .contact-aside .lead, .section--dark .contact-aside p { color: rgba(250,249,245,0.7); }
.section--dark .contact-detail { border-color: rgba(250,249,245,0.14); }
.section--dark .contact-detail .ic { color: var(--gold); }
.section--dark .contact-detail .v { color: var(--ivory); }

/* Form shell — a bordered card that holds the fields. */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 4vw, 2.6rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; color: var(--char); }
.field label .req { color: var(--gold-deep); }
.field input, .field select, .field textarea {
  font-family: "Montserrat", sans-serif; font-size: 0.98rem; color: var(--ink);
  background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0.85rem 1rem; width: 100%; line-height: 1.5;
  transition: border-color .15s ease, box-shadow .18s ease, transform .18s ease, background .15s ease;
}
.field textarea { min-height: 8.5rem; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #9a958c; }
.field input:hover:not(:focus), .field select:hover:not(:focus), .field textarea:hover:not(:focus) { border-color: var(--gold-deep); }
/* R&P-style focus ring — gold glow + solid edge. */
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold-deep); background: var(--paper);
  box-shadow: 0 0 0 3px rgba(156,127,62,0.28); outline: 2px solid transparent; outline-offset: 2px;
}
.field .hint { font-size: 0.8rem; color: var(--muted); }
.form-actions { margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.form-consent { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.85rem; color: var(--muted); }
.form-consent input { margin-top: 0.2rem; accent-color: var(--gold-deep); }
.form-note { font-size: 0.82rem; color: var(--muted); }
/* Dark-section form variant. */
.section--dark .form-card { background: var(--char-soft); border-color: rgba(250,249,245,0.14); }
.section--dark .field label { color: rgba(250,249,245,0.85); }
.section--dark .field input, .section--dark .field select, .section--dark .field textarea { background: var(--char-deep); border-color: rgba(250,249,245,0.16); color: var(--ivory); }
.section--dark .field input::placeholder, .section--dark .field textarea::placeholder { color: rgba(250,249,245,0.42); }
.section--dark .field input:focus, .section--dark .field select:focus, .section--dark .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(188,169,110,0.32); }

/* ── Closing CTA band ───────────────────────────────────── */
.cta-band { position: relative; background: var(--char); color: var(--ivory); border-radius: var(--radius); overflow: hidden; padding: clamp(3rem, 7vw, 5.5rem) clamp(1.5rem, 5vw, 4rem); text-align: center; }
/* Full-bleed variant (edge to edge, no card radius). */
.cta-band--bleed { border-radius: 0; }
/* Optional photographic backdrop — set background-image on .cta-media. */
.cta-media { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.cta-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,17,14,0.72) 0%, rgba(20,17,14,0.86) 100%); }
.cta-band > .cta-inner { position: relative; z-index: 1; max-width: 46ch; margin: 0 auto; }
.cta-band .eyebrow { color: var(--gold); }
.cta-band h2 { color: var(--ivory); }
.cta-band p { color: rgba(250,249,245,0.72); margin-top: 1rem; }
.cta-band .cta-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
/* Gold hairline accent above the CTA heading. */
.cta-band .rule { width: 56px; height: 2px; background: var(--gold); margin: 0 auto 1.6rem; }

/* ── Responsive: new components ─────────────────────────── */
@media (max-width: 900px) {
  .team-grid, .team-grid--four { grid-template-columns: repeat(2, 1fr); }
  .asset-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
  .stat-row .stat-cell:nth-child(odd)::before, .stat-row .stat-cell + .stat-cell::before { display: none; }
  .steps-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .split, .split--reverse .split-media, .split--reverse .split-body { grid-template-columns: 1fr; }
  .split { gap: 1.75rem; }
  .split--reverse .split-media { order: 0; }
  .split--reverse .split-body { order: 0; }
  .split-media--framed::before, .founder-portrait--framed::before { inset: 10px -10px -10px 10px; }
  .founder { grid-template-columns: 1fr; gap: 1.75rem; }
  .step { grid-template-columns: 1fr; gap: 0.5rem; }
  .stat-row, .stat-row--three, .stat-row--two { grid-template-columns: 1fr; gap: 1.75rem; }
  .stat-row .stat-cell + .stat-cell::before { display: none; }
  .team-grid, .team-grid--four, .asset-grid, .asset-grid--two, .steps-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .market-head { flex-direction: column; gap: 0.4rem; }
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .partners { grid-template-columns: repeat(3, 1fr); }
}
/* The full horizontal nav (7 links + CTA) only fits comfortably on wider
   screens; below this it collapses to the mobile menu. */
@media (max-width: 1200px) {
  .nav-links {
    position: fixed; inset: 84px 0 auto 0; flex-direction: column; align-items: flex-start; gap: 1.4rem;
    background: var(--ivory); padding: 2rem clamp(1.25rem, 4vw, 3rem); border-bottom: 1px solid var(--hair);
    transform: translateY(-120%); transition: transform .3s ease; box-shadow: 0 18px 40px -24px rgba(20,17,14,0.5);
  }
  .nav-links.open { transform: translateY(0); }
  .navlink, .over-hero .navlink { color: var(--char); opacity: 0.8; white-space: normal; }
  .brand { margin-right: 0; }
  .nav-cta { margin-left: 0; margin-top: 0.4rem; }
  .nav-toggle { display: block; }
}
@media (max-width: 720px) {
  .stats--four { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .partners { grid-template-columns: repeat(2, 1fr); }
  .hero { height: auto; min-height: 560px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover, .btn:active, .card:hover, .navlink:hover { transform: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
}
