/* Process Intelligence Advisors — site styles */
:root {
  --navy: #0F2A44;
  --navy-2: #163757;
  --orange: #D9622B;
  --orange-dark: #B8501F;
  --slate: #5B6770;
  --light-slate: #C3CCD6;
  --gray: #F1F3F5;
  --white: #FFFFFF;
  --text: #1F2A36;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", "Segoe UI", Calibri, Arial, sans-serif;
  --max: 1160px;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--navy); }
a:hover { color: var(--orange-dark); }
h1, h2, h3 { font-family: var(--serif); color: var(--navy); font-weight: 600; line-height: 1.15; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--gray { background: var(--gray); }
.section--navy { background: var(--navy); color: var(--light-slate); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.eyebrow { font-family: var(--sans); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange-dark); margin: 0 0 12px; }
.section--navy .eyebrow { color: #F08A5A; }
.lead { font-size: 1.15rem; color: var(--slate); max-width: 760px; }
.section--navy .lead { color: var(--light-slate); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.96); backdrop-filter: blur(6px); border-bottom: 1px solid #E3E7EB; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-weight: 500; font-size: 0.98rem; color: var(--navy); }
.nav a:hover { color: var(--orange-dark); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--navy); min-width: 44px; min-height: 44px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 8px; font-family: var(--sans); font-weight: 700; font-size: 1.17rem; text-decoration: none; border: 2px solid transparent; transition: background 0.15s, color 0.15s, border-color 0.15s; }
.btn--primary { background: var(--orange); color: var(--navy); }
.btn--primary:hover { background: #E5743D; color: var(--navy); }
.btn--ghost { border-color: rgba(255,255,255,0.5); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,0.06); }
.nav .btn { min-height: 44px; padding: 8px 18px; font-size: 0.98rem; background: var(--navy); color: var(--white); }
.nav .btn:hover { background: var(--navy-2); color: var(--white); }

/* Hero */
.hero { background: var(--navy); color: var(--light-slate); padding: 96px 0 104px; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero h1 { color: var(--white); }
.hero p.lead { color: var(--light-slate); font-size: 1.2rem; }
.hero .pillars { font-size: 0.82rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--light-slate); margin: 28px 0 32px; }
.hero .pillars span { color: var(--orange); margin: 0 0.2em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-art { width: 100%; max-width: 440px; justify-self: end; }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.panel { background: var(--gray); border-radius: var(--radius); padding: 28px 30px; }
.panel h3 { font-size: 1.1rem; margin-bottom: 14px; }

/* Lists with node bullets */
.nodes { list-style: none; margin: 0; padding: 0; }
.nodes li { position: relative; padding-left: 24px; margin: 0 0 10px; }
.nodes li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }

/* Services */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.card { background: var(--white); border: 1px solid #E3E7EB; border-radius: var(--radius); padding: 28px; }
.card .num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 600; margin-bottom: 18px; }
.card h3 { margin-bottom: 14px; }
.card .nodes li { font-size: 0.97rem; margin-bottom: 6px; color: var(--text); }

/* Approach: People - Process - Technology - Data - AI */
.flow { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; }
.flow::before { content: ""; position: absolute; top: 21px; left: 10%; right: 10%; height: 3px; background: var(--white); opacity: 0.85; }
.flow li { position: relative; text-align: center; padding: 0 12px; }
.flow .dot { display: block; width: 44px; height: 44px; border-radius: 50%; background: var(--white); border: 4px solid var(--navy); margin: 0 auto 18px; position: relative; }
.flow li:last-child .dot { background: var(--orange); width: 52px; height: 52px; margin-top: -4px; margin-bottom: 14px; }
.flow h3 { margin-bottom: 6px; font-size: 1.35rem; }
.flow li:last-child h3 { color: #F08A5A; }
.flow p { font-size: 0.95rem; color: var(--light-slate); margin: 0; }

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; }
.challenges { columns: 2; column-gap: 32px; }
.challenges li { break-inside: avoid; }

/* Value statement */
.statement { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.3; color: var(--navy); max-width: 920px; margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; font-size: 1.1rem; }
.contact-list a { color: var(--white); text-decoration: none; }
.contact-list a:hover { color: #F08A5A; text-decoration: underline; }
.contact-list svg { flex: none; color: var(--orange); }

/* Footer */
.site-footer { background: #0B2136; color: var(--light-slate); padding: 40px 0; font-size: 0.92rem; }
.site-footer .container { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.site-footer img { height: 36px; width: auto; }
.site-footer p { margin: 0; }
.site-footer em { font-family: var(--serif); color: #F08A5A; }

a:focus-visible, button:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* Responsive */
@media (max-width: 960px) {
  .hero .container, .about-grid, .why-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-art { max-width: 300px; justify-self: start; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; border-bottom: 1px solid #E3E7EB; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--gray); }
  .nav .btn { margin-top: 12px; border-bottom: 0; }
  .section { padding: 64px 0; }
  .hero { padding: 64px 0 72px; }
  .hero-art { display: none; }
  .cards { grid-template-columns: 1fr; }
  .challenges { columns: 1; }
  .flow { grid-template-columns: 1fr; gap: 28px; margin-top: 40px; }
  .flow::before { top: 20px; bottom: 70px; left: 21px; right: auto; width: 3px; height: auto; }
  .flow li { display: grid; grid-template-columns: 44px 1fr; column-gap: 18px; text-align: left; padding: 0; }
  .flow .dot { margin: 0; grid-row: span 2; }
  .flow li:last-child .dot { width: 44px; height: 44px; margin: 0; }
}
