:root {
  --background: #07080d;
  --background-soft: #0d1018;
  --card: rgba(18, 22, 34, 0.82);
  --card-solid: #111622;
  --text: #f5f7ff;
  --text-muted: #aab1c5;
  --border: rgba(255, 255, 255, 0.1);
  --cyan: #46d9ff;
  --purple: #9d6cff;
  --green: #7fe8a6;
  --max-width: 1180px;
  --header-height: 78px;
}

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

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--background);
  color: var(--text);
  font-family: "Inter", sans-serif;
  line-height: 1.7;
}

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


button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.hero-grid > *,
.about-grid > *,
.skills-grid > *,
.projects-grid > *,
.contact-grid > *,
.screenshot-grid > * {
  min-width: 0;
}

.hero-content,
.hero-visual,
.hero-actions,
.code-card,
.project-card,
.contact-form,
.about-content {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

img,
video,
iframe {
  max-width: 100%;
}

.section {
  position: relative;
  padding: 110px 0;
  scroll-margin-top: var(--header-height);
}

.section-alt {
  background: rgba(255, 255, 255, 0.018);
  border-block: 1px solid var(--border);
}

.background-glow {
  position: fixed;
  z-index: -1;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.16;
  pointer-events: none;
}

.background-glow-one {
  top: -120px;
  right: -120px;
  background: var(--purple);
}

.background-glow-two {
  bottom: -160px;
  left: -120px;
  background: var(--cyan);
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  background: rgba(7, 8, 13, 0.78);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
  background: rgba(7, 8, 13, 0.94);
  border-color: var(--border);
}

.navbar {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.logo span,
.section-heading span,
.hero-content h1 span {
  color: var(--cyan);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  position: relative;
  color: var(--text-muted);
  font-size: 0.94rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a::after {
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  content: "";
  transition: width 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta {
  min-height: 42px;
  padding: 0 20px;
  border: 1px solid rgba(70, 217, 255, 0.5);
  color: var(--cyan);
  font-size: 0.9rem;
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: transparent;
}

.menu-button span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 70px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  align-items: center;
  gap: 70px;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-content h1,
.section-heading h2,
.contact-copy h2 {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.hero-content h1 {
  max-width: 720px;
  font-size: clamp(3.5rem, 8vw, 6.5rem);
}

.hero-content h2 {
  margin-top: 12px;
  color: #d8dcff;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 600;
}

.hero-description {
  max-width: 650px;
  margin-top: 24px;
  color: var(--text-muted);
  font-size: 1.06rem;
}

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

.button {
  min-width: 164px;
  padding: 0 24px;
  border: 1px solid transparent;
}

.button-primary {
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: #06070b;
  box-shadow: 0 12px 34px rgba(70, 217, 255, 0.18);
}

.button-secondary {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.035);
}

.button-secondary:hover {
  border-color: rgba(70, 217, 255, 0.55);
}

.hero-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 28px;
}

.hero-socials a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.hero-socials a:hover {
  color: var(--cyan);
}

.code-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(70, 217, 255, 0.2);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(17, 22, 34, 0.95), rgba(10, 12, 20, 0.92));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.35), 0 0 70px rgba(157, 108, 255, 0.08);
  transform: rotate(1.5deg);
}

.code-card::after {
  position: absolute;
  inset: auto -90px -100px auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(70, 217, 255, 0.08);
  content: "";
  filter: blur(20px);
}

.code-card-top {
  display: flex;
  gap: 8px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
}

.code-card-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.code-card pre {
  overflow-x: auto;
  padding: 34px;
  color: #dce3f5;
  font-size: clamp(0.82rem, 1.3vw, 1rem);
  line-height: 2;
}

.code-purple {
  color: #cf9cff;
}

.code-green {
  color: var(--green);
}

.code-blue {
  color: var(--cyan);
}

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

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.contact-copy h2 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 70px;
}

.about-photo {
  position: relative;
}

.about-photo::before {
  position: absolute;
  inset: -18px 18px 18px -18px;
  z-index: -1;
  border: 1px solid rgba(70, 217, 255, 0.35);
  border-radius: 24px;
  content: "";
}

.photo-placeholder {
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(70, 217, 255, 0.09), rgba(157, 108, 255, 0.09)),
    var(--card-solid);
  color: var(--text-muted);
  font-weight: 700;
}

.photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content h3 {
  max-width: 700px;
  margin-bottom: 20px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.25;
}

.about-content p {
  margin-top: 16px;
  color: var(--text-muted);
}

.about-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin-top: 30px;
}

.about-details div {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--text-muted);
  font-size: 0.92rem;
}

.about-details span {
  color: var(--text);
  font-weight: 700;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.skill-card {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--card);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.skill-card:hover {
  transform: translateY(-6px);
  border-color: rgba(70, 217, 255, 0.35);
}

.skill-number {
  color: var(--purple);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
}

.skill-card h3 {
  margin-top: 38px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
}

.skill-card p {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

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

.project-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--card);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.project-card:hover {
  transform: translateY(-7px);
  border-color: rgba(157, 108, 255, 0.42);
}

.project-image {
  min-height: 250px;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--border);
  background-color: #101522;
  color: rgba(255, 255, 255, 0.65);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.project-image-chat {
  background-image: radial-gradient(circle at 20% 20%, rgba(70, 217, 255, 0.25), transparent 38%),
    radial-gradient(circle at 80% 70%, rgba(157, 108, 255, 0.28), transparent 42%);
}

.project-image-shop {
  background-image: linear-gradient(135deg, rgba(157, 108, 255, 0.22), transparent 50%),
    linear-gradient(25deg, rgba(70, 217, 255, 0.12), transparent 55%);
}

.project-image-prison {
  background-image: linear-gradient(145deg, rgba(70, 217, 255, 0.12), transparent 55%),
    radial-gradient(circle at 75% 30%, rgba(127, 232, 166, 0.15), transparent 36%);
}

.project-image-business {
  background-image: radial-gradient(circle at 50% 100%, rgba(157, 108, 255, 0.24), transparent 46%),
    linear-gradient(120deg, rgba(70, 217, 255, 0.14), transparent 50%);
}

.project-content {
  padding: 28px;
}

.project-type {
  color: var(--cyan);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-content h3 {
  margin-top: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.7rem;
}

.project-content > p:not(.project-type) {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.project-tags span {
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: #cbd1e2;
  font-size: 0.76rem;
  font-weight: 600;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 24px;
}

.project-links a {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
}

.project-links a:hover {
  color: var(--cyan);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 70px;
}

.contact-copy p:not(.eyebrow) {
  max-width: 590px;
  margin-top: 22px;
  color: var(--text-muted);
}

.contact-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 30px;
}

.contact-details a,
.contact-details span {
  color: #d7dcec;
  font-weight: 600;
}

.contact-details a:hover {
  color: var(--cyan);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--card);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #dce1ee;
  font-size: 0.87rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  outline: none;
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input {
  min-height: 50px;
  padding: 0 15px;
}

.contact-form textarea {
  resize: vertical;
  padding: 14px 15px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(70, 217, 255, 0.65);
  box-shadow: 0 0 0 4px rgba(70, 217, 255, 0.08);
}

.contact-form .button {
  width: fit-content;
  margin-top: 4px;
}

.form-status {
  min-height: 22px;
  color: var(--cyan);
  font-size: 0.88rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #080a10;
}

.footer-content {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-content p,
.footer-content > a:last-child {
  color: var(--text-muted);
  font-size: 0.88rem;
}

@media (max-width: 980px) {
  .nav-cta {
    display: none;
  }

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

  .hero-grid {
    gap: 55px;
  }

  .hero-visual {
    max-width: 650px;
  }

  .about-photo {
    max-width: 430px;
  }

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

  .contact-grid {
    gap: 45px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 70px;
  }

  .container {
    width: min(calc(100% - 30px), var(--max-width));
  }

  .section {
    padding: 82px 0;
  }

  .menu-button {
    display: block;
  }

  .menu-button.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-button.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-button.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-links {
    position: absolute;
    top: var(--header-height);
    left: 15px;
    right: 15px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(10, 12, 19, 0.98);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 13px 12px;
  }

  .nav-links a::after {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 135px;
  }

  .hero-content h1 {
    font-size: clamp(3.2rem, 17vw, 5.2rem);
  }

  .code-card {
    transform: none;
  }

  .code-card pre {
    padding: 26px 20px;
  }

  .about-details,
  .skills-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-image {
    min-height: 220px;
  }

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

  .contact-form {
    padding: 22px;
  }

  .footer-content {
    flex-direction: column;
    justify-content: center;
    padding: 28px 0;
    text-align: center;
  }

  .about-photo::before {
    inset: -10px 10px 10px 0;
  }

  .contact-details a,
  .about-details div {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .project-content {
    padding: 22px;
  }
}

@media (max-width: 470px) {
  .hero-actions {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .hero-actions .button {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-socials {
    gap: 14px;
  }

  .hero-socials a {
    font-size: 0.84rem;
  }

  .hero-content h1 {
    font-size: clamp(2.7rem, 14vw, 4rem);
  }

  .hero-content h2 {
    font-size: 1.1rem;
  }

  .hero-description {
    font-size: 0.94rem;
  }

  .code-card {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .code-card pre {
    width: 100%;
    max-width: 100%;
    padding: 20px 14px;
    overflow-x: auto;
    font-size: 0.7rem;
  }
}


/* Project gallery page */
.gallery-main { padding-top: var(--header-height); }
.gallery-hero { padding-bottom: 70px; }
.gallery-hero h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(3rem, 7vw, 5.8rem);
  letter-spacing: -0.05em;
  line-height: 1.05;
}
.gallery-hero h1 span { color: var(--cyan); }
.gallery-hero p:last-child { max-width: 720px; margin-top: 22px; color: var(--text-muted); }
.gallery-back { min-width: auto; min-height: 42px; padding: 0 18px; }
.project-showcase { padding-top: 80px; }
.showcase-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.showcase-heading h2 { margin-top: 8px; font-family: "Space Grotesk", sans-serif; font-size: clamp(2.2rem, 5vw, 3.7rem); }
.showcase-description { max-width: 760px; margin-top: 18px; color: var(--text-muted); }
.screenshot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 38px; }
.screenshot-grid-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.screenshot-card { overflow: hidden; padding: 0; border: 1px solid var(--border); border-radius: 18px; background: var(--card); color: var(--text); text-align: left; transition: transform .25s ease, border-color .25s ease; }
.screenshot-card:hover { transform: translateY(-6px); border-color: rgba(70,217,255,.4); }
.screenshot-card p { padding: 15px 17px 17px; font-weight: 700; }
.screenshot-placeholder { aspect-ratio: 9/16; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; padding: 20px; border-bottom: 1px solid var(--border); background: radial-gradient(circle at 20% 20%, rgba(70,217,255,.18), transparent 42%), radial-gradient(circle at 80% 75%, rgba(157,108,255,.22), transparent 44%), #101522; color: #dce3f5; text-align: center; }
.screenshot-placeholder.wide { aspect-ratio: 16/10; }
.screenshot-placeholder span { font-family: "Space Grotesk", sans-serif; font-weight: 700; }
.screenshot-placeholder small { color: var(--text-muted); font-size: .7rem; }
.screenshot-card img { width: 100%; display: block; border-bottom: 1px solid var(--border); object-fit: cover; }
.lightbox { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; padding: 28px; background: rgba(2,3,7,.92); backdrop-filter: blur(12px); }
.lightbox.open { display: flex; }
.lightbox-content { max-width: min(1100px, 92vw); max-height: 90vh; text-align: center; }
.lightbox-content img { max-width: 100%; max-height: 82vh; border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 30px 90px rgba(0,0,0,.55); }
.lightbox-content p { margin-top: 12px; color: #dce3f5; font-weight: 600; }
.lightbox-close { position: fixed; top: 18px; right: 22px; width: 46px; height: 46px; border: 1px solid var(--border); border-radius: 50%; background: rgba(255,255,255,.06); color: white; font-size: 1.8rem; }

.screenshot-preview {
  width: 100%;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
}

.screenshot-preview img {
  width: 100%;
  display: block;
  border-bottom: 1px solid var(--border);
  object-fit: cover;
}

.screenshot-card-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px 18px;
}

.screenshot-card-content p {
  padding: 0;
  margin: 0;
  font-weight: 700;
}

.visit-website-btn {
  display: inline-flex;
  min-height: 42px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(70, 217, 255, 0.45);
  border-radius: 10px;
  background: linear-gradient(
    135deg,
    rgba(70, 217, 255, 0.14),
    rgba(157, 108, 255, 0.14)
  );
  color: var(--cyan);
  font-size: 0.84rem;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.visit-website-btn:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
  background: linear-gradient(
    135deg,
    rgba(70, 217, 255, 0.24),
    rgba(157, 108, 255, 0.24)
  );
  color: var(--text);
}

@media (max-width: 520px) {
  .screenshot-card-content {
    flex-direction: column;
    align-items: stretch;
  }

  .visit-website-btn {
    width: 100%;
  }
}

@media (max-width: 980px) { 

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

}

@media (max-width: 650px) { 

  .showcase-heading { 
    align-items: flex-start; 
    flex-direction: column; 
  } 
  .screenshot-grid, .screenshot-grid-wide { 
    grid-template-columns: 1fr; 
  } 
  .gallery-back { 
    font-size: .82rem; 
    padding: 0 12px; 
  } 

}

/* =========================================================
   Portfolio content and usability improvements
   ========================================================= */

:focus-visible {
  outline: 3px solid rgba(70, 217, 255, 0.75);
  outline-offset: 4px;
}

.hero-tech-list {
  margin-top: 18px;
  color: #d7dcec;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.015em;
}

.current-project-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(70, 217, 255, 0.22);
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 10%, rgba(157, 108, 255, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(17, 22, 34, 0.96), rgba(10, 12, 20, 0.94));
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.35),
    0 0 70px rgba(157, 108, 255, 0.08);
}

.current-project-card::after {
  position: absolute;
  right: -90px;
  bottom: -110px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(70, 217, 255, 0.08);
  content: "";
  filter: blur(24px);
  pointer-events: none;
}

.current-project-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
}

.current-project-top > p {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
}

.project-status > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 5px rgba(127, 232, 166, 0.09);
}

.current-project-body {
  position: relative;
  z-index: 1;
  padding: 34px;
}

.current-project-body h3 {
  margin-top: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.current-project-body > p:not(.project-type) {
  margin-top: 18px;
  color: var(--text-muted);
}

.current-project-features {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  list-style: none;
}

.current-project-features li {
  position: relative;
  padding-left: 22px;
  color: #dce1ee;
  font-size: 0.92rem;
}

.current-project-features li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  content: "";
  transform: translateY(-50%);
}

.current-project-body > a {
  display: inline-flex;
  margin-top: 28px;
  color: var(--cyan);
  font-size: 0.92rem;
  font-weight: 700;
}

.current-project-body > a:hover {
  color: var(--text);
}

.project-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.project-content {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.project-content .project-tags {
  margin-top: auto;
  padding-top: 22px;
}

.project-content .project-links {
  margin-top: 22px;
}

.project-note {
  padding: 13px 15px;
  border-left: 3px solid var(--purple);
  border-radius: 0 10px 10px 0;
  background: rgba(157, 108, 255, 0.07);
  color: #cbd1e2 !important;
  font-size: 0.88rem !important;
}

.project-note strong {
  color: var(--text);
}

.project-image-bakery {
  background-image:
    radial-gradient(circle at 22% 28%, rgba(255, 197, 112, 0.22), transparent 38%),
    linear-gradient(140deg, rgba(157, 108, 255, 0.15), transparent 58%);
}

.project-image-detailing {
  background-image:
    radial-gradient(circle at 75% 25%, rgba(70, 217, 255, 0.22), transparent 38%),
    linear-gradient(25deg, rgba(255, 255, 255, 0.05), transparent 56%);
}

.project-image-barber {
  background-image:
    radial-gradient(circle at 50% 100%, rgba(157, 108, 255, 0.22), transparent 44%),
    linear-gradient(135deg, rgba(70, 217, 255, 0.1), transparent 52%);
}

/* Project case-study blocks */
.project-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.project-story {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}

.project-story h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
}

.project-story p,
.project-story li {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.project-story p {
  margin-top: 12px;
}

.project-story ul {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding-left: 19px;
}

.showcase-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.showcase-actions + .screenshot-grid {
  margin-top: 28px;
}

.screenshot-card {
  cursor: zoom-in;
}

/* Scroll reveal animation.
   Content stays visible if JavaScript is unavailable. */
.js-enabled .reveal,
.js-enabled .reveal-left,
.js-enabled .reveal-right {
  opacity: 0;
  transition:
    opacity 0.7s ease var(--reveal-delay, 0s),
    translate 0.7s cubic-bezier(0.2, 0.75, 0.25, 1) var(--reveal-delay, 0s),
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
  will-change: opacity, translate;
}

.js-enabled .reveal {
  translate: 0 28px;
}

.js-enabled .reveal-left {
  translate: -32px 0;
}

.js-enabled .reveal-right {
  translate: 32px 0;
}

.js-enabled .reveal.is-visible,
.js-enabled .reveal-left.is-visible,
.js-enabled .reveal-right.is-visible {
  opacity: 1;
  translate: 0 0;
  will-change: auto;
}

.delay-1 {
  --reveal-delay: 0.06s;
}

.delay-2 {
  --reveal-delay: 0.12s;
}

.delay-3 {
  --reveal-delay: 0.18s;
}

.delay-4 {
  --reveal-delay: 0.24s;
}

@media (max-width: 980px) {
  .current-project-card {
    max-width: 680px;
  }

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

@media (max-width: 760px) {
  .hero-tech-list {
    font-size: 0.84rem;
    line-height: 1.8;
  }

  .current-project-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .current-project-body {
    padding: 26px 22px;
  }

  .project-story {
    padding: 20px;
  }

  .js-enabled .reveal-left,
  .js-enabled .reveal-right {
    translate: 0 24px;
  }

  .delay-1,
  .delay-2,
  .delay-3,
  .delay-4 {
    --reveal-delay: 0s;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .js-enabled .reveal,
  .js-enabled .reveal-left,
  .js-enabled .reveal-right {
    opacity: 1;
    translate: 0 0;
  }
}


/* =========================================================
   Inline SVG icons and scan-friendly content
   ========================================================= */
.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.icon {
  width: 1.1em;
  height: 1.1em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button {
  gap: 10px;
}

.icon-link,
.hero-socials a,
.contact-details a,
.contact-details > div {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.icon-link .icon,
.hero-socials .icon,
.contact-details .icon {
  color: var(--cyan);
}

.hero-socials a {
  transition: color 0.2s ease, transform 0.2s ease;
}

.hero-socials a:hover {
  transform: translateY(-2px);
}

.current-project-features li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-left: 0;
}

.current-project-features li::before {
  display: none;
}

.current-project-features .icon {
  width: 19px;
  height: 19px;
  color: var(--cyan);
}

.current-project-body > .icon-link {
  margin-top: 28px;
}

.about-detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-detail-item > .icon {
  width: 21px;
  height: 21px;
  color: var(--cyan);
}

.about-detail-item > span {
  display: grid;
  color: var(--text) !important;
  font-weight: 700;
  line-height: 1.35;
}

.about-detail-item small {
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.skill-card {
  min-height: 260px;
}

.skill-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.skill-icon {
  width: 46px;
  height: 46px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(70, 217, 255, 0.28);
  border-radius: 13px;
  background: rgba(70, 217, 255, 0.07);
  color: var(--cyan);
}

.skill-icon .icon {
  width: 23px;
  height: 23px;
}

.skill-card-header h3 {
  margin-top: 1px;
}

.skill-items {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 30px;
}

.skill-items span {
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: #d5daea;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
}

.project-image-label {
  display: grid;
  place-items: center;
  gap: 12px;
  text-align: center;
}

.project-image-label .icon {
  width: 38px;
  height: 38px;
  color: var(--cyan);
}

.project-feature-list {
  display: grid;
  gap: 9px;
  margin-top: 18px;
  list-style: none;
}

.project-feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d3d8e8;
  font-size: 0.88rem;
}

.project-feature-list .icon {
  width: 18px;
  height: 18px;
  color: var(--cyan);
}

.project-content .project-feature-list + .project-note {
  margin-top: 18px;
}

.project-links .icon-link {
  gap: 7px;
}

.project-links .icon {
  width: 17px;
  height: 17px;
}

.contact-details > div {
  color: #d7dcec;
  font-weight: 600;
}

.project-story-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.project-story-title .icon {
  width: 21px;
  height: 21px;
  color: var(--cyan);
}

.story-feature-list {
  display: grid !important;
  gap: 11px !important;
  padding-left: 0 !important;
  list-style: none;
}

.story-feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.story-feature-list .icon {
  width: 18px;
  height: 18px;
  color: var(--cyan);
}

.visit-website-btn {
  gap: 9px;
}

.visit-website-btn .icon {
  width: 17px;
  height: 17px;
}

.visit-website-btn .icon-end {
  width: 15px;
  height: 15px;
}

.screenshot-card > p {
  display: flex;
  align-items: center;
  gap: 9px;
}

.screenshot-card > p .icon {
  width: 17px;
  height: 17px;
  color: var(--cyan);
}

.footer-content .icon-link {
  gap: 7px;
}

@media (max-width: 760px) {
  .skill-card {
    min-height: auto;
  }

  .skill-items {
    margin-top: 24px;
  }

  .about-detail-item {
    min-height: 70px;
  }
}
