/* =========================================================
   ROOT
   ========================================================= */

:root {
  --bg: #071525;
  --bg2: #0a1b2f;
  --panel: #0c1d31;
  --line: #173452;

  --text: #f5f8ff;
  --muted: #a9b7c8;
  --blue: #2385ff;
  --blue2: #1467d8;

  --rail: 230px;
}


/* =========================================================
   RESET
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  background: var(--bg);
  color: var(--text);

  font-family: "DM Sans", Arial, sans-serif;

  line-height: 1.6;
}


/* =========================================================
   LEFT SIDEBAR
   ========================================================= */

.rail {
  position: fixed;

  left: 0;
  top: 0;
  bottom: 0;

  width: var(--rail);

  background: #061321;

  border-right: 1px solid #2a2a2a;

  padding: 30px 22px 24px;

  z-index: 20;

  display: flex;
  flex-direction: column;
}


/* =========================================================
   SIDEBAR BRAND
   ========================================================= */

.brand {
  color: var(--text);

  text-decoration: none;

  text-align: center;
}

.profile-circle {
  width: 76px;
  height: 76px;

  border-radius: 50%;

  overflow: hidden;

  margin: 0 auto;

  border: 2px solid rgba(35, 133, 255, 0.65);

  box-shadow:
    0 0 0 6px rgba(35, 133, 255, 0.08);
}

.profile-circle img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
  object-position: center 45%;

  filter: none;
  transform: none;
}

.brand-role {
  font-size: 9px;

  letter-spacing: 1.2px;

  color: var(--blue);

  margin-top: 7px;
}


/* =========================================================
   SOCIAL ICONS
   ========================================================= */

.connect {
  margin-top: 18px;
  position: relative;
}

.socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 13px;
}

.socials a {
  width: 42px;
  height: 42px;
  padding: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background: transparent;
  border: none;
  border-radius: 0;

  text-decoration: none;
}

.socials a img {
  width: 42px;
  height: 42px;
  display: block;
  object-fit: contain;
}

.socials a:hover {
  background: transparent;
  border: none;
}

.socials a:hover img {
  transform: translateY(-1px);
}

.copy-email {
  position: relative;
}

.copy-toast {
  position: absolute;
  top: 50%;
  left: calc(100% + 10px);
  transform: translateY(calc(-50% + 8px));

  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;

  background: #0b2036;
  color: #dbe6f2;

  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;

  opacity: 0;
  pointer-events: none;
  z-index: 100;

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

.copy-toast.show {
  opacity: 1;
  transform: translateY(-50%);
}


/* =========================================================
   SIDEBAR NAVIGATION
   ========================================================= */

.rail nav {
  display: grid;

  gap: 4px;

  margin-top: 28px;
}

.rail nav a {
  display: flex;

  align-items: center;

  gap: 14px;

  color: #dbe6f2;

  text-decoration: none;

  padding: 13px 9px;

  font-size: 14px;

  border-left: 3px solid transparent;

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

.rail nav a span {
  width: 21px;

  color: #8397ac;

  text-align: center;
}

.rail nav a.active,
.rail nav a:hover {
  color: var(--blue);

  background:
    linear-gradient(
      90deg,
      rgba(35, 133, 255, 0.12),
      transparent
    );

  border-left-color: var(--blue);
}

.rail nav a.active span {
  color: var(--blue);
}


/* =========================================================
   MAIN
   ========================================================= */

main {
  margin-left: var(--rail);
}


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

.hero {
  position: relative;

  min-height: 100vh;

  overflow: hidden;

  display: grid;

  grid-template-columns: 48% 52%;

  /*
   * Kept tight so the top of the page
   * does not have excessive empty space.
   */
  padding: 25px 4vw 80px;

  background:
    radial-gradient(
      circle at 78% 42%,
      rgba(35, 133, 255, 0.055),
      transparent 33%
    ),
    linear-gradient(
      120deg,
      #061321 0%,
      #071525 55%,
      #061321 100%
    );
}


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

.hero-copy {
  position: relative;

  z-index: 5;

  /*
   * IMPORTANT:
   * Start from the top instead of vertically centering.
   */
  align-self: start;

  padding-left: 2vw;

  padding-top: 0;
}


/* =========================================================
   GREETING
   ========================================================= */

.eyebrow {
  color: var(--blue);

  font-size: 14px;

  letter-spacing: 2px;

  font-weight: 700;
}


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

.hero h1 {
  font:
    600 clamp(42px, 4.4vw, 64px) / 1
    "Playfair Display",
    serif;

  letter-spacing: -3px;

  white-space: nowrap;

  margin: 4px 0 18px;
}

.hero h1 em {
  font-style: normal;

  color: var(--blue);
}


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

.hero-about {
  max-width: 610px;

  margin-top: 8px;
}

.hero-about-label {
  color: var(--blue);

  font-size: 11px;

  font-weight: 700;

  letter-spacing: 2px;

  margin-bottom: 12px;
}

.hero-about-content p {
  color: var(--muted);

  font-size: 14px;

  line-height: 1.7;

  margin: 0 0 14px;
}


/* =========================================================
   EDUCATION
   ========================================================= */

.education-line {
  display: flex;
  align-items: center;
  gap: 12px;

  margin-top: 20px;
  padding: 14px 0 0;

  border-top: 1px solid var(--line);

  color: #dbe6f2;

  font-size: 13px;
  font-weight: 500;
}

.education-line span {
  color: #dbe6f2;
}

.education-line span:first-child {
  color: var(--blue);
  font-weight: 600;
}

.education-line span:not(:last-child)::after {
  content: "·";

  margin-left: 12px;

  color: var(--blue);
}


/* =========================================================
   RESUME BUTTON
   ========================================================= */

.actions {
  display: flex;

  gap: 14px;

  margin-top: 25px;
}

.resume-btn {
  display: inline-flex;

  align-items: center;

  gap: 18px;

  padding: 10px 17px;

  background: #10243a;

  border: 1px solid #3a526d;

  color: #f5f8ff;

  text-decoration: none;

  border-radius: 6px;

  font-size: 13px;

  font-weight: 600;

  transition: all 0.2s ease;
}

.resume-btn span {
  font-size: 17px;
}

.resume-btn:hover {
  background: #172f49;

  border-color: #6c85a0;

  transform: translateY(-1px);
}


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

.strengths {
  display: flex;

  gap: 35px;

  margin-top: 48px;
}

.strengths article {
  display: flex;

  gap: 12px;

  min-width: 135px;
}

.strength-icon {
  color: var(--blue);

  font-size: 29px;

  line-height: 1;
}

.strengths b {
  display: block;

  color: var(--blue);

  font-size: 14px;

  margin-bottom: 5px;
}

.strengths small {
  display: block;

  color: #8fa1b5;

  font-size: 11px;

  line-height: 1.55;
}


/* =========================================================
   HERO RIGHT SIDE
   ========================================================= */

.hero-stage {
  position: relative;

  min-height: 720px;

  align-self: stretch;

  overflow: visible;
}


/* =========================================================
   BLUEPRINT
   ========================================================= */

.blueprint {
  position: absolute;

  inset: 4% -1% 0 -6%;

  overflow: hidden;

  z-index: 0;

  opacity: 0.85;
}

.blueprint::before {
  content: "";

  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      90deg,
      transparent 49.8%,
      rgba(35, 133, 255, 0.11) 50%,
      transparent 50.2%
    ),
    linear-gradient(
      0deg,
      transparent 49.8%,
      rgba(35, 133, 255, 0.07) 50%,
      transparent 50.2%
    );

  background-size:
    100% 100%,
    100% 100%;

  border: 1px solid rgba(35, 133, 255, 0.08);

  transform:
    perspective(600px)
    rotateY(-16deg)
    rotateX(2deg)
    scale(1.02);
}

.blueprint::after {
  content: "";

  position: absolute;

  left: 10%;
  right: 4%;
  top: 7%;

  height: 78%;

  border: 1px solid rgba(35, 133, 255, 0.13);

  clip-path:
    polygon(
      18% 0,
      84% 4%,
      100% 25%,
      90% 100%,
      5% 100%,
      0 25%
    );

  transform:
    perspective(700px)
    rotateY(-13deg);
}


/* =========================================================
   BLUEPRINT WORDS
   ========================================================= */

.word {
  position: absolute;

  font:
    600 clamp(48px, 4.2vw, 72px) / 0.85
    "DM Sans",
    sans-serif;

  letter-spacing: 2px;

  color: rgba(35, 133, 255, 0.16);

  z-index: 1;

  white-space: nowrap;
}

.build {
  top: 9%;
  left: 2%;
}

.design {
  top: 36%;
  left: 2%;

  color: rgba(35, 133, 255, 0.16);
}

.deliver {
  top: 62%;
  left: 2%;

  color: rgba(35, 133, 255, 0.18);
}


/* =========================================================
   BLUEPRINT WIRES
   ========================================================= */

.wire {
  position: absolute;

  border: 1px solid rgba(35, 133, 255, 0.12);

  z-index: 1;
}

.wire-one {
  width: 58%;
  height: 38%;

  top: 6%;
  left: 20%;

  transform: skewY(-11deg);
}

.wire-two {
  width: 70%;
  height: 24%;

  top: 41%;
  left: 7%;

  transform: skewY(7deg);
}

.wire-three {
  width: 54%;
  height: 22%;

  top: 66%;
  left: 25%;

  transform: skewY(-6deg);
}


/* =========================================================
   PHOTO
   ========================================================= */

.photo-frame {
  position: absolute;

  right: 0;
  top: 0%;

  width: min(48%, 500px);

  height: 86%;

  z-index: 3;

  overflow: hidden;

  display: flex;

  justify-content: center;

  align-items: flex-end;

  border:
    1.5px solid
    rgba(35, 133, 255, 0.9);

  border-radius: 22px;

  box-shadow:
    0 0 0 1px rgba(35, 133, 255, 0.18),
    0 0 28px rgba(35, 133, 255, 0.18),
    inset 0 0 18px rgba(35, 133, 255, 0.08);

  background: #071525;
}

.photo-frame::after {
  content: "";

  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(6, 19, 33, 0.04) 0%,
      transparent 24%,
      rgba(6, 19, 33, 0.18) 100%
    );

  pointer-events: none;
}

.photo-frame img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  object-position: 50% 95%;

  display: block;

  filter: none;

  opacity: 0.98;

  transform:
    scale(1.4)
    translateY(-12%);

  transform-origin: center center;
}


/* =========================================================
   HIDDEN STATS
   ========================================================= */

.stats {
  display: none;
}


/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

.section {
  padding:
    110px
    clamp(40px, 7vw, 100px);

  border-top: 1px solid var(--line);

  background: var(--bg);
}

#skills {
  padding-top: 10px;
  padding-bottom: 20px;
}

#skills .section-label {
  margin-bottom: 6px;
  font-size: 12px;
}

#skills h2 {
  font-size: 30px;
  margin: 0 0 12px;
}

.dark {
  background: #0a1b2f;
}

.section-label {
  color: var(--blue);

  font-size: 11px;

  letter-spacing: 2px;

  margin-bottom: 8px;
}

.section h2 {
  font:
    600 48px
    "Playfair Display",
    serif;

  margin: 0 0 50px;
}

.experience-section h2 {
  font-size: 30px;
  margin: 0 0 12px;
}

#projects {
  padding-top: 10px;
  padding-bottom: 20px;
}

#projects .section-label {
  margin-bottom: 6px;
  font-size: 12px;
}

#projects h2 {
  font-size: 30px;
  margin: 0 0 12px;
}

.section h3 {
  font:
    600 32px
    "Playfair Display",
    serif;
}

.section p,
.section li {
  color: var(--muted);
}


/* =========================================================
   EXPERIENCE
   ========================================================= */

.experience-section {
  padding-top: 22px;
  padding-bottom: 75px;
}

.experience-entry {
  display: grid;
  grid-template-columns: 155px minmax(0, 1fr);
  gap: 38px;
  position: relative;
  max-width: 1120px;
  padding-top: 8px;
}

.experience-entry::before {
  content: "";
  position: absolute;
  left: 155px;
  top: 8px;
  bottom: 0;
  width: 1px;
  background: #23405e;
}

.experience-meta {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-top: 6px;
  position: relative;
  z-index: 1;
}

.experience-status {
  color: var(--blue);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
}

.experience-period {
  color: #7f92a7;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.5px;
}

.experience-content {
  padding-left: 34px;
  min-width: 0;
}

.experience-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.experience-content h3 {
  margin: 0 0 12px;
  color: var(--text);
  font-family: "Playfair Display", serif;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 600;
  line-height: 1.2;
}

.experience-summary {
  max-width: 850px;
  margin: 0 0 27px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.experience-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 900px;
}

.experience-highlights li {
  position: relative;
  padding-left: 21px;
  margin-bottom: 14px;
  color: #b9c7d7;
  font-size: 13px;
  line-height: 1.7;
}

.experience-highlights li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue);
  font-weight: 600;
}

.experience-highlights strong {
  color: #e8f1fb;
  font-weight: 700;
}

.experience-tech {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  max-width: 900px;
}

.experience-tech-label {
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
}

.experience-tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.experience-tech-list span {
  color: #9eafc2;
  font-size: 12px;
  position: relative;
}

.experience-tech-list span:not(:last-child)::after {
  content: "·";
  position: absolute;
  right: -11px;
  color: #3b5772;
}

@media (max-width: 900px) {
  .experience-entry {
    grid-template-columns: 125px minmax(0, 1fr);
    gap: 25px;
  }

  .experience-entry::before {
    left: 125px;
  }

  .experience-content {
    padding-left: 25px;
  }
}

@media (max-width: 700px) {
  .experience-entry {
    display: block;
    padding-left: 20px;
    border-left: 1px solid #23405e;
  }

  .experience-entry::before {
    display: none;
  }

  .experience-meta {
    padding-top: 0;
    margin-bottom: 18px;
  }

  .experience-content {
    padding-left: 0;
  }

  .experience-content h3 {
    font-size: 30px;
  }

  .experience-summary,
  .experience-highlights li {
    font-size: 13px;
  }
}

/* =========================================================
   SKILLS
   ========================================================= */

/* .skills-intro {
  max-width: none;
  margin: -10px 0 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  white-space: nowrap;
} */

.skills-divider {
  width: 100%;
  height: 1px;
  background: var(--line);
  position: relative;
  margin-bottom: 27px;
}

.skills-divider::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 46px;
  height: 2px;
  background: var(--blue);
}

.skill-group {
  margin-top: 18px;
  margin-bottom: 20px;
}

.skill-group.full-width {
  width: 100%;
  margin-top: 10px;
  margin-bottom: 12px;
}

.skill-group.full-width .skill-group-title {
  margin-bottom: 8px;
}

.skill-group.full-width .tech-card {
  min-height: 78px;
  gap: 5px;
  padding: 8px;
}

.skill-group.full-width .tech-card img {
  width: 26px;
  height: 26px;
  margin-bottom: 2px;
}

.skill-group.full-width:has(+ .skills-row) {
  margin-bottom: 4px;
}

.skill-group.full-width + .skills-row {
  margin-top: 6px;
}

.skill-group-title {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 15px;
}

.skill-group-title > span {
  width: 23px;
  color: var(--blue);
  font-size: 19px;
  line-height: 1;
  text-align: center;
}

.skill-group-title h3 {
  margin: 0;
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--text);
  font-size: 18px;
  font-weight: 600;
}

.tech-grid {
  display: grid;
  gap: 10px;
}

.backend-grid {
  grid-template-columns: repeat(5, 1fr);
}

.frontend-grid {
  grid-template-columns: repeat(6, 1fr);
}

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

.tools-grid {
  grid-template-columns: repeat(5, 1fr);
}

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

.tech-card {
  min-height: 78px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 8px;
  background: #0c1d31;
  border: 1px solid #173452;
  border-radius: 9px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.tech-card:hover {
  transform: translateY(-3px);
  border-color: var(--blue);
  background: #0e233b;
}

.tech-card img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block;
  margin-bottom: 2px;
}

.tech-card span {
  color: #e5edf7;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}

.skills-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 18px;
}

.skills-row + .skills-row {
  margin-top: 0;
}

.skills-row:has(+ .skills-row) .skill-group {
  margin-bottom: 4px;
}

.skills-row .skill-group {
  min-width: 0;
}

#skills .skills-row .tech-grid {
  gap: 8px;
}

.text-tech {
  min-height: 78px;
}

.text-tech span {
  font-size: 13px;
}

.concept-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.concept-card {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: #0c1d31;
  border: 1px solid #173452;
  border-radius: 9px;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.concept-card:hover {
  transform: translateY(-3px);
  border-color: var(--blue);
}

.concept-card span {
  color: #dbe6f2;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

@media (max-width: 1200px) {
  .backend-grid {
    grid-template-columns: repeat(5, 1fr);
  }

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

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

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

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

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

@media (max-width: 900px) {
  #skills {
    padding-top: 30px;
  }

  #skills h2 {
    font-size: 42px;
  }

  .skills-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

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

  .tech-card {
    min-height: 78px;
    padding: 8px;
  }

  .tech-card img {
    width: 26px;
    height: 26px;
  }
}

@media (max-width: 560px) {
  .skills-intro {
    font-size: 14px;
    white-space: normal;
  }

  .backend-grid,
  .frontend-grid,
  .data-grid,
  .tools-grid,
  .languages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

}


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

#projects {
  position: relative;
  overflow: hidden;
}

#projects .section-label {
  margin-bottom: 6px;
  font-size: 12px;
}

#projects h2 {
  font-size: 30px;
  margin: 0 0 12px;
}

.projects-intro {
  position: absolute;
  top: 48px;
  right: clamp(40px, 7vw, 100px);
  display: flex;
  align-items: center;
  gap: 16px;
  color: #8eabc7;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  line-height: 1.8;
}

.projects-intro::after {
  content: "";
  width: 48px;
  height: 1px;
  background: #4d6b87;
}

.projects-intro span {
  display: block;
}

.projects-list {
  width: 100%;
  max-width: 1120px;
}

.project-showcase {
  display: grid;
  grid-template-columns: 70px minmax(0, 1.65fr) minmax(280px, 0.9fr);
  column-gap: 30px;
  padding: 3px 0;
  border-top: 1px solid #23405e;
  position: relative;
}

.project-showcase:first-child {
  border-top: 0;
  padding-top: 4px;
}

.project-showcase:last-child {
  border-bottom: 1px solid #23405e;
  padding-bottom: 3px;
}

.project-number {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 145px;
}

.project-number > span {
  color: var(--blue);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 1px;
}

.project-line {
  position: absolute;
  left: 51px;
  top: 7px;
  bottom: 0;
  width: 1px;
  background: #23405e;
}

.project-number::after {
  content: "";
  position: absolute;
  left: 47px;
  top: 5px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 3px rgba(35, 133, 255, 0.12);
}

.project-main {
  min-width: 0;
  padding-right: 8px;
}

.project-meta {
  margin-bottom: 8px;
  color: #8eabc7;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.2px;
}

.project-showcase h3 {
  margin: 0;
  color: var(--text);
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 2.7vw, 38px);
  font-weight: 600;
  line-height: 1.15;
}

.project-showcase h4 {
  margin: 6px 0 8px;
  color: #e3edf7;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}

.project-main > a {
  display: inline-block;
  text-decoration: none;
}

.project-main > a:hover h4 {
  color: #7ab6ff;
}

.project-showcase p {
  max-width: 650px;
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.project-showcase p strong {
  color: #e8f1fb;
  font-weight: 700;
}

.project-showcase .tags {
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.project-showcase .tags i {
  font-style: normal;
  font-size: 10px;
  padding: 5px 11px;
  border: 1px solid #23405e;
  border-radius: 30px;
  color: #b8c9da;
  white-space: nowrap;
}

.project-details {
  min-width: 0;
  padding-left: 30px;
  border-left: 1px solid #23405e;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.project-details li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: #b9c7d7;
  font-size: 12px;
  line-height: 1.55;
}

.project-details li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue);
  font-weight: 600;
}

.project-details a,
.project-status {
  display: inline-block;
  margin-top: 0;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-decoration: none;
  align-self: flex-end;
}

.project-details a:hover {
  color: #6baeff;
  transform: translateX(2px);
}

.project-status {
  color: #7189a1;
  font-size: 10px;
  letter-spacing: 1.4px;
}


@media (max-width: 1000px) {
  .projects-intro {
    display: none;
  }

  .project-showcase {
    grid-template-columns: 55px minmax(0, 1.5fr) minmax(240px, 0.8fr);
    column-gap: 22px;
  }

  .project-line {
    left: 39px;
  }

  .project-number::after {
    left: 35px;
  }

  .project-details {
    padding-left: 22px;
  }
}


@media (max-width: 800px) {
  #projects h2 {
    font-size: 42px;
    margin-bottom: 30px;
  }

  .project-showcase {
    grid-template-columns: 45px 1fr;
    column-gap: 20px;
    padding: 30px 0;
  }

  .project-showcase:first-child {
    padding-top: 5px;
  }

  .project-number {
    grid-row: 1 / span 2;
    min-height: 100%;
  }

  .project-line {
    left: 30px;
  }

  .project-number::after {
    left: 26px;
  }

  .project-details {
    grid-column: 2;
    margin-top: 24px;
    padding-left: 0;
    padding-top: 20px;
    border-left: 0;
    border-top: 1px solid #23405e;
  }

  .project-details a,
  .project-status {
    align-self: flex-start;
  }
}


@media (max-width: 560px) {
  #projects h2 {
    font-size: 40px;
  }

  .project-showcase {
    grid-template-columns: 34px 1fr;
    column-gap: 15px;
  }

  .project-number > span {
    font-size: 14px;
  }

  .project-line {
    left: 25px;
  }

  .project-number::after {
    left: 21px;
    width: 6px;
    height: 6px;
  }

  .project-meta {
    font-size: 9px;
    letter-spacing: 1.5px;
  }

  .project-showcase h3 {
    font-size: 29px;
  }

  .project-showcase h4 {
    font-size: 15px;
  }

  .project-showcase p {
    font-size: 13px;
  }

  .project-details li {
    font-size: 12px;
  }
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
  padding: 28px 7%;

  display: flex;

  justify-content: space-between;

  border-top: 1px solid var(--line);

  color: #71849a;

  font-size: 11px;
}

.footer-left a {
  color: var(--blue);
  text-decoration: none;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

  .hero {
    grid-template-columns: 1fr;

    padding-top: 30px;
  }

  .hero-copy {
    align-self: start;

    padding-left: 2vw;

    padding-top: 0;
  }

  .hero-stage {
    min-height: 680px;
  }

  .photo-frame {
    width: 62%;

    right: 1%;

    top: 5%;

    height: 88%;
  }

  .strengths {
    gap: 25px;
  }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 800px) {

  :root {
    --rail: 0px;
  }

  .rail {
    position: relative;

    width: 100%;

    height: auto;

    padding: 18px 20px;
  }

  .rail nav {
    display: flex;

    overflow: auto;

    margin-top: 18px;
  }

  .rail nav a {
    white-space: nowrap;
  }

  .connect {
    display: none;
  }

  main {
    margin-left: 0;
  }


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

  .hero {
    display: flex;

    flex-direction: column;

    min-height: auto;

    padding:
      30px
      25px
      60px;
  }

  .hero-copy {
    align-self: start;

    padding-left: 0;

    padding-top: 0;
  }

  .hero h1 {
    font-size: 50px;

    white-space: normal;
  }

  .hero-about {
    max-width: 100%;
  }

  .hero-about-content p {
    font-size: 14px;
  }

  .education-line {
    flex-wrap: wrap;
  }

  .strengths {
    flex-wrap: wrap;

    margin-top: 45px;
  }


  /* =====================================================
     MOBILE PHOTO
     ===================================================== */

  .hero-stage {
    width: 100%;

    min-height: 560px;
  }

  .photo-frame {
    width: 78%;

    right: 4%;

    height: 94%;

    top: 3%;
  }

  .blueprint {
    inset: 3% 0 0;
  }


  /* =====================================================
     MOBILE GRIDS
     ===================================================== */

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


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 560px) {

  .hero {
    padding:
      25px
      20px
      60px;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero h1 {
    font-size: 46px;

    letter-spacing: -2px;
  }

  .eyebrow {
    font-size: 12px;
  }

  .hero-about-content p {
    font-size: 13px;

    line-height: 1.65;
  }

  .resume-btn {
    padding: 9px 15px;

    font-size: 12px;
  }

  .strengths {
    margin-top: 38px;

    gap: 25px;
  }

  .hero-stage {
    min-height: 480px;
  }

  .photo-frame {
    width: 94%;

    right: 3%;

    top: 2%;
  }

  .word {
    font-size: 58px;
  }


  /* =====================================================
     MOBILE SECTIONS
     ===================================================== */

  .section {
    padding:
      75px
      22px;
  }

  .section h2 {
    font-size: 40px;
  }

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


  /* =====================================================
     FOOTER
     ===================================================== */

  footer {
    display: block;

    padding:
      25px
      22px;
  }

  footer span {
    display: block;

    margin: 4px 0;
  }

  .footer-left a {
    text-decoration: none;
}

}