:root {
  --bg: #020202;
  --bg-soft: #090909;
  --panel: #101010;
  --panel-strong: #161616;
  --text: #f7f8fa;
  --subtle: #d6d6d6;
  --muted: #8e8e8e;
  --line: rgba(255, 255, 255, .12);
  --red: #c91515;
  --red-dark: #7d0c0c;
  --shadow: none;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 84% 48%, rgba(201, 21, 21, .08), transparent 24rem),
    linear-gradient(180deg, #000 0%, #050505 46%, #090909 100%),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 25px),
    radial-gradient(circle at 26% 50%, rgba(255, 255, 255, .12), transparent 22rem),
    radial-gradient(circle at 83% 57%, rgba(201, 21, 21, .12), transparent 18rem);
  opacity: .22;
  filter: blur(.2px);
  z-index: -2;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 124px;
  padding: 0 clamp(20px, 5vw, 64px);
  background:
    radial-gradient(ellipse at center, rgba(255, 255, 255, .11), rgba(0, 0, 0, .72) 42%, rgba(0, 0, 0, 0) 72%);
  border-bottom: 0;
  backdrop-filter: blur(3px);
  transition: background .25s ease, border-color .25s ease;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red-dark), var(--red));
  box-shadow: none;
}

.site-header.scrolled {
  background: rgba(0, 0, 0, .84);
  box-shadow: none;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 36px);
}

.site-header nav a {
  position: relative;
  color: #ececec;
  font-size: clamp(.9rem, 1.18vw, 1.08rem);
  font-weight: 600;
  letter-spacing: 0;
  text-shadow: none;
  transition: color .2s ease;
}

.site-header nav a::after {
  content: "";
  position: absolute;
  right: 50%;
  bottom: -8px;
  left: 50%;
  height: 2px;
  background: var(--red);
  box-shadow: none;
  opacity: 0;
  transition: left .25s ease, right .25s ease, opacity .2s ease;
}

.site-header nav a:hover,
.site-header nav a:focus-visible,
.site-header nav a.active {
  color: #fff;
  text-shadow: none;
}

.site-header nav a:hover::after,
.site-header nav a:focus-visible::after,
.site-header nav a.active::after {
  right: 0;
  left: 0;
  opacity: 1;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, .74fr) minmax(440px, 1.26fr);
  align-items: center;
  width: min(100%, 1340px);
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(138px, 15vh, 190px) clamp(22px, 5vw, 80px) clamp(58px, 8vw, 90px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 24% 51% 14% 0;
  background:
    radial-gradient(circle at 30% 53%, rgba(255, 255, 255, .22), transparent 14rem),
    radial-gradient(circle at 33% 66%, rgba(201, 21, 21, .18), transparent 13rem);
  filter: blur(28px);
  opacity: .72;
  z-index: -1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 20% 0 6% 38%;
  background:
    radial-gradient(circle at 76% 58%, rgba(201, 21, 21, .16), transparent 15rem),
    radial-gradient(circle at 52% 54%, rgba(255, 255, 255, .13), transparent 22rem);
  filter: blur(24px);
  z-index: -1;
}

.hero-copy {
  max-width: 540px;
  padding-top: clamp(60px, 7vh, 110px);
  z-index: 2;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--red);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .2em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3.6rem, 6vw, 6.2rem);
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: none;
}

.name-line {
  display: block;
  white-space: nowrap;
}

h2 {
  font-size: clamp(2.25rem, 4.5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h3 {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lead {
  max-width: 610px;
  margin: 18px 0 0;
  color: var(--red);
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 500;
  line-height: 1.2;
  text-shadow: none;
}

.lead span {
  color: #c92b2b;
  padding: 0 6px;
}

.hero-desc {
  max-width: 450px;
  margin: 24px 0 0;
  color: #d9d9d9;
  font-size: clamp(1rem, 1.23vw, 1.16rem);
  line-height: 1.75;
  text-shadow: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 32px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 0;
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  background: linear-gradient(135deg, #d81c1c, var(--red-dark));
  border-color: rgba(255, 255, 255, .18);
  color: #fff;
  box-shadow: none;
}

.button.secondary {
  background: rgba(255, 255, 255, .05);
  color: var(--text);
}

.hero-visual {
  position: relative;
  min-height: 560px;
  z-index: 1;
}

.hero-visual::after {
  content: "";
  position: absolute;
  right: 2%;
  bottom: 11%;
  left: 8%;
  height: 42px;
  background: rgba(0, 0, 0, .72);
  border-radius: 999px;
  filter: blur(20px);
}

.hero-visual img {
  position: absolute;
  right: -10%;
  bottom: 0;
  width: min(860px, 120%);
  max-width: none;
  filter: none;
}

.proof-strip,
.intro-section,
.content-section,
.skills-section,
.contact-section {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  scroll-margin-top: 112px;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.proof-strip article {
  padding: clamp(24px, 3vw, 34px);
  background: linear-gradient(180deg, var(--panel), #11141a);
  text-align: center;
}

.proof-strip span {
  color: #c92b2b;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.proof-strip strong {
  display: block;
  margin-top: 12px;
  font-size: 1.05rem;
}

.proof-strip p,
.focus-grid p,
.timeline p,
.intro-copy p,
.contact-section p {
  color: var(--subtle);
}

.proof-strip p,
.focus-grid p,
.timeline p {
  margin: 8px 0 0;
}

.intro-section {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(34px, 7vw, 90px);
  padding: clamp(74px, 9vw, 118px) 0;
  text-align: center;
}

.intro-copy {
  border-top: 2px solid var(--red-dark);
  padding-top: clamp(22px, 4vw, 34px);
}

.intro-copy p {
  max-width: 670px;
  margin: 0 auto;
  font-size: 1.06rem;
}

.intro-copy p + p {
  margin-top: 18px;
}

.content-section,
.skills-section {
  padding: clamp(72px, 8vw, 106px) 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
  margin-bottom: 34px;
  text-align: center;
}

.section-heading h2 {
  max-width: 820px;
  margin: 0 auto;
}

.timeline {
  display: grid;
  gap: 18px;
}

.experience-card {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3vw, 34px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .032)),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: none;
  text-align: left;
  transition: transform .24s ease, border-color .24s ease;
}

.experience-card::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: linear-gradient(180deg, #c92b2b, var(--red-dark));
  box-shadow: none;
}

.experience-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 43, 43, .24);
  box-shadow: none;
}

.experience-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 14px;
}

.company {
  margin: 8px 0 0;
  color: var(--subtle);
  font-weight: 800;
}

.timeline time {
  color: #c92b2b;
  font-size: .85rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.job-description {
  max-width: 900px;
  margin: 0 0 20px;
  color: var(--subtle);
  font-size: 1.02rem;
  line-height: 1.72;
}

.skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 13px;
  background: rgba(201, 21, 21, .08);
  border: 1px solid rgba(201, 43, 43, .2);
  border-radius: 999px;
  color: #f5f6f8;
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.focus-section {
  position: relative;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.focus-grid article {
  min-height: 240px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .032)),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
}

.card-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin: 0 auto 28px;
  place-items: center;
  background: rgba(201, 21, 21, .08);
  border: 1px solid rgba(201, 43, 43, .22);
  border-radius: 8px;
  color: #c92b2b;
  font-size: .9rem;
  font-weight: 900;
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.skill-list span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--subtle);
  font-size: .85rem;
  font-weight: 800;
}

.contact-section {
  margin-bottom: 54px;
  padding: clamp(48px, 7vw, 78px);
  background:
    linear-gradient(135deg, rgba(201, 21, 21, .08), transparent 55%),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
  box-shadow: var(--shadow);
}

.contact-section h2 {
  margin-bottom: 16px;
}

.contact-section p {
  max-width: 560px;
  margin: 0 auto 28px;
}

footer {
  padding: 26px 20px 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

footer p {
  margin: 0;
  font-size: .9rem;
}

@media (max-width: 960px) {
  .site-header {
    min-height: 88px;
    padding: 0 16px;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .site-header nav {
    min-width: max-content;
    gap: 22px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 100vh;
    gap: 24px;
    padding-top: 106px;
  }

  .hero-copy {
    max-width: 760px;
    padding-top: 10px;
  }

  h1 {
    max-width: none;
  }

  .hero-visual {
    min-height: clamp(260px, 50vw, 430px);
  }

  .hero-visual img {
    right: 50%;
    bottom: 0;
    width: min(700px, 105%);
    transform: translateX(50%);
  }

  .proof-strip,
  .intro-section,
  .section-heading,
  .focus-grid {
    grid-template-columns: 1fr;
  }

  .intro-section {
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 78px;
    padding: 0 14px;
  }

  .site-header nav {
    gap: 18px;
  }

  .hero {
    padding-top: 94px;
  }

  h1 {
    font-size: clamp(3.7rem, 18vw, 5.5rem);
  }

  .lead {
    font-size: 1rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .timeline article {
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 20px;
  }

  .experience-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .proof-strip,
  .contact-section,
  .focus-grid article,
  .timeline article {
    border-radius: 8px;
  }

  .intro-copy {
    padding-top: 20px;
  }

  .contact-section {
    width: min(calc(100% - 28px), var(--max));
    padding: 38px 20px;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .65s ease, transform .65s ease;
  transition-delay: var(--delay, 0ms);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-visual img {
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .scroll-progress,
  .site-header,
  .site-header nav a,
  .site-header nav a::after,
  .button,
  .experience-card,
  .reveal {
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-visual img {
    transform: none !important;
  }
}
@media (hover: hover) and (pointer: fine) {
  .experience-card {
    position: relative;
    overflow: hidden;
    transition: transform .22s ease, border-color .22s ease, background .22s ease;
  }

  .experience-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--red);
    opacity: 0;
    transition: opacity .22s ease;
  }

  .experience-card:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 21, 21, .62);
    background:
      linear-gradient(135deg, rgba(201, 21, 21, .18), rgba(255, 255, 255, .035) 36%, rgba(16, 16, 16, .96)),
      var(--panel);
  }

  .experience-card:hover::before {
    opacity: 1;
  }

  .experience-card:hover h3,
  .experience-card:hover time {
    color: #fff;
  }

  .experience-card:hover .company {
    color: var(--red);
  }

  .experience-card:hover .skill-pills span {
    border-color: rgba(201, 21, 21, .48);
    background: rgba(201, 21, 21, .12);
    color: #fff;
  }
}