:root {
  color-scheme: light;
  --bg: #f6f7fb;
  --bg-soft: #ffffff;
  --ink: #15161a;
  --muted: #626875;
  --line: rgba(18, 24, 38, 0.12);
  --glass: rgba(255, 255, 255, 0.68);
  --glass-strong: rgba(255, 255, 255, 0.82);
  --shadow: 0 24px 70px rgba(33, 37, 47, 0.13);
  --shadow-soft: 0 16px 40px rgba(33, 37, 47, 0.1);
  --accent: #0b84ff;
  --accent-deep: #065dcc;
  --mint: #00a878;
  --coral: #ff6b5f;
  --violet: #7b61ff;
  --radius: 8px;
  --header-height: 72px;
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 247, 251, 0.96)),
    radial-gradient(circle at 8% 12%, rgba(11, 132, 255, 0.16), transparent 28rem),
    radial-gradient(circle at 88% 20%, rgba(255, 107, 95, 0.14), transparent 24rem),
    linear-gradient(135deg, #f4f8ff 0%, #fbfbfd 45%, #f7fff9 100%);
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(21, 22, 26, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 22, 26, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 78%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 78%);
}

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

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

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  margin: 14px 0 22px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 38px rgba(22, 28, 38, 0.08);
  backdrop-filter: blur(24px) saturate(150%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(11, 132, 255, 0.24);
  border-radius: var(--radius);
  color: white;
  background: linear-gradient(135deg, #111827, #0b84ff);
  box-shadow: 0 12px 24px rgba(11, 132, 255, 0.25);
}

.brand-mark svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.brand-text {
  font-size: 0.98rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px;
  border: 1px solid rgba(21, 22, 26, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  animation: pill-nav-reveal 620ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.site-nav .pill {
  --pill-ink: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 15px;
  border-radius: 999px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 800;
  white-space: nowrap;
  isolation: isolate;
  transition:
    color 220ms ease,
    transform 220ms ease,
    background 220ms ease;
}

.site-nav .pill:hover,
.site-nav .pill:focus-visible {
  color: white;
  transform: translateY(-1px);
}

.site-nav .pill.is-active {
  color: var(--ink);
  background: rgba(11, 132, 255, 0.1);
}

.site-nav .pill.is-active::after {
  position: absolute;
  bottom: 5px;
  left: 50%;
  z-index: 4;
  width: 5px;
  height: 5px;
  content: "";
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(11, 132, 255, 0.7);
  transform: translateX(-50%);
}

.hover-circle {
  position: absolute;
  left: 50%;
  bottom: -40%;
  z-index: 1;
  width: 120%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.36), transparent 26%),
    linear-gradient(135deg, #111827, var(--accent));
  transform: translateX(-50%) scale(0);
  transform-origin: 50% 88%;
  transition: transform 480ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.site-nav .pill:hover .hover-circle,
.site-nav .pill:focus-visible .hover-circle {
  transform: translateX(-50%) scale(1.18);
}

.label-stack {
  position: relative;
  z-index: 3;
  display: inline-block;
  min-width: max-content;
  line-height: 1;
}

.pill-label,
.pill-label-hover {
  display: block;
  line-height: 1;
  transition:
    transform 300ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 260ms ease;
}

.pill-label-hover {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  color: white;
  opacity: 0;
}

.site-nav .pill:hover .pill-label,
.site-nav .pill:focus-visible .pill-label {
  transform: translateY(calc(-100% - 10px));
  opacity: 0;
}

.site-nav .pill:hover .pill-label-hover,
.site-nav .pill:focus-visible .pill-label-hover {
  transform: translateY(calc(-100% - 10px));
  opacity: 1;
}

.section-band {
  padding: 66px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 42px;
  align-items: center;
  padding-top: 42px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-deep);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: 4.6rem;
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: 2.35rem;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.14rem;
  line-height: 1.25;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-lead {
  max-width: 650px;
  font-size: 1.12rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
  text-align: center;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

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

.button.primary {
  gap: 10px;
  color: white;
  background: linear-gradient(135deg, #111827, var(--accent));
  box-shadow: 0 18px 36px rgba(11, 132, 255, 0.28);
}

.button.secondary {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(20px);
}

.button.wide {
  width: 100%;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 620px;
  margin: 34px 0 0;
}

.hero-stats div {
  min-height: 96px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(22px) saturate(150%);
}

.hero-stats dt {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 1.42rem;
  font-weight: 800;
}

.hero-stats dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.35;
}

.hero-visual {
  position: relative;
}

.device-glass {
  position: relative;
  overflow: hidden;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.42)),
    rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow);
  backdrop-filter: blur(28px) saturate(160%);
}

.device-glass::after {
  position: absolute;
  inset: 1px;
  pointer-events: none;
  content: "";
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.7), transparent 34%),
    linear-gradient(320deg, rgba(11, 132, 255, 0.14), transparent 42%);
  mix-blend-mode: screen;
}

.device-glass img,
.interface-preview {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 16px 44px rgba(24, 31, 43, 0.14);
}

.interface-preview {
  display: block;
  height: auto;
  background: #f8fafe;
}

.velocity-marquee {
  display: grid;
  gap: 8px;
  margin: -6px 0 30px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.velocity-line {
  position: relative;
  overflow: hidden;
  min-height: clamp(46px, 7vw, 86px);
}

.velocity-line::before,
.velocity-line::after {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: clamp(34px, 9vw, 120px);
  pointer-events: none;
  content: "";
}

.velocity-line::before {
  left: 0;
  background: linear-gradient(to right, rgba(246, 247, 251, 0.96), rgba(246, 247, 251, 0));
}

.velocity-line::after {
  right: 0;
  background: linear-gradient(to left, rgba(246, 247, 251, 0.96), rgba(246, 247, 251, 0));
}

.velocity-scroller {
  display: flex;
  width: max-content;
  white-space: nowrap;
  will-change: transform;
}

.velocity-scroller span {
  flex: 0 0 auto;
  padding-right: 28px;
  color: #111827;
  font-size: clamp(2.1rem, 5.7vw, 5rem);
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.velocity-line--reverse .velocity-scroller span {
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(11, 132, 255, 0.72);
  text-stroke: 1.4px rgba(11, 132, 255, 0.72);
}

.attention-strip {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 18px;
  align-items: center;
  margin: 10px 0 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(22px) saturate(150%);
}

.attention-strip span:first-child {
  font-weight: 800;
}

.attention-strip span:last-child {
  color: var(--muted);
  line-height: 1.5;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
  gap: 42px;
  align-items: start;
}

.section-heading {
  max-width: 520px;
}

.section-heading.compact {
  max-width: 700px;
  margin-bottom: 28px;
}

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

.glass-card,
.skill-panel,
.project-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(24px) saturate(150%);
}

.glass-card {
  min-height: 210px;
  padding: 22px;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease;
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: var(--radius);
  color: var(--accent-deep);
  background: rgba(11, 132, 255, 0.1);
  font-size: 0.88rem;
  font-weight: 800;
}

.glass-card:nth-child(2) .card-icon {
  color: #b73b31;
  background: rgba(255, 107, 95, 0.12);
}

.glass-card:nth-child(3) .card-icon {
  color: #047a58;
  background: rgba(0, 168, 120, 0.12);
}

.glass-card:nth-child(4) .card-icon {
  color: #5140bf;
  background: rgba(123, 97, 255, 0.12);
}

.skills-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 0.85fr) minmax(280px, 1.3fr);
  gap: 14px;
}

.skill-panel {
  min-height: 260px;
  padding: 24px;
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.skill-list span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(21, 22, 26, 0.08);
  border-radius: var(--radius);
  color: #2d3340;
  background: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
  font-weight: 700;
}

.tech-loop {
  position: relative;
  overflow: hidden;
  margin-top: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.54)),
    rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(24px) saturate(150%);
}

.tech-loop__header {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.tech-loop__header .panel-kicker {
  margin: 0;
  color: var(--accent-deep);
}

.tech-loop__header span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
}

.tech-loop__viewport {
  position: relative;
  overflow: hidden;
  padding: 8px 0;
}

.tech-loop__viewport::before,
.tech-loop__viewport::after {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: clamp(34px, 9%, 110px);
  pointer-events: none;
  content: "";
}

.tech-loop__viewport::before {
  left: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0));
}

.tech-loop__viewport::after {
  right: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0));
}

.tech-loop__track {
  display: flex;
  width: max-content;
  gap: 14px;
  will-change: transform;
  animation: tech-loop-scroll 34s linear infinite;
}

.tech-loop:hover .tech-loop__track {
  animation-play-state: paused;
}

.tech-logo {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 0 16px;
  border: 1px solid rgba(21, 22, 26, 0.09);
  border-radius: var(--radius);
  color: var(--accent-deep);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 12px 30px rgba(22, 28, 38, 0.08);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1;
  transition:
    transform 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.tech-logo:hover,
.tech-logo:focus-visible {
  transform: translateY(-3px) scale(1.05);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.tech-logo svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.45;
}

.tech-logo.html {
  color: #e34f26;
}

.tech-logo.css {
  color: #1572b6;
}

.tech-logo.js {
  color: #9f7300;
}

.tech-logo.react {
  color: #087ea4;
}

.tech-logo.git {
  color: #f05032;
}

.tech-logo.figma {
  color: #8a38f5;
}

.tech-logo.vite {
  color: #6d49ff;
}

.tech-logo.api {
  color: #047a58;
}

.tech-logo.devtools {
  color: #255fca;
}

.tech-logo.npm {
  color: #c12127;
}

.accent-panel {
  color: white;
  background:
    linear-gradient(145deg, rgba(17, 24, 39, 0.96), rgba(11, 132, 255, 0.86)),
    #111827;
  box-shadow: 0 28px 72px rgba(11, 132, 255, 0.22);
}

.accent-panel h3 {
  max-width: 520px;
  font-size: 1.55rem;
  line-height: 1.25;
}

.accent-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.panel-kicker {
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

.project-card {
  overflow: hidden;
  min-height: 460px;
  background: rgba(255, 255, 255, 0.72);
  transition:
    transform 200ms ease,
    box-shadow 200ms ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.project-preview {
  position: relative;
  height: 190px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #f5f7fb;
}

.project-preview span {
  position: absolute;
  display: block;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 30px rgba(22, 28, 38, 0.12);
}

.preview-shop {
  background:
    linear-gradient(135deg, rgba(11, 132, 255, 0.12), rgba(255, 107, 95, 0.12)),
    #f9fbff;
}

.preview-shop span:nth-child(1) {
  inset: 28px 34px auto;
  height: 34px;
}

.preview-shop span:nth-child(2) {
  left: 34px;
  bottom: 32px;
  width: 42%;
  height: 74px;
}

.preview-shop span:nth-child(3) {
  right: 34px;
  bottom: 32px;
  width: 34%;
  height: 74px;
  background: rgba(11, 132, 255, 0.2);
}

.preview-dashboard {
  background:
    linear-gradient(135deg, rgba(0, 168, 120, 0.14), rgba(11, 132, 255, 0.12)),
    #f7fbfa;
}

.preview-dashboard span:nth-child(1) {
  top: 28px;
  left: 28px;
  width: 36%;
  height: 132px;
}

.preview-dashboard span:nth-child(2) {
  top: 28px;
  right: 28px;
  width: 43%;
  height: 54px;
  background: rgba(0, 168, 120, 0.18);
}

.preview-dashboard span:nth-child(3) {
  right: 28px;
  bottom: 30px;
  width: 43%;
  height: 66px;
}

.preview-app {
  background:
    linear-gradient(135deg, rgba(123, 97, 255, 0.14), rgba(11, 132, 255, 0.12)),
    #fbfaff;
}

.preview-app span:nth-child(1) {
  top: 30px;
  left: 50%;
  width: 56%;
  height: 120px;
  transform: translateX(-50%);
}

.preview-app span:nth-child(2) {
  left: 54px;
  bottom: 28px;
  width: 34%;
  height: 22px;
  background: rgba(123, 97, 255, 0.2);
}

.preview-app span:nth-child(3) {
  right: 54px;
  bottom: 28px;
  width: 28%;
  height: 22px;
}

.project-content {
  padding: 24px;
}

.project-type {
  margin-bottom: 8px;
  color: var(--accent-deep);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.project-content a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--accent-deep);
  font-weight: 800;
}

.action-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 36px;
  align-items: center;
  margin-bottom: 24px;
  border-top: 1px solid var(--line);
}

.action-section h2 {
  max-width: 660px;
}

.action-section p {
  max-width: 720px;
}

.contact-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.74);
}

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

.social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.58);
  transition:
    color 180ms ease,
    background 180ms ease;
}

.social-row a:hover,
.social-row a:focus-visible {
  color: var(--ink);
  background: rgba(11, 132, 255, 0.08);
}

.star-border-button {
  --star-color: #7dd3fc;
  --star-speed: 6s;
  --star-thickness: 2px;
  position: relative;
  display: inline-grid;
  width: 100%;
  padding: var(--star-thickness) 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  color: inherit;
  background: transparent;
  cursor: pointer;
  isolation: isolate;
  transition:
    transform 180ms ease,
    filter 180ms ease;
}

.social-row a.star-border-button {
  display: inline-grid;
  min-height: auto;
  padding: var(--star-thickness) 0;
  border: 0;
  color: inherit;
  background: transparent;
}

.star-border-button:hover,
.star-border-button:focus-visible {
  transform: translateY(-2px);
  filter: saturate(1.08);
}

.social-row a.star-border-button:hover,
.social-row a.star-border-button:focus-visible {
  color: inherit;
  background: transparent;
}

.border-gradient-bottom,
.border-gradient-top {
  position: absolute;
  z-index: 0;
  width: 300%;
  height: 52%;
  border-radius: 50%;
  opacity: 0.76;
  background: radial-gradient(circle, var(--star-color), transparent 10%);
  pointer-events: none;
}

.border-gradient-bottom {
  right: -250%;
  bottom: -12px;
  animation: star-movement-bottom var(--star-speed) linear infinite alternate;
}

.border-gradient-top {
  top: -12px;
  left: -250%;
  animation: star-movement-top var(--star-speed) linear infinite alternate;
}

.star-inner {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid rgba(21, 22, 26, 0.12);
  border-radius: var(--radius);
  overflow-wrap: anywhere;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.contact-star--primary .star-inner {
  color: white;
  border-color: rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg, #111827, var(--accent));
  box-shadow: 0 18px 36px rgba(11, 132, 255, 0.28);
}

.contact-star--secondary .star-inner,
.social-star .star-inner {
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.62)),
    rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px) saturate(150%);
}

.social-star .star-inner {
  min-height: 42px;
  padding: 0 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.social-star:hover .star-inner,
.social-star:focus-visible .star-inner {
  color: var(--ink);
}

@keyframes star-movement-bottom {
  0% {
    transform: translate(0%, 0%);
    opacity: 1;
  }

  100% {
    transform: translate(-100%, 0%);
    opacity: 0;
  }
}

@keyframes star-movement-top {
  0% {
    transform: translate(0%, 0%);
    opacity: 1;
  }

  100% {
    transform: translate(100%, 0%);
    opacity: 0;
  }
}

@keyframes pill-nav-reveal {
  from {
    opacity: 0;
    transform: translateY(-8px) scaleX(0.92);
  }

  to {
    opacity: 1;
    transform: translateY(0) scaleX(1);
  }
}

.copy-status {
  min-height: 20px;
  margin: 0;
  color: var(--mint);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

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

@keyframes tech-loop-scroll {
  to {
    transform: translate3d(calc(var(--tech-loop-distance, 50%) * -1), 0, 0);
  }
}

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

  .tech-loop__viewport {
    overflow-x: auto;
  }

  .tech-loop__track {
    animation: none !important;
  }
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    gap: 12px;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 100%;
  }

  .hero,
  .section-grid,
  .action-section {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 28px;
  }

  h1 {
    font-size: 3.6rem;
  }

  h2 {
    font-size: 2rem;
  }

  .skills-layout,
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .accent-panel {
    grid-column: 1 / -1;
  }

  .action-section {
    padding: 28px;
  }

  .contact-card {
    width: min(100%, 460px);
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
  }

  .site-header {
    position: static;
  }

  .brand-text {
    display: none;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 5px;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav .pill {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.88rem;
  }

  .section-band {
    padding: 46px 0;
  }

  .hero {
    padding-top: 20px;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 1.72rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-stats,
  .attention-strip,
  .advantage-grid,
  .skills-layout,
  .project-grid,
  .social-row {
    grid-template-columns: 1fr;
  }

  .hero-stats div {
    min-height: auto;
  }

  .glass-card,
  .skill-panel {
    min-height: auto;
  }

  .project-card {
    min-height: auto;
  }

  .project-preview {
    height: 170px;
  }

  .action-section {
    padding: 22px;
  }

  .tech-loop {
    padding: 14px;
  }

  .tech-logo {
    min-height: 58px;
    padding: 0 13px;
  }

  .tech-logo svg {
    width: 30px;
    height: 30px;
  }
}

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

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

  h1 {
    font-size: 2.55rem;
  }

  .device-glass {
    padding: 9px;
  }
}
