/* Common Partners — Shared Styles v3 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --obsidian: #060a10;
  --navy:     #08101c;
  --navy2:    #0d1828;
  --navy3:    #111f30;
  --ink:      #162035;
  --gold:     #c9962a;
  --gold2:    #e8b84b;
  --gold3:    #f5d07a;
  --electric: #2d7dd2;
  --electric2:#4a9eff;
  --muted:    #5a6e87;
  --subtle:   #2a3a50;
  --light:    #a8bbd0;
  --white:    #eef3f8;
  --border:   rgba(200,220,240,0.08);
  --border2:  rgba(200,220,240,0.14);
  --gold-line:rgba(201,150,42,0.25);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Geist', system-ui, sans-serif;
  --mono:  'Geist Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
  background: var(--obsidian);
  color: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 120% 70% at 60% -10%, rgba(45,125,210,0.07) 0%, transparent 55%),
    radial-gradient(ellipse 80% 60% at -10% 60%, rgba(201,150,42,0.05) 0%, transparent 50%);
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed; inset: 0; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none;
}

* { position: relative; z-index: 1; }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 3rem;
  background: rgba(6,10,16,0.88);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}

.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }

.nav-mark {
  width: 32px; height: 32px; border-radius: 7px;
  background: linear-gradient(135deg, rgba(201,150,42,0.15), rgba(201,150,42,0.05));
  border: 1px solid var(--gold-line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 10px; font-weight: 500;
  letter-spacing: .1em; color: var(--gold2);
}

.nav-wordmark { display: flex; flex-direction: column; gap: 1px; }
.nav-name { font-family: var(--serif); font-size: 16px; font-weight: 500; color: var(--white); letter-spacing: .06em; text-transform: uppercase; line-height: 1; }
.nav-tagline { font-family: var(--mono); font-size: 9px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-size: 12px; font-weight: 400; color: var(--muted); text-decoration: none; letter-spacing: .06em; text-transform: uppercase; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--light); }

.nav-cta {
  font-family: var(--mono) !important; font-size: 10px !important; font-weight: 500 !important;
  letter-spacing: .08em !important; text-transform: uppercase !important;
  padding: 8px 18px; border: 1px solid var(--gold-line);
  border-radius: 4px; color: var(--gold2) !important;
  background: rgba(201,150,42,0.06); transition: all .2s;
}
.nav-cta:hover { background: rgba(201,150,42,0.12) !important; border-color: rgba(201,150,42,0.4); color: var(--gold3) !important; }

/* PAGE HERO */
.page-hero {
  padding: 10rem 3rem 5rem;
  max-width: 900px; margin: 0 auto;
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  font-family: var(--mono); font-size: 10px; font-weight: 400;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold2);
  margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--gold); }

h1 {
  font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 400; line-height: 1.1; color: var(--white);
  letter-spacing: -.01em; margin-bottom: 1.5rem;
}
h1 em { font-style: italic; color: var(--gold2); }

.page-hero > p {
  font-size: 15px; font-weight: 300; color: var(--light);
  line-height: 1.8; max-width: 660px; margin-bottom: 2rem;
}

/* SECTIONS */
.section { max-width: 1100px; margin: 0 auto; padding: 6rem 3rem; }
.section-alt { background: rgba(13,24,40,0.5); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-label {
  font-family: var(--mono); font-size: 9px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold2); margin-bottom: 1rem;
  opacity: .8; display: flex; align-items: center; gap: 10px;
}
.section-label::before { content: ''; width: 24px; height: 1px; background: var(--gold); flex-shrink: 0; }

h2 {
  font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400; line-height: 1.2; color: var(--white); letter-spacing: -.01em;
}
h2 em { font-style: italic; color: var(--gold2); }

.section-intro { font-size: 14px; font-weight: 300; color: var(--light); line-height: 1.8; max-width: 580px; margin-top: 1rem; }

/* GRIDS */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); margin-top: 3.5rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; margin-top: 3.5rem; }

/* CARDS */
.card {
  background: var(--navy2); padding: 2rem 1.75rem;
  transition: background .2s;
}
.card:hover { background: var(--navy3); }

.card-dark {
  background: var(--obsidian); padding: 2.5rem 2rem;
  transition: background .2s; position: relative; overflow: hidden;
}
.card-dark::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0; transition: opacity .3s;
}
.card-dark:hover { background: var(--navy); }
.card-dark:hover::before { opacity: 1; }

.card-num { font-family: var(--mono); font-size: 10px; color: var(--gold2); letter-spacing: .1em; margin-bottom: 1rem; opacity: .6; }

h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 400; color: var(--white); margin-bottom: .65rem; line-height: 1.3; }
h3.sans { font-family: var(--sans); font-size: 13px; font-weight: 500; }

.card p, .card-dark p { font-size: 13px; font-weight: 300; color: var(--muted); line-height: 1.7; }

/* PROCESS STEPS */
.process-steps { display: flex; flex-direction: column; gap: 0; margin-top: 3.5rem; }
.process-step {
  display: flex; gap: 2rem; padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}
.process-step:first-child { border-top: 1px solid var(--border); }
.step-num {
  font-family: var(--mono); font-size: 11px; color: var(--gold2);
  opacity: .6; flex-shrink: 0; padding-top: 4px; width: 24px;
}
.process-step h4 { font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--white); margin-bottom: .5rem; }
.process-step p { font-size: 13px; font-weight: 300; color: var(--muted); line-height: 1.7; }

/* SPLIT LAYOUT */
.split { max-width: 1100px; margin: 0 auto; padding: 6rem 3rem; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.split > div > p { font-size: 14px; font-weight: 300; color: var(--light); line-height: 1.8; margin-bottom: 1rem; }

/* PANEL */
.panel {
  background: linear-gradient(135deg, rgba(13,24,40,0.9), rgba(17,31,48,0.7));
  border: 1px solid var(--border2); border-radius: 2px;
  padding: 2.5rem; position: relative; overflow: hidden;
}
.panel::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .4;
}
.panel h3 { margin-bottom: 1rem; font-family: var(--sans); font-size: 14px; font-weight: 500; }
.panel p { font-size: 13px; font-weight: 300; color: var(--light); line-height: 1.8; margin-bottom: .75rem; }
.panel ul { list-style: none; margin-top: .5rem; }
.panel ul li { font-size: 13px; font-weight: 300; color: var(--light); line-height: 1.7; padding: .5rem 0; border-bottom: 1px solid var(--border); display: flex; gap: 10px; }
.panel ul li:last-child { border-bottom: none; }
.panel ul li::before { content: '→'; color: var(--gold2); font-family: var(--mono); font-size: 11px; flex-shrink: 0; margin-top: 2px; }
.panel ul li strong { color: var(--white); font-weight: 500; }

/* SPEC ICON */
.spec-icon {
  font-family: var(--mono); font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold2);
  border: 1px solid var(--gold-line); display: inline-block;
  padding: 4px 10px; border-radius: 2px; margin-bottom: 1.25rem;
  background: rgba(201,150,42,0.06);
}

/* BIO CARDS */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--border); margin-top: 3rem; }
.bio-card { background: var(--navy2); padding: 2.5rem 2rem; }
.bio-avatar {
  width: 52px; height: 52px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(201,150,42,0.15), rgba(201,150,42,0.05));
  border: 1px solid var(--gold-line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  color: var(--gold2); margin-bottom: 1.25rem;
}
.bio-name { font-family: var(--sans); font-size: 13px; font-weight: 500; color: var(--white); margin-bottom: 4px; }
.bio-title { font-family: var(--mono); font-size: 9px; color: var(--gold2); letter-spacing: .08em; text-transform: uppercase; opacity: .7; display: block; margin-bottom: 1rem; }
.bio-text { font-size: 13px; font-weight: 300; color: var(--muted); line-height: 1.7; margin-bottom: .75rem; }
.bio-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 1.25rem; }
.bio-tags li { font-family: var(--mono); font-size: 9px; letter-spacing: .06em; padding: 3px 8px; border: 1px solid var(--border2); border-radius: 2px; color: var(--muted); }

/* CERT BADGES */
.cert-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.5rem; }
.cert-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--mono); font-size: 9px; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(201,150,42,0.7);
  border: 1px solid rgba(201,150,42,0.2); border-radius: 2px;
  padding: 4px 10px; background: rgba(201,150,42,0.05);
}

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 4px;
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; transition: all .2s; cursor: pointer;
  border: none;
}
.btn-primary { background: linear-gradient(135deg, var(--gold), var(--gold2)); color: var(--obsidian); }
.btn-primary:hover { background: linear-gradient(135deg, var(--gold2), var(--gold3)); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(201,150,42,0.3); }
.btn-ghost { background: transparent; border: 1px solid var(--border2) !important; color: var(--light); }
.btn-ghost:hover { border-color: rgba(200,220,240,0.28) !important; color: var(--white); background: rgba(255,255,255,0.04); }
.btn-full { width: 100%; justify-content: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 2rem; }

/* CONTACT FORM */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.form-card {
  background: linear-gradient(135deg, rgba(13,24,40,0.9), rgba(17,31,48,0.7));
  border: 1px solid var(--border2); border-radius: 2px; padding: 2.5rem;
}
.form-card::before {
  content: ''; display: block; height: 1px; margin: -2.5rem -2.5rem 2rem;
  background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .4;
}
.form-field { margin-bottom: 1.25rem; }
.form-field label { display: block; font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; background: rgba(255,255,255,0.04);
  border: 1px solid var(--border2); border-radius: 3px;
  padding: 10px 14px; font-family: var(--sans); font-size: 13px;
  color: var(--white); outline: none; transition: border-color .2s;
  -webkit-appearance: none;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: rgba(74,158,255,0.4); }
.form-field textarea { min-height: 100px; resize: vertical; }
.form-field select option { background: var(--navy2); }
.form-submit {
  width: 100%; background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: var(--obsidian); border: none; border-radius: 4px;
  padding: 12px 24px; font-family: var(--mono); font-size: 11px;
  font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  cursor: pointer; transition: all .2s; margin-top: .5rem;
}
.form-submit:hover { background: linear-gradient(135deg, var(--gold2), var(--gold3)); }
.hidden-field { display: none; }
.form-note { font-family: var(--mono); font-size: 10px; color: var(--muted); margin-top: 1rem; line-height: 1.6; letter-spacing: .04em; }

/* DIVIDER */
.divider { width: 100%; height: 1px; background: linear-gradient(90deg, transparent, var(--border2), transparent); }

/* FOOTER */
footer {
  background: var(--obsidian); border-top: 1px solid var(--border);
  padding: 3rem; max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem;
}
.footer-brand { font-family: var(--serif); font-size: 18px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--white); }
.footer-brand small { display: block; font-family: var(--mono); font-size: 9px; color: var(--muted); letter-spacing: .1em; margin-top: 4px; font-style: normal; }
.footer-certs { display: flex; gap: 8px; justify-content: center; }
.footer-legal { font-family: var(--mono); font-size: 10px; color: var(--muted); text-align: right; letter-spacing: .04em; }
.footer-legal a { color: var(--muted); text-decoration: none; }
.footer-legal a:hover { color: var(--light); }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.stagger > *:nth-child(1) { transition-delay: .05s; }
.stagger > *:nth-child(2) { transition-delay: .15s; }
.stagger > *:nth-child(3) { transition-delay: .25s; }
.stagger > *:nth-child(4) { transition-delay: .35s; }
.stagger > *:nth-child(5) { transition-delay: .45s; }
.stagger > *:nth-child(6) { transition-delay: .55s; }

/* SERVE LIST */
.serve-list { list-style: none; }
.serve-list li { display: flex; gap: 14px; padding: 1.25rem 0; border-bottom: 1px solid var(--border); font-size: 14px; font-weight: 300; color: var(--light); line-height: 1.6; }
.serve-list li:first-child { padding-top: 0; }
.serve-list li:last-child { border-bottom: none; }
.serve-list li::before { content: '→'; color: var(--gold2); flex-shrink: 0; font-family: var(--mono); font-size: 12px; margin-top: 2px; }
.serve-list li strong { color: var(--white); font-weight: 500; }

@media (max-width: 900px) {
  .nav { padding: 0 1.5rem; }
  .nav-links { display: none; }
  .page-hero { padding: 8rem 1.5rem 4rem; }
  .section { padding: 4rem 1.5rem; }
  .split { grid-template-columns: 1fr; gap: 3rem; padding: 4rem 1.5rem; }
  .grid-3, .team-grid { grid-template-columns: 1fr; }
  .grid-2, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  footer { grid-template-columns: 1fr; text-align: center; padding: 2rem 1.5rem; }
  .footer-legal { text-align: center; }
}
