@import url("fonts.css");

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

/* Theme tokens */
:root {
  /* shared */
  --accent: #f98900;
  --accent-2: #4297c5;
  --hero-code: #7cff4d;
  --radius-card: 16px;
  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.12);
  --shadow-strong: 0 16px 40px rgba(0, 0, 0, 0.22);

  /* Light (Scandinavian minimal) — high contrast vs dark */
  --bg: #fbfbfd;
  --bg-2: #ffffff;
  --surface: #ffffff;
  --surface-2: #f3f4f8;
  --border: rgba(15, 23, 42, 0.1);
  --text: rgba(15, 23, 42, 0.94);
  --muted: rgba(15, 23, 42, 0.58);
  --link: #1f5fbf;
}

html[data-theme="dark"] {
  /* Dark (defense-tech minimal) — clearly not grey-on-grey */
  --bg: #000000;
  --bg-2: #050608;
  --surface: #0b0f14;
  --surface-2: #121922;
  --border: rgba(255, 255, 255, 0.14);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.62);
  --link: #7db7ff;
  --shadow-soft: 0 16px 40px rgba(0, 0, 0, 0.45);
  --shadow-strong: 0 22px 60px rgba(0, 0, 0, 0.55);
  --hero-code: #7cff4d;
}

html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text);
}

body {
  margin: 0px; /* Add this line to remove default body margin */
  font-size: 1rem; /* Base font size */
  line-height: 1.5;
  background: var(--bg);
  color: var(--text);
}

header {
  margin: 0; /* Add this line to remove default header margin */
  padding: 0; /* Add this line to remove default header padding */
  background: url("background-images/diving copy.jpg") no-repeat top center
    fixed;
  background-size: cover; /* Add this line to make the background image cover the entire header */
  color: black;
  min-height: 100vh;
  text-align: center;
  overflow: hidden;
  align-items: center;
  line-height: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.intro {
  display: flex;
  flex-direction: row;
  font-size: 20px;
}

/* Theme toggle button */
.nav-actions {
  margin-left: auto;
  padding-right: 8px;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.25);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.theme-toggle-floating {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 9999;
}

/* Light theme toggle: bright control */
html:not([data-theme="dark"]) .theme-toggle {
  border-color: rgba(15, 23, 42, 0.12);
  background: #ffffff;
  color: rgba(15, 23, 42, 0.92);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

html:not([data-theme="dark"]) .theme-toggle-indicator {
  border-color: rgba(15, 23, 42, 0.2);
  background: rgba(15, 23, 42, 0.06);
}

html:not([data-theme="dark"]) .theme-toggle-indicator::after {
  background: #0f172a;
}

html[data-theme="dark"] .theme-toggle {
  border-color: rgba(255, 255, 255, 0.35);
  background: #050608;
  color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
}

html[data-theme="dark"] .theme-toggle-indicator {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.theme-toggle-floating:hover {
  transform: translateY(-1px);
}

.theme-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.35);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.theme-toggle-label {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 650;
}

.theme-toggle-indicator {
  width: 34px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  position: relative;
}

.theme-toggle-indicator::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 3px;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  transition:
    left 0.25s ease,
    background 0.25s ease;
}

html[data-theme="dark"] .theme-toggle-indicator::after {
  left: 18px;
  background: var(--hero-code);
}

/* Style the navigation menu */
.navigation {
  position: fixed;
  list-style-type: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0; /* Add this line to remove default padding */
  margin: 0; /* Add this line to remove default margin */
  width: 100%;

  padding-top: 10px;
  padding-left: 5px;
  color: white;
}
.metaFood {
  background-size: cover;
  color: black;
  min-height: 100vh;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.navigation li {
  display: inline;
  margin-right: 0px;
  padding-right: 0px;
}

.navigation.show {
  top: 0;
  background-color: rgba(15, 19, 24, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  width: 100%;
}

.navigation li a {
  color: white;
  text-decoration: none;
  text-align: center;
  margin-right: 0px;
  padding-right: 3vw;
  padding-left: 2vw;
  font-size: 20px;
}

/* Style the dropdown menu */
.navigation li ul {
  display: none;
  position: absolute;
  top: 100%;
  text-align: left;
  /*padding: 12px 16px;/* Add this line to add padding around dropdown items */
  padding: 0px;
  padding-right: 0px;
  margin-right: 0px;
}

.navigation li:hover ul {
  display: block;
  background-color: rgba(15, 19, 24, 0.92);
  display: flex;
  flex-direction: column;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  text-align: left;
  /*padding: 2vh;*/
}

.navigation li ul a {
  display: block;
  white-space: nowrap;
  /*box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);/* Add this line to add shadow to dropdown items */
  padding: 10px;
  color: rgb(251, 251, 252);
}
.navigation li ul a:hover {
  background-color: rgba(255, 255, 255, 0.06);
  width: 100%;
}

/* .cursorI {
  border-right: 2px solid;
  animation: blink 0.7s 1s infinite;
} */

/* Style the main section */
.features {
  margin-top: 0;
  text-align: left;
  margin-bottom: 0;
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.features figure {
  width: 100%;
  margin: 0;
}

.features figcaption {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.name {
  width: 100%;
  max-width: 1100px;
  margin: 0;
  padding: clamp(120px, 24vh, 260px) clamp(14px, 3vw, 40px) 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.name h2 {
  justify-content: flex-start;
}

.features h2 {
  margin-bottom: 10px;
  color: black;
  font-size: 37px;
  font-family: var(--font-tech);
  line-height: 1.4;
  color: var(--hero-code);
  max-width: 35vw;
  overflow-wrap: anywhere;
}

.features h1 {
  margin-top: 0px;
  margin-bottom: 0px;
  color: black;
  font-size: 7vw;
  padding-top: 20vh;
  width: 55vw;
  position: left;
}

.features p {
  margin-top: 10px;
  margin-bottom: 20px;
  color: black;
  font-size: 20px;
}

.features img {
  max-width: 100%;
  height: auto;
}

/* Style the note section */
.note {
  background-color: #333;
  color: rgb(255, 222, 195);
  padding: 10px;
  text-align: center;
}

.skills-section {
  width: 100%;
  margin: 0;
  padding: 0;
  font-weight: normal;
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
}

.skills-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      circle at 20% 40%,
      rgba(66, 151, 197, 0.08) 0%,
      transparent 55%
    ),
    radial-gradient(
      circle at 80% 75%,
      rgba(249, 137, 0, 0.06) 0%,
      transparent 55%
    );
  pointer-events: none;
}

html[data-theme="dark"] .skills-section::before {
  background:
    radial-gradient(
      circle at 20% 35%,
      rgba(66, 151, 197, 0.14) 0%,
      transparent 55%
    ),
    radial-gradient(
      circle at 80% 75%,
      rgba(249, 137, 0, 0.1) 0%,
      transparent 55%
    );
}

.skills-section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 5vw;
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: 3rem;
  color: #4297c5;
  margin-bottom: 3rem;
  text-align: center;
  position: relative;
  padding-bottom: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #4297c5 0%, #f98900 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s ease-out;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #4297c5, #f98900, #4297c5);
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(66, 151, 197, 0.3);
  animation: expandWidth 0.8s ease-out 0.3s both;
}

@keyframes expandWidth {
  from {
    width: 0;
  }
  to {
    width: 100px;
  }
}

/* Welcome Section */
.welcome-section {
  margin-bottom: 4rem;
}

.welcome-section .section-title.welcome-title {
  /* Kill the gradient text/underline for Welcome only */
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: initial;
  color: var(--hero-code);
  margin-bottom: 1rem;
  font-family: var(--font-tech);
}

.welcome-section .section-title.welcome-title::after {
  background: var(--hero-code);
  box-shadow: none;
}

.welcome-lede {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
  letter-spacing: -0.01em;
}

.welcome-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.welcome-card {
  /* More Palantir/Anduril-like: solid, minimal, crisp */
  background: var(--surface);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 2.5rem;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
  border: 1px solid var(--border);
  border-left: 4px solid rgba(249, 137, 0, 0.9);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.welcome-card::after {
  /* Remove the shiny sweep */
  content: none;
}

.welcome-card:hover::after {
  content: none;
}

.welcome-card:nth-child(1) {
  animation-delay: 0.1s;
}
.welcome-card:nth-child(2) {
  animation-delay: 0.2s;
}
.welcome-card:nth-child(3) {
  animation-delay: 0.3s;
}
.welcome-card:nth-child(4) {
  animation-delay: 0.4s;
}

.welcome-card:hover {
  transform: translateY(-6px);
  background: var(--surface-2);
  border-color: rgba(249, 137, 0, 0.25);
  border-left-color: var(--accent);
}

.welcome-card-title {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 650;
}

.welcome-card p {
  line-height: 1.8;
  color: var(--text);
  margin: 0;
  font-size: 1rem;
}

.welcome-intro {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem !important;
}

.welcome-card strong {
  color: var(--accent);
  font-weight: 600;
}

/* Skills Section - Tag Cloud Visualization */
.skills-visualization {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.skill-category {
  position: relative;
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.skill-category:nth-child(1) {
  animation-delay: 0.1s;
}
.skill-category:nth-child(2) {
  animation-delay: 0.3s;
}
.skill-category:nth-child(3) {
  animation-delay: 0.5s;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(8, 163, 247, 0.2);
}

.category-icon {
  font-size: 2rem;
  color: #ddb218;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(66, 151, 197, 0.1);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.skill-category:hover .category-icon {
  background: rgba(249, 137, 0, 0.15);
  color: var(--hero-code);
  transform: rotate(5deg) scale(1.1);
}

.category-header h3 {
  color: white;
  margin: 0;
  font-size: 1.75rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.skill-category:hover .category-header h3 {
  color: var(--hero-code);
}

.skill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: flex-start;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 20px;
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  min-height: 150px;
  position: relative;
  overflow: hidden;
}

.skill-cloud::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(66, 151, 197, 0.05) 0%,
    transparent 70%
  );
  animation: float 20s ease-in-out infinite;
  pointer-events: none;
}

.skill-bubble {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: linear-gradient(
    135deg,
    rgba(66, 151, 197, 0.15) 0%,
    rgba(90, 179, 224, 0.15) 100%
  );
  color: #001906;
  border-radius: 25px;
  font-size: 0.95rem;
  font-weight: 500;
  border: 2px solid rgba(66, 151, 197, 0.3);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: default;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.skill-bubble::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(66, 151, 197, 0.2);
  transform: translate(-50%, -50%);
  transition:
    width 0.4s,
    height 0.4s;
}

.skill-bubble:hover {
  transform: translateY(-4px) scale(1.1);
  background: linear-gradient(135deg, #4297c5 0%, #5ab3e0 100%);
  color: white;
  border-color: #4297c5;
  box-shadow:
    0 8px 16px rgba(66, 151, 197, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.skill-bubble:hover::before {
  width: 300px;
  height: 300px;
}

.skill-bubble[data-size="large"] {
  font-size: 1.15rem;
  padding: 0.8rem 1.5rem;
  font-weight: 600;
}

.skill-bubble[data-size="medium"] {
  font-size: 1rem;
  padding: 0.7rem 1.3rem;
}

.skill-bubble[data-size="small"] {
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
}

.skill-tag {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: linear-gradient(135deg, #4297c5 0%, #5ab3e0 100%);
  color: white;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow:
    0 4px 6px rgba(66, 151, 197, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.skill-tag::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition:
    width 0.4s,
    height 0.4s;
}

.skill-tag:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow:
    0 8px 16px rgba(66, 151, 197, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, #f98900 0%, #ffb347 100%);
}

.skill-tag:hover::before {
  width: 300px;
  height: 300px;
}

.ProjectList {
  background: var(--bg-2);
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin: 0;
  position: relative;
  overflow: hidden;
}

html[data-theme="dark"] .ProjectList {
  background: var(--bg);
}

.ProjectList::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      circle at 30% 20%,
      rgba(66, 151, 197, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 60%,
      rgba(249, 137, 0, 0.08) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.ProjectList-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 5vw;
  width: 100%;
  position: relative;
  z-index: 1;
}

.ProjectList .section-title {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: initial;
  color: var(--hero-code);
}

.ProjectList .section-title::after {
  display: none;
}

/* Endeavors — bento grid (wide: 3×4 template; stays inside inner width so columns aren’t clipped) */
.endeavors-bento {
  --bento-gap: 6px;
  width: 100%;
  margin-top: 1rem;
}

@media (min-width: 769px) {
  /* Edge inset = gap between tiles (20px to screen edges) */
  .ProjectList-inner {
    --bento-gap: 20px;
    padding: 80px var(--bento-gap);
  }

  .endeavors-bento {
    --bento-gap: inherit;
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    container-type: inline-size;
    container-name: endeavors-bento;
  }

  .ProjectList {
    overflow: visible;
  }

  /* Row height = column width → 1×1 cells stay square: (container width − 2 gaps) / 3 */
  .bento-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    --bento-cell: calc((100cqw - 2 * var(--bento-gap)) / 3);
    grid-template-rows: repeat(4, minmax(0, var(--bento-cell)));
    grid-template-areas:
      "b1 b2 b3"
      "b4 b4 b5"
      "b6 b7 b8"
      "b6 b9 b10";
    grid-auto-rows: var(--bento-cell);
    gap: var(--bento-gap);
  }

  .bento-cell-1 {
    grid-area: b1;
  }
  .bento-cell-2 {
    grid-area: b2;
  }
  .bento-cell-3 {
    grid-area: b3;
  }
  .bento-cell-4 {
    grid-area: b4;
  }
  .bento-cell-5 {
    grid-area: b5;
  }
  .bento-cell-6 {
    grid-area: b6;
  }
  .bento-cell-7 {
    grid-area: b7;
  }
  .bento-cell-8 {
    grid-area: b8;
  }
  .bento-cell-9 {
    grid-area: b9;
  }
  .bento-cell-10 {
    grid-area: b10;
  }

  .bento-tile.bento-cell-1,
  .bento-tile.bento-cell-2,
  .bento-tile.bento-cell-3,
  .bento-tile.bento-cell-5,
  .bento-tile.bento-cell-7,
  .bento-tile.bento-cell-8,
  .bento-tile.bento-cell-9,
  .bento-tile.bento-cell-10 {
    min-height: 0;
    align-self: stretch;
  }
}

/* Browsers without cqw: approximate square cell (edge padding already equals --bento-gap on inner) */
@supports not (width: 1cqw) {
  @media (min-width: 769px) {
    .bento-grid {
      --bento-cell: calc((100vw - 4 * var(--bento-gap)) / 3);
    }
  }
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--bento-gap, 6px);
  width: 100%;
  min-height: 0;
}

.bento-tile {
  position: relative;
  isolation: isolate;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: left;
  color: #fff;
  overflow: hidden;
  border-radius: 2px;
  min-height: 0;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

.bento-tile:focus-visible {
  outline: 2px solid var(--hero-code);
  outline-offset: 3px;
  z-index: 2;
}

.bento-tile:hover {
  transform: scale(1.01);
  z-index: 1;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.bento-tile-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--bento-img);
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: transform 0.35s ease;
}

.bento-tile:hover .bento-tile-bg {
  transform: scale(1.08);
}

/* Full image spans tile width; extra space below; keep graphic at top (Asclepius landing) */
.bento-tile--img-fit-width-top .bento-tile-bg {
  background-size: 100% auto;
  background-position: top center;
  background-repeat: no-repeat;
  transform: none;
}

.bento-tile--img-fit-width-top:hover .bento-tile-bg {
  transform: scale(1.02);
}

/* Full image visible in tile (no cover crop); letterboxing OK (e.g. MetaFood) */
.bento-tile--img-contain .bento-tile-bg {
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  transform: none;
}

.bento-tile--img-contain:hover .bento-tile-bg {
  transform: scale(1.02);
}

.bento-tile-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.65) 100%
  );
}

.bento-tile-label {
  position: absolute;
  left: 14px;
  bottom: 12px;
  right: 12px;
  font-family: var(--font-tech);
  font-weight: 700;
  font-size: clamp(0.85rem, 1.8vw, 1.9rem);
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--hero-code);
  text-shadow:
    0 0 1px rgba(0, 0, 0, 0.9),
    0 2px 14px rgba(0, 0, 0, 0.75);
  z-index: 1;
  transition: opacity 0.2s ease;
}

/* In-tile detail (no modal): blur photo, frosted panel, dynamic grid span via JS */
.bento-tile.is-expanded {
  z-index: 10;
  transform: none;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.143);
}

.bento-tile.is-expanded:hover {
  transform: none;
}

.bento-tile.is-expanded .bento-tile-label {
  opacity: 0;
  pointer-events: none;
}

.bento-tile.is-expanded .bento-tile-bg {
  filter: blur(1px);
  transform: scale(1.04);
}

.bento-tile--img-fit-width-top.is-expanded .bento-tile-bg {
  transform: scale(1.03);
}

.bento-tile--img-contain.is-expanded .bento-tile-bg {
  transform: scale(1.03);
}

.bento-tile.is-expanded .bento-tile-bg::after {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.82) 100%
  );
}

.bento-tile.bento-tile--covered {
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
}

/* Keep [hidden] effective: do not set display:flex on the base rule or it overrides UA [hidden]{display:none} */
.bento-tile-panel {
  position: absolute;
  inset: 0;
  z-index: 5;
  flex-direction: column;
  min-height: 0;
  text-align: left;
  background: rgba(11, 15, 20, 0.82);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(5px);
  color: rgba(255, 255, 255, 0.95);
}

.bento-tile-panel:not([hidden]) {
  display: flex;
}

.bento-tile-panel[hidden] {
  display: none !important;
}

html:not([data-theme="dark"]) .bento-tile-panel {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
}

.bento-tile-panel-head {
  padding: 10px 12px 8px;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

html:not([data-theme="dark"]) .bento-tile-panel-head {
  border-bottom-color: rgba(15, 23, 42, 0.12);
}

.bento-tile-panel-title {
  margin: 0;
  font-size: clamp(1.6rem, 2vw, 1.9rem);
  font-weight: 700;
  line-height: 1.25;
  font-family: var(--font-tech);
  color: var(--hero-code);
}

.bento-tile-panel-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 8px 12px 12px;
  -webkit-overflow-scrolling: touch;
  font-size: 200%;
}

.bento-tile-panel .bento-detail p {
  margin-bottom: 1rem;
  line-height: 1.75;
  color: inherit;
}

.bento-tile-panel .bento-detail h3 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1.05em;
  font-weight: 700;
  line-height: 1.3;
  color: inherit;
}

.bento-tile-panel .bento-detail h3:first-child {
  margin-top: 0;
}

.bento-tile-panel .bento-detail ul {
  margin: 0 0 1rem;
  padding-left: 1.25em;
  line-height: 1.75;
}

.bento-tile-panel .bento-detail li {
  margin-bottom: 0.65rem;
}

.bento-tile-panel .bento-detail li:last-child {
  margin-bottom: 0;
}

.bento-tile-panel .bento-detail .project-intro {
  opacity: 0.92;
}

html:not([data-theme="dark"]) .bento-tile-panel .bento-detail .project-intro {
  color: var(--muted, rgba(15, 23, 42, 0.75));
}

.bento-tile-panel .bento-detail a {
  color: var(--hero-code);
  text-decoration: underline;
  text-underline-offset: 2px;
}

html:not([data-theme="dark"]) .bento-tile-panel .bento-detail a {
  color: #2563eb;
}

/* Off-screen measurer: match panel typography for span calculation */
.bento-measurer {
  box-sizing: border-box;
  font-family: var(--font-tech);
  font-size: 200%;
}

.bento-measurer .bento-detail p {
  margin-bottom: 1rem;
  line-height: 1.75;
  color: var(--text);
}

@media (prefers-reduced-motion: reduce) {
  .bento-tile.is-expanded .bento-tile-bg {
    filter: none;
  }
}

.bento-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: grid;
  place-items: center;
  padding: 24px;
}

.bento-overlay[hidden] {
  display: none;
}

.bento-overlay-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.72);
}

.bento-overlay-panel {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(85vh, 900px);
  overflow: auto;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-strong);
}

.bento-overlay-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 1rem 1rem 0.5rem;
  border-bottom: 1px solid var(--border);
}

.bento-overlay-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.25;
}

.bento-close {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.bento-close:hover {
  filter: brightness(1.05);
}

.bento-overlay-body {
  padding: 1rem 1.25rem 1.5rem;
}

.bento-detail p {
  margin-bottom: 1rem;
  line-height: 1.75;
  color: var(--text);
}

html[data-theme="dark"] .bento-detail .project-intro {
  color: var(--muted);
}

@media (max-width: 768px) {
  .bento-grid {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .bento-tile {
    min-height: 140px;
    width: 100%;
  }
}

.project-item {
  width: 100%;
  margin-bottom: 2rem;
}

.project-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 3rem;
  border-radius: 20px;
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.1),
    0 4px 12px rgba(249, 137, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-left: 5px solid #f98900;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.project-card::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(249, 137, 0, 0.1) 0%,
    transparent 70%
  );
  opacity: 0;
  transition:
    opacity 0.4s,
    transform 0.4s;
  transform: rotate(45deg);
  pointer-events: none;
}

/* .project-item:nth-child(1) is the Endeavors heading — skip it */
.project-item:nth-child(2) .project-card {
  animation-delay: 0.1s;
}
.project-item:nth-child(3) .project-card {
  animation-delay: 0.2s;
}
.project-item:nth-child(4) .project-card {
  animation-delay: 0.3s;
}
.project-item:nth-child(5) .project-card {
  animation-delay: 0.4s;
}
.project-item:nth-child(6) .project-card {
  animation-delay: 0.5s;
}
.project-item:nth-child(7) .project-card {
  animation-delay: 0.6s;
}
.project-item:nth-child(8) .project-card {
  animation-delay: 0.7s;
}
.project-item:nth-child(9) .project-card {
  animation-delay: 0.8s;
}

.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #f98900, #4297c5);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.15),
    0 10px 20px rgba(249, 137, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border-left-color: #4297c5;
}

.project-card:hover::before {
  transform: scaleY(1);
}

.project-card:hover::after {
  opacity: 1;
  transform: rotate(45deg) scale(1.2);
}

.project-card h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.75rem;
  color: #4272c5;
  font-weight: 600;
}

.project-card h3 a {
  color: #4272c5;
  text-decoration: none;
  transition: color 0.3s ease;
}

.project-card h3 a:hover {
  color: #f98900;
  text-decoration: underline;
}

/* Endeavors: collapsible rows (title only until opened) */
.project-card.endeavor-details {
  padding: 0;
}

.endeavor-details .endeavor-summary::-webkit-details-marker,
.endeavor-details .endeavor-summary::marker {
  display: none;
}

.endeavor-summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.35rem 1.75rem;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition:
    background 0.25s ease,
    color 0.25s ease;
  border-radius: 20px;
}

.endeavor-title {
  margin: 0;
  font-size: 1.75rem;
  color: #4272c5;
  font-weight: 600;
  line-height: 1.3;
  flex: 1;
  text-align: left;
}

.endeavor-chevron {
  flex-shrink: 0;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid #4272c5;
  border-bottom: 2px solid #4272c5;
  transform: rotate(-45deg);
  opacity: 0.75;
  transition:
    transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    border-color 0.25s ease,
    opacity 0.25s ease;
}

.endeavor-details[open] .endeavor-chevron {
  transform: rotate(45deg);
  margin-top: -0.15rem;
}

.endeavor-summary:focus {
  outline: none;
}

.endeavor-summary:focus-visible {
  outline: 2px solid #4297c5;
  outline-offset: 3px;
}

.endeavor-summary:hover {
  background: linear-gradient(
    90deg,
    rgba(66, 151, 197, 0.1) 0%,
    rgba(249, 137, 0, 0.06) 100%
  );
}

.endeavor-summary:hover .endeavor-title {
  color: #f98900;
}

.endeavor-summary:hover .endeavor-chevron {
  border-color: #f98900;
  opacity: 1;
}

.endeavor-details[open] .endeavor-summary {
  border-radius: 20px 20px 0 0;
  background: linear-gradient(
    90deg,
    rgba(66, 151, 197, 0.08) 0%,
    rgba(249, 137, 0, 0.05) 100%
  );
}

.endeavor-details[open] .endeavor-title {
  color: #4297c5;
}

.endeavor-body {
  padding: 0 1.75rem 2rem;
  border-top: 1px solid rgba(66, 151, 197, 0.2);
  animation: endeavorReveal 0.35s ease-out;
}

.endeavor-body .project-intro:first-child {
  margin-top: 0;
}

.endeavor-link-out {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.endeavor-link-out a {
  font-weight: 600;
}

@keyframes endeavorReveal {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .endeavor-body {
    animation: none;
  }
  .endeavor-chevron {
    transition: none;
  }
}

.project-intro {
  font-style: italic;
  color: #666;
  margin-bottom: 1rem;
  padding: 1rem 1.5rem;
  border-left: 4px solid #4297c5;
  background: linear-gradient(
    90deg,
    rgba(66, 151, 197, 0.05) 0%,
    transparent 100%
  );
  border-radius: 0 8px 8px 0;
  position: relative;
}

.project-intro::before {
  content: '"';
  position: absolute;
  left: 0.5rem;
  top: -0.5rem;
  font-size: 3rem;
  color: rgba(66, 151, 197, 0.2);
  font-family: var(--font-tech);
  line-height: 1;
}

.project-card p {
  line-height: 1.8;
  color: #333;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.project-card a {
  color: #4297c5;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.project-card a:hover {
  color: #f98900;
  text-decoration: underline;
}

.download-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #4297c5 0%, #5ab3e0 100%);
  color: white !important;
  border-radius: 30px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow:
    0 4px 6px rgba(66, 151, 197, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  font-weight: 500;
}

.download-link::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition:
    width 0.4s,
    height 0.4s;
}

.download-link:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow:
    0 8px 16px rgba(66, 151, 197, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, #f98900 0%, #ffb347 100%);
  text-decoration: none !important;
}

.download-link:hover::before {
  width: 300px;
  height: 300px;
}

.download-link i {
  transition: transform 0.3s;
}

.download-link:hover i {
  transform: translateY(-2px);
}

.seniorProject {
  padding: 20px;
  display: flex;
  flex-direction: column;
  /* align-items: center;  */
  margin-top: 30px;
  margin-bottom: 30px;
}

.seniorProject div {
  display: flex;
  flex-direction: column;
  justify-content: left;
  padding: 20px;
  margin: 0px;
}

.seniorProject div img {
  width: 30vw;
  height: 30vw;
  margin-right: 20px;
}

.ContactMe {
  background-color: rgb(255, 255, 255);
  /* padding: 20px; */
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 20px;
  height: 50vh;
  width: 100vw;
  padding-top: 25vh;
}

.ContactMe h3 {
  font-size: 5vw;
  font-family: inherit;
}

.ContactMe h2 {
  margin-top: 10px;
  margin-bottom: 20px;
  font-size: 24px;
}

.contacts {
  display: flex;
  justify-content: center;
  align-items: center;
}

.fab.fa-linkedin,
.fab.fa-github {
  font-size: 5vh; /* Adjust the size as needed */
  color: black;
}

/* Style the footer */
footer {
  background-color: #333;
  color: rgb(255, 227, 202);
  padding: 7px;
  text-align: center;
}

.cursor {
  animation: blink 1s infinite;
}

@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Advanced scroll animations */
@media (prefers-reduced-motion: no-preference) {
  .welcome-card,
  .skill-card,
  .project-card {
    will-change: transform;
  }
}

/* Parallax effect for sections */
.skills-section,
.ProjectList {
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
}

/* Avoid 3D/transform flattening glitches with the endeavors grid on large screens */
@media (min-width: 769px) {
  .ProjectList {
    transform: none;
    perspective: none;
    backface-visibility: visible;
  }
}

/* Media queries for responsiveness */
@media (max-width: 867px) {
  /* Styles for iPhones and smaller devices */

  header {
    background: black;
    background-size: cover;
    max-width: 100%;
    height: auto;
    color: white;
    min-height: 100vh;
  }

  /* body styles inherit from base theme */

  .navigation {
    font-size: 11px;
    width: 100%;
    display: none;
  }

  .features {
    margin-top: 2rem;
    text-align: left;
    overflow: visible;
    align-items: center;
    display: flex;
    flex-direction: row;
    justify-content: center;
    /* background: rgb(0, 0, 0); */
  }

  .name {
    color: white;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    padding-top: 0;
    text-align: center;
    font-family: var(--font-tech);
  }

  .features h1 {
    font-size: 15vw;
    padding-top: 20px;
    color: white;
  }

  .features h2 {
    font-size: 20px;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    color: var(--hero-code);
    max-width: 90vw;
  }

  .features p {
    font-size: 16px;
    margin-top: 0rem;
    margin-bottom: 0px;
    color: rgb(195, 195, 195);
    text-align: center;
  }
  .intro {
    height: 100px;
  }

  .note {
    font-size: 12px;
  }

  .skills-section {
    font-size: 12px;
    padding: 0;
    margin-bottom: 20px;
    text-align: center;
    align-items: center;
    background: rgb(53, 57, 63);
    color: white;
    width: 100%;
  }

  .skills-section-inner {
    padding: 40px 20px;
  }

  .section-title {
    font-size: 2em;
    color: #f98900;
    font-family: var(--font-tech);
  }

  .skills-section .section-title::after {
    background: linear-gradient(90deg, #f98900, #ebb77c);
  }

  .welcome-narrative {
    padding-left: 1.5rem;
    max-width: 100%;
  }

  .narrative-marker {
    left: -1.5rem;
    width: 1.25rem;
  }

  .marker-dot {
    width: 10px;
    height: 10px;
    border: 2px solid rgba(255, 255, 255, 0.9);
  }

  .narrative-content {
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.15);
  }

  .narrative-content p {
    color: #e0e0e0;
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .narrative-intro {
    color: #f98900;
    font-size: 1rem;
  }

  .narrative-content strong {
    color: #ebb77c;
  }

  .skills-visualization {
    gap: 2.5rem;
  }

  .category-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .category-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
  }

  .category-header h3 {
    font-size: 1.5rem;
  }

  .skill-cloud {
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    min-height: 120px;
  }

  .skill-bubble {
    background: linear-gradient(
      135deg,
      rgba(249, 137, 0, 0.2) 0%,
      rgba(255, 179, 71, 0.2) 100%
    );
    color: #f98900;
    border-color: rgba(249, 137, 0, 0.4);
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
  }

  .skill-bubble[data-size="large"] {
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
  }

  .skill-bubble[data-size="medium"] {
    font-size: 0.9rem;
    padding: 0.55rem 1.1rem;
  }

  .skill-bubble[data-size="small"] {
    font-size: 0.8rem;
    padding: 0.45rem 0.9rem;
  }

  .skill-bubble:hover {
    background: linear-gradient(135deg, #f98900 0%, #ffb347 100%);
    border-color: #f98900;
    box-shadow: 0 8px 16px rgba(249, 137, 0, 0.3);
  }

  .skill-card {
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.1) 0%,
      rgba(255, 255, 255, 0.05) 100%
    );
    border-top-color: #f98900;
    color: white;
  }

  .skill-card::before {
    background: linear-gradient(90deg, #f98900, #ebb77c);
  }

  .skill-icon {
    color: #f98900;
  }

  .skill-card h3 {
    color: #f98900;
  }

  .skill-tag {
    background: linear-gradient(135deg, #f98900 0%, #ebb77c 100%);
    box-shadow: 0 2px 4px rgba(249, 137, 0, 0.3);
  }

  .skill-tag:hover {
    box-shadow: 0 4px 8px rgba(249, 137, 0, 0.4);
  }

  .skills-section p {
    padding-left: 10px;
    padding-right: 10px;
  }

  .ProjectList {
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding: 0;
    background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
  }

  .ProjectList-inner {
    padding: 40px 20px;
    width: 100%;
  }

  .project-item {
    width: 100%;
    margin-bottom: 1.5rem;
  }

  .project-card {
    padding: 1.5rem;
    border-left-color: #f98900;
  }

  .project-card::before {
    background: linear-gradient(180deg, #f98900, #ebb77c);
  }

  .ProjectList .section-title {
    font-size: 2.5rem;
    margin-top: 0px;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--hero-code);
    font-family: var(--font-tech);
  }

  .ProjectList .section-title::after {
    background: linear-gradient(90deg, #f98900, #ebb77c);
  }

  .project-card h3 {
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 1rem;
    color: #f98900;
    text-align: left;
  }

  .project-card h3 a {
    color: #f98900;
  }

  .project-card h3 a:hover {
    color: #ebb77c;
  }

  .endeavor-title {
    font-size: 1.5rem;
    color: #f98900;
  }

  .endeavor-summary:hover .endeavor-title {
    color: #ebb77c;
  }

  .endeavor-chevron {
    border-color: #f98900;
  }

  .endeavor-summary:hover .endeavor-chevron {
    border-color: #ebb77c;
  }

  .endeavor-details[open] .endeavor-title {
    color: #f98900;
  }

  .endeavor-body {
    border-top-color: rgba(249, 137, 0, 0.25);
  }

  .endeavor-summary:focus-visible {
    outline-color: #ebb77c;
  }

  .project-card p {
    padding: 0;
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .project-intro {
    border-left-color: #f98900;
    color: #ccc;
  }
  .seniorProject div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 95vw;
  }
  .metaFood {
    font-size: 20px;
    text-align: left;
    margin-top: 0px;
    margin-bottom: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
  }
  .mobileContact {
    background: #f98900;
    padding-left: 3vw;
    padding-right: 3vw;
    padding-top: 3vh;
  }
  .iconlist {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 3vw;
  }

  /* Basic styling for the footer */
  .footer {
    background-color: #333; /* Dark background */
    color: #f1f1f1; /* Light text color */
    padding: 5px 0; /* Top and bottom padding */
    text-align: center; /* Centered text */
    position: relative;
    bottom: 0;
    width: 100%;
  }

  .footer-content {
    font-size: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto; /* Centers footer content   */
  }
}

@media (min-width: 868px) {
  /* Styles for laptops and larger devices */
  .body {
    background: #000000;
  }

  .navigation {
    font-size: 20vh;
    width: 100%;
    padding-left: 0px;
    text-align: center;
    justify-content: space-between;
    color: rgb(255, 255, 255);
    margin-top: 0px;
    padding-top: 0px;
    padding: 0px;
    margin: 0px;
    display: none;
    /* align-items: center; */
  }

  .navigation li {
    padding: 10px;
    margin-right: 0px; /* Reduce the margin between navigation items */
  }
  .navigation a {
    color: rgb(255, 255, 255);
    padding: 0px;
  }
  .navigation ul {
    padding: 0px;
    margin: 0px;
    padding-inline-start: 0px;
  }

  .features {
    display: flex;
    flex-direction: column;
    overflow: visible;
  }

  .features figcaption {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }

  .name {
    display: flex;
    flex-direction: column;
    padding-left: clamp(14px, 3vw, 40px);
    padding-right: clamp(14px, 3vw, 40px);
    padding-top: clamp(120px, 24vh, 260px);
    text-align: left;
    align-items: flex-start;
  }

  .name h1 {
    position: left;
    padding-top: 4vh;
    width: 30vw;
    font-size: 13vh;
    height: 60vh;
  }

  .name h2 {
    overflow: visible;
    padding-top: 0;
    color: var(--hero-code);
    height: auto;
  }
  .name p {
    padding-top: 8vh;
    text-align: center;
    color: #000000;
    align-items: center;
    text-align: center;
  }

  .skills-section {
    margin: 0;
    background: #333;
    color: white;
    width: 100%;
    padding: 0;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
  }

  .skills-section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
    width: 100%;
  }

  .skills-section .section-title {
    max-width: 1200px;
    font-size: 3rem;
    color: #f98900;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .skills-section .section-title::after {
    background: linear-gradient(90deg, #f98900, #ebb77c);
  }

  .welcome-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .welcome-card {
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.1) 0%,
      rgba(255, 255, 255, 0.05) 100%
    );
    border-left-color: #f98900;
  }

  .welcome-card p {
    color: #e0e0e0;
    font-size: 1rem;
  }

  .welcome-intro {
    color: #f98900;
  }

  .welcome-card strong {
    color: #ebb77c;
  }

  .skills-section p {
    font-size: 1rem;
    max-width: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .skills-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .skill-card {
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.1) 0%,
      rgba(255, 255, 255, 0.05) 100%
    );
    border-top-color: #f98900;
  }

  .skill-card::before {
    background: linear-gradient(90deg, #f98900, #ebb77c);
  }

  .skill-icon {
    color: #f98900;
  }

  .skill-card h3 {
    color: #f98900;
  }

  .ProjectList {
    background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
    color: white;
    padding: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
    align-items: center;
    justify-content: flex-start;
    overflow: visible;
  }

  .ProjectList-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px var(--bento-gap, 20px);
    width: 100%;
  }

  .ProjectList .section-title {
    color: var(--hero-code);
    font-size: 3.5rem;
    margin-top: 0;
    margin-bottom: 3rem;
  }

  .ProjectList .section-title::after {
    background: linear-gradient(90deg, #f98900, #ebb77c);
  }

  .project-item {
    width: 100%;
    margin-bottom: 2rem;
  }

  .project-card {
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.05) 0%,
      rgba(255, 255, 255, 0.02) 100%
    );
    border-left-color: #f98900;
    color: white;
  }

  .project-card::before {
    background: linear-gradient(180deg, #f98900, #ebb77c);
  }

  .project-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: #f98900;
    text-decoration: none;
  }

  .project-card h3 a {
    color: #f98900;
    text-decoration: none;
  }

  .project-card h3 a:hover {
    color: #ebb77c;
    text-decoration: underline;
  }

  .endeavor-title {
    color: #f98900;
  }

  .endeavor-summary:hover .endeavor-title {
    color: #ebb77c;
  }

  .endeavor-chevron {
    border-color: #f98900;
  }

  .endeavor-summary:hover .endeavor-chevron {
    border-color: #ebb77c;
  }

  .endeavor-details[open] .endeavor-title {
    color: #f98900;
  }

  .endeavor-body {
    border-top-color: rgba(249, 137, 0, 0.25);
  }

  .endeavor-summary:focus-visible {
    outline-color: #ebb77c;
  }

  .project-intro {
    color: #ccc;
    border-left-color: #f98900;
  }

  .project-card p {
    padding: 0;
    font-size: 1rem;
    color: #e0e0e0;
    line-height: 1.8;
  }

  .project-card a {
    color: #f98900;
  }

  .project-card a:hover {
    color: #ebb77c;
  }

  .download-link {
    background: linear-gradient(135deg, #f98900 0%, #ebb77c 100%);
  }

  .download-link:hover {
    box-shadow: 0 4px 8px rgba(249, 137, 0, 0.4);
  }

  .seniorProject div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 40vw;
    border-style: solid;
    border-radius: 10px;
    padding: 20px;
    margin: 0px;
    padding: 20px;
  }

  .metaFood {
    font-size: large;
    display: flex;
    /* background: "background-images/metaFood.png"; */
  }
  .mobileContact {
    padding-right: 1.5vw;
    padding-left: 1.5vw;
    padding-top: 1.5vh;
    padding-bottom: 1.5vh;
    background: #ff8c18;
  }
  .iconlist a {
    padding-left: 3vw;
    padding-right: 3vw;
  }

  footer {
    font-size: 16px;
    color: white;
  }
}

/* Large screens: wider column; 20px edge inset = --bento-gap */
@media (min-width: 1200px) {
  .ProjectList-inner {
    --bento-gap: 20px;
    max-width: min(1900px, calc(100vw - 2 * var(--bento-gap)));
    padding-left: var(--bento-gap);
    padding-right: var(--bento-gap);
  }
}
