/* ===== Custom Properties ===== */
:root {
  --navy: #000080;
  --navy-dark: #000060;
  --navy-light: #000a99;
  --slate: #708090;
  --slate-light: #8899a6;
  --gold: #D4AF37;
  --gold-light: #e8c84a;
  --white: #f5f5f5;
  --text-primary: #ffffff;
  --text-secondary: #b0b8c0;
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 780px;
  --section-padding: 5rem 1.5rem;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }

a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover { color: var(--gold); }

a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

ul { list-style: none; }

/* ===== Container ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Sticky Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(0, 0, 80, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(112, 128, 144, 0.2);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.site-header.header--visible {
  transform: translateY(0);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.header-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.header-logo:hover { color: var(--gold-light); }

.nav {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
}

.nav-link:hover { color: var(--gold); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
}

.hero-content {
  max-width: 700px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.hero-tagline {
  font-size: 1rem;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.hero-statement {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.hero-location {
  font-size: 0.875rem;
  color: var(--slate);
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border: 1px solid var(--text-secondary);
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.scroll-indicator {
  font-size: 1.5rem;
  color: var(--slate);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(8px); }
  60% { transform: translateY(4px); }
}

/* ===== Divider ===== */
.divider {
  border: none;
  border-top: 1px solid var(--slate);
  opacity: 0.25;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Sections ===== */
.section {
  padding: var(--section-padding);
}

.section-heading {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--slate-light);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 3rem;
}

/* ===== Metrics ===== */
.metrics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.metric {
  padding-left: 1.5rem;
  border-left: 2px solid var(--gold);
}

.metric-number {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.metric-label {
  display: block;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ===== Value Proposition ===== */
.value-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.value-item h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.value-item p {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* ===== Experience ===== */
.role {
  margin-bottom: 2.5rem;
  padding-left: 1.5rem;
  border-left: 1px solid rgba(112, 128, 144, 0.3);
}

.role:last-child { margin-bottom: 0; }

.role-company {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.role-title {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

.role-meta {
  font-size: 0.875rem;
  color: var(--slate);
  margin-bottom: 0.75rem;
}

.role-summary {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== Credentials ===== */
.credentials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.credentials-col h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.credentials-col ul {
  list-style: none;
}

.credentials-col li {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  padding-left: 1rem;
  position: relative;
}

.credentials-col li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
}

/* ===== Footer ===== */
.site-footer {
  padding: 5rem 1.5rem 3rem;
  text-align: center;
  border-top: 1px solid rgba(112, 128, 144, 0.25);
}

.site-footer .section-heading {
  margin-bottom: 2rem;
}

.contact-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.contact-link {
  font-size: 1.125rem;
  color: var(--text-primary);
  border-bottom: 1px solid var(--slate);
  padding-bottom: 2px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.contact-link:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.footer-location {
  font-size: 0.875rem;
  color: var(--slate);
  margin-bottom: 2rem;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--slate);
}

/* ===== Animations ===== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (min-width: 768px) {
  :root {
    --section-padding: 6rem 1.5rem;
  }

  .metrics-grid {
    grid-template-columns: 1fr 1fr;
  }

  .value-grid {
    grid-template-columns: 1fr 1fr;
  }

  .credentials-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 80, 0.98);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid rgba(112, 128, 144, 0.2);
  }

  .nav.nav--open {
    display: flex;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .scroll-indicator { animation: none; }
}
