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

:root {
  --navy: #0f1f3d;
  --navy-light: #1a3260;
  --gold: #c9a84c;
  --gold-light: #e8d5a3;
  --white: #ffffff;
  --off-white: #f8f7f4;
  --gray-light: #f0eeea;
  --gray-mid: #d4d0c8;
  --gray-text: #6b6b6b;
  --text: #1a1a2e;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--off-white); }

/* ── LOADING ── */
#loading {
  position: fixed; inset: 0; background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999; transition: opacity 0.4s;
}
#loading.hidden { opacity: 0; pointer-events: none; }
.loader-inner { text-align: center; }
.loader-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px; font-weight: 600; color: var(--gold);
  margin-bottom: 1rem; letter-spacing: 4px;
}
.loader-bar {
  width: 160px; height: 2px; background: rgba(255,255,255,0.1);
  margin: 0 auto; overflow: hidden;
}
.loader-fill {
  height: 100%; width: 0; background: var(--gold);
  animation: load 1.2s ease forwards;
}
@keyframes load { to { width: 100%; } }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--navy);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 3rem; height: 64px;
  border-bottom: 2px solid var(--gold);
}
.nav-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 600;
  color: var(--white); letter-spacing: 0.5px; white-space: nowrap;
}
.nav-brand span { color: var(--gold); }

.nav-toggle { display: none; background: none; border: none; color: white; font-size: 22px; cursor: pointer; }

.nav-links { display: flex; gap: 2px; }
.nav-links a {
  font-size: 12px; font-weight: 500; letter-spacing: 1.5px;
  text-transform: uppercase; text-decoration: none;
  color: rgba(255,255,255,0.6);
  padding: 8px 14px; border-radius: 2px;
  cursor: pointer; transition: color 0.2s, background 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--gold); background: rgba(201,168,76,0.1);
}

/* ── PAGES ── */
.page { padding-top: 64px; min-height: 100vh; }
.page.hidden { display: none; }

/* ── HOME ── */
.hero {
  display: grid; grid-template-columns: 1fr 420px;
  min-height: calc(100vh - 64px); align-items: center;
}
.hero-text { padding: 5rem 4rem 5rem 5rem; }

.hero-eyebrow {
  font-size: 11px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold); font-weight: 500; margin-bottom: 1.25rem;
}
.hero-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 6vw, 80px); font-weight: 600; line-height: 1.0;
  color: var(--navy); margin-bottom: 0.5rem;
}
.hero-name em { font-style: italic; color: var(--gold); }
.hero-profession {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 400; font-style: italic;
  color: var(--gray-text); margin-bottom: 2rem;
  border-left: 3px solid var(--gold); padding-left: 1rem;
}
.hero-bio {
  font-size: 15px; font-weight: 300; line-height: 1.8;
  color: #444; max-width: 480px; margin-bottom: 2.5rem;
}
.hero-contact { display: flex; flex-direction: column; gap: 8px; margin-bottom: 2.5rem; }
.hero-contact-item {
  font-size: 13px; color: var(--gray-text);
  display: flex; align-items: center; gap: 10px;
}
.hero-contact-item a { color: var(--navy); text-decoration: none; font-weight: 500; }
.hero-contact-item a:hover { color: var(--gold); }
.contact-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-primary {
  background: var(--navy); color: var(--white);
  font-size: 12px; font-weight: 500; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 13px 28px;
  border: 2px solid var(--navy); cursor: pointer;
  text-decoration: none; display: inline-block;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--navy-light); }
.btn-outline {
  background: transparent; color: var(--navy);
  font-size: 12px; font-weight: 500; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 13px 28px;
  border: 2px solid var(--navy); cursor: pointer;
  text-decoration: none; display: inline-block;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.hero-photo-panel {
  height: 100%; background: var(--navy);
  position: relative; overflow: hidden;
  min-height: calc(100vh - 64px);
}
.hero-photo-panel img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  opacity: 0.85; display: block;
}
.photo-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(15,31,61,0.9) 0%, transparent 60%);
  padding: 2.5rem;
}
.photo-tag { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-light); font-weight: 500; }

/* STATS BAR */
.stats-bar {
  background: var(--navy);
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid var(--gold);
}
.stat-item {
  padding: 2rem 1.5rem; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px; font-weight: 600; color: var(--gold); line-height: 1;
}
.stat-desc {
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.45); margin-top: 6px;
}

/* ── PAGE HEADER ── */
.page-header {
  background: var(--navy); padding: 4rem 5rem 3rem;
  border-bottom: 2px solid var(--gold);
}
.page-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px; font-weight: 600; color: var(--white); line-height: 1; margin-bottom: 8px;
}
.page-header h1 em { font-style: italic; color: var(--gold); }
.page-header p { font-size: 15px; font-weight: 300; color: rgba(255,255,255,0.55); margin-top: 8px; }

.page-body { padding: 4rem 5rem; max-width: 1100px; }

/* ── EXPERIENCE ── */
.exp-grid { display: flex; flex-direction: column; }
.exp-card {
  display: grid; grid-template-columns: 200px 1fr;
  border-bottom: 1px solid var(--gray-mid); padding: 2.5rem 0;
}
.exp-card:first-child { padding-top: 0; }
.exp-card:last-child { border-bottom: none; }
.exp-left { padding-right: 2rem; }
.exp-date { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 8px; }
.exp-company { font-size: 13px; font-weight: 500; color: var(--navy); margin-bottom: 4px; }
.exp-location { font-size: 12px; color: var(--gray-text); font-weight: 300; }
.exp-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; font-weight: 600; font-style: italic; color: var(--navy); margin-bottom: 12px;
}
.exp-bullets { list-style: none; }
.exp-bullets li {
  font-size: 14px; font-weight: 300; color: #444;
  line-height: 1.7; padding: 3px 0 3px 20px; position: relative;
}
.exp-bullets li::before {
  content: ''; position: absolute; left: 0; top: 13px;
  width: 6px; height: 1px; background: var(--gold);
}
.exp-bullets li strong { font-weight: 500; color: var(--text); }

/* ── EDUCATION ── */
.edu-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem; margin-bottom: 3rem;
}
.edu-card {
  background: var(--white); border: 1px solid var(--gray-mid);
  border-top: 3px solid var(--gold); padding: 2rem;
}
.edu-card .degree {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 600; font-style: italic;
  color: var(--navy); margin-bottom: 8px; line-height: 1.2;
}
.edu-card .school { font-size: 13px; font-weight: 500; color: var(--text); margin-bottom: 4px; }
.edu-card .details { font-size: 12px; color: var(--gray-text); font-weight: 300; line-height: 1.6; }
.edu-card .year { margin-top: 16px; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); font-weight: 500; }

.section-h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; color: var(--navy); margin-bottom: 1.25rem;
}
.cert-section { margin-top: 3rem; border-top: 2px solid var(--navy); padding-top: 2.5rem; }
.cert-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.cert-card { background: var(--navy); padding: 1.5rem; border-bottom: 3px solid var(--gold); }
.cert-name { font-size: 14px; font-weight: 500; color: var(--white); margin-bottom: 4px; }
.cert-issuer { font-size: 12px; color: rgba(255,255,255,0.5); font-weight: 300; }
.cert-year { font-size: 20px; font-family: 'Cormorant Garamond', serif; color: var(--gold); font-weight: 600; margin-top: 12px; }

.lang-block { margin-top: 2rem; background: var(--gray-light); padding: 2rem; border-left: 4px solid var(--gold); }
.lang-label { font-size: 13px; color: var(--gray-text); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 500; }
.lang-values { font-family: 'Cormorant Garamond', serif; font-size: 20px; color: var(--navy); }

/* ── SKILLS ── */
.skills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.skill-card { background: var(--white); border: 1px solid var(--gray-mid); padding: 1.75rem; }
.skill-card-title {
  font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--gold); font-weight: 500; margin-bottom: 14px;
  padding-bottom: 10px; border-bottom: 1px solid var(--gray-mid);
}
.skill-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-tag {
  font-size: 12px; font-weight: 400;
  background: var(--gray-light); color: var(--text);
  padding: 4px 12px; border: 1px solid var(--gray-mid);
}

/* ── ACHIEVEMENTS ── */
.achieve-list { display: flex; flex-direction: column; }
.achieve-item {
  display: grid; grid-template-columns: 80px 1fr;
  gap: 2rem; padding: 2.5rem 0;
  border-bottom: 1px solid var(--gray-mid); align-items: start;
}
.achieve-item:first-child { padding-top: 0; }
.achieve-item:last-child { border-bottom: none; }
.achieve-icon {
  width: 64px; height: 64px; background: var(--navy);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.achieve-icon svg { width: 28px; height: 28px; fill: var(--gold); }
.achieve-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px; font-weight: 600; color: var(--gold); line-height: 1; margin-bottom: 8px;
}
.achieve-title { font-size: 16px; font-weight: 500; color: var(--navy); margin-bottom: 6px; }
.achieve-desc { font-size: 14px; font-weight: 300; color: #555; line-height: 1.7; }
.achieve-badge {
  display: inline-block; margin-top: 10px;
  font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase;
  background: var(--gold); color: var(--navy); padding: 3px 10px; font-weight: 500;
}

/* ── CONTACT ── */
.contact-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; }
.info-cards { display: flex; flex-direction: column; gap: 12px; margin-top: 0.5rem; }
.info-card {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--gray-mid); padding: 1rem 1.25rem;
}
.info-icon {
  width: 36px; height: 36px; background: var(--navy);
  color: var(--gold); display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600; flex-shrink: 0;
}
.info-label { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--gray-text); margin-bottom: 2px; }
.info-val { font-size: 14px; font-weight: 400; color: var(--navy); text-decoration: none; }
.info-val:hover { color: var(--gold); }

.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 12px; font-weight: 500; color: var(--gray-text); letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 6px; }
.form-group input, .form-group textarea {
  width: 100%; border: 1px solid var(--gray-mid); padding: 12px 14px;
  font-size: 14px; font-family: inherit; outline: none; background: var(--white);
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--navy); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-result { margin-top: 14px; font-size: 14px; padding: 10px 14px; }
.form-result.success { background: #ecfdf5; color: #166534; border-left: 3px solid #16a34a; }
.form-result.error { background: #fef2f2; color: #991b1b; border-left: 3px solid #dc2626; }

/* ── FOOTER ── */
footer { background: var(--navy); text-align: center; padding: 2rem; border-top: 2px solid var(--gold); }
footer p { font-size: 12px; color: rgba(255,255,255,0.35); letter-spacing: 1px; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-photo-panel { min-height: 55vw; order: -1; }
  .hero-text { padding: 2.5rem 2rem; }
  .page-header { padding: 3rem 2rem 2rem; }
  .page-body { padding: 2.5rem 2rem; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .exp-card { grid-template-columns: 1fr; gap: 0.5rem; }
  .achieve-item { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 600px) {
  nav { padding: 0 1rem; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none; flex-direction: column; position: absolute;
    top: 64px; left: 0; right: 0; background: var(--navy);
    padding: 1rem; border-top: 1px solid rgba(255,255,255,0.1);
    gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .page-header h1 { font-size: 36px; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
}
