/* AEGIS LAW — style.css | Trust Navy / Ultra-Minimal */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Serif:ital,wght@0,300;0,400;0,600;0,700;1,400;1,600&family=IBM+Plex+Sans:wght@300;400;500;600&display=swap');
:root {
  --navy: #0A1628; --navy-mid: #1E3A5F; --blue: #2563EB; --blue-light: #EFF6FF;
  --white: #F8FAFC; --paper: #FAFBFC; --muted: #64748B; --slate: #94A3B8; --border: #E2E8F0;
  --font-d: 'IBM Plex Serif', Georgia, serif; --font-b: 'IBM Plex Sans', system-ui, sans-serif;
  --space-sm: 16px; --space-md: 32px; --space-lg: 64px; --space-xl: 96px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-b); background: var(--paper); color: var(--navy); font-size: 15px; line-height: 1.7; overflow-x: hidden; }
a { text-decoration: none; color: inherit; } ul { list-style: none; } button { cursor: pointer; font-family: inherit; }

/* PAPER TEXTURE */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.02'/%3E%3C/svg%3E");
  opacity: 0.4;
}

/* VERTICAL PROGRESS */
.vertical-progress {
  position: fixed; left: 24px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px; z-index: 50;
}
.vp-fill { display: none; }
.vp-sections { display: flex; flex-direction: column; gap: 20px; }
.vp-dot {
  width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--slate);
  background: transparent; transition: background 0.2s, border-color 0.2s; display: block;
}
.vp-dot.active { background: var(--blue); border-color: var(--blue); }
.vp-dot:hover { border-color: var(--navy); }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--space-md) 0 64px; height: 64px;
  background: rgba(248,250,252,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-b); font-weight: 600; font-size: 15px;
  letter-spacing: 0.1em; color: var(--navy);
}
.nav-shield { flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 13px; font-weight: 400; color: var(--muted); transition: color 0.15s; }
.nav-links a:hover { color: var(--navy); }
.nav-cta {
  background: var(--navy) !important; color: var(--white) !important;
  font-weight: 600 !important; font-size: 12px !important;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 10px 20px; transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--blue) !important; }

/* HERO */
.hero {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 280px;
  gap: var(--space-xl); min-height: 90vh;
  padding: var(--space-xl) var(--space-md) var(--space-xl) 64px;
  align-items: center; border-bottom: 1px solid var(--border);
}
.hero-paper-texture {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, var(--blue-light) 0%, transparent 40%);
  opacity: 0.3;
}
.hero-content { position: relative; z-index: 1; }
.hero-clause-num {
  font-family: var(--font-b); font-size: 11px; font-weight: 600;
  letter-spacing: 0.2em; color: var(--blue); margin-bottom: var(--space-md);
  border-left: 3px solid var(--blue); padding-left: 12px;
}
.hero-headline {
  font-family: var(--font-d); font-weight: 600;
  font-size: clamp(44px, 5.5vw, 80px); line-height: 1.08; color: var(--navy);
}
.hero-headline span { color: var(--blue); }
.hero-rule { width: 48px; height: 2px; background: var(--border); margin: var(--space-md) 0; }
.hero-body { font-size: 16px; font-weight: 300; color: var(--muted); max-width: 480px; line-height: 1.8; margin-bottom: var(--space-lg); }
.hero-actions { display: flex; gap: var(--space-md); align-items: center; }

.hero-aside {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 0;
  border-left: 1px solid var(--border);
  padding-left: var(--space-md);
}
.aside-stat {
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 4px;
}
.aside-stat:last-child { border-bottom: none; }
.aside-num { font-family: var(--font-d); font-size: 32px; font-weight: 700; color: var(--navy); line-height: 1; }
.aside-lbl { font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); }

/* BUTTONS */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy); color: var(--white);
  font-family: var(--font-b); font-weight: 600; font-size: 13px;
  letter-spacing: 0.06em; padding: 14px 28px;
  border: 1px solid var(--navy); transition: background 0.2s, border-color 0.2s; cursor: pointer;
}
.btn-primary:hover { background: var(--blue); border-color: var(--blue); }
.btn-full-w { width: 100%; justify-content: center; }
.btn-text {
  font-family: var(--font-b); font-size: 13px; font-weight: 500;
  color: var(--muted); text-underline-offset: 4px; text-decoration: underline;
  background: none; border: none; cursor: pointer; transition: color 0.2s;
}
.btn-text:hover { color: var(--navy); }

/* SECTION SHARED */
.section-clause {
  font-family: var(--font-b); font-size: 11px; font-weight: 600;
  letter-spacing: 0.2em; color: var(--blue);
  border-left: 3px solid var(--blue); padding-left: 12px;
  margin-bottom: var(--space-md);
}
.section-heading {
  font-family: var(--font-d); font-weight: 600;
  font-size: clamp(32px, 4vw, 56px); line-height: 1.1; color: var(--navy);
  margin-bottom: var(--space-sm);
}
.section-body { font-size: 15px; font-weight: 300; color: var(--muted); max-width: 560px; line-height: 1.8; margin-bottom: var(--space-lg); }

/* EXPERTISE */
.expertise-section {
  position: relative; z-index: 1;
  padding: var(--space-xl) var(--space-md) var(--space-xl) 64px;
  border-bottom: 1px solid var(--border);
}
.expertise-list { border-top: 1px solid var(--border); margin-top: var(--space-lg); }
.expertise-item {
  display: grid; grid-template-columns: 40px 1fr 32px;
  gap: var(--space-md); align-items: center;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s; cursor: default;
}
.expertise-item:hover { background: var(--blue-light); padding: var(--space-md); margin: 0 -var(--space-md); border-radius: 4px; }
.exp-num { font-family: var(--font-d); font-size: 13px; color: var(--slate); font-style: italic; }
.exp-content h3 { font-family: var(--font-d); font-size: 20px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.exp-content p { font-size: 14px; font-weight: 300; color: var(--muted); line-height: 1.7; }
.exp-arrow { font-size: 20px; color: var(--slate); transition: color 0.15s, transform 0.15s; }
.expertise-item:hover .exp-arrow { color: var(--blue); transform: translateX(4px); }

/* ASSESSMENT */
.assessment-section {
  position: relative; z-index: 1;
  padding: var(--space-xl) var(--space-md) var(--space-xl) 64px;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.assessment-section .section-clause { color: rgba(37,99,235,0.8); border-left-color: var(--blue); }
.assessment-section .section-heading { color: var(--white); }
.assessment-section .section-body { color: rgba(255,255,255,0.5); }

.assessment-widget {
  display: grid; grid-template-columns: 1fr 200px;
  gap: var(--space-lg); align-items: start;
}
.assess-questions { grid-column: 1 / 2; display: flex; flex-direction: column; gap: var(--space-md); }
.assess-q { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); padding: var(--space-md); }
.assess-q-text { font-family: var(--font-d); font-size: 17px; color: var(--white); margin-bottom: var(--space-sm); font-weight: 400; }
.assess-q-options { display: flex; gap: 10px; flex-wrap: wrap; }
.assess-opt {
  background: transparent; border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.6); font-family: var(--font-b); font-size: 13px; font-weight: 400;
  padding: 9px 18px; transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.assess-opt:hover { border-color: var(--blue); color: var(--white); }
.assess-opt.selected { border-color: var(--blue); color: var(--white); background: rgba(37,99,235,0.15); }
.assess-opt.opt-yes { }
.assess-opt.opt-no { }

.assess-sidebar { grid-column: 2 / 3; display: flex; flex-direction: column; gap: var(--space-md); position: sticky; top: 80px; }
.sidebar-progress { display: flex; flex-direction: column; align-items: center; gap: var(--space-sm); text-align: center; }
.progress-ring { position: relative; width: 80px; height: 80px; }
.progress-ring svg { width: 80px; height: 80px; }
.progress-ring span {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-family: var(--font-d); font-size: 18px; font-weight: 700; color: var(--white);
}
.sidebar-progress p { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); line-height: 1.4; }

.sidebar-tip {
  background: rgba(37,99,235,0.1); border: 1px solid rgba(37,99,235,0.2);
  padding: var(--space-sm);
}
.tip-label {
  display: block; font-size: 9px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 8px;
}
.sidebar-tip p { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.7; }

.assess-submit { grid-column: 1 / 2; }
.assess-results {
  grid-column: 1 / -1; display: flex; gap: var(--space-xl); align-items: start;
}
.result-score-block { display: flex; flex-direction: column; align-items: center; gap: var(--space-md); flex-shrink: 0; }
.score-circle { position: relative; width: 120px; height: 120px; }
.score-circle svg { width: 120px; height: 120px; }
.score-inner { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; }
.score-num { font-family: var(--font-d); font-size: 32px; font-weight: 700; color: var(--white); display: block; line-height: 1; }
.score-label { font-size: 11px; color: rgba(255,255,255,0.4); }
.score-band {
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 14px; text-align: center; white-space: nowrap;
}

.result-steps { flex: 1; }
.result-steps h4 { font-family: var(--font-d); font-size: 20px; font-weight: 600; color: var(--white); margin-bottom: var(--space-md); }
.steps-list { display: flex; flex-direction: column; gap: 10px; counter-reset: step; }
.steps-list li {
  display: flex; gap: var(--space-sm); align-items: baseline;
  font-size: 14px; color: rgba(255,255,255,0.8);
  padding: var(--space-sm); background: rgba(255,255,255,0.05);
  border-left: 2px solid var(--blue); line-height: 1.6;
}
.result-cta { display: flex; flex-direction: column; gap: var(--space-sm); align-items: flex-start; }

/* ABOUT */
.about-section {
  position: relative; z-index: 1;
  padding: var(--space-xl) var(--space-md) var(--space-xl) 64px;
  border-bottom: 1px solid var(--border);
}
.about-layout { display: grid; grid-template-columns: 1fr 360px; gap: var(--space-xl); }
.about-text h2 { font-family: var(--font-d); font-size: clamp(32px, 4vw, 52px); font-weight: 600; margin-bottom: var(--space-md); }
.about-text p { font-size: 15px; font-weight: 300; color: var(--muted); line-height: 1.9; margin-bottom: var(--space-sm); }
.about-bar { display: flex; gap: var(--space-xl); margin-top: var(--space-lg); padding-top: var(--space-lg); border-top: 1px solid var(--border); }
.bar-item { display: flex; flex-direction: column; gap: 4px; }
.bar-num { font-family: var(--font-d); font-size: 48px; font-weight: 700; color: var(--navy); line-height: 1; }
.bar-lbl { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); }
.about-credentials { display: flex; flex-direction: column; gap: 0; }
.cred-item {
  display: flex; align-items: center; gap: var(--space-sm);
  padding: var(--space-md) 0; border-bottom: 1px solid var(--border);
  font-size: 14px; color: var(--muted);
}
.cred-item:last-child { border-bottom: none; }
.cred-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }

/* CONTACT */
.contact-section {
  position: relative; z-index: 1;
  padding: var(--space-xl) var(--space-md) var(--space-xl) 64px;
  background: var(--blue-light);
}
.contact-grid { display: flex; flex-direction: column; gap: 0; margin-bottom: var(--space-lg); }
.contact-item {
  display: flex; gap: var(--space-lg);
  padding: var(--space-md) 0; border-bottom: 1px solid rgba(37,99,235,0.1);
}
.contact-label { font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue); min-width: 100px; }
.contact-val { font-family: var(--font-d); font-size: 18px; color: var(--navy); }

/* FOOTER */
.footer { position: relative; z-index: 1; padding: var(--space-md) var(--space-md) var(--space-md) 64px; border-top: 1px solid var(--border); }
.footer-grid { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: 0.1em; color: var(--slate); }
.footer-brand { font-family: var(--font-d); font-size: 13px; font-weight: 600; color: var(--navy); letter-spacing: 0.08em; }

@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; } .hero-aside { border-left: none; border-top: 1px solid var(--border); padding-top: var(--space-md); flex-direction: row; flex-wrap: wrap; gap: var(--space-md); }
  .assessment-widget { grid-template-columns: 1fr; } .assess-sidebar { position: static; }
  .about-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav { padding-left: var(--space-sm); } .nav-links { display: none; }
  .hero, .expertise-section, .assessment-section, .about-section, .contact-section, .footer { padding-left: var(--space-sm); }
  .vertical-progress { display: none; }
  .footer-grid { flex-direction: column; gap: 4px; }
  .assess-results { flex-direction: column; }
}
