* {

  box-sizing: border-box;

  margin: 0;

  padding: 0;

}



html {

  scroll-behavior: smooth;

}



body {

  background-color: #0d0d0f;

  color: #f5f5f5;

  font-family: Arial, Helvetica, sans-serif;

  line-height: 1.6;

}



a {

  color: inherit;

  text-decoration: none;

}



button {

  font: inherit;

}



img {

  display: block;

  max-width: 100%;

}





/* =========================================

   NAVIGATION

   ========================================= */



.site-header {

  position: sticky;

  top: 0;

  background-color: rgba(13, 13, 15, 0.95);

  border-bottom: 1px solid #242428;

  z-index: 1000;

}



.nav-container {

  max-width: 1200px;

  margin: 0 auto;

  padding: 22px 30px;

  display: flex;

  align-items: center;

  justify-content: space-between;

}



.logo {

  font-size: 1.1rem;

  font-weight: 700;

}



.main-nav {

  display: flex;

  gap: 28px;

}



.main-nav a {

  color: #ccccd1;

  transition: color 0.2s ease;

}



.main-nav a:hover {

  color: white;

}



.main-nav .active-nav {

  color: white;

}





/* =========================================

   HOME HERO

   ========================================= */



.hero {

  min-height: 78vh;

  display: flex;

  align-items: center;

  padding: 80px 30px;

}



.hero-content {

  max-width: 1200px;

  width: 100%;

  margin: 0 auto;

}



.hero-kicker {

  color: #9b9ba3;

  font-size: 1rem;

  margin-bottom: 20px;

}



.hero h1 {

  font-size: clamp(3.5rem, 9vw, 7rem);

  line-height: 0.95;

  margin-bottom: 30px;

}



.hero-description {

  max-width: 780px;

  color: #c8c8cd;

  font-size: 1.2rem;

  margin-bottom: 16px;

}



.hero-buttons {

  display: flex;

  gap: 16px;

  margin-top: 32px;

  flex-wrap: wrap;

}





/* =========================================

   BUTTONS

   ========================================= */



.button {

  display: inline-block;

  padding: 14px 22px;

  border-radius: 8px;

  font-weight: 600;



  transition:

    background-color 0.2s ease,

    border-color 0.2s ease,

    transform 0.2s ease;

}



.button:hover {

  transform: translateY(-2px);

}



.primary-button {

  background-color: #f5f5f5;

  color: #111111;

}



.primary-button:hover {

  background-color: #d8d8dc;

}



.secondary-button {

  border: 1px solid #44444b;

  color: #f5f5f5;

}



.secondary-button:hover {

  border-color: #777780;

}





/* =========================================

   GENERAL SECTIONS

   ========================================= */



.section {

  padding: 100px 30px;

}



.alt-section {

  background-color: #121214;

}



.section-container {

  max-width: 1200px;

  margin: 0 auto;

}



.section-label {

  color: #8f8f97;

  font-size: 0.9rem;

  letter-spacing: 0.15em;

  margin-bottom: 12px;

}



.section h2 {

  font-size: clamp(2.2rem, 5vw, 4rem);

  line-height: 1.05;

  margin-bottom: 30px;

}





/* =========================================

   HOME CURRENT FOCUS

   ========================================= */



.focus-grid {

  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 20px;

}



.focus-card {

  background-color: #151518;

  border: 1px solid #26262b;

  border-radius: 12px;

  padding: 28px;



  transition:

    transform 0.2s ease,

    border-color 0.2s ease;

}



.focus-card:hover {

  transform: translateY(-4px);

  border-color: #55555d;

}



.focus-card h3 {

  margin-bottom: 10px;

  font-size: 1.4rem;

}



.focus-card p {

  color: #bcbcc2;

}





/* =========================================

   HOME FEATURED PROJECT

   ========================================= */



.featured-project {

  background-color: #121214;

}



.featured-description {

  color: #c5c5ca;

  max-width: 760px;

  font-size: 1.1rem;

  margin-bottom: 22px;

}



.project-tags {

  display: flex;

  gap: 10px;

  flex-wrap: wrap;

  margin-bottom: 30px;

}



.project-tags span {

  border: 1px solid #343439;

  border-radius: 999px;

  padding: 8px 14px;

  color: #bcbcc2;

  font-size: 0.9rem;



  transition:

    border-color 0.2s ease,

    color 0.2s ease;

}



.project-tags span:hover {

  border-color: #66666f;

  color: white;

}





/* =========================================

   HOME ABOUT

   ========================================= */



.home-about p {

  max-width: 720px;

  color: #c1c1c7;

  font-size: 1.1rem;

  margin-bottom: 22px;

}



.text-link {

  font-weight: 600;

}



.text-link:hover {

  text-decoration: underline;

}





/* =========================================

   ABOUT HERO

   ========================================= */



.about-hero {

  padding: 120px 30px 110px;

  border-bottom: 1px solid #202024;

}



.about-hero-title {

  display: flex;

  flex-direction: column;

  gap: 4px;

  margin-top: 18px;

  margin-bottom: 34px;

  font-size: clamp(3rem, 8vw, 6.5rem);

  line-height: 0.98;

  font-weight: 700;

}



.about-hero-title span {

  display: block;

}



.about-hero-description {

  max-width: 760px;

  color: #c4c4ca;

  font-size: 1.2rem;

}





/* =========================================

   EDUCATION

   ========================================= */



.education-card {

  border: 1px solid #2a2a30;

  border-radius: 14px;

  padding: 32px;

  max-width: 900px;

}



.education-heading {

  display: flex;

  justify-content: space-between;

  gap: 30px;

  align-items: flex-start;

  margin-bottom: 24px;

}



.education-heading h3 {

  font-size: 1.6rem;

}



.education-subtitle {

  color: #a7a7af;

  margin-top: 5px;

}



.education-status {

  border: 1px solid #414148;

  border-radius: 999px;

  padding: 7px 14px;

  color: #c7c7cd;

  font-size: 0.85rem;

}



.education-card > p {

  color: #bdbdc4;

  max-width: 780px;

  margin-top: 16px;

}





/* =========================================

   INTERESTS

   ========================================= */



.interest-grid {

  display: grid;

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

  gap: 1px;

  background-color: #2a2a2f;

  border: 1px solid #2a2a2f;

}



.interest-item {

  background-color: #121214;

  padding: 30px;

  min-height: 180px;

}



.interest-item h3 {

  margin-bottom: 10px;

  font-size: 1.3rem;

}



.interest-item p {

  color: #b3b3ba;

}





/* =========================================

   GOALS

   ========================================= */



.goal-grid {

  display: grid;

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

  gap: 20px;

}



.goal-card {

  border: 1px solid #29292f;

  border-radius: 14px;

  padding: 30px;

  min-height: 300px;

  display: flex;

  flex-direction: column;



  transition:

    transform 0.2s ease,

    border-color 0.2s ease;

}



.goal-card:hover {

  transform: translateY(-4px);

  border-color: #55555d;

}



.card-number {

  color: #777780;

  font-size: 0.9rem;

  margin-bottom: 60px;

}



.goal-card h3 {

  font-size: 1.5rem;

  margin-bottom: 14px;

}



.goal-card p {

  color: #b8b8bf;

}





/* =========================================

   SKILLS

   ========================================= */



.skills-layout {

  display: grid;

  gap: 50px;

}



.skill-category {

  border-top: 1px solid #2b2b31;

  padding-top: 24px;

}



.skill-category-heading {

  margin-bottom: 20px;

}



.skill-category-heading h3 {

  font-size: 1.5rem;

}



.skill-list {

  display: grid;

}



.skill-row {

  display: flex;

  justify-content: space-between;

  gap: 30px;

  padding: 16px 0;

  border-bottom: 1px solid #202025;

}



.skill-row > span:first-child {

  font-size: 1.05rem;

}



.skill-level {

  color: #919198;

  text-align: right;

}





/* =========================================

   CURRENT LEARNING

   ========================================= */



.learning-list {

  border-top: 1px solid #2c2c32;

}



.learning-item {

  display: grid;

  grid-template-columns: 80px 1fr;

  gap: 30px;

  padding: 24px 0;

  border-bottom: 1px solid #2c2c32;

}



.learning-item span {

  color: #777780;

}



.learning-item p {

  font-size: 1.2rem;

}





/* =========================================

   STRENGTHS

   ========================================= */



.strength-grid {

  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 20px;

}



.strength-card {

  border: 1px solid #29292f;

  border-radius: 14px;

  padding: 30px;



  transition:

    transform 0.2s ease,

    border-color 0.2s ease;

}



.strength-card:hover {

  transform: translateY(-4px);

  border-color: #55555d;

}



.strength-card h3 {

  font-size: 1.4rem;

  margin-bottom: 12px;

}



.strength-card p {

  color: #b8b8bf;

}





/* =========================================

   ABOUT NEXT LINKS

   ========================================= */



.about-next-section {

  background-color: #121214;

}



.next-link-grid {

  display: grid;

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

  gap: 20px;

}



.next-page-card {

  border: 1px solid #2d2d33;

  border-radius: 14px;

  padding: 28px;

  display: flex;

  flex-direction: column;

  gap: 50px;



  transition:

    transform 0.2s ease,

    border-color 0.2s ease,

    background-color 0.2s ease;

}



.next-page-card:hover {

  transform: translateY(-4px);

  border-color: #585860;

  background-color: #17171a;

}



.next-page-card span {

  color: #8d8d95;

}



.next-page-card strong {

  font-size: 1.2rem;

}





/* =========================================

   PROJECTS HERO

   ========================================= */



.projects-hero {

  padding: 120px 30px 100px;

  border-bottom: 1px solid #202024;

}



.projects-hero h1 {

  max-width: 950px;

  font-size: clamp(3.5rem, 8vw, 6.5rem);

  line-height: 0.98;

  margin-top: 18px;

  margin-bottom: 34px;

}



.projects-hero-description {

  max-width: 760px;

  color: #c4c4ca;

  font-size: 1.2rem;

}





/* =========================================

   PROJECT FILTERS

   ========================================= */



.project-filter-section {

  padding: 30px;

  border-bottom: 1px solid #202024;

}



.project-filters {

  display: flex;

  gap: 10px;

  flex-wrap: wrap;

}



.project-filter {

  background: transparent;

  color: #a9a9b0;

  border: 1px solid #34343a;

  border-radius: 999px;

  padding: 9px 16px;

  cursor: pointer;



  transition:

    color 0.2s ease,

    background-color 0.2s ease,

    border-color 0.2s ease;

}



.project-filter:hover {

  color: white;

  border-color: #66666f;

}



.project-filter.active-filter {

  background-color: #f5f5f5;

  color: #111111;

  border-color: #f5f5f5;

}





/* =========================================

   PROJECT SECTION HEADINGS

   ========================================= */



.projects-section-heading {

  display: flex;

  justify-content: space-between;

  gap: 50px;

  align-items: flex-end;

  margin-bottom: 45px;

}



.projects-section-heading h2 {

  margin-bottom: 0;

}



.projects-section-heading > p {

  max-width: 420px;

  color: #a9a9b0;

}





/* =========================================

   PROJECT CARDS

   ========================================= */



.projects-grid {

  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 22px;

}



.project-card {

  border: 1px solid #29292f;

  border-radius: 16px;

  padding: 30px;

  display: flex;

  flex-direction: column;



  transition:

    transform 0.2s ease,

    border-color 0.2s ease,

    opacity 0.2s ease;

}



.project-card:hover {

  transform: translateY(-4px);

  border-color: #55555d;

}



.project-card-large {

  grid-column: span 2;

}



.project-card-top {

  display: flex;

  justify-content: space-between;

  gap: 20px;

  margin-bottom: 65px;

}



.project-number {

  color: #777780;

  font-size: 0.9rem;

  margin-bottom: 8px;

}



.project-year {

  color: #777780;

  font-size: 0.9rem;

}



.project-status {

  font-size: 0.75rem;

  letter-spacing: 0.12em;

}



.current-status {

  color: #d3d3d8;

}



.completed-status,

.planned-status {

  color: #929299;

}



.project-card-content {

  display: flex;

  flex-direction: column;

  flex: 1;

}



.project-card h3 {

  font-size: clamp(1.8rem, 4vw, 3rem);

  line-height: 1.05;

  margin-bottom: 20px;

}



.project-card-description {

  color: #bcbcc3;

  max-width: 720px;

  margin-bottom: 16px;

}



.project-card-tags {

  display: flex;

  flex-wrap: wrap;

  gap: 8px;

  margin-top: 12px;

  margin-bottom: 30px;

}



.project-card-tags span {

  border: 1px solid #35353b;

  border-radius: 999px;

  padding: 7px 12px;

  color: #aaaab1;

  font-size: 0.82rem;

}



.project-contributions {

  border-top: 1px solid #28282e;

  padding-top: 22px;

  margin-bottom: 30px;

}



.project-contributions > p {

  color: #8f8f97;

  font-size: 0.85rem;

  letter-spacing: 0.08em;

  text-transform: uppercase;

  margin-bottom: 14px;

}



.project-contributions ul {

  list-style-position: inside;

  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 8px 30px;

  color: #bcbcc3;

}



.project-link {

  margin-top: auto;

  font-weight: 600;

  transition: color 0.2s ease;

}



.project-link:hover {

  color: #bcbcc3;

}



.project-hidden {

  display: none;

}





/* =========================================

   COMPACT PROJECTS

   ========================================= */



.compact-project-grid {

  grid-template-columns: repeat(2, 1fr);

}



.compact-project-card {

  min-height: 280px;

}



.compact-project-card h3 {

  font-size: 2rem;

}





/* =========================================

   PROJECTS NEXT SECTION

   ========================================= */



.projects-next-section {

  background-color: #121214;

}



.projects-next-description {

  color: #bcbcc3;

  max-width: 720px;

  font-size: 1.1rem;

  margin-bottom: 30px;

}





/* =========================================

   PROJECT DETAIL HERO

   ========================================= */



.project-detail-hero {

  padding: 100px 30px 90px;

  border-bottom: 1px solid #202024;

}



.back-link {

  display: inline-block;

  color: #9999a1;

  margin-bottom: 60px;

  transition: color 0.2s ease;

}



.back-link:hover {

  color: white;

}



.project-detail-heading h1 {

  max-width: 1000px;

  font-size: clamp(4rem, 10vw, 8rem);

  line-height: 0.9;

  margin-top: 18px;

  margin-bottom: 35px;

}



.project-detail-intro {

  max-width: 820px;

  color: #c5c5cb;

  font-size: 1.3rem;

  margin-bottom: 60px;

}



.project-detail-meta {

  display: grid;

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

  gap: 1px;

  background-color: #29292f;

  border: 1px solid #29292f;

}



.project-detail-meta > div {

  background-color: #0d0d0f;

  padding: 22px;

}



.meta-label {

  display: block;

  color: #7f7f87;

  font-size: 0.8rem;

  letter-spacing: 0.08em;

  text-transform: uppercase;

  margin-bottom: 5px;

}





/* =========================================

   PROJECT VISUALS / PLACEHOLDERS

   ========================================= */



.project-visual-section {

  padding: 30px;

  background-color: #0a0a0c;

}



.project-placeholder {

  min-height: 470px;

  border: 1px dashed #3a3a42;

  border-radius: 16px;

  padding: 50px;

  display: flex;

  flex-direction: column;

  justify-content: flex-end;



  background:

    linear-gradient(

      135deg,

      #121216,

      #18181d

    );

}



.project-placeholder-large {

  min-height: 620px;

}



.placeholder-label {

  color: #777780;

  font-size: 0.8rem;

  letter-spacing: 0.12em;

  margin-bottom: 12px;

}



.project-placeholder h2,

.project-placeholder h3 {

  max-width: 700px;

  margin-bottom: 10px;

}



.project-placeholder h2 {

  font-size: clamp(2rem, 5vw, 4rem);

}



.project-placeholder h3 {

  font-size: 2rem;

}



.project-placeholder p {

  max-width: 650px;

  color: #aaaab2;

}



.placeholder-filename {

  margin-top: 18px;

  font-family: monospace;

  font-size: 0.9rem;

  color: #66666f !important;

}





/* =========================================

   PROJECT DETAIL LAYOUT

   ========================================= */



.project-two-column {

  display: grid;

  grid-template-columns: 0.8fr 1.2fr;

  gap: 100px;

}



.project-detail-text {

  color: #bfbfc6;

  font-size: 1.1rem;

}



.project-detail-text p {

  margin-bottom: 24px;

}





/* =========================================

   STATUS CARDS

   ========================================= */



.status-grid {

  display: grid;

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

  gap: 20px;

  margin-top: 45px;

}



.status-card {

  border: 1px solid #2c2c32;

  border-radius: 14px;

  padding: 30px;

  min-height: 270px;



  transition:

    transform 0.2s ease,

    border-color 0.2s ease;

}



.status-card:hover {

  transform: translateY(-4px);

  border-color: #55555d;

}



.status-card > span {

  color: #74747c;

  display: block;

  margin-bottom: 60px;

}



.status-card h3 {

  font-size: 1.45rem;

  margin-bottom: 12px;

}



.status-card p {

  color: #aaaab2;

}





/* =========================================

   PROJECT SECTION HEADER

   ========================================= */



.project-section-header {

  display: flex;

  align-items: flex-end;

  justify-content: space-between;

  gap: 60px;

  margin-bottom: 50px;

}



.project-section-header h2 {

  margin-bottom: 0;

}



.project-section-header > p {

  max-width: 430px;

  color: #aaaab2;

}





/* =========================================

   PROJECT IMAGES

   ========================================= */



.project-image {

  margin-bottom: 60px;

}



.project-image img {

  width: 100%;

  height: auto;

  max-height: none;

  object-fit: contain;

  background-color: #08080a;

  border: 1px solid #29292f;

  border-radius: 16px;

}



.project-image figcaption {

  color: #777780;

  font-size: 0.9rem;

  margin-top: 12px;

}





/* =========================================

   SYSTEM LIST

   ========================================= */



.system-list {

  border-top: 1px solid #29292f;

}



.system-row {

  display: grid;

  grid-template-columns: 220px 1fr;

  gap: 50px;

  padding: 24px 0;

  border-bottom: 1px solid #29292f;

}



.system-row > span {

  font-weight: 600;

  font-size: 1.1rem;

}



.system-row p {

  color: #aaaab2;

  max-width: 750px;

}



.impact-system-list {

  margin-top: 45px;

}





/* =========================================

   PROJECT NOTE

   ========================================= */



.project-note {

  max-width: 820px;

  margin-top: 60px;

  padding-left: 25px;

  border-left: 2px solid #3e3e45;

}



.project-note > p:last-child {

  color: #bcbcc3;

  font-size: 1.1rem;

}





/* =========================================

   PLANNED FEATURES / CHALLENGES

   ========================================= */



.planned-feature-grid {

  display: grid;

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

  gap: 20px;

  margin-top: 30px;

}



.planned-feature-grid > div {

  border: 1px solid #2c2c32;

  border-radius: 14px;

  padding: 28px;

  min-height: 240px;



  transition:

    transform 0.2s ease,

    border-color 0.2s ease;

}



.planned-feature-grid > div:hover {

  transform: translateY(-4px);

  border-color: #55555d;

}



.planned-feature-grid span {

  display: block;

  color: #777780;

  margin-bottom: 45px;

}



.planned-feature-grid h3 {

  margin-bottom: 10px;

  font-size: 1.3rem;

}



.planned-feature-grid p {

  color: #aaaab2;

}





/* =========================================

   ORIGINAL GALLERY FALLBACK

   ========================================= */



.development-gallery {

  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 20px;

}



.gallery-item,

.gallery-placeholder {

  border: 1px solid #29292f;

  border-radius: 14px;

  overflow: hidden;

  min-height: 320px;

}



.gallery-item img {

  width: 100%;

  height: 320px;

  object-fit: cover;

}



.gallery-item figcaption {

  padding: 15px 18px;

  color: #9999a1;

  background-color: #131316;

}



.gallery-placeholder {

  display: flex;

  align-items: center;

  justify-content: center;

  padding: 30px;

  border-style: dashed;

  color: #74747c;



  background:

    linear-gradient(

      135deg,

      #121216,

      #18181d

    );

}





/* =========================================

   INTERACTIVE PROJECT GALLERY

   ========================================= */



.development-gallery.interactive-gallery {

  display: block;

}



.interactive-gallery-stage {

  position: relative;

  overflow: hidden;



  border: 1px solid #29292f;

  border-radius: 16px;



  background-color: #08080a;

}



.interactive-gallery-image-button {

  position: relative;



  display: block;



  width: 100%;



  padding: 0;



  border: 0;



  background: transparent;



  cursor: zoom-in;

}



.interactive-gallery-main-image {

  width: 100%;

  height: min(68vh, 720px);



  object-fit: contain;



  background-color: #08080a;

}



.interactive-gallery-zoom-hint {

  position: absolute;



  right: 16px;

  bottom: 16px;



  padding: 8px 12px;



  border: 1px solid rgba(255, 255, 255, 0.16);

  border-radius: 999px;



  background-color: rgba(0, 0, 0, 0.72);



  color: #d2d2d7;



  font-size: 0.78rem;



  opacity: 0;



  transform: translateY(5px);



  transition:

    opacity 0.2s ease,

    transform 0.2s ease;

}



.interactive-gallery-image-button:hover

.interactive-gallery-zoom-hint {

  opacity: 1;



  transform: translateY(0);

}



.interactive-gallery-arrow {

  position: absolute;



  top: 50%;



  z-index: 5;



  width: 48px;

  height: 48px;



  border: 1px solid rgba(255, 255, 255, 0.18);

  border-radius: 50%;



  background-color: rgba(10, 10, 12, 0.78);



  color: white;



  font-size: 1.5rem;



  cursor: pointer;



  transform: translateY(-50%);



  transition:

    background-color 0.2s ease,

    border-color 0.2s ease,

    transform 0.2s ease;

}



.interactive-gallery-arrow:hover {

  background-color: rgba(35, 35, 40, 0.95);



  border-color: rgba(255, 255, 255, 0.4);

}



.interactive-gallery-prev {

  left: 16px;

}



.interactive-gallery-next {

  right: 16px;

}



.interactive-gallery-info {

  display: flex;



  justify-content: space-between;



  gap: 30px;



  align-items: flex-start;



  padding: 16px 2px 18px;

}



.interactive-gallery-counter {

  color: #777780;



  font-size: 0.9rem;



  white-space: nowrap;

}



.interactive-gallery-caption {

  color: #aaaab2;



  text-align: right;

}



.interactive-gallery-thumbnails {

  display: flex;



  gap: 10px;



  overflow-x: auto;



  padding: 4px 0 12px;



  scrollbar-width: thin;

}



.interactive-gallery-thumbnail {

  flex: 0 0 130px;



  height: 82px;



  padding: 0;



  overflow: hidden;



  border: 1px solid #29292f;

  border-radius: 8px;



  background-color: #111114;



  opacity: 0.58;



  cursor: pointer;



  transition:

    opacity 0.2s ease,

    border-color 0.2s ease,

    transform 0.2s ease;

}



.interactive-gallery-thumbnail:hover {

  opacity: 0.9;



  transform: translateY(-2px);

}



.interactive-gallery-thumbnail img {

  width: 100%;

  height: 100%;



  object-fit: cover;

}



.interactive-gallery-thumbnail.active-gallery-thumbnail {

  opacity: 1;



  border-color: #d0d0d5;

}





/* =========================================

   FULL-SCREEN LIGHTBOX

   ========================================= */



.lightbox-body-lock {

  overflow: hidden;

}



.project-lightbox {

  position: fixed;



  inset: 0;



  z-index: 5000;



  display: none;



  align-items: center;

  justify-content: center;



  padding: 70px 90px;



  background-color: rgba(0, 0, 0, 0.94);

}



.project-lightbox.lightbox-open {

  display: flex;

}



.project-lightbox-content {

  display: flex;



  flex-direction: column;



  align-items: center;



  justify-content: center;



  max-width: 100%;

  max-height: 100%;

}



.project-lightbox-image {

  max-width: 88vw;

  max-height: 80vh;



  object-fit: contain;



  border-radius: 8px;

}



.project-lightbox-bottom {

  width: 100%;



  max-width: 1000px;



  display: flex;



  justify-content: space-between;



  gap: 25px;



  margin-top: 16px;

}



.project-lightbox-counter {

  color: #83838b;



  white-space: nowrap;

}



.project-lightbox-caption {

  color: #c2c2c8;



  text-align: right;

}



.project-lightbox-close {

  position: absolute;



  top: 22px;

  right: 28px;



  width: 48px;

  height: 48px;



  border: 0;



  background: transparent;



  color: white;



  font-size: 2.2rem;



  line-height: 1;



  cursor: pointer;



  opacity: 0.8;



  transition: opacity 0.2s ease;

}



.project-lightbox-close:hover {

  opacity: 1;

}



.project-lightbox-arrow {

  position: absolute;



  top: 50%;



  width: 52px;

  height: 52px;



  border: 1px solid rgba(255, 255, 255, 0.22);

  border-radius: 50%;



  background-color: rgba(30, 30, 34, 0.72);



  color: white;



  font-size: 1.6rem;



  cursor: pointer;



  transform: translateY(-50%);



  transition:

    background-color 0.2s ease,

    border-color 0.2s ease;

}



.project-lightbox-arrow:hover {

  background-color: rgba(55, 55, 62, 0.95);



  border-color: rgba(255, 255, 255, 0.45);

}



.project-lightbox-prev {

  left: 24px;

}



.project-lightbox-next {

  right: 24px;

}





/* =========================================

   PROJECT NEXT / PREVIOUS

   ========================================= */



.project-next p:not(.section-label) {

  max-width: 650px;

  color: #bcbcc3;

  font-size: 1.1rem;

  margin-bottom: 30px;

}



.project-navigation {

  background-color: #0a0a0c;

}



.project-navigation-grid {

  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 20px;

}



.project-navigation-card {

  border: 1px solid #2d2d33;

  border-radius: 14px;

  padding: 30px;



  display: flex;

  flex-direction: column;

  gap: 45px;



  transition:

    transform 0.2s ease,

    border-color 0.2s ease,

    background-color 0.2s ease;

}



.project-navigation-card:hover {

  transform: translateY(-4px);

  border-color: #5a5a63;

  background-color: #141417;

}



.project-navigation-card span {

  color: #82828a;

  font-size: 0.9rem;

}



.project-navigation-card strong {

  font-size: 1.5rem;

}



.project-navigation-next {

  text-align: right;

}





/* =========================================

   FOOTER

   ========================================= */



.site-footer {

  border-top: 1px solid #242428;

  padding: 40px 30px;

}



.footer-container {

  max-width: 1200px;

  margin: 0 auto;

  color: #8e8e95;



  display: flex;

  justify-content: space-between;

  gap: 20px;

  flex-wrap: wrap;

}





/* =========================================

   RESPONSIVE DESIGN

   ========================================= */



@media (max-width: 950px) {



  .goal-grid {

    grid-template-columns: 1fr;

  }



  .goal-card {

    min-height: auto;

  }



  .card-number {

    margin-bottom: 30px;

  }



  .interest-grid {

    grid-template-columns: repeat(2, 1fr);

  }



  .next-link-grid {

    grid-template-columns: 1fr;

  }



  .projects-grid {

    grid-template-columns: 1fr;

  }



  .project-card-large {

    grid-column: span 1;

  }



  .compact-project-grid {

    grid-template-columns: 1fr;

  }



  .project-detail-meta {

    grid-template-columns: repeat(2, 1fr);

  }



  .project-two-column {

    grid-template-columns: 1fr;

    gap: 40px;

  }



  .status-grid {

    grid-template-columns: repeat(2, 1fr);

  }



  .planned-feature-grid {

    grid-template-columns: repeat(2, 1fr);

  }



}





@media (max-width: 800px) {



  .nav-container {

    flex-direction: column;

    gap: 18px;

  }



  .main-nav {

    flex-wrap: wrap;

    justify-content: center;

    gap: 16px;

  }



  .hero {

    min-height: auto;

  }



  .focus-grid {

    grid-template-columns: 1fr;

  }



  .strength-grid {

    grid-template-columns: 1fr;

  }



  .projects-section-heading {

    flex-direction: column;

    align-items: flex-start;

  }



  .project-section-header {

    flex-direction: column;

    align-items: flex-start;

  }



  .project-contributions ul {

    grid-template-columns: 1fr;

  }



  .development-gallery {

    grid-template-columns: 1fr;

  }



  .system-row {

    grid-template-columns: 1fr;

    gap: 8px;

  }



  .project-navigation-grid {

    grid-template-columns: 1fr;

  }



  .project-navigation-next {

    text-align: left;

  }



  .footer-container {

    flex-direction: column;

  }



  .project-lightbox {

    padding: 65px 55px;

  }



  .project-lightbox-prev {

    left: 8px;

  }



  .project-lightbox-next {

    right: 8px;

  }



}





@media (max-width: 650px) {



  .section {

    padding: 75px 20px;

  }



  .about-hero {

    padding: 90px 20px 75px;

  }



  .projects-hero {

    padding: 90px 20px 75px;

  }



  .project-detail-hero {

    padding: 75px 20px 65px;

  }



  .project-filter-section {

    padding: 25px 20px;

  }



  .project-visual-section {

    padding: 20px;

  }



  .interest-grid {

    grid-template-columns: 1fr;

  }



  .education-heading {

    flex-direction: column;

  }



  .skill-row {

    flex-direction: column;

    gap: 4px;

  }



  .skill-level {

    text-align: left;

  }



  .learning-item {

    grid-template-columns: 45px 1fr;

    gap: 15px;

  }



  .project-card {

    padding: 24px;

  }



  .project-card-top {

    margin-bottom: 40px;

  }



  .project-detail-meta {

    grid-template-columns: 1fr;

  }



  .project-placeholder {

    min-height: 380px;

    padding: 30px;

  }



  .project-placeholder-large {

    min-height: 470px;

  }



  .status-grid {

    grid-template-columns: 1fr;

  }



  .status-card {

    min-height: auto;

  }



  .status-card > span {

    margin-bottom: 30px;

  }



  .planned-feature-grid {

    grid-template-columns: 1fr;

  }



  .interactive-gallery-main-image {

    height: 52vh;

  }



  .interactive-gallery-arrow {

    width: 40px;

    height: 40px;

  }



  .interactive-gallery-prev {

    left: 8px;

  }



  .interactive-gallery-next {

    right: 8px;

  }



  .interactive-gallery-info {

    flex-direction: column;

    gap: 4px;

  }



  .interactive-gallery-caption {

    text-align: left;

  }



  .interactive-gallery-thumbnail {

    flex-basis: 100px;

    height: 65px;

  }



  .project-lightbox {

    padding: 60px 12px 30px;

  }



  .project-lightbox-image {

    max-width: 96vw;

    max-height: 72vh;

  }



  .project-lightbox-arrow {

    width: 40px;

    height: 40px;

    top: auto;

    bottom: 18px;

  }



  .project-lightbox-prev {

    left: 18px;

  }



  .project-lightbox-next {

    right: 18px;

  }



  .project-lightbox-bottom {

    padding: 0 12px 55px;



    flex-direction: column;



    gap: 4px;

  }



  .project-lightbox-caption {

    text-align: left;

  }



}


/* =========================================
   SITE-WIDE MOTION SYSTEM
   ========================================= */

body.animations-ready {
  opacity: 1;

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

body.animations-ready.page-exit {
  opacity: 0;
  transform: translateY(5px);
}


/* -----------------------------------------
   SCROLL REVEALS
   ----------------------------------------- */

.reveal-item {
  opacity: 0;

  transition:
    opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);

  transition-delay: var(--reveal-delay, 0ms);

  will-change: opacity, transform;
}

.reveal-up {
  transform: translateY(32px);
}

.reveal-left {
  transform: translateX(-36px);
}

.reveal-right {
  transform: translateX(36px);
}

.reveal-scale {
  transform: translateY(18px) scale(0.975);
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}


/* -----------------------------------------
   HOME PAGE
   ----------------------------------------- */

.page-home .hero h1.reveal-item {
  transition-duration: 0.9s;
}

.page-home .hero-buttons.reveal-item {
  --reveal-delay: 240ms;
}

.page-home .focus-card {
  transform-origin: center bottom;
}


/* -----------------------------------------
   ABOUT PAGE
   ----------------------------------------- */

.page-about .about-hero-title {
  overflow: hidden;
}

.page-about .about-hero-title span.reveal-item {
  transition-duration: 0.85s;
}


/* -----------------------------------------
   PROJECT LISTS
   ----------------------------------------- */

.page-projects .project-card.reveal-item {
  transform-origin: center bottom;
}

.page-projects .project-card.filter-enter.is-visible {
  animation: projectCardFilterIn 0.34s ease both;
}

@keyframes projectCardFilterIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.99);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}


/* -----------------------------------------
   PROJECT DETAIL PAGES
   ----------------------------------------- */

.page-project-detail .project-image {
  overflow: hidden;
  border-radius: 16px;
}

.page-project-detail .project-image img {
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.45s ease;
}

.page-project-detail .project-image:hover img {
  transform: scale(1.012);
}

.page-project-detail .system-row {
  transition:
    opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.2s ease;
}

.page-project-detail .system-row:hover {
  background-color: rgba(255, 255, 255, 0.018);
}


/* -----------------------------------------
   EXPERIENCE PAGE
   ----------------------------------------- */

.page-experience .project-visual-section .project-image {
  overflow: hidden;
  border-radius: 16px;
}

.page-experience .project-visual-section .project-image img {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-experience .project-visual-section .project-image:hover img {
  transform: scale(1.025);
}


/* -----------------------------------------
   RESUME PAGE
   ----------------------------------------- */

.page-resume .resume-document.reveal-item {
  transform-origin: center top;
  transition-duration: 0.85s;
}

.page-resume .resume-button {
  position: relative;
  overflow: hidden;
}

.page-resume .resume-button::after {
  content: "";

  position: absolute;
  inset: 0;

  background: linear-gradient(
    115deg,
    transparent 20%,
    rgba(255, 255, 255, 0.12) 50%,
    transparent 80%
  );

  transform: translateX(-120%);

  transition: transform 0.55s ease;

  pointer-events: none;
}

.page-resume .resume-button:hover::after {
  transform: translateX(120%);
}


/* -----------------------------------------
   CONTACT PAGE
   ----------------------------------------- */

.page-contact .contact-card {
  position: relative;
  overflow: hidden;
}

.page-contact .contact-card::before {
  content: "";

  position: absolute;
  inset: 0;

  background: radial-gradient(
    circle at top right,
    rgba(255, 255, 255, 0.055),
    transparent 48%
  );

  opacity: 0;

  transition: opacity 0.25s ease;

  pointer-events: none;
}

.page-contact .contact-card:hover::before {
  opacity: 1;
}

.page-contact .contact-arrow {
  transition: transform 0.25s ease;
}

.page-contact .contact-card:hover .contact-arrow {
  transform: translateX(6px);
}

.page-contact .contact-email-button {
  position: relative;
  overflow: hidden;
}

.page-contact .contact-email-button::after {
  content: "";

  position: absolute;
  top: 0;
  bottom: 0;
  left: -45%;

  width: 35%;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.55),
    transparent
  );

  transform: skewX(-18deg);

  transition: left 0.55s ease;

  pointer-events: none;
}

.page-contact .contact-email-button:hover::after {
  left: 115%;
}


/* -----------------------------------------
   NAVIGATION MICRO-INTERACTION
   ----------------------------------------- */

.main-nav a {
  position: relative;
}

.main-nav a::after {
  content: "";

  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;

  height: 1px;

  background-color: currentColor;

  transform: scaleX(0);
  transform-origin: right;

  transition: transform 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a.active-nav::after {
  transform: scaleX(1);
  transform-origin: left;
}


/* -----------------------------------------
   GALLERY MOTION
   ----------------------------------------- */

.interactive-gallery-main-image {
  transition:
    opacity 0.25s ease,
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.interactive-gallery-image-button:hover
.interactive-gallery-main-image {
  transform: scale(1.006);
}

.project-lightbox.lightbox-open {
  animation: lightboxFadeIn 0.2s ease both;
}

.project-lightbox.lightbox-open .project-lightbox-content {
  animation: lightboxContentIn 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes lightboxFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes lightboxContentIn {
  from {
    opacity: 0;
    transform: scale(0.97);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}


/* -----------------------------------------
   ACCESSIBILITY: REDUCED MOTION
   ----------------------------------------- */

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

  html {
    scroll-behavior: auto;
  }

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

  .reveal-item,
  .reveal-up,
  .reveal-left,
  .reveal-right,
  .reveal-scale,
  .reveal-item.is-visible {
    opacity: 1 !important;
    transform: none !important;
  }

  body.animations-ready.page-exit {
    opacity: 1;
    transform: none;
  }

}
