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

/* ─── TOKENS ─────────────────────────────────────────────────────── */
:root {
  --navy:       #0C1F4A;
  --navy-mid:   #1A3A72;
  --navy-light: #2754A8;
  --gold:       #C9A84C;
  --gold-light: #F0D080;
  --white:      #FFFFFF;
  --off-white:  #F5F7FB;
  --text:       #1A2744;
  --muted:      #5A6E90;
  --border:     #D4DEED;
  --shadow-sm:  0 2px 8px rgba(12,31,74,0.08);
  --shadow-md:  0 8px 28px rgba(12,31,74,0.13);
  --shadow-lg:  0 20px 60px rgba(12,31,74,0.18);
  --radius:     14px;
  --font:       'Inter', system-ui, sans-serif;
  --ease:       0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ─── BASE ───────────────────────────────────────────────────────── */
html  { scroll-behavior: smooth; }
body  { font-family: var(--font); background: var(--off-white); color: var(--text); line-height: 1.65; overflow-x: hidden; }
a     { color: inherit; text-decoration: none; }
ul    { list-style: none; }
img   { max-width: 100%; display: block; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 2rem; }
.section    { padding: 6rem 0; }

.section__label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,168,76,.12);
  border: 1px solid rgba(201,168,76,.3);
  padding: .25rem .85rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.section__title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.section__sub  { color: var(--muted); font-size: 1.05rem; max-width: 560px; }
.section__head { text-align: center; margin-bottom: 4rem; }
.section__head .section__sub { margin: 0 auto; }

/* ─── BUTTONS ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.9rem; border-radius: 8px;
  font-size: .9rem; font-weight: 600;
  cursor: pointer; border: 2px solid transparent;
  transition: all var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--primary  { background: var(--gold); color: var(--navy); }
.btn--primary:hover { background: var(--gold-light); box-shadow: 0 8px 24px rgba(201,168,76,.4); }
.btn--ghost    { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--navy     { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-mid); box-shadow: var(--shadow-md); }
.btn--full     { width: 100%; justify-content: center; }

/* ─── NAV ────────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(12,31,74,.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: box-shadow var(--ease);
}
.nav.scrolled { box-shadow: 0 4px 32px rgba(0,0,0,.35); }
.nav__inner {
  max-width: 1120px; margin: 0 auto; padding: .9rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.nav__logo {
  font-size: 1.1rem; font-weight: 800;
  color: var(--white); letter-spacing: -.5px;
}
.nav__logo span { color: var(--gold); }
.nav__links { display: flex; gap: .25rem; }
.nav__links a {
  color: rgba(255,255,255,.65); font-size: .85rem; font-weight: 500;
  padding: .4rem .85rem; border-radius: 6px;
  transition: all var(--ease);
}
.nav__links a:hover { color: #fff; background: rgba(255,255,255,.1); }
.nav__burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav__burger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; }

/* ─── HERO ───────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, #112356 50%, var(--navy-mid) 100%);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  padding: 8rem 0 0;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 70% 40%, rgba(201,168,76,.07), transparent),
    radial-gradient(ellipse 40% 50% at 20% 80%, rgba(39,84,168,.25), transparent);
  pointer-events: none;
}
.hero__grid {
  max-width: 1120px; margin: 0 auto; padding: 0 2rem;
  display: grid; grid-template-columns: 1fr auto;
  gap: 4rem; align-items: center; position: relative; z-index: 1;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 1.5rem;
}
.hero__eyebrow::before {
  content: ''; display: block; width: 24px; height: 2px; background: var(--gold);
}
.hero__name {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800; line-height: 1.0;
  color: #fff; letter-spacing: -2px;
  margin-bottom: .75rem;
}
.hero__role {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: rgba(255,255,255,.6);
  font-weight: 400; margin-bottom: 1.75rem;
}
.hero__role strong { color: var(--gold); font-weight: 600; }
.hero__desc {
  font-size: 1.05rem; color: rgba(255,255,255,.55);
  max-width: 480px; line-height: 1.75; margin-bottom: 2.5rem;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Photo */
.hero__photo-wrap {
  position: relative; flex-shrink: 0;
}
.hero__photo-ring {
  width: 280px; height: 280px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--navy-light) 100%);
  padding: 4px;
  box-shadow: var(--shadow-lg);
}
.hero__photo-ring img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover; object-position: center top;
  border: 4px solid var(--navy);
}

/* Stats bar */
.hero__stats-bar {
  max-width: 1120px; margin: 3rem auto 0; padding: 0 2rem;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,.1);
  position: relative; z-index: 1;
}
.hero__stat {
  padding: 2rem 0 2.5rem;
  border-right: 1px solid rgba(255,255,255,.1);
  text-align: center;
}
.hero__stat:last-child { border-right: none; }
.hero__stat-num {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800; color: var(--gold);
  letter-spacing: -1px; line-height: 1;
  margin-bottom: .35rem;
}
.hero__stat-label {
  font-size: .75rem; text-transform: uppercase;
  letter-spacing: .1em; color: rgba(255,255,255,.45);
}

/* ─── ABOUT ──────────────────────────────────────────────────────── */
.about { background: var(--white); }
.about__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.about__tag {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--navy-light);
  margin-bottom: 1rem;
}
.about__body p {
  color: var(--muted); line-height: 1.85; margin-bottom: 1.25rem; font-size: .98rem;
}
.about__highlights {
  display: grid; grid-template-columns: 1fr 1fr; gap: .75rem;
  margin: 1.75rem 0 2rem;
}
.highlight {
  display: flex; align-items: flex-start; gap: .6rem;
  background: var(--off-white); border: 1px solid var(--border);
  border-radius: 10px; padding: .85rem 1rem;
}
.highlight__icon { font-size: 1.2rem; flex-shrink: 0; }
.highlight__text { font-size: .82rem; color: var(--text); font-weight: 500; }
.about__visual {
  position: relative; display: flex;
  justify-content: center; align-items: center;
}
.about__photo-frame {
  width: 320px; height: 380px;
  border-radius: 24px; overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--white);
  outline: 3px solid var(--navy);
  outline-offset: 6px;
}
.about__photo-frame img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
}
.about__stats-box {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  width: 100%;
}
.about__stat-item {
  background: var(--navy); border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  display: flex; flex-direction: column; gap: .35rem;
  box-shadow: var(--shadow-md);
}
.about__stat-num {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800; color: var(--gold); letter-spacing: -1px; line-height: 1;
}
.about__stat-lbl {
  font-size: .72rem; text-transform: uppercase;
  letter-spacing: .1em; color: rgba(255,255,255,.5);
}

/* ─── EXPERIENCE ─────────────────────────────────────────────────── */
.experience { background: var(--off-white); }
.timeline { display: flex; flex-direction: column; gap: 0; position: relative; }
.timeline::before {
  content: '';
  position: absolute; left: 193px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, var(--navy), var(--border));
  border-radius: 2px;
}
.timeline__item {
  display: grid; grid-template-columns: 190px 1fr;
  gap: 3rem; padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.timeline__item:last-child { border-bottom: none; }
.timeline__item::before {
  content: ''; position: absolute;
  left: 187px; top: 2.8rem;
  width: 12px; height: 12px;
  background: var(--navy); border: 3px solid var(--gold);
  border-radius: 50%; z-index: 1;
}
.timeline__left { text-align: right; padding-top: .1rem; }
.timeline__logo {
  display: flex; justify-content: flex-end; margin-bottom: .6rem;
}
.timeline__logo img {
  width: 130px; height: 56px;
  object-fit: contain; border-radius: 8px;
  background: var(--white); padding: 6px 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.timeline__logo .logo-emoji {
  font-size: 28px; line-height: 56px;
  width: 130px; text-align: right;
}
.timeline__date  { font-size: .75rem; color: var(--navy-light); font-weight: 700; letter-spacing: .04em; }
.timeline__co    { font-size: .8rem; color: var(--muted); margin-top: .2rem; }
.timeline__right { min-width: 0; }
.timeline__role  { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: .8rem; }
.timeline__bullets { display: flex; flex-direction: column; gap: .55rem; margin-bottom: 1rem; }
.timeline__bullets li {
  color: var(--muted); font-size: .88rem; padding-left: 1.1rem; position: relative; line-height: 1.55;
}
.timeline__bullets li::before { content: '▸'; position: absolute; left: 0; color: var(--gold); font-size: .75rem; top: 1px; }
.timeline__tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tag {
  font-size: .72rem; padding: .22rem .7rem;
  background: rgba(12,31,74,.07); color: var(--navy);
  border-radius: 100px; font-weight: 600;
  border: 1px solid rgba(12,31,74,.15);
}

/* ─── SKILLS ─────────────────────────────────────────────────────── */
.skills { background: var(--white); }
.skills__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.skill-card {
  background: var(--off-white); border-radius: var(--radius);
  border: 1px solid var(--border); padding: 1.75rem;
  transition: all var(--ease);
}
.skill-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--navy); }
.skill-card__icon { font-size: 2rem; margin-bottom: 1rem; }
.skill-card__title {
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; color: var(--navy); margin-bottom: 1rem;
  padding-bottom: .75rem; border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.skill-card ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.skill-card li {
  font-size: .88rem; color: var(--muted);
  display: flex; align-items: center; gap: .5rem;
}
.skill-card li::before { content: ''; width: 5px; height: 5px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }

/* ─── QUOTE ──────────────────────────────────────────────────────── */
.quote-section {
  background: var(--navy);
  padding: 5rem 0;
}
.quote-section blockquote {
  max-width: 740px; margin: 0 auto; text-align: center; position: relative; padding: 0 2rem;
}
.quote-section blockquote::before {
  content: '\201C';
  font-size: 8rem; line-height: 1;
  color: var(--gold); opacity: .2;
  position: absolute; top: -2rem; left: 50%;
  transform: translateX(-50%);
  font-family: Georgia, serif; pointer-events: none;
}
.quote-section p {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-style: italic; color: rgba(255,255,255,.85);
  line-height: 1.7; position: relative; z-index: 1;
}
.quote-section cite { display: block; margin-top: 1.25rem; font-size: .8rem; color: var(--gold); font-style: normal; letter-spacing: .06em; }

/* ─── EDUCATION ──────────────────────────────────────────────────── */
.education { background: var(--off-white); }
.edu__grid { display: flex; flex-direction: column; gap: 1rem; }
.edu__card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem 2rem;
  display: flex; gap: 1.5rem; align-items: center;
  transition: all var(--ease);
}
.edu__card:hover { border-color: var(--navy); box-shadow: var(--shadow-md); }
.edu__logo {
  width: 72px; height: 72px; flex-shrink: 0;
  background: var(--off-white); border-radius: 12px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding: 6px;
}
.edu__logo img { width: 100%; height: 100%; object-fit: contain; }
.edu__logo span { font-size: 2.2rem; }
.edu__body { flex: 1; }
.edu__degree { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: .2rem; }
.edu__school { font-size: .88rem; color: var(--muted); margin-bottom: .3rem; }
.edu__meta { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.edu__date { font-size: .75rem; font-weight: 700; color: var(--navy-light); background: rgba(27,58,114,.08); padding: .15rem .55rem; border-radius: 100px; }
.edu__detail { font-size: .78rem; color: var(--muted); }

/* ─── CONTACT ────────────────────────────────────────────────────── */
.contact { background: var(--white); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; }
.contact__info-title { font-size: 1.3rem; font-weight: 700; color: var(--navy); margin-bottom: .6rem; }
.contact__info-sub   { color: var(--muted); font-size: .92rem; margin-bottom: 2rem; }
.contact__links { display: flex; flex-direction: column; gap: .75rem; }
.contact__link {
  display: flex; align-items: center; gap: .85rem;
  padding: .9rem 1.1rem; background: var(--off-white);
  border: 1px solid var(--border); border-radius: 10px;
  font-size: .88rem; font-weight: 500; color: var(--text);
  transition: all var(--ease);
}
.contact__link:hover { border-color: var(--navy); background: var(--white); transform: translateX(4px); }
.contact__link-icon { font-size: 1.2rem; width: 28px; text-align: center; }
.contact__form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-size: .8rem; font-weight: 600; color: var(--text); letter-spacing: .03em; }
.form-group input,
.form-group textarea {
  background: var(--off-white); border: 1.5px solid var(--border);
  border-radius: 10px; padding: .8rem 1.1rem;
  color: var(--text); font-family: var(--font); font-size: .92rem;
  transition: all var(--ease); resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(12,31,74,.1);
}

/* ─── FOOTER ─────────────────────────────────────────────────────── */
.footer {
  background: var(--navy); color: rgba(255,255,255,.4);
  text-align: center; padding: 2rem; font-size: .82rem;
}
.footer strong { color: var(--gold); }

/* ─── REVEAL ─────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ─── TABLET (≤900px) ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .section           { padding: 4rem 0; }

  /* Hero */
  .hero              { padding: 6rem 0 0; min-height: auto; }
  .hero__grid        { grid-template-columns: 1fr; text-align: center; padding: 0 1.5rem; }
  .hero__photo-wrap  { display: none; }
  .hero__eyebrow     { margin: 0 auto 1.25rem; }
  .hero__desc        { margin: 0 auto 2rem; font-size: .97rem; }
  .hero__actions     { justify-content: center; }
  .hero__stats-bar   { padding: 0 1.5rem; margin-top: 2rem; }

  /* About */
  .about__grid       { grid-template-columns: 1fr; gap: 2.5rem; }
  .about__visual     { width: 100%; }
  .about__stats-box  { grid-template-columns: 1fr 1fr; }
  .about__highlights { grid-template-columns: 1fr 1fr; }

  /* Timeline */
  .timeline::before  { display: none; }
  .timeline__item    { grid-template-columns: 1fr; gap: .75rem; padding: 2rem 0; }
  .timeline__item::before { display: none; }
  .timeline__left    { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; text-align: left; }
  .timeline__logo    { justify-content: flex-start; }
  .timeline__logo img { width: 90px; height: 40px; }

  /* Education */
  .edu__card         { padding: 1.25rem 1.5rem; }

  /* Skills */
  .skills__grid      { grid-template-columns: 1fr 1fr; }

  /* Contact */
  .contact__grid     { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ─── MOBILE (≤600px) ────────────────────────────────────────────── */
@media (max-width: 600px) {
  .container         { padding: 0 1.1rem; }
  .section           { padding: 3rem 0; }

  /* Nav */
  .nav__links  { display: none; }
  .nav__links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy); padding: 1rem 1.5rem; gap: .5rem;
    border-top: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
  }
  .nav__links.open a { font-size: .95rem; padding: .65rem .5rem; }
  .nav__burger { display: flex; }

  /* Hero */
  .hero              { padding: 5rem 0 0; }
  .hero__grid        { padding: 0 1.1rem; }
  .hero__name        { letter-spacing: -1px; }
  .hero__desc        { font-size: .93rem; }
  .hero__actions     { flex-direction: column; align-items: center; }
  .hero__actions .btn { width: 100%; justify-content: center; max-width: 280px; }
  .hero__stats-bar   { grid-template-columns: 1fr; padding: 0 1.1rem; }
  .hero__stat        { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); padding: 1.25rem 0; }
  .hero__stat:last-child { border-bottom: none; }

  /* About */
  .about__highlights { grid-template-columns: 1fr; }
  .about__stats-box  { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .about__stat-item  { padding: 1.25rem 1rem; }

  /* Timeline */
  .timeline__logo img { width: 80px; height: 36px; }
  .timeline__role    { font-size: 1rem; }
  .timeline__bullets li { font-size: .85rem; }

  /* Skills */
  .skills__grid      { grid-template-columns: 1fr; }

  /* Education */
  .edu__card         { flex-direction: column; align-items: flex-start; gap: 1rem; padding: 1.25rem; }
  .edu__logo         { width: 56px; height: 56px; }
  .edu__degree       { font-size: .93rem; }

  /* Contact */
  .contact__link     { font-size: .85rem; }
  .form-group input,
  .form-group textarea { font-size: 16px; } /* prevents iOS zoom on focus */

  /* Section headings */
  .section__head     { margin-bottom: 2.5rem; }
}
