:root {
  --bg: #010613;
  --panel: #03112a;
  --panel-2: #041834;
  --line: #0f3059;
  --cyan: #25dcff;
  --cyan-2: #0295f6;
  --text: #ebf3ff;
  --muted: #8ea9cc;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  scroll-behavior: smooth;
}

html {
  scrollbar-gutter: stable;
}

body {
  color: var(--text);
  font-family: "Sora", sans-serif;
  background:
    radial-gradient(circle at 12% 14%, rgba(89, 10, 92, 0.22), transparent 32%),
    radial-gradient(circle at 78% 30%, rgba(36, 164, 255, 0.2), transparent 38%),
    radial-gradient(circle at 22% 78%, rgba(13, 88, 193, 0.15), transparent 44%),
    linear-gradient(140deg, #01040e 0%, #03122f 55%, #020b1f 100%);
  padding: 0;
}

.site-shell {
  max-width: none;
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  border-radius: 0;
  border: 0;
  background:
    radial-gradient(circle at 84% 18%, rgba(89, 10, 92, 0.28), transparent 34%),
    linear-gradient(180deg, rgba(3, 15, 38, 0.94), rgba(2, 11, 30, 0.98)),
    repeating-linear-gradient(
      90deg,
      rgba(48, 103, 175, 0.06) 0,
      rgba(48, 103, 175, 0.06) 1px,
      transparent 1px,
      transparent 92px
    );
  box-shadow: none;
  overflow: hidden;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 34px;
  gap: 20px;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #57d8ff;
  font-weight: 600;
  font-family: "Rajdhani", sans-serif;
  letter-spacing: 0.3px;
  font-size: 2rem;
}

.brand-mark {
  width: 48px;
  height: 48px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.menu {
  display: flex;
  align-items: center;
  gap: 26px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(76, 145, 218, 0.6);
  background: rgba(2, 20, 45, 0.6);
  padding: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #9ad6ff;
}

.top-nav.use-foldout .menu-toggle {
  display: inline-flex;
  margin-left: auto;
}

.top-nav.use-wrap {
  flex-wrap: wrap;
  justify-content: space-between;
}

.top-nav.use-wrap .menu {
  order: 3;
  width: 100%;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 18px;
  padding-top: 2px;
}

.top-nav.use-wrap.hide-cta .cta-small {
  display: none;
}

.top-nav.use-foldout .cta-small {
  display: none;
}

.top-nav.use-foldout .menu {
  order: 3;
  width: 100%;
  margin-top: 6px;
  border-radius: 12px;
  border: 1px solid rgba(76, 145, 218, 0.45);
  background: rgba(2, 20, 45, 0.9);
  padding: 8px;
  display: none;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
}

.top-nav.use-foldout .menu.is-open {
  display: flex;
}

.top-nav.use-foldout .menu a {
  padding: 10px 12px;
  border-radius: 8px;
}

.top-nav.use-foldout .menu a.active::after {
  display: none;
}

.top-nav.use-foldout .menu a:hover,
.top-nav.use-foldout .menu a.active {
  background: rgba(7, 42, 90, 0.72);
}

.menu a {
  color: #a7bddc;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
}

.menu a:hover,
.menu a.active {
  color: #f4fbff;
}

.menu a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -11px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #22daff 0%, #0aa3ff 25%, #590a5c 100%);
}

.cta-small {
  text-decoration: none;
  color: #031126;
  font-weight: 700;
  font-size: 0.86rem;
  background: linear-gradient(45deg, #1fe0ff 0%, #0e9cff 58%, #590a5c 100%);
  border-radius: 10px;
  padding: 12px 20px;
  white-space: nowrap;
  box-shadow: 0 -2px 8px rgba(137, 36, 145, 0.3), 0 6px 14px rgba(16, 174, 255, 0.24);
}

.hero {
  padding: 0 34px 18px;
  display: grid;
  grid-template-columns: 1.03fr 1fr;
  gap: 20px;
  align-items: center;
}

.hero-copy {
  padding: 0 8px 16px;
  min-width: 0;
}

h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.hero-title {
  font-size: clamp(2rem, 3.6vw, 3.6rem);
}

h1 span {
  color: #1dbbff;
}

.subtext {
  margin: 20px 0 0;
  color: var(--muted);
  max-width: 46ch;
  line-height: 1.6;
}

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

.btn {
  text-decoration: none;
  border-radius: 11px;
  padding: 13px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: 0.22s ease;
  border: 0;
  appearance: none;
  font-family: inherit;
  line-height: 1.1;
  cursor: pointer;
}

.btn-primary {
  color: #03182e;
  background: linear-gradient(45deg, #21ddff 0%, #0699f5 56%, #590a5c 100%);
  box-shadow: 0 -2px 8px rgba(137, 36, 145, 0.3), 0 6px 14px rgba(17, 160, 255, 0.24);
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-ghost {
  color: #9ad6ff;
  border: 1px solid rgba(76, 145, 218, 0.6);
  background: linear-gradient(45deg, rgba(2, 20, 45, 0.78) 0%, rgba(8, 53, 108, 0.72) 62%, rgba(89, 10, 92, 0.74) 100%);
  box-shadow: 0 -2px 8px rgba(137, 36, 145, 0.28), 0 6px 14px rgba(17, 160, 255, 0.22);
}

.btn-ghost:hover {
  border-color: rgba(88, 176, 255, 0.95);
}

.socials {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: flex;
  gap: 10px;
}

.socials a {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  text-decoration: none;
  color: #9cb3d3;
  border: 1px solid rgba(80, 137, 204, 0.45);
  font-size: 0.82rem;
  font-weight: 600;
}

.socials a img {
  width: 17px;
  height: 17px;
  object-fit: contain;
  display: block;
}

.hero-art {
  min-height: clamp(280px, 36vw, 430px);
  min-width: 0;
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.hero-art::after {
  content: none;
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 52%, transparent 52%, rgba(2, 11, 30, 0.42) 100%);
}

.code-lines {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 1;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 1) 14%, rgba(0, 0, 0, 1) 86%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 1) 14%, rgba(0, 0, 0, 1) 86%, transparent 100%);
}

.code-lines span {
  position: absolute;
  left: var(--x, -30%);
  top: var(--y);
  white-space: nowrap;
  font-family: "Rajdhani", sans-serif;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.3px;
  color: rgba(184, 231, 255, 0.15);
  text-shadow: 0 0 9px rgba(96, 189, 255, 0.1);
  animation: codeLineDrift var(--dur) linear infinite;
  animation-delay: var(--delay);
}

.hero-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hero-orbs span {
  position: absolute;
  border-radius: 50%;
  overflow: visible;
  --trail-size: 70px;
  --trail-opacity: 0.5;
  background: radial-gradient(circle at 45% 45%, rgba(255, 255, 255, 1), rgba(245, 253, 255, 0.98) 46%, rgba(181, 232, 255, 0.3) 74%, rgba(0, 0, 0, 0) 100%);
  box-shadow: 0 0 14px rgba(234, 250, 255, 0.95), 0 0 34px rgba(173, 228, 255, 0.45);
  --twinkle-duration: 7s;
  --twinkle-delay: 0s;
  animation: twinkle var(--twinkle-duration) ease-in-out infinite;
  animation-delay: var(--twinkle-delay);
}

.hero-orbs span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(50% - var(--trail-size));
  width: 0.6px;
  height: calc(var(--trail-size) * 2);
  transform: translateX(-50%);
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(167, 225, 255, calc(var(--trail-opacity) * 0.5)) 32%,
    rgba(232, 249, 255, var(--trail-opacity)) 50%,
    rgba(167, 225, 255, calc(var(--trail-opacity) * 0.5)) 68%,
    rgba(0, 0, 0, 0) 100%
  );
  filter: drop-shadow(0 0 4px rgba(199, 239, 255, 0.35));
}

.hero-orbs span.no-trail::after {
  display: none;
}

.hero-orbs span:nth-child(1) { top: 9%; left: 14%; width: 3px; height: 3px; --trail-size: 58px; --trail-opacity: 0.45; --twinkle-duration: 5.2s; --twinkle-delay: -1.2s; }
.hero-orbs span:nth-child(2) { top: 18%; left: 34%; width: 4px; height: 4px; --trail-size: 78px; --trail-opacity: 0.58; --twinkle-duration: 8.1s; --twinkle-delay: -3.4s; }
.hero-orbs span:nth-child(3) { top: 12%; left: 58%; width: 2px; height: 2px; --trail-size: 66px; --trail-opacity: 0.42; --twinkle-duration: 6.3s; --twinkle-delay: -0.7s; }
.hero-orbs span:nth-child(4) { top: 17%; left: 84%; width: 4px; height: 4px; --trail-size: 82px; --trail-opacity: 0.6; --twinkle-duration: 9.4s; --twinkle-delay: -4.1s; }
.hero-orbs span:nth-child(5) { top: 40%; left: 9%; width: 3px; height: 3px; --trail-size: 54px; --trail-opacity: 0.4; --twinkle-duration: 7.6s; --twinkle-delay: -2.5s; }
.hero-orbs span:nth-child(6) { top: 46%; left: 89%; width: 2px; height: 2px; --trail-size: 52px; --trail-opacity: 0.36; --twinkle-duration: 10.2s; --twinkle-delay: -5.6s; }
.hero-orbs span:nth-child(7) { top: 68%; left: 18%; width: 4px; height: 4px; --trail-size: 72px; --trail-opacity: 0.54; --twinkle-duration: 6.9s; --twinkle-delay: -1.9s; }
.hero-orbs span:nth-child(8) { top: 74%; left: 81%; width: 3px; height: 3px; --trail-size: 62px; --trail-opacity: 0.46; --twinkle-duration: 8.8s; --twinkle-delay: -3.1s; }

.hero-orbs span.nt-1 { top: 24%; left: 43%; width: 2px; height: 2px; --twinkle-duration: 6.7s; --twinkle-delay: -2.2s; }
.hero-orbs span.nt-2 { top: 31%; left: 67%; width: 3px; height: 3px; --twinkle-duration: 9.1s; --twinkle-delay: -4.4s; }
.hero-orbs span.nt-3 { top: 55%; left: 58%; width: 2px; height: 2px; --twinkle-duration: 5.9s; --twinkle-delay: -1.3s; }
.hero-orbs span.nt-4 { top: 82%; left: 33%; width: 3px; height: 3px; --twinkle-duration: 8.4s; --twinkle-delay: -3.7s; }
.hero-orbs span.nt-5 { top: 14%; left: 46%; width: 2px; height: 2px; --twinkle-duration: 7.8s; --twinkle-delay: -2.9s; }
.hero-orbs span.nt-6 { top: 26%; left: 78%; width: 3px; height: 3px; --twinkle-duration: 6.1s; --twinkle-delay: -0.8s; }
.hero-orbs span.nt-7 { top: 61%; left: 70%; width: 2px; height: 2px; --twinkle-duration: 9.8s; --twinkle-delay: -5.2s; }
.hero-orbs span.nt-8 { top: 79%; left: 62%; width: 3px; height: 3px; --twinkle-duration: 7.1s; --twinkle-delay: -2s; }
.hero-orbs span.nt-9 { top: 7%; left: 39%; width: 2px; height: 2px; --twinkle-duration: 8.6s; --twinkle-delay: -3.8s; }
.hero-orbs span.nt-10 { top: 22%; left: 17%; width: 3px; height: 3px; --twinkle-duration: 6.4s; --twinkle-delay: -1.6s; }
.hero-orbs span.nt-11 { top: 28%; left: 53%; width: 2px; height: 2px; --twinkle-duration: 9.9s; --twinkle-delay: -6.1s; }
.hero-orbs span.nt-12 { top: 38%; left: 73%; width: 3px; height: 3px; --twinkle-duration: 5.8s; --twinkle-delay: -0.9s; }
.hero-orbs span.nt-13 { top: 52%; left: 30%; width: 2px; height: 2px; --twinkle-duration: 7.4s; --twinkle-delay: -2.7s; }
.hero-orbs span.nt-14 { top: 63%; left: 86%; width: 3px; height: 3px; --twinkle-duration: 8.9s; --twinkle-delay: -4.9s; }
.hero-orbs span.nt-15 { top: 83%; left: 14%; width: 2px; height: 2px; --twinkle-duration: 6.6s; --twinkle-delay: -1.4s; }
.hero-orbs span.nt-16 { top: 88%; left: 76%; width: 3px; height: 3px; --twinkle-duration: 10.1s; --twinkle-delay: -5.8s; }

.zebu-mark {
  width: clamp(230px, 78%, 440px);
  position: relative;
  left: -8px;
  filter: drop-shadow(0 0 28px rgba(31, 205, 255, 0.34));
  z-index: 2;
  animation: float 5s ease-in-out infinite;
}

.zebu-mark img {
  width: 100%;
  height: auto;
  display: block;
}

.orbital {
  position: absolute;
  top: 73%;
  left: 50%;
  width: 82%;
  height: 170px;
  transform: translateX(-50%);
  pointer-events: none;
  overflow: visible;
}

.orbital svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 0 8px rgba(32, 178, 255, 0.24));
}

.orb-ring {
  fill: none;
  stroke: rgba(62, 205, 255, 0.4);
  stroke-width: 1.15;
}

.orb-ring.core {
  stroke: rgba(198, 248, 255, 0.72);
  stroke-width: 1.5;
}

.orb-ring.tone-a {
  stroke: rgba(79, 214, 255, 0.48);
  stroke-width: 1.2;
}

.orb-ring.tone-b {
  stroke: rgba(32, 165, 246, 0.4);
  stroke-width: 1.05;
}

.orb-ring.tone-c {
  stroke: rgba(128, 232, 255, 0.46);
  stroke-width: 0.98;
}

.orb-ring.tone-d {
  stroke: rgba(17, 136, 230, 0.36);
  stroke-width: 1.18;
}

.orb-ring.glow-strong {
  filter: drop-shadow(0 0 24px rgba(242, 254, 255, 1)) drop-shadow(0 0 52px rgba(159, 226, 255, 1)) drop-shadow(0 0 86px rgba(88, 192, 255, 0.72)) drop-shadow(0 0 120px rgba(64, 174, 246, 0.42));
}

.orb-ring.glow-soft {
  filter: drop-shadow(0 0 16px rgba(224, 249, 255, 0.92)) drop-shadow(0 0 38px rgba(128, 212, 255, 0.66)) drop-shadow(0 0 62px rgba(82, 186, 248, 0.34));
}

.projects {
  margin: 18px 34px 32px;
  padding: 22px;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(89, 10, 92, 0.14), rgba(89, 10, 92, 0) 38%), linear-gradient(180deg, rgba(4, 22, 51, 0.95), rgba(1, 13, 34, 0.92));
  border: 1px solid rgba(58, 120, 195, 0.32);
}

.projects-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.projects-head h2 {
  margin: 0;
  font-size: 1.8rem;
}

.projects-head a {
  text-decoration: none;
  color: #3aceff;
  font-size: 0.95rem;
  white-space: nowrap;
}

.projects-filter {
  margin: 0 0 16px;
}

.projects-filter-label {
  margin: 0 0 10px;
  color: #8fb7e5;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.projects-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.projects-filter-button {
  border: 1px solid rgba(90, 147, 213, 0.5);
  background: rgba(5, 28, 62, 0.72);
  color: #a7cffb;
  border-radius: 999px;
  padding: 7px 12px;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.projects-filter-button:hover {
  border-color: rgba(128, 203, 255, 0.8);
  color: #dff4ff;
}

.projects-filter-button:focus-visible {
  outline: 2px solid rgba(75, 196, 255, 0.92);
  outline-offset: 2px;
}

.projects-filter-button.is-active {
  color: #041729;
  border-color: rgba(37, 220, 255, 0.95);
  background: linear-gradient(45deg, #27deff 0%, #0f9eff 60%, #7b15a8 100%);
  transform: translateY(-1px);
}

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

.card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(52, 109, 180, 0.4);
  background: linear-gradient(90deg, rgba(89, 10, 92, 0.15), rgba(89, 10, 92, 0) 42%), linear-gradient(180deg, rgba(4, 27, 62, 0.75), rgba(2, 17, 40, 0.95));
}

.card-image {
  height: 150px;
}

.img-1 {
  background:
    linear-gradient(140deg, rgba(196, 110, 58, 0.2), transparent),
    radial-gradient(circle at 70% 50%, rgba(255, 184, 72, 0.28), transparent 55%),
    linear-gradient(160deg, #241f3f 5%, #5a2f2d 35%, #1f2d47 72%, #091a38 100%);
}

.img-2 {
  background:
    repeating-linear-gradient(120deg, rgba(255, 0, 149, 0.2) 0 2px, transparent 2px 18px),
    radial-gradient(circle at 70% 35%, rgba(104, 209, 255, 0.36), transparent 38%),
    linear-gradient(140deg, #200434, #401469 34%, #0b2e67 68%, #050d28);
}

.img-3 {
  background:
    linear-gradient(180deg, rgba(14, 48, 94, 0.6), rgba(8, 26, 57, 0.6)),
    repeating-linear-gradient(90deg, rgba(112, 174, 255, 0.15) 0 1px, transparent 1px 46px),
    linear-gradient(135deg, #091d40 0, #173c74 36%, #0a1a37 100%);
}

.card-body {
  padding: 14px 14px 16px;
}

.card-type {
  margin: 0;
  color: #3ad4ff;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.7px;
}

.card h3 {
  margin: 7px 0 6px;
  font-size: 1.55rem;
}

.card p {
  margin: 0;
  font-size: 0.92rem;
  color: #87a8cf;
  line-height: 1.45;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tags span {
  font-size: 0.73rem;
  color: #9ecaff;
  border: 1px solid rgba(95, 141, 200, 0.45);
  padding: 5px 8px;
  border-radius: 8px;
  background: rgba(7, 34, 75, 0.7);
}

.projects-load-note {
  margin: 0;
  color: #9ec0e8;
  font-size: 0.95rem;
  padding: 10px 0;
}

.content-panel {
  margin: 0 34px 22px;
  padding: 24px 22px;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(89, 10, 92, 0.14), rgba(89, 10, 92, 0) 40%), linear-gradient(180deg, rgba(3, 20, 47, 0.95), rgba(1, 11, 30, 0.92));
  border: 1px solid rgba(58, 120, 195, 0.3);
}

.panel-head {
  margin-bottom: 16px;
}

.panel-kicker {
  margin: 0 0 8px;
  color: #3ad4ff;
  font-size: 0.74rem;
  letter-spacing: 0.8px;
  font-weight: 600;
}

.panel-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
  line-height: 1.15;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.about-grid p {
  margin: 0;
  color: #8ea9cc;
  line-height: 1.65;
}

.skill-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.skill-groups article {
  border: 1px solid rgba(68, 126, 197, 0.38);
  background: linear-gradient(90deg, rgba(89, 10, 92, 0.13), rgba(89, 10, 92, 0) 44%), linear-gradient(180deg, rgba(8, 36, 77, 0.55), rgba(3, 17, 42, 0.92));
  border-radius: 12px;
  padding: 14px;
}

.skill-groups h3 {
  margin: 0 0 12px;
  font-size: 1.08rem;
}

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

.chips span {
  font-size: 0.78rem;
  color: #b4d3ff;
  padding: 6px 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(89, 10, 92, 0.24), rgba(8, 45, 95, 0.65) 60%);
  border: 1px solid rgba(86, 145, 214, 0.45);
}

.blog-list {
  display: grid;
  gap: 12px;
}

.blog-item {
  border-radius: 12px;
  padding: 14px;
  border: 1px solid rgba(74, 131, 199, 0.35);
  background: linear-gradient(90deg, rgba(89, 10, 92, 0.14), rgba(89, 10, 92, 0) 42%), linear-gradient(150deg, rgba(8, 40, 84, 0.48), rgba(4, 18, 45, 0.9));
}

.blog-item .meta {
  margin: 0 0 7px;
  color: #3ad4ff;
  font-size: 0.75rem;
  letter-spacing: 0.4px;
}

.blog-item h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.blog-item p {
  margin: 0;
  color: #8ba6ca;
  line-height: 1.55;
}

.blog-item-expandable {
  padding: 0;
  overflow: hidden;
}

.blog-item-toggle {
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  padding: 14px;
  cursor: pointer;
}

.blog-item-toggle:focus-visible {
  outline: 2px solid rgba(61, 200, 255, 0.8);
  outline-offset: -2px;
}

.blog-item-expandable.is-expanded {
  border-color: rgba(87, 185, 255, 0.62);
  background: linear-gradient(150deg, rgba(10, 49, 98, 0.62), rgba(4, 18, 45, 0.96));
}

.blog-item-full {
  border-top: 1px solid rgba(82, 153, 220, 0.32);
  padding: 16px 14px 18px;
  color: #9fc1e5;
}

.blog-post-head h1 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.2;
}

.blog-post-body p + p {
  margin-top: 12px;
}

.work-copy {
  margin: 0 0 16px;
  color: #90abcc;
  max-width: 64ch;
}

.work-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.work-form label {
  display: grid;
  gap: 6px;
  color: #b16dff;
  font-size: 0.85rem;
}

.work-form .wide {
  grid-column: 1 / -1;
}

.work-form input,
.work-form textarea {
  width: 100%;
  background: rgba(2, 19, 44, 0.88);
  color: #dbe9ff;
  border: 1px solid rgba(74, 129, 195, 0.56);
  border-radius: 9px;
  padding: 11px;
  font-family: inherit;
  font-size: 0.92rem;
}

.work-form input::placeholder,
.work-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.34);
}

.work-form input:focus,
.work-form textarea:focus {
  outline: none;
  border-color: rgba(61, 200, 255, 0.92);
  box-shadow: 0 0 0 2px rgba(21, 170, 242, 0.2);
}

.work-form button {
  justify-self: start;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.2;
    transform: scale(0.85);
  }
  40% {
    opacity: 0.95;
    transform: scale(1.12);
  }
  70% {
    opacity: 0.35;
    transform: scale(0.92);
  }
}

@keyframes codeLineDrift {
  0% {
    transform: translateX(0);
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  92% {
    opacity: 1;
  }
  100% {
    transform: translateX(160%);
    opacity: 0;
  }
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 14px;
  }

  .hero-art {
    min-height: clamp(250px, 34vw, 360px);
  }

  .cards {
    grid-template-columns: 1fr 1fr;
  }

  .skill-groups {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: clamp(240px, 44vw, 340px);
    margin-bottom: 18px;
  }
}

@media (max-width: 700px) {
  body {
    padding: 0;
  }

  .site-shell {
    min-height: 100vh;
    min-height: 100dvh;
    border-radius: 0;
  }

  .top-nav,
  .hero,
  .projects,
  .content-panel {
    padding-left: 16px;
    padding-right: 16px;
  }

  .top-nav,
  .hero {
    margin-left: 0;
    margin-right: 0;
  }

  .projects,
  .content-panel {
    margin-left: 24px;
    margin-right: 24px;
  }

  .top-nav {
    justify-content: center;
    row-gap: 12px;
  }

  h1 {
    font-size: clamp(1.8rem, 10vw, 2.7rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    text-align: center;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .work-form {
    grid-template-columns: 1fr;
  }

  .projects-head {
    flex-wrap: wrap;
  }

  .projects-head h2 {
    font-size: 1.45rem;
  }
}
