@font-face {
  font-family: 'Vazir';
  src: url(assets/fonts/Vazir.woff2) format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap
}

:root {
  --w1: #2f7bff;
  --w2: #6cc8ff;
  --w3: #b4d4ff;
  --bg: #f3f7ff;
  --bg2: #e6eefc;
  --card: rgba(255, 255, 255, .72);
  --bd: rgba(60, 110, 220, .16);
  --tx: #0c1b3d;
  --mu: #5a6a8c;
  --ac: #2f7bff;
  --ac2: #5cc2ff;
  --deep: #0b2a6b;
  --dot: #cfdcf5;
  --sh: 0 10px 30px rgba(40, 90, 200, .12);
  --r: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1)
}

[data-theme=dark] {
  --w1: #1d4fd8;
  --w2: #38a8ff;
  --w3: #0b2a6b;
  --bg: #060d1f;
  --bg2: #0a1630;
  --card: rgba(14, 28, 62, .62);
  --bd: rgba(90, 150, 255, .2);
  --tx: #eaf1ff;
  --mu: #8fa3cc;
  --ac: #3d8bff;
  --ac2: #38d0ff;
  --deep: #1d4fd8;
  --dot: #1c2e57;
  --sh: 0 10px 40px rgba(0, 0, 0, .45)
}

* {
  box-sizing: border-box;
  margin: 0
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px
}

body {
  font-family: 'Vazir', Tahoma, sans-serif;
  background: var(--bg);
  color: var(--tx);
  line-height: 1.9;
  overflow-x: hidden;
  transition: background .5s, color .5s
}

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

ul {
  list-style: none;
  padding: 0
}

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

:focus-visible {
  outline: 2px solid var(--ac);
  outline-offset: 3px;
  border-radius: 8px
}


/* nav */
.nav-wrap {
  position: fixed;
  top: 14px;
  inset-inline: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 0 14px
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(960px, 100%);
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--bd);
  backdrop-filter: blur(16px);
  box-shadow: var(--sh);
  animation: drop .9s var(--ease) both
}

@keyframes drop {
  from {
    transform: translateY(-80px);
    opacity: 0
  }
}

.brand {
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -1px;
  background: linear-gradient(135deg, var(--ac), var(--deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: transform .5s var(--ease)
}

.brand:hover {
  transform: rotate(-8deg) scale(1.15)
}

.links {
  display: flex;
  gap: 2px;
  margin-inline: auto;
  overflow-x: auto;
  scrollbar-width: none
}

.links a {
  position: relative;
  display: block;
  padding: 6px 14px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--mu);
  border-radius: 999px;
  white-space: nowrap;
  transition: color .3s, transform .3s var(--ease)
}

.links a:hover {
  color: var(--tx);
  transform: translateY(-3px)
}

.links a:hover::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--ac);
  opacity: .1;
  animation: pop .35s var(--ease)
}
.links a.active:hover::before {
  display: none;
}

.links a.active {
  color: #fff;
  font-weight: 700
}

@keyframes pop {
  from {
    transform: scale(.6);
    opacity: 0
  }
}

.ind {
  position: absolute;
  top: 50%;
  height: 34px;
  margin-top: -17px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ac), var(--deep));
  box-shadow: 0 6px 18px rgba(47, 123, 255, .45);
  transition: left .5s var(--ease), width .5s var(--ease);
  z-index: 0;
  pointer-events: none
}

.links {
  position: relative;
  z-index: 1
}

.links a.active::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: #fff;
  animation: pop .5s .2s var(--ease) both
}

.theme {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--bd);
  background: transparent;
  color: var(--ac);
  cursor: pointer;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: transform .5s var(--ease), background .3s
}

.theme:hover {
  transform: rotate(25deg) scale(1.1);
  background: var(--card)
}

.theme svg {
  position: absolute;
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  transition: transform .6s var(--ease), opacity .4s
}

[data-theme=light] .i-moon {
  transform: translateY(30px) rotate(-90deg);
  opacity: 0
}

[data-theme=dark] .i-sun {
  transform: translateY(-30px) rotate(90deg);
  opacity: 0
}

/* layout */
.section {
  max-width: 1040px;
  margin: 0 auto;
  padding: 90px 22px
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ac);
  font-weight: 600;
  font-size: .9rem
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--ac);
  border-radius: 2px;
  transform-origin: right;
  animation: line 1s var(--ease) both
}

@keyframes line {
  from {
    transform: scaleX(0)
  }
}

h1,
h2,
h3 {
  line-height: 1.5
}

.sec-head {
  margin-bottom: 34px
}

.sec-head h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800
}

.sub {
  color: var(--mu)
}

/* hero */
.hero {
  min-height: 100svh;
  max-width: 1100px;
  margin: 0 auto;
  padding: 120px 22px 70px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 20px;
  position: relative
}

.hi {
  color: var(--ac);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px
}

.spark {
  width: 22px;
  fill: var(--ac);
  animation: twinkle 2.6s ease-in-out infinite
}

@keyframes twinkle {
  50% {
    transform: scale(.6) rotate(45deg);
    opacity: .5
  }
}

h1 {
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  font-weight: 800;
  line-height: 1.3;
  background: linear-gradient(120deg, var(--tx) 30%, var(--ac));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.hero h2 {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--mu)
}

.diff {
  margin-top: 22px;
  font-weight: 700;
  color: var(--ac)
}

.tag {
  font-size: 1.5rem;
  font-weight: 700
}

.lead {
  color: var(--mu);
  max-width: 44ch;
  margin-top: 6px
}

.cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px
}

.cta.c {
  justify-content: center
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 999px;
  font: 600 .95rem inherit;
  font-family: inherit;
  border: 1px solid var(--bd);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s
}

.btn:hover {
  transform: translateY(-4px)
}

.btn:active {
  transform: scale(.96)
}

.btn.primary {
  background: linear-gradient(135deg, var(--ac), var(--deep));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 26px rgba(47, 123, 255, .4)
}

.btn.primary::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40%;
  left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: skewX(-20deg);
  transition: left .7s
}

.btn.primary:hover::after {
  left: 130%
}

.btn.ghost {
  background: var(--card);
  color: var(--ac);
  backdrop-filter: blur(8px)
}

.btn.ghost:hover {
  background: var(--ac);
  color: #fff;
  box-shadow: 0 10px 26px rgba(47, 123, 255, .3)
}

.arr {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  transition: transform .4s var(--ease)
}

.btn:hover .arr {
  transform: translateX(-5px)
}

.dl svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round
}

.dl:hover svg {
  animation: bounce .7s infinite
}

@keyframes bounce {
  50% {
    transform: translateY(4px)
  }
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center
}

.hero-art>img {
  position: relative;
  z-index: 2;
  width: min(480px, 100%);
  filter: drop-shadow(0 25px 35px rgba(10, 40, 120, .3));
  animation: float 6s ease-in-out infinite
}

@keyframes float {
  50% {
    transform: translateY(-12px)
  }
}

.ring {
  position: absolute;
  width: 86%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--ac2), var(--ac) 60%, var(--deep));
  opacity: .35;
  animation: breathe 7s ease-in-out infinite
}

.ring.r2 {
  width: 105%;
  background: none;
  border: 1.5px dashed var(--ac);
  opacity: .35;
  animation: spin 40s linear infinite
}

@keyframes breathe {
  50% {
    transform: scale(1.06)
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

.chip {
  position: absolute;
  z-index: 3;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  box-shadow: var(--sh);
  animation: float 5s ease-in-out infinite
}

.c1 {
  background: #001e36;
  border: 2px solid #31a8ff;
  color: #31a8ff;
  top: 14%;
  right: 2%
}

.c2 {
  background: #330000;
  border: 2px solid #ff9a00;
  color: #ff9a00;
  bottom: 26%;
  left: 0;
  animation-delay: -2s
}

.c3 {
  background: #0b1d4d;
  border: 2px solid #4da3ff;
  color: #4da3ff;
  font-style: italic;
  top: 8%;
  left: 12%;
  animation-delay: -3.500s
}

.down {
  position: absolute;
  bottom: 22px;
  left: 50%;
  margin-left: -20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--card);
  border: 1px solid var(--bd);
  animation: bounce 2s infinite
}

.down svg {
  width: 20px;
  fill: none;
  stroke: var(--ac);
  stroke-width: 2.200;
  stroke-linecap: round;
  stroke-linejoin: round
}

/* about */
.about-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 34px;
  align-items: center;
  padding: 26px;
  border-radius: 30px;
  background: var(--card);
  border: 1px solid var(--bd);
  box-shadow: var(--sh);
  backdrop-filter: blur(14px)
}

.about-img {
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 1;
  background: linear-gradient(160deg, var(--ac2), var(--ac));
  display: grid;
  align-items: end;
  transition: transform .6s var(--ease)
}

.about-card:hover .about-img {
  transform: rotate(-2deg) scale(1.03)
}

.about-img img {
  width: 120%;
  max-width: none;
  margin: 0 -10%
}

.about-body h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 6px 0 10px
}

.about-body p:not(.eyebrow) {
  color: var(--mu);
  margin-bottom: 22px
}

/* skills */
.skills-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 22px
}

.panel {
  padding: 28px;
  border-radius: var(--r);
  background: var(--card);
  border: 1px solid var(--bd);
  box-shadow: var(--sh);
  backdrop-filter: blur(14px)
}

.panel h3 {
  font-size: 1.15rem;
  margin-bottom: 18px
}

.tools li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  margin-inline: -12px;
  border-radius: 16px;
  transition: background .3s, transform .4s var(--ease)
}

.tools li:hover {
  background: rgba(47, 123, 255, .09);
  transform: translateX(-6px)
}

.logo {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.05rem;
  transition: transform .5s var(--ease)
}

.tools li:hover .logo {
  transform: rotate(-10deg) scale(1.12)
}

.logo svg {
  width: 24px;
  fill: #fff
}

.ps {
  background: #001e36;
  color: #31a8ff;
  border: 2px solid #31a8ff
}

.ai {
  background: #330000;
  color: #ff9a00;
  border: 2px solid #ff9a00
}

.am {
  background: #0b1d4d;
  color: #4da3ff;
  border: 2px solid #4da3ff;
  font-style: italic;
  font-size: 1.3rem
}

.pp {
  background: linear-gradient(135deg, #ff8f6b, #d35230);
  color: #fff
}

.ins {
  background: linear-gradient(135deg, #ff5f9e, #8a4dff);
  color: #fff
}

.tn {
  flex: 1;
  font-weight: 600
}

.dots {
  display: flex;
  gap: 6px;
  direction: ltr
}

.dots i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--dot);
  transform: scale(0);
  transition: transform .5s var(--ease), background .3s
}

.in .dots i {
  transform: scale(1)
}

.in .dots i.on {
  background: linear-gradient(135deg, var(--ac2), var(--ac));
  box-shadow: 0 0 10px rgba(61, 139, 255, .6)
}

.tools li:hover .dots i.on {
  animation: jump .5s calc(var(--i)*70ms)
}

@keyframes jump {
  50% {
    transform: translateY(-5px) scale(1.2)
  }
}

.lv {
  min-width: 84px;
  text-align: left;
  font-size: .8rem;
  color: var(--mu)
}

.legend {
  margin-top: 14px;
  font-size: .78rem;
  color: var(--mu)
}

.soft {
  display: flex;
  flex-wrap: wrap;
  gap: 10px
}

.soft li {
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(47, 123, 255, .1);
  border: 1px solid var(--bd);
  font-size: .92rem;
  cursor: default;
  transition: transform .4s var(--ease), background .3s, color .3s
}

.soft li:hover {
  background: var(--ac);
  color: #fff;
  transform: translateY(-4px) rotate(-3deg)
}

.quote {
  margin-top: 22px;
  padding: 20px 26px;
  border-radius: var(--r);
  background: var(--card);
  border: 1px solid var(--bd);
  color: var(--mu)
}

.quote::before {
  content: "💡";
  margin-inline-end: 12px
}

/* portfolio */
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 26px
}

.filters button {
  font: 500 .92rem inherit;
  font-family: inherit;
  padding: 8px 22px;
  border-radius: 999px;
  border: 1px solid var(--bd);
  background: var(--card);
  color: var(--tx);
  cursor: pointer;
  transition: transform .4s var(--ease), background .3s, color .3s
}

.filters button:hover {
  transform: translateY(-3px);
  border-color: var(--ac)
}

.filters button.on {
  background: linear-gradient(135deg, var(--ac), var(--deep));
  color: #fff;
  border-color: transparent
}

.works {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px
}

.work {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--bd);
  animation: wIn .6s var(--ease) both;
  animation-delay: calc(var(--i)*70ms);
  transition: transform .5s var(--ease), box-shadow .5s
}

@keyframes wIn {
  from {
    opacity: 0;
    transform: scale(.85) translateY(20px)
  }
}

.work:hover {
  transform: translateY(-8px) rotate(-1deg);
  box-shadow: 0 22px 40px rgba(30, 80, 200, .3)
}

.work .ph,
.work img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease)
}

.work:hover .ph,
.work:hover img {
  transform: scale(1.1)
}

.ph {
  display: grid;
  place-items: center;
  font-size: 2.4rem;
  font-weight: 800;
  color: rgba(255, 255, 255, .85)
}

.cap {
  position: absolute;
  inset: auto 0 0;
  padding: 34px 16px 14px;
  background: linear-gradient(transparent, rgba(5, 15, 50, .85));
  color: #fff;
  transform: translateY(100%);
  transition: transform .5s var(--ease)
}

.work:hover .cap,
.work:focus-visible .cap {
  transform: none
}

.cap small {
  opacity: .75;
  display: block
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(3, 8, 25, .85);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 24px;
  animation: fade .3s
}

.lightbox[hidden] {
  display: none
}

@keyframes fade {
  from {
    opacity: 0
  }
}

.lightbox button {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  cursor: pointer;
  font-size: 1.1rem;
  transition: transform .4s var(--ease)
}

.lightbox button:hover {
  transform: rotate(90deg)
}

.lb-body {
  max-width: 900px;
  width: 100%;
  animation: pop .5s var(--ease)
}

.lb-body>* {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 20px;
  aspect-ratio: 4/3
}

.lb-body .ph {
  aspect-ratio: 16/10
}

.contact {
  text-align: center;
  padding: 50px 24px;
  border-radius: 30px;
  background: var(--card);
  border: 1px solid var(--bd);
  box-shadow: var(--sh)
}

.contact h2 {
  font-size: 1.9rem;
  font-weight: 800
}

.contact p {
  color: var(--mu)
}

.foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 30px 20px 40px;
  color: var(--mu);
  font-size: .92rem;
  flex-wrap: wrap
}

.foot img {
  transition: transform .6s var(--ease)
}

.foot a:hover img {
  transform: rotate(360deg) scale(1.15)
}

.heart {
  color: #ff4d79;
  display: inline-block;
  animation: beat 1.4s infinite
}

@keyframes beat {
  15% {
    transform: scale(1.3)
  }

  30% {
    transform: scale(1)
  }

  45% {
    transform: scale(1.2)
  }
}

/* entrance */
.r {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(6px)
}

.ready .r {
  animation: rIn .9s var(--ease) forwards;
  animation-delay: calc(var(--d, 0)*110ms + .25s)
}

.ready .hero-art.r {
  animation-name: artIn;
  animation-duration: 1.2s
}

@keyframes rIn {
  to {
    opacity: 1;
    transform: none;
    filter: none
  }
}

@keyframes artIn {
  from {
    opacity: 0;
    transform: scale(.8) rotate(-4deg)
  }

  to {
    opacity: 1;
    transform: none;
    filter: none
  }
}

.rev {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s var(--ease), transform .9s var(--ease)
}

.rev.in {
  opacity: 1;
  transform: none
}

@media(max-width:820px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 110px;
    text-align: right
  }

  .hero-art {
    order: -1;
    margin-bottom: -10px
  }

  .hero-art>img {
    width: min(340px, 80%)
  }

  .about-card,
  .skills-grid {
    grid-template-columns: 1fr
  }

  .about-img {
    max-width: 240px
  }

  .nav {
    gap: 8px;
    padding: 6px 10px
  }

  .links a {
    padding: 6px 10px;
    font-size: .78rem
  }

  .down {
    display: none
  }
}

@media(prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important
  }

  html {
    scroll-behavior: auto
  }

  .r,
  .rev {
    opacity: 1;
    transform: none;
    filter: none
  }
}

/* waves & fixes */
.bg-waves {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(165deg, var(--bg), var(--bg2));
  overflow: hidden
}

.bg-waves svg {
  width: 100%;
  height: 100%
}

.wg {
  transition: transform .2s linear
}

.wg.a path {
  animation: sway 16s ease-in-out infinite alternate
}

.wg.b path {
  animation: sway 20s ease-in-out -7s infinite alternate-reverse
}

.wg path:nth-child(2n) {
  animation-duration: 23s
}

@keyframes sway {
  to {
    transform: translate(-26px, 16px) scale(1.04)
  }
}

.orb {
  animation: breathe 9s ease-in-out infinite;
  transform-origin: 330px 420px
}

[data-theme=dark] .wg path[fill="none"] {
  filter: drop-shadow(0 0 6px var(--w2))
}

.hero-art>img {
  height: auto;
  aspect-ratio: 1000/1028;
  object-fit: contain
}

.about-img img {
  height: auto;
  aspect-ratio: 1000/1028;
  object-fit: contain
}

h1 small {
  font-size: .32em;
  font-weight: 500;
  color: var(--mu);
  -webkit-text-fill-color: var(--mu);
  margin-inline-start: 4px
}

.logo.pp {
  background: #2a0c05;
  color: #ff7a4d;
  border: 2px solid #ff7a4d
}

.logo.ins {
  background: #2b0716;
  color: #ff4d7e;
  border: 2px solid #ff4d7e
}

.logo.am {
  background: #161a33;
  color: #2ff0b0;
  border: 2px solid #2ff0b0;
  font-style: normal;
  font-size: 1.05rem
}

.c3 {
  background: #161a33;
  border: 2px solid #2ff0b0;
  color: #2ff0b0;
  font-style: normal
}

.lv {
  min-width: 104px
}

.glass,
.panel,
.nav,
.about-card,
.contact {
  background: linear-gradient(135deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .18));
  border: 1px solid rgba(255, 255, 255, .55);
  box-shadow: var(--sh), inset 0 1px 0 rgba(255, 255, 255, .7);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%)
}

[data-theme=dark] .glass,
[data-theme=dark] .panel,
[data-theme=dark] .nav,
[data-theme=dark] .about-card,
[data-theme=dark] .contact {
  background: linear-gradient(135deg, rgba(80, 130, 255, .16), rgba(10, 24, 60, .35));
  border-color: rgba(110, 170, 255, .28);
  box-shadow: var(--sh), inset 0 1px 0 rgba(150, 200, 255, .2)
}

.quote {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 500
}

.quote::before {
  content: none
}

.bulb {
  flex: none;
  width: 30px;
  fill: none;
  stroke: #f5b400;
  stroke-width: 1.800;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: twinkle 3s infinite
}

.soc svg {
  width: 18px;
  fill: currentColor
}

.contact .cta {
  margin-top: 20px
}

/* ===== v3 ===== */
:root {
  --wl: #c9ecff;
  --ac-t: #1b5fe6;
  --mu: #3b4c77;
  --h1: #061433;
  --h2: #17408f;
  --brand1: #2f7bff;
  --brand2: #0b2a6b
}

[data-theme=dark] {
  --wl: #b6f0ff;
  --ac-t: #7cc8ff;
  --mu: #b6c6e8;
  --h1: #fff;
  --h2: #d6e8ff;
  --brand1: #7cc8ff;
  --brand2: #3d8bff
}

.bg-waves {
  --pt: 0px;
  --pb: 0px
}

.bg-waves svg.wv {
  position: fixed;
  width: max(100vw, 1000px);
  height: auto;
  aspect-ratio: 10/7;
  overflow: visible;
  will-change: transform
}

.wt {
  top: 0;
  right: 0;
  transform: translateY(var(--pt));
  animation: swT 15s ease-in-out infinite alternate
}

.wb {
  bottom: 0;
  left: 0;
  transform: translateY(var(--pb));
  animation: swB 19s ease-in-out -6s infinite alternate
}

@keyframes swT {
  to {
    translate: -22px -14px;
    scale: 1.03
  }
}

@keyframes swB {
  to {
    translate: 22px 14px;
    scale: 1.03
  }
}

.wt,
.wb {
  transform-origin: 100% 0
}

.wb {
  transform-origin: 0 100%
}

.wv path,
.wv use {
  animation: none !important
}

.nl {
  filter: drop-shadow(0 0 5px var(--w2))
}

[data-theme=dark] .nl {
  filter: drop-shadow(0 0 7px var(--w2)) drop-shadow(0 0 16px var(--w1))
}

[data-theme=dark] .wv path[fill^="url"] {
  filter: saturate(1.25)
}

.orb {
  position: fixed;
  left: -10vw;
  top: 14vh;
  width: 48vw;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--w2), transparent 68%);
  opacity: .2;
  animation: breathe 9s ease-in-out infinite;
  transform-origin: center
}

.brand {
  background: linear-gradient(135deg, var(--brand1), var(--brand2));
  -webkit-background-clip: text;
  background-clip: text
}

.eyebrow,
.hi,
.diff,
.btn.ghost,
.filters button.on~* {
  color: var(--ac-t)
}

.eyebrow::before {
  background: var(--ac-t)
}

.hi {
  font-weight: 800;
  font-size: 1.15rem
}

h1 {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: var(--h1);
  font-weight: 800;
  -webkit-text-stroke: .8px var(--h1);
  text-shadow: 0 2px 22px rgba(47, 123, 255, .25)
}

[data-theme=dark] h1 {
  text-shadow: 0 0 28px rgba(61, 139, 255, .6)
}

h1 small {
  -webkit-text-fill-color: currentColor;
  color: var(--h2);
  -webkit-text-stroke: .4px var(--h2);
  font-weight: 700;
  font-size: .34em
}

.hero h2 {
  color: var(--h2);
  font-weight: 800;
  font-size: 1.65rem;
  -webkit-text-stroke: .5px var(--h2)
}

.diff {
  font-weight: 800
}

.tag {
  color: var(--h1);
  -webkit-text-stroke: .4px var(--h1)
}

.lead {
  color: var(--mu);
  font-weight: 500
}

.hero-text,
.sec-head,
.quote {
  text-shadow: 0 0 14px var(--bg), 0 0 4px var(--bg)
}

.sec-head h2 {
  font-weight: 800;
  -webkit-text-stroke: .5px var(--tx)
}

.btn.ghost:hover {
  color: #fff
}

.btn.ghost {
  font-weight: 700
}

.arr {
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, .22);
  margin-inline-end: -10px;
  animation: nudge 2.4s ease-in-out infinite
}

.arr svg {
  width: 17px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.400;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke .3s
}

.btn:hover .arr {
  animation: none;
  transform: translateX(-6px);
  background: #fff
}

.btn:hover .arr svg {
  stroke: var(--ac)
}

@keyframes nudge {
  50% {
    transform: translateX(-5px)
  }
}

.logo.pic {
  background: none;
  border: 0;
  overflow: hidden
}

.logo.pic img {
  width: 100%;
  height: 100%;
  object-fit: contain
}

.chip.c3 {
  background: none;
  border: 0;
  padding: 0;
  overflow: hidden
}

.chip.c3 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px
}

.links a {
  color: var(--mu)
}

.tn {
  color: var(--tx)
}

.panel h3 {
  color: var(--tx);
  font-weight: 800
}

.panel,
.quote,
.about-card {
  text-shadow: none
}

.quote {
  color: var(--tx)
}

#fx {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 150;
  pointer-events: none
}

html.fine,
html.fine * {
  cursor: none !important
}

.cur-dot,
.cur-ring {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 200;
  pointer-events: none;
  transition: opacity .3s
}

.cur-dot {
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: var(--ac-t);
  box-shadow: 0 0 10px var(--ac2)
}

.cur-ring {
  width: 38px;
  height: 38px;
  margin: -19px 0 0 -19px;
  transition: opacity .3s
}

.cur-ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--ac-t);
  transition: transform .35s var(--ease), background .3s, border-radius .35s;
  box-shadow: 0 0 12px rgba(61, 139, 255, .35)
}

.cur-ring[data-s=link]::before {
  transform: scale(1.5);
  background: rgba(61, 139, 255, .14)
}

.cur-ring[data-s=view]::before {
  transform: scale(2.1);
  background: var(--ac);
  border-color: transparent
}

.cur-ring.down::before {
  transform: scale(.7)
}

.cur-ring span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: .62rem;
  font-weight: 700;
  opacity: 0;
  transition: opacity .3s
}

.cur-ring[data-s=view] span {
  opacity: 1
}

.links {
  mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 12px), transparent)
}

@media(max-width:820px) {
  .section {
    padding: 64px 16px
  }

  .hero {
    padding: 104px 16px 56px;
    gap: 6px;
    text-align: center
  }

  .hero-text {
    display: flex;
    flex-direction: column;
    align-items: center
  }

  .hi,
  .cta {
    justify-content: center
  }

  .lead {
    max-width: 34ch
  }

  .hero-art>img {
    width: min(300px, 76%)
  }

  .chip {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: .85rem
  }

  .about-card {
    padding: 20px;
    text-align: center;
    justify-items: center
  }

  .about-img {
    width: 200px
  }

  .about-body .eyebrow {
    justify-content: center
  }

  .panel {
    padding: 20px 18px
  }

  .nav-wrap {
    top: 8px;
    padding: 0 8px
  }

  .bg-waves svg.wv {
    width: max(100vw, 760px)
  }
}

@media(max-width:560px) {
  .brand {
    font-size: 1.1rem
  }

  .nav {
    gap: 6px
  }

  .links a {
    padding: 6px 9px;
    font-size: .74rem
  }

  .theme {
    width: 34px;
    height: 34px
  }

  .ind {
    height: 30px;
    margin-top: -15px
  }

  .tools li {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 12px;
    align-items: center
  }

  .tools .logo {
    grid-row: 1/3
  }

  .tools .tn {
    align-self: end;
    line-height: 1.4
  }

  .tools .lv {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    min-width: 0;
    text-align: right
  }

  .tools .dots {
    grid-column: 3;
    grid-row: 1/3
  }

  .dots i {
    width: 10px;
    height: 10px
  }

  .dots {
    gap: 4px
  }

  .cta .btn {
    flex: 1 1 auto;
    justify-content: center
  }

  .contact {
    padding: 36px 18px
  }

  .contact h2 {
    font-size: 1.5rem
  }

  .works {
    grid-template-columns: 1fr 1fr;
    gap: 12px
  }

  .filters {
    gap: 8px
  }

  .filters button {
    padding: 7px 16px;
    font-size: .85rem
  }

  .quote {
    font-size: .92rem
  }

  .cap {
    transform: none;
    padding-top: 24px;
    font-size: .85rem
  }
}

@media(max-width:380px) {
  .works {
    grid-template-columns: 1fr
  }
}

@media(hover:none) {
  .cap {
    transform: none
  }
}

/* ===== v4 ===== */
.brand {
  background: none;
  -webkit-text-fill-color: initial;
  display: block;
  line-height: 0
}

.brand img {
  width: 40px;
  height: auto;
  border-radius: 12px;
  filter: drop-shadow(0 4px 10px rgba(47, 123, 255, .4))
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px 6px 16px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ac-t);
  background: rgba(255, 255, 255, .8);
  border: 1px solid rgba(47, 123, 255, .3);
  box-shadow: 0 6px 20px rgba(47, 123, 255, .18);
  backdrop-filter: blur(10px);
  text-shadow: none
}

[data-theme=dark] .pill {
  background: rgba(25, 70, 170, .5);
  border-color: rgba(124, 200, 255, .4);
  color: #d6ecff;
  box-shadow: 0 6px 22px rgba(0, 0, 0, .4), 0 0 18px rgba(61, 139, 255, .3)
}

.dot {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ac2), var(--ac))
}

.dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--ac2);
  animation: ping 2s infinite
}

@keyframes ping {
  from {
    transform: scale(.5);
    opacity: 1
  }

  to {
    transform: scale(1.7);
    opacity: 0
  }
}

.skills-grid .col {
  display: flex;
  flex-direction: column;
  gap: 22px
}

.soft.alt li {
  background: rgba(92, 194, 255, .14)
}

.logo.pic.ig,
.logo.pic.cv {
  background: none
}

.be {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 22px;
  padding: 0 6px;
  border-radius: 6px;
  background: #1769ff;
  color: #fff;
  font: 800 .82rem/1 Arial, sans-serif;
  transition: .3s
}

.btn:hover .be {
  background: #fff;
  color: #1769ff
}

.soc {
  font-family: inherit
}

/* portfolio masonry */
.works {
  display: block;
  columns: 3 250px;
  column-gap: 18px
}

.work {
  break-inside: avoid;
  margin: 0 0 18px;
  aspect-ratio: auto;
  display: block
}

.work img {
  display: block;
  width: 100%;
  height: auto;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-touch-callout: none
}

.work .ph {
  height: auto;
  aspect-ratio: var(--ar, 4/5);
  width: 100%;
  flex-direction: column;
  gap: 4px
}

.ph b {
  font-size: 2.6rem;
  line-height: 1.1
}

.ph span {
  font-size: .9rem;
  font-weight: 500
}

.badge {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(6, 16, 50, .65);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: .75rem;
  font-weight: 700
}

.badge svg {
  width: 15px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round
}

/* viewer */
.viewer {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(3, 8, 25, .9);
  backdrop-filter: blur(12px);
  display: grid;
  place-items: center;
  padding: 16px;
  animation: fade .3s
}

.viewer[hidden] {
  display: none
}

.vx {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 5;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  cursor: pointer;
  font-size: 1.1rem;
  transition: transform .4s var(--ease)
}

.vx:hover {
  transform: rotate(90deg)
}

.vbox {
  width: min(1000px, 100%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: pop .5s var(--ease)
}

.vhead {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  color: #fff;
  padding-inline: 56px 4px
}

.vhead small {
  opacity: .7
}

.vwrap {
  position: relative
}

.vstage {
  overflow: hidden;
  border-radius: 18px;
  display: grid;
  place-items: center;
  max-height: calc(100svh - 150px);
  touch-action: pan-y
}

.vslide {
  display: grid;
  place-items: center
}

.vslide img,
.vslide .ph {
  max-width: 100%;
  max-height: calc(100svh - 150px);
  width: auto;
  height: auto;
  border-radius: 14px;
  cursor: zoom-in;
  user-select: none;
  -webkit-user-drag: none
}

.vslide .ph.big {
  width: min(860px, 92vw);
  aspect-ratio: 16/10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  cursor: default
}

.vslide .ph b {
  font-size: 4rem
}

.vslide.fromL {
  animation: fL .45s var(--ease)
}

.vslide.fromR {
  animation: fR .45s var(--ease)
}

@keyframes fL {
  from {
    opacity: 0;
    transform: translateX(-70px)
  }
}

@keyframes fR {
  from {
    opacity: 0;
    transform: translateX(70px)
  }
}

.vstage.zoomed {
  overflow: auto;
  place-items: start
}

.vstage.zoomed .vslide img {
  max-width: none;
  max-height: none;
  width: 190%;
  cursor: zoom-out
}

.vn {
  position: absolute;
  top: 50%;
  margin-top: -22px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, .92);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform .3s var(--ease), background .3s
}

.vn:hover {
  transform: scale(1.12);
  background: #fff
}

.vn svg {
  width: 20px;
  fill: none;
  stroke: #0b2a6b;
  stroke-width: 2.500;
  stroke-linecap: round;
  stroke-linejoin: round
}

.nx {
  left: 10px
}

.pv {
  right: 10px
}

.vwrap:has(.zoomed) .vn {
  display: none
}

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

.vdots i {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .35);
  cursor: pointer;
  transition: width .4s var(--ease), background .3s
}

.vdots i.on {
  width: 26px;
  background: linear-gradient(90deg, var(--ac2), var(--ac))
}

@media(max-width:560px) {
  .works {
    columns: 2 150px;
    column-gap: 12px
  }

  .work {
    margin-bottom: 12px
  }

  .vn {
    width: 38px;
    height: 38px;
    margin-top: -19px
  }

  .nx {
    left: 6px
  }

  .pv {
    right: 6px
  }

  .ph b {
    font-size: 2rem
  }
}

@media(max-width:380px) {
  .works {
    columns: 1
  }
}

.pill {
  padding: 3px 12px 3px 10px;
  gap: 8px;
  border-radius: 11px;
  font-size: .95rem
}

.pill .dot {
  width: 8px;
  height: 8px
}

.mail {
  margin-top: 14px;
  font-size: .9rem;
  color: var(--mu);
  user-select: all
}

/* v5 responsive */
html,
body {
  max-width: 100%;
  overflow-x: clip
}

.hero {
  overflow: clip
}

.hero-art {
  max-width: 100%;
  overflow: visible
}

.ring.r2 {
  width: 96%
}

.hero-art {
  width: 100%
}

.nav {
  max-width: 100%
}

.links {
  min-width: 0;
  flex: 1 1 auto;
  justify-content: flex-start
}

.brand {
  flex: none
}

.theme {
  flex: none
}

@media(max-width:820px) {
  .chip.c1 {
    right: 6%
  }

  .chip.c2 {
    left: 4%
  }

  .chip.c3 {
    left: 14%
  }

  .hero-art {
    padding: 0 8px
  }
}

.links .ind {
  z-index: -1
}

@media(max-width:420px) {
  .links a {
    padding: 6px 6px;
    font-size: .7rem
  }

  .brand img {
    width: 34px
  }

  .nav {
    gap: 4px;
    padding: 5px 8px
  }
}

/* v6 */
.links {
  flex: 0 1 auto;
  margin-inline: auto;
  justify-content: flex-start;
  padding: 16px 10px;
  margin-block: -16px;
  mask-image: none
}

.ph b.soon {
  font-size: 1.7rem
}

@media(max-width:560px) {
  .links {
    flex: 1 1 auto;
    margin-inline: 0;
    padding: 16px 4px;
    mask-image: linear-gradient(90deg, transparent, #000 8px, #000 calc(100% - 8px), transparent)
  }
}

@media(max-width:820px) {
  .hero-art {
    margin-bottom: 34px
  }

  .hero-text {
    margin-top: 6px
  }
}

/* ===== v7: layout, radius, about ===== */
:root {
  --r: 16px;
  --max: 1120px;
  --gut: clamp(18px, 3.5vw, 40px);
  --pv: clamp(14px, 2.4vw, 28px)
}

.nav-wrap {
  padding: 0 var(--gut)
}

.nav {
  width: min(var(--max), 100%)
}

.hero,
.section,
.foot {
  max-width: calc(var(--max) + var(--gut)*2);
  margin-inline: auto;
  padding-inline: var(--gut)
}

.section {
  padding-block: var(--pv)
}

.hero {
  padding-top: 110px;
  padding-bottom: var(--pv)
}

.foot {
  padding-block: var(--pv)
}

.sec-head {
  margin-bottom: 20px
}

.panel {
  padding: 22px 28px
}

.contact {
  padding: 30px 36px
}

.tag {
  margin-top: 20px
}

[data-theme=light] .nav {
  background: rgba(255, 255, 255, .86)
}

[data-theme=dark] .nav {
  background: rgba(8, 20, 50, .86)
}

.brand .lt {
  display: block
}

.brand .dk {
  display: none
}

[data-theme=dark] .brand .lt {
  display: none
}

[data-theme=dark] .brand .dk {
  display: block
}

.nav,
.panel,
.contact,
.work,
.btn,
.filters button,
.soft li,
.pill,
.links a,
.ind,
.logo,
.chip,
.badge,
.vstage,
.vslide img,
.vslide .ph,
.brand img,
.work .ph {
  border-radius: var(--r)
}

.chip.c3 img {
  border-radius: var(--r)
}

.tools li:hover {
  background: none
}

.skills-grid {
  align-items: stretch
}

.skills-grid .col .panel {
  flex: 1
}

.filters[hidden] {
  display: none
}

.ico {
  width: 20px;
  height: 20px;
  border-radius: 6px
}

.foot a {
  display: block;
  line-height: 0
}

/* about */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: center
}

.about-text {
  text-shadow: 0 0 14px var(--bg), 0 0 4px var(--bg)
}

.about-text p {
  font-size: 1.02rem;
  line-height: 2.1;
  color: var(--mu);
  margin-bottom: 14px;
  font-weight: 500
}

.about-text p.first {
  font-size: 1.15rem;
  color: var(--tx)
}

.about-text mark {
  color: inherit;
  font-weight: 800;
  background: linear-gradient(transparent 60%, rgba(61, 139, 255, .32) 60%);
  padding: 0 3px
}

.about-text .btn {
  margin-top: 8px
}

.about-art svg {
  display: block;
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
  overflow: visible
}

.about-art * {
  transform-box: fill-box;
  transform-origin: center
}

.fl1 {
  animation: float 7s ease-in-out infinite
}

.fl2 {
  animation: float 5s ease-in-out -2s infinite
}

.draw {
  stroke-dasharray: 640;
  animation: draw 4.500s ease-in-out infinite alternate
}

@keyframes draw {
  from {
    stroke-dashoffset: 640
  }

  to {
    stroke-dashoffset: 0
  }
}

.pal circle {
  animation: bob 3s ease-in-out infinite;
  animation-delay: calc(var(--k)*.3s)
}

@keyframes bob {
  50% {
    transform: translateY(-8px)
  }
}

.spk {
  animation: twinkle 3s ease-in-out infinite
}

@media(max-width:820px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 20px
  }

  .about-art {
    order: -1
  }

  .about-art svg {
    max-width: 340px
  }

  .hero {
    padding-top: 104px;
    padding-inline: var(--gut)
  }

  .section {
    padding-inline: var(--gut)
  }

  .about-card {
    display: block
  }

  .panel {
    padding: 18px 20px
  }

  .contact {
    padding: 24px 20px
  }
}

@media(max-width:420px) {
  .links a {
    padding: 6px 5px;
    font-size: .68rem
  }

  .nav {
    padding: 5px 6px;
    gap: 3px
  }

  .theme {
    width: 32px;
    height: 32px
  }

  .brand img {
    width: 32px
  }
}

@media(max-width:380px) {
  .links a {
    padding: 6px 4px;
    font-size: .64rem
  }

  .links {
    padding-inline: 2px
  }
}

/* ===== v8 ===== */
:root {
  --act-bg: rgba(47, 123, 255, .16);
  --act-tx: var(--ac-t);
  --act-sh: none
}

[data-theme=dark] {
  --act-bg: linear-gradient(135deg, var(--ac), var(--deep));
  --act-tx: #fff;
  --act-sh: 0 6px 18px rgba(47, 123, 255, .45)
}

.ind {
  background: var(--act-bg);
  box-shadow: var(--act-sh)
}

.links a.active {
  color: var(--act-tx)
}

.links a.active::after {
  background: var(--act-tx)
}

.lead {
  margin-top: 14px
}

.btn.primary {
  border: 0
}

[data-theme=light] .panel,
[data-theme=light] .contact,
[data-theme=light] .btn.ghost,
[data-theme=light] .filters button,
[data-theme=light] .work,
[data-theme=light] .badge,
[data-theme=light] .down,
[data-theme=light] .sc {
  border-color: transparent
}

[data-theme=light] .btn.ghost {
  box-shadow: 0 6px 18px rgba(40, 90, 200, .12)
}

.soft li {
  border: 0;
  cursor: default
}

.soft li:hover {
  background: rgba(47, 123, 255, .1);
  color: inherit;
  transform: none
}

.soft.alt li:hover {
  background: rgba(92, 194, 255, .14)
}

main {
  padding-bottom: 24px
}

/* about decor */
.about-art {
  position: relative;
  padding: 24px 0
}

.sc {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--r);
  background: var(--card);
  border: 1px solid var(--bd);
  color: var(--ac-t);
  backdrop-filter: blur(10px);
  box-shadow: var(--sh);
  animation: float 5s ease-in-out infinite
}

.sc svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.900;
  stroke-linecap: round;
  stroke-linejoin: round
}

.sc.s1 {
  left: 6%;
  top: 0
}

.sc.s2 {
  right: 10%;
  top: -4px;
  animation-delay: -1s
}

.sc.s3 {
  left: -6px;
  top: 52%;
  animation-delay: -2s
}

.sc.s4 {
  right: -6px;
  top: 40%;
  animation-delay: -3s
}

.sc.s5 {
  left: 46%;
  bottom: -2px;
  animation-delay: -1.500s
}

.about-art text {
  direction: ltr;
  unicode-bidi: plaintext
}

.fl3 {
  animation: float 6s ease-in-out -3s infinite
}

.ants {
  animation: ants 1.200s linear infinite
}

@keyframes ants {
  to {
    stroke-dashoffset: -18
  }
}

.draw2 {
  stroke-dasharray: 200;
  animation: draw2 3.500s ease-in-out infinite alternate
}

@keyframes draw2 {
  from {
    stroke-dashoffset: 200
  }

  to {
    stroke-dashoffset: 0
  }
}

/* burger */
.burger {
  display: none;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: var(--r);
  border: 1px solid var(--bd);
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 2
}

.burger span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  border-radius: 2px;
  background: var(--ac-t);
  transition: transform .45s var(--ease), opacity .3s, top .45s var(--ease)
}

.burger span:nth-child(1) {
  top: 12px
}

.burger span:nth-child(2) {
  top: 18px
}

.burger span:nth-child(3) {
  top: 24px
}

.nav.open .burger span:nth-child(1) {
  top: 18px;
  transform: rotate(45deg)
}

.nav.open .burger span:nth-child(2) {
  opacity: 0;
  transform: scaleX(.2)
}

.nav.open .burger span:nth-child(3) {
  top: 18px;
  transform: rotate(-45deg)
}

@media(max-width:820px) {
  .hero-art {
    width: min(100%, 380px);
    margin-inline: auto
  }

  .hero-art>img {
    width: 88%
  }

  .about-text {
    order: 0
  }

  .about-art {
    order: 0
  }
}

@media(max-width:720px) {
  .burger {
    display: block
  }

  .theme {
    margin-inline-start: auto
  }

  .ind {
    display: none
  }

  .links {
    position: absolute;
    top: calc(100% + 8px);
    inset-inline: 0;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 10px;
    overflow: visible;
    mask-image: none;
    border-radius: var(--r);
    background: var(--card);
    backdrop-filter: blur(22px) saturate(160%);
    box-shadow: var(--sh);
    border: 1px solid var(--bd);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px) scale(.98);
    transform-origin: top;
    transition: opacity .35s, transform .45s var(--ease), visibility .35s;
    z-index: 1
  }

  [data-theme=light] .links {
    background: rgba(255, 255, 255, .94)
  }

  [data-theme=dark] .links {
    background: rgba(8, 20, 50, .94)
  }

  .nav.open .links {
    opacity: 1;
    visibility: visible;
    transform: none
  }

  .links a {
    padding: 12px 16px;
    font-size: .98rem;
    font-weight: 600;
    border-radius: var(--r);
    transform: none
  }

  .links a:hover {
    transform: translateX(-4px)
  }

  .links a.active {
    background: var(--act-bg);
    box-shadow: none
  }

  .links a.active::after {
    display: none
  }

  .nav.open .links a {
    animation: itemIn .45s var(--ease) both
  }

  .links li:nth-child(2) a {
    animation-delay: .05s
  }

  .links li:nth-child(3) a {
    animation-delay: .1s
  }

  .links li:nth-child(4) a {
    animation-delay: .15s
  }

  .links li:nth-child(5) a {
    animation-delay: .2s
  }

  .brand img {
    width: 38px
  }

  .nav {
    padding: 6px 10px;
    gap: 8px
  }

  .theme {
    width: 38px;
    height: 38px
  }
}

@keyframes itemIn {
  from {
    opacity: 0;
    transform: translateX(24px)
  }
}