/* =============    FADE-IN

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

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============    ONE-SHOT REVEAL ANIMATIONS

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

.sec-head, .skill-row, .reel-slot, .about__fact, .exp-featured, .side-card, .clink, .prod-intro {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sec-head.revealed, .skill-row.revealed, .reel-slot.revealed, .about__fact.revealed, .exp-featured.revealed, .side-card.revealed, .clink.revealed, .prod-intro.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* =============    CURSOR

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

.cursor-shell {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 120ms ease, transform 60ms linear;
}

.cursor-shell__dot {
  position: absolute;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  margin-top: -12px;
  border: 1.5px solid rgba(255,255,255,0.96);
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 0 0 10px rgba(255,255,255,0.08), 0 0 24px rgba(255,255,255,0.12);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.cursor-shell__label {
  position: absolute;
  left: 20px;
  top: -14px;
  min-width: max-content;
  max-width: 180px;
  padding: 0.28rem 0.5rem;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  background: rgba(9,9,9,0.9);
  color: #f3f1e8;
  font-family: 'Space Mono', monospace;
  font-size: 0.54rem;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(0,0,0,0.28);
  transition: opacity 120ms ease;
}

.cursor-shell.is-visible {
  opacity: 1;
}

.cursor-shell.is-active {
  opacity: 1;
}

.cursor-shell.is-active .cursor-shell__label {
  opacity: 1;
}

.cursor-shell.is-active .cursor-shell__dot, .cursor-shell.is-card-hover .cursor-shell__dot {
  border-color: var(--accent);
  background: rgba(185,109,96,0.14);
  box-shadow: 0 0 0 4px rgba(185,109,96,0.08);
}

.cursor-shell.is-active .cursor-shell__label, .cursor-shell.is-card-hover .cursor-shell__label {
  opacity: 1;
  border-color: rgba(185,109,96,0.35);
  color: var(--accent);
}

.sec-head {
  transform: translate3d(0, calc(var(--float-y, 0px) * 0.2), 0);
}

.reel-slot, .about__fact, .exp-featured, .side-card, .personal__photo, .clink {
  transform: translate3d(0, var(--float-y, 0px), 0) rotate(calc(var(--tilt, 0deg) * 0.32)) scale(var(--scene-scale, 1));
}

/* =============    PROJECT DETAIL PAGE

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

.project-page {
  min-height: 100vh;
  padding-top: var(--nav-h);
}

/* -- Hero -- */

.project-hero {
  position: relative;
  min-height: 80vh;
  border-bottom: 2px solid var(--b2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.project-hero__media {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.project-hero__panel {
  position: relative;
  overflow: hidden;
  border: none;
  background: rgba(255,255,255,0.03);
}

.project-hero__panel::before {
  content: attr(data-label);
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  font-family: 'Space Mono', monospace;
  font-size: 0.56rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sub);
}

.project-hero__panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,5,5,0.3) 0%, rgba(5,5,5,0.75) 100%);
  z-index: 1;
}

.project-hero__panel video, .project-hero__panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.85) contrast(1.05) brightness(0.55);
}

.project-hero__stack {
  display: none;
}

/* -- Hero Inner -- */

.section--tight {
  padding: 0;
}

.section__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.project-hero__inner {
  position: relative;
  z-index: 2;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin: 0 auto;
  padding: 3rem 2.5rem 4rem;
}

.project-hero__content-wrap {
  display: flex;
  width: 100%;
  max-width: 1100px;
}

.project-hero__copy {
  max-width: 680px;
}

.project-hero__eyebrow, .project-block__label, .project-nav__back {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-nav__back {
  position: fixed;
  top: calc(var(--nav-h) + 1.5rem);
  left: 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm, 4px);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.2s;
  z-index: 50;
}

.project-nav__back:hover {
  color: #fff;
  background: rgba(0, 0, 0, 0.8);
  border-color: var(--accent);
  transform: translateX(-2px);
}

.project-hero__eyebrow {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.22rem 0.55rem;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.5);
  color: var(--sub);
  border-radius: var(--radius-sm);
}

.project-hero__title {
  font-size: clamp(3.2rem, 9vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  text-shadow: 0 10px 40px rgba(0,0,0,0.7);
}

.project-hero__summary {
  max-width: 42rem;
  margin-top: 1.25rem;
  color: var(--sub);
  font-size: 1.05rem;
  line-height: 1.85;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.project-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.project-meta-chip {
  display: inline-flex;
  padding: 0.32rem 0.58rem;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--sub);
  font-family: 'Space Mono', monospace;
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(0,0,0,0.5);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* -- Hero Sidebar (moves below hero on project page) -- */

.project-hero .project-sidebar {
  display: none;
}

/* -- Project Body -- */

.project-page__body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2.5rem 6rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 4rem;
}

/* -- Project Info Bar (new) -- */

.project-infobar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--b2);
  border: 2px solid var(--b2);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 0;
}

.project-infobar__item {
  background: var(--bg-c);
  padding: 1.2rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.project-infobar__label {
  font-family: 'Space Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.project-infobar__value {
  color: var(--text);
  font-weight: 500;
  line-height: 1.5;
}

/* -- Project Blocks -- */

.project-block {
  margin-bottom: 3.5rem;
}

.project-block__label {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--accent);
}

.project-block__title {
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.project-block__copy {
  max-width: 44rem;
  color: var(--sub);
  font-size: 1rem;
  line-height: 1.9;
}

.project-list {
  display: grid;
  gap: 0.7rem;
}

.project-list li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--sub);
  line-height: 1.75;
  font-size: 1rem;
}

.project-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.8rem;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 1px;
}

/* -- Gallery -- */

.project-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.project-gallery__item {
  min-height: 240px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--b2);
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s;
}

.project-gallery__item:hover {
  border-color: var(--accent);
}

.project-gallery__item::before {
  content: attr(data-label);
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  font-family: 'Space Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sub);
}

.project-gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1), rgba(0,0,0,0.55));
  z-index: 1;
}

.project-gallery__item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.18) brightness(0.6);
}

.project-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.94) contrast(1.03) brightness(0.7);
}

.project-gallery__item--wide {
  grid-column: span 2;
}

.project-gallery__caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  background: rgba(0,0,0,0.6);
  padding: 0.4rem 0.6rem;
  border-radius: 4px;
}

.project-gallery__heading {
  margin-bottom: 1.25rem;
}

/* -- Sidebar -- */

.project-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
  align-self: start;
}

.project-sidebar--secondary {
  display: grid;
  gap: 1rem;
}

.project-sidebar__title {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.project-sidebar__meta {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
}

.project-sidebar__meta dt {
  margin-bottom: 0.25rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.project-sidebar__meta dd {
  color: var(--text);
  line-height: 1.6;
}

.project-sidebar__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.project-sidebar__card {
  display: grid;
  gap: 0.55rem;
  padding: 1.2rem 1.1rem;
  border: 1px solid var(--b2);
  background: var(--bg-c);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s;
}

.project-sidebar__card:hover {
  border-color: rgba(185,109,96,0.4);
}

.project-sidebar__card span {
  font-family: 'Space Mono', monospace;
  font-size: 0.56rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.project-sidebar__card p {
  color: var(--sub);
  line-height: 1.7;
}

.project-sidebar__links {
  display: grid;
  gap: 0.7rem;
}

.project-link {
  display: grid;
  grid-template-columns: 80px 1fr;
  grid-template-rows: auto;
  gap: 0.75rem;
  padding: 0.75rem;
  border: 1px solid var(--b2);
  background: rgba(255,255,255,0.02);
  border-radius: var(--radius-sm);
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
  text-decoration: none;
  color: inherit;
  align-items: center;
}

.project-link:hover {
  border-color: var(--accent);
  background: rgba(255,255,255,0.04);
  transform: translateY(-2px);
}

.project-link__thumb {
  width: 80px;
  height: 115px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--card-bg);
  flex-shrink: 0;
}

.project-link__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-link__body {
  display: grid;
  gap: 0.15rem;
}

.project-link__type {
  font-family: 'Space Mono', monospace;
  font-size: 0.56rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.project-link strong {
  font-size: 0.9rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
}

.project-link span:last-child {
  color: var(--sub);
  font-size: 0.8rem;
}

.project-empty {
  max-width: 540px;
  display: grid;
  gap: 1rem;
}

/* -- Reveal animation for project page -- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============    IMAGE PLACEHOLDER

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

.img-ph {
  background: var(--bg-c);
  border: 1px dashed var(--b2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  margin: 0;
  border-radius: var(--radius-sm);
}

.img-ph::after {
  content: attr(data-label);
  font-family: 'Space Mono', monospace;
  font-size: 0.52rem;
  color: var(--faint);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  pointer-events: none;
}

.img-ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  display: block;
}

/* =============    FEATURED PRODUCTIONS GRID

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

.prod-featured {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--b2);
  gap: 1px;
  border: 2px solid var(--b2);
  margin-bottom: 3rem;
}

.prod-feat-card {
  background: var(--bg-c);
  display: flex;
  flex-direction: column;
  transition: background 0.15s;
}

.prod-feat-card:hover {
  background: var(--bg-h);
}

.prod-feat__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
}

.prod-feat__img::after {
  font-size: 0.5rem;
}

.prod-feat__meta {
  padding: 0.7rem 0.9rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  border-top: 1px solid var(--b2);
}

.prod-feat__type {
  font-family: 'Space Mono', monospace;
  font-size: 0.52rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.prod-feat__name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

/* =============    PROJECT MODAL
============================================================ */

.proj-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.88);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.proj-modal.is-open {
  display: flex;
}

/* ── Navigation buttons (arrows) ── */

.proj-modal__btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  transition: background 0.15s;
  user-select: none;
  padding: 0;
  flex-shrink: 0;
  z-index: 1001;
}

.proj-modal__btn:hover {
  background: rgba(255,255,255,0.16);
}

.proj-modal__prev {
  left: 1.25rem;
}

.proj-modal__next {
  right: 1.25rem;
}

/* ── Close button ── */

.proj-modal__close {
  position: fixed;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 1.5rem;
  cursor: none;
  line-height: 1;
  transition: color 0.15s;
  z-index: 1001;
}

.proj-modal__close:hover {
  color: #fff;
}

/* ── Card inside the modal ── */

.proj-modal__card {
  display: flex;
  flex-direction: row;
  gap: 0;
  background: var(--bg-b);
  border: 1px solid var(--b2);
  border-radius: var(--radius-md);
  overflow: hidden;
  max-width: min(880px, calc(100vw - 8rem));
  max-height: min(560px, 90vh);
  width: 100%;
}

.proj-modal__thumb {
  flex: 0 0 42%;
  max-width: 42%;
  overflow: hidden;
  background: var(--bg-c);
}

.proj-modal__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.proj-modal__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 2rem 1.75rem;
  overflow-y: auto;
  background: var(--b1);
}

.proj-modal__type {
  font-family: 'Space Mono', monospace;
  font-size: 0.52rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.proj-modal__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1.2;
  margin: 0;
}

.proj-modal__focus {
  font-size: 0.8rem;
  color: var(--sub);
}

.proj-modal__bullets {
  list-style: none;
  padding: 0;
  margin: 0.25rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.proj-modal__bullets li {
  font-size: 0.82rem;
  color: var(--sub);
  line-height: 1.55;
  padding-left: 1rem;
  position: relative;
}

.proj-modal__bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

.proj-modal__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--b2);
}

.proj-modal__detail-btn {
  display: block;
  margin-top: 1rem;
  text-align: center;
}

.proj-modal__detail-btn.btn--primary {
  background: var(--accent);
  color: var(--bg);
  border: none;
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s ease, transform 0.15s ease;
}

.proj-modal__detail-btn.btn--primary:hover {
  background: var(--accent-hover, #ff6b3d);
  transform: translateY(-1px);
}

/* ── Counter ── */

.proj-modal__counter {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Space Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.35);
}

/* ── Responsive ── */

@media (max-width: 600px) {
  .proj-modal__card {
    flex-direction: column;
    max-height: 90vh;
    max-width: calc(100vw - 3rem);
  }
}

@media (max-width: 600px) {
  .proj-modal__thumb {
    flex: 0 0 45%;
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .proj-modal__body {
    padding: 1.25rem;
  }
}

@media (max-width: 600px) {
  .proj-modal__title {
    font-size: 1.2rem;
  }
}

@media (max-width: 600px) {
  .proj-modal__title {
    font-size: 1.2rem;
  }
}

@media (max-width: 600px) {
  .proj-modal__detail-btn {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .proj-modal__detail-btn.btn--primary {
    padding: 0.7rem 1rem;
    font-size: 0.8rem;
  }
}

/* Photo stack sidebar (legacy, kept for safety) */

.personal__photo-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}

.personal__photo-stack .personal__photo-item {
  aspect-ratio: 4 / 3;
}

/* Inline photos row inside body */

.personal__photos-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.personal__photos-row .personal__photo-item {
  aspect-ratio: 4 / 3;
}

.personal__body > p {
  color: var(--sub);
  font-size: 1rem;
  line-height: 1.9;
}

.personal__body .inner-label {
  margin-top: 2.5rem;
}

/* Side card link */

.side-card__title-link {
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.side-card__title-link:hover .side-card__title {
  color: var(--accent);
}

.side-card__title-link i {
  font-size: 0.6rem;
  color: var(--muted);
  transition: color 0.15s;
}

.side-card__title-link:hover i {
  color: var(--accent);
}

/* =============    STICKY SKILLS SECTION

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

.skills-sticky-wrap {
  position: relative;
}

.skills-sticky-wrap .sec-head {
  position: sticky;
  top: var(--nav-h);
  z-index: 2;
  background: var(--bg-s);
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* =============    RESPONSIVE

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

@media (max-width: 960px) {
  .about__facts {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 960px) {
  .contact__layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 960px) {
  .hero__stage {
    grid-template-columns: 1.55fr 0.75fr;
    grid-template-rows: 1fr;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (max-width: 960px) {
  .hero-shot--wide {
    grid-column: 1;
    grid-row: 1;
  }
}

@media (max-width: 960px) {
  .hero-shot--tall {
    grid-column: 2;
    grid-row: 1;
  }
}

@media (max-width: 960px) {
  .showcase__lead {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .showcase__reels {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .work-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 960px) {
  .project-hero__media {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .project-nav__back {
    left: 1.5rem;
  }
}

@media (max-width: 960px) {
  .project-hero__inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (max-width: 960px) {
  .project-page__body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .project-sidebar {
    position: static;
  }
}

@media (max-width: 960px) {
  .project-gallery {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 960px) {
  .project-infobar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  .prod-table__head {
    grid-template-columns: 80px 1fr 110px;
  }
}

@media (max-width: 960px) {
  .prod-table__head span:last-child {
    display: none;
  }
}

@media (max-width: 960px) {
  .prod-row {
    grid-template-columns: 80px 1fr 110px;
  }
}

@media (max-width: 960px) {
  .prod-tags {
    display: none;
  }
}

@media (max-width: 960px) {
  .prod-featured {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  .personal__layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .side-cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .personal__photo {
    position: static;
    max-width: 260px;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 960px) {
  .personal__photo-stack {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 960px) {
  .personal__photo-stack .personal__photo-item {
    flex: 1 1 45%;
    min-width: 180px;
  }
}

@media (max-width: 960px) {
  .personal__photo-strip {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 960px) {
  .personal__photo-strip .personal__photo-item:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 960px) {
  .personal__photo-strip .personal__photo-item:nth-child(4) {
    grid-column: 1 / 3;
    aspect-ratio: 2 / 1;
  }
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav__burger {
    display: flex;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 3rem 0;
  }
}

@media (max-width: 768px) {
  .sec-head {
    margin-bottom: 1.5rem;
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .inner-label {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
  }
}

@media (max-width: 768px) {
  .hero__content {
    align-items: flex-end;
  }
}

@media (max-width: 768px) {
  .hero__copy {
    padding-right: 0;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
}

@media (max-width: 768px) {
  .hero__name {
    font-size: clamp(3.4rem, 15vw, 6rem);
  }
}

@media (max-width: 768px) {
  .hero__footbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
}

@media (max-width: 768px) {
  .hero__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
}

@media (max-width: 768px) {
  .hero__vsep {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero__reelnote {
    display: none;
  }
}

@media (max-width: 768px) {
  .project-nav__back {
    left: 1.25rem;
  }
}

@media (max-width: 768px) {
  .project-hero__inner {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

@media (max-width: 768px) {
  .project-hero__media {
    padding: 0;
  }
}

@media (max-width: 768px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}

@media (max-width: 768px) {
  .work-card__title {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .showcase__toolbar {
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .about__facts {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
}

@media (max-width: 768px) {
  .about__fact {
    min-height: auto;
    padding: 0.6rem 0;
  }
}

@media (max-width: 768px) {
  .about__body p {
    margin-bottom: 0.75rem;
  }
}

@media (max-width: 768px) {
  .skill-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

@media (max-width: 768px) {
  .exp-past__row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .exp-past__period {
    grid-column: 1;
  }
}

@media (max-width: 768px) {
  .prod-table__head {
    display: none;
  }
}

@media (max-width: 768px) {
  .prod-row {
    grid-template-columns: 70px 1fr;
  }
}

@media (max-width: 768px) {
  .prod-role {
    display: none;
  }
}

@media (max-width: 768px) {
  .project-infobar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .project-gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container, .wrap {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 2.5rem 0;
  }
}

@media (max-width: 480px) {
  .sec-head {
    margin-bottom: 1.25rem;
  }
}

@media (max-width: 480px) {
  .exp-featured__heading {
    flex-direction: column;
    gap: 0.4rem;
  }
}

@media (max-width: 480px) {
  .exp-featured__role {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .hero__ctas {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero__intro {
    font-size: 0.96rem;
    margin-top: 0.6rem;
  }
}

@media (max-width: 480px) {
  .hero__software {
    margin-top: 0.6rem;
    gap: 0.4rem;
  }
}

@media (max-width: 480px) {
  .hero__stage {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (max-width: 480px) {
  .hero__copy {
    padding-bottom: 0.75rem;
    padding-top: 0.5rem;
  }
}

@media (max-width: 480px) {
  .hero__eyebrow {
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 480px) {
  .about__fact {
    min-height: auto;
  }
}

@media (max-width: 480px) {
  .cursor-shell {
    display: none;
  }
}

@media (max-width: 480px) {
  .filter-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .showcase__filters {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }
}

@media (max-width: 480px) {
  .work-card {
    aspect-ratio: 3 / 4;
  }
}

@media (max-width: 480px) {
  .work-card--placeholder {
    min-height: 120px;
  }
}

@media (max-width: 480px) {
  .work-card__title {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .prod-featured {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .footer .container {
    flex-direction: column;
    gap: 0.3rem;
    text-align: center;
  }
}

