:root {
  --bg: #070711;
  --bg2: #05050c;
  --panel: rgba(255, 255, 255, 0.055);
  --panel2: rgba(255, 255, 255, 0.035);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.66);
  --a: #00ffff;
  --b: #ff00ff;
  --c: #ffaa00;
  --borderA: rgba(0, 255, 255, 0.26);
  --borderB: rgba(255, 0, 255, 0.24);
  --borderC: rgba(255, 170, 0, 0.22);
  --shadowA: rgba(0, 255, 255, 0.25);
  --shadowB: rgba(255, 0, 255, 0.20);
  --shadowC: rgba(255, 170, 0, 0.18);
  --radius: 16px;
  --radius2: 22px;
  --radius3: 28px;
  --max: 1120px;
  --title: "Orbitron", system-ui, -apple-system, Segoe UI, Roboto, Arial;
  --ui: "Space Grotesk", system-ui, -apple-system, Segoe UI, Roboto, Arial;
  --alt: "Rajdhani", system-ui, -apple-system, Segoe UI, Roboto, Arial;
  --eio: cubic-bezier(.2, .8, .2, 1);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --hud-line: rgba(255, 255, 255, 0.04);
  --hud-line2: rgba(0, 255, 255, 0.05);
  --grid: rgba(0, 255, 255, 0.05);
  --scan: rgba(255, 255, 255, 0.025);
  --routeDur: 420ms;
  --routeSkew: 9deg;
}

body.light {
  --bg: #f3f4f8;
  --bg2: #e9ebf3;
  --panel: rgba(0, 0, 0, 0.06);
  --panel2: rgba(0, 0, 0, 0.035);
  --text: rgba(0, 0, 0, 0.92);
  --muted: rgba(0, 0, 0, 0.66);
  --borderA: rgba(0, 200, 200, 0.35);
  --borderB: rgba(255, 0, 255, 0.28);
  --borderC: rgba(255, 170, 0, 0.28);
  --shadowA: rgba(0, 200, 200, 0.26);
  --shadowB: rgba(255, 0, 255, 0.18);
  --shadowC: rgba(255, 170, 0, 0.14);
  --hud-line: rgba(0, 0, 0, 0.06);
  --hud-line2: rgba(0, 200, 200, 0.07);
  --grid: rgba(0, 200, 200, 0.08);
  --scan: rgba(0, 0, 0, 0.03);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: radial-gradient(1200px 800px at 20% 0%, rgba(255, 0, 255, 0.10), transparent 60%),
    radial-gradient(900px 680px at 85% 25%, rgba(0, 255, 255, 0.10), transparent 62%),
    radial-gradient(900px 700px at 55% 105%, rgba(255, 170, 0, 0.08), transparent 62%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  color: var(--text);
  font-family: var(--ui);
  overflow-x: hidden;
  text-rendering: geometricPrecision;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

#particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -6;
  opacity: 0.55;
  pointer-events: none;
}

.bg-layer {
  position: fixed;
  inset: 0;
  z-index: -7;
  pointer-events: none;
  opacity: 1;
}

.bg-layer::before {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(900px 600px at 15% 20%, rgba(0, 255, 255, 0.10), transparent 60%),
    radial-gradient(900px 700px at 85% 30%, rgba(255, 0, 255, 0.10), transparent 60%),
    radial-gradient(800px 620px at 55% 110%, rgba(255, 170, 0, 0.08), transparent 62%);
  filter: saturate(1.1) contrast(1.02);
  opacity: 0.9;
}

.bg-layer::after {
  content: "";
  position: absolute;
  left: -25%;
  top: -10%;
  width: 150%;
  height: 130%;
  background:
    linear-gradient(to right, transparent 0, transparent 96%, var(--grid) 100%),
    linear-gradient(to bottom, transparent 0, transparent 96%, var(--grid) 100%);
  background-size: 84px 84px;
  transform-origin: 50% 0%;
  transform: perspective(900px) rotateX(58deg) translateY(-8%);
  opacity: 0.42;
  filter: blur(0.2px);
  animation: gridDrift 9.5s linear infinite;
}

@keyframes gridDrift {
  0% {
    background-position: 0 0, 0 0;
  }

  100% {
    background-position: 0 360px, 0 360px;
  }
}

.hud-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -5;
  opacity: 0.65;
  mix-blend-mode: normal;
}

.hud-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--hud-line) 1px, transparent 1px),
    linear-gradient(0deg, var(--hud-line) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(closest-side at 50% 30%, rgba(0, 0, 0, 1), transparent 70%);
  opacity: 0.45;
}

.hud-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 28%, rgba(0, 255, 255, 0.10), transparent 42%),
    linear-gradient(90deg, transparent 0 48.6%, var(--hud-line2) 48.6% 51.4%, transparent 51.4% 100%),
    linear-gradient(0deg, transparent 0 28.6%, var(--hud-line2) 28.6% 31.4%, transparent 31.4% 100%);
  opacity: 0.45;
}

.vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -4;
  background: radial-gradient(closest-side at 50% 35%, transparent 55%, rgba(0, 0, 0, 0.55) 100%);
  opacity: 0.45;
}

body.light .vignette {
  background: radial-gradient(closest-side at 50% 35%, transparent 55%, rgba(0, 0, 0, 0.20) 100%);
  opacity: 0.30;
}

.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -3;
  background: repeating-linear-gradient(to bottom,
      rgba(255, 255, 255, 0.00) 0px,
      rgba(255, 255, 255, 0.00) 2px,
      var(--scan) 3px,
      rgba(255, 255, 255, 0.00) 6px);
  opacity: 0.24;
  animation: scanShift 10s linear infinite;
}

@keyframes scanShift {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 0 240px;
  }
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  opacity: 0.08;
   background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.blobs {
  position: fixed;
  inset: -10%;
  z-index: -8;
  pointer-events: none;
  filter: blur(22px) saturate(1.18);
  opacity: 0.45;
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
}

.blob {
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(0, 255, 255, 0.35), rgba(255, 0, 255, 0.12), transparent 60%);
  animation: blobFloat 12s var(--ease) infinite;
}

.blob.b1 {
  left: 8%;
  top: 18%;
  animation-delay: -2.5s;
}

.blob.b2 {
  right: 10%;
  top: 12%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 0, 255, 0.35), rgba(0, 255, 255, 0.10), transparent 60%);
  animation-delay: -6s;
}

.blob.b3 {
  left: 24%;
  bottom: 6%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle at 35% 35%, rgba(255, 170, 0, 0.28), rgba(0, 255, 255, 0.10), transparent 60%);
  animation-delay: -9s;
}

@keyframes blobFloat {

  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(0, -18px, 0) scale(1.03);
  }
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.18));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

body.light .header {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.35));
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  user-select: none;
}

.logo {
  font-family: var(--title);
  letter-spacing: 0.08em;
  font-weight: 800;
  font-size: 14px;
  position: relative;
}

.logo::before {
  content: "";
  position: absolute;
  inset: -10px -12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  transform: skewX(-10deg);
  opacity: 0.75;
}

.badge {
  font-family: var(--alt);
  font-weight: 700;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: linear-gradient(90deg, rgba(0, 255, 255, 0.12), rgba(255, 0, 255, 0.08));
  box-shadow: 0 0 24px rgba(0, 255, 255, 0.10);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--alt);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 12px;
}

.nav a {
  position: relative;
  padding: 10px 10px;
  border-radius: 10px;
  transition: transform 180ms var(--eio), background 180ms var(--eio), box-shadow 180ms var(--eio);
  outline: none;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 6px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.65), rgba(255, 0, 255, 0.55), transparent);
  transform: scaleX(0);
  transform-origin: 50% 50%;
  transition: transform 220ms var(--eio);
  opacity: 0.9;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(0, 255, 255, 0.12), 0 16px 34px rgba(0, 0, 0, 0.32);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.nav a.active {
  background: linear-gradient(90deg, rgba(0, 255, 255, 0.10), rgba(255, 0, 255, 0.06));
  box-shadow: 0 0 0 1px var(--borderA), 0 0 26px rgba(0, 255, 255, 0.12);
}

.nav a.active::after {
  transform: scaleX(1);
}

.header-ctas {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn,
.btn,
.mini-link {
  -webkit-tap-highlight-color: transparent;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-family: var(--alt);
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms var(--eio), box-shadow 180ms var(--eio), background 180ms var(--eio);
  position: relative;
  overflow: hidden;
  will-change: transform;
  box-shadow: 0 0 0 1px rgba(0, 255, 255, 0.08), 0 8px 24px rgba(0, 0, 0, 0.22);
}

.icon-btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(90deg, rgba(0, 255, 255, 0.18), rgba(255, 0, 255, 0.14), rgba(255, 170, 0, 0.10));
  opacity: 0;
  transform: translateX(-24%);
  transition: opacity 220ms var(--eio), transform 220ms var(--eio);
}

.icon-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px var(--borderA), 0 16px 38px rgba(0, 0, 0, 0.34);
}

.icon-btn:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.icon-btn.secondary {
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--alt);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 12px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 180ms var(--eio), box-shadow 200ms var(--eio), background 180ms var(--eio);
  box-shadow: 0 0 0 1px rgba(0, 255, 255, 0.08), 0 10px 28px rgba(0, 0, 0, 0.24);
}

.btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    linear-gradient(90deg, rgba(0, 255, 255, 0.22), rgba(255, 0, 255, 0.16), rgba(255, 170, 0, 0.12));
  opacity: 0;
  transform: translateX(-20%);
  transition: opacity 240ms var(--eio), transform 240ms var(--eio);
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.10),
    0 0 0 1px rgba(0, 255, 255, 0.10);
  opacity: 0.75;
  pointer-events: none;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px var(--borderA),
    0 0 34px rgba(0, 255, 255, 0.12),
    0 22px 48px rgba(0, 0, 0, 0.40);
}


.btn:active {
  transform: translateY(0);
  box-shadow:
    0 0 0 1px var(--borderA),
    0 10px 24px rgba(0, 0, 0, 0.30);
}

.btn:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.btn.primary {
  border-color: rgba(0, 255, 255, 0.22);
  background: linear-gradient(90deg, rgba(0, 255, 255, 0.10), rgba(255, 0, 255, 0.06));
}

.btn.ghost {
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.20);
  background: rgba(255, 255, 255, 0.02);
}

@keyframes shimmer {
  0% {
    transform: translateX(-60%) skewX(-12deg);
    opacity: 0;
  }

  35% {
    opacity: 0.55;
  }

  100% {
    transform: translateX(140%) skewX(-12deg);
    opacity: 0;
  }
}

.btn:hover .btn-shimmer {
  animation: shimmer 680ms linear 1;
}

.btn:focus-visible,
.icon-btn:focus-visible,
.mini-link:focus-visible,
.nav a:focus-visible {
  outline: 2px solid rgba(0, 255, 255, 0.55);
  outline-offset: 3px;
}

.page {
  padding-bottom: 60px;
  transform-origin: 50% 20%;
  will-change: opacity, transform, filter;
}

.page.is-exiting {
  opacity: 0.0;
  transform: translateY(8px) scale(0.992);
  filter: blur(3px);
  transition: opacity var(--routeDur) var(--eio), transform var(--routeDur) var(--eio), filter var(--routeDur) var(--eio);
}

.section {
  padding: 54px 0;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.section-title h2 {
  margin: 0;
  font-family: var(--title);
  letter-spacing: 0.08em;
  font-size: 18px;
}

.hr {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, rgba(0, 255, 255, 0.50), rgba(255, 0, 255, 0.28), transparent);
  opacity: 0.7;
  box-shadow: 0 0 14px rgba(0, 255, 255, 0.18);
}

.hero {
  padding: 54px 0 10px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 22px;
  align-items: start;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 860px) {
  .header-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 10px 0;
  }
  .brand {
    justify-content: center;
    flex-wrap: wrap;
  }
  .nav {
    justify-content: center;
    flex-wrap: nowrap;
    gap: 10px;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .nav::-webkit-scrollbar {
    display: none;
  }
  .nav a {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .header-ctas {
    justify-content: center;
    flex-wrap: wrap;
  }
}

.kicker {
  font-family: var(--alt);
  letter-spacing: 0.16em;
  font-weight: 700;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
}

.h1 {
  font-family: var(--title);
  font-weight: 800;
  letter-spacing: 0.05em;
  font-size: clamp(40px, 6vw, 62px);
  line-height: 1.02;
  margin: 10px 0 10px;
  position: relative;
  display: inline-block;
}

.glowA {
  text-shadow: 0 0 16px rgba(0, 255, 255, 0.28), 0 0 38px rgba(0, 255, 255, 0.12);
}

.glowB {
  text-shadow: 0 0 16px rgba(255, 0, 255, 0.28), 0 0 38px rgba(255, 0, 255, 0.12);
}

.h1.type {
  display: inline-block;
}

.type-target {
  display: inline-block;
  position: relative;
  white-space: nowrap;
}

.type-target::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 0.95em;
  margin-left: 8px;
  border-radius: 2px;
  background: rgba(0, 255, 255, 0.85);
  box-shadow: 0 0 18px rgba(0, 255, 255, 0.35);
  transform: translateY(2px);
  animation: caretBlink 900ms steps(1) infinite;
  opacity: 0;
}

.type-target.is-typing::after {
  opacity: 1;
}

.type-target.is-done::after {
  opacity: 1;
  animation-duration: 1200ms;
}

@keyframes caretBlink {

  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

.h1[data-glitch] {
  position: relative;
}

.h1[data-glitch]::before,
.h1[data-glitch]::after {
  content: attr(data-glitch);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
}

.h1[data-glitch]::before {
  transform: translateX(1px);
  color: rgba(0, 255, 255, 0.85);
  text-shadow: 0 0 18px rgba(0, 255, 255, 0.25);
}

.h1[data-glitch]::after {
  transform: translateX(-1px);
  color: rgba(255, 0, 255, 0.75);
  text-shadow: 0 0 18px rgba(255, 0, 255, 0.22);
}

.h1.glitching::before,
.h1.glitching::after {
  opacity: 0.85;
  animation: textGlitch 520ms steps(2, end) 1;
}

@keyframes textGlitch {
  0% {
    clip-path: inset(0 0 78% 0);
    transform: translateX(-2px);
  }

  25% {
    clip-path: inset(24% 0 52% 0);
    transform: translateX(2px);
  }

  55% {
    clip-path: inset(58% 0 20% 0);
    transform: translateX(-3px);
  }

  100% {
    clip-path: inset(0 0 0 0);
    transform: translateX(0);
    opacity: 0;
  }
}

.sub {
  font-family: var(--alt);
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-top: 10px;
  color: var(--muted);
}

.tagline {
  margin: 10px 0 0;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  position: relative;
}

.tagline.is-decrypting {
  text-shadow: 0 0 18px rgba(0, 255, 255, 0.12);
}

.hero-ctas {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.profile-card {
  border-radius: var(--radius3);
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: 0 0 0 1px rgba(0, 255, 255, 0.10), 0 28px 60px rgba(0, 0, 0, 0.42);
  overflow: hidden;
  position: relative;
}

.profile-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    linear-gradient(115deg, rgba(0, 255, 255, 0.14), transparent 35%),
    linear-gradient(45deg, rgba(255, 0, 255, 0.10), transparent 40%),
    radial-gradient(900px 200px at 30% 0%, rgba(255, 170, 0, 0.08), transparent 62%);
  opacity: 0.9;
  pointer-events: none;
}

.profile-inner {
  position: relative;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 18px;
  align-items: center;
  padding: 22px;
}

.avatar {
  width: 240px;
  height: 240px;
  border-radius: 20px;
  overflow: hidden;
  background: color-mix(in srgb, var(--panel2) 70%, transparent);
  transform: none;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}

.profile-stats {
  position: relative;
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

.stat {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
  padding: 10px 10px;
  position: relative;
  overflow: hidden;
}

.stat::after {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(90deg, rgba(0, 255, 255, 0.14), rgba(255, 0, 255, 0.10));
  opacity: 0;
  transform: translateX(-22%);
  transition: opacity 240ms var(--eio), transform 240ms var(--eio);
}

.profile-card:hover .stat::after {
  opacity: 0.9;
  transform: translateX(0);
}

.k {
  font-family: var(--alt);
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 11px;
  color: var(--muted);
}

.v {
  margin-top: 4px;
  font-family: var(--ui);
  font-weight: 700;
}

.panel,
.card {
  border-radius: var(--radius2);
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 0 1px rgba(0, 255, 255, 0.10), 0 24px 56px rgba(0, 0, 0, 0.38);
  position: relative;
  overflow: hidden;
}

.panel {
  padding: 16px;
}

.card {
  padding: 16px;
}

.card::before,
.panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    linear-gradient(115deg, rgba(0, 255, 255, 0.12), transparent 40%),
    linear-gradient(35deg, rgba(255, 0, 255, 0.10), transparent 45%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.02) 0px, rgba(255, 255, 255, 0.02) 1px, transparent 2px, transparent 6px);
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 220ms var(--eio);
}

.card:hover::before {
  opacity: 0.85;
}

.card h3 {
  margin: 0 0 6px;
  font-family: var(--title);
  letter-spacing: 0.06em;
  font-size: 16px;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.grid>* {
  grid-column: span 4;
}

@media (max-width: 980px) {
  .grid>* {
    grid-column: span 6;
  }
}

@media (max-width: 620px) {
  .grid>* {
    grid-column: span 6;
  }
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 980px) {
  .featured-grid {
    grid-template-columns: 1fr;
  }
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  font-family: var(--alt);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.08em;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  position: relative;
  overflow: hidden;
}

.pill::after {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(90deg, rgba(0, 255, 255, 0.14), rgba(255, 0, 255, 0.10), rgba(255, 170, 0, 0.08));
  opacity: 0;
  transform: translateX(-22%);
  transition: opacity 220ms var(--eio), transform 220ms var(--eio);
}

.pill:hover::after {
  opacity: 0.9;
  transform: translateX(0);
}

.links {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mini-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--alt);
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 0.10em;
  position: relative;
  overflow: hidden;
  transition: transform 180ms var(--eio), box-shadow 200ms var(--eio), background 180ms var(--eio);
}

.mini-link::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(90deg, rgba(0, 255, 255, 0.18), rgba(255, 0, 255, 0.12));
  opacity: 0;
  transform: translateX(-24%);
  transition: opacity 220ms var(--eio), transform 220ms var(--eio);
}

.mini-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px var(--borderA), 0 0 28px rgba(0, 255, 255, 0.12);
}

.mini-link:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.project-card {
  transform: translateZ(0);
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(240px 140px at 20% 20%, rgba(0, 255, 255, 0.18), transparent 70%),
    radial-gradient(240px 140px at 80% 40%, rgba(255, 0, 255, 0.14), transparent 70%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.02) 0px, rgba(255, 255, 255, 0.02) 1px, transparent 2px, transparent 7px);
  transition: opacity 220ms var(--eio);
}

.project-card:hover::after {
  opacity: 1;
}

.project-card:hover {
  box-shadow:
    0 0 0 1px rgba(0, 255, 255, 0.22),
    0 0 42px rgba(0, 255, 255, 0.12),
    0 34px 68px rgba(0, 0, 0, 0.45);
}

.project-card h3 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.project-card h3::after {
  content: "";
  width: 9px;
  height: 1.05em;
  border-radius: 2px;
  background: rgba(0, 255, 255, 0.75);
  box-shadow: 0 0 16px rgba(0, 255, 255, 0.35);
  opacity: 0;
  transform: translateY(1px);
}

.project-card:hover h3::after {
  opacity: 1;
  animation: cursorBlink 900ms steps(1) infinite;
}

@keyframes cursorBlink {

  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.cert-card {
  grid-column: span 6;
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: var(--radius2);
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 0 1px rgba(255, 0, 255, 0.10), 0 24px 56px rgba(0, 0, 0, 0.38);
  position: relative;
  overflow: hidden;
}

@media (max-width: 780px) {
  .cert-card {
    grid-column: span 12;
  }
}

.cert-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(115deg, rgba(255, 0, 255, 0.14), transparent 40%),
    linear-gradient(45deg, rgba(0, 255, 255, 0.12), transparent 45%);
  opacity: 0.6;
  pointer-events: none;
}

.cert-badge {
  width: 110px;
  height: 110px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 170, 0, 0.16), 0 0 28px rgba(255, 170, 0, 0.10);

}

.cert-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.cert-name {
  margin: 0;
  font-family: var(--title);
  letter-spacing: 0.05em;
  font-size: 14px;
}

.cert-inst {
  margin: 4px 0 0;
  color: var(--muted);
}

.cert-year {
  margin-top: 8px;
  font-family: var(--alt);
  font-weight: 900;
  letter-spacing: 0.10em;
  font-size: 11px;
  color: rgba(255, 170, 0, 0.92);
  text-shadow: 0 0 18px rgba(255, 170, 0, 0.18);
}

.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-left: 34px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(180deg, rgba(0, 255, 255, 0.65), rgba(255, 0, 255, 0.35), rgba(255, 170, 0, 0.25));
  box-shadow: 0 0 24px rgba(0, 255, 255, 0.18);
  opacity: 0.95;
}

.timeline::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 0;
  width: 14px;
  height: 120px;
  background: radial-gradient(circle at 50% 30%, rgba(0, 255, 255, 0.35), transparent 70%);
  filter: blur(0.2px);
  animation: traceFlow 2.2s linear infinite;
  opacity: 0.9;
}

@keyframes traceFlow {
  0% {
    transform: translateY(0);
    opacity: 0.0;
  }

  15% {
    opacity: 0.85;
  }

  100% {
    transform: translateY(480px);
    opacity: 0.0;
  }
}

.timeline-item {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  align-items: start;
}

.timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  margin-left: 5px;
  margin-top: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(circle at 30% 30%, rgba(0, 255, 255, 0.9), rgba(0, 255, 255, 0.25));
  box-shadow: 0 0 0 2px rgba(0, 255, 255, 0.08), 0 0 26px rgba(0, 255, 255, 0.20);
  position: relative;
}

.timeline-dot::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: inherit;
  border: 1px dashed rgba(0, 255, 255, 0.14);
  opacity: 0.0;
  transform: scale(0.92);
  transition: opacity 200ms var(--eio), transform 200ms var(--eio);
}

.timeline-item:hover .timeline-dot::after {
  opacity: 1;
  transform: scale(1);
}

.timeline-card {
  border-radius: var(--radius2);
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 0 1px rgba(0, 255, 255, 0.10), 0 24px 56px rgba(0, 0, 0, 0.36);
  padding: 14px 14px;
  position: relative;
  overflow: hidden;
}

.timeline-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    linear-gradient(120deg, rgba(0, 255, 255, 0.10), transparent 40%),
    linear-gradient(45deg, rgba(255, 0, 255, 0.08), transparent 45%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.02) 0px, rgba(255, 255, 255, 0.02) 1px, transparent 2px, transparent 7px);
  opacity: 0.55;
  pointer-events: none;
}

.timeline-date {
  font-family: var(--alt);
  font-weight: 900;
  letter-spacing: 0.12em;
  font-size: 11px;
  color: rgba(0, 255, 255, 0.92);
  text-shadow: 0 0 18px rgba(0, 255, 255, 0.18);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.timeline-title {
  font-family: var(--title);
  font-weight: 800;
  letter-spacing: 0.05em;
  font-size: 15px;
  margin: 0 0 6px;
}

.timeline-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(3px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease), filter 700ms var(--ease);
  will-change: opacity, transform, filter;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.reveal.glitch-in {
  animation: glitchIn 540ms steps(2, end) 1;
}

@keyframes glitchIn {
  0% {
    transform: translateY(18px) skewX(0deg);
    filter: blur(3px);
  }

  30% {
    transform: translateY(6px) skewX(-0.7deg);
  }

  55% {
    transform: translateY(0) skewX(0.35deg);
  }

  100% {
    transform: translateY(0) skewX(0deg);
    filter: blur(0);
  }
}

#routeFx {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0;
  transform: translateY(0);
}

#routeFx .fx {
  position: absolute;
  inset: -20%;
  transform: skewX(var(--routeSkew));
  background:
    linear-gradient(90deg,
      rgba(0, 255, 255, 0.00) 0%,
      rgba(0, 255, 255, 0.18) 14%,
      rgba(255, 0, 255, 0.16) 44%,
      rgba(255, 170, 0, 0.12) 62%,
      rgba(255, 255, 255, 0.00) 100%);
  filter: blur(0.2px);
  opacity: 0.0;
}

#routeFx .fx::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(to bottom,
      rgba(255, 255, 255, 0.00) 0px,
      rgba(255, 255, 255, 0.00) 2px,
      rgba(255, 255, 255, 0.04) 3px,
      rgba(255, 255, 255, 0.00) 6px);
  opacity: 0.6;
  mix-blend-mode: overlay;
}

body.route-in #routeFx {
  opacity: 1;
}

body.route-in #routeFx .fx {
  opacity: 0.95;
  animation: routeIn var(--routeDur) var(--eio) 1 forwards;
}

body.route-out #routeFx {
  opacity: 1;
}

body.route-out #routeFx .fx {
  opacity: 0.95;
  animation: routeOut var(--routeDur) var(--eio) 1 forwards;
}

@keyframes routeIn {
  0% {
    transform: translateX(-140%) skewX(var(--routeSkew));
  }

  100% {
    transform: translateX(140%) skewX(var(--routeSkew));
    opacity: 0;
  }
}

@keyframes routeOut {
  0% {
    transform: translateX(-140%) skewX(var(--routeSkew));
    opacity: 0.0;
  }

  15% {
    opacity: 0.95;
  }

  100% {
    transform: translateX(140%) skewX(var(--routeSkew));
    opacity: 0.0;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  #particles {
    display: none;
  }

  .scanlines,
  .noise,
  .bg-layer::after {
    animation: none !important;
  }
}

.muted {
  color: var(--muted);
}

.small {
  font-family: var(--alt);
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 12px;
  color: var(--muted);
}

.pills {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer {
  padding: 28px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.10));
}

body.light .footer {
  border-top: 1px solid rgba(0, 0, 0, 0.10);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.00));
}

.breadcrumb {
  font-family: var(--alt);
  font-weight: 800;
  letter-spacing: 0.10em;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 12px;
}

.breadcrumb a {
  color: inherit;
  padding: 4px 6px;
  border-radius: 8px;
  transition: background 160ms var(--eio), box-shadow 160ms var(--eio);
}

.breadcrumb a:hover {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 1px rgba(0, 255, 255, 0.12);
}

.searchbar {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 0 1px rgba(0, 255, 255, 0.10), 0 20px 44px rgba(0, 0, 0, 0.32);
}

.searchbar input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-family: var(--ui);
  font-size: 14px;
}

.searchbar input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

body.light .searchbar input::placeholder {
  color: rgba(0, 0, 0, 0.45);
}

.hint {
  font-family: var(--alt);
  font-weight: 900;
  letter-spacing: 0.10em;
  font-size: 11px;
  color: rgba(0, 255, 255, 0.85);
  text-shadow: 0 0 18px rgba(0, 255, 255, 0.18);
}

.filter-btn {
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--alt);
  font-weight: 900;
  letter-spacing: 0.10em;
  font-size: 11px;
  transition: transform 160ms var(--eio), box-shadow 180ms var(--eio), background 160ms var(--eio);
  position: relative;
  overflow: hidden;
}

.filter-btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(90deg, rgba(0, 255, 255, 0.18), rgba(255, 0, 255, 0.12));
  opacity: 0;
  transform: translateX(-22%);
  transition: opacity 220ms var(--eio), transform 220ms var(--eio);
}

.filter-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px var(--borderA), 0 0 26px rgba(0, 255, 255, 0.10);
}

.filter-btn:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.filter-btn.active {
  background: linear-gradient(90deg, rgba(0, 255, 255, 0.12), rgba(255, 0, 255, 0.08));
  box-shadow: 0 0 0 1px var(--borderA), 0 0 34px rgba(0, 255, 255, 0.12);
}

.bullets {
  margin: 8px 0 0 18px;
  padding: 0;
  color: var(--muted);
  line-height: 1.65;
}

.bullets li {
  margin: 6px 0;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
  margin-top: 10px;
}

.gallery .shot {
  grid-column: span 4;
  border-radius: var(--radius2);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  position: relative;
  transition: transform 180ms var(--eio), box-shadow 200ms var(--eio), filter 200ms var(--eio);
}

@media (max-width: 900px) {
  .gallery .shot {
    grid-column: span 6;
  }
}

@media (max-width: 560px) {
  .gallery .shot {
    grid-column: span 12;
  }
}

.gallery .shot::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(to bottom,
      rgba(255, 255, 255, 0.00) 0px,
      rgba(255, 255, 255, 0.00) 2px,
      rgba(255, 255, 255, 0.05) 3px,
      rgba(255, 255, 255, 0.00) 6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms var(--eio);
}

.gallery .shot:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(0, 255, 255, 0.18), 0 0 34px rgba(0, 255, 255, 0.10), 0 30px 64px rgba(0, 0, 0, 0.42);
  filter: saturate(1.06) contrast(1.02);
}

.gallery .shot:hover::before {
  opacity: 0.75;
  animation: scanShift 1.25s linear infinite;
}

.gallery img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms var(--eio);
  z-index: 1200;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-inner {
  width: min(980px, calc(100% - 36px));
  border-radius: var(--radius3);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(20, 20, 30, 0.55);
  box-shadow: 0 0 0 1px rgba(0, 255, 255, 0.12), 0 40px 90px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  position: relative;
}

body.light .lightbox-inner {
  background: rgba(255, 255, 255, 0.72);
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  font-family: var(--alt);
  font-weight: 900;
  letter-spacing: 0.10em;
  font-size: 11px;
}

.lightbox-close:hover {
  box-shadow: 0 0 0 1px var(--borderA), 0 0 28px rgba(0, 255, 255, 0.12);
  transform: translateY(-1px);
}

#lightboxImg {
  width: 100%;
  height: auto;
  display: block;
}

.card,
.cert-card {
  transition: transform 220ms var(--eio);
  will-change: transform;
}

.card:hover,
.cert-card:hover {
  transform: translateY(-3px);
}

.card:active,
.cert-card:active {
  transform: translateY(-1px);
}



.icon-btn:hover {
  transform: translateY(-1px) scale(1.02);
}

.icon-btn:active {
  transform: translateY(0) scale(0.98);
}

.fx-img {
  opacity: 0;
  transform: scale(1.01);
  filter: saturate(1.02);
  transition: opacity 520ms var(--ease), transform 520ms var(--ease), filter 520ms var(--ease);
  will-change: opacity, transform, filter;
}

.fx-img.img-in {
  opacity: 1;
  transform: scale(1);
  filter: none;
}

.section.fx-target .section-title h2 {
  text-shadow: 0 0 18px rgba(0, 255, 255, 0.20), 0 0 28px rgba(255, 0, 255, 0.12);
}

.section.fx-target .hr {
  animation: hrFlash 900ms var(--ease) both;
}

@keyframes hrFlash {
  0% {
    transform: scaleX(0.85);
    opacity: 0.35;
  }

  45% {
    transform: scaleX(1.02);
    opacity: 0.95;
  }

  100% {
    transform: scaleX(1);
    opacity: 0.75;
  }
}

@media (max-width: 480px) {
  .header-ctas {
    gap: 8px;
  }
  .nav a {
    flex: 0 0 auto;
    padding: 8px 8px;
    font-size: 10px;
    line-height: 1;
    white-space: nowrap;
  }


  .badge {
    display: none;
  }

  .hero {
    padding: 32px 0 0;
  }

  .h1 {
    font-size: clamp(30px, 8vw, 40px);
  }

  .tagline {
    font-size: 14px;
  }

  .profile-inner {
    flex-direction: column;
    gap: 14px;
  }

  .avatar,
  .profile-photo,
  .hero-avatar img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }

  .profile-stats {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .section {
    padding: 32px 0;
  }

  .section-title h2 {
    font-size: 16px;
  }

  .cert-card {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .cert-badge {
    width: 80px;
    height: 80px;
  }

  .timeline {
    padding-left: 24px;
  }

  .timeline-item {
    grid-template-columns: 20px 1fr;
  }

  .footer {
    padding: 20px 0 30px;
  }

 
  #contato .grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
  #contato .grid > .card{
    grid-column: auto !important;
    width: 100%;
    min-width: 0;
  }

 
}

@media (max-width: 640px) {
  .hero-grid {
    gap: 16px;
  }

  .grid {
    gap: 12px;
  }

  .card h3 {
    font-size: 15px;
  }

  .card p {
    font-size: 13px;
  }

  .gallery .shot {
    grid-column: span 12;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(var(--max), calc(100% - 28px));
  }
  .nav {
    flex-wrap: nowrap;
  }

  .profile-stats {
    gap: 10px;
  }

  .projects-grid,
  .grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

 
  #contato .grid{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
  #contato .grid > .card{
    grid-column: auto !important;
  }
}

@media (max-width: 1024px) {
  .container {
    width: min(var(--max), calc(100% - 40px));
  }

  .hero {
    padding-top: 44px;
  }
}

@media (min-width: 1025px) {
  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

#contato .card {
  max-width: 200px;
}

@media (min-width: 1025px) {
  #contato .grid {
    max-width: 630px;
    gap: 12px;
  }
}

@media (min-width: 1440px) {
  :root {
    --max: 1400px;
  }

  body {
    font-size: 16px;
  }

  .h1 {
    font-size: clamp(44px, 4vw, 68px);
  }

  .tagline {
    font-size: 16px;
  }

  .section-title h2 {
    font-size: 20px;
  }

  .card h3 {
    font-size: 17px;
  }

  .card p {
    font-size: 15px;
  }
}

@media (min-width: 1920px) {
  :root {
    --max: 1600px;
  }

  body {
    font-size: 16px;
  }

  .h1 {
    font-size: clamp(48px, 3.2vw, 74px);
  }

  .section {
    padding: 70px 0;
  }

  .header-inner {
    padding: 18px 0;
  }

  .nav {
    gap: 20px;
    font-size: 13px;
  }

  .btn {
    padding: 12px 16px;
    font-size: 13px;
  }

  .icon-btn {
    padding: 10px 14px;
  }

  .projects-grid,
  .grid {
    gap: 28px;
  }
}

@media (min-width: 2560px) {
  :root {
    --max: 2000px;
  }

  body {
    font-size: 16px;
  }

  .h1 {
    font-size: clamp(52px, 2.8vw, 80px);
  }

  .section {
    padding: 90px 0;
  }

  .container {
    width: min(var(--max), calc(100% - 80px));
  }

  .projects-grid,
  .grid {
    gap: 32px;
  }

  .avatar,
  .profile-photo,
  .hero-avatar img {
    width: 240px;
  }
}

img,
video,
canvas,
svg {
  max-width: 100%;
  height: auto;
}

#featuredGrid {
  max-width: none;
}

.section-title+.searchbar,
.breadcrumb+h1+.searchbar,
h1+.searchbar {
  margin-top: 16px;
}

.searchbar {
  margin-bottom: 14px;
}

.filters {
  margin-top: 10px;
  margin-bottom: 18px;
}

.filter-btn {
  margin-bottom: 0;
}

.gallery {
  gap: 14px;
}

.gallery .shot {
  grid-column: span 4;
  aspect-ratio: 16 / 9;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

html, body { height: 100%; }

body{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main.page{
  flex: 1 0 auto;
}

footer.footer{
  margin-top: auto;
}

