@import url("https://api.fontshare.com/v2/css?f[]=satoshi@400,500,700,900&display=swap");

:root {
  --bg: #08090b;
  --panel: #141519;
  --line: rgba(255, 255, 255, 0.055);
  --muted: rgba(230, 230, 230, 0.48);
  --text: #e6e6e6;
  --blue: #194bfd;
  --violet: #ad13fb;
  --font: "Satoshi", "Inter", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
}

body {
  overflow-x: hidden;
}

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

.shell {
  width: 1116px;
  max-width: calc(100% - 48px);
  margin: 0 auto;
}

.header {
  position: relative;
  z-index: 10;
  height: 108px;
  background: #101113;
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
}

.topbar {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.socials {
  display: flex;
  gap: 13px;
}

.socials a {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #18191d;
  color: #f7f7f7;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.youtube-icon {
  width: 14px;
  height: 10px;
  display: block;
  border: 1.8px solid #e6e6e6;
  border-radius: 4px;
  position: relative;
}

.youtube-icon::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  border-left: 4px solid #e6e6e6;
  border-top: 2.5px solid transparent;
  border-bottom: 2.5px solid transparent;
}

.contact-strip {
  display: flex;
  gap: 38px;
  color: rgba(230, 230, 230, 0.46);
  font-size: 16px;
  font-weight: 500;
}

.contact-item {
  position: relative;
  padding-left: 29px;
  white-space: nowrap;
}

.contact-item::before {
  position: absolute;
  left: 0;
  top: -1px;
  color: rgba(230, 230, 230, 0.48);
  font-size: 18px;
  font-weight: 900;
}

.phone::before {
  content: "☎";
}

.mail::before {
  content: "➤";
}

.pin::before {
  content: "●";
  font-size: 16px;
}

.nav {
  height: 68px;
  display: flex;
  align-items: center;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 1px;
}

.logo-mark {
  width: 21px;
  height: 21px;
  display: inline-block;
  border: 2px solid var(--blue);
  border-radius: 50%;
  position: relative;
}

.logo-mark::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 3px;
  width: 2px;
  height: 12px;
  background: var(--blue);
}

.logo-mark::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(45deg);
}

.nav-links {
  margin-left: 245px;
  display: flex;
  gap: 39px;
  align-items: center;
  color: rgba(230, 230, 230, 0.48);
  font-size: 15px;
  font-weight: 700;
}

.nav-links .active {
  color: #e6e6e6;
}

.header-cta {
  margin-left: auto;
  min-width: 164px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 28px;
  background: linear-gradient(90deg, #204bff 0%, #a722fb 100%);
  color: white;
  font-size: 15px;
  font-weight: 700;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: #17181c;
  padding: 0;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 99px;
  background: #e6e6e6;
}

.hero {
  position: relative;
  min-height: 704px;
  overflow: hidden;
  background: #090a0c;
}

.hero-grid {
  position: absolute;
  inset: 0 0 auto 0;
  height: 704px;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.5;
}

.hero-panel {
  position: relative;
  height: 704px;
}

.panel-frame {
  position: absolute;
  left: 39px;
  right: 0;
  top: 294px;
  height: 340px;
  border: 1px solid rgba(255, 255, 255, 0.055);
}

.panel-frame::before {
  content: "";
  position: absolute;
  left: 55px;
  right: 28px;
  top: -40px;
  height: 344px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    #141519;
  opacity: 0.84;
}

.hero-copy {
  position: absolute;
  left: 83px;
  top: 148px;
  z-index: 4;
  width: 620px;
}

.hero-copy h1 {
  margin: 0;
  color: #e6e6e6;
  font-size: 58px;
  line-height: 1.13;
  font-weight: 400;
  letter-spacing: 0;
}

.hero-copy h1 strong {
  display: inline-block;
  margin-top: 6px;
  color: var(--blue);
  font-size: 57px;
  line-height: 1;
  font-weight: 900;
}

.hero-copy p {
  width: 635px;
  margin: 36px 0 0;
  color: rgba(230, 230, 230, 0.46);
  font-size: 16px;
  line-height: 1.46;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 54px;
}

.primary-btn {
  width: 164px;
  height: 41px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  background: linear-gradient(90deg, #204bff 0%, #a722fb 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.portfolio-link {
  height: 41px;
  display: inline-flex;
  align-items: center;
  gap: 31px;
  color: #e6e6e6;
  font-size: 15px;
  font-weight: 700;
}

.arrow-line {
  width: 44px;
  height: 2px;
  display: inline-block;
  background: #e6e6e6;
  position: relative;
}

.arrow-line::before,
.arrow-line::after {
  content: "";
  position: absolute;
  right: -2px;
  width: 13px;
  height: 2px;
  background: #e6e6e6;
  transform-origin: right center;
}

.arrow-line::before {
  transform: rotate(38deg);
}

.arrow-line::after {
  transform: rotate(-38deg);
}

.person-wrap {
  position: absolute;
  right: 52px;
  top: 119px;
  z-index: 5;
  width: 447px;
  height: 486px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
}

.person-wrap img {
  width: 450px;
  max-width: none;
  filter: grayscale(1) contrast(1.02) brightness(0.72);
}

.top-orb {
  position: absolute;
  left: 786px;
  top: 47px;
}

.lower-orb {
  position: absolute;
  left: 578px;
  top: 426px;
  z-index: 7;
  background:
    repeating-linear-gradient(135deg, var(--violet) 0 4px, transparent 4px 9px),
    #1a1023;
}

.stripe-orb {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.12) 0 4px, transparent 4px 10px);
}

.star {
  position: absolute;
  right: 193px;
  top: 124px;
  width: 61px;
  height: 61px;
  background: linear-gradient(135deg, #204bff 0%, #8f24ff 100%);
  clip-path: polygon(50% 0, 63% 36%, 100% 50%, 63% 64%, 50% 100%, 37% 64%, 0 50%, 37% 36%);
}

.skill-badge {
  position: absolute;
  right: 74px;
  top: 338px;
  z-index: 8;
  width: 132px;
  height: 132px;
  border: 1.4px solid var(--violet);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(10, 10, 12, 0.45);
}

.skill-badge span {
  position: absolute;
  inset: 13px;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 10px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
}

.skill-badge i {
  width: 47px;
  height: 47px;
  display: block;
  background: #fff;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}

.skill-badge::after {
  content: "";
  position: absolute;
  bottom: 19px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--violet);
}

@media (max-width: 900px) {
  body {
    background: #090a0c;
  }

  .header {
    height: auto;
    background: rgba(16, 17, 19, 0.96);
    backdrop-filter: blur(18px);
  }

  .topbar,
  .nav {
    height: auto;
    min-height: 58px;
    flex-wrap: wrap;
    gap: 18px;
    padding: 12px 0;
  }

  .contact-strip {
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    margin-left: 0;
    justify-content: space-between;
    gap: 12px;
    overflow-x: auto;
  }

  .header-cta {
    margin-left: auto;
  }

  .hero,
  .hero-panel,
  .hero-grid {
    min-height: 780px;
    height: 780px;
  }

  .hero-copy {
    left: 24px;
    top: 72px;
    width: calc(100% - 48px);
  }

  .hero-copy h1,
  .hero-copy h1 strong {
    font-size: clamp(42px, 11vw, 58px);
  }

  .hero-copy p {
    width: min(620px, 100%);
  }

  .panel-frame {
    left: 24px;
    right: 24px;
    top: 310px;
  }

  .person-wrap {
    right: -18px;
    top: 320px;
    width: 380px;
  }

  .person-wrap img {
    width: 390px;
  }

  .skill-badge {
    right: 28px;
    top: 450px;
  }

  .top-orb,
  .star {
    display: none;
  }
}

@media (max-width: 560px) {
  .shell {
    max-width: calc(100% - 28px);
  }

  .header {
    position: sticky;
    top: 0;
  }

  .topbar {
    min-height: 48px;
    align-items: center;
    padding: 10px 0 4px;
  }

  .socials {
    gap: 10px;
  }

  .socials a {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .contact-strip {
    width: auto;
    margin-left: auto;
    justify-content: flex-end;
    gap: 0;
    font-size: 0;
  }

  .contact-item {
    display: none;
  }

  .contact-item.mail {
    display: inline-block;
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 50%;
    background: #18191d;
  }

  .contact-item.mail::before {
    left: 9px;
    top: 5px;
    font-size: 16px;
  }

  .nav {
    min-height: 64px;
    padding: 8px 0 14px;
    gap: 0;
    justify-content: space-between;
  }

  .logo {
    font-size: 20px;
  }

  .menu-button {
    display: block;
  }

  .header-cta,
  .nav-links {
    display: none;
  }

  .hero,
  .hero-panel,
  .hero-grid {
    min-height: calc(100svh - 126px);
    height: auto;
  }

  .hero {
    overflow: hidden;
    padding-bottom: 24px;
  }

  .hero-grid {
    inset: 0;
    background-size: 56px 56px;
  }

  .hero-panel {
    min-height: 718px;
    padding-top: 34px;
  }

  .panel-frame {
    left: 14px;
    right: 14px;
    top: 284px;
    height: 396px;
    border-radius: 2px;
  }

  .panel-frame::before {
    left: 18px;
    right: 18px;
    top: -34px;
    height: 390px;
  }

  .hero-copy {
    position: relative;
    left: auto;
    top: auto;
    z-index: 8;
    width: 100%;
    padding: 0 24px;
  }

  .hero-copy h1 {
    font-size: clamp(44px, 13vw, 58px);
    line-height: 1.08;
  }

  .hero-copy h1 strong {
    margin-top: 6px;
    font-size: clamp(45px, 13vw, 58px);
    line-height: 0.95;
  }

  .hero-copy p {
    width: 100%;
    margin-top: 28px;
    font-size: 16px;
    line-height: 1.5;
    color: rgba(230, 230, 230, 0.54);
  }

  .hero-actions {
    gap: 14px;
    margin-top: 30px;
    flex-wrap: wrap;
  }

  .primary-btn {
    width: auto;
    min-width: 166px;
    height: 48px;
    padding: 0 22px;
    border-radius: 999px;
  }

  .portfolio-link {
    height: 48px;
    padding: 0 10px;
    gap: 18px;
  }

  .arrow-line {
    width: 40px;
  }

  .person-wrap {
    right: 50%;
    top: 488px;
    transform: translateX(50%);
    z-index: 6;
    width: 330px;
    height: 260px;
  }

  .person-wrap img {
    width: 330px;
    filter: grayscale(1) contrast(1.02) brightness(0.68);
  }

  .skill-badge {
    display: grid;
    right: 18px;
    top: 420px;
    width: 96px;
    height: 96px;
  }

  .skill-badge span {
    inset: 10px;
    font-size: 7px;
    letter-spacing: 3px;
  }

  .skill-badge i {
    width: 32px;
    height: 32px;
  }

  .lower-orb {
    display: block;
    left: 28px;
    top: 526px;
    width: 48px;
    height: 48px;
  }

  .top-orb,
  .star {
    display: none;
  }
}

@media (max-width: 390px) {
  .hero-copy {
    padding: 0 18px;
  }

  .hero-copy h1,
  .hero-copy h1 strong {
    font-size: 43px;
  }

  .hero-copy p {
    font-size: 15px;
  }

  .primary-btn {
    min-width: 154px;
    padding: 0 18px;
  }

  .portfolio-link {
    font-size: 14px;
  }
}
