:root {
  --bg: #070b12;
  --panel: #0d1422;
  --panel-soft: rgba(15, 27, 45, 0.82);
  --text: #f6f8ff;
  --muted: #c7d0dc;
  --subtle: #8696ab;
  --line: rgba(105, 138, 255, 0.28);
  --line-strong: rgba(91, 127, 255, 0.55);
  --blue: #5e85ff;
  --cyan: #28c7ff;
  --violet: #8d63ff;
  --amber: #ffb34f;
  --green: #32d3a0;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.38);
  --header-offset: 70px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--text);
  color: var(--bg);
  padding: 0.7rem 1rem;
  border-radius: 8px;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  background: rgba(6, 10, 17, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.site-logo {
  color: var(--text);
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.4rem);
  font-size: clamp(0.95rem, 1.25vw, 1.15rem);
  font-weight: 750;
}

.site-nav a {
  position: relative;
  padding: 1.45rem 0;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 1rem;
  left: 0;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a.active::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  min-height: calc(100svh - 70px);
  overflow: hidden;
  display: grid;
  place-items: center;
  isolation: isolate;
  border-bottom: 1px solid rgba(91, 127, 255, 0.18);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -3;
  content: "";
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 170, 78, 0.9) 0 5%, rgba(179, 69, 118, 0.54) 14%, rgba(50, 79, 157, 0.25) 27%, transparent 42%),
    linear-gradient(180deg, rgba(11, 33, 82, 0.72), rgba(6, 11, 18, 0.94) 88%),
    linear-gradient(90deg, rgba(27, 115, 255, 0.22), transparent 30%, transparent 68%, rgba(28, 189, 255, 0.18));
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(6, 10, 17, 0.66), transparent 34%, transparent 65%, rgba(6, 10, 17, 0.52)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.58));
}

.hero-scene {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.stars,
.grid-lines,
.flight-map,
.tech-grid,
.server-stack,
.valley,
.adsb-rig,
.code-panel,
.telemetry-panel {
  position: absolute;
}

.stars {
  inset: 0;
  opacity: 0.55;
  background-image:
    radial-gradient(circle, rgba(89, 136, 255, 0.9) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(40, 199, 255, 0.75) 0 1px, transparent 2px);
  background-position: 0 0, 42px 34px;
  background-size: 92px 92px, 148px 148px;
  animation: twinkle 5s ease-in-out infinite alternate;
}

.grid-lines {
  inset: 0;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(78, 121, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(78, 121, 255, 0.18) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 48%, #000);
  mask-image: linear-gradient(90deg, #000, transparent 48%, #000);
}

.flight-map {
  inset: 0 auto 0 0;
  width: min(38rem, 46vw);
  opacity: 0.95;
}

.flight-map::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 0 20%, rgba(40, 199, 255, 0.24) 0 1px, transparent 2px) 0 0 / 8px 8px,
    radial-gradient(circle at 28% 34%, transparent 0 160px, rgba(91, 127, 255, 0.42) 161px 162px, transparent 163px),
    radial-gradient(circle at 70% 32%, transparent 0 220px, rgba(91, 127, 255, 0.34) 221px 222px, transparent 223px);
  -webkit-mask-image: linear-gradient(90deg, #000 0 64%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0 64%, transparent 100%);
}

.plane {
  position: absolute;
  width: 26px;
  height: 26px;
  color: #8fb8ff;
  filter: drop-shadow(0 0 12px rgba(74, 128, 255, 0.85));
}

.plane::before,
.plane::after {
  position: absolute;
  content: "";
  background: currentColor;
  transform-origin: center;
}

.plane::before {
  top: 11px;
  left: 2px;
  width: 22px;
  height: 4px;
  border-radius: 999px;
  transform: rotate(42deg);
}

.plane::after {
  top: 4px;
  left: 11px;
  width: 4px;
  height: 19px;
  border-radius: 999px;
  transform: rotate(42deg);
}

.plane-a {
  top: 22%;
  left: 12%;
}

.plane-b {
  top: 25%;
  left: 33%;
  transform: rotate(14deg);
}

.plane-c {
  top: 55%;
  left: 52%;
  transform: rotate(-12deg);
}

.route {
  position: absolute;
  width: 8rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(91, 127, 255, 0.7), transparent);
  transform-origin: left;
}

.route-a {
  top: 29%;
  left: 13%;
  transform: rotate(-18deg);
}

.route-b {
  top: 35%;
  left: 35%;
  transform: rotate(22deg);
}

.label {
  position: absolute;
  color: #9bbdff;
  font-size: 0.75rem;
  line-height: 1.3;
  text-shadow: 0 0 12px rgba(91, 127, 255, 0.8);
}

.label-a {
  top: 29%;
  left: 14%;
}

.label-b {
  top: 31%;
  left: 37%;
}

.label-c {
  top: 60%;
  left: 55%;
}

.tech-grid {
  inset: 0;
  opacity: 0.58;
  pointer-events: none;
}

.trace {
  position: absolute;
  display: block;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(40, 199, 255, 0.68), rgba(91, 127, 255, 0.2), transparent);
  filter: drop-shadow(0 0 10px rgba(40, 199, 255, 0.36));
}

.trace::before,
.trace::after {
  position: absolute;
  content: "";
  background: inherit;
}

.trace::before {
  width: 2px;
  height: 4.5rem;
}

.trace::after {
  width: 6rem;
  height: 2px;
}

.trace-a {
  top: 20%;
  right: 19%;
  width: 18rem;
}

.trace-a::before {
  right: 22%;
  top: 0;
}

.trace-a::after {
  right: 22%;
  top: 4.5rem;
}

.trace-b {
  right: 12%;
  bottom: 33%;
  width: 15rem;
  transform: rotate(180deg);
}

.trace-b::before {
  left: 30%;
  bottom: 0;
  height: 5.5rem;
}

.trace-b::after {
  left: 30%;
  bottom: 5.5rem;
}

.trace-c {
  top: 15%;
  left: 52%;
  width: 12rem;
  opacity: 0.62;
}

.node {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(40, 199, 255, 0.8);
}

.node-a {
  top: 19.4%;
  right: 16.5%;
}

.node-b {
  right: 13%;
  bottom: 41%;
}

.node-c {
  top: 14.4%;
  left: 64%;
}

.server-stack {
  top: 18%;
  left: clamp(1rem, 4vw, 4.5rem);
  width: min(16rem, 22vw);
  padding: 1rem;
  color: rgba(219, 232, 255, 0.86);
  background:
    linear-gradient(180deg, rgba(12, 22, 38, 0.5), rgba(8, 14, 24, 0.34)),
    repeating-linear-gradient(0deg, rgba(91, 127, 255, 0.1) 0 1px, transparent 1px 26px);
  border: 1px solid rgba(91, 127, 255, 0.18);
  border-radius: 12px;
  box-shadow: inset 0 0 34px rgba(91, 127, 255, 0.06);
  backdrop-filter: blur(4px);
}

.server-stack strong {
  display: block;
  margin-bottom: 0.75rem;
  color: #7ce5ff;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.server-stack span {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 0;
  border-top: 1px solid rgba(145, 174, 255, 0.12);
  font-size: 0.82rem;
}

.server-stack i {
  display: block;
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(50, 211, 160, 0.74);
}

.valley {
  right: 0;
  bottom: 0;
  left: 0;
  height: 48%;
}

.ridge {
  position: absolute;
  right: -5%;
  left: -5%;
  display: block;
  border-radius: 50% 50% 0 0 / 32% 32% 0 0;
}

.ridge-back {
  bottom: 20%;
  height: 45%;
  background: linear-gradient(180deg, rgba(34, 52, 95, 0.76), rgba(9, 16, 25, 0.7));
  transform: rotate(-2deg);
}

.ridge-mid {
  bottom: 11%;
  height: 40%;
  background: linear-gradient(180deg, rgba(19, 33, 62, 0.94), rgba(8, 13, 20, 0.95));
  transform: rotate(1.2deg);
}

.ridge-front {
  bottom: -13%;
  height: 46%;
  background:
    linear-gradient(180deg, rgba(22, 35, 36, 0.9), rgba(4, 8, 12, 1)),
    repeating-linear-gradient(115deg, transparent 0 18px, rgba(72, 110, 58, 0.22) 19px 20px);
}

.town-lights {
  position: absolute;
  right: 18%;
  bottom: 26%;
  left: 11%;
  height: 28px;
  background-image:
    radial-gradient(circle, rgba(255, 195, 91, 0.95) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(255, 232, 176, 0.86) 0 1px, transparent 2px);
  background-position: 0 0, 22px 11px;
  background-size: 38px 13px, 52px 17px;
  filter: blur(0.4px) drop-shadow(0 0 7px rgba(255, 175, 78, 0.7));
  opacity: 0.72;
}

.adsb-rig {
  right: clamp(2rem, 8vw, 7rem);
  bottom: 8%;
  width: min(20rem, 25vw);
  height: min(34rem, 62vh);
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.55));
}

.antenna-mast {
  position: absolute;
  right: 34%;
  bottom: 29%;
  width: 5px;
  height: 72%;
  background: linear-gradient(90deg, #05070b, #586782 42%, #02040a);
  border-radius: 999px;
}

.antenna-bars {
  position: absolute;
  right: 34%;
  top: 13%;
  width: 10rem;
  height: 5rem;
  border-top: 5px solid #111923;
  transform: translateX(-6%);
}

.antenna-bars::before,
.antenna-bars::after {
  position: absolute;
  content: "";
}

.antenna-bars::before {
  top: -2rem;
  left: 16%;
  width: 4px;
  height: 6rem;
  background: #151d29;
  box-shadow: 22px 0 0 #151d29, 44px 0 0 #151d29, 66px 0 0 #151d29, 88px 0 0 #151d29;
}

.antenna-bars::after {
  top: -2.25rem;
  right: -1.3rem;
  width: 4px;
  height: 7rem;
  background: #0b111b;
}

.receiver {
  position: absolute;
  right: 28%;
  bottom: 39%;
  width: 2.7rem;
  height: 5rem;
  background: linear-gradient(180deg, #24354d, #0e1724);
  border: 1px solid rgba(157, 190, 255, 0.32);
  border-radius: 4px;
}

.wire {
  position: absolute;
  right: 27%;
  bottom: 34%;
  width: 4rem;
  height: 11rem;
  border-right: 2px solid rgba(10, 15, 22, 0.86);
  border-bottom: 2px solid rgba(10, 15, 22, 0.86);
  border-radius: 0 0 70% 0;
}

.solar {
  position: absolute;
  right: 0;
  bottom: 6%;
  width: 13rem;
  height: 7.2rem;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px) 0 0 / 24px 100%,
    linear-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px) 0 0 / 100% 20px,
    linear-gradient(135deg, #244e84, #0d1c35 55%, #091022);
  border: 6px solid #26384f;
  transform: perspective(420px) rotateX(58deg) rotateZ(-9deg);
  box-shadow: inset 0 0 30px rgba(56, 165, 255, 0.28);
}

.code-panel {
  right: 23%;
  bottom: 16%;
  width: min(21rem, 28vw);
  padding: 1rem;
  color: rgba(198, 223, 255, 0.8);
  background: rgba(7, 13, 23, 0.42);
  border: 1px solid rgba(40, 199, 255, 0.16);
  border-radius: 12px;
  box-shadow: inset 0 0 34px rgba(40, 199, 255, 0.05);
  backdrop-filter: blur(3px);
}

.code-panel code {
  display: block;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.76rem;
  line-height: 1.7;
}

.code-panel code:nth-child(1) {
  color: #9fc4ff;
}

.code-panel code:nth-child(2) {
  color: #7ce5ff;
}

.code-panel code:nth-child(3) {
  color: #ffd58e;
}

.telemetry-panel {
  top: 18%;
  right: 3%;
  width: min(14rem, 18vw);
  padding: 1.25rem;
  color: rgba(210, 226, 255, 0.86);
  background: rgba(20, 35, 69, 0.25);
  border: 1px solid rgba(112, 151, 255, 0.18);
  border-radius: 16px;
  box-shadow: inset 0 0 40px rgba(96, 132, 255, 0.06);
  backdrop-filter: blur(5px);
}

.telemetry-panel strong {
  display: block;
  margin: 0 0 1.2rem 1rem;
  color: #70ddff;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.telemetry-panel small {
  display: block;
  color: rgba(211, 222, 242, 0.58);
}

.telemetry-panel b {
  display: block;
  margin-bottom: 1rem;
  color: #9bbdff;
  font-size: 1.45rem;
  font-weight: 500;
}

.status-dot {
  position: absolute;
  top: 1.42rem;
  left: 1.3rem;
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 16px var(--green);
}

.sparkline {
  display: block;
  height: 34px;
  background:
    linear-gradient(135deg, transparent 0 8%, rgba(40, 199, 255, 0.75) 9% 10%, transparent 11% 18%, rgba(123, 102, 255, 0.75) 19% 20%, transparent 21% 28%, rgba(40, 199, 255, 0.75) 29% 30%, transparent 31% 39%, rgba(123, 102, 255, 0.75) 40% 41%, transparent 42% 50%, rgba(40, 199, 255, 0.75) 51% 52%, transparent 53% 61%, rgba(123, 102, 255, 0.75) 62% 63%, transparent 64% 72%, rgba(40, 199, 255, 0.75) 73% 74%, transparent 75%);
  opacity: 0.9;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(980px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 5rem 0 6rem;
  text-align: center;
  animation: hero-rise 750ms ease both;
}

.hero h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(4.3rem, 9vw, 7.8rem);
  font-weight: 850;
  line-height: 0.95;
  text-shadow: 0 6px 26px rgba(0, 0, 0, 0.58), 0 0 40px rgba(91, 127, 255, 0.2);
}

.hero p {
  max-width: 760px;
  margin: 1.25rem auto 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.25rem, 2.1vw, 1.85rem);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.62);
}

.scroll-cue {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 2.7rem auto 0;
  border: 2px solid var(--blue);
  border-radius: 50%;
  color: var(--blue);
  text-decoration: none;
  box-shadow: 0 0 28px rgba(91, 127, 255, 0.34);
  animation: pulse-cue 1.8s ease-in-out infinite;
}

.scroll-cue span {
  width: 15px;
  height: 15px;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}

.destinations {
  position: relative;
  scroll-margin-top: var(--header-offset);
  padding: 1.35rem clamp(1rem, 5vw, 6rem) 1.6rem;
  background:
    radial-gradient(circle at 15% 0, rgba(37, 111, 255, 0.16), transparent 34%),
    linear-gradient(180deg, #0a111c, #080d15);
  border-bottom: 1px solid rgba(91, 127, 255, 0.14);
}

.destinations::before,
.destinations::after {
  position: absolute;
  content: "";
  pointer-events: none;
  opacity: 0.35;
}

.destinations::before {
  left: 0;
  bottom: 1rem;
  width: 14rem;
  height: 6rem;
  background:
    linear-gradient(90deg, var(--blue) 0 2px, transparent 2px) 0 0 / 44px 100%,
    linear-gradient(var(--blue) 0 2px, transparent 2px) 0 0 / 100% 32px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent);
  mask-image: linear-gradient(90deg, #000, transparent);
}

.destinations::after {
  right: 0;
  top: 1rem;
  width: 13rem;
  height: 7rem;
  background:
    linear-gradient(90deg, var(--cyan) 0 2px, transparent 2px) 0 0 / 42px 100%,
    linear-gradient(var(--cyan) 0 2px, transparent 2px) 0 0 / 100% 36px;
  -webkit-mask-image: linear-gradient(270deg, #000, transparent);
  mask-image: linear-gradient(270deg, #000, transparent);
}

.destination-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  max-width: 1600px;
  margin: 0 auto;
}

.destination-card {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr) auto;
  gap: 1.2rem;
  align-items: center;
  min-height: 9.4rem;
  padding: 1.35rem 1.45rem;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(25, 39, 66, 0.86), rgba(10, 17, 29, 0.9)),
    radial-gradient(circle at 10% 0, rgba(89, 136, 255, 0.3), transparent 42%);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.destination-card:hover {
  transform: translateY(-5px);
  border-color: rgba(40, 199, 255, 0.7);
  background:
    linear-gradient(180deg, rgba(31, 49, 83, 0.98), rgba(12, 22, 38, 0.96)),
    radial-gradient(circle at 10% 0, rgba(40, 199, 255, 0.35), transparent 44%);
}

.destination-card svg {
  width: 4.5rem;
  height: 4.5rem;
  color: var(--blue);
  filter: drop-shadow(0 0 18px rgba(91, 127, 255, 0.42));
}

.destination-card:nth-child(2) svg {
  color: var(--violet);
}

.destination-card:nth-child(3) svg {
  color: var(--green);
}

.destination-card strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.2rem;
  line-height: 1.1;
}

.destination-card small {
  display: block;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.45;
}

.destination-card b {
  color: var(--blue);
  font-size: 1.45rem;
  transition: transform 180ms ease;
}

.destination-card:hover b {
  transform: translateX(0.35rem);
}

.projects-strip {
  display: grid;
  grid-template-columns: minmax(12rem, 0.35fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 3rem);
  align-items: stretch;
  padding: 1.5rem clamp(1rem, 5vw, 6rem) 2.25rem;
  background:
    radial-gradient(circle at 84% 18%, rgba(141, 99, 255, 0.12), transparent 34%),
    linear-gradient(180deg, #080d15, #08101a);
  border-bottom: 1px solid rgba(91, 127, 255, 0.14);
}

.projects-heading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 7.4rem;
}

.projects-heading h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.6vw, 2.35rem);
  line-height: 1;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.project-card {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  min-height: 7.4rem;
  padding: 1rem 1.1rem;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(16, 28, 48, 0.8), rgba(8, 15, 26, 0.86)),
    radial-gradient(circle at 0 0, rgba(40, 199, 255, 0.16), transparent 45%);
  border: 1px solid rgba(91, 127, 255, 0.2);
  border-radius: 8px;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.project-card:hover {
  transform: translateY(-3px);
  border-color: rgba(40, 199, 255, 0.58);
  background:
    linear-gradient(180deg, rgba(20, 34, 58, 0.92), rgba(9, 18, 32, 0.94)),
    radial-gradient(circle at 0 0, rgba(40, 199, 255, 0.24), transparent 45%);
}

.project-card svg {
  width: 3.15rem;
  height: 3.15rem;
  color: var(--cyan);
  filter: drop-shadow(0 0 16px rgba(40, 199, 255, 0.32));
}

.project-card:nth-child(2) svg {
  color: var(--blue);
}

.project-card:nth-child(3) svg {
  color: var(--amber);
}

.project-card span {
  min-width: 0;
}

.project-card strong {
  display: block;
  margin: 0 0 0.22rem;
  font-size: 1.02rem;
  line-height: 1.1;
}

.project-card small {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.project-card b {
  color: var(--cyan);
  font-size: 1.2rem;
  transition: transform 180ms ease;
}

.project-card:hover b {
  transform: translateX(0.28rem);
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(16rem, 0.45fr);
  gap: clamp(1rem, 2vw, 1.6rem);
  align-items: stretch;
  padding: clamp(3rem, 6vw, 6rem) clamp(1rem, 5vw, 6rem);
  background:
    radial-gradient(circle at 75% 20%, rgba(255, 179, 79, 0.14), transparent 28%),
    linear-gradient(180deg, #08101a, #070b12);
}

.about-card,
.notes-panel {
  min-height: 22rem;
  border-radius: 8px;
}

.about-card {
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 3rem);
  background:
    linear-gradient(135deg, rgba(13, 25, 42, 0.98), rgba(8, 14, 24, 0.94)),
    radial-gradient(circle at 82% 18%, rgba(255, 179, 79, 0.2), transparent 30%),
    repeating-linear-gradient(0deg, transparent 0 28px, rgba(91, 127, 255, 0.08) 29px 30px);
  border: 1px solid rgba(91, 127, 255, 0.24);
  box-shadow: inset 0 0 70px rgba(91, 127, 255, 0.08), var(--shadow);
}

.about-card::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(90deg, rgba(8, 14, 24, 0.98) 0 44%, rgba(8, 14, 24, 0.66) 60%, rgba(8, 14, 24, 0.18) 100%),
    linear-gradient(180deg, transparent 50%, rgba(8, 14, 24, 0.7));
  pointer-events: none;
}

.about-copy {
  position: relative;
  z-index: 2;
  max-width: min(39rem, 62%);
}

.section-rule {
  display: block;
  width: 2.8rem;
  height: 3px;
  margin-bottom: 1.1rem;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.about-copy h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1;
}

.about-copy p {
  max-width: 44rem;
  margin: 0;
  color: rgba(226, 233, 245, 0.82);
  font-size: 1.08rem;
}

.about-copy a {
  color: #9fc4ff;
  font-weight: 800;
  text-decoration-color: rgba(40, 199, 255, 0.55);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.22em;
}

.about-copy p + p {
  margin-top: 1rem;
}

.about-photo {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 0;
  width: min(44%, 32rem);
  overflow: hidden;
  opacity: 0.92;
  pointer-events: none;
}

.about-photo::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(8, 14, 24, 0.9), rgba(8, 14, 24, 0.18) 32%, rgba(8, 14, 24, 0.1)),
    linear-gradient(180deg, transparent 42%, rgba(7, 11, 18, 0.78));
}

.about-photo img {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(0.95) contrast(1.05);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 28%, #000 100%);
}

.notes-panel {
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 0.75rem;
  padding: 1.35rem;
  background:
    linear-gradient(145deg, rgba(17, 30, 49, 0.94), rgba(6, 11, 19, 0.96)),
    repeating-linear-gradient(0deg, transparent 0 26px, rgba(91, 127, 255, 0.08) 27px 28px);
  border: 1px solid rgba(91, 127, 255, 0.22);
  box-shadow: inset 0 0 50px rgba(91, 127, 255, 0.08);
}

.panel-kicker {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.notes-panel code {
  display: block;
  color: #dce7ff;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.96rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem clamp(1rem, 5vw, 6rem);
  color: rgba(255, 255, 255, 0.62);
  background: #05080d;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer a {
  text-decoration: none;
}

.not-found {
  display: grid;
  min-height: 100svh;
  align-items: center;
  padding: 2rem;
  background:
    radial-gradient(circle at 30% 25%, rgba(91, 127, 255, 0.18), transparent 32%),
    linear-gradient(180deg, #08101a, #070b12);
}

.not-found-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.55fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
  width: min(1100px, 100%);
  margin: 0 auto;
}

.not-found-title {
  margin: 0;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.98;
}

.not-found-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.15rem;
}

.not-found-copy a {
  color: var(--cyan);
  font-weight: 800;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-cue {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(7px);
  }
}

@keyframes twinkle {
  from {
    opacity: 0.35;
  }
  to {
    opacity: 0.7;
  }
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@supports (animation-timeline: view()) {
  .destination-card,
  .project-card,
  .about-card,
  .notes-panel {
    animation: reveal-up both;
    animation-timeline: view();
    animation-range: entry 0% cover 26%;
  }
}

@media (max-width: 1180px) {
  .destination-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .projects-strip {
    grid-template-columns: 1fr;
  }

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

  .telemetry-panel {
    display: none;
  }
}

@media (max-width: 820px) {
  :root {
    --header-offset: 92px;
  }

  .site-header {
    align-items: flex-start;
    height: auto;
    min-height: 70px;
    padding-top: 1rem;
    padding-bottom: 0.8rem;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.7rem 1.1rem;
    max-width: 15rem;
  }

  .site-nav a {
    padding: 0.2rem 0 0.4rem;
  }

  .site-nav a::after {
    bottom: 0;
  }

  .hero {
    min-height: calc(100svh - 82px);
  }

  .flight-map {
    width: 100%;
    opacity: 0.55;
  }

  .server-stack,
  .code-panel {
    display: none;
  }

  .tech-grid {
    opacity: 0.28;
  }

  .adsb-rig {
    right: -2rem;
    width: 18rem;
    opacity: 0.58;
  }

  .hero-content {
    padding-top: 3rem;
  }

  .destination-grid,
  .project-grid,
  .about-section,
  .not-found-inner {
    grid-template-columns: 1fr;
  }

  .about-card {
    min-height: 26rem;
  }

  .about-card::before {
    background:
      linear-gradient(180deg, rgba(8, 14, 24, 0.4), rgba(8, 14, 24, 0.96) 58%),
      linear-gradient(90deg, rgba(8, 14, 24, 0.96), rgba(8, 14, 24, 0.5));
  }

  .about-copy {
    max-width: 100%;
  }

  .about-photo {
    inset: 0;
    width: 100%;
    opacity: 0.48;
  }

  .about-photo::after {
    background: linear-gradient(180deg, rgba(8, 14, 24, 0.1), rgba(8, 14, 24, 0.86) 62%);
  }

  .about-photo img {
    -webkit-mask-image: linear-gradient(180deg, #000 0, #000 50%, transparent 92%);
    mask-image: linear-gradient(180deg, #000 0, #000 50%, transparent 92%);
  }

  .destination-card {
    grid-template-columns: 4.25rem minmax(0, 1fr) auto;
    min-height: 8rem;
  }

  .destination-card svg {
    width: 3.7rem;
    height: 3.7rem;
  }

  .projects-strip {
    padding-top: 2rem;
  }

  .projects-heading {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .site-logo {
    font-size: 1.8rem;
  }

  .site-nav {
    font-size: 0.92rem;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 16vw, 4.7rem);
  }

  .hero p {
    font-size: 1.08rem;
  }

  .destination-card {
    grid-template-columns: 1fr auto;
  }

  .destination-card svg,
  .project-card svg {
    grid-column: 1 / -1;
  }

  .project-card {
    grid-template-columns: 1fr auto;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
