/* ============================================================
   EISNERAMPER AI ADVISORY — SHARED STYLES
   ============================================================ */
:root {
  --navy: #181F25;
  --navy-deep: #0C2E45;
  --gold: #BF9B5F;
  --gold-dark: #885C11;
  --gold-light: #D4B87A;
  --teal: #115E67;
  --teal-light: #1A8A96;
  --cream: #EAE5E1;
  --white: #FFFFFF;
  --text-light: #C8C2BB;
  --text-muted: #8A8279;
  --card-bg: #1E2730;
  --card-border: #2A3440;
  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'Raleway', 'Segoe UI', sans-serif;
}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{font-family:var(--font-body);background:var(--navy);color:var(--cream);line-height:1.6;overflow-x:hidden;}
a{color:var(--gold);text-decoration:none;transition:color .2s;}
a:hover{color:var(--gold-light);}

/* NAV */
nav{position:fixed;top:0;left:0;right:0;z-index:100;background:rgba(24,31,37,.95);backdrop-filter:blur(12px);border-bottom:1px solid var(--card-border);padding:0 2rem;display:flex;align-items:center;justify-content:space-between;height:60px;}
.nav-brand{font-family:var(--font-head);font-size:1.05rem;color:var(--gold);font-weight:600;letter-spacing:.5px;text-decoration:none;}
.nav-brand span{color:var(--cream);font-weight:300;}
.nav-links{display:flex;gap:.3rem;list-style:none;}
.nav-links a{color:var(--text-light);text-decoration:none;font-size:.75rem;font-weight:500;letter-spacing:.6px;text-transform:uppercase;padding:.3rem .65rem;border-radius:20px;border:1px solid transparent;transition:all .3s;}
.nav-links a:hover,.nav-links a.active{border-color:var(--gold);color:var(--gold);}

/* PAGE HERO */
.page-hero{padding:5.5rem 4rem 2.5rem;background:linear-gradient(135deg,var(--navy) 0%,#0F1A24 50%,var(--navy-deep) 100%);position:relative;}
.page-hero::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--gold),var(--teal),var(--gold));}
.page-hero .label{font-size:.72rem;letter-spacing:3.5px;text-transform:uppercase;color:var(--gold);font-weight:600;margin-bottom:.6rem;}
.page-hero h1{font-family:var(--font-head);font-size:2.8rem;font-weight:700;color:var(--cream);margin-bottom:.6rem;line-height:1.15;}
.page-hero h1 em{font-style:italic;color:var(--gold);font-weight:400;}
.page-hero .subtitle{font-size:1.05rem;color:var(--text-light);max-width:680px;line-height:1.7;font-weight:300;}
.page-hero .author{margin-top:1.5rem;font-size:.8rem;color:var(--text-muted);letter-spacing:2px;text-transform:uppercase;}
.page-hero .hero-tag{display:inline-block;font-size:.75rem;letter-spacing:3px;text-transform:uppercase;color:var(--gold);font-weight:600;border:1px solid var(--gold);padding:.4rem 1.2rem;border-radius:30px;margin-bottom:1.2rem;}

/* SECTIONS */
section{padding:3.5rem 4rem;}
.label{font-size:.72rem;letter-spacing:3.5px;text-transform:uppercase;color:var(--gold);font-weight:600;margin-bottom:.6rem;}
h2.section-title{font-family:var(--font-head);font-size:2rem;font-weight:600;color:var(--cream);margin-bottom:.4rem;line-height:1.2;}
.section-sub{font-size:.95rem;color:var(--text-muted);max-width:700px;margin-bottom:2rem;font-weight:300;line-height:1.7;}

/* PLAN CARDS */
.plan-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin-bottom:2rem;}
.plan-card{background:var(--card-bg);border:1px solid var(--card-border);border-radius:12px;padding:1.8rem;position:relative;overflow:hidden;transition:transform .3s,border-color .3s;text-decoration:none;display:block;}
.plan-card:hover{transform:translateY(-4px);}
.plan-card::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;border-radius:12px 12px 0 0;}
.plan-card.pa::before{background:var(--gold);}  .plan-card.pa:hover{border-color:var(--gold);}
.plan-card.pb::before{background:var(--teal);}  .plan-card.pb:hover{border-color:var(--teal);}
.plan-card.pc::before{background:var(--gold-dark);}  .plan-card.pc:hover{border-color:var(--gold-dark);}
.plan-card .letter{font-family:var(--font-head);font-size:2.2rem;font-weight:700;margin-bottom:.4rem;}
.pa .letter{color:var(--gold);} .pb .letter{color:var(--teal-light);} .pc .letter{color:var(--gold-dark);}
.plan-card h3{font-family:var(--font-head);font-size:1.1rem;color:var(--cream);font-weight:600;margin-bottom:.6rem;line-height:1.3;}
.plan-card p{font-size:.88rem;color:var(--text-muted);line-height:1.6;}
.plan-card .cta{display:inline-block;margin-top:.8rem;font-size:.75rem;letter-spacing:1px;text-transform:uppercase;color:var(--gold);font-weight:600;}

/* INSIGHT BAR */
.insight-bar{background:var(--card-bg);border-left:3px solid var(--gold);padding:1rem 1.5rem;border-radius:0 8px 8px 0;color:var(--text-light);font-size:.9rem;line-height:1.6;margin-bottom:1rem;}
.insight-bar strong{color:var(--gold);}

/* INSIGHT IMAGE CARDS */
.insight-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.2rem;margin-top:2rem;}
.insight-card{background:var(--card-bg);border:1px solid var(--card-border);border-radius:12px;overflow:hidden;transition:transform .3s,border-color .3s;text-decoration:none;display:block;}
.insight-card:hover{transform:translateY(-4px);border-color:var(--gold);}
.insight-card img{width:100%;height:170px;object-fit:cover;display:block;}
.insight-card .body{padding:1rem 1.2rem;}
.insight-card .tag{font-size:.68rem;letter-spacing:1.5px;text-transform:uppercase;color:var(--teal-light);font-weight:600;margin-bottom:.4rem;}
.insight-card h4{font-family:var(--font-head);font-size:.9rem;font-weight:600;color:var(--cream);line-height:1.4;}

/* TARGETS BAR */
.targets{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;margin-bottom:2.5rem;}
.tcard{background:var(--card-bg);border:1px solid var(--card-border);border-radius:10px;padding:1rem;text-align:center;}
.tcard .val{font-family:var(--font-head);font-size:1.8rem;font-weight:700;margin-bottom:.2rem;}
.tcard .lbl{font-size:.68rem;letter-spacing:1.5px;text-transform:uppercase;color:var(--text-muted);}

/* SPRINT CARDS */
.sprints h3{font-family:var(--font-head);font-size:1.2rem;color:var(--cream);font-weight:600;margin-bottom:1.2rem;}
.sprint{background:var(--card-bg);border:1px solid var(--card-border);border-radius:10px;padding:1.3rem 1.3rem 1.3rem 1.8rem;margin-bottom:.8rem;position:relative;overflow:hidden;}
.sprint::before{content:'';position:absolute;left:0;top:0;bottom:0;width:4px;}
.sprint .hdr{display:flex;align-items:baseline;gap:1.2rem;margin-bottom:.6rem;flex-wrap:wrap;}
.sprint .phase{font-size:.75rem;font-weight:600;letter-spacing:1.5px;text-transform:uppercase;}
.sprint .days{font-size:.72rem;color:var(--text-muted);letter-spacing:.5px;}
.sprint .stitle{font-family:var(--font-head);font-size:.95rem;font-weight:600;color:var(--cream);}
.sprint ul{list-style:none;padding:0;}
.sprint li{font-size:.85rem;color:var(--text-light);padding:.2rem 0 .2rem 1rem;position:relative;}
.sprint li::before{content:'\2022';position:absolute;left:0;font-weight:bold;}

/* OUTCOME TABLE */
.outcomes{margin:2.5rem 0;}
.outcomes h3{font-family:var(--font-head);font-size:1.2rem;font-weight:600;color:var(--cream);margin-bottom:1.2rem;}
.otable{width:100%;border-collapse:separate;border-spacing:0;border-radius:10px;overflow:hidden;}
.otable th{padding:.7rem .8rem;font-size:.75rem;letter-spacing:1px;text-transform:uppercase;font-weight:600;color:var(--white);text-align:left;}
.otable td{padding:.6rem .8rem;font-size:.85rem;color:var(--text-light);background:var(--card-bg);border-bottom:1px solid var(--card-border);}
.otable td:first-child{font-weight:600;color:var(--cream);}
.otable td.hi{font-weight:600;}

/* RISKS */
.risks{margin-top:2rem;}
.risks h4{font-family:var(--font-head);font-size:.95rem;font-weight:600;margin-bottom:.8rem;}
.risk{margin-bottom:.6rem;}
.risk .rn{font-weight:600;color:var(--cream);font-size:.88rem;}
.risk .rm{color:var(--text-muted);font-size:.85rem;padding-left:1rem;}

/* PLAN COLOR VARIANTS */
.plan-a-page .tcard .val{color:var(--gold);}
.plan-a-page .sprint::before{background:var(--gold);}
.plan-a-page .sprint .phase{color:var(--gold);}
.plan-a-page .sprint li::before{color:var(--gold);}
.plan-a-page .otable th{background:rgba(191,155,95,.3);}
.plan-a-page .otable td.hi{color:var(--gold);}
.plan-a-page .risks h4{color:var(--gold);}

.plan-b-page .tcard .val{color:var(--teal-light);}
.plan-b-page .sprint::before{background:var(--teal);}
.plan-b-page .sprint .phase{color:var(--teal-light);}
.plan-b-page .sprint li::before{color:var(--teal-light);}
.plan-b-page .otable th{background:rgba(17,94,103,.4);}
.plan-b-page .otable td.hi{color:var(--teal-light);}
.plan-b-page .risks h4{color:var(--teal-light);}

.plan-c-page .tcard .val{color:var(--gold-dark);}
.plan-c-page .sprint::before{background:var(--gold-dark);}
.plan-c-page .sprint .phase{color:var(--gold-dark);}
.plan-c-page .sprint li::before{color:var(--gold-dark);}
.plan-c-page .otable th{background:rgba(12,46,69,.6);}
.plan-c-page .otable td.hi{color:var(--gold-dark);}
.plan-c-page .risks h4{color:var(--gold-dark);}

/* DBS METHODOLOGY */
.dbs{display:grid;grid-template-columns:repeat(3,1fr);gap:0;position:relative;margin-bottom:.5rem;}
.dbs::before{content:'';position:absolute;top:50%;left:5%;right:5%;height:2px;background:linear-gradient(90deg,var(--gold),var(--teal),var(--gold-dark));z-index:0;}
.dbs-item{text-align:center;position:relative;z-index:1;padding:1.2rem .8rem;}
.dbs-icon{width:60px;height:60px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto .6rem;border:2px solid;}
.dbs-item:nth-child(1) .dbs-icon{background:rgba(191,155,95,.15);border-color:var(--gold);color:var(--gold);}
.dbs-item:nth-child(2) .dbs-icon{background:rgba(17,94,103,.15);border-color:var(--teal);color:var(--teal-light);}
.dbs-item:nth-child(3) .dbs-icon{background:rgba(136,92,17,.15);border-color:var(--gold-dark);color:var(--gold-dark);}
.dbs-item h4{font-family:var(--font-head);font-size:1.05rem;font-weight:600;margin-bottom:.3rem;}
.dbs-item:nth-child(1) h4{color:var(--gold);}
.dbs-item:nth-child(2) h4{color:var(--teal-light);}
.dbs-item:nth-child(3) h4{color:var(--gold-dark);}
.dbs-item p{font-size:.8rem;color:var(--text-muted);line-height:1.5;}

.arrow-down{display:flex;justify-content:center;margin:.3rem 0 1.5rem;}
.arrow-down svg{width:28px;height:28px;color:var(--gold);opacity:.5;}

.dt-cards{display:grid;grid-template-columns:repeat(5,1fr);gap:.8rem;margin-bottom:2rem;}
.dtc{background:var(--card-bg);border:1px solid var(--card-border);border-radius:10px;padding:1.1rem;position:relative;overflow:hidden;}
.dtc::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;}
.dtc:nth-child(1)::before{background:var(--gold);}
.dtc:nth-child(2)::before{background:#D4A043;}
.dtc:nth-child(3)::before{background:var(--teal);}
.dtc:nth-child(4)::before{background:var(--teal-light);}
.dtc:nth-child(5)::before{background:var(--gold-dark);}
.dtc h4{font-family:var(--font-head);font-size:.88rem;font-weight:600;margin-bottom:.2rem;}
.dtc:nth-child(1) h4{color:var(--gold);}
.dtc:nth-child(2) h4{color:#D4A043;}
.dtc:nth-child(3) h4{color:var(--teal-light);}
.dtc:nth-child(4) h4{color:var(--teal-light);}
.dtc:nth-child(5) h4{color:var(--gold-dark);}
.dtc .days{font-size:.72rem;color:var(--text-muted);margin-bottom:.4rem;}
.dtc p{font-size:.8rem;color:var(--text-light);line-height:1.5;}

.agile h3{font-family:var(--font-head);font-size:1.05rem;color:var(--teal-light);font-weight:600;margin-bottom:.8rem;}
.agile-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.8rem;}
.ag{background:var(--card-bg);border:1px solid var(--card-border);border-radius:8px;padding:.9rem 1rem;font-size:.83rem;color:var(--text-light);line-height:1.5;}
.ag strong{color:var(--cream);}

/* GOVERNANCE */
.pillars{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-bottom:2rem;}
.pillar{background:var(--card-bg);border:1px solid var(--card-border);border-radius:10px;padding:1.3rem;position:relative;overflow:hidden;transition:transform .3s,border-color .3s;}
.pillar:hover{transform:translateY(-3px);border-color:var(--gold);}
.pillar::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--gold),var(--teal));}
.pillar .num{font-family:var(--font-head);font-size:1.8rem;font-weight:700;color:var(--gold);opacity:.3;position:absolute;top:.4rem;right:.8rem;}
.pillar h4{font-family:var(--font-head);font-size:.9rem;font-weight:600;color:var(--gold);margin-bottom:.4rem;}
.pillar p{font-size:.8rem;color:var(--text-light);line-height:1.5;}

.badges{display:flex;flex-wrap:wrap;gap:.6rem;margin-bottom:2rem;}
.badge{display:inline-flex;align-items:center;gap:.4rem;padding:.4rem 1rem;border-radius:30px;border:1px solid var(--card-border);background:var(--card-bg);font-size:.78rem;font-weight:600;color:var(--cream);letter-spacing:.5px;transition:border-color .3s,color .3s;text-decoration:none;}
.badge:hover{border-color:var(--gold);color:var(--gold);}
.badge .dot{width:7px;height:7px;border-radius:50%;background:var(--gold);}

.gov-gates{background:var(--card-bg);border:1px solid var(--card-border);border-radius:12px;padding:1.5rem;margin-bottom:2rem;}
.gov-gates h4{font-family:var(--font-head);font-size:.95rem;font-weight:600;color:var(--teal-light);margin-bottom:.8rem;}
.gates{display:grid;grid-template-columns:repeat(3,1fr);gap:.8rem;}
.gate{background:rgba(17,94,103,.08);border:1px solid rgba(17,94,103,.2);border-radius:8px;padding:.9rem;}
.gate h5{font-family:var(--font-head);font-size:.82rem;font-weight:600;color:var(--gold);margin-bottom:.3rem;}
.gate p{font-size:.78rem;color:var(--text-muted);line-height:1.5;}

/* COMPARE TABLE */
.ctable{width:100%;border-collapse:separate;border-spacing:0;border-radius:10px;overflow:hidden;margin-bottom:2rem;}
.ctable th{padding:.8rem .8rem;font-size:.75rem;letter-spacing:1px;text-transform:uppercase;font-weight:600;text-align:center;}
.ctable th:first-child{text-align:left;background:var(--card-bg);}
.ctable th:nth-child(2){background:rgba(191,155,95,.3);color:var(--gold);}
.ctable th:nth-child(3){background:rgba(17,94,103,.4);color:var(--teal-light);}
.ctable th:nth-child(4){background:rgba(12,46,69,.5);color:var(--gold-light);}
.ctable td{padding:.6rem .8rem;font-size:.85rem;color:var(--text-light);background:var(--card-bg);border-bottom:1px solid var(--card-border);text-align:center;}
.ctable td:first-child{text-align:left;font-weight:600;color:var(--cream);}
.ctable .best{font-weight:700;}
.ctable .ba{color:var(--gold);}
.ctable .bb{color:var(--teal-light);}

.rec{background:var(--card-bg);border-left:3px solid var(--gold);padding:1.3rem 1.8rem;border-radius:0 10px 10px 0;}
.rec h4{font-family:var(--font-head);font-size:.82rem;color:var(--gold);letter-spacing:2px;text-transform:uppercase;margin-bottom:.4rem;}
.rec p{font-size:.9rem;color:var(--text-light);line-height:1.7;}

/* CLOSING */
.closing{padding:4rem;background:linear-gradient(135deg,var(--navy-deep) 0%,var(--navy) 100%);position:relative;}
.closing::after{content:'';position:absolute;bottom:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--gold),var(--teal),var(--gold));}
.closing h2{font-family:var(--font-head);font-size:3rem;font-weight:700;line-height:1.15;margin-bottom:1.5rem;}
.closing h2 em{color:var(--gold);font-style:italic;font-weight:400;}
.contact-name{font-family:var(--font-head);font-size:1.3rem;color:var(--cream);font-weight:600;margin-bottom:.8rem;}
.contact-info a,.contact-info span{display:block;color:var(--text-muted);text-decoration:none;font-size:.92rem;line-height:1.8;transition:color .2s;}
.contact-info a:hover{color:var(--gold);}

/* FOOTER */
footer{padding:1.2rem 4rem;text-align:center;font-size:.72rem;color:var(--text-muted);letter-spacing:1px;border-top:1px solid var(--card-border);}
.foot-nav{display:flex;justify-content:space-between;padding:1rem 4rem;font-size:.85rem;}
.foot-nav a{color:var(--gold);font-weight:500;}

/* RESPONSIVE */
@media(max-width:1024px){
  .plan-cards,.pillars{grid-template-columns:1fr;}
  .dt-cards{grid-template-columns:repeat(3,1fr);}
  .targets,.gates{grid-template-columns:repeat(2,1fr);}
  .agile-grid{grid-template-columns:1fr;}
  .insight-cards{grid-template-columns:repeat(2,1fr);}
  section,.page-hero{padding:2.5rem 2rem;}
}
@media(max-width:600px){
  .dt-cards,.targets,.gates{grid-template-columns:1fr;}
  .page-hero h1{font-size:2rem;}
  .closing h2{font-size:2rem;}
  .nav-links{display:none;}
  .insight-cards,.plan-cards{grid-template-columns:1fr;}
  .dbs{grid-template-columns:1fr;}
  .dbs::before{display:none;}
}
