:root {
  --bg: #07111f;
  --bg-2: #0d1d33;
  --text: #f5f7fb;
  --muted: #aeb9c9;
  --gold: #F4C542;
  --orange: #F4C542;
  --cyan: #1E88FF;
  --card: rgba(255, 255, 255, 0.075);
  --border: rgba(255, 255, 255, 0.16);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background: radial-gradient(circle at top left, #12345b 0%, var(--bg) 42%, #03070d 100%);
  color: var(--text);
  overflow-x: hidden;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  z-index: 10;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  display:flex;
  justify-content:space-between;
  align-items:center;

  height:200px;
  padding:0 80px 0 40px;

  background:rgba(2,7,13,.85);
  backdrop-filter:blur(18px);

  z-index:50;
  overflow:visible;
}

.brand {
  color: var(--text);
  text-decoration: none;
  display: flex;
  gap: 10px;
  align-items: center;
  font-family: Cinzel, serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand img {
    height:220px;
    width:auto;
    max-width:none;

    position:relative;
    top:50px;

    display:block;
}

.brand-mark { color: var(--cyan); text-shadow: 0 0 20px var(--gold); }
nav {
    display:flex;
    align-items:center;
    gap:42px;
}

nav a {
    color:var(--muted);
    text-decoration:none;
    font-weight:600;
    font-size:.9rem;
    transition:all .3s ease;
}

nav a:hover {
    color:#F4C542;
}
.nav-cta { color: var(--cyan); }

.section {
  min-height: 100vh;
  padding: 220px clamp(22px, 6vw, 90px) 120px;
  position: relative;
  z-index: 2;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: 60px;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image: linear-gradient(rgba(93,217,255,0.2) 1px, transparent 1px), linear-gradient(90deg, rgba(93,217,255,0.2) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle, black 0%, transparent 70%);
}

.starfield {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.8) 1px, transparent 1.5px);
  background-size: 80px 80px;
  animation: drift 24s linear infinite;
  opacity: 0.25;
}

.eyebrow {
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 700;
}

h1, h2, h3 { margin: 0; }
h1, h2 { font-family: Cinzel, serif; line-height: 1.02; }
h1 { font-size: clamp(3rem, 7vw, 7.2rem); max-width: 950px; }
h2 { font-size: clamp(2.2rem, 4.8vw, 5rem); }
h3 { font-size: 1.25rem; }
p { color: var(--muted); line-height: 1.75; }
.hero-copy { font-size: 1.14rem; max-width: 690px; }

.hero-actions, .hero-actions + * { margin-top: 28px; }

.hero-actions {
    position: relative;
    z-index: 100;
}

.hero-actions .btn {
    position: relative;
    z-index: 101;
}

.hero-visual { display: grid; place-items: center; min-height: 600px; position: relative; }
.compass-orbit {
  position: absolute;
  width: min(78vw, 560px);
  height: min(78vw, 560px);
  border-radius: 50%;
  border: 1px solid rgba(240,189,98,.35);
  box-shadow: inset 0 0 50px rgba(93,217,255,.12), 0 0 80px rgba(240,189,98,.1);
  animation: rotateSlow 26s linear infinite;
}
.compass-orbit::before, .compass-orbit::after {
  content: "";
  position: absolute;
  inset: 50%;
  width: 100%;
  height: 1px;
  background: rgba(240,189,98,.25);
  transform-origin: 0 0;
}
.compass-orbit::after { transform: rotate(90deg); }

.portrait-card {
  width: min(88vw, 380px);
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
  border-radius: 34px;
  padding: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.portrait-placeholder {
  height: 475px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
}

.portrait-placeholder img {
  width: 100%;
  height: 100%;
  display: block;

  object-fit: cover;
  background: #07111f;
  object-position: center top;
}
.portrait-caption { padding: 18px 8px 4px; display: grid; gap: 6px; }
.portrait-caption span { color: var(--muted); font-size: .9rem; }

.section-heading { max-width: 920px; margin-bottom: 60px; }
.section-heading.narrow { max-width: 680px; }

.timeline { position: relative; max-width: 980px; margin: 0 auto; }
.timeline-line {
  position: absolute;
  top: 0;
  left: 18px;
  width: 2px;
  height: var(--line-height, 0%);
  background: linear-gradient(var(--gold), var(--cyan));
  transition: height .2s linear;
}
.timeline-item {
  position: relative;
  margin: 0 0 42px 70px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255,255,255,.055);
  transform: translateY(20px);
  opacity: 0;
  transition: .7s ease;
}
.timeline-item.visible { transform: translateY(0); opacity: 1; }
.dot {
  position: absolute;
  left: -61px;
  top: 32px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 28px var(--gold);
}
.year { color: var(--cyan); font-weight: 800; margin-top: 0; }

.difference-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.glass-card, .personal-card, .cta-box, .compass-panel, .radar-card {
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.035));
  border-radius: 30px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.glass-card { padding: 34px; min-height: 290px; transition: transform .2s ease; }
.card-icon { color: var(--gold); font-size: 2.6rem; display: inline-block; margin-bottom: 25px; }

.compass-panel {
  min-height: 620px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: clamp(30px, 5vw, 70px);
}
.compass { width: min(70vw, 380px); aspect-ratio: 1; margin: auto; border-radius: 50%; position: relative; display: grid; place-items: center; }
.compass-ring { position: absolute; inset: 0; border: 2px solid rgba(240,189,98,.5); border-radius: 50%; box-shadow: 0 0 60px rgba(93,217,255,.14); }
.needle { position: absolute; width: 24px; height: 235px; background: linear-gradient(var(--orange) 0 50%, var(--cyan) 50% 100%); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); transform: rotate(var(--needle-rotation, -22deg)); transition: transform .2s ease; }
.north-star { position: absolute; top: -36px; color: var(--gold); font-size: 2.8rem; text-shadow: 0 0 30px var(--gold); animation: pulse 2.8s ease-in-out infinite; }
.n,.e,.s,.w { position: absolute; font-family: Cinzel, serif; color: var(--gold); font-weight: 700; }
.n { top: 20px; }.e { right: 24px; }.s { bottom: 18px; }.w { left: 24px; }

.skills-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; align-items: center; }
.radar-card { padding: 20px; display: grid; place-items: center; }
canvas { max-width: 100%; height: auto; }
.skill-list { display: grid; gap: 14px; }
.skill-pill {
  text-align: left;
  color: var(--text);
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 15px 18px;
  cursor: pointer;
  font-weight: 700;
}
.skill-pill.active { border-color: var(--gold); box-shadow: 0 0 28px rgba(240,189,98,.14); }
.skill-detail { margin-top: 10px; color: var(--muted); line-height: 1.7; padding: 24px; border-left: 3px solid var(--gold); background: rgba(255,255,255,.04); border-radius: 14px; }
.personal-card, .cta-box { max-width: 980px; margin: auto; padding: clamp(34px, 6vw, 80px); }
.cta-section { min-height: 75vh; display: grid; place-items: center; }

@keyframes drift { to { background-position: 160px 160px; } }
@keyframes rotateSlow { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { transform: scale(1.12); opacity: .72; } }

/*<==Second draft fixes start==>*/

.site-header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 42px;
  white-space: nowrap;
}

.page-menu-wrap {
  position: relative;
  display: flex;
  align-items: center;
  z-index: 500;
}

.hamburger-menu {
  width: 46px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(90,190,255,.35);
  background: rgba(12,23,39,.95);
  display: grid;
  place-items: center;
  gap: 4px;
  cursor: pointer;
  padding: 9px;
}

.hamburger-menu span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 999px;
}

.page-dropdown {
  position: absolute;
  top: 52px;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 220px;
  gap: 22px;
  padding: 14px 18px;
  background: #02070D;
  border: 1px solid rgba(90,190,255,.35);
  border-radius: 14px;
  box-shadow: 0 0 30px rgba(30,136,255,.22);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 9999;
}

.page-dropdown.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.page-dropdown a {
  color: white;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}

.page-dropdown a:hover {
  color: #F4C542;
}

/* Mobile only */

@media (max-width: 900px) {
  .site-header {
  position: sticky !important;
  top: 0 !important;

  height: 118px !important;
  min-height: 118px !important;
  max-height: 118px !important;

  padding: 4px 12px !important;

  display: grid !important;
  grid-template-columns: 1fr auto !important;
  grid-template-rows: 70px 32px !important;

  align-items: center !important;
  row-gap: 0 !important;
  column-gap: 8px !important;

  overflow: visible !important;
}


  .brand img {
  width: 220px !important;
  height: auto !important;
  max-height: 78px !important;
  top: 0 !important;
  margin: 0 !important;
  display: block !important;
}

  .site-header nav {
  grid-column: 1 / -1 !important;
  grid-row: 2 / 3 !important;

  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  align-items: center !important;

  gap: 12px !important;

  margin: -4px 0 0 0 !important;
  padding: 0 !important;

  line-height: 1 !important;
  background: transparent !important;
}

  .site-header nav a {
  font-size: 0.68rem !important;
  line-height: 1 !important;
}

  .page-menu-wrap {
  grid-column: 2 / 3 !important;
  grid-row: 1 / 2 !important;

  margin: 0 !important;
  padding: 0 !important;

  justify-self: end !important;
  align-self: center !important;
}

  .hamburger-menu {
    width: 36px !important;
    height: 32px !important;
    padding: 6px !important;
  }

  .hamburger-menu span {
    width: 21px !important;
  }

  .page-dropdown {
    position: absolute !important;
    top: 40px !important;
    right: 0 !important;
    left: auto !important;
    transform: none !important;

    width: 210px !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;

    background: #02070D !important;
    z-index: 99999 !important;
  }

  .section {
    padding: 28px 18px 80px !important;
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  .hero,
  .compass-panel,
  .skills-layout,
  .difference-grid {
    grid-template-columns: 1fr !important;
    max-width: 100% !important;
  }

  h1 {
    font-size: clamp(2.2rem, 11vw, 4rem) !important;
  }

  h2 {
    font-size: clamp(2rem, 9vw, 3.3rem) !important;
  }

  .timeline-item {
    margin-left: 48px !important;
  }
}

.hero {
  display: grid !important;
  grid-template-columns: 1fr !important;
}

.hero-content {
  display: contents;
}

.hero-content .eyebrow {
  order: 1;
}

.hero-content h1 {
  order: 2;
}
.hero-visual {
  order: 3;
  min-height: 380px !important;
}

.hero-content .hero-copy {
  order: 4;
}


.hero-actions {
  order: 5;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 12px !important;

  width: 100%;
  margin-top: 24px !important;
}

.hero-actions .btn {
  width: min(320px, 90vw);
  text-align: center;
}