*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #003366;
  --navy-mid: #004080;
  --navy-light: #1A5CA8;
  --white: #FFFFFF;
  --off-white: #F5F6F8;
  --gray: #999999;
  --gray-light: #E8EAED;
  --ink: #1A1A1A;
  --ink-mid: #444;
  --rule: rgba(0,51,102,0.12);
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── PROGRESS BAR ── */
#progress-bar-track {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(0,0,0,0.15);
  z-index: 9999;
  pointer-events: none;
}

#progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #3a82c4, #ffffff);
  transition: width 0.1s linear;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 3px; left: 0; right: 0;
  z-index: 500;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  background: rgba(0,51,102,0.0);
  backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
}

nav.scrolled {
  background: rgba(0,51,102,0.97);
  backdrop-filter: blur(12px);
  border-color: rgba(255,255,255,0.08);
}

.nav-name {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1.45rem;
  color: var(--white);
  letter-spacing: 0.02em;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

.nav-links {
  display: flex;
  gap: 2.25rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  transition: color 0.2s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1.5px;
  background: var(--white);
  transition: width 0.25s ease;
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 71px; left: 0; right: 0;
  background: rgba(0,40,90,0.99);
  backdrop-filter: blur(16px);
  z-index: 499;
  flex-direction: column;
  padding: 1rem 5vw 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transform: translateY(-10px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color 0.2s, padding-left 0.2s;
}

.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--white); padding-left: 8px; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 100px 6vw 80px 8vw;
  gap: 0;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  will-change: transform;
}

.hero-orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(26,92,168,0.7) 0%, transparent 70%);
  top: -15%; right: -5%;
}

.hero-orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,80,160,0.6) 0%, transparent 70%);
  bottom: -10%; left: 10%;
}

.hero-orb-3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(10,50,120,0.5) 0%, transparent 70%);
  top: 30%; left: -8%;
}

.hero-grid-decoration {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.5rem;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px; height: 1.5px;
  background: rgba(255,255,255,0.4);
}

.hero-name {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: clamp(3rem, 5.5vw, 5rem);
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 1.75rem;
  letter-spacing: -0.01em;
}

.hero-name span { display: block; color: var(--white); }

.hero-tagline {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  color: rgba(255,255,255,0.72);
  font-weight: 300;
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 2.75rem;
  padding-left: 1.25rem;
  border-left: 2px solid rgba(255,255,255,0.25);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border-radius: 2px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.btn-hero-primary:hover {
  background: #e8f0f8;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border-radius: 2px;
  border: 1.5px solid rgba(255,255,255,0.3);
  transition: border-color var(--transition), color var(--transition), transform var(--transition);
}

.btn-hero-ghost:hover {
  border-color: rgba(255,255,255,0.7);
  color: var(--white);
  transform: translateY(-3px);
}

.hero-photo-col {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.hero-photo-main {
  width: 52%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  border-radius: 4px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
  display: block;
  flex-shrink: 0;
  z-index: 2;
}

.hero-photo-side {
  width: 36%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  border-radius: 6px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.3);
  display: block;
  flex-shrink: 0;
  opacity: 0.85;
  margin-top: 2rem;
}

/* ── SCROLL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }
.reveal-delay-4 { transition-delay: 0.6s; }

/* ── WAVE DIVIDERS ── */
.wave-divider {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-bottom: -2px;
}

.wave-divider svg {
  display: block;
  width: 100%;
}

/* ── SECTIONS ── */
section { padding: 100px 5vw; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 0.75rem;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 20px; height: 1.5px;
  background: var(--gray);
}

.section-title {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.section-body {
  font-size: 1.05rem;
  color: var(--ink-mid);
  line-height: 1.85;
  max-width: 640px;
}

/* ── ABOUT ── */
.about {
  background: var(--off-white);
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 6vw;
  align-items: start;
}

.about-text { display: flex; flex-direction: column; gap: 1.25rem; }

.about-quote {
  background: var(--navy);
  padding: 3rem 2.5rem;
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,51,102,0.2);
}

.about-quote::before {
  content: '\201C';
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 8rem;
  color: rgba(255,255,255,0.07);
  line-height: 1;
  position: absolute;
  top: -0.5rem;
  left: 1rem;
  pointer-events: none;
}

.about-quote::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, rgba(255,255,255,0.3), transparent);
}

.about-quote p {
  color: rgba(255,255,255,0.9);
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1.15rem;
  line-height: 1.85;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.about-quote .quote-attr {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  font-style: normal;
  font-family: 'Inter', Arial, sans-serif;
  position: relative;
  z-index: 1;
}

/* ── CREDENTIALS ── */
.credentials {
  background: var(--white);
  padding-top: 80px;
}

.cred-intro {
  font-size: 1.05rem;
  color: var(--ink-mid);
  line-height: 1.8;
  max-width: 620px;
  margin-bottom: 3rem;
}

.cred-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.cred-card {
  padding: 2rem 1.75rem;
  border: 1px solid var(--gray-light);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  background: var(--white);
  opacity: 0;
  transform: translateY(28px);
}

.cred-card.card-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow var(--transition), border-color var(--transition);
}

.cred-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.cred-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,51,102,0.1);
  border-color: rgba(0,51,102,0.15);
}

.cred-card:hover::before { transform: scaleX(1); }

.cred-icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  display: block;
}

.cred-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
  letter-spacing: 0.01em;
}

.cred-card p {
  font-size: 0.875rem;
  color: var(--ink-mid);
  line-height: 1.7;
}

/* ── PRIORITIES ── */
.priorities {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.priorities::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.priorities .section-label { color: rgba(255,255,255,0.4); }
.priorities .section-label::before { background: rgba(255,255,255,0.4); }
.priorities .section-title { color: var(--white); }

.priority-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 0.5rem;
  position: relative;
  z-index: 1;
}

.priority-item {
  padding: 2.5rem 2rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 3px;
  background: rgba(255,255,255,0.04);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}

.priority-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0.3), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.priority-item:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-4px);
}

.priority-item:hover::after { transform: scaleX(1); }

.priority-num {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 3.5rem;
  color: rgba(255,255,255,0.08);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.priority-item h3 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: 0.01em;
}

.priority-item p {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  line-height: 1.75;
}

/* ── CONNECT ── */
.connect {
  background: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.connect .section-label { justify-content: center; }
.connect .section-label::before { display: none; }

.connect-title {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.connect-body {
  font-size: 1.05rem;
  color: var(--ink-mid);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.connect-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border-radius: 2px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 16px rgba(0,51,102,0.2);
}

.btn-primary:hover {
  background: var(--navy-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,51,102,0.3);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border-radius: 2px;
  border: 2px solid var(--navy);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-3px);
}

/* ── FOOTER ── */
footer {
  background: #0d1b2e;
  color: rgba(255,255,255,0.35);
  padding: 1.75rem 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}

footer .footer-name {
  font-family: 'EB Garamond', Georgia, serif;
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
}

/* ── BACK TO TOP ── */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 400;
  width: 44px; height: 44px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,51,102,0.35);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s;
  pointer-events: none;
}

#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#back-to-top:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
}

#back-to-top svg { display: block; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .priority-list { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .cred-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .hamburger { display: flex; }
  .nav-links { display: none; }

  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    padding-top: 110px;
    padding-bottom: 60px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-inner { display: contents; }

  .hero-eyebrow { justify-content: flex-start; align-self: flex-start; order: 1; }
  .hero-name { order: 2; }
  .hero-name span {
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: white;
    background-clip: unset;
    color: white;
  }
  .hero-photo-col { order: 3; justify-content: center; width: 100%; margin-bottom: 1.5rem; gap: 0; position: relative; z-index: 1; }
  .hero-photo-side { display: none; pointer-events: none; }
  .hero-photo-main { width: 240px; position: relative; z-index: 1; }
  .hero-tagline { order: 4; border-left: none; padding-left: 0; border-top: 1.5px solid rgba(255,255,255,0.2); padding-top: 1rem; position: relative; z-index: 2; }
  .hero-actions { order: 5; justify-content: center; position: relative; z-index: 10; }
  .btn-hero-primary, .btn-hero-ghost { position: relative; z-index: 10; }

  .about-grid { grid-template-columns: 1fr; }
  .cred-grid { grid-template-columns: 1fr; }
  .priority-list { grid-template-columns: 1fr; }
  .connect-links { flex-direction: column; align-items: center; }
  .btn-primary, .btn-outline, .btn-hero-primary, .btn-hero-ghost { width: 100%; max-width: 300px; justify-content: center; }

  section { padding: 70px 6vw; }
  footer { text-align: center; justify-content: center; }
  #back-to-top { bottom: 1.25rem; right: 1.25rem; }
}