/* ============================================
   WILLIAMS SUPPLY CHAIN SERVICES
   Global Stylesheet
   ============================================ */

:root {
  --navy: #1B2A4A;
  --navy-mid: #253B63;
  --navy-deep: #111D33;
  --stone: #F5F2ED;
  --stone-dark: #EBE7E0;
  --brass: #9A8254;
  --brass-muted: #B89B5E;
  --text: #1A1A1A;
  --text-secondary: #5C5C5C;
  --text-light: #8A8A8A;
  --border: #E2DFD9;
  --white: #FDFCFA;
  --green: #34D399;
  --amber: #FBBF24;
  --terminal-bg: #0D1117;
  --terminal-border: #1C2533;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--text); background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* NETWORK CANVAS */
#networkCanvas {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 1; opacity: 0.5; transition: opacity 0.6s;
}
body.in-dark #networkCanvas { opacity: 0.18; }

/* UTILITY */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.max-w { max-width: 1200px; margin: 0 auto; padding-left: 2.5rem; padding-right: 2.5rem; }
.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--brass); margin-bottom: 1.5rem;
}
.section-label-light {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--brass-muted); margin-bottom: 1.5rem;
}

/* NAV */
nav {
  position: fixed; top: 0; width: 100%; z-index: 100;
  padding: 1.75rem 0; transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
}
nav.scrolled {
  padding: 1rem 0; background: rgba(253,252,250,0.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 2.5rem;
  display: flex; justify-content: space-between; align-items: center;
}
.wordmark {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.375rem; font-weight: 600; color: var(--navy);
  text-decoration: none; letter-spacing: -0.03em;
}
.nav-right { display: flex; align-items: center; gap: 2rem; }
.nav-right a {
  font-size: 0.8125rem; font-weight: 400; color: var(--text-secondary);
  text-decoration: none; letter-spacing: 0.01em; transition: color 0.2s;
}
.nav-right a:hover { color: var(--text); }
.nav-right a.active { color: var(--navy); font-weight: 500; }
.nav-contact {
  font-weight: 500 !important; color: var(--navy) !important;
  padding: 0.5rem 1.25rem; border: 1px solid var(--border); transition: all 0.2s !important;
}
.nav-contact:hover { border-color: var(--navy); background: var(--navy); color: var(--white) !important; }
.nav-dropdown { position: relative; }
.nav-dropdown > a { cursor: pointer; }
.nav-sub {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  padding-top: 0.75rem; opacity: 0; pointer-events: none; transition: opacity 0.2s;
}
.nav-dropdown:hover .nav-sub { opacity: 1; pointer-events: auto; }
.nav-sub a {
  display: block; white-space: nowrap; font-size: 0.75rem !important;
  padding: 0.5rem 1rem; background: rgba(253,252,250,0.95); border: 1px solid var(--border);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.nav-sub a:hover { background: var(--stone); }

/* PAGE HEADER */
.page-header {
  padding: 10rem 2.5rem 5rem; max-width: 1200px; margin: 0 auto;
  position: relative; z-index: 2;
}
.page-header h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.25rem,4.5vw,3.25rem); font-weight: 400; color: var(--navy);
  line-height: 1.2; letter-spacing: -0.025em; max-width: 680px; margin-bottom: 1.5rem;
}
.page-header p {
  font-size: 1.0625rem; font-weight: 300; color: var(--text-secondary);
  line-height: 1.75; max-width: 560px;
}

/* TICKER */
.ticker-wrap {
  overflow: hidden; padding: 1rem 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  position: relative; z-index: 2;
}
.ticker { display: flex; gap: 3rem; animation: ticker-scroll 40s linear infinite; width: max-content; }
.ticker-item {
  font-family: 'JetBrains Mono', monospace; font-size: 0.6875rem; font-weight: 400;
  color: var(--text-light); white-space: nowrap; display: flex; align-items: center; gap: 0.5rem;
}
.ticker-item .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.ticker-item .dot.amber { background: var(--amber); }
@keyframes ticker-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* DIVIDER */
.divider { max-width: 1200px; margin: 0 auto; padding: 0 2.5rem; position: relative; z-index: 2; }
.divider-line { height: 1px; background: var(--border); }

section { position: relative; z-index: 2; }

/* SERVICES GRID */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); }
.service-card { background: var(--white); padding: 2.5rem; transition: background 0.3s; }
.service-card:hover { background: #FEFDFB; }
.service-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.125rem; font-weight: 500; color: var(--navy); margin-bottom: 0.875rem; line-height: 1.3;
}
.service-card p { font-size: 0.875rem; font-weight: 300; color: var(--text-secondary); line-height: 1.75; }

/* INDUSTRIES GRID */
.industries-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; border-top: 1px solid var(--border); }
.industry-item {
  padding: 2.5rem 2rem; border-bottom: 1px solid var(--border); border-right: 1px solid var(--border);
  transition: background 0.3s;
}
.industry-item:nth-child(4n) { border-right: none; }
.industry-item:hover { background: var(--stone); }
.industry-item h3 { font-size: 0.9375rem; font-weight: 500; color: var(--navy); margin-bottom: 0.5rem; }
.industry-item p { font-size: 0.8125rem; font-weight: 300; color: var(--text-light); line-height: 1.6; }

/* MOCK SCREENS */
.agent-screen {
  background: var(--navy-deep); border: 1px solid var(--terminal-border);
  border-radius: 8px; overflow: hidden; font-family: 'JetBrains Mono', monospace;
}
.screen-header {
  padding: 0.75rem 1rem; border-bottom: 1px solid var(--terminal-border);
  display: flex; align-items: center; justify-content: space-between;
}
.screen-dots { display: flex; gap: 6px; }
.screen-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.08); }
.screen-dots span:first-child { background: #FF5F57; }
.screen-dots span:nth-child(2) { background: #FEBC2E; }
.screen-dots span:nth-child(3) { background: #28C840; }
.screen-title { font-size: 0.625rem; color: rgba(255,255,255,0.25); letter-spacing: 0.08em; }
.screen-body { padding: 1.25rem; font-size: 0.6875rem; line-height: 1.7; min-height: 240px; }

.signal-feed { display: flex; flex-direction: column; gap: 0.75rem; }
.signal-item { padding: 0.75rem; background: rgba(255,255,255,0.02); border-left: 2px solid transparent; }
.signal-item.high { border-left-color: var(--amber); }
.signal-item.normal { border-left-color: var(--green); }
.signal-item.info { border-left-color: rgba(255,255,255,0.1); }
.signal-ts { font-size: 0.5625rem; color: rgba(255,255,255,0.2); margin-bottom: 0.25rem; }
.signal-text { color: rgba(255,255,255,0.55); font-size: 0.6875rem; }
.signal-text strong { color: rgba(255,255,255,0.8); font-weight: 500; }
.signal-meta { font-size: 0.5625rem; color: rgba(255,255,255,0.15); margin-top: 0.375rem; }

.chart-row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.375rem; }
.chart-label { width: 48px; font-size: 0.5625rem; color: rgba(255,255,255,0.25); text-align: right; }
.chart-bar-wrap { flex: 1; height: 16px; background: rgba(255,255,255,0.03); position: relative; overflow: hidden; }
.chart-bar { height: 100%; position: absolute; left: 0; top: 0; transition: width 1.2s cubic-bezier(0.16,1,0.3,1); }
.chart-bar.forecast { background: rgba(154,130,84,0.4); }
.chart-bar.actual { background: var(--brass-muted); }
.chart-bar-val { font-size: 0.5625rem; color: rgba(255,255,255,0.3); }
.review-annotation {
  background: rgba(251,191,36,0.06); border: 1px solid rgba(251,191,36,0.15);
  border-radius: 4px; padding: 0.625rem 0.75rem; margin-top: 0.75rem;
}
.review-annotation .ann-label { font-size: 0.5625rem; color: var(--amber); margin-bottom: 0.25rem; text-transform: uppercase; letter-spacing: 0.08em; }
.review-annotation p { font-size: 0.6875rem; color: rgba(255,255,255,0.5); line-height: 1.6; }

.outreach-thread { display: flex; flex-direction: column; gap: 0.625rem; }
.thread-msg { padding: 0.625rem 0.75rem; border-radius: 6px; max-width: 90%; }
.thread-msg.sent { background: rgba(154,130,84,0.12); align-self: flex-end; }
.thread-msg.received { background: rgba(255,255,255,0.04); align-self: flex-start; }
.thread-msg .msg-from { font-size: 0.5625rem; color: rgba(255,255,255,0.25); margin-bottom: 0.25rem; }
.thread-msg p { font-size: 0.6875rem; color: rgba(255,255,255,0.5); line-height: 1.6; }
.thread-msg.sent p { color: rgba(255,255,255,0.65); }
.thread-status { text-align: center; font-size: 0.5625rem; color: rgba(255,255,255,0.15); padding: 0.375rem 0; }
.thread-status .check { color: var(--green); }

/* AGENT LAYOUT */
.agent-products { display: flex; flex-direction: column; gap: 4rem; }
.agent-product { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3.5rem; align-items: start; }
.agent-product.reversed { grid-template-columns: 1.2fr 1fr; }
.agent-product.reversed .agent-info { order: 2; }
.agent-product.reversed .agent-screen { order: 1; }
.agent-info { padding-top: 1rem; }
.agent-tag {
  font-family: 'JetBrains Mono', monospace; font-size: 0.625rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-muted);
  margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem;
}
.agent-tag .status-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100% { opacity: 0.4; } 50% { opacity: 1; } }
.agent-info h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem; font-weight: 400; color: #fff; margin-bottom: 1rem; line-height: 1.3;
}
.agent-info > p { font-size: 0.9375rem; font-weight: 300; color: rgba(255,255,255,0.45); line-height: 1.8; margin-bottom: 1.5rem; }
.agent-capabilities { display: flex; flex-direction: column; gap: 0.5rem; }
.agent-cap {
  font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; font-weight: 400;
  color: rgba(255,255,255,0.3); display: flex; align-items: center; gap: 0.625rem;
}
.agent-cap::before { content: ''; width: 3px; height: 3px; background: var(--brass-muted); border-radius: 50%; flex-shrink: 0; }

/* LIVE BAR */
.live-bar {
  display: flex; align-items: center; gap: 0.625rem; margin-top: 2.5rem;
}
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse-dot 2s ease-in-out infinite; }
.live-bar span { font-family: 'JetBrains Mono', monospace; font-size: 0.6875rem; font-weight: 400; color: rgba(255,255,255,0.25); letter-spacing: 0.02em; }

/* CASE CARDS */
.case-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.case-card { border: 1px solid var(--border); padding: 2.5rem 2rem; transition: border-color 0.3s, box-shadow 0.3s; }
.case-card:hover { border-color: var(--brass); box-shadow: 0 8px 32px rgba(27,42,74,0.06); }
.case-industry {
  font-family: 'JetBrains Mono', monospace; font-size: 0.625rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass); margin-bottom: 1.25rem;
}
.case-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.125rem; font-weight: 500; color: var(--navy); margin-bottom: 1rem; line-height: 1.3;
}
.case-card > p { font-size: 0.875rem; font-weight: 300; color: var(--text-secondary); line-height: 1.75; margin-bottom: 1.5rem; }
.case-results { border-top: 1px solid var(--border); padding-top: 1.25rem; display: flex; gap: 2rem; }
.case-stat-num { font-family: 'JetBrains Mono', monospace; font-size: 1.125rem; font-weight: 500; color: var(--navy); }
.case-stat-label { font-size: 0.6875rem; color: var(--text-light); margin-top: 0.125rem; }

/* KPI TAGS */
.kpi-strip { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.kpi-tag {
  font-family: 'JetBrains Mono', monospace; font-size: 0.6875rem; font-weight: 400;
  color: var(--text-secondary); padding: 0.375rem 0.75rem;
  border: 1px solid var(--border); background: var(--stone); letter-spacing: 0.01em;
}

/* METRICS */
.outcomes-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.metric { padding: 2rem; background: var(--stone); border: 1px solid var(--border); }
.metric-number {
  font-family: 'JetBrains Mono', monospace; font-size: 2rem; font-weight: 400;
  color: var(--navy); line-height: 1; margin-bottom: 0.625rem;
}
.metric-label { font-size: 0.8125rem; font-weight: 400; color: var(--text-light); line-height: 1.5; }

/* PRICING */
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.pricing-features li { font-size: 0.875rem; font-weight: 300; color: var(--text-secondary); padding-left: 1.25rem; position: relative; }
.pricing-features li::before { content: ''; position: absolute; left: 0; top: 0.5rem; width: 4px; height: 4px; background: var(--brass); border-radius: 50%; }

/* TEAM GRID */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-top: 4rem; }
.team-side h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem; font-weight: 400; color: var(--navy); margin-bottom: 1rem; line-height: 1.3;
}
.team-side > p {
  font-size: 0.9375rem; font-weight: 300; color: var(--text-secondary); line-height: 1.85; margin-bottom: 2rem;
}
.team-creds { display: flex; flex-direction: column; gap: 1rem; }
.team-cred {
  padding: 1.25rem 1.5rem; border: 1px solid var(--border); background: var(--white);
  transition: border-color 0.3s;
}
.team-cred:hover { border-color: var(--brass); }
.team-cred-title { font-size: 0.875rem; font-weight: 500; color: var(--navy); margin-bottom: 0.25rem; }
.team-cred-detail { font-size: 0.8125rem; font-weight: 300; color: var(--text-light); line-height: 1.5; }
.team-cred-mono {
  font-family: 'JetBrains Mono', monospace; font-size: 0.6875rem;
  color: var(--text-light); margin-top: 0.375rem;
}

/* ABOUT STATS */
.about-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; margin-top: 4rem; }
.about-stat { padding: 2rem; border: 1px solid var(--border); background: var(--white); }
.about-stat-num {
  font-family: 'JetBrains Mono', monospace; font-size: 1.75rem; font-weight: 400;
  color: var(--navy); margin-bottom: 0.375rem;
}
.about-stat-label { font-size: 0.8125rem; font-weight: 300; color: var(--text-light); line-height: 1.5; }

/* SUBTLE TECH TOUCHES */
/* Cursor trail on hover for interactive elements */
.service-card, .industry-item, .case-card, .team-cred, .metric {
  position: relative; overflow: hidden;
}
.service-card::after, .case-card::after, .team-cred::after {
  content: ''; position: absolute; top: 0; right: 0;
  width: 3px; height: 0; background: var(--brass);
  transition: height 0.4s cubic-bezier(0.16,1,0.3,1);
}
.service-card:hover::after, .case-card:hover::after, .team-cred:hover::after {
  height: 100%;
}

/* Subtle grid pattern on stone backgrounds */
.stone-bg-pattern {
  background-image:
    linear-gradient(rgba(154,130,84,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(154,130,84,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* CTA */
.cta-section { padding: 10rem 2.5rem; text-align: center; background: var(--navy); position: relative; z-index: 2; }
.cta-section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem,4vw,2.75rem); font-weight: 400; color: #fff;
  line-height: 1.25; letter-spacing: -0.02em; max-width: 580px; margin: 0 auto 1.5rem;
}
.cta-section p { font-size: 1rem; font-weight: 300; color: rgba(255,255,255,0.5); line-height: 1.75; max-width: 440px; margin: 0 auto 3rem; }
.cta-btn {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: 0.875rem; font-weight: 500; color: var(--navy); background: var(--white);
  text-decoration: none; padding: 1rem 2.5rem; transition: background 0.2s, color 0.2s;
}
.cta-btn:hover { background: var(--brass-muted); color: #fff; }
.cta-email { margin-top: 1.5rem; font-size: 0.8125rem; color: rgba(255,255,255,0.35); }
.cta-email a { color: rgba(255,255,255,0.6); text-decoration: none; font-weight: 500; }
.cta-email a:hover { color: #fff; }

/* FOOTER */
footer { background: var(--terminal-bg); padding: 4.5rem 0 3rem; position: relative; z-index: 2; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 2.5rem; }
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem;
  padding-bottom: 3.5rem; border-bottom: 1px solid var(--terminal-border);
}
.footer-brand .wordmark-footer {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.375rem; font-weight: 600; color: #fff; margin-bottom: 1rem; display: block;
}
.footer-brand p { font-size: 0.8125rem; font-weight: 300; color: rgba(255,255,255,0.3); line-height: 1.7; max-width: 260px; }
.footer-col h4 {
  font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-bottom: 1.25rem;
}
.footer-col a {
  display: block; font-size: 0.8125rem; font-weight: 300; color: rgba(255,255,255,0.35);
  text-decoration: none; margin-bottom: 0.625rem; transition: color 0.2s;
}
.footer-col a:hover { color: rgba(255,255,255,0.7); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; }
.footer-legal { font-size: 0.75rem; font-weight: 300; color: rgba(255,255,255,0.2); }
.footer-build { font-family: 'JetBrains Mono', monospace; font-size: 0.625rem; color: rgba(255,255,255,0.12); }

/* HERO RIBBONS */
.hero-ribbons {
  pointer-events: none;
}
.hero-ribbons canvas {
  pointer-events: none;
}

/* SCOPE STRIP */
.scope-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 2.5rem;
  position: relative;
  z-index: 2;
  background: var(--white);
}
.scope-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.scope-item {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  font-weight: 400;
  color: var(--text-light);
  letter-spacing: 0.04em;
}
.scope-divider {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--brass);
  flex-shrink: 0;
}

/* ============================================
   SUB-PAGE STYLES
   ============================================ */

/* GENERIC CONTAINERS */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2.5rem; }
.content-inner { max-width: 1200px; margin: 0 auto; padding: 0 2.5rem; }
.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 2.5rem; }
.page-header-content { position: relative; z-index: 1; }
.page-header-subtitle,
.page-subtitle,
.header-subtitle,
.hero-subtitle {
  font-size: 1.0625rem; font-weight: 300; color: var(--text-secondary);
  line-height: 1.75; max-width: 560px;
}
.header-inner { position: relative; z-index: 1; }
.intro-text {
  font-size: 1.0625rem; font-weight: 300; color: var(--text-secondary);
  line-height: 1.75; max-width: 560px;
}

/* FAQ STYLES */
.faq-container {
  max-width: 800px; margin: 0 auto; padding: 4rem 2.5rem;
  position: relative; z-index: 2;
}
.faq-card {
  padding: 2rem 0; border-bottom: 1px solid var(--border);
}
.faq-card:first-child { padding-top: 0; }
.faq-question {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.125rem; font-weight: 500; color: var(--navy);
  line-height: 1.4; margin-bottom: 1rem;
}
.faq-answer p {
  font-size: 0.9375rem; font-weight: 300; color: var(--text-secondary);
  line-height: 1.85;
}
.faq-answer a { color: var(--navy); font-weight: 400; }
.faq-answer a:hover { color: var(--brass); }

.faq-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
}
.faq-item {
  padding: 2rem; border: 1px solid var(--border); background: var(--white);
  transition: border-color 0.3s;
}
.faq-item:hover { border-color: var(--brass); }
.faq-item h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem; font-weight: 500; color: var(--navy);
  margin-bottom: 0.75rem; line-height: 1.35;
}
.faq-item p {
  font-size: 0.875rem; font-weight: 300; color: var(--text-secondary);
  line-height: 1.75;
}
.faq-section {
  padding: 5rem 0; position: relative; z-index: 2;
}
.faq-section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem; font-weight: 400; color: var(--navy);
  margin-bottom: 2.5rem; line-height: 1.25;
}

/* GLOSSARY STYLES */
.glossary-main { position: relative; z-index: 2; }
.glossary-container {
  max-width: 800px; margin: 0 auto; padding: 4rem 2.5rem;
  position: relative; z-index: 2;
}
.glossary-card {
  padding: 2.5rem 0;
}
.glossary-section {
  margin-bottom: 1.5rem;
}
.glossary-section p {
  font-size: 0.9375rem; font-weight: 300; color: var(--text-secondary);
  line-height: 1.85;
}
.glossary-section a { color: var(--navy); font-weight: 400; text-decoration: underline; text-underline-offset: 2px; }
.glossary-section a:hover { color: var(--brass); }
.term-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem; font-weight: 400; color: var(--navy);
  line-height: 1.3; margin-bottom: 1.5rem;
}

/* ARTICLE / BLOG STYLES */
.article-container {
  max-width: 720px; margin: 0 auto; padding: 0 2.5rem;
  position: relative; z-index: 2;
}
.article-header {
  padding: 10rem 0 3rem;
}
.article-header h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 400; color: var(--navy);
  line-height: 1.2; letter-spacing: -0.025em; margin-bottom: 1.5rem;
}
.article-meta {
  display: flex; align-items: center; gap: 1rem;
  font-size: 0.8125rem; color: var(--text-light); margin-bottom: 3rem;
  padding-bottom: 2rem; border-bottom: 1px solid var(--border);
}
.meta-item { display: flex; align-items: center; gap: 0.25rem; }
.article-body {
  padding-bottom: 4rem;
}
.article-body h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem; font-weight: 400; color: var(--navy);
  line-height: 1.3; margin: 3rem 0 1.25rem;
}
.article-body h3 {
  font-size: 1.125rem; font-weight: 500; color: var(--navy);
  margin: 2rem 0 1rem;
}
.article-body p {
  font-size: 1rem; font-weight: 300; color: var(--text-secondary);
  line-height: 1.85; margin-bottom: 1.5rem;
}
.article-body ul, .article-body ol {
  font-size: 1rem; font-weight: 300; color: var(--text-secondary);
  line-height: 1.85; margin-bottom: 1.5rem; padding-left: 1.5rem;
}
.article-body li { margin-bottom: 0.5rem; }
.article-body a { color: var(--navy); font-weight: 400; }
.article-body a:hover { color: var(--brass); }
.article-body strong { font-weight: 500; color: var(--text); }
.article-cta {
  padding: 3rem 0; border-top: 1px solid var(--border);
  margin-top: 2rem; text-align: center;
}
.article-cta p {
  font-size: 0.9375rem; color: var(--text-secondary);
  line-height: 1.75; margin-bottom: 1.5rem;
}

/* INSIGHTS LISTING */
.insights-grid {
  padding: 4rem 0; position: relative; z-index: 2;
}
.insights-container {
  max-width: 1200px; margin: 0 auto; padding: 0 2.5rem;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.insight-card {
  padding: 2.5rem 2rem; border: 1px solid var(--border); background: var(--white);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.insight-card:hover { border-color: var(--brass); box-shadow: 0 8px 32px rgba(27,42,74,0.06); }
.insight-card h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.125rem; font-weight: 500; color: var(--navy);
  margin-bottom: 1rem; line-height: 1.35;
}
.insight-card h2 a { color: inherit; text-decoration: none; }
.insight-card h2 a:hover { color: var(--brass); }
.card-meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1.25rem;
}
.card-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem; color: var(--text-light);
}
.card-excerpt {
  font-size: 0.875rem; font-weight: 300; color: var(--text-secondary);
  line-height: 1.75; margin-bottom: 1.5rem;
}
.card-link {
  font-size: 0.8125rem; font-weight: 500; color: var(--navy);
  text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem;
}
.card-link:hover { color: var(--brass); }
.card-link::after { content: '\2192'; }

/* INDUSTRY PAGE STYLES */
.challenges-section {
  padding: 5rem 0; position: relative; z-index: 2;
}
.challenges-section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem; font-weight: 400; color: var(--navy);
  line-height: 1.25; margin-bottom: 2.5rem;
}
.challenges-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border);
}
.challenge-card {
  background: var(--white); padding: 2.5rem;
  transition: background 0.3s;
}
.challenge-card:hover { background: #FEFDFB; }
.challenge-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem; font-weight: 500; color: var(--navy);
  margin-bottom: 0.875rem; line-height: 1.3;
}
.challenge-card p {
  font-size: 0.875rem; font-weight: 300; color: var(--text-secondary);
  line-height: 1.75;
}

/* SOLUTIONS MAPPING */
.solutions-mapping-section {
  padding: 5rem 0; position: relative; z-index: 2;
}
.solutions-mapping-section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem; font-weight: 400; color: var(--navy);
  line-height: 1.25; margin-bottom: 2.5rem;
}
.mapping-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem;
}
.mapping-item {
  padding: 2rem; border: 1px solid var(--border); background: var(--white);
  transition: border-color 0.3s;
}
.mapping-item:hover { border-color: var(--brass); }
.mapping-item h3 {
  font-size: 1rem; font-weight: 500; color: var(--navy);
  margin-bottom: 0.75rem;
}
.mapping-item p {
  font-size: 0.875rem; font-weight: 300; color: var(--text-secondary);
  line-height: 1.75; margin-bottom: 0.75rem;
}
.mapping-detail {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem; color: var(--brass); font-weight: 400;
}

/* SERVICES SECTION (industry pages) */
.services-section {
  padding: 5rem 0; background: var(--stone); position: relative; z-index: 2;
}
.services-section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem; font-weight: 400; color: var(--navy);
  line-height: 1.25; margin-bottom: 2.5rem;
}
.service-link {
  font-size: 0.8125rem; font-weight: 500; color: var(--navy);
  text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 1rem;
}
.service-link:hover { color: var(--brass); }
.service-link::after { content: '\2192'; }

/* SCENARIOS */
.scenarios-section {
  padding: 5rem 0; position: relative; z-index: 2;
}
.scenarios-section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem; font-weight: 400; color: var(--navy);
  line-height: 1.25; margin-bottom: 2.5rem;
}
.scenario {
  padding: 2.5rem; border: 1px solid var(--border); background: var(--white);
  margin-bottom: 2rem;
}
.scenario h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.125rem; font-weight: 500; color: var(--navy);
  margin-bottom: 1rem; line-height: 1.3;
}
.scenario p {
  font-size: 0.9375rem; font-weight: 300; color: var(--text-secondary);
  line-height: 1.85; margin-bottom: 1rem;
}
.scenario-solution {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem; color: var(--brass); font-weight: 400;
  padding-top: 1rem; border-top: 1px solid var(--border);
}

/* CTA VARIANTS */
.cta-content {
  text-align: center; max-width: 580px; margin: 0 auto;
}
.cta-content h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 400; color: #fff;
  line-height: 1.25; margin-bottom: 1.5rem;
}
.cta-content p {
  font-size: 1rem; font-weight: 300; color: rgba(255,255,255,0.5);
  line-height: 1.75; margin-bottom: 2rem;
}
.cta-button, .cta-buttons a {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: 0.875rem; font-weight: 500; color: var(--navy); background: var(--white);
  text-decoration: none; padding: 1rem 2.5rem; transition: background 0.2s, color 0.2s;
}
.cta-button:hover, .cta-buttons a:hover { background: var(--brass-muted); color: #fff; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-final {
  padding: 10rem 2.5rem; text-align: center; background: var(--navy);
  position: relative; z-index: 2;
}
.cta-final h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 400; color: #fff;
  line-height: 1.25; max-width: 580px; margin: 0 auto 1.5rem;
}
.cta-final p {
  font-size: 1rem; font-weight: 300; color: rgba(255,255,255,0.5);
  line-height: 1.75; max-width: 440px; margin: 0 auto 3rem;
}

/* STRATEGIC ADVISORY */
.problem-statement, .problem {
  padding: 5rem 0; position: relative; z-index: 2;
}
.problem-statement h2, .problem h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem; font-weight: 400; color: var(--navy);
  line-height: 1.25; margin-bottom: 1.5rem;
}
.problem-statement p, .problem p {
  font-size: 1rem; font-weight: 300; color: var(--text-secondary);
  line-height: 1.85; margin-bottom: 1.5rem; max-width: 720px;
}
.offerings, .model, .operating-partner, .path-to-managed, .pricing,
.expertise-section, .execution-difference, .service-integration {
  padding: 5rem 0; position: relative; z-index: 2;
}
.offerings h2, .model h2, .operating-partner h2, .path-to-managed h2,
.pricing h2, .expertise-section h2, .execution-difference h2,
.service-integration h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem; font-weight: 400; color: var(--navy);
  line-height: 1.25; margin-bottom: 1.5rem;
}
.offerings p, .model p, .operating-partner p, .path-to-managed p,
.pricing p, .expertise-section p, .execution-difference p,
.service-integration p {
  font-size: 1rem; font-weight: 300; color: var(--text-secondary);
  line-height: 1.85; margin-bottom: 1.5rem; max-width: 720px;
}
.offerings-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2rem;
}
.offering {
  padding: 2rem; border: 1px solid var(--border); background: var(--white);
  transition: border-color 0.3s;
}
.offering:hover { border-color: var(--brass); }
.offering h3 {
  font-size: 1rem; font-weight: 500; color: var(--navy);
  margin-bottom: 0.75rem;
}
.offering p {
  font-size: 0.875rem; font-weight: 300; color: var(--text-secondary);
  line-height: 1.75; max-width: none;
}

/* MANAGED OPS */
.model-list {
  list-style: none; padding: 0; margin: 1.5rem 0;
}
.model-list li {
  font-size: 1rem; font-weight: 300; color: var(--text-secondary);
  line-height: 1.85; margin-bottom: 1rem; padding-left: 1.25rem;
  position: relative;
}
.model-list li::before {
  content: ''; position: absolute; left: 0; top: 0.6rem;
  width: 4px; height: 4px; background: var(--brass); border-radius: 50%;
}
.model-list li strong { font-weight: 500; color: var(--text); }

.use-cases { padding: 5rem 0; background: var(--stone); position: relative; z-index: 2; }
.use-cases h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem; font-weight: 400; color: var(--navy);
  line-height: 1.25; margin-bottom: 2rem;
}
.use-cases-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--border); margin-top: 2rem;
}
.use-case-card {
  background: var(--white); padding: 2rem;
  transition: background 0.3s;
}
.use-case-card:hover { background: #FEFDFB; }
.use-case-card h3 {
  font-size: 1rem; font-weight: 500; color: var(--navy);
  margin-bottom: 0.75rem;
}
.use-case-card p {
  font-size: 0.875rem; font-weight: 300; color: var(--text-secondary);
  line-height: 1.75;
}

.ideal-client, .ideal-clients { padding: 5rem 0; position: relative; z-index: 2; }
.ideal-client h2, .ideal-clients h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem; font-weight: 400; color: var(--navy);
  line-height: 1.25; margin-bottom: 1.5rem;
}
.ideal-client p, .ideal-clients p {
  font-size: 1rem; font-weight: 300; color: var(--text-secondary);
  line-height: 1.85; margin-bottom: 1.5rem; max-width: 720px;
}
.ideal-list {
  list-style: none; padding: 0; margin: 1.5rem 0;
}
.ideal-list li {
  font-size: 0.9375rem; font-weight: 300; color: var(--text-secondary);
  line-height: 1.85; margin-bottom: 0.75rem; padding-left: 1.25rem;
  position: relative;
}
.ideal-list li::before {
  content: ''; position: absolute; left: 0; top: 0.6rem;
  width: 4px; height: 4px; background: var(--brass); border-radius: 50%;
}

/* BTN STYLES */
.btn {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: 0.875rem; font-weight: 500; text-decoration: none;
  padding: 0.875rem 2rem; transition: all 0.2s;
}
.btn-primary {
  color: var(--white); background: var(--navy); border: 1px solid var(--navy);
}
.btn-primary:hover { background: var(--navy-mid); }
.btn-secondary {
  color: var(--navy); background: transparent; border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: var(--navy); background: var(--stone); }

/* CASE STUDIES */
.case-framework {
  padding: 2.5rem 0;
}
.case-framework h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem; font-weight: 400; color: var(--navy);
  line-height: 1.25; margin-bottom: 1rem;
}
.case-framework p {
  font-size: 1rem; font-weight: 300; color: var(--text-secondary);
  line-height: 1.85; margin-bottom: 2rem;
}
.framework-items {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.framework-item {
  padding: 1.5rem; border: 1px solid var(--border); background: var(--white);
}
.framework-item h3 {
  font-size: 0.9375rem; font-weight: 500; color: var(--navy);
  margin-bottom: 0.5rem;
}
.framework-item p {
  font-size: 0.8125rem; font-weight: 300; color: var(--text-light);
  line-height: 1.6;
}
.case-card-icon {
  font-family: 'JetBrains Mono', monospace; font-size: 0.625rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass);
  margin-bottom: 1rem;
}
.case-link {
  font-size: 0.8125rem; font-weight: 500; color: var(--navy);
  text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 1rem;
}
.case-link:hover { color: var(--brass); }
.case-link::after { content: '\2192'; }

/* PRICING FACTORS */
.pricing-factors {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2rem;
}
.pricing-factors > div {
  padding: 2rem; border: 1px solid var(--border); background: var(--white);
}
.pricing-factors h3 {
  font-size: 1rem; font-weight: 500; color: var(--navy); margin-bottom: 0.75rem;
}
.pricing-factors p {
  font-size: 0.875rem; font-weight: 300; color: var(--text-secondary);
  line-height: 1.75; max-width: none;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr !important; }
  .hero-ribbons { min-height: 300px; margin-top: 1rem; }
  .services-grid, .case-grid, .outcomes-metrics, .about-stats { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr 1fr; }
  .industries-grid .industry-item:nth-child(4n) { border-right: 1px solid var(--border); }
  .industries-grid .industry-item:nth-child(2n) { border-right: none; }
  .agent-product, .agent-product.reversed { grid-template-columns: 1fr; }
  .agent-product.reversed .agent-info { order: 1; }
  .agent-product.reversed .agent-screen { order: 2; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .nav-right a:not(.nav-contact) { display: none; }
  .page-header h1 { font-size: 2.25rem; }
  .footer-build { display: none; }
  .faq-grid, .mapping-grid, .offerings-grid, .pricing-factors { grid-template-columns: 1fr; }
  .challenges-grid, .use-cases-grid, .framework-items { grid-template-columns: 1fr; }
  .insights-container { grid-template-columns: 1fr; }
}
