@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap");

@font-face {
  font-family: "WixAvenirHeavy";
  font-style: normal;
  font-weight: 700;
  src: url("https://static.parastorage.com/fonts/v2/74290729-59ae-4129-87d0-2eec3974dce1/v1/avenir-lt-w01_85-heavy1475544.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "WixAvenirLight";
  font-style: normal;
  font-weight: 400;
  src: url("https://static.parastorage.com/fonts/v2/af36905f-3c92-4ef9-b0c1-f91432f16ac1/v1/avenir-lt-w01_35-light1475496.woff2") format("woff2");
  font-display: swap;
}

:root {
  --ink: #14161f;
  --muted: #616b7a;
  --line: #dfe5ec;
  --paper: #f7f9fb;
  --card: #ffffff;
  --blue: #1f5eff;
  --teal: #0e9b8f;
  --amber: #c17614;
  --rose: #bc4562;
  --shadow: 0 18px 50px rgba(20, 22, 31, 0.09);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);

  font-family: "Satoshi", sans-serif, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(31, 94, 255, 0.32);
  outline-offset: 3px;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 249, 251, 0.92);
  border-bottom: 1px solid rgba(223, 229, 236, 0.9);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  font-size: 0.9rem;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.2;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: currentColor;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-item {
  position: relative;
  padding-bottom: 10px;
  margin-bottom: -10px;
}

.nav-link,
.dropdown-trigger {
  border: 0;
  background: transparent;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
}

.nav-link:hover,
.dropdown-trigger:hover,
.nav-link.active,
.dropdown-trigger.active {
  background: #fff;
  color: var(--ink);
}

.dropdown-trigger::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 280px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: none;
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  display: grid;
}

.dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 500;
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
  background: #eef4ff;
  color: var(--blue);
}

main {
  flex: 1;
}

.section {
  padding: 78px 0;
}

.section.compact {
  padding: 48px 0;
}

.band {
  background: #fff;
  border-block: 1px solid var(--line);
}

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.eyebrow {
  color: var(--blue);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 10px;
}

.page-title,
.home-title {
  margin: 0 10;
  line-height: 1.05;
  font-size: clamp(2.3rem, 5vw, 5rem);
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.15;
}

.section-lede {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
}

.home-hero {
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: center;
  padding: 52px 0 74px;
}

.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(340px, 1.12fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.portrait-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.portrait-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.portrait-caption {
  padding: 22px;
}

.portrait-caption h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
}

.portrait-caption p {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 500;
}

.hero-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(2.8rem, 6vw, 6rem);
  line-height: 0.96;
}

.hero-copy .tagline {
  margin: 0 0 22px;
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  color: var(--ink);
  font-weight: 600;
}

.hero-copy p {
  color: var(--muted);
  font-size: 1.04rem;
  max-width: 620px;
}

.cta-row,
.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  border: 1px solid var(--line);
  padding: 0 18px;
  background: #fff;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 500;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(20, 22, 31, 0.09);
}

.button.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.button.teal {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.button.small {
  min-height: 38px;
  padding: 0 13px;
  font-size: 0.78rem;
}

.quick-facts {
  margin: 32px 0 0;
  display: grid;
  gap: 10px;
}

.fact {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
}

.fact::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  margin-top: 9px;
  border-radius: 999px;
  background: var(--teal);
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.logo-tile {
  min-height: 92px;
  display: grid;
  place-items: center;
  padding: 18px;
  background: #14161f;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.logo-tile img {
  max-height: 54px;
  width: auto;
  object-fit: contain;
}

.page-hero {
  padding: 70px 0 42px;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: center;
}

.hero-media {
  border-radius: 8px;
  overflow: hidden;
  border: 0px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.vpp-launch-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: start;
}

.vpp-summary-card,
.vpp-video-card {
  height: 100%;
}

.vpp-summary-card h2,
.vpp-video-card h2 {
  margin: 16px 0 10px;
  font-size: 1.22rem;
  line-height: 1.2;
}

.vpp-summary-card p,
.vpp-video-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.vpp-simple-list {
  margin: 18px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: var(--text);
  line-height: 1.6;
}

.vpp-video-shell {
  margin-top: 18px;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(31, 43, 60, 0.08);
  background: #000;
  box-shadow: 0 16px 40px rgba(10, 25, 47, 0.12);
}

.vpp-video-shell iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.vpp-placeholder-note {
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.button.disabled,
.button[aria-disabled="true"] {
  opacity: 0.58;
  pointer-events: none;
  cursor: default;
}

.playable-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1.14fr);
  gap: 18px;
  align-items: start;
}

.playable-info-card,
.playable-stage-card {
  height: 100%;
}

.playable-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(127, 149, 247, 0.16);
  color: #9fb0ff;
  font-size: 0.82rem;
  font-weight: 600;
}

.playable-info-card h2,
.playable-stage-card h2 {
  margin: 16px 0 10px;
  font-size: 1.22rem;
  line-height: 1.2;
}

.playable-logo-image {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.playable-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: var(--muted);
  line-height: 1.6;
}

.playable-meta-list {
  margin-top: 24px;
  display: grid;
  gap: 14px;
}

.playable-meta-item {
  display: grid;
  gap: 6px;
}

.playable-meta-item span,
.playable-field span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
}

.playable-meta-item strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  line-height: 1.5;
  word-break: break-word;
}

.playable-stage-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.playable-stage-top p {
  margin: 8px 0 0;
  color: var(--muted);
}

.playable-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.playable-stats span {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(197, 208, 217, 0.14);
  background: rgba(11, 19, 32, 0.62);
  color: var(--muted);
  font-size: 0.84rem;
}

.playable-stats strong {
  color: var(--wix-text);
  font-size: 0.92rem;
}

.arcade-frame {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(197, 208, 217, 0.14);
  background: radial-gradient(circle at top, rgba(18, 28, 46, 0.88), rgba(5, 9, 17, 0.98));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.arcade-canvas {
  width: 100%;
  height: auto;
  display: block;
  background: #030812;
  outline: none;
}

.life-board-shell {
  overflow: auto;
  border-radius: 10px;
  border: 1px solid rgba(197, 208, 217, 0.14);
  padding: 16px;
  background: rgba(11, 19, 32, 0.72);
}

.life-canvas {
  display: block;
  margin: 0 auto;
  background: #828282;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.24);
}

.arcade-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.playable-inline-status {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.playable-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.playable-field {
  display: grid;
  gap: 6px;
}

.playable-field input {
  min-height: 44px;
  border-radius: 8px;
  border: 1px solid rgba(197, 208, 217, 0.16);
  background: rgba(8, 14, 25, 0.84);
  color: var(--wix-text);
  padding: 0 12px;
  font: inherit;
}

.playable-field input:focus {
  outline: 2px solid rgba(127, 149, 247, 0.3);
  outline-offset: 0;
  border-color: rgba(127, 149, 247, 0.45);
}

.card-grid,
.project-grid,
.interest-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

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

.card,
.project-card,
.interest-card,
.timeline-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(20, 22, 31, 0.055);
  overflow: hidden;
}

.card {
  padding: 24px;
}

.project-card,
.interest-card {
  display: flex;
  flex-direction: column;
}

.project-image,
.interest-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #edf2f8;
  object-fit: cover;
}

.project-content,
.interest-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.project-content h3,
.interest-content h3,
.card h3,
.timeline-card h3 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.22;
}

.project-content p,
.interest-content p,
.card p,
.timeline-card p {
  margin: 0;
  color: var(--muted);
}

.project-content .link-row {
  margin-top: auto;
}

.category-card {
  min-height: 430px;
}

.category-card .project-image {
  aspect-ratio: 16 / 12;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-card {
  display: grid;
  grid-template-columns: 240px 1fr;
}

.timeline-side {
  padding: 24px;
  border-right: 1px solid var(--line);
  background: #f2f6fb;
}

.timeline-side p {
  margin: 0;
}

.timeline-side .period {
  color: var(--blue);
  font-weight: 600;
}

.timeline-side .place {
  margin-top: 10px;
  color: var(--ink);
  font-weight: 500;
}

.timeline-side .location {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}

.timeline-main {
  padding: 24px;
}

.bullet-list {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.bullet-list li + li {
  margin-top: 9px;
}

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

.skill-tile {
  min-height: 96px;
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 14px 10px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.skill-tile img {
  max-width: 42px;
  max-height: 42px;
  object-fit: contain;
}

.skill-tile span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 50;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
}

.contact-list {
  display: grid;
  gap: 16px;
}

.contact-item {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-item span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.contact-item strong,
.contact-item a {
  display: block;
  margin-top: 4px;
  font-size: 1.02rem;
  font-weight: 600;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-weight: 600;
  font-size: 0.84rem;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fbfe;
  color: var(--ink);
  padding: 12px 13px;
}

.field textarea {
  min-height: 180px;
  resize: vertical;
}

.form-status {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--teal);
  font-weight: 600;
}

.smartwatch-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.6fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.phone-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.phone-stack img {
  aspect-ratio: 9 / 11;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 10px 24px rgba(20, 22, 31, 0.08);
}

.gallery-shell {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.gallery-view {
  display: grid;
  grid-template-columns: minmax(220px, 462px) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.gallery-image-wrap {
  background: #edf2f8;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  padding: 0;
  cursor: zoom-in;
}

.gallery-image-wrap img {
  width: 100%;
  aspect-ratio: 11 / 12;
  object-fit: cover;
}

.gallery-copy h3 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.1;
}

.gallery-copy p {
  margin: 0;
  color: var(--muted);
}

.gallery-counter {
  margin-top: 18px;
  color: var(--blue);
  font-weight: 600;
}

.gallery-actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.icon-button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  font-weight: 600;
}

.icon-button:hover {
  background: #eef4ff;
  color: var(--blue);
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.gallery-thumb {
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 0;
  background: transparent;
  overflow: hidden;
}

.gallery-thumb.active {
  border-color: var(--blue);
}

.gallery-thumb img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

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

.featured-grid {
  grid-template-columns: minmax(260px, 520px);
}

.video-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(20, 22, 31, 0.055);
}

.video-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0f172a;
  object-fit: contain;
}

.featured-video {
  max-width: 520px;
}

.featured-video video {
  aspect-ratio: 9 / 16;
}

.video-card h3 {
  margin: 0;
  padding: 16px 18px;
  font-size: 1rem;
}

.site-footer {
  background: #14161f;
  color: #fff;
  padding: 32px 0;
}

.footer-grid {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 28px;
  align-items: start;
}

.footer-grid h2,
.footer-grid p {
  margin: 0;
}

.footer-grid h2 {
  font-size: 1.2rem;
}

.footer-grid p,
.footer-grid a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-block span {
  display: block;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.76rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.social-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.social-row a {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.social-row img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 28px;
  background: rgba(9, 13, 23, 0.82);
}

.lightbox.open {
  display: grid;
}

.lightbox-panel {
  max-width: min(900px, 100%);
  max-height: 92vh;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.lightbox-panel img {
  max-height: 76vh;
  width: 100%;
  object-fit: contain;
  background: #0f172a;
}

.lightbox-caption {
  padding: 16px 18px;
}

.lightbox-caption h3,
.lightbox-caption p {
  margin: 0;
}

.lightbox-caption p {
  color: var(--muted);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #fff;
}

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: 74px 0 auto 0;
    max-height: calc(100vh - 74px);
    overflow: auto;
    display: none;
    padding: 14px 16px 22px;
    background: rgba(247, 249, 251, 0.98);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
  }

  body.menu-open .site-nav {
    display: flex;
  }

  .nav-link,
  .dropdown-trigger {
    width: 100%;
    justify-content: space-between;
    min-height: 48px;
    cursor: pointer;
  }

  .dropdown-menu {
    position: static;
    display: grid;
    min-width: 0;
    box-shadow: none;
    margin: 4px 0 10px;
  }

  .home-grid,
  .page-hero-grid,
  .vpp-launch-grid,
  .playable-grid,
  .smartwatch-hero,
  .gallery-view,
  .contact-grid,
  .timeline-card {
    grid-template-columns: 1fr;
  }

  .timeline-side {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .card-grid,
  .project-grid,
  .interest-grid,
  .two-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .playable-stage-top {
    flex-direction: column;
  }

  .playable-stats {
    justify-content: flex-start;
  }

  .playable-form-grid {
    grid-template-columns: 1fr;
  }

  .playable-inline-status {
    width: 100%;
  }

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

}

@media (max-width: 640px) {
  .section {
    padding: 56px 0;
  }

  .header-inner,
  .wrap,
  .footer-grid {
    width: min(100% - 24px, var(--max));
  }

  .brand small {
    display: none;
  }

  .home-hero {
    min-height: auto;
    padding: 34px 0 56px;
  }

  .logo-strip,
  .card-grid,
  .project-grid,
  .interest-grid,
  .two-grid,
  .skills-grid,
  .video-grid,
  .footer-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 18px;
  }

  .gallery-shell {
    padding: 16px;
  }

  .vpp-video-shell {
    aspect-ratio: 16 / 10;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .cta-row,
  .link-row {
    align-items: stretch;
  }

  .button {
    width: 100%;
  }
}

/* Wix-layout fidelity pass */
:root {
  --wix-bg: #0e1821;
  --wix-card: #132331;
  --wix-card-2: #10202d;
  --wix-blue: #5b7ee0;
  --wix-section: #254b68;
  --wix-text: #c5d0d9;
  --wix-muted: #aeb9c4;
}

body {
  background: var(--wix-bg);
  color: var(--wix-text);
  font-family: Poppins, "Avenir Next", Avenir, "Segoe UI", sans-serif;
}

.site-header {
  position: relative;
  background: var(--wix-bg);
  border-bottom: 0;
  backdrop-filter: none;
}

.header-inner {
  width: calc(100% - 72px);
  max-width: none;
  min-height: 128px;
}

.brand {
  gap: 14px;
  color: var(--wix-text);
  font-size: 25px;
  font-weight: 680;
}

.brand-logo {
  width: 48px;
  height: 55px;
  fill: var(--wix-blue);
  flex: 0 0 auto;
}

.nav-link,
.dropdown-trigger {
  color: var(--wix-text);
  background: transparent;
  min-height: 35px;
  padding: 0 13px;
  border-radius: 0;
  font-size: 14px;
  font-weight: 400;
}

.nav-link:hover,
.dropdown-trigger:hover,
.nav-link.active,
.dropdown-trigger.active {
  background: transparent;
  color: var(--wix-blue);
}

.dropdown-menu {
  background: var(--wix-bg);
  border: 1px solid rgba(197, 208, 217, 0.14);
  border-radius: 0;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
  min-width: 286px;
  padding: 12px 0;
}

.dropdown-menu a {
  color: var(--wix-text);
  padding: 11px 19px;
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
  background: transparent;
  color: var(--wix-blue);
}

.site-footer {
  background: var(--wix-card);
  min-height: 182px;
  padding: 0;
  display: flex;
  align-items: center;
}

.footer-grid {
  width: calc(100% - 96px);
  max-width: none;
  grid-template-columns: 1fr auto auto auto;
  gap: 70px;
  color: var(--wix-text);
}

.footer-grid p,
.footer-grid a {
  color: var(--wix-text);
  font-size: 14px;
}

.footer-block span {
  color: var(--wix-text);
  font-size: 14px;
}

.social-row a {
  background: transparent;
  border-radius: 0;
}

.home-original {
  position: relative;
  min-height: calc(100vh - 128px);
  overflow: hidden;
  background: var(--wix-bg);
}

.home-bg-image {
  position: absolute;
  inset: 0 auto 0 0;
  width: min(57vw, 812px);
  background: url("../images/engineering-plans.jpg") center center / cover no-repeat;
  z-index: 0;
}

.home-original::after {
  content: "";
  position: absolute;
  inset: 0 0 0 calc(50% - 80px);
  background: var(--wix-bg);
  z-index: 1;
}

.home-original-inner {
  position: relative;
  z-index: 2;
  width: 912px;
  min-height: calc(100vh - 128px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 376px 1fr;
  gap: 28px;
  align-items: start;
  padding-top: 78px;
}

.home-profile-card {
  width: 376px;
  background: var(--wix-card);
  box-shadow: 0 22px 32px rgba(0, 0, 0, 0.34);
}

.home-profile-main {
  min-height: 576px;
  padding: 43px 30px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.home-profile-photo {
  width: 206px;
  height: 206px;
  border-radius: 50%;
  object-fit: cover;
}

.home-profile-main h1 {
  margin: 38px 0 20px;
  color: var(--wix-text);
  font-size: 30px;
  line-height: 1.08;
  font-weight: 600;
}

.home-rule {
  width: 51px;
  height: 3px;
  background: var(--wix-blue);
  margin-bottom: 12px;
}

.home-profile-main p {
  margin: 0;
  color: var(--wix-text);
  font-size: 17px;
  line-height: 1.25;
}

.home-iqc-logo {
  margin-top: 28px;
}

.home-iqc-logo img {
  width: 216px;
  height: auto;
}

.home-social-strip {
  min-height: 52px;
  background: var(--wix-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.home-social-strip a,
.home-social-strip img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.home-copy-original {
  padding: 54px 0 0;
  color: var(--wix-text);
}

.home-copy-original h2 {
  margin: 0 0 20px;
  font-size: clamp(4rem, 10vw, 7rem);
  line-height: 1;
  color: var(--wix-text);
  font-weight: 680;
}

.home-copy-original .tagline {
  margin: 0 0 34px;
  color: var(--wix-text);
  font-size: 27px;
  line-height: 1.35;
  font-weight: 400;
}

.home-copy-original .cta-row {
  margin: 0 0 80px;
  gap: 40px;
}

.home-copy-original .button {
  width: 130px;
  min-height: 35px;
  border-radius: 999px;
  border-color: var(--wix-text);
  color: var(--wix-text);
  background: transparent;
  font-size: 14px;
}

.home-copy-original .button.primary {
  background: var(--wix-blue);
  border-color: var(--wix-blue);
  color: #fff;
}

.home-copy-original p {
  max-width: 520px;
  margin: 0 0 22px;
  color: var(--wix-text);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 400;
}

.home-epfl-logo {
  display: block;
  width: 230px;
  margin: 16px auto 28px;
}

.home-epfl-logo img {
  width: 100%;
  height: auto;
}

.projects-original {
  background: var(--wix-section);
  min-height: calc(100vh - 128px);
  padding: 118px 0 86px;
}

.projects-intro {
  text-align: center;
}

.projects-intro h1 {
  margin: 0;
  color: var(--wix-text);
  font-size: 35px;
  line-height: 1.4;
  font-weight: 600;
}

.projects-intro h1 span {
  display: inline-block;
  width: 19px;
  height: 19px;
  margin-right: 10px;
  background: var(--wix-blue);
}

.projects-intro p {
  margin: 48px auto 58px;
  max-width: 680px;
  color: var(--wix-text);
  font-size: 17px;
  line-height: 1.45;
}

.project-category-list {
  width: min(752px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  gap: 56px;
}

.category-band {
  min-height: 407px;
  display: grid;
  grid-template-columns: 1.32fr 1fr;
  background: var(--wix-bg);
  box-shadow: 0 14px 22px rgba(0, 0, 0, 0.14);
  overflow: hidden;
}

.category-text {
  position: relative;
  padding: 70px 38px 46px;
  color: var(--wix-text);
}

.category-text .side-accent {
  position: absolute;
  left: 0;
  top: 69px;
  width: 13px;
  height: 50px;
  background: var(--wix-blue);
}

.category-text h2 {
  margin: 0 0 88px;
  color: var(--wix-blue);
  font-size: 20px;
  line-height: 1.4;
  text-decoration: underline;
  font-weight: 600;
}

.category-text p {
  margin: 0;
  max-width: 350px;
  color: var(--wix-text);
  font-size: 17px;
  line-height: 1.45;
}

.category-image-link,
.category-image {
  width: 100%;
  height: 100%;
}

.category-image {
  object-fit: cover;
}

.project-detail-original {
  background: var(--wix-bg);
  color: var(--wix-text);
}

.detail-title-wrap {
  min-height: 362px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 60px 24px;
}

.detail-title-wrap h1 {
  margin: 0;
  color: var(--wix-text);
  font-size: 52px;
  line-height: 1.2;
  font-weight: 600;
}

.detail-title-wrap p {
  max-width: 720px;
  margin: 28px auto 0;
  color: var(--wix-text);
  font-size: 17px;
}

.detail-list {
  display: grid;
}

.detail-row {
  min-height: 410px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(197, 208, 217, 0.04);
}

.detail-row.reverse .detail-media {
  order: 2;
}

.detail-row.reverse .detail-copy {
  order: 1;
}

.detail-media,
.detail-image,
.detail-video {
  width: 100%;
  height: 100%;
}

.detail-image,
.detail-video {
  object-fit: cover;
}

.detail-copy {
  min-height: 410px;
  padding: 54px 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--wix-bg);
}

.detail-copy h2 {
  margin: 0 0 52px;
  color: var(--wix-text);
  font-size: 35px;
  line-height: 1.4;
  font-weight: 600;
}

.detail-copy p {
  max-width: 440px;
  margin: 0;
  color: var(--wix-text);
  font-size: 15px;
  line-height: 1.75;
  font-weight: 500;
}

.detail-copy p + p {
  margin-top: 14px;
}

.detail-inline-icon {
  display: inline-flex;
  justify-content: center;
  margin: 0 0 22px;
}

.detail-inline-icon img {
  width: 55px;
  height: 56px;
  object-fit: cover;
}

.detail-link-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
}

.detail-link-list a {
  color: var(--wix-text);
  font-size: 15px;
  line-height: 1.8;
  text-decoration: underline;
}

.detail-link-list a:hover {
  color: var(--wix-blue);
}

.detail-cta {
  margin-top: 28px;
}

.detail-copy .button {
  width: 197px;
  min-height: 56px;
  border: 0;
  border-radius: 999px;
  background: var(--wix-blue);
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-family: "WixAvenirHeavy", "Poppins", sans-serif;
  font-weight: 700;
  box-shadow: none;
}

.detail-copy .button:hover {
  transform: none;
  box-shadow: none;
  color: #fff;
  background: #6d88e5;
}

.code-feature {
  padding: 48px 0 56px;
  background: var(--wix-bg);
  text-align: center;
}

.code-feature-inner {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
}

.code-link-row {
  display: grid;
  grid-template-columns: 170px 1fr;
  align-items: center;
  gap: 46px;
  margin-bottom: 38px;
}

.code-link-row img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  justify-self: end;
}

.code-link-row a {
  width: 240px;
  min-height: 66px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--wix-blue);
  color: #fff;
  font-size: 25px;
  font-weight: 600;
}

.code-stats {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 12px;
  color: var(--wix-text);
}

.code-stats strong {
  font-size: 35px;
  line-height: 1.4;
}

.code-progress {
  width: min(305px, 80%);
  height: 13px;
  margin: 8px auto 0;
  overflow: hidden;
  border-radius: 999px;
  background: #d0f2dc;
}

.code-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #08c987;
}

.page-hero,
.section {
  background: var(--wix-bg);
  color: var(--wix-text);
}

.band {
  background: var(--wix-card);
  border-color: rgba(197, 208, 217, 0.08);
}

.card,
.project-card,
.interest-card,
.timeline-card,
.contact-form,
.contact-item,
.skill-tile,
.gallery-shell,
.video-card {
  background: var(--wix-card);
  border-color: rgba(197, 208, 217, 0.14);
  color: var(--wix-text);
}

.section-title,
.page-title,
.card h3,
.timeline-card h3,
.project-content h3,
.interest-content h3 {
  color: var(--wix-text);
}

.section-lede,
.project-content p,
.interest-content p,
.card p,
.timeline-card p,
.bullet-list,
.timeline-side .location,
.pill,
.field label,
.contact-item span {
  color: var(--wix-muted);
}

@media (max-width: 960px) {
  .header-inner {
    min-height: 86px;
    width: calc(100% - 32px);
  }

  .site-nav {
    inset: 86px 0 auto 0;
    background: var(--wix-bg);
  }

  .home-original-inner {
    width: min(100% - 28px, 720px);
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 44px 0 70px;
  }

  .home-bg-image {
    width: 100%;
    opacity: 0.22;
  }

  .home-profile-card {
    width: min(376px, 100%);
    justify-self: center;
  }

  .home-copy-original {
    text-align: left;
  }

  .home-copy-original h2 {
    font-size: clamp(4rem, 16vw, 6rem);
  }

  .home-copy-original .cta-row {
    margin-bottom: 42px;
  }

  .category-band,
  .detail-row {
    grid-template-columns: 1fr;
  }

  .detail-row.reverse .detail-media,
  .detail-row.reverse .detail-copy {
    order: initial;
  }

  .detail-media {
    min-height: 330px;
  }

  .detail-copy {
    padding: 44px 28px;
  }

  .footer-grid {
    width: calc(100% - 32px);
    grid-template-columns: 1fr 1fr;
    gap: 26px;
  }
}

@media (max-width: 640px) {
  .brand {
    font-size: 21px;
  }

  .brand-logo {
    width: 40px;
    height: 46px;
  }

  .projects-original {
    padding-top: 72px;
  }

  .projects-intro p {
    margin: 28px auto 42px;
  }

  .category-text {
    padding: 52px 28px 34px;
  }

  .category-text h2 {
    margin-bottom: 44px;
  }

  .detail-title-wrap h1 {
    font-size: 40px;
  }

  .detail-copy h2 {
    margin-bottom: 28px;
    font-size: 29px;
  }

  .code-link-row {
    grid-template-columns: 90px 1fr;
    gap: 20px;
  }

  .code-link-row img {
    width: 76px;
    height: 76px;
  }

  .code-link-row a {
    width: 100%;
    min-height: 56px;
    font-size: 22px;
  }

  .code-stats {
    flex-direction: column;
    gap: 0;
  }

  .code-stats strong {
    font-size: 32px;
  }
}

/* Source-matching refinement pass */
body {
  font-family: "WixAvenirLight", "Poppins", "Avenir Next", Avenir, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.brand,
.home-profile-main h1,
.home-copy-original h2,
.projects-intro h1,
.category-text h2,
.detail-title-wrap h1,
.detail-copy h2,
.about-copy-block h1,
.about-interest-header h3,
.resume-hero-inner h1,
.resume-entry-side h3,
.resume-panel h3,
.code-link-row a,
.code-stats strong {
  font-family: "WixAvenirHeavy", "Poppins", sans-serif;
  font-weight: 700;
}

.brand {
  font-weight: 700;
}

.nav-link,
.dropdown-trigger,
.resume-subtitle,
.resume-stage-inner > h2,
.resume-panel h2 {
  font-family: "WixAvenirLight", "Poppins", sans-serif;
}

.home-original {
  min-height: 996px;
}

.home-bg-image {
  width: 392px;
  background: var(--home-bg-image) center center / cover no-repeat;
}

.home-original::after {
  inset: 0 0 0 392px;
}

.home-original-inner {
  box-sizing: border-box;
  width: 980px;
  min-height: 996px;
  grid-template-columns: 376px 488px;
  column-gap: 32px;
  gap: 0;
  padding: 72px 0 55px 34px;
}

.home-profile-main {
  min-height: 741px;
  padding: 43px 30px 0;
}

.home-profile-main h1 {
  margin: 38px 0 20px;
  font-size: 27px;
}

.home-iqc-logo {
  margin-top: 39px;
}

.home-iqc-logo img {
  width: 171px;
}

.home-social-strip {
  min-height: 52px;
  gap: 22px;
}

.home-copy-original {
  padding-top: 22px;
}

.home-copy-original h2 {
  font-size: min(100px, 10vw);
  line-height: 0.95;
}

.home-copy-original .tagline {
  font-size: 25px;
}

.home-copy-original .cta-row {
  margin-bottom: 80px;
}

.home-copy-original .button,
.home-footer-cta .button,
.about-cta-row .button,
.resume-hero-inner .button {
  border-radius: 999px;
  box-shadow: none;
  letter-spacing: 0;
  font-family: "WixAvenirHeavy", "Poppins", sans-serif;
  font-weight: 700;
}

.home-copy-original .button {
  border: 1px solid rgba(197, 208, 217, 0.9);
}

.home-copy-original p {
  max-width: 457px;
  margin: 0 0 24px;
  font-size: 17px;
  line-height: 1.5;
}

.home-epfl-logo {
  width: 180px;
  margin: 14px auto 38px;
}

.home-queens-logo {
  display: block;
  width: 322px;
  margin: 10px auto 28px;
}

.home-queens-logo img {
  width: 100%;
  height: auto;
}

.home-footer-cta {
  margin-top: 12px;
}

.home-footer-cta .button {
  width: 146px;
  min-height: 40px;
}

.projects-intro h1,
.detail-title-wrap h1,
.detail-copy h2 {
  font-weight: 700;
}

.category-text h2 {
  font-weight: 700;
}

.category-icon {
  display: block;
  margin: -38px 0 26px;
}

.category-icon a,
.category-icon img {
  display: block;
}

.category-icon img {
  width: 108px;
  height: 108px;
  object-fit: contain;
}

.code-link-row a {
  font-weight: 700;
}

.about-hero-stack {
  position: relative;
  width: 980px;
  margin: 40px auto 0;
  min-height: 510px;
}

.about-original {
  background: var(--wix-bg);
  color: var(--wix-text);
  padding-bottom: 92px;
}

.about-top-band {
  width: 980px;
  max-width: none;
  height: 362px;
  display: grid;
  grid-template-columns: minmax(0, 618px) minmax(0, 362px);
}

.about-top-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-top-fill {
  background: var(--wix-bg);
}

.about-top-copy {
  position: absolute;
  top: 120px;
  left: 0;
  width: 980px;
  padding: 0;
}

.about-top-copy-inner {
  width: 980px;
  display: grid;
  grid-template-columns: 362px 618px;
  min-height: 390px;
}

.about-copy-block {
  width: 618px;
  padding: 80px 0 10px 20px;
  text-align: left;
}

.about-copy-block h1 {
  max-width: 599px;
  margin: 0 0 22px;
  font-size: 56px;
  line-height: 1;
}

.about-copy-block p {
  max-width: 491px;
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
}

.about-interests-section {
  padding-top: 56px;
}

.about-interests-grid {
  width: 980px;
  max-width: calc(100% - 32px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 380px));
  justify-content: center;
  column-gap: 37.5px;
  row-gap: 75px;
}

.about-interest-card {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.about-interest-header h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

.about-interest-line {
  width: 49px;
  height: 3px;
  margin: 18px 0 19px;
  background: var(--wix-blue);
}

.about-interest-image {
  width: 100%;
  aspect-ratio: 380 / 287;
  object-fit: cover;
}

.about-interest-card p {
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.8;
}

.about-cta-strip {
  padding-top: 92px;
}

.about-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 57px;
}

.about-cta-row .button {
  width: 197px;
  min-height: 56px;
  border: 0;
  background: #1f2b3c;
  color: #fff;
}

.about-cta-row .button:nth-child(2) {
  background: var(--wix-blue);
}

.resume-original {
  background: var(--wix-bg);
  color: var(--wix-text);
  padding-bottom: 96px;
}

.resume-hero-original {
  padding: 92px 0 44px;
}

.resume-hero-inner {
  width: 980px;
  max-width: calc(100% - 32px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
}

.resume-hero-copy {
  display: grid;
  gap: 18px;
}

.resume-hero-inner h1 {
  margin: 0;
  font-size: 35px;
  line-height: 1.05;
  display: flex;
  align-items: center;
  gap: 10px;
}

.resume-hero-inner h1 span {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  background: var(--wix-blue);
}

.resume-subtitle {
  margin: 0;
  font-size: 25px;
  line-height: 1.2;
}

.resume-hero-inner .button {
  width: 154px;
  min-height: 40px;
}

.resume-stage {
  padding: 0 0 38px;
}

.resume-stage-inner {
  width: 980px;
  max-width: calc(100% - 32px);
  margin: 0 auto;
}

.resume-stage-inner > h2 {
  width: 100%;
  margin: 0 0 28px;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 400;
  text-align: left;
}

.resume-entry-stack {
  display: grid;
  width: min(724px, 100%);
  margin: 0 auto;
  gap: 32px;
}

.resume-entry-card {
  padding: 0 0 34px;
  display: grid;
  grid-template-columns: 208px minmax(0, 1fr);
  gap: 12px 42px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(197, 208, 217, 0.08);
  border-radius: 0;
  box-shadow: none;
}

.resume-entry-card:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.resume-entry-side {
  padding-top: 4px;
}

.resume-entry-brand {
  display: block;
  min-width: 0;
}

.resume-entry-body {
  min-width: 0;
}

.resume-entry-logo-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: 18px;
}

.resume-entry-logo {
  width: min(var(--logo-width, 168px), 245px);
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.resume-entry-logo img {
  width: 100%;
  height: auto;
  max-height: 78px;
  object-fit: contain;
}

.resume-entry-side h3 {
  margin: 0 0 12px;
  font-size: 25px;
  line-height: 1.14;
}

.resume-entry-place {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(197, 208, 217, 0.8);
}

.resume-entry-meta {
  min-width: 0;
  margin-top: 16px;
  text-align: left;
}

.resume-entry-meta span,
.resume-entry-meta small {
  display: block;
}

.resume-entry-meta span {
  font-size: 17px;
  line-height: 1.3;
}

.resume-entry-meta small {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.35;
}

.resume-entry-list {
  max-width: 470px;
  margin: 0;
  padding-left: 21px;
  color: var(--wix-text);
}

.resume-entry-list li {
  font-size: 15px;
  line-height: 1.8;
}

.resume-entry-list li + li {
  margin-top: 8px;
}

.resume-entry-links {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px 22px;
  margin-top: 20px;
}

.resume-entry-links .button {
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--wix-text);
  font-family: "WixAvenirLight", "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 400;
  text-decoration: underline;
  box-shadow: none;
}

.resume-entry-links .button:hover {
  transform: none;
  color: var(--wix-blue);
}

.resume-skills-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.07fr) minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding-top: 10px;
  border-top: 1px solid rgba(197, 208, 217, 0.08);
}

.resume-panel {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.resume-personal-stage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  padding-top: 36px;
  border-top: 1px solid rgba(197, 208, 217, 0.12);
}

.resume-panel h2 {
  margin: 0 0 18px;
  font-size: 25px;
  line-height: 1.2;
  font-weight: 400;
}

.resume-panel h3 {
  margin: 28px 0 16px;
  font-size: 20px;
  line-height: 1.2;
}

.resume-plain-list {
  margin: 0;
  padding-left: 20px;
  color: var(--wix-text);
}

.resume-plain-list li {
  font-size: 15px;
  line-height: 1.75;
}

.resume-plain-list li + li {
  margin-top: 8px;
}

.resume-panel .pill-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.resume-panel .pill {
  min-height: 0;
  padding: 10px 12px;
  border: 1px solid rgba(197, 208, 217, 0.12);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.02);
  color: var(--wix-text);
  font-size: 14px;
  line-height: 1.45;
}

.resume-icons-panel .skills-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.resume-icons-panel .skill-tile {
  min-height: 102px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(197, 208, 217, 0.12);
  box-shadow: none;
}

.resume-icons-panel .skill-tile span {
  color: var(--wix-text);
}

@media (max-width: 960px) {
  .home-original::after {
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 23, 33, 0.32), var(--wix-bg) 42%);
  }

  .home-original-inner {
    width: min(100% - 28px, 720px);
    min-height: 0;
    grid-template-columns: 1fr;
    padding: 44px 0 70px;
  }

  .home-bg-image {
    width: 100%;
  }

  .home-copy-original {
    padding-top: 14px;
  }

  .home-copy-original p {
    max-width: 100%;
  }

  .home-queens-logo {
    width: min(322px, 100%);
  }

  .about-top-copy-inner,
  .resume-personal-stage,
  .resume-skills-stage {
    grid-template-columns: 1fr;
  }

  .about-hero-stack,
  .about-top-band,
  .about-top-copy,
  .about-top-copy-inner,
  .resume-hero-inner,
  .resume-stage-inner {
    width: min(100% - 32px, 980px);
  }

  .about-hero-stack {
    min-height: 0;
    margin-top: 32px;
  }

  .about-top-band {
    height: auto;
  }

  .about-top-copy {
    position: static;
    padding-top: 28px;
  }

  .about-top-image img {
    aspect-ratio: 16 / 10;
  }

  .about-copy-block {
    width: auto;
    padding: 0;
    text-align: left;
  }

  .about-copy-block h1,
  .about-copy-block p {
    max-width: 100%;
  }

  .about-interests-grid {
    grid-template-columns: 1fr 1fr;
  }

  .resume-hero-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .resume-stage-inner > h2,
  .resume-entry-stack {
    width: 100%;
  }

  .resume-entry-card {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .home-original-inner {
    padding: 32px 0 54px;
  }

  .home-profile-main {
    min-height: auto;
    padding-top: 40px;
    padding-bottom: 38px;
  }

  .home-copy-original h2 {
    font-size: clamp(4.4rem, 30vw, 6rem);
  }

  .home-copy-original .cta-row {
    gap: 14px;
  }

  .home-copy-original .button,
  .home-footer-cta .button {
    width: 100%;
  }

  .about-top-copy {
    padding: 20px 0 0;
  }

  .about-copy-block h1 {
    margin-bottom: 22px;
    font-size: 34px;
  }

  .about-interests-grid {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }

  .about-cta-strip {
    padding-top: 56px;
  }

  .about-cta-row {
    gap: 14px;
  }

  .about-cta-row .button:nth-child(1),
  .about-cta-row .button:nth-child(2),
  .about-cta-row .button:nth-child(3) {
    width: min(100%, 320px);
  }

  .resume-hero-original {
    padding-top: 62px;
  }

  .resume-entry-card {
    padding-bottom: 26px;
  }

  .resume-entry-logo {
    width: min(var(--logo-width, 168px), 70vw);
  }

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

.category-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.category-panel-link {
  min-height: 100%;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 16px;
}

.category-text h2 {
  margin: 0;
}

.category-text p {
  max-width: 360px;
}

.category-text > p:last-child {
  margin-top: auto;
}

.category-icon {
  margin: 2px 0 8px;
}

.category-icon img {
  width: 84px;
  height: 84px;
}

.category-image-link {
  display: block;
  align-self: stretch;
  min-height: 100%;
}

.category-image {
  display: block;
}

/* ------------------------------------------------------------------
   Home + About readability pass
   Even vertical rhythm, a comfortable line length, and a text card
   behind the About intro so it no longer sits on top of the photo.
   ------------------------------------------------------------------ */

/* Home: profile card */
.home-profile-main p {
  line-height: 1.55;
}

/* Home: copy column (wide gap so the text doesn't crowd the profile card) */
.home-original-inner {
  grid-template-columns: 376px minmax(0, 480px);
  column-gap: 64px;
}

.home-copy-original {
  padding-top: 18px;
}

.home-copy-original h2 {
  margin-bottom: 16px;
}

.home-copy-original .tagline {
  margin-bottom: 30px;
}

.home-copy-original .cta-row {
  gap: 24px;
  margin-bottom: 56px;
}

.home-copy-original p {
  max-width: none;
  margin: 0 0 20px;
  font-size: 17px;
  line-height: 1.7;
  color: #d3dce4;
}

.home-epfl-logo,
.home-queens-logo {
  margin: 8px auto 28px;
}

.home-epfl-logo {
  width: 170px;
}

.home-queens-logo {
  width: 300px;
}

.home-footer-cta {
  margin-top: 8px;
}

/* About: intro text card (overlaps the photo, sized by its content) */
.about-hero-stack {
  min-height: 0;
}

.about-top-copy {
  position: relative;
  top: auto;
  z-index: 1;
  margin-top: -212px;
}

.about-top-copy-inner {
  min-height: 0;
}

.about-copy-block {
  align-self: start;
  width: 580px;
  padding: 44px 52px 48px;
  background: var(--wix-card);
  box-shadow: 0 22px 32px rgba(0, 0, 0, 0.34);
}

.about-copy-block h1 {
  max-width: none;
  margin: 0;
  font-size: 52px;
  line-height: 1.05;
}

.about-copy-block h1::after {
  content: "";
  display: block;
  width: 51px;
  height: 3px;
  margin: 22px 0 20px;
  background: var(--wix-blue);
}

.about-copy-block p {
  max-width: none;
  font-size: 17px;
  line-height: 1.75;
  color: #d3dce4;
}

/* About: interest cards */
.about-interests-section {
  padding-top: 80px;
}

.about-interest-card p {
  color: #d3dce4;
  line-height: 1.75;
}

@media (max-width: 960px) {
  .home-original-inner {
    grid-template-columns: 1fr;
    row-gap: 44px;
  }

  .home-copy-original {
    width: 100%;
    max-width: 560px;
    justify-self: center;
    padding-top: 0;
  }

  .about-top-band,
  .about-top-copy,
  .about-top-copy-inner {
    width: 100%;
  }

  .about-top-band {
    grid-template-columns: 1fr;
  }

  .about-top-fill {
    display: none;
  }

  .about-top-copy {
    margin-top: 0;
    padding-top: 0;
  }

  .about-copy-spacer {
    display: none;
  }

  .about-copy-block {
    width: auto;
    margin: -56px 20px 0;
    padding: 34px 32px 36px;
  }

  .about-copy-block h1 {
    font-size: 44px;
  }

  .about-interests-section {
    padding-top: 56px;
  }
}

@media (max-width: 640px) {
  .home-original-inner {
    row-gap: 36px;
  }

  .home-copy-original .cta-row {
    gap: 12px;
    margin-bottom: 40px;
  }

  .about-copy-block {
    margin: -40px 12px 0;
    padding: 28px 22px 30px;
  }

  .about-copy-block h1 {
    font-size: 34px;
  }

  .about-copy-block h1::after {
    margin: 18px 0 16px;
  }

  .about-copy-block p {
    font-size: 16px;
  }

  .site-footer {
    padding: 36px 0;
  }

  .social-row {
    flex-wrap: wrap;
  }
}
