/* ---------- Reset & base ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

main section {
  scroll-margin-top: 64px;
}

:root {
  --navy: #0b1622;
  --navy-light: #16263a;
  --orange: #e58a2a;
  --white: #ffffff;
  --gray: #b8c2cc;
  --green: #3aa76d;
  --blue: #4a90c4;
}

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: var(--white);
  color: var(--navy);
  line-height: 1.5;
}

h1, h2, h3, h4,
.logo,
.tagline,
.nav-links a,
.section-heading {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ---------- 404 page ---------- */
.not-found {
  min-height: 70vh;
  background: var(--navy);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  padding: 2rem;
}

.not-found h1 {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-size: 5rem;
  color: var(--orange);
}

.not-found p {
  color: var(--gray);
}

/* ---------- Skip to content ---------- */
.skip-link {
  position: absolute;
  top: -50px;
  left: 1rem;
  background: var(--orange);
  color: var(--navy);
  padding: 0.6rem 1rem;
  font-weight: bold;
  border-radius: 0 0 4px 4px;
  z-index: 200;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

/* ---------- Header / Nav ---------- */
header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.logo-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--orange);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0;
  border-radius: 3px;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--gray);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

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

.nav-links a.active {
  color: var(--orange);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: var(--gray);
  text-align: center;
  padding: 2.5rem 2rem;
  border-top: 1px solid var(--navy-light);
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: var(--white);
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.footer-tagline {
  color: var(--orange);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: var(--gray);
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: var(--orange);
}

.footer-copyright {
  font-size: 0.75rem;
  color: #6b7680;
}

.footer-credit {
  font-size: 0.75rem;
  color: #6b7680;
  margin-top: 0.3rem;
}

.footer-updated {
  font-size: 0.7rem;
  color: #4a545c;
  margin-top: 0.6rem;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 90;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

/* ---------- Mobile nav toggle ---------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
}

/* ---------- Hero ---------- */
.hero {
  background: var(--navy);
  color: var(--white);
}

.hero-top {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero-photo {
  position: absolute;
  top: 0;
  right: 0;
  width: 62%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  z-index: 0;
}

.hero-top::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--navy) 0%,
    var(--navy) 34%,
    rgba(11, 22, 34, 0.85) 42%,
    rgba(11, 22, 34, 0.25) 55%,
    transparent 68%
  );
  z-index: 1;
}

.hero-top::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(229, 138, 42, 0.08) 1px, transparent 1px),
    linear-gradient(to right, rgba(229, 138, 42, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: linear-gradient(to right, black 0%, black 38%, transparent 58%);
  mask-image: linear-gradient(to right, black 0%, black 38%, transparent 58%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  padding: 4rem 2rem;
}

.hero h1 {
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.tagline {
  color: var(--orange);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.subtagline {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.intro {
  color: var(--gray);
  max-width: 550px;
  margin-bottom: 1.5rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  padding: 0.8rem 1.4rem;
  font-weight: bold;
  font-size: 0.9rem;
  border-radius: 2px;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--orange);
  color: var(--navy);
}

.btn-outline {
  border-color: var(--gray);
  color: var(--white);
}

.btn:hover {
  opacity: 0.85;
}

/* ---------- Quick facts row ---------- */
.quick-facts {
  background: var(--navy-light);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.fact h3 {
  color: var(--orange);
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.fact p {
  color: var(--gray);
  font-size: 0.85rem;
}

/* ---------- Section heading (shared) ---------- */
.section-heading {
  max-width: 1200px;
  margin: 0 auto 2rem;
  padding: 2.5rem 2rem 1.5rem;
  border-bottom: 3px solid var(--orange);
  width: fit-content;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ---------- About ---------- */
.about {
  background: var(--navy);
  color: var(--white);
}

.about-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}

.about-story p {
  color: var(--gray);
  margin-bottom: 1rem;
}

.core-values h3,
.at-a-glance h3 {
  color: var(--orange);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.value {
  background: var(--navy-light);
  padding: 0.6rem;
  font-size: 0.85rem;
  text-align: center;
  border-left: 3px solid var(--orange);
}

.at-a-glance ul li {
  color: var(--gray);
  font-size: 0.9rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--navy-light);
}

/* ---------- About Me intro video ---------- */
.video-feature {
  margin-top: 1.5rem;
  border-radius: 4px;
  overflow: hidden;
}

.video-feature video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border-radius: 4px;
}

.video-feature-placeholder {
  aspect-ratio: 16 / 9;
  background: repeating-linear-gradient(
    45deg,
    var(--navy-light),
    var(--navy-light) 10px,
    #1f3348 10px,
    #1f3348 20px
  );
  border: 1px dashed var(--gray);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--gray);
  font-size: 0.85rem;
  text-align: center;
  padding: 1rem;
}

.video-play-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  padding-left: 4px;
}

/* ---------- Career Blueprint ---------- */
.blueprint {
  background: var(--white);
}

.timeline {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem 2rem;
  display: flex;
  gap: 2.5rem;
  overflow-x: auto;
}

.timeline-item {
  position: relative;
  flex: 0 0 230px;
}

.timeline-item:not(:first-child)::before {
  content: "";
  position: absolute;
  top: 8px;
  left: -2.5rem;
  width: 2.5rem;
  height: 2px;
  background: var(--navy-light);
}

.timeline-marker {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--navy);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.timeline-content h3 {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.timeline-content p {
  color: #555;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: bold;
  color: var(--white);
  background: var(--navy);
}

.status-complete .timeline-marker { background: var(--green); }
.status-complete .status-badge { background: var(--green); }

.status-progress .timeline-marker { background: var(--orange); }
.status-progress .status-badge { background: var(--orange); }

.status-planned .timeline-marker { background: var(--blue); }
.status-planned .status-badge { background: var(--blue); }

.status-goal .timeline-marker { background: var(--navy); }
.status-goal .status-badge { background: var(--navy); }

.status-vision .timeline-marker { background: var(--navy); border: 3px solid var(--orange); }
.status-vision .status-badge { background: var(--navy); border: 1px solid var(--orange); }

/* ---------- What Makes Me Different ---------- */
.blueprint-subheading {
  max-width: 1200px;
  margin: 3rem auto 1.5rem;
  padding-left: 2rem;
  padding-right: 2rem;
  padding-bottom: 0.5rem;
  color: var(--orange);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--orange);
  width: fit-content;
}

.diff-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 3rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.diff-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  border: 1px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
}

.diff-icon svg {
  width: 26px;
  height: 26px;
}

.diff-item h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.diff-item p {
  color: #555;
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ---------- Return on Investment ---------- */
.roi-row {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 3rem;
  display: flex;
  align-items: stretch;
  gap: 1rem;
  flex-wrap: wrap;
}

.roi-step {
  flex: 1;
  min-width: 140px;
  border-radius: 4px;
  padding: 1.2rem 1rem;
  text-align: center;
}

.roi-invest {
  background: var(--navy);
  color: var(--white);
}

.roi-commit {
  background: var(--orange);
  color: var(--navy);
}

.roi-step h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.roi-step p {
  font-size: 0.8rem;
  line-height: 1.5;
}

.roi-arrow {
  display: flex;
  align-items: center;
  color: var(--gray);
  font-size: 1.2rem;
}

/* ---------- Achievements ---------- */
.achievements {
  background: var(--navy-light);
  color: var(--white);
}

.highlight-layout {
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto 3rem;
  min-height: 460px;
  display: flex;
  align-items: center;
}

.highlight-layout::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--navy-light) 0%,
    var(--navy-light) 48%,
    rgba(22, 38, 58, 0.85) 56%,
    rgba(22, 38, 58, 0.25) 68%,
    transparent 80%
  );
  z-index: 1;
}

.highlight-list {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 480px;
  padding: 2rem 2rem 2rem 20%;
}

.highlight-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  width: 100%;
  min-width: 0;
}

.highlight-text {
  flex: 1;
  min-width: 0;
}

.highlight-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  border: 1px solid var(--orange);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.highlight-text h3 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.highlight-text p {
  color: var(--gray);
  font-size: 0.85rem;
}

.highlight-photo {
  position: absolute;
  top: 0;
  right: 0;
  width: 42%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  z-index: 0;
}

/* ---------- Recommendations ---------- */
.recommendations {
  background: var(--white);
}

.rec-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.rec-card {
  background: #f4f6f8;
  padding: 1.2rem;
  border-radius: 4px;
  border-top: 3px solid var(--orange);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rec-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.rec-photo {
  object-fit: cover;
  aspect-ratio: 1 / 1;
  width: 70px;
  border-radius: 50%;
  background: repeating-linear-gradient(
    45deg,
    #dde3e8,
    #dde3e8 8px,
    #ccd4db 8px,
    #ccd4db 16px
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7680;
  font-size: 0.7rem;
  margin-bottom: 0.8rem;
}

.rec-card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.rec-role {
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: bold;
  margin-bottom: 0.6rem;
}

.rec-quote {
  color: #444;
  font-size: 0.85rem;
  font-style: italic;
  line-height: 1.4;
}

/* ---------- Portfolio ---------- */
.portfolio {
  background: var(--navy);
  color: var(--white);
  padding-bottom: 3rem;
}

.portfolio-subheading {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
  color: var(--orange);
  font-size: 1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.job-card {
  max-width: 800px;
  margin: 0 auto;
  padding: 1.2rem 1.5rem;
  background: var(--navy-light);
  border-radius: 4px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.job-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.job-header h4 {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.job-role {
  color: var(--gray);
  font-size: 0.85rem;
}

.job-duties li {
  color: var(--gray);
  font-size: 0.9rem;
  padding: 0.25rem 0;
  padding-left: 1rem;
  position: relative;
}

.job-duties li::before {
  content: "\2013";
  position: absolute;
  left: 0;
  color: var(--orange);
}

.job-card-pending {
  border: 1px dashed var(--gray);
  background: transparent;
  color: var(--gray);
  font-size: 0.9rem;
}

/* ---------- Contact ---------- */
.contact {
  background: var(--navy-light);
  color: var(--white);
}

.contact-intro {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 2rem 2rem;
  color: var(--gray);
}

.contact-grid {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--navy);
  padding: 1rem;
  border-radius: 4px;
  font-size: 0.9rem;
  border: 1px solid transparent;
}

a.contact-item:hover {
  border-color: var(--orange);
}

.contact-icon {
  font-size: 1.2rem;
}

@media (max-width: 900px) {
  .diff-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .roi-row {
    flex-direction: column;
  }

  .roi-arrow {
    justify-content: center;
    transform: rotate(90deg);
  }

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

  .job-header {
    flex-direction: column;
    gap: 0.5rem;
  }

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

  .highlight-layout {
    min-height: 420px;
  }

  .highlight-photo {
    width: 100%;
    left: 0;
  }

  .highlight-layout::before {
    background: none;
  }

  .highlight-list {
    background: rgba(22, 38, 58, 0.78);
    border-radius: 8px;
    max-width: calc(100% - 3rem);
    margin: 1.5rem;
    padding: 1.5rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 1rem 2rem;
    gap: 1rem;
  }

  .nav-links.active {
    display: flex;
  }

  nav {
    position: relative;
  }

  .quick-facts {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero h1 {
    font-size: 3rem;
  }

  .hero-top {
    min-height: 500px;
  }

  .hero-photo {
    width: 100%;
    left: 0;
  }

  .hero-top::before {
    background: none;
  }

  .hero-content {
    background: rgba(11, 22, 34, 0.78);
    border-radius: 8px;
    margin: 1.5rem;
    width: calc(100% - 3rem);
    max-width: 100%;
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .contact-grid {
    gap: 0.7rem;
  }

  .contact-item {
    padding: 0.6rem 0.7rem;
    gap: 0.4rem;
    font-size: 0.72rem;
  }

  .contact-icon {
    font-size: 0.9rem;
  }
}
