/* ===========================
   CSS VARIABLES & RESET
   =========================== */
:root {
  --navy-deep: #050e1a;
  --navy: #0a1628;
  --navy-mid: #0f2040;
  --navy-light: #1a3560;
  --gold: #c9a84c;
  --gold-light: #e2c47a;
  --gold-pale: #f5e9cc;
  --white: #ffffff;
  --off-white: #f8f6f1;
  --text-muted: #8a9ab5;
  --text-light: #c5cfe0;
  --border: rgba(201, 168, 76, 0.15);
  --border-subtle: rgba(255, 255, 255, 0.06);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'DM Mono', monospace;

  --nav-height: 70px;
  --container: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--navy-deep);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===========================
   UTILITIES
   =========================== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.gold { color: var(--gold); }

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-eyebrow.center { text-align: center; }

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in { animation: fadeIn 0.8s ease forwards; }
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

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

/* ===========================
   NAVIGATION
   =========================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(5, 14, 26, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--text-light);
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: color 0.2s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.2s;
}

.nav-link:hover,
.nav-link.active { color: var(--white); }
.nav-link.active::after { transform: scaleX(1); }

.nav-cta {
  font-size: 12px;
  font-weight: 500;
  color: var(--navy-deep);
  background: var(--gold);
  text-decoration: none;
  padding: 8px 20px;
  letter-spacing: 0.5px;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--gold-light); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-light);
  transition: all 0.3s;
}

/* ===========================
   MOBILE MENU
   =========================== */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: var(--navy);
  border-bottom: 1px solid var(--border);
  z-index: 99;
  padding: 24px 32px;
  flex-direction: column;
  gap: 0;
}
.mobile-menu.open { display: flex; }
.mobile-link {
  font-size: 15px;
  color: var(--text-light);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: color 0.2s;
}
.mobile-link:last-child { border-bottom: none; }
.mobile-link:hover { color: var(--gold); }

/* ===========================
   HERO
   =========================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 60px) 40px 80px;
  max-width: var(--container);
  margin: 0 auto;
  gap: 60px;
  position: relative;
}

.hero-bg-pattern {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(201, 168, 76, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(10, 22, 40, 0.8) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content { flex: 1; }

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  opacity: 0;
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(72px, 10vw, 110px);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -2px;
  margin-bottom: 28px;
  opacity: 0;
}

.hero-sub {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 40px;
  opacity: 0;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  opacity: 0;
}

.btn-primary {
  font-size: 13px;
  font-weight: 500;
  color: var(--navy-deep);
  background: var(--gold);
  text-decoration: none;
  padding: 14px 32px;
  letter-spacing: 0.5px;
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-ghost {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-light);
  background: transparent;
  text-decoration: none;
  padding: 13px 32px;
  letter-spacing: 0.5px;
  border: 1px solid var(--border);
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  opacity: 0;
}
.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}
.meta-item svg { color: var(--gold); opacity: 0.7; flex-shrink: 0; }
.meta-divider { color: var(--border); font-size: 16px; }

/* Hero Card */
.hero-visual { flex-shrink: 0; width: 300px; opacity: 0; }

.hero-card {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  padding: 32px;
  position: relative;
}
.hero-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.hc-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
  opacity: 0.7;
}
.hc-company { font-family: var(--font-display); font-size: 22px; font-weight: 500; margin-bottom: 2px; }
.hc-role { font-size: 13px; color: var(--text-light); margin-bottom: 2px; }
.hc-since { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); }
.hc-divider { height: 1px; background: var(--border-subtle); margin: 20px 0; }
.hc-edu { font-size: 14px; font-weight: 500; margin-bottom: 2px; }
.hc-school { font-size: 12px; color: var(--text-muted); }
.hc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.hc-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gold);
  border: 1px solid rgba(201, 168, 76, 0.3);
  padding: 3px 8px;
  letter-spacing: 0.5px;
}

/* ===========================
   ABOUT STRIP
   =========================== */
.about-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
  background: var(--navy);
}

.strip-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.strip-stat {
  flex: 1;
  text-align: center;
  padding: 0 40px;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.strip-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

/* ===========================
   PROFILE SECTION
   =========================== */
.profile-section { padding: 100px 0; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.profile-text {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.85;
  margin-bottom: 20px;
}

.inline-link {
  font-size: 13px;
  color: var(--gold);
  text-decoration: none;
  font-family: var(--font-mono);
  letter-spacing: 0.5px;
  transition: opacity 0.2s;
}
.inline-link:hover { opacity: 0.7; }

/* ===========================
   COMPANIES
   =========================== */
.companies-section {
  padding: 60px 0 100px;
  border-top: 1px solid var(--border-subtle);
}

.companies-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 40px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
}

.company-item {
  background: var(--navy-deep);
  padding: 32px 28px;
  transition: background 0.2s;
}
.company-item:hover { background: var(--navy-mid); }

.company-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 6px;
}
.company-period {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 1px;
  opacity: 0.7;
}

/* ===========================
   CTA SECTION
   =========================== */
.cta-section {
  padding: 100px 0;
  background: var(--navy);
  border-top: 1px solid var(--border);
}

.cta-inner { text-align: center; }

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 300;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.cta-sub {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 36px;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  padding: 28px 0;
  border-top: 1px solid var(--border-subtle);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--gold);
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* ===========================
   PAGE HEADER
   =========================== */
.page-header {
  padding: calc(var(--nav-height) + 80px) 0 60px;
  background: var(--navy);
  border-bottom: 1px solid var(--border);
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.page-sub {
  font-size: 15px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.5px;
}

/* ===========================
   TIMELINE (Experience)
   =========================== */
.timeline-section { padding: 80px 0; }

.timeline-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 0 32px;
  margin-bottom: 60px;
}

.timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 6px;
}

.marker-dot {
  width: 10px;
  height: 10px;
  border: 2px solid var(--gold);
  background: var(--navy-deep);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.marker-line {
  width: 1px;
  flex: 1;
  background: var(--border);
  margin-top: 8px;
}

.timeline-content {
  background: var(--navy);
  border: 1px solid var(--border-subtle);
  padding: 36px;
  position: relative;
  transition: border-color 0.2s;
}
.timeline-content:hover { border-color: var(--border); }
.timeline-content::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gold);
  opacity: 0.4;
  transition: opacity 0.2s;
}
.timeline-content:hover::before { opacity: 1; }

.exp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.exp-company {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 4px;
}

.exp-role {
  font-size: 14px;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 2px;
}

.exp-location {
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.5px;
}

.exp-period {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  white-space: nowrap;
  padding-top: 4px;
}

.exp-project {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  padding: 14px 16px;
  border-left: 2px solid rgba(201, 168, 76, 0.25);
  margin-bottom: 20px;
  font-style: italic;
}

.exp-project .project-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-style: normal;
  margin-right: 8px;
  vertical-align: middle;
}

.exp-bullets {
  list-style: none;
  margin-bottom: 24px;
}

.exp-bullets li {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.75;
  padding: 6px 0 6px 18px;
  position: relative;
  border-bottom: 1px solid var(--border-subtle);
}
.exp-bullets li:last-child { border-bottom: none; }
.exp-bullets li::before {
  content: '·';
  color: var(--gold);
  position: absolute;
  left: 4px;
  font-size: 18px;
  line-height: 1.4;
}

.exp-bullets strong { color: var(--white); font-weight: 500; }

.exp-env { margin-top: 20px; }

.env-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: block;
}

.env-tags { display: flex; flex-wrap: wrap; gap: 6px; }

.env-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  padding: 4px 10px;
  letter-spacing: 0.3px;
  transition: border-color 0.2s, color 0.2s;
}
.env-tag:hover { border-color: rgba(201, 168, 76, 0.4); color: var(--gold); }

/* Education */
.edu-section {
  padding: 60px 0 80px;
  border-top: 1px solid var(--border-subtle);
}

.edu-card {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: var(--navy);
  border: 1px solid var(--border);
  padding: 32px;
  max-width: 500px;
  margin-top: 24px;
}

.edu-icon {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}

.edu-degree {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 4px;
}
.edu-school { font-size: 13px; color: var(--text-light); margin-bottom: 2px; }
.edu-location { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); }

/* ===========================
   SKILLS PAGE
   =========================== */
.skills-section { padding: 80px 0; }

.skill-featured {
  margin-bottom: 60px;
}

.skill-featured-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.cloud-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border);
}

.cloud-card {
  background: var(--navy);
  padding: 28px;
  position: relative;
  transition: background 0.2s;
}
.cloud-card:hover { background: var(--navy-mid); }
.cloud-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
}
.cloud-card.aws::before { background: #FF9900; }
.cloud-card.azure::before { background: #0089d6; }
.cloud-card.gcp::before { background: #4285F4; }

.cloud-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 10px;
}

.cloud-services {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
}

.skill-block {
  background: var(--navy-deep);
  padding: 28px;
  transition: background 0.2s;
}
.skill-block:hover { background: var(--navy); }

.skill-block-icon {
  color: var(--gold);
  opacity: 0.7;
  margin-bottom: 12px;
}

.skill-block-title {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 14px;
  color: var(--white);
  letter-spacing: 0.2px;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.skill-tags span {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  padding: 4px 9px;
  letter-spacing: 0.3px;
  transition: border-color 0.2s, color 0.2s;
}
.skill-tags span:hover { border-color: rgba(201, 168, 76, 0.4); color: var(--gold); }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 900px) {
  .nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .hero {
    flex-direction: column;
    padding: calc(var(--nav-height) + 40px) 24px 60px;
    gap: 40px;
    min-height: auto;
  }
  .hero-visual { width: 100%; }
  .hero-name { font-size: 64px; }

  .strip-grid { flex-wrap: wrap; }
  .strip-divider { display: none; }
  .strip-stat { width: 50%; flex: none; padding: 20px; }

  .two-col { grid-template-columns: 1fr; gap: 40px; }

  .companies-grid { grid-template-columns: repeat(2, 1fr); }

  .timeline-item { grid-template-columns: 1fr; }
  .timeline-marker { display: none; }
  .timeline-content { padding: 24px; }

  .cloud-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }

  .container { padding: 0 24px; }

  .exp-header { flex-direction: column; gap: 8px; }
}

@media (max-width: 560px) {
  .hero-name { font-size: 52px; }
  .companies-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
  .strip-stat { width: 100%; }
  .hero-meta { flex-direction: column; gap: 8px; align-items: flex-start; }
  .meta-divider { display: none; }
}
