/* ---------------------------------------------------
   Elyron Partners — modernized site styles
--------------------------------------------------- */

:root{
  --navy-900: #0B1626;
  --navy-800: #0F1E33;
  --navy-700: #16304F;
  --navy-600: #1E3E63;
  --steel-500: #5B7089;
  --steel-300: #9FB0C2;
  --paper-50: #FFFFFF;
  --paper-100: #F6F6F5;
  --ink-900: #12202F;
  --ink-600: #4C5C6C;
  --gold-500: #C89B3C;
  --gold-400: #D9B463;
  --gold-050: #F6EEDC;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --shadow-soft: 0 20px 45px -20px rgba(11, 22, 38, 0.35);
  --ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink-900);
  background: var(--paper-50);
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3{
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -0.02em;
}
p{ margin: 0 0 1em; color: var(--ink-600); line-height: 1.7; }
a{ color: inherit; }
img{ max-width: 100%; display: block; }
ul, ol{ margin:0; padding:0; list-style:none; }

.wrap{
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link{
  position:absolute; left:-999px; top:auto;
  background: var(--navy-900); color:#fff; padding: 12px 18px; border-radius: 8px; z-index: 999;
}
.skip-link:focus{ left: 16px; top: 16px; }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn-accent{
  background: var(--gold-500);
  color: #000;
  box-shadow: 0 10px 25px -8px rgba(200,155,60,.6);
}
.btn-accent:hover{ background: var(--gold-400); transform: translateY(-2px); }
.btn-ghost{
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.5);
}
.btn-ghost:hover{ border-color: #fff; background: rgba(255,255,255,.08); }
.btn-lg{ padding: 16px 32px; font-size: 1.02rem; }
.btn-small{ padding: 9px 18px; font-size: .85rem; }

/* ---------- Header ---------- */
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: padding .35s var(--ease), box-shadow .35s var(--ease);
}
/* Background/blur live on a pseudo-element (not the header itself) so the
   header never gains a backdrop-filter — that property makes an ancestor
   the containing block for position:fixed descendants, which would trap
   the fixed mobile nav panel inside the header's own small box. */
.site-header::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(11,22,38,.92);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.site-header.is-scrolled{
  padding: 10px 0;
  box-shadow: 0 10px 30px -15px rgba(0,0,0,.4);
}
.site-header.is-scrolled::before{ opacity: 1; }
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand img{ height: 54px; width: auto; aspect-ratio: 691 / 384; filter: brightness(0) invert(1); transition: height .3s var(--ease); }
.is-scrolled .brand img{ height: 46px; }
.main-nav{ display: flex; align-items: center; gap: 32px; }
.main-nav a{
  color: #fff;
  text-decoration: none;
  opacity: .8;
  transition: opacity .2s;
}
.main-nav a.btn{ color: #000; }
.main-nav a:not(.btn){
  text-transform: uppercase;
  letter-spacing: .07em;
  font-size: .78rem;
  font-weight: 600;
}
.main-nav a:hover{ opacity: 1; }
.main-nav a.btn{ opacity: 1; }

.nav-toggle{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none; cursor: pointer;
}
.nav-toggle span{
  display:block; height: 2px; width: 100%; background: #fff; border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero{
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.hero-media{ position: absolute; inset: 0; z-index: 0; }
.hero-media img{
  width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%;
}
.hero-scrim{
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(4,8,14,.96) 0%, rgba(4,8,14,.7) 24%, rgba(4,8,14,.25) 48%, transparent 65%),
    linear-gradient(180deg, rgba(9,17,29,.5) 0%, rgba(9,17,29,.18) 35%, rgba(8,15,26,.4) 65%, rgba(6,12,21,.75) 100%);
}
.hero-content{
  position: relative;
  z-index: 1;
  padding-bottom: 90px;
  padding-top: 200px;
}
.eyebrow{
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--gold-500);
  margin-bottom: 14px;
}
.eyebrow-light{ color: var(--gold-400); }
.hero h1{
  font-size: clamp(2.3rem, 5.6vw, 4.2rem);
  font-weight: 800;
  color: #fff;
  max-width: 1050px;
}
.hero-sub{
  font-size: 1.15rem;
  color: rgba(255,255,255,.85);
  max-width: 900px;
  margin-bottom: 30px;
}
.hero-actions{ display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Triage strip ---------- */
.triage{ background: var(--navy-900); }
.triage-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.triage-item{
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 30px 28px;
  text-decoration: none;
  color: #fff;
  border-left: 1px solid rgba(255,255,255,.12);
  transition: background .25s var(--ease);
}
.triage-item:first-child{ border-left: none; padding-left: 0; }
.triage-item:hover{ background: rgba(255,255,255,.04); }
.triage-item:hover .triage-arrow{ transform: translateX(4px); color: var(--gold-400); }
.triage-item:hover .triage-text{ color: var(--gold-400); }
.triage-num{
  flex: none;
  font-size: .78rem;
  font-weight: 700;
  color: var(--gold-500);
  letter-spacing: .04em;
}
.triage-text{
  flex: 1;
  font-size: 1.02rem;
  font-weight: 600;
  transition: color .2s var(--ease);
}
.triage-arrow{
  flex: none;
  font-size: 1.1rem;
  color: rgba(255,255,255,.5);
  transition: transform .25s var(--ease), color .2s var(--ease);
}

/* ---------- Sections ---------- */
.section{ padding: 130px 0; }
.section-alt{ background: var(--paper-100); }
.section h2{ color: var(--navy-800); max-width: 780px; }
.section > .wrap > h2, .section .wrap > h2{ font-size: clamp(1.7rem, 3vw, 2.35rem); }
.section-lede{ max-width: 640px; font-size: 1.08rem; margin-bottom: 48px; }

/* About */
.about-grid{
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 64px;
  align-items: start;
}
.about-head h2{
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  color: var(--navy-800);
  max-width: 460px;
}
.about-body{ padding-top: 4px; }
.about-body p{ font-size: 1.03rem; max-width: 560px; }
.about-pullquote{
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--navy-800);
  border-left: 3px solid var(--gold-500);
  padding-left: 18px;
  margin-top: 24px;
  max-width: 560px;
}

/* Criteria */
.criteria-cards{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 44px;
  background: rgba(11,22,38,.08);
  border: 1px solid rgba(11,22,38,.08);
}
.criteria-card{
  background: #fff;
  padding: 36px 32px;
  transition: background .25s var(--ease);
}
.criteria-card:hover{ background: var(--paper-100); }
.criteria-icon{
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: var(--radius-lg);
  background: var(--gold-050);
  border: 1px solid rgba(11,22,38,.08);
  color: var(--navy-700);
  margin-bottom: 22px;
}
.criteria-icon svg{ width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.criteria-card h3{
  font-size: 1.1rem;
  color: var(--navy-800);
  margin-bottom: 16px;
}
.plain-list li{
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  color: var(--ink-600);
  line-height: 1.6;
  font-size: .96rem;
}
.plain-list li::before{
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold-500);
}

/* CTA band (final) */
.cta-band{
  position: relative;
  background: var(--navy-900);
  color: #fff;
  padding: 110px 0;
  overflow: hidden;
}
.cta-band::before{
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(700px 360px at 50% 0%, rgba(200,155,60,.14), transparent 70%);
}
.cta-band-inner{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.cta-band h2{ color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin: 0; max-width: 640px; }

/* Themes */
.theme-categories{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 64px;
  margin-top: 20px;
}
.theme-category h3{
  font-size: 1.05rem;
  color: var(--navy-800);
  margin-bottom: 18px;
}
.cat-sub{ color: var(--steel-500); font-weight: 400; font-size: .85em; }

.theme-list{ display: flex; flex-direction: column; gap: 10px; }

.theme-item{
  background: #fff;
  border: 1px solid rgba(11,22,38,.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  font-weight: 600;
  color: var(--navy-800);
}
.theme-icon{
  flex: none;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--gold-050);
  border: 1px solid rgba(11,22,38,.08);
  color: var(--navy-700);
}
.theme-icon svg{ width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.theme-name{ flex: 1; font-size: .98rem; }
.theme-badge{
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  background: var(--gold-500);
  color: var(--navy-900);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
}
.theme-item-featured{ border-color: var(--gold-500); }

/* Approach */
.pillar-path{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.pillar{
  position: relative;
  background: #fff;
  border: 1px solid rgba(11,22,38,.08);
  border-radius: var(--radius-lg);
  padding: 28px 22px 26px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.pillar:hover{ transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: var(--gold-400); }
.pillar-index{
  display: block;
  font-size: .78rem;
  color: var(--gold-500);
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: .06em;
}
.pillar-icon{
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px;
  border-radius: var(--radius-lg);
  background: var(--gold-050);
  border: 1px solid rgba(11,22,38,.08);
  color: var(--navy-700);
  margin-bottom: 16px;
}
.pillar-icon svg{ width: 24px; height: 24px; fill:none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pillar h3{ font-size: 1.05rem; color: var(--navy-800); margin-bottom: 8px; }
.pillar p{ font-size: .9rem; margin: 0; }

/* Footer */
.site-footer{
  background: var(--navy-900);
  color: rgba(255,255,255,.7);
  padding: 60px 0 30px;
}
.footer-inner{
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand img{ height: 62px; width: auto; aspect-ratio: 691 / 384; filter: brightness(0) invert(1); margin-bottom: 14px; }
.footer-brand p{ color: rgba(255,255,255,.55); font-size: .9rem; max-width: 320px; }
.footer-nav{ display: flex; flex-direction: column; gap: 10px; }
.footer-nav a{ color: rgba(255,255,255,.7); text-decoration: none; font-size: .92rem; }
.footer-nav a:hover{ color: #fff; }
.footer-meta{ display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.footer-social{
  display: inline-flex; align-items: center; gap: 8px;
  color: #fff; text-decoration: none; font-size: .9rem; font-weight: 600;
}
.footer-social svg{ fill: currentColor; }
.footer-meta p{ margin: 0; color: rgba(255,255,255,.5); font-size: .85rem; }
.footer-inner + p{ text-align:center; }

/* Reveal animation */
.reveal{ opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in-view{ opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .about-grid{ grid-template-columns: 1fr; gap: 32px; }
  .about-head h2{ max-width: none; }
  .criteria-cards{ grid-template-columns: 1fr 1fr; }
  .theme-categories{ grid-template-columns: 1fr; }
  .pillar-path{ grid-template-columns: repeat(2, 1fr); }
  .triage-text{ font-size: .95rem; }
  .footer-inner{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px){
  .main-nav{
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(78vw, 320px);
    background: var(--navy-900);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 100px 32px 32px;
    gap: 22px;
    transform: translateX(100%);
    transition: transform .35s var(--ease);
  }
  .main-nav.is-open{ transform: translateX(0); }
  .main-nav a:not(.btn){ font-size: .95rem; opacity: 1; }
  .nav-toggle{ display: flex; }
  .criteria-cards{ grid-template-columns: 1fr; }
  .triage-grid{ grid-template-columns: 1fr; }
  .triage-item{ border-left: none; border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; }
  .triage-item:first-child{ border-top: none; }
  .section{ padding: 76px 0; }
  .hero-content{ padding-top: 160px; padding-bottom: 70px; }
  .cta-band{ padding: 76px 0; }
  .pillar-path{ grid-template-columns: 1fr; }
  .footer-inner{ grid-template-columns: 1fr; }
}
