:root {
  --red: #e30621;
  --gold: #d7ad57;
  --ink: #060910;
  --panel: #0c111c;
  --line: rgba(255, 255, 255, 0.14);
  --text: #f5f7fb;
  --muted: #aeb7c8;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  overflow-x: hidden;
}

body.loaded .loader {
  opacity: 0;
  visibility: hidden;
}

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

button,
select {
  font: inherit;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 110;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  box-shadow: 0 0 18px rgba(227, 6, 33, 0.65);
}

.cursor-aura {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 109;
  display: none;
  width: 160px;
  height: 160px;
  pointer-events: none;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(227, 6, 33, 0.16), transparent 64%);
  transform: translate3d(-50%, -50%, 0);
}

@media (pointer: fine) {
  .cursor-aura {
    display: block;
  }
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: #05070d;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-logo {
  width: 116px;
  filter: drop-shadow(0 0 24px rgba(215, 173, 87, 0.46));
  transform-style: preserve-3d;
  animation: coinSpin 1.25s linear infinite;
}

@keyframes coinSpin {
  from { transform: perspective(600px) rotateY(0deg); }
  to { transform: perspective(600px) rotateY(360deg); }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(6, 9, 16, 0.76);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--gold);
}

.brand img,
.site-footer div img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(215, 173, 87, 0.2));
}

.brand .brand-signature {
  width: 86px;
  height: 30px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(215, 173, 87, 0.34));
}

.menu-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.menu-toggle span + span {
  margin-top: 5px;
}

.site-header.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.main-nav {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: clamp(10px, 2vw, 28px);
}

.main-nav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--white);
}

.language-select {
  min-width: 76px;
  color: var(--white);
  background: #111827;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 9px 10px;
}

.section-panel {
  position: relative;
  padding: clamp(74px, 10vw, 130px) clamp(18px, 5vw, 76px);
}

.hero {
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 13, 0.98) 0%, rgba(5, 7, 13, 0.86) 39%, rgba(5, 7, 13, 0.44) 66%, rgba(5, 7, 13, 0.1) 100%),
    radial-gradient(circle at 76% 44%, rgba(215, 173, 87, 0.14), transparent 31%),
    url("assets/hero-cover.webp") right 42% center / auto min(100vh, 920px) no-repeat;
  transform: scale(1);
}

.hero::after,
.stats::before,
.skills::before,
.gallery::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
}

.hero-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.1;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, transparent 0 12px, rgba(227, 6, 33, 0.08) 12px 13px);
  animation: scanMove 8s linear infinite;
}

.speed-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.speed-lines span {
  position: absolute;
  right: -18vw;
  width: 42vw;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(227, 6, 33, 0.88), rgba(215, 173, 87, 0.62), transparent);
  transform: rotate(-18deg);
  animation: speedLine 2.8s linear infinite;
}

.speed-lines span:nth-child(1) { top: 24%; animation-delay: -0.3s; }
.speed-lines span:nth-child(2) { top: 42%; animation-delay: -1.4s; }
.speed-lines span:nth-child(3) { top: 62%; animation-delay: -2.1s; }
.speed-lines span:nth-child(4) { top: 78%; animation-delay: -0.9s; }

.hero-name-track {
  position: absolute;
  right: -12vw;
  bottom: 8vh;
  color: rgba(255, 255, 255, 0.08);
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(72px, 12vw, 180px);
  font-weight: 800;
  white-space: nowrap;
  transform: rotate(-6deg);
  animation: trackDrift 16s linear infinite;
}

@keyframes scanMove {
  from { background-position: 0 0, 0 0; }
  to { background-position: 0 90px, 120px 0; }
}

@keyframes speedLine {
  from { transform: translateX(0) rotate(-18deg); opacity: 0; }
  12% { opacity: 1; }
  to { transform: translateX(-145vw) rotate(-18deg); opacity: 0; }
}

@keyframes trackDrift {
  from { transform: translateX(0) rotate(-6deg); }
  to { transform: translateX(-30vw) rotate(-6deg); }
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 36px;
  align-items: end;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 19px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(72px, 13vw, 176px);
  line-height: 0.82;
  text-shadow: 0 0 38px rgba(227, 6, 33, 0.3);
}

h2 {
  font-size: clamp(42px, 7vw, 90px);
  line-height: 0.92;
}

.hero-subtitle {
  margin: 22px 0 0;
  font-size: clamp(21px, 3vw, 34px);
  font-weight: 800;
}

.hero-micro {
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  border-radius: 6px;
  padding: 13px 18px;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.info-card:hover,
.stat-card:hover,
.video-card:hover {
  transform: translateY(-4px) scale(1.01);
}

.primary {
  background: var(--red);
  box-shadow: 0 0 28px rgba(227, 6, 33, 0.34);
}

.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
}

.hero-card,
.info-card,
.stat-card,
.skill-card,
.value-card,
.chart-card,
.timeline-item,
.video-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(12, 17, 28, 0.82);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.22);
}

.hero-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  backdrop-filter: blur(8px);
}

.hero-card-photo {
  position: relative;
  height: 240px;
  overflow: hidden;
  border-radius: 8px;
  background: #05070d;
}

.hero-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 10%;
}

.hero-card-logo {
  width: 82px;
  height: auto;
  margin-top: -58px;
  margin-left: 12px;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.5));
}

.hero-card > img:not(.hero-card-logo) {
  width: 100%;
  border-radius: 8px;
  object-fit: contain;
  background: transparent;
}

.hero-card span,
.info-card span,
.stat-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-card strong {
  display: block;
  margin-top: 4px;
  font-size: 34px;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.7;
}

.profile {
  background: linear-gradient(180deg, #080b12, #101522);
}

.marquee-band {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-top: 1px solid rgba(215, 173, 87, 0.32);
  border-bottom: 1px solid rgba(215, 173, 87, 0.32);
  background: var(--red);
  transform: skewY(-1.6deg);
}

.marquee-band::before,
.marquee-band::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  width: min(140px, 16vw);
  pointer-events: none;
}

.marquee-band::before {
  left: 0;
  background: linear-gradient(90deg, var(--red), transparent);
}

.marquee-band::after {
  right: 0;
  background: linear-gradient(270deg, var(--red), transparent);
}

.ticker-track {
  display: flex;
  width: max-content;
  padding: 15px 0;
  will-change: transform;
  animation: marquee 13s linear infinite;
}

.ticker-group {
  display: flex;
  flex: 0 0 auto;
  gap: 28px;
  padding-right: 28px;
}

.marquee-band:hover .ticker-track {
  animation-play-state: paused;
}

.marquee-band span {
  color: var(--white);
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(26px, 4vw, 50px);
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-band .ticker-label {
  display: inline-flex;
  align-items: center;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 4px;
  padding: 0 10px;
  color: var(--gold);
  background: rgba(0, 0, 0, 0.18);
}

.marquee-band span::after {
  content: "/";
  margin-left: 28px;
  color: var(--gold);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-100% / 3)); }
}

.profile-grid,
.stats-grid,
.skills-grid,
.values-grid,
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.info-card,
.stat-card {
  min-height: 168px;
  padding: 22px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.info-card svg,
.stat-card svg {
  width: 32px;
  height: 32px;
  color: var(--red);
  margin-bottom: 26px;
}

.info-card strong,
.stat-card strong {
  display: block;
  margin-top: 7px;
  font-size: 28px;
}

.stats {
  background:
    linear-gradient(120deg, rgba(6, 9, 16, 0.92), rgba(6, 9, 16, 0.98)),
    radial-gradient(circle at 82% 14%, rgba(227, 6, 33, 0.24), transparent 26%),
    url("assets/hero-cover.webp") right center / min(520px, 52vw) auto no-repeat;
  overflow: hidden;
}

.stats-visuals {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.6fr);
  gap: 16px;
  margin-top: 18px;
}

.chart-card,
.radar-card,
.languages-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(12, 17, 28, 0.82);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.22);
}

.chart-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 300px;
  padding: 24px;
}

.chart-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}

.chart-title strong,
.radar-card > strong {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 30px;
  text-transform: uppercase;
}

.chart-title span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.bar-wrap {
  display: flex;
  align-items: end;
  gap: 18px;
  min-height: 210px;
  padding-bottom: 24px;
}

.bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: var(--h);
  min-height: 42px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--gold), var(--red));
  transform-origin: bottom;
  transform: scaleY(1);
  filter: brightness(1.05);
}

.bar strong {
  color: var(--white);
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(24px, 4vw, 46px);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
  transform: rotate(-90deg);
  white-space: nowrap;
}

.bar::before {
  content: "";
  position: absolute;
  inset: -34px 0 100%;
  border-left: 1px dashed rgba(255, 255, 255, 0.18);
}

.bar span {
  position: absolute;
  bottom: -42px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.chart-note {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.radar-card {
  display: grid;
  align-content: start;
  min-height: 330px;
  padding: 24px;
  overflow: hidden;
}

.impact-orbit {
  position: relative;
  display: grid;
  place-items: center;
  width: min(210px, 76vw);
  aspect-ratio: 1;
  margin: 28px auto 18px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(227, 6, 33, 0.22) 0 22%, transparent 23% 100%),
    repeating-radial-gradient(circle, transparent 0 28px, rgba(255, 255, 255, 0.1) 29px 31px),
    conic-gradient(from 0deg, var(--red), var(--gold), rgba(255, 255, 255, 0.22), var(--red));
  box-shadow: inset 0 0 32px rgba(0, 0, 0, 0.36), 0 0 34px rgba(215, 173, 87, 0.16);
  animation: impactSweep 9s linear infinite;
}

.impact-orbit::before,
.impact-orbit::after {
  content: "";
  position: absolute;
  inset: 13%;
  border-radius: inherit;
  border: 1px dashed rgba(255, 255, 255, 0.2);
}

.impact-orbit::after {
  inset: 31%;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.14);
}

.impact-core {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(6, 9, 16, 0.84);
  border: 1px solid rgba(215, 173, 87, 0.42);
  box-shadow: 0 0 28px rgba(227, 6, 33, 0.22);
  animation: impactCounter 9s linear infinite;
}

.impact-core svg {
  width: 34px;
  height: 34px;
  color: var(--gold);
}

.impact-metrics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.impact-metrics span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

@keyframes impactSweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes impactCounter {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

.career,
.highlights {
  background: #f5f7fb;
  color: #111827;
}

.career .section-heading p,
.highlights .section-heading p {
  color: #4b5563;
}

.timeline {
  position: relative;
  display: grid;
  gap: 18px;
  max-width: 980px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 12px;
  width: 2px;
  background: linear-gradient(var(--red), var(--gold));
}

.timeline-item {
  position: relative;
  margin-left: 42px;
  padding: 22px;
  background: var(--white);
  color: #111827;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -38px;
  top: 26px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 0 7px rgba(227, 6, 33, 0.14);
}

.timeline-item time {
  color: var(--red);
  font-weight: 900;
}

.timeline-item p {
  color: #4b5563;
  line-height: 1.65;
}

.skills {
  background: linear-gradient(135deg, #080b12 0%, #111827 52%, #1a1013 100%);
  overflow: hidden;
}

.skill-card {
  padding: 22px;
}

.skill-card p {
  min-height: 78px;
  color: var(--muted);
  line-height: 1.55;
}

.skill-card span {
  display: block;
  height: 8px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--red) var(--level), rgba(255, 255, 255, 0.14) var(--level));
}

.skill-card span::before {
  content: none;
}

@keyframes skillSweep {
  from { transform: translateX(-120%); }
  to { transform: translateX(460%); }
}

.video-layout {
  display: grid;
  gap: 18px;
}

.featured-video {
  position: relative;
  display: grid;
  min-height: 420px;
  overflow: hidden;
  border-radius: 8px;
  color: var(--white);
}

.featured-video img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #05070d;
}

.featured-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6, 9, 16, 0.86), rgba(6, 9, 16, 0.08));
}

.featured-video span,
.featured-video strong {
  position: relative;
  z-index: 1;
}

.featured-video span {
  place-self: center;
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border-radius: 999px;
  background: var(--red);
}

.featured-video strong {
  align-self: end;
  padding: 28px;
  font-size: clamp(28px, 5vw, 60px);
  font-family: "Barlow Condensed", sans-serif;
}

.video-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.video-tabs button {
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: var(--white);
  padding: 10px 14px;
  font-weight: 900;
  cursor: pointer;
}

.video-tabs button.active {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.profile-link {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 12px 16px;
  color: #111827;
  background: var(--white);
  font-weight: 900;
  text-transform: uppercase;
}

.profile-link:hover {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.video-card {
  min-height: 150px;
  padding: 18px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(227, 6, 33, 0.78), rgba(6, 9, 16, 0.94)),
    url("assets/hero-cover.webp") center / cover;
  cursor: pointer;
}

.video-card span {
  display: inline-block;
  padding: 5px 8px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.48);
}

.video-card h3 {
  margin-top: 42px;
  font-size: 26px;
}

.gallery,
.offpitch {
  background: #0a0e17;
  overflow: hidden;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 14px;
}

.gallery-item {
  min-height: 320px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  cursor: zoom-in;
}

.gallery-logo,
.gallery-signature {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(215, 173, 87, 0.12)),
    #080b12;
}

.gallery-logo img,
.gallery-signature img {
  width: 82%;
  height: 82%;
  object-fit: contain;
}

.gallery-item:first-child {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.values-grid {
  grid-template-columns: repeat(3, 1fr);
}

.languages-panel {
  display: grid;
  gap: 16px;
  margin-top: 18px;
  padding: 22px;
}

.language-bar {
  display: grid;
  gap: 10px;
}

.language-bar div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--white);
  font-weight: 900;
  text-transform: uppercase;
}

.language-bar div strong {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 26px;
}

.language-bar div span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  border: 1px solid rgba(215, 173, 87, 0.28);
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--gold);
  background: rgba(215, 173, 87, 0.08);
  font-size: 13px;
  line-height: 1;
}

.language-bar i {
  position: relative;
  display: block;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.language-bar i::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--level);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red), var(--gold));
  box-shadow: 0 0 18px rgba(227, 6, 33, 0.32);
}

.value-card {
  min-height: 170px;
  display: grid;
  place-items: center;
  padding: 22px;
  background: linear-gradient(135deg, rgba(227, 6, 33, 0.14), rgba(215, 173, 87, 0.16));
}

.value-card strong {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(34px, 6vw, 76px);
  text-transform: uppercase;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(280px, 1.2fr) minmax(110px, 150px) auto;
  gap: 22px;
  align-items: center;
  padding: 32px clamp(18px, 5vw, 76px);
  border-top: 1px solid var(--line);
  background: #05070d;
}

.site-footer div,
.site-footer address {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.site-footer address {
  font-style: normal;
  justify-content: end;
}

.site-footer a {
  color: var(--muted);
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 9px 11px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  white-space: nowrap;
}

.contact-pill svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
}

.footer-signature {
  width: min(132px, 18vw);
  height: auto;
  justify-self: center;
  opacity: 0.78;
  filter: drop-shadow(0 0 8px rgba(215, 173, 87, 0.24));
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 28px;
  background: rgba(0, 0, 0, 0.88);
}

.lightbox.open {
  display: grid;
}

.lightbox img {
  max-width: min(1100px, 94vw);
  max-height: 86vh;
  border-radius: 8px;
}

.lightbox button {
  position: fixed;
  top: 22px;
  right: 22px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: var(--red);
}

[dir="rtl"] .timeline::before {
  left: auto;
  right: 12px;
}

[dir="rtl"] .timeline-item {
  margin-left: 0;
  margin-right: 42px;
}

[dir="rtl"] .timeline-item::before {
  left: auto;
  right: -38px;
}

@media (max-width: 940px) {
  .site-header {
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
  }

  .menu-toggle {
    display: grid;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 12px;
    right: 12px;
    display: grid;
    width: auto;
    max-height: calc(100vh - 88px);
    overflow: auto;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(6, 9, 16, 0.97);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .site-header.nav-open .main-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 14px 12px;
    border-radius: 6px;
  }

  .main-nav a:hover,
  .main-nav a.active {
    background: rgba(255, 255, 255, 0.08);
  }

  .hero-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 300px;
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(5, 7, 13, 0.78) 0%, rgba(5, 7, 13, 0.82) 46%, rgba(5, 7, 13, 0.98) 100%),
      url("assets/hero-cover.webp") center top 86px / min(100vw, 560px) auto no-repeat;
  }

  .profile-grid,
  .stats-grid,
  .stats-visuals,
  .skills-grid,
  .values-grid,
  .video-grid,
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-visuals {
    grid-template-columns: 1fr;
  }

  .site-footer address {
    justify-content: start;
  }

  .featured-video img {
    object-fit: cover;
    object-position: center top;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 10px 14px;
  }

  .brand img:not(.brand-signature) {
    width: 40px;
    height: 40px;
  }

  .brand .brand-signature {
    width: 74px;
    height: 26px;
  }

  .language-select {
    min-width: 64px;
    padding: 8px 7px;
    font-size: 13px;
  }

  .hero {
    min-height: 92vh;
    padding-top: 142px;
  }

  .hero-noise,
  .speed-lines,
  .hero-name-track,
  .cursor-aura {
    display: none;
  }

  h1 {
    font-size: clamp(58px, 20vw, 92px);
  }

  .marquee-band {
    transform: none;
  }

  .ticker-track {
    padding: 11px 0;
    animation-duration: 10s;
  }

  .ticker-group {
    gap: 18px;
    padding-right: 18px;
  }

  .marquee-band span {
    font-size: 28px;
  }

  .marquee-band span::after {
    margin-left: 18px;
  }

  .profile-grid,
  .stats-grid,
  .stats-visuals,
  .skills-grid,
  .values-grid,
  .video-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .featured-video {
    min-height: 260px;
  }

  .featured-video img {
    object-fit: contain;
  }

  .featured-video span {
    width: 62px;
    height: 62px;
  }

  .featured-video strong {
    padding: 18px;
    font-size: 30px;
  }

  .radar-card {
    min-height: auto;
    padding: 18px;
  }

  .impact-orbit {
    width: min(178px, 78vw);
    margin-top: 20px;
  }

  .impact-metrics {
    justify-content: flex-start;
  }

  .impact-metrics span {
    font-size: 10px;
  }

  .bar-wrap {
    gap: 12px;
    min-height: 190px;
  }

  .bar strong {
    font-size: 26px;
  }

  .bar span {
    bottom: -48px;
    font-size: 10px;
    white-space: normal;
    width: 86px;
  }

  .chart-note {
    margin-top: 34px;
  }

  .site-footer {
    gap: 16px;
  }

  .site-footer div,
  .site-footer address {
    align-items: flex-start;
  }

  .site-footer address {
    display: grid;
    justify-content: stretch;
    width: 100%;
  }

  .contact-pill {
    width: 100%;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .footer-signature {
    width: 120px;
    justify-self: start;
  }

  .gallery-item:first-child {
    grid-row: auto;
  }
}

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

  .hero-noise,
  .speed-lines span,
  .hero-name-track,
  .impact-orbit {
    animation: none !important;
  }

  .impact-core {
    animation: none !important;
  }

  .ticker-track,
  .loader-logo {
    animation-play-state: running !important;
    animation-iteration-count: infinite !important;
  }
}
