```css
/* =========================================================
   RESET & BASE
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;

  background: #0b0e17;
  color: #f4f6fc;

  font-family: Arial, sans-serif;
  line-height: 1.5;

  overflow-x: hidden;
}

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

a {
  color: inherit;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  min-height: clamp(500px, 42vw, 650px);

  background-image: url("../images/portfolio-background.png");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: relative;
  z-index: 2;

  width: min(1320px, 100%);
  margin: 0 auto;

  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;

  gap: 2rem;

  padding: 20px 6.5% 0;
}


/* Logo */

.site-logo {
  position: relative;

  display: block;

  width: 20px;
  height: 26px;
}

.logo-mark::before,
.logo-mark::after {
  position: absolute;

  display: block;

  background: #f4f6fc;

  content: "";
}

.logo-mark::before {
  top: 1px;
  left: 10px;

  width: 2px;
  height: 21px;

  transform: skew(-25deg);
}

.logo-mark::after {
  bottom: 2px;
  left: 1px;

  width: 12px;
  height: 2px;
}


/* Navigation */

.site-nav ul {
  display: flex;
  align-items: center;

  gap: clamp(1rem, 2.5vw, 2rem);

  margin: 0;
  padding: 0;

  list-style: none;
}

.site-nav a {
  position: relative;

  display: block;

  padding: 8px 0;

  color: #aab3c5;

  font-size: 0.8rem;
  text-decoration: none;

  transition:
    color 0.2s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #f4f6fc;
}

.site-nav a[aria-current="page"]::after {
  position: absolute;

  right: 0;
  bottom: 0;
  left: 0;

  height: 2px;

  background: linear-gradient(
    90deg,
    #a45cff,
    #48caff
  );

  content: "";
}


/* Header actions */

.header-actions {
  display: flex;
  align-items: center;

  gap: 1.4rem;
}

.theme-icon {
  color: #dce6f5;
  font-size: 1.1rem;
}

.header-cta {
  display: inline-flex;
  align-items: center;

  gap: 0.5rem;

  padding: 0.45rem 0.8rem;

  border: 1px solid #53617a;
  border-radius: 999px;

  color: #f4f6fc;

  font-size: 0.75rem;
  text-decoration: none;

  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.header-cta:hover {
  border-color: #8b74ff;
  background: rgba(139, 116, 255, 0.08);
}


/* =========================================================
   HERO CONTENT
   ========================================================= */

.hero-content {
  position: relative;
  z-index: 1;

  width: min(1320px, 100%);
  margin: 0 auto;

  padding: 70px 6.5% 5rem;
}

.hero-eyebrow {
  margin: 0 0 14px;

  color: #8e9bb1;

  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-eyebrow::before {
  display: inline-block;

  width: 24px;
  height: 1px;

  margin: 0 14px 3px 0;

  background: #43c5d7;

  content: "";
}

.hero-content h1 {
  max-width: 560px;

  margin: 0;

  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero-content h1 span {
  display: block;

  color: #8c8dff;
}

.hero-description {
  max-width: 430px;

  margin: 22px 0;

  color: #aab3c5;

  font-size: 0.85rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;

  flex-wrap: wrap;

  gap: 20px;

  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;

  gap: 10px;

  color: #e7ebf4;

  font-size: 0.78rem;

  text-decoration: none;

  transition:
    transform 0.2s ease,
    color 0.2s ease;
}

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

.button-primary {
  padding: 10px 15px;

  border: 1px solid #766cff;
  border-radius: 999px;
}

.button-secondary {
  color: #b8c1d1;
}

.hero-side-note {
  position: absolute;

  top: 180px;
  right: 6.5%;

  margin: 0;
  padding-left: 12px;

  border-left: 1px solid #57647a;

  color: #aab3c5;

  font-size: 0.72rem;
  line-height: 1.5;
}


/* =========================================================
   LOWER PORTFOLIO
   ========================================================= */

.portfolio-lower {
  width: min(1320px, 100%);
  margin: 0 auto;

  padding: 70px 6.5% 80px;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 0;
}


/* =========================================================
   COMMON SECTION LABEL
   ========================================================= */

.section-label {
  margin: 0 0 20px;

  color: #78849a;

  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-label::before {
  display: inline-block;

  width: 24px;
  height: 1px;

  margin: 0 12px 3px 0;

  background: linear-gradient(
    90deg,
    #a45cff,
    #48caff
  );

  content: "";
}


/* =========================================================
   ABOUT
   ========================================================= */

.about-column {
  padding-right: 45px;

  border-right: 1px solid #1d2330;
}

.about-column h2 {
  max-width: 300px;

  margin: 0 0 18px;

  color: #f4f6fc;

  font-size: 1.7rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.about-column h2 span {
  display: block;
}

.about-description {
  max-width: 320px;

  margin: 0;

  color: #8f99ab;

  font-size: 0.75rem;
  line-height: 1.7;
}


/* Stats */

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 15px;

  margin-top: 35px;
}

.stat {
  padding-right: 12px;

  border-right: 1px solid #1d2330;
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;

  margin-bottom: 5px;

  color: #f4f6fc;

  font-size: 1.1rem;
  font-weight: 500;
}

.stat span {
  display: block;

  color: #687387;

  font-size: 0.58rem;
  line-height: 1.4;
}


/* =========================================================
   TECH STACK
   ========================================================= */

.tech-stack-column {
  padding: 0 45px;

  border-right: 1px solid #1d2330;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);

  gap: 28px 18px;

  margin-top: 5px;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 8px;

  color: #687387;

  font-size: 0.55rem;
  text-align: center;

  transition: color 0.2s ease;
}

.tech-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 28px;
  height: 28px;

  color: #b9c5d8;

  font-size: 0.8rem;
  font-weight: 500;

  transition: color 0.2s ease;
}

.tech-item:hover {
  color: #aab3c5;
}

.tech-item:hover .tech-icon {
  color: #8c8dff;
}


/* =========================================================
   PROJECTS
   ========================================================= */

.projects-column {
  padding-left: 45px;
}

.project-list {
  display: flex;
  flex-direction: column;

  gap: 10px;
}

.project-card {
  position: relative;

  display: grid;
  grid-template-columns: 75px minmax(0, 1fr) 20px;

  align-items: center;

  gap: 12px;

  padding: 8px;

  border: 1px solid #1d2330;
  border-radius: 8px;

  background: #090c13;

  color: inherit;

  text-decoration: none;

  transition:
    border-color 0.2s ease,
    transform 0.2s ease,
    background 0.2s ease;
}

.project-card:hover {
  border-color: #39445a;

  background: #0c101a;

  transform: translateY(-2px);
}

.project-image {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 75px;
  height: 52px;

  border-radius: 5px;

  background:
    linear-gradient(
      135deg,
      #111827,
      #17132b
    );

  color: #69758a;

  font-size: 0.55rem;
}

.project-info h3 {
  margin: 0 0 4px;

  color: #dfe4ee;

  font-size: 0.68rem;
  font-weight: 500;
}

.project-info p {
  margin: 0 0 5px;

  color: #707b8f;

  font-size: 0.52rem;
  line-height: 1.4;
}

.project-tech {
  color: #586478;

  font-size: 0.48rem;
}

.project-arrow {
  align-self: start;

  padding-top: 3px;

  color: #69758a;

  font-size: 0.75rem;

  transition: color 0.2s ease;
}

.project-card:hover .project-arrow {
  color: #8c8dff;
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.site-header a:focus-visible,
.hero-content a:focus-visible,
.project-card:focus-visible {
  outline: 2px solid #55c9ff;
  outline-offset: 4px;
}


/* =========================================================
   TABLET
   701px - 1100px
   ========================================================= */

@media (min-width: 701px) and (max-width: 1100px) {

  .hero {
    min-height: 600px;

    background-size: cover;
  }

  .site-header {
    grid-template-columns: 24px 1fr auto;

    gap: 1.2rem;

    padding-right: 5%;
    padding-left: 5%;
  }

  .site-nav ul {
    justify-content: center;

    gap: clamp(0.8rem, 2vw, 1.5rem);
  }

  .site-nav a {
    font-size: 0.72rem;
  }

  .header-actions {
    gap: 0.8rem;
  }

  .header-cta {
    padding: 0.4rem 0.65rem;
  }

  .hero-content {
    padding-right: 5%;
    padding-left: 5%;
    padding-top: 80px;
  }

  .hero-content h1 {
    max-width: 480px;

    font-size: clamp(2.8rem, 6vw, 4rem);
  }

  .hero-description {
    max-width: 390px;
  }

  .hero-side-note {
    right: 5%;
  }

  .portfolio-lower {
    grid-template-columns: 1fr 1fr;

    gap: 55px 0;

    padding-right: 5%;
    padding-left: 5%;
  }

  .about-column {
    padding-right: 35px;

    border-right: 1px solid #1d2330;
  }

  .tech-stack-column {
    padding: 0 0 0 35px;

    border-right: 0;
  }

  .projects-column {
    grid-column: 1 / -1;

    padding: 40px 0 0;

    border-top: 1px solid #1d2330;
  }

  .project-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 12px;
  }

}


/* =========================================================
   SMARTPHONE
   Up to 700px
   ========================================================= */

@media (max-width: 700px) {

  .hero {
    min-height: 700px;

    background-position: center top;
    background-size: auto 100%;
  }

  /* Header */

  .site-header {
    grid-template-columns: 24px 1fr auto;

    gap: 0.8rem;

    padding:
      16px 6.5% 0;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;

    width: 100%;

    margin-top: 10px;
  }

  .site-nav ul {
    justify-content: space-between;

    gap: 0.3rem;

    overflow-x: auto;

    scrollbar-width: none;
  }

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

  .site-nav a {
    padding: 6px 0;

    font-size: 0.65rem;

    white-space: nowrap;
  }

  .header-actions {
    gap: 0.6rem;
  }

  .theme-icon {
    font-size: 0.95rem;
  }

  .header-cta {
    padding: 0.4rem 0.6rem;

    font-size: 0.65rem;
  }


  /* Hero */

  .hero-content {
    padding:
      85px 6.5% 60px;
  }

  .hero-eyebrow {
    font-size: 0.6rem;
  }

  .hero-eyebrow::before {
    width: 18px;

    margin-right: 9px;
  }

  .hero-content h1 {
    max-width: 100%;

    font-size: clamp(2.3rem, 12vw, 3.4rem);
  }

  .hero-description {
    max-width: 100%;

    margin: 20px 0;

    font-size: 0.78rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;

    gap: 15px;
  }

  .button-primary {
    padding: 9px 13px;
  }

  .hero-side-note {
    display: none;
  }


  /* Lower section */

  .portfolio-lower {
    grid-template-columns: 1fr;

    gap: 45px;

    padding:
      50px 6.5% 60px;
  }


  /* About */

  .about-column {
    padding-right: 0;
    padding-bottom: 40px;

    border-right: 0;
    border-bottom: 1px solid #1d2330;
  }

  .about-column h2 {
    max-width: 100%;

    font-size: 1.6rem;
  }

  .about-description {
    max-width: 100%;

    font-size: 0.74rem;
  }

  .about-stats {
    gap: 10px;
  }

  .stat {
    padding-right: 8px;
  }

  .stat strong {
    font-size: 1rem;
  }

  .stat span {
    font-size: 0.55rem;
  }


  /* Tech */

  .tech-stack-column {
    padding:
      0 0 40px;

    border-right: 0;
    border-bottom: 1px solid #1d2330;
  }

  .tech-grid {
    grid-template-columns: repeat(4, 1fr);

    gap: 25px 8px;
  }


  /* Projects */

  .projects-column {
    padding-left: 0;
  }

  .project-list {
    gap: 10px;
  }

  .project-card {
    grid-template-columns:
      65px minmax(0, 1fr) 18px;

    gap: 10px;
  }

  .project-image {
    width: 65px;
    height: 48px;
  }

  .project-info h3 {
    font-size: 0.66rem;
  }

  .project-info p {
    font-size: 0.5rem;
  }

}


/* =========================================================
   SMALL SMARTPHONES
   Up to 420px
   ========================================================= */

@media (max-width: 420px) {

  .site-header {
    grid-template-columns: 22px 1fr auto;

    padding-right: 5%;
    padding-left: 5%;
  }

  .site-nav a {
    font-size: 0.58rem;
  }

  .header-cta {
    font-size: 0.58rem;
  }

  .hero-content {
    padding-right: 5%;
    padding-left: 5%;
  }

  .portfolio-lower {
    padding-right: 5%;
    padding-left: 5%;
  }

  .tech-grid {
    grid-template-columns: repeat(3, 1fr);

    gap: 24px 10px;
  }

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

    gap: 6px;
  }

  .stat strong {
    font-size: 0.9rem;
  }

  .stat span {
    font-size: 0.5rem;
  }

  .project-card {
    grid-template-columns: 58px minmax(0, 1fr) 16px;

    padding: 7px;
  }

  .project-image {
    width: 58px;
    height: 44px;
  }

}


/* =========================================================
   LARGE DESKTOP
   1400px+
   ========================================================= */

@media (min-width: 1400px) {

  .site-header,
  .hero-content,
  .portfolio-lower {
    width: min(1400px, 100%);
  }

  .hero-content h1 {
    font-size: 4.5rem;
  }

  .portfolio-lower {
    padding-top: 90px;
  }

}
```
