/* =========================================================================
   AURUM CAPITAL CONNECT
   Design system + components
   Palette: warm near-black ink, antique gold accent, paper + warm-grey bands
   Type:    Spectral (display serif) · Libre Franklin (body / UI)
   ========================================================================= */

:root{
  /* color — navy + gold */
  --ink:        #0E1E33;   /* deep navy — hero, footer, dark bands         */
  --ink-2:      #16304C;   /* lifted navy panel on dark                    */
  --paper:      #FFFFFF;   /* primary light surface                        */
  --mist:       #EDF1F6;   /* cool light alternating band                  */
  --gold:       #A79547;   /* Aurum brand gold — the accent, used sparingly */
  --gold-bright:#C5B260;   /* lighter gold — hover / small text on navy     */
  --text:       #16263D;   /* body text on light (navy-tinted)            */
  --muted:      #51607A;   /* secondary text on light                      */
  --muted-d:    rgba(255,255,255,.70); /* secondary text on dark           */
  --line-l:     rgba(14,30,51,.13);    /* hairline on light                */
  --line-d:     rgba(255,255,255,.16); /* hairline on dark                 */

  /* type */
  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans:  "Libre Franklin", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* rhythm */
  --section-y: clamp(4.5rem, 9vw, 8.5rem);
  --gutter:    clamp(1.25rem, 5vw, 4rem);
  --maxw:      1180px;
  --ease:      cubic-bezier(.22,.61,.36,1);
}

/* ---------- reset ---------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--sans);
  font-size:17px;
  line-height:1.65;
  color:var(--text);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img{ max-width:100%; display:block; }
a{ color:inherit; }
h1,h2,h3,h4{ font-family:var(--serif); font-weight:400; margin:0; letter-spacing:-.01em; }

/* ---------- shared layout ---------- */
.wrap{ width:100%; max-width:var(--maxw); margin-inline:auto; padding-inline:var(--gutter); }
.section{ padding-block:var(--section-y); }
.section--ink{ background:var(--ink); color:#EDEAE0; }
.section--mist{ background:var(--mist); }
.section--tight{ padding-block:clamp(3rem,6vw,5rem); }

/* eyebrow + the gold "assay" rule = signature motif */
.eyebrow{
  font-family:var(--sans);
  font-size:.72rem;
  letter-spacing:.22em;
  text-transform:uppercase;
  font-weight:600;
  color:var(--gold);
  margin:0 0 1.1rem;
  display:inline-block;
}
.section--ink .eyebrow{ color:var(--gold-bright); }

.assay{ display:flex; align-items:center; gap:.9rem; margin:1.6rem 0; }
.assay::before,.assay::after{ content:""; height:1px; flex:1; background:var(--line-l); }
.section--ink .assay::before,.section--ink .assay::after{ background:var(--line-d); }
.assay i{
  width:8px; height:8px; rotate:45deg; background:var(--gold);
  flex:0 0 auto; display:block;
}
.assay--left::before{ display:none; }
.assay--left{ justify-content:flex-start; }
.assay--left::after{ max-width:120px; }

/* display headings */
.display{
  font-family:var(--serif);
  font-weight:300;
  line-height:1.04;
  letter-spacing:-.02em;
  font-size:clamp(2.4rem, 6vw, 4.4rem);
}
.h2{ font-size:clamp(1.8rem, 3.6vw, 2.8rem); line-height:1.1; }
.h3{ font-size:clamp(1.25rem,2vw,1.55rem); line-height:1.2; }
.lead{ font-size:clamp(1.05rem,1.6vw,1.22rem); color:var(--muted); max-width:60ch; }
.section--ink .lead{ color:var(--muted-d); }
.measure{ max-width:64ch; }

/* ---------- buttons / links ---------- */
.btn{
  display:inline-flex; align-items:center; gap:.6rem;
  font-family:var(--sans); font-weight:600; font-size:.82rem;
  letter-spacing:.12em; text-transform:uppercase; text-decoration:none;
  padding:.95rem 1.7rem; border:1px solid var(--gold);
  color:var(--gold); background:transparent;
  transition:color .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
  cursor:pointer;
}
.btn:hover{ background:var(--gold); color:var(--ink); }
.btn--solid{ background:var(--gold); color:var(--ink); }
.btn--solid:hover{ background:var(--gold-bright); border-color:var(--gold-bright); }
.btn .arr{ transition:transform .35s var(--ease); }
.btn:hover .arr{ transform:translateX(4px); }

.tlink{
  display:inline-flex; align-items:center; gap:.5rem;
  font-family:var(--sans); font-weight:600; font-size:.8rem;
  letter-spacing:.1em; text-transform:uppercase; text-decoration:none;
  color:var(--gold); padding-bottom:3px;
  border-bottom:1px solid transparent;
  transition:border-color .3s var(--ease);
}
.tlink:hover{ border-color:var(--gold); }
.tlink .arr{ transition:transform .3s var(--ease); }
.tlink:hover .arr{ transform:translateX(3px); }

/* =========================================================================
   HEADER / NAV  (injected by site.js)
   ========================================================================= */
.nav{
  position:fixed; inset:0 0 auto 0; z-index:60;
  display:flex; align-items:center; justify-content:space-between;
  padding:1.1rem var(--gutter);
  transition:background .4s var(--ease), padding .4s var(--ease), border-color .4s var(--ease);
  border-bottom:1px solid transparent;
}
.nav.is-scrolled{
  background:rgba(14,30,51,.92);
  backdrop-filter:saturate(140%) blur(8px);
  padding-block:.8rem;
  border-bottom-color:var(--line-d);
}
.nav__logo{ display:flex; align-items:center; text-decoration:none; }
.logo-img{ height:38px; width:auto; }
/* text fallback wordmark until the real logo file is dropped in */
.logo-text{ font-family:var(--serif); font-weight:500; font-size:1.5rem; letter-spacing:.28em;
  color:#fff; text-transform:uppercase; padding-left:.1em; }
.logo-text b{ color:var(--gold); font-weight:500; }

.nav__links{ display:flex; align-items:center; gap:1.9rem; list-style:none; margin:0; padding:0; }
.nav__links a{
  font-family:var(--sans); font-size:.82rem; font-weight:500; letter-spacing:.06em;
  text-decoration:none; color:rgba(255,255,255,.82); position:relative; padding:.3rem 0;
  transition:color .25s var(--ease);
}
.nav__links a::after{
  content:""; position:absolute; left:0; right:100%; bottom:-2px; height:1px;
  background:var(--gold); transition:right .3s var(--ease);
}
.nav__links a:hover{ color:#fff; }
.nav__links a:hover::after,.nav__links a.is-active::after{ right:0; }
.nav__links a.is-active{ color:#fff; }
.nav__links a.nav__cta{ border:1px solid var(--gold); color:var(--gold)!important; padding:.55rem 2.4rem; }
.nav__cta::after{ display:none; }
.nav__links a.nav__cta:hover{ background:var(--gold); color:var(--ink)!important; }

.nav__toggle{ display:none; background:none; border:0; cursor:pointer; padding:.4rem; }
.nav__toggle span{ display:block; width:26px; height:2px; background:#fff; margin:5px 0; transition:.3s var(--ease); }

@media (max-width:920px){
  .nav__toggle{ display:block; }
  .nav__links{
    position:fixed; inset:0 0 0 auto; width:min(78vw,320px);
    flex-direction:column; align-items:flex-start; gap:1.4rem;
    background:var(--ink); padding:6rem 2rem 2rem;
    transform:translateX(100%); transition:transform .4s var(--ease);
    border-left:1px solid var(--line-d);
  }
  .nav__links.is-open{ transform:translateX(0); }
  .nav__links a{ font-size:1rem; }
  .nav.is-open .nav__toggle span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2){ opacity:0; }
  .nav.is-open .nav__toggle span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }
}

/* ---- About nav dropdown submenu (scoped to .nav__item--has-sub only) ---- */
.nav__item--has-sub{ position:relative; display:inline-flex; align-items:center; gap:.2rem; }
.nav__sub-toggle{
  display:inline-flex; align-items:center; justify-content:center;
  background:none; border:0; margin:0; padding:.4rem .25rem; cursor:pointer;
  color:rgba(255,255,255,.82); transition:color .25s var(--ease);
}
.nav__sub-toggle::before{
  content:""; display:block; width:6px; height:6px; margin-top:-3px;
  border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor;
  transform:rotate(45deg); transition:transform .25s var(--ease);
}
.nav__item--has-sub:hover .nav__sub-toggle,
.nav__sub-toggle:hover,
.nav__sub-toggle:focus-visible{ color:#fff; }
.nav__item--has-sub:hover .nav__sub-toggle::before,
.nav__item--has-sub.is-sub-open .nav__sub-toggle::before{ transform:rotate(-135deg); margin-top:2px; }

.nav__sub{
  position:absolute; top:100%; left:-1.2rem; margin:0; padding:.45rem 0;
  min-width:220px; list-style:none;
  background:rgba(14,30,51,.98);
  -webkit-backdrop-filter:saturate(140%) blur(8px);
  backdrop-filter:saturate(140%) blur(8px);
  border:1px solid var(--line-d); border-top:2px solid var(--gold);
  box-shadow:0 20px 44px -20px rgba(0,0,0,.65);
  opacity:0; visibility:hidden; transform:translateY(8px);
  transition:opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
  z-index:70;
}
.nav__item--has-sub:hover .nav__sub,
.nav__item--has-sub.is-sub-open .nav__sub{
  opacity:1; visibility:visible; transform:translateY(0);
  transition:opacity .25s var(--ease), transform .25s var(--ease), visibility 0s;
}
.nav__sub li{ margin:0; }
.nav__sub a{
  display:block; padding:.62rem 1.4rem; position:static;
  font-family:var(--sans); font-size:.72rem; font-weight:500;
  letter-spacing:.14em; text-transform:uppercase; white-space:nowrap;
  color:rgba(255,255,255,.78);
}
.nav__sub a::after{ display:none; }
.nav__sub a:hover,
.nav__sub a:focus-visible{ color:var(--gold-bright); background:rgba(255,255,255,.045); }

@media (max-width:920px){
  .nav__item--has-sub{ display:flex; flex-wrap:wrap; width:100%; }
  .nav__sub{
    position:static; left:auto; top:auto; min-width:0; width:100%;
    display:none; opacity:1; visibility:visible; transform:none;
    padding:.15rem 0 .35rem; border:0; box-shadow:none;
    background:transparent; -webkit-backdrop-filter:none; backdrop-filter:none;
    transition:none;
  }
  .nav__item--has-sub.is-sub-open .nav__sub{ display:block; }
  .nav__sub a{ padding:.55rem 0 .55rem 1rem; font-size:.82rem; letter-spacing:.1em; color:rgba(255,255,255,.68); }
  .nav__sub-toggle{ margin-left:auto; padding:.5rem; }
}

/* =========================================================================
   HERO
   ========================================================================= */
.hero{
  position:relative; background:var(--ink); color:#F1EEE4;
  min-height:clamp(560px,86vh,820px);
  display:flex; align-items:center;
  padding:5rem 0 clamp(3.5rem,7vw,6rem); overflow:hidden;
}
.hero__bg{ position:absolute; inset:0; z-index:0; opacity:.32; }
.hero__bg::after{ /* subtle vignette so text stays legible over future imagery */
  content:""; position:absolute; inset:0;
  background:linear-gradient(100deg, rgba(14,30,51,.94) 0%, rgba(14,30,51,.6) 55%, rgba(14,30,51,.35) 100%);
}
.hero .wrap{ position:relative; z-index:1; }
.hero__inner{ max-width:54rem; }
.hero h1{ margin-bottom:1.6rem; }
.hero .lead{ color:rgba(255,255,255,.78); }
.hero__actions{ display:flex; gap:1rem; flex-wrap:wrap; margin-top:2.4rem; }

/* split hero: text + framed image */
.hero__grid{ display:grid; grid-template-columns:1.12fr .88fr; gap:clamp(2rem,5vw,4.5rem); align-items:center; }
.hero__media{ position:relative; }
.hero__media .ph{ aspect-ratio:4/5; min-height:420px; }
@media (max-width:900px){
  .hero__grid{ grid-template-columns:1fr; }
  .hero__media .ph{ aspect-ratio:16/10; min-height:240px; }
}

/* three-column hero: image · centered text · image */
.hero__grid--tri{ grid-template-columns:1fr 1.25fr 1fr; gap:clamp(1.4rem,3vw,3rem); }
.hero--tri .hero__inner{ text-align:center; max-width:none; }
.hero--tri .hero__inner .lead{ margin-inline:auto; }
.hero--tri .hero__actions{ justify-content:center; gap:clamp(1rem,2vw,1.6rem); margin-top:clamp(2.4rem,4vw,3.4rem); flex-wrap:wrap; }
.hero--tri .hero__media .img-cover{ aspect-ratio:4/5; min-height:340px; }
@media (max-width:900px){
  .hero__grid--tri{ grid-template-columns:1fr 1fr; }
  .hero--tri .hero__inner{ grid-column:1 / -1; order:-1; }
  .hero--tri .hero__media .img-cover{ min-height:200px; }
}
@media (max-width:520px){
  .hero__grid--tri{ grid-template-columns:1fr; }
}

/* gold inner frame for image placeholders — echoes the tombstone motif */
.framed{ position:relative; }
.framed::after{
  content:""; position:absolute; inset:14px; border:1px solid rgba(167,149,71,.55);
  pointer-events:none; z-index:2;
}
/* real images that fill their slot */
.img-cover{ width:100%; height:100%; object-fit:cover; display:block; }
.hero__media .img-cover{ aspect-ratio:4/5; min-height:420px; }
@media (max-width:900px){ .hero__media .img-cover{ aspect-ratio:16/10; min-height:240px; } }

/* page header (interior pages) */
.phead{ background:var(--ink); color:#F1EEE4; padding:9.5rem 0 clamp(3rem,6vw,5rem); position:relative; }
.phead .lead{ color:rgba(255,255,255,.74); margin-top:1rem; }

/* =========================================================================
   GENERIC CONTENT BLOCKS
   ========================================================================= */
.grid{ display:grid; gap:clamp(1.5rem,3vw,2.6rem); }
.two{ grid-template-columns:repeat(2,1fr); }
.three{ grid-template-columns:repeat(3,1fr); }
@media (max-width:860px){ .two,.three{ grid-template-columns:1fr; } }

.split{ display:grid; grid-template-columns:1.05fr .95fr; gap:clamp(2rem,5vw,5rem); align-items:center; }
@media (max-width:860px){ .split{ grid-template-columns:1fr; } }

.prose p{ margin:0 0 1.1rem; }
.prose p:last-child{ margin-bottom:0; }

/* value list (Home: "We're committed to delivering") */
.values{ list-style:none; margin:0; padding:0; display:grid; gap:0; border-top:1px solid var(--line-d); }
.values li{
  display:flex; align-items:baseline; gap:1.4rem;
  padding:1.3rem 0; border-bottom:1px solid var(--line-d);
}
.values .n{ font-family:var(--serif); color:var(--gold-bright); font-size:.95rem; width:2.2rem; flex:0 0 auto; }
.values .t{ font-family:var(--serif); font-size:clamp(1.3rem,2.4vw,1.9rem); font-weight:300; }

/* capability / service cards */
.card{
  background:var(--paper); border:1px solid var(--line-l); padding:2.2rem;
  display:flex; flex-direction:column; gap:1rem;
  transition:transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.section--ink .card{ background:var(--ink-2); border-color:var(--line-d); }
.card:hover{ transform:translateY(-4px); box-shadow:0 22px 48px -28px rgba(0,0,0,.45); border-color:var(--gold); }
.card .mark{ width:14px; height:14px; rotate:45deg; background:var(--gold); margin-bottom:.4rem; }
.card__img{ margin:-2.2rem -2.2rem 1.5rem; aspect-ratio:16/10; overflow:hidden; }
.card__img img{ width:100%; height:100%; object-fit:cover; display:block; }
.card h3{ font-size:1.05rem; letter-spacing:.04em; text-transform:uppercase; font-family:var(--sans); font-weight:600; }
.card p{ color:var(--muted); margin:0; font-size:.98rem; }
.section--ink .card p{ color:var(--muted-d); }
.card .tlink{ margin-top:auto; }

/* quote block (Steve Donelson) */
.quote{ border-left:2px solid var(--gold); padding-left:clamp(1.4rem,3vw,2.4rem); }
.quote p{ font-family:var(--serif); font-weight:300; font-size:clamp(1.15rem,2vw,1.5rem); line-height:1.45; color:#EFECE2; }
.quote .by{ font-family:var(--sans); font-size:.78rem; letter-spacing:.18em; text-transform:uppercase; color:var(--gold-bright); margin-top:1.4rem; }
.quote .by small{ display:block; color:var(--muted-d); letter-spacing:.08em; margin-top:.3rem; }

/* bulleted spec list (Services: advisory) */
.specs{ list-style:none; margin:1.2rem 0 0; padding:0; columns:2; gap:1.5rem; }
.specs li{ break-inside:avoid; padding:.4rem 0 .4rem 1.4rem; position:relative; font-size:.95rem; color:var(--muted); }
.specs li::before{ content:""; position:absolute; left:0; top:.85em; width:6px; height:6px; rotate:45deg; background:var(--gold); }
@media (max-width:540px){ .specs{ columns:1; } }

/* =========================================================================
   STATEMENT BAND — full-bleed image with overlaid line
   ========================================================================= */
.band{ position:relative; background:var(--ink); color:#fff; overflow:hidden; }
.band__media{ position:absolute; inset:0; z-index:0; }
.band__media img{ width:100%; height:100%; object-fit:cover; display:block; }
.band__media .ph{ height:100%; min-height:0; border:0; }
.band::after{
  content:""; position:absolute; inset:0; z-index:0;
  background:linear-gradient(0deg, rgba(14,30,51,.9), rgba(14,30,51,.7));
}
.band .wrap{ position:relative; z-index:1; padding-block:clamp(4.5rem,9vw,7.5rem); }
.band .statement{
  font-family:var(--serif); font-weight:300; line-height:1.18; letter-spacing:-.01em;
  font-size:clamp(1.9rem,4.2vw,3.4rem); max-width:20ch;
}
.band .statement em{ font-style:italic; color:var(--gold-bright); }

/* =========================================================================
   TOMBSTONES  — signature treatment (Transactions + Private Capital)
   ========================================================================= */
.tombstones{
  display:grid; gap:clamp(1rem,2vw,1.6rem);
  grid-template-columns:repeat(auto-fill,minmax(230px,1fr));
}
.tomb{
  position:relative; aspect-ratio:1/1; text-decoration:none; color:inherit;
  background:var(--paper); border:1px solid var(--line-l);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; padding:1.6rem; gap:.7rem;
  transition:transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.tomb::before{ /* inner gold frame — the tombstone hairline */
  content:""; position:absolute; inset:12px; border:1px solid var(--line-l);
  transition:border-color .4s var(--ease);
}
.tomb:hover{ transform:translateY(-4px); box-shadow:0 24px 50px -30px rgba(0,0,0,.4); border-color:var(--gold); }
.tomb:hover::before{ border-color:rgba(167,149,71,.5); }
.tomb .mark{ width:9px; height:9px; rotate:45deg; background:var(--gold); }
.tomb .co{ font-family:var(--serif); font-weight:400; font-size:1.22rem; line-height:1.2; letter-spacing:-.01em; position:relative; }
.tomb .role{ font-family:var(--sans); font-size:.66rem; letter-spacing:.16em; text-transform:uppercase; color:var(--muted); position:relative; }
.tomb .logo-slot{ /* drop company logo here later */
  width:100%; max-width:150px; height:46px; position:relative;
  display:flex; align-items:center; justify-content:center;
}
.tomb[href]:not([href=""]) .co::after{ content:"↗"; font-size:.7em; color:var(--gold); margin-left:.35em; vertical-align:super; }

/* image tombstones (full deal-art graphics) */
.tomb-art-grid{ display:grid; gap:clamp(1.6rem,3.5vw,3rem);
  grid-template-columns:repeat(4,1fr); margin-bottom:clamp(1rem,2vw,1.6rem); }
@media (max-width:900px){ .tomb-art-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:520px){ .tomb-art-grid{ grid-template-columns:1fr; } }
.tomb-art{ position:relative; display:block; overflow:hidden; text-decoration:none;
  background:transparent;
  transition:transform .4s var(--ease), box-shadow .4s var(--ease); }
.tomb-art img{ display:block; width:100%; height:auto; aspect-ratio:1/1; object-fit:cover; }
.tomb-art:hover{ transform:translateY(-4px); box-shadow:0 24px 50px -30px rgba(0,0,0,.4); }
a.tomb-art::after{ content:"↗"; position:absolute; top:9px; right:13px; color:#fff; opacity:0;
  font-size:1rem; transition:opacity .3s var(--ease); }
a.tomb-art:hover::after{ opacity:.92; }
/* Private Capital art has rounded-corner graphics — clip the square corners so the
   page background shows through instead of the baked-in white corner. */
body[data-page="private-capital"] .tomb-art{ border-radius:5%; }

/* Optional "View PDF" link beneath a tombstone graphic. Wrap the .tomb-art and the
   link together in a .tomb-cell so the grid still counts one cell per deal and the
   graphic keeps its own hover lift. (Structure only — no links wired yet.) */
.tomb-cell{ display:flex; flex-direction:column; align-items:center; gap:.9rem; }
.tomb-cell .tomb-art{ width:100%; }
.tomb-pdf{
  display:inline-flex; align-items:center; gap:.45rem;
  font-family:var(--sans); font-weight:600; font-size:.72rem;
  letter-spacing:.1em; text-transform:uppercase; text-decoration:none;
  color:var(--gold); padding-bottom:2px;
  border-bottom:1px solid transparent;
  transition:border-color .3s var(--ease);
}
.tomb-pdf:hover{ border-color:var(--gold); }
.tomb-pdf .arr{ transition:transform .3s var(--ease); }
.tomb-pdf:hover .arr{ transform:translateX(3px); }

/* =========================================================================
   TEAM (cards) + DETAIL MODAL
   ========================================================================= */
.team{ display:grid; gap:clamp(1.4rem,3vw,2.4rem); grid-template-columns:repeat(4,1fr); align-items:start; }
#team{ scroll-margin-top:6rem; }
@media (max-width:900px){ .team{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:520px){ .team{ grid-template-columns:1fr; } }
.member{
  text-align:left; cursor:pointer; width:100%; padding:0; border:0; background:none;
  font:inherit; color:inherit; display:block;
}
.member .photo{ position:relative; aspect-ratio:1/1; margin-bottom:1rem; overflow:hidden; background:var(--mist); }
.member .photo img{ width:100%; height:100%; object-fit:cover; transition:transform .6s var(--ease); }
.member .photo::after{ content:""; position:absolute; inset:10px; border:1px solid transparent; transition:border-color .4s var(--ease); pointer-events:none; }
.member:hover .photo img,.member:focus-visible .photo img{ transform:scale(1.05); }
.member:hover .photo::after,.member:focus-visible .photo::after{ border-color:rgba(167,149,71,.6); }
.member h3{ font-size:1.15rem; }
.member .role{ font-family:var(--sans); font-size:.74rem; letter-spacing:.14em; text-transform:uppercase; color:var(--gold); margin-top:.25rem; min-height:3.3em; }
.member .more{
  display:inline-flex; align-items:center; gap:.4rem; margin-top:.6rem;
  font-family:var(--sans); font-size:.74rem; letter-spacing:.1em; text-transform:uppercase;
  color:var(--gold); border-bottom:1px solid transparent; transition:border-color .3s var(--ease);
}
.member:hover .more,.member:focus-visible .more{ border-color:var(--gold); }
.member .more .arr{ transition:transform .3s var(--ease); }
.member:hover .more .arr{ transform:translateX(3px); }

/* modal */
.modal{ position:fixed; inset:0; z-index:120; display:flex; align-items:center; justify-content:center; padding:clamp(1rem,3vw,2rem); }
.modal[hidden]{ display:none; }
.modal__backdrop{ position:absolute; inset:0; background:rgba(8,16,28,.62); backdrop-filter:saturate(140%) blur(6px); }
.modal__panel{
  position:relative; background:var(--paper); width:100%; max-width:900px; max-height:88vh; overflow:hidden;
  display:grid; grid-template-columns:42% 1fr; box-shadow:0 50px 110px -40px rgba(0,0,0,.6);
  opacity:0; transform:translateY(14px) scale(.985); transition:opacity .4s var(--ease), transform .4s var(--ease);
}
.modal.is-open .modal__panel{ opacity:1; transform:none; }
.modal__media{ background:var(--mist); position:relative; min-height:320px; }
.modal__media img{ width:100%; height:100%; object-fit:cover; }
.modal__media .ph{ position:absolute; inset:0; }
.modal__body{ padding:clamp(1.8rem,3.2vw,3rem); overflow-y:auto; min-height:0; max-height:88vh; }
.modal__body .role{ font-family:var(--sans); font-size:.74rem; letter-spacing:.16em; text-transform:uppercase; color:var(--gold); }
.modal__body h3{ font-size:clamp(1.7rem,3vw,2.3rem); font-weight:300; margin:.3rem 0 0; }
.modal__creds{ font-size:.82rem; color:var(--muted); margin-top:.5rem; letter-spacing:.02em; }
.modal__bio{ margin-top:1.3rem; color:var(--text); }
.modal__bio p{ margin:0 0 1rem; }
.modal__contact{ margin-top:1.4rem; display:flex; gap:1.4rem; flex-wrap:wrap; }
.modal__close{
  position:absolute; top:.7rem; right:.7rem; z-index:2; width:40px; height:40px; border-radius:50%;
  border:1px solid var(--line-l); background:rgba(255,255,255,.9); cursor:pointer; font-size:1.1rem;
  line-height:1; color:var(--text); display:flex; align-items:center; justify-content:center;
  transition:background .25s var(--ease), border-color .25s var(--ease);
}
.modal__close:hover{ background:var(--gold); border-color:var(--gold); color:#fff; }
body.modal-open{ overflow:hidden; }
@media (max-width:680px){
  .modal__panel{ grid-template-columns:1fr; max-height:92vh; overflow-y:auto; }
  .modal__body{ max-height:none; overflow:visible; }
  .modal__media{ aspect-ratio:4/3; min-height:0; }
}
@media (prefers-reduced-motion:reduce){
  .modal__panel{ transition:none; transform:none; }
  .member .photo img{ transition:none; }
}

/* =========================================================================
   NEWS
   ========================================================================= */
.news{ display:grid; gap:clamp(1.6rem,3vw,2.4rem); grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); }
.article{
  display:flex; flex-direction:column; background:var(--paper);
  border:1px solid var(--line-l); text-decoration:none; color:inherit;
  transition:transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.article:hover{ transform:translateY(-4px); box-shadow:0 24px 50px -30px rgba(0,0,0,.35); border-color:var(--gold); }
.article .thumb{ aspect-ratio:4/3; }
.article .body{ padding:1.6rem 1.5rem 1.7rem; display:flex; flex-direction:column; gap:.7rem; flex:1; }
.article .tag{ font-family:var(--sans); font-size:.68rem; letter-spacing:.16em; text-transform:uppercase; color:var(--gold); }
.article h3{ font-size:1.2rem; line-height:1.25; }
.article p{ color:var(--muted); font-size:.94rem; margin:0; }
.article .tlink{ margin-top:auto; }

/* =========================================================================
   VALUATION TOOL
   ========================================================================= */
.valuation{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(1.6rem,4vw,3.5rem); align-items:start; }
@media (max-width:860px){ .valuation{ grid-template-columns:1fr; } }
.form-card{ background:var(--paper); border:1px solid var(--line-l); padding:clamp(1.6rem,3vw,2.4rem); }
.field{ margin-bottom:1.3rem; }
.field label{ display:block; font-size:.78rem; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); margin-bottom:.5rem; }
.field input,.field select,.field textarea{
  width:100%; font-family:var(--sans); font-size:1rem; color:var(--text);
  padding:.85rem 1rem; border:1px solid var(--line-l); background:#fff; border-radius:0;
  transition:border-color .25s var(--ease);
}
.field input:focus,.field select:focus,.field textarea:focus{ outline:none; border-color:var(--gold); }
.field .hint{ font-size:.78rem; color:var(--muted); margin-top:.4rem; }

.result{ background:var(--ink); color:#EFECE2; padding:clamp(1.8rem,3.5vw,2.6rem); position:sticky; top:6rem; }
.result .eyebrow{ color:var(--gold-bright); }
.result .range{ font-family:var(--serif); font-weight:300; font-size:clamp(1rem,2.5vw,1.6rem); line-height:1.05; margin:.4rem 0 .2rem; }
.result .sub{ color:var(--muted-d); font-size:.92rem; }
.result .row{ display:flex; justify-content:space-between; gap:1rem; padding:.7rem 0; border-bottom:1px solid var(--line-d); font-size:.92rem; }
.result .row span:last-child{ color:#fff; font-variant-numeric:tabular-nums; }
.result .muted-note{ font-size:.78rem; color:var(--muted-d); margin-top:1.4rem; line-height:1.5; }
.result.is-empty .range{ color:rgba(255,255,255,.3); }

/* valuation: gate + inputs + result on one row; tool locked until unlocked */
.tool3{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(1rem,2vw,1.6rem); align-items:stretch; }
.tool3 .result{ position:static; padding:clamp(1.6rem,3vw,2.4rem); }
.tool3 .form-card,.tool3 .result{ height:100%; }
@media (max-width:960px){ .tool3{ grid-template-columns:1fr; } }
.is-locked{ opacity:.45; filter:grayscale(.75); pointer-events:none; user-select:none;
  transition:opacity .45s var(--ease), filter .45s var(--ease); }

/* =========================================================================
   CONTACT
   ========================================================================= */
.offices{ display:grid; grid-template-columns:repeat(2,1fr); gap:clamp(1.6rem,4vw,3rem); }
@media (max-width:680px){ .offices{ grid-template-columns:1fr; } }
.office h3{ font-size:1.3rem; }
.office .map{ margin-top:1rem; }
.office address{ font-style:normal; color:var(--muted); margin-top:1rem; line-height:1.8; }
.office address a{ color:var(--gold); text-decoration:none; }
.office address a:hover{ text-decoration:underline; }
.office address .maplink{ color:inherit; text-decoration:none; }
.office address .maplink:hover{ color:var(--gold); text-decoration:underline; }

/* =========================================================================
   FOOTER  (injected by site.js)
   ========================================================================= */
.foot{ background:var(--ink); color:#CFCBBF; border-top:1px solid var(--line-d); }
.foot__top{ display:grid; grid-template-columns:1.2fr 1fr 1fr; gap:clamp(2rem,4vw,3.5rem); padding-block:clamp(3rem,6vw,5rem); }
@media (max-width:860px){ .foot__top{ grid-template-columns:1fr; gap:2.2rem; } }
.foot__brand .logo-text{ font-size:1.35rem; }
.foot__brand .logo-img{ height:42px; }
.foot__brand p{ color:var(--muted-d); font-size:.9rem; margin:1.2rem 0 0; max-width:34ch; }
.foot h4{ font-family:var(--sans); font-size:.72rem; letter-spacing:.16em; text-transform:uppercase; color:var(--gold-bright); margin:0 0 1rem; font-weight:600; }
.foot address{ font-style:normal; font-size:.92rem; line-height:1.85; color:var(--muted-d); }
.foot address a{ color:var(--gold); text-decoration:none; }
.foot address + address{ margin-top:1.4rem; }
.foot__badges{ display:flex; flex-wrap:wrap; gap:1.3rem 2rem; align-items:center; padding-block:1.8rem; border-top:1px solid var(--line-d); }
.foot__badges a{ display:inline-flex; }
.badge-logo{ height:30px; width:auto; display:block; opacity:.8;
  transition:opacity .35s var(--ease); }
.foot__badges a:hover .badge-logo{ opacity:1; }
.foot__legal{ padding-block:1.8rem; border-top:1px solid var(--line-d); font-size:.78rem; color:var(--muted-d); line-height:1.7; }
.foot__legal a{ color:var(--gold); text-decoration:none; }
.foot__legal .copy{ margin-top:1rem; display:flex; justify-content:space-between; flex-wrap:wrap; gap:.6rem; }

/* =========================================================================
   IMAGE PLACEHOLDERS  (remove/replace as real imagery arrives)
   ========================================================================= */
.ph{
  position:relative; background:
    repeating-linear-gradient(135deg, rgba(167,149,71,.07) 0 12px, transparent 12px 24px);
  border:1px solid var(--line-l);
  display:flex; align-items:center; justify-content:center; text-align:center;
  color:var(--muted); min-height:120px;
}
.ph--dark{ border-color:var(--line-d); color:var(--muted-d);
  background:repeating-linear-gradient(135deg, rgba(167,149,71,.1) 0 12px, transparent 12px 24px); }
.ph__label{ font-family:var(--sans); font-size:.68rem; letter-spacing:.16em; text-transform:uppercase; padding:.5rem 1rem; }
.ph__label b{ display:block; font-size:.62rem; opacity:.6; margin-top:.3rem; letter-spacing:.1em; }

/* =========================================================================
   SCROLL REVEAL
   ========================================================================= */
.reveal{ opacity:0; transform:translateY(18px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion:reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
  html{ scroll-behavior:auto; }
  *{ animation:none!important; }
}

/* small helpers */
.center{ text-align:center; }
.mt-l{ margin-top:clamp(2rem,4vw,3rem); }
.maxw-head{ max-width:46rem; }
.skip{ position:absolute; left:-9999px; }
.skip:focus{ left:1rem; top:1rem; z-index:100; background:var(--gold); color:var(--ink); padding:.6rem 1rem; }
:focus-visible{ outline:2px solid var(--gold); outline-offset:3px; }

/* page header — video background variant */
.phead--video{ overflow:hidden; isolation:isolate; min-height:clamp(420px,56vh,580px); }
.phead__video{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; z-index:0; pointer-events:none;
}
.phead__scrim{
  position:absolute; inset:0; z-index:1; pointer-events:none;
  background:
    linear-gradient(90deg, rgba(14,30,51,.88) 0%, rgba(14,30,51,.62) 46%, rgba(14,30,51,.36) 100%),
    linear-gradient(180deg, rgba(14,30,51,.28) 0%, rgba(14,30,51,.08) 42%, rgba(14,30,51,.52) 100%);
}
.phead--video .wrap{ position:relative; z-index:2; }
@media (prefers-reduced-motion:reduce){
  .phead__video{ display:none; }
}
