/* ==========================================================================
   Premier Consulting Group LLC — shared stylesheet
   Palette: boardroom navy, slate, signal amber, muted growth-teal
   Type: Archivo (display) / IBM Plex Sans (body) / IBM Plex Mono (utility)

   Contrast rule: every element that can appear on a dark section gets its own
   explicit color on a scoped class rather than inheriting, so a more specific
   descendant rule can never leave dark text sitting on a dark background.
   ========================================================================== */

:root{
  --ink:#101820;
  --ink-deep:#0A0F14;
  --paper:#EDEFEC;
  --paper-alt:#F7F8F6;
  --cloud:#FFFFFF;
  --text-soft:#465160;
  --text-dim:#79828D;
  --navy:#1B2A41;
  --navy-deep:#122031;
  --amber:#C98A2B;
  --amber-deep:#9C6A1D;
  --growth:#3F7A63;
  --line:rgba(16,24,32,0.13);
  --line-soft:rgba(16,24,32,0.07);
  --on-dark-text:#EEF0F2;
  --on-dark-soft:#AFC0CE;
  --shadow:0 24px 50px rgba(10,15,20,0.14);
  --radius-lg:14px;
  --maxw:1200px;
}

*, *::before, *::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *, *::before, *::after{ animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; }
}

body{ margin:0; background:var(--paper); color:var(--ink); font-family:'IBM Plex Sans', sans-serif; font-size:16.5px; line-height:1.65; -webkit-font-smoothing:antialiased; }
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3,h4{ font-family:'Archivo', sans-serif; font-weight:700; line-height:1.14; margin:0; color:var(--ink); letter-spacing:-0.01em; }
p{ margin:0; }
button{ font-family:inherit; cursor:pointer; }

.wrap{ max-width:var(--maxw); margin:0 auto; padding:0 28px; }

.eyebrow{ display:inline-flex; align-items:center; gap:10px; font-family:'IBM Plex Mono', monospace; font-size:11.5px; letter-spacing:0.15em; text-transform:uppercase; color:var(--amber-deep); }
.eyebrow::before{ content:""; width:26px; height:2px; background:var(--navy); }
.on-dark .eyebrow{ color:var(--amber); }
.on-dark .eyebrow::before{ background:var(--amber); }

/* ---------- buttons ---------- */
.btn{ display:inline-flex; align-items:center; gap:10px; padding:14px 26px; border-radius:3px; font-family:'IBM Plex Mono', monospace; font-size:12.5px; letter-spacing:0.04em; text-transform:uppercase; border:1px solid transparent; transition:transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease; }
.btn-primary{ background:var(--navy); color:#fff; }
.btn-primary:hover{ background:var(--ink); transform:translateY(-2px); }
.btn-ghost{ background:transparent; color:var(--ink); border-color:var(--ink); }
.btn-ghost:hover{ background:var(--ink); color:#fff; transform:translateY(-2px); }
.btn-ghost-dark{ background:transparent; color:var(--on-dark-text); border-color:rgba(238,240,242,0.35); }
.btn-ghost-dark:hover{ border-color:var(--on-dark-text); transform:translateY(-2px); }
.btn-light{ background:#fff; color:var(--ink); }
.btn-light:hover{ background:var(--amber); color:#fff; transform:translateY(-2px); }
.btn-block{ width:100%; justify-content:center; }
.btn:focus-visible{ outline:2px solid var(--amber); outline-offset:3px; }

/* ---------- header ---------- */
.site-header{ position:sticky; top:0; z-index:50; background:rgba(237,239,236,0.94); backdrop-filter:blur(10px); border-bottom:1px solid var(--line-soft); }
.header-inner{ display:flex; align-items:center; justify-content:space-between; padding:16px 28px; max-width:var(--maxw); margin:0 auto; }
.brand{ display:flex; align-items:center; gap:12px; }
.brand-mark{ width:42px; height:42px; flex-shrink:0; }
.brand-word{ font-family:'Archivo', sans-serif; font-size:18px; font-weight:700; }
.brand-word b{ color:var(--amber-deep); font-weight:800; }
.brand-sub{ display:block; font-family:'IBM Plex Mono', monospace; font-size:9.5px; letter-spacing:0.12em; text-transform:uppercase; color:var(--text-dim); margin-top:1px; }

.main-nav{ display:flex; align-items:center; gap:32px; }
.main-nav a{ font-family:'IBM Plex Mono', monospace; font-size:12px; letter-spacing:0.03em; color:var(--text-soft); position:relative; padding:4px 0; }
.main-nav a::after{ content:""; position:absolute; left:0; right:0; bottom:-3px; height:2px; background:var(--amber); transform:scaleX(0); transform-origin:left; transition:transform .25s ease; }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after{ transform:scaleX(1); }
.main-nav a[aria-current="page"]{ color:var(--ink); }

.header-cta{ display:flex; align-items:center; gap:16px; }
.header-cta .btn{ padding:11px 20px; }

.nav-toggle{ display:none; background:none; border:none; width:34px; height:34px; position:relative; }
.nav-toggle span{ position:absolute; left:6px; right:6px; height:2px; background:var(--ink); transition:transform .2s ease, opacity .2s ease; }
.nav-toggle span:nth-child(1){ top:11px; } .nav-toggle span:nth-child(2){ top:17px; } .nav-toggle span:nth-child(3){ top:23px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-6px) rotate(-45deg); }

/* ---------- growth-chart signature panel ---------- */
.dashboard{ position:relative; background:var(--ink); border-radius:var(--radius-lg); padding:32px; box-shadow:var(--shadow); }
.dashboard-caption{ display:flex; justify-content:space-between; font-family:'IBM Plex Mono', monospace; font-size:10.5px; letter-spacing:0.08em; text-transform:uppercase; color:var(--on-dark-soft); border-bottom:1px solid rgba(238,240,242,0.14); padding-bottom:16px; margin-bottom:22px; }
.dashboard-caption b{ color:var(--amber); font-weight:600; }
.chart-bars{ display:flex; align-items:flex-end; gap:14px; height:170px; margin-bottom:8px; position:relative; }
.chart-bars::before{ content:""; position:absolute; left:0; right:0; top:22%; height:1px; background:rgba(238,240,242,0.1); }
.chart-bars::after{ content:""; position:absolute; left:0; right:0; top:58%; height:1px; background:rgba(238,240,242,0.1); }
.bar{ flex:1; border-radius:3px 3px 0 0; position:relative; display:flex; justify-content:center; }
.bar span{ position:absolute; top:-22px; font-family:'IBM Plex Mono', monospace; font-size:11px; color:var(--on-dark-text); }
.bar.b1{ height:38%; background:linear-gradient(180deg,#3F7A63,#294F3F); }
.bar.b2{ height:52%; background:linear-gradient(180deg,#3F7A63,#294F3F); }
.bar.b3{ height:46%; background:linear-gradient(180deg,#3F7A63,#294F3F); }
.bar.b4{ height:68%; background:linear-gradient(180deg,#C98A2B,#9C6A1D); }
.bar.b5{ height:80%; background:linear-gradient(180deg,#C98A2B,#9C6A1D); }
.bar.b6{ height:94%; background:linear-gradient(180deg,#C98A2B,#9C6A1D); }
.chart-axis{ display:flex; justify-content:space-between; font-family:'IBM Plex Mono', monospace; font-size:9.5px; color:var(--on-dark-soft); text-transform:uppercase; padding-top:6px; border-top:1px solid rgba(238,240,242,0.14); margin-top:10px; }

/* ---------- hero ---------- */
.hero{ padding:56px 0 88px; }
.hero-grid{ display:grid; grid-template-columns:1.05fr 0.95fr; gap:60px; align-items:center; }
.hero h1{ font-size:clamp(34px,4.6vw,54px); margin:18px 0 22px; }
.hero h1 span{ color:var(--amber-deep); }
.hero-lede{ font-size:18px; color:var(--text-soft); max-width:48ch; margin-bottom:32px; }
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; margin-bottom:38px; }
.hero-stats{ display:flex; gap:34px; flex-wrap:wrap; }
.hero-stats div{ font-family:'IBM Plex Mono', monospace; }
.hero-stats b{ display:block; font-family:'Archivo', sans-serif; font-size:26px; color:var(--ink); font-weight:700; }
.hero-stats span{ font-size:10.5px; letter-spacing:0.05em; text-transform:uppercase; color:var(--text-dim); }

/* ---------- section shell ---------- */
.section{ padding:88px 0; }
.section-alt{ background:var(--cloud); }
.section-deep{ background:var(--ink); color:var(--on-dark-text); }
.section-deep h2, .section-deep h3{ color:var(--on-dark-text); }
.section-deep p{ color:var(--on-dark-soft); }
.section-head{ max-width:640px; margin-bottom:52px; }
.section-head h2{ font-size:clamp(28px,3.4vw,40px); margin-top:16px; }
.section-head p{ color:var(--text-soft); margin-top:16px; font-size:17px; }
.section-deep .section-head p{ color:var(--on-dark-soft); }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* ---------- feature grid ---------- */
.feature-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:2px; background:var(--line); border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; }
.feature-card{ background:var(--paper-alt); padding:32px 26px; transition:background .2s ease; }
.feature-card:hover{ background:var(--paper); }
.feature-card h3{ font-size:17px; margin-bottom:8px; }
.feature-card p{ color:var(--text-soft); font-size:14px; }
.feature-index{ font-family:'IBM Plex Mono', monospace; font-size:11px; color:var(--amber-deep); letter-spacing:0.05em; display:block; margin-bottom:16px; }

/* ---------- split ---------- */
.split{ display:grid; grid-template-columns:0.9fr 1.1fr; gap:70px; align-items:center; }
.split-reverse{ grid-template-columns:1.1fr 0.9fr; }
.split-reverse .split-media{ order:2; }
.check-list{ margin-top:26px; display:grid; gap:14px; }
.check-list li{ display:flex; gap:12px; align-items:flex-start; color:var(--text-soft); font-size:15.5px; }
.check-list li::before{ content:""; flex-shrink:0; width:9px; height:9px; margin-top:7px; background:var(--amber); }
.split-media{ background:linear-gradient(150deg,var(--navy),var(--ink)); border-radius:var(--radius-lg); aspect-ratio:4/3.3; position:relative; overflow:hidden; display:flex; align-items:flex-end; box-shadow:var(--shadow); }
.split-media .tag{ margin:20px; padding:8px 12px; background:rgba(255,255,255,0.1); border:1px solid rgba(255,255,255,0.16); color:#fff; font-family:'IBM Plex Mono', monospace; font-size:10.5px; letter-spacing:0.05em; border-radius:2px; }

/* ---------- services grid ---------- */
.services-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:2px; background:var(--line); border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; }
.service-card{ background:var(--paper-alt); padding:38px 32px; transition:background .2s ease; }
.service-card:hover{ background:var(--paper); }
.service-index{ font-family:'IBM Plex Mono', monospace; font-size:12px; color:var(--growth); letter-spacing:0.05em; margin-bottom:22px; display:block; }
.service-card h3{ font-size:20px; margin-bottom:10px; }
.service-card p{ color:var(--text-soft); font-size:15px; margin-bottom:16px; }
.service-card a{ font-family:'IBM Plex Mono', monospace; font-size:12px; color:var(--amber-deep); }
.service-card a:hover{ color:var(--navy); }

/* ---------- process / timeline ---------- */
.timeline{ position:relative; margin-top:10px; }
.timeline::before{ content:""; position:absolute; left:14px; top:6px; bottom:6px; width:1px; background:rgba(238,240,242,0.18); }
.timeline-item{ position:relative; padding-left:52px; padding-bottom:44px; }
.timeline-item:last-child{ padding-bottom:0; }
.timeline-item::before{ content:""; position:absolute; left:8px; top:4px; width:13px; height:13px; background:var(--ink); border:2px solid var(--amber); }
.timeline-year{ font-family:'IBM Plex Mono', monospace; font-size:11.5px; letter-spacing:0.05em; color:var(--amber); text-transform:uppercase; }
.timeline-item h3{ font-size:21px; margin:8px 0 8px; color:var(--on-dark-text); }
.timeline-item p{ color:var(--on-dark-soft); max-width:60ch; }

/* ---------- pull quote ---------- */
.pull-quote{ position:relative; padding:8px 0 8px 44px; border-left:3px solid var(--navy); }
.pull-quote::before{ content:"\201C"; position:absolute; left:-4px; top:-24px; font-family:'Archivo', sans-serif; font-size:80px; color:var(--amber); opacity:0.55; }
.pull-quote p{ font-family:'Archivo', sans-serif; font-size:22px; line-height:1.4; color:var(--ink); font-weight:600; }

/* ---------- pricing ---------- */
.pricing-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; align-items:stretch; }
.price-card{ background:var(--cloud); border:1px solid var(--line); border-radius:var(--radius-lg); padding:38px 32px; display:flex; flex-direction:column; position:relative; }
.price-card.is-popular{ border-color:var(--amber); box-shadow:var(--shadow); transform:translateY(-10px); }
.price-badge{ position:absolute; top:-13px; left:32px; background:var(--amber); color:#fff; font-family:'IBM Plex Mono', monospace; font-size:10.5px; letter-spacing:0.05em; text-transform:uppercase; padding:5px 12px; border-radius:2px; font-weight:600; }
.price-name{ font-family:'IBM Plex Mono', monospace; font-size:12px; letter-spacing:0.06em; text-transform:uppercase; color:var(--text-dim); margin-bottom:14px; }
.price-amount{ font-family:'Archivo', sans-serif; font-size:36px; font-weight:700; margin-bottom:4px; color:var(--ink); }
.price-amount span{ font-family:'IBM Plex Mono', monospace; font-size:13px; font-weight:400; color:var(--text-dim); }
.price-desc{ color:var(--text-soft); font-size:14.5px; margin-bottom:26px; padding-bottom:26px; border-bottom:1px solid var(--line-soft); }
.price-features{ display:grid; gap:13px; margin-bottom:30px; flex-grow:1; }
.price-features li{ display:flex; gap:10px; align-items:flex-start; font-size:14.5px; color:var(--ink); }
.price-features li::before{ content:"✓"; color:var(--growth); font-weight:700; flex-shrink:0; }
.price-features li.muted{ color:var(--text-dim); }
.price-features li.muted::before{ content:"–"; color:var(--text-dim); }

/* dark pricing variant: every text node gets its own explicit on-dark color
   through the .price-card--dark class so nothing can fall back to the
   default (dark) .price-* colors defined above */
.price-card--dark{ background:#1A2530; border-color:rgba(238,240,242,0.14); }
.price-card--dark .price-name{ color:var(--on-dark-soft); }
.price-card--dark .price-amount{ color:var(--on-dark-text); }
.price-card--dark .price-amount span{ color:var(--on-dark-soft); }
.price-card--dark .price-desc{ color:var(--on-dark-soft); border-color:rgba(238,240,242,0.14); }
.price-card--dark .price-features li{ color:var(--on-dark-text); }
.price-card--dark .price-features li::before{ color:var(--amber); }
.price-card--dark .price-features li.muted{ color:var(--on-dark-soft); }
.price-card--dark .price-features li.muted::before{ color:var(--on-dark-soft); }
.price-card--dark.is-popular{ border-color:var(--amber); }

.pricing-table-wrap{ overflow-x:auto; border-radius:var(--radius-lg); border:1px solid var(--line); }
table.pricing-table{ width:100%; border-collapse:collapse; background:var(--cloud); min-width:640px; }
table.pricing-table th, table.pricing-table td{ padding:16px 22px; text-align:left; border-bottom:1px solid var(--line-soft); font-size:14.5px; color:var(--ink); }
table.pricing-table th{ font-family:'IBM Plex Mono', monospace; font-size:11.5px; letter-spacing:0.04em; text-transform:uppercase; color:var(--text-dim); background:var(--paper); }
table.pricing-table td:first-child{ font-weight:600; }
table.pricing-table tr:last-child td{ border-bottom:none; }

/* ---------- testimonials ---------- */
.quote-row{ display:grid; grid-template-columns:repeat(3,1fr); gap:2px; background:rgba(238,240,242,0.12); border:1px solid rgba(238,240,242,0.12); border-radius:var(--radius-lg); overflow:hidden; }
.quote-card{ background:#1A2530; padding:34px 30px; }
.quote-card p{ font-size:16px; line-height:1.6; margin-bottom:18px; color:var(--on-dark-text); }
.quote-who{ font-family:'IBM Plex Mono', monospace; font-size:11px; letter-spacing:0.04em; color:var(--on-dark-soft); text-transform:uppercase; }

/* ---------- CTA band ---------- */
.cta-band{ border-radius:var(--radius-lg); background:linear-gradient(120deg,var(--ink),var(--navy)); color:var(--on-dark-text); padding:56px 54px; display:flex; align-items:center; justify-content:space-between; gap:30px; flex-wrap:wrap; }
.cta-band h2{ color:var(--on-dark-text); font-size:clamp(24px,3vw,32px); max-width:520px; }

/* ---------- footer ---------- */
.site-footer{ background:var(--ink-deep); color:var(--on-dark-soft); padding:70px 0 28px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:48px; margin-bottom:56px; }
.footer-brand .brand-word{ color:var(--on-dark-text); }
.footer-brand p{ color:var(--on-dark-soft); margin-top:16px; max-width:34ch; font-size:14.5px; }
.footer-col h4{ font-family:'IBM Plex Mono', monospace; font-size:11px; letter-spacing:0.08em; text-transform:uppercase; color:var(--amber); margin-bottom:18px; font-weight:500; }
.footer-col ul{ display:grid; gap:11px; }
.footer-col a, .footer-col span{ color:var(--on-dark-soft); font-size:14.5px; }
.footer-col a:hover{ color:var(--on-dark-text); }
.footer-bottom{ border-top:1px solid rgba(238,240,242,0.1); padding-top:24px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; font-family:'IBM Plex Mono', monospace; font-size:11.5px; color:var(--on-dark-soft); }

/* ---------- page header ---------- */
.page-hero{ padding:56px 0 52px; border-bottom:1px solid var(--line-soft); }
.page-hero h1{ font-size:clamp(32px,4.2vw,46px); margin-top:16px; max-width:22ch; }
.page-hero p{ color:var(--text-soft); font-size:17px; max-width:58ch; margin-top:16px; }
.crumbs{ font-family:'IBM Plex Mono', monospace; font-size:11px; letter-spacing:0.05em; color:var(--text-dim); }
.crumbs a{ color:var(--amber-deep); }

/* ---------- contact page ---------- */
.contact-grid{ display:grid; grid-template-columns:1.1fr 0.9fr; gap:64px; align-items:start; }
.field{ margin-bottom:20px; }
.field label{ display:block; font-family:'IBM Plex Mono', monospace; font-size:11px; letter-spacing:0.05em; text-transform:uppercase; color:var(--text-soft); margin-bottom:8px; }
.field input, .field select, .field textarea{ width:100%; padding:13px 15px; border:1px solid var(--line); border-radius:4px; background:var(--cloud); font-family:'IBM Plex Sans', sans-serif; font-size:15px; color:var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus{ outline:none; border-color:var(--navy); box-shadow:0 0 0 3px rgba(27,42,65,0.15); }
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.form-note{ font-size:13px; color:var(--text-dim); margin-top:6px; }
.info-card{ background:var(--cloud); border:1px solid var(--line-soft); border-radius:var(--radius-lg); padding:32px; margin-bottom:18px; box-shadow:var(--shadow); }
.info-card h3{ font-size:14px; font-family:'IBM Plex Mono', monospace; letter-spacing:0.05em; text-transform:uppercase; margin-bottom:14px; color:var(--amber-deep); }
.info-line{ display:flex; gap:12px; margin-bottom:12px; align-items:flex-start; }
.info-line:last-child{ margin-bottom:0; }
.info-line .ic{ width:18px; height:18px; flex-shrink:0; margin-top:2px; color:var(--navy); }
.info-line a, .info-line span{ color:var(--text-soft); font-size:14.5px; line-height:1.5; }
.info-line a:hover{ color:var(--amber-deep); }

/* ---------- FAQ ---------- */
.faq-item{ border-bottom:1px solid var(--line); }
.faq-q{ width:100%; display:flex; justify-content:space-between; align-items:center; gap:20px; background:none; border:none; text-align:left; padding:22px 2px; font-family:'Archivo', sans-serif; font-weight:600; font-size:17px; color:var(--ink); }
.faq-q .plus{ flex-shrink:0; width:20px; height:20px; position:relative; }
.faq-q .plus::before, .faq-q .plus::after{ content:""; position:absolute; background:var(--amber-deep); transition:transform .2s ease; }
.faq-q .plus::before{ left:0; right:0; top:9px; height:2px; }
.faq-q .plus::after{ top:0; bottom:0; left:9px; width:2px; }
.faq-item[data-open="true"] .plus::after{ transform:rotate(90deg); opacity:0; }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .3s ease; }
.faq-a p{ color:var(--text-soft); padding:0 2px 24px; max-width:66ch; }
.faq-item[data-open="true"] .faq-a{ max-height:400px; }

/* ---------- legal pages ---------- */
.legal{ padding:64px 0 96px; }
.legal .wrap{ max-width:820px; }
.legal h2{ font-size:22px; margin:44px 0 14px; }
.legal h2:first-of-type{ margin-top:8px; }
.legal p, .legal li{ color:var(--text-soft); font-size:15.5px; margin-bottom:14px; }
.legal ul{ padding-left:22px; list-style:disc; }
.legal li{ margin-bottom:8px; }
.legal-updated{ font-family:'IBM Plex Mono', monospace; font-size:11.5px; letter-spacing:0.05em; text-transform:uppercase; color:var(--text-dim); margin-bottom:26px; display:block; }

/* ---------- responsive ---------- */
@media (max-width:980px){
  .hero-grid, .split, .split-reverse{ grid-template-columns:1fr; }
  .split-reverse .split-media{ order:0; }
  .services-grid, .quote-row, .pricing-grid{ grid-template-columns:1fr 1fr; }
  .feature-grid{ grid-template-columns:1fr 1fr; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .contact-grid{ grid-template-columns:1fr; }
  .price-card.is-popular{ transform:none; }
}
@media (max-width:760px){
  .main-nav{ position:absolute; top:100%; left:0; right:0; background:var(--paper); flex-direction:column; align-items:flex-start; gap:2px; padding:10px 28px 22px; border-bottom:1px solid var(--line-soft); display:none; }
  .main-nav.open{ display:flex; }
  .main-nav a{ padding:12px 0; width:100%; }
  .nav-toggle{ display:block; }
  .header-cta .btn-ghost{ display:none; }
  .services-grid, .quote-row, .feature-grid, .pricing-grid{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr 1fr; gap:32px; }
  .field-row{ grid-template-columns:1fr; }
  .cta-band{ padding:40px 28px; }
  .chart-bars{ height:130px; }
}
