:root {
  --navy: #0D1B2A;
  --steel: #1B4F72;
  --gold-bright: #FFE135;
  --gold: #C9973A;
  --white: #FFFFFF;
  --mid: #6B7280;
  --border: rgba(201,151,58,0.25);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a, button { -webkit-tap-highlight-color: rgba(201,151,58,0.25); }

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 4rem;
  background: rgba(13,27,42,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-bright);
  letter-spacing: 0.05em;
}

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

.nav-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

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

/* INTRO */
.intro {
  min-height: 100vh;
  min-height: calc(var(--vh, 1vh) * 100);
  display: flex;
  align-items: center;
  padding: 8rem 4rem 4rem;
  position: relative;
  overflow: hidden;
}

.intro-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 1.5s ease-in-out;
  z-index: 0;
}

.intro-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13,27,42,0.55) 0%,
    rgba(13,27,42,0.35) 50%,
    rgba(13,27,42,0.20) 100%
  );
  z-index: 1;
}

.intro-content {
  max-width: 800px;
  position: relative;
  z-index: 2;
  text-align: center;
  margin: 0 auto;
  background: rgba(13,27,42,0.40);
  padding: 2.5rem 3rem;
  border-radius: 8px;
}

.intro-eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.2s;
  text-shadow: 0 1px 4px rgba(0,0,0,0.9), 0 0 10px rgba(0,0,0,0.7);
}

.intro-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.0;
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.4s;
  text-shadow: 0 2px 8px rgba(0,0,0,0.95), 0 0 24px rgba(0,0,0,0.8);
}

.intro-name span { color: var(--gold); }

.intro-title {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 500;
  color: rgba(255,255,255,1);
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.6s;
  text-shadow: 0 1px 6px rgba(0,0,0,0.95), 0 0 12px rgba(0,0,0,0.8);
}

.intro-summary {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255,255,255,1);
  max-width: 650px;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.8s;
  font-weight: 500;
  text-shadow: 0 1px 6px rgba(0,0,0,0.95), 0 0 12px rgba(0,0,0,0.8);
}

.intro-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 1s;
  justify-content: center;
}

/* BUTTONS */
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  padding: 0.9rem 2rem;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
  touch-action: manipulation;
}

.btn-primary:hover {
  background: #e0aa44;
  transform: translateY(-2px);
}

.btn-primary-nowrap {
  white-space: nowrap;
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  padding: 0.9rem 2rem;
  border: 1px solid rgba(255,255,255,0.4);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
  touch-action: manipulation;
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* STATS */
.stats {
  background: var(--steel);
  padding: 3rem 4rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat { text-align: center; }

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.25rem;
  display: block;
}

/* SECTION BASE */
section { padding: 6rem 4rem; }

.section-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin-bottom: 3rem;
}

/* SERVICES */
#services { background: #0A1520; }

.services-intro {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.7);
  max-width: 650px;
  margin-bottom: 4rem;
}

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

.service-card {
  background: var(--navy);
  border: 1px solid var(--border);
  padding: 2.5rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 0;
  background: var(--gold);
  transition: height 0.3s;
}

.service-card:hover::before { height: 100%; }
.service-card:hover { transform: translateY(-4px); border-color: var(--gold); }

.service-icon { font-size: 2rem; margin-bottom: 1.5rem; }

.service-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.service-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
}

/* EXPERIENCE */
#experience { background: var(--navy); }

.experience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.exp-card {
  background: #0A1520;
  border: 1px solid var(--border);
  padding: 2rem;
  transition: border-color 0.3s;
}

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

.exp-company {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.exp-role {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

@media (min-width: 769px) {
  .exp-role {
    white-space: nowrap;
  }
}

.exp-highlight {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
}

/* ARTICLE */
#article { background: #0A1520; }

.article-card {
  background: var(--navy);
  border: 1px solid var(--border);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  max-width: 900px;
  transition: border-color 0.3s;
}

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

.article-tag {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 1rem;
}

.article-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.article-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.5rem;
}

.article-meta {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  font-style: italic;
}

/* CONTACT */
#contact { background: var(--navy); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-intro {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.7);
  margin-bottom: 2rem;
}

.contact-details { display: flex; flex-direction: column; gap: 1rem; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
}

.contact-item a {
  color: var(--gold);
  text-decoration: none;
  transition: opacity 0.2s;
}

.contact-item a:hover { opacity: 0.8; }

.contact-dot {
  width: 8px; height: 8px;
  background: var(--gold);
  flex-shrink: 0;
}

.availability {
  background: #0A1520;
  border: 1px solid var(--border);
  padding: 2rem;
  margin-top: 2rem;
}

.availability-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--gold);
}

.availability-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.availability-list li {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  padding-left: 1rem;
  position: relative;
}

.availability-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* FOOTER */
footer {
  background: #060D14;
  padding: 2rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
}

.footer-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-bright);
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
}

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  nav {
    padding: calc(0.9rem + env(safe-area-inset-top)) 1.25rem 0.9rem;
  }

  .nav-logo {
    font-size: 1rem;
  }

  .nav-links { display: none; }

  .intro {
    align-items: flex-end;
    padding: calc(5rem + env(safe-area-inset-top)) 1.25rem 2rem;
  }

  .intro-bg {
    background-position: center top;
  }

  .intro-overlay {
    background: linear-gradient(
      180deg,
      rgba(13,27,42,0.30) 0%,
      rgba(13,27,42,0.58) 45%,
      rgba(13,27,42,0.86) 100%
    );
  }

  .intro-content {
    width: 100%;
    padding: 1.5rem;
  }

  .intro-eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    margin-bottom: 1rem;
  }

  .intro-name {
    font-size: clamp(2.8rem, 15vw, 4.2rem);
  }

  .intro-title {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
  }

  .intro-summary {
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 2rem;
  }

  .intro-cta {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
    padding: 0.95rem 1.25rem;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    padding: 2rem 1.25rem;
    gap: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  section { padding: 4rem 1.25rem; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 1.75rem; }
  .experience-grid { grid-template-columns: 1fr; }
  .exp-card { padding: 1.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .article-card {
    grid-template-columns: 1fr;
    padding: 1.75rem;
    gap: 2rem;
  }

  .contact-item {
    align-items: flex-start;
    line-height: 1.5;
  }

  .availability {
    padding: 1.5rem;
    margin-top: 0;
  }

  footer { flex-direction: column; gap: 1rem; text-align: center; padding: 1.5rem; }
}

@media (max-width: 420px) {
  .intro {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .intro-content {
    padding: 1.25rem;
  }

  .intro-summary {
    font-size: 0.9rem;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .article-title {
    font-size: 1.35rem;
  }
}

@media (hover: none) {
  .btn-primary:hover,
  .btn-secondary:hover,
  .service-card:hover {
    transform: none;
  }

  .service-card:hover::before {
    height: 0;
  }
}
