@font-face {
  font-family: 'Bender';
  src: url('../images/Bender.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: #ffffff;
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
  background: #060606;
}

/* ── SCROLL-DRIVEN HUE SHIFT ── */
:root {
  --hue-shift: 0deg;
}

/* ── CONTENT CONTAINER ── */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3.5rem;
  position: relative;
  z-index: 1;
}

/* ── CHEVRON TEXTURE ── */
.chev {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='12'%3E%3Cpolyline points='0,6 5,1 10,6 15,1 20,6' fill='none' stroke='%2349788C' stroke-width='0.7' stroke-opacity='0.18'/%3E%3Cpolyline points='0,12 5,7 10,12 15,7 20,12' fill='none' stroke='%2349788C' stroke-width='0.7' stroke-opacity='0.18'/%3E%3C/svg%3E");
  background-size: 20px 12px;
  z-index: 0;
}

@keyframes shimmer {
  0%, 100% { opacity: 0.65; }
  50% { opacity: 1; }
}

.sh  { animation: shimmer 7s ease-in-out infinite; }
.sh2 { animation: shimmer 7s ease-in-out infinite; animation-delay: 2.3s; }
.sh3 { animation: shimmer 7s ease-in-out infinite; animation-delay: 4.6s; }

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(135deg, #0d1e27 0%, #142836 50%, #0f2030 100%);
  border-bottom: 1px solid rgba(73, 120, 140, 0.45);
  padding: 0;
  overflow: hidden;
}

.nav-chev {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='12'%3E%3Cpolyline points='0,6 5,1 10,6 15,1 20,6' fill='none' stroke='%2349788C' stroke-width='0.7' stroke-opacity='0.22'/%3E%3Cpolyline points='0,12 5,7 10,12 15,7 20,12' fill='none' stroke='%2349788C' stroke-width='0.7' stroke-opacity='0.22'/%3E%3C/svg%3E");
  background-size: 20px 12px;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.9rem 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.logo-box {
  width: 48px;
  height: 48px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(73, 120, 140, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bender', Arial, sans-serif;
  font-size: 17px;
  color: #7ec8e3;
}

.nav-name {
  font-family: 'Bender', Arial, sans-serif;
  font-size: 19px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: 'Bender', Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #7ec8e3;
}

/* ── HERO ── */
#hero {
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, #060e13 0%, #0a1820 40%, #0d1e2a 70%, #060e13 100%);
}

.hero-code {
  position: absolute;
  inset: 0;
  font-family: monospace;
  font-size: 13px;
  color: rgba(73, 120, 140, 0.13);
  line-height: 1.65;
  padding: 2.5rem 3.5rem;
  overflow: hidden;
  pointer-events: none;
  white-space: pre-wrap;
  letter-spacing: 0.02em;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(6,14,19,0.96) 0%, rgba(6,14,19,0.82) 55%, rgba(73,120,140,0.08) 100%);
  z-index: 1;
}

/* Hero content — centered column within 1200px */
.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1200px;
  width: 100%;
  padding: 0 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Logo above name */
.hero-logo {
  width: 110px;
  height: 110px;
  object-fit: contain;
  opacity: 0.82;
  border: 1px solid rgba(73, 120, 140, 0.45);
  background: rgba(0, 0, 0, 0.32);
  padding: 14px;
  margin-bottom: 2.25rem;
}

.hero-eyebrow {
  font-family: 'Bender', Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #7ec8e3;
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: #7ec8e3;
}

.hero-name {
  font-family: 'Bender', Arial, sans-serif;
  font-size: clamp(3.75rem, 7.5vw, 82px);
  line-height: 1;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.hero-name span {
  color: #6a9db3;
}

.hero-role {
  font-family: 'Bender', Arial, sans-serif;
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  border-left: 3px solid #49788C;
  padding-left: 0.85rem;
  margin-bottom: 2.25rem;
  display: inline-flex;
  align-items: center;
}

.hero-bio {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.57);
  line-height: 1.85;
  max-width: 620px;
  margin-bottom: 2.75rem;
  text-align: center;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  z-index: 3;
  color: rgba(73, 120, 140, 0.55);
  pointer-events: none;
}

.scroll-text {
  font-family: 'Bender', Arial, sans-serif;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(73, 120, 140, 0.65), transparent);
  transform-origin: top center;
  animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.65; }
  50%       { transform: scaleY(0.5); opacity: 1; }
}

/* ── BUTTONS ── */
.btn-primary {
  background: #49788C;
  color: #ffffff;
  padding: 0.85rem 2rem;
  font-family: 'Bender', Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  display: inline-block;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: #5a8fa5;
  box-shadow: 0 0 24px rgba(73, 120, 140, 0.45);
}

.btn-outline {
  background: transparent;
  color: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(73, 120, 140, 0.36);
  padding: 0.85rem 2rem;
  font-family: 'Bender', Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  display: inline-block;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  cursor: pointer;
}

.btn-outline:hover {
  border-color: #49788C;
  color: #7ec8e3;
}

/* ── SECTION BASE ── */
section {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.sec-label {
  font-family: 'Bender', Arial, sans-serif;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #7ec8e3;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  position: relative;
  z-index: 1;
}

.sec-label::before {
  content: '';
  display: block;
  width: 22px;
  height: 1px;
  background: #7ec8e3;
  flex-shrink: 0;
}

.sec-title {
  font-family: 'Bender', Arial, sans-serif;
  font-size: 38px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2.75rem;
  position: relative;
  z-index: 1;
  will-change: transform;
}

/* ── ALTERNATING BACKGROUNDS ── */
.bg-black {
  background: #060606;
}

.bg-tint {
  background: linear-gradient(145deg, #0d1a22 0%, #132230 40%, #192d3c 65%, #0d1a22 100%);
}

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  will-change: transform;
}

.about-text p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.57);
  line-height: 1.88;
  margin-bottom: 1rem;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(73, 120, 140, 0.2);
  border: 1px solid rgba(73, 120, 140, 0.2);
}

.stat {
  background: #060606;
  padding: 1.5rem 1.75rem;
  position: relative;
  overflow: hidden;
}

/* Light reflection sweep */
.stat::before,
.metric-card::before,
.skill-col::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(126, 200, 227, 0.07) 40%,
    rgba(126, 200, 227, 0.13) 50%,
    rgba(126, 200, 227, 0.07) 60%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 4;
}

.stat.in-view::before,
.metric-card.in-view::before,
.skill-col.in-view::before {
  transition: left 1.3s cubic-bezier(0.22, 0.61, 0.36, 1);
  left: 160%;
}

.stat-num {
  font-family: 'Bender', Arial, sans-serif;
  font-size: 40px;
  color: #6a9db3;
  line-height: 1;
  filter: hue-rotate(var(--hue-shift));
  transition: filter 0.08s linear;
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.28);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.3rem;
}

/* ── METRICS ── */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(73, 120, 140, 0.2);
  border: 1px solid rgba(73, 120, 140, 0.2);
  will-change: transform;
}

.metric-card {
  background: rgba(6, 14, 19, 0.88);
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
}

.metric-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(73, 120, 140, 0.45), transparent);
}

.metric-num {
  font-family: 'Bender', Arial, sans-serif;
  font-size: 58px;
  color: #7ec8e3;
  line-height: 1;
  margin-bottom: 0.4rem;
  filter: hue-rotate(var(--hue-shift));
  transition: filter 0.08s linear;
}

.metric-title {
  font-family: 'Bender', Arial, sans-serif;
  font-size: 15px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
}

.metric-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.47);
  line-height: 1.72;
}

/* ── SKILLS ── */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(73, 120, 140, 0.18);
  border: 1px solid rgba(73, 120, 140, 0.18);
  margin-bottom: 1px;
}

.skills-grid-2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(73, 120, 140, 0.18);
  border: 1px solid rgba(73, 120, 140, 0.18);
}

.skill-col {
  background: #060606;
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
}

.skill-col-title {
  font-family: 'Bender', Arial, sans-serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7ec8e3;
  margin-bottom: 1.1rem;
  filter: hue-rotate(var(--hue-shift));
  transition: filter 0.08s linear;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag {
  padding: 0.32rem 0.75rem;
  background: rgba(73, 120, 140, 0.09);
  border: 1px solid rgba(73, 120, 140, 0.24);
  border-radius: 2px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.57);
}

.tag.highlight {
  background: rgba(73, 120, 140, 0.2);
  border-color: #49788C;
  color: #7ec8e3;
}

/* ── EXPERIENCE ── */
.desk-hint {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 42%;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='600'%3E%3Crect x='50' y='100' width='300' height='200' rx='6' fill='none' stroke='%2349788C' stroke-width='0.8' opacity='0.08'/%3E%3Crect x='70' y='120' width='260' height='160' rx='3' fill='none' stroke='%2349788C' stroke-width='0.5' opacity='0.06'/%3E%3Crect x='150' y='315' width='100' height='70' rx='2' fill='none' stroke='%2349788C' stroke-width='0.6' opacity='0.07'/%3E%3Crect x='30' y='385' width='340' height='14' rx='2' fill='none' stroke='%2349788C' stroke-width='0.6' opacity='0.07'/%3E%3Ccircle cx='340' cy='195' r='28' fill='none' stroke='%2349788C' stroke-width='0.5' opacity='0.05'/%3E%3Cline x1='80' y1='138' x2='330' y2='138' stroke='%2349788C' stroke-width='0.4' opacity='0.07'/%3E%3Cline x1='80' y1='155' x2='280' y2='155' stroke='%2349788C' stroke-width='0.4' opacity='0.06'/%3E%3Cline x1='80' y1='172' x2='240' y2='172' stroke='%2349788C' stroke-width='0.4' opacity='0.05'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  opacity: 0.7;
  z-index: 0;
}

.timeline {
  padding-left: 1.5rem;
  border-left: 1px solid rgba(73, 120, 140, 0.3);
  will-change: transform;
}

.t-item {
  padding-bottom: 2.75rem;
  padding-left: 2rem;
  position: relative;
  will-change: transform;
}

.t-dot {
  position: absolute;
  left: -5px;
  top: 5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #49788C;
  box-shadow: 0 0 10px rgba(73, 120, 140, 0.5);
  filter: hue-rotate(var(--hue-shift));
  transition: filter 0.08s linear;
}

.t-meta {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
}

.t-company {
  font-family: 'Bender', Arial, sans-serif;
  font-size: 14px;
  color: #6a9db3;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
  filter: hue-rotate(var(--hue-shift));
  transition: filter 0.08s linear;
}

.t-role {
  font-family: 'Bender', Arial, sans-serif;
  font-size: 20px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}

.t-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 0.65rem;
  font-style: italic;
}

.t-bullets {
  list-style: none;
}

.t-bullets li {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.68;
  padding-left: 1.1rem;
  position: relative;
  margin-bottom: 0.32rem;
}

.t-bullets li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: #6a9db3;
}

/* ── CONTACT ── */
.contact-inner {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.contact-headline {
  font-family: 'Bender', Arial, sans-serif;
  font-size: 35px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.contact-sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.44);
  line-height: 1.82;
  margin-bottom: 2.75rem;
}

.btn-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: #49788C;
  color: #ffffff;
  padding: 1rem 2.5rem;
  font-family: 'Bender', Arial, sans-serif;
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s;
}

.btn-linkedin:hover {
  background: #5a8fa5;
  box-shadow: 0 0 24px rgba(73, 120, 140, 0.45);
}

/* ── FOOTER ── */
footer {
  background: linear-gradient(135deg, #0a1820 0%, #060e13 60%, #0a1820 100%);
  border-top: 1px solid rgba(73, 120, 140, 0.3);
  padding: 1.4rem 0;
  position: relative;
  overflow: hidden;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.footer-logo-box {
  width: 30px;
  height: 30px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(73, 120, 140, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-box img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.footer-copy {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.22);
}

.footer-right {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.22);
}

/* ── PARALLAX ── */
.parallax-bg {
  will-change: transform;
  transition: transform 0.05s linear;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .section-inner { padding: 0 1.5rem; }
  .nav-inner { padding: 0.9rem 1.5rem; }
  .nav-links { display: none; }
  section { padding: 3.5rem 0; }
  #hero {
    height: auto;
    min-height: 100svh;
    padding: 6rem 0 5rem;
  }
  .hero-inner { padding: 0 1.5rem; }
  .hero-name { font-size: clamp(2.5rem, 10vw, 3.5rem); }
  .hero-logo { width: 80px; height: 80px; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .metrics-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr 1fr; }
  .skills-grid-2 { grid-template-columns: 1fr; }
  footer .section-inner { padding: 0 1.5rem; }
  .footer-row { flex-direction: column; gap: 0.5rem; text-align: center; }
}
