@font-face {
  font-family: "Geist";
  src: url("../assets/fonts/Geist-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist";
  src: url("../assets/fonts/Geist-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --black: #000000;
  --white: #ffffff;
  --darkest-grey: #141414;
  --darker-grey: #484848;
  --muted-footer: #aaaaaa;
  --accent: rgba(115, 222, 255, 0.35);
  --accent-solid: #73deff;
  --gradient-hero-top: rgba(115, 222, 255, 0.35);
  --gradient-hero-bottom: rgba(69, 133, 153, 0.35);
  --instagram-from: #71bee8;
  --instagram-to: #3f6a82;
  --font: "Geist", system-ui, sans-serif;
  --header-height: 80px;
  --radius-card: 24.5px;
  --max-width: 1440px;
  --gallery-scroll-duration: 28s;
  --sponsors-scroll-duration: 55s;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--black);
  color: var(--white);
  line-height: 1;
  overflow-x: hidden;
}

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: var(--white);
  color: var(--black);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Keyboard key reveal — Lama Lama–style gooey grid (cursor follow) */

.key-reveal {
  --key-reveal-fill: #FAF9F6;
  --key-size: 84px;
  --key-radius: 28px;
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--black);
  overflow: hidden;
}

.key-reveal__filter {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.key-reveal__grid {
  position: absolute;
  inset: 0;
  filter: url("#key-reveal-goo");
  transform: translateZ(0);
  isolation: isolate;
}

.key-reveal__key {
  position: absolute;
  background: transparent;
  border-radius: 0;
  contain: layout style paint;
}

.key-reveal__key--active {
  background: var(--key-reveal-fill);
}

@media (prefers-reduced-motion: reduce) {
  .key-reveal__grid {
    filter: none;
  }
}

.site-shell {
  position: relative;
  z-index: 1;
  isolation: isolate;
}

.site-shell :is(p, h1, h2, h3, h4, h5, h6, a, span, label, li, button:not(.site-header__menu-toggle), nav:not(.site-header__nav)) {
  position: relative;
  z-index: 1;
}

.site-shell :is(
  img,
  video,
  .journey-carousel,
  .journey-hero,
  .journey-entry__media,
  .journey-miro__embed,
  .command__video,
  .keycap-gallery,
  .instagram__grid,
  .student-profile__hero,
  .student-profile__gallery,
  .works-hero,
  .works-project__image,
  .contact-social,
  .contact-form
) {
  position: relative;
  z-index: 1;
  isolation: isolate;
}

body.page-no-key-reveal {
  background: var(--black);
}

body.page-no-key-reveal .site-shell,
body.page-no-key-reveal main,
body.page-no-key-reveal .works-list,
body.page-no-key-reveal .works-project,
body.page-no-key-reveal .student-profile {
  position: relative;
  z-index: 1;
  background: var(--black);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: var(--header-height);
  padding: 22px clamp(1.5rem, 6vw, 100px) 21px;
  background: var(--black);
}

.site-header--overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
}

/* Hero header (nav + animation) */

.hero-header {
  position: relative;
  width: 100%;
  background: var(--black);
}

.hero-header .hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

.hero-header .hero__video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  object-fit: cover;
  object-position: center center;
}

.hero__scroll-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(3rem, 9vw, 5.5rem);
  z-index: 2;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  color: var(--white);
  text-decoration: none;
  opacity: 0.92;
  transition: opacity 0.2s ease, visibility 0.3s ease;
  cursor: pointer;
}

.hero__scroll-cue:hover {
  opacity: 1;
}

.hero__scroll-cue:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 4px;
  border-radius: 2px;
}

.hero__scroll-cue--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.hero__scroll-cue-arrows {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  animation: hero-scroll-bounce 1.8s ease-in-out infinite;
}

.hero__scroll-cue-arrow {
  display: block;
  width: 30px;
  height: 15px;
}

.hero__scroll-cue-arrow--small {
  opacity: 0.55;
}

@keyframes hero-scroll-bounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(7px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__scroll-cue-arrows {
    animation: none;
  }

  .site-header .site-header__nav {
    transition: opacity 0.15s ease, visibility 0.15s ease;
    transform: none;
  }

  .site-header--menu-open .site-header__nav {
    transform: none;
  }
}

.site-header__logo img {
  width: 121px;
  height: auto;
}

.site-header__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1.25rem, 4vw, 54px);
}

.site-header__nav a {
  font-family: var(--font);
  font-size: 18px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.site-header__nav a:hover {
  opacity: 0.75;
}

.site-header__menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  flex-shrink: 0;
  z-index: 102;
}

.site-header__menu-toggle:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 4px;
  border-radius: 4px;
}

.site-header__menu-icon {
  position: relative;
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: background 0.2s ease;
}

.site-header__menu-icon::before,
.site-header__menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.25s ease, top 0.25s ease;
}

.site-header__menu-icon::before {
  top: -7px;
}

.site-header__menu-icon::after {
  top: 7px;
}

.site-header--menu-open .site-header__menu-icon {
  background: transparent;
}

.site-header--menu-open .site-header__menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.site-header--menu-open .site-header__menu-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Hero (inner pages may still use .hero__bg) */

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    var(--gradient-hero-top) 0%,
    var(--gradient-hero-bottom) 100%
  );
}

.hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

/* Sections */

.section {
  padding: clamp(60px, 8vw, 100px) clamp(1.5rem, 5vw, 80px);
}

.section--light {
  background: var(--white);
  color: var(--darkest-grey);
}

.section__title {
  font-size: clamp(1.75rem, 4vw, 40px);
  font-weight: 700;
  text-align: center;
  text-transform: lowercase;
  letter-spacing: 0;
  margin-bottom: clamp(2rem, 4vw, 40px);
}

/* Command / video */

.command {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.command__video {
  width: 100%;
  max-width: 1280px;
  aspect-ratio: 16 / 9;
  background: var(--black);
  border-radius: 4px;
  overflow: hidden;
}

.command__video-player {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

/* Gallery — 50 keycap grid */

.gallery.section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  padding: clamp(60px, 8vw, 100px) clamp(1.5rem, 5vw, 80px);
  width: 100%;
  background: var(--black);
  isolation: isolate;
}

.gallery__title {
  width: 100%;
  max-width: 1280px;
  font-size: clamp(1.5rem, 5vw, 40px);
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-transform: lowercase;
  letter-spacing: 0;
  margin: 0;
}

.keycap-gallery {
  position: relative;
  width: 100%;
  max-width: 1280px;
  overflow: visible;
}

.keycap-grid {
  width: 100%;
}

.keycap-grid--keyboard {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(14px, 2.2vw, 24px);
  padding: 12px 0 24px;
}

.keycap-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex-wrap: nowrap;
  gap: clamp(8px, 1.15vw, 15px);
  width: 100%;
  max-width: 1180px;
}

.keycap-row--offset {
  padding-left: clamp(28px, 4.2vw, 50px);
}

.keycap-grid--keyboard .keycap {
  width: clamp(52px, 6.6vw, 84px);
  flex: 0 0 auto;
}

.keycap {
  aspect-ratio: 1;
  width: 100%;
  padding: 0;
  border: none;
  background: linear-gradient(180deg, #3d3d3d 0%, #2a2a2a 38%, #222222 100%);
  border-radius: 10px 10px 8px 8px;
  cursor: pointer;
  transform: translate(var(--keycap-x, 0px), var(--keycap-y, 0px)) rotate(var(--keycap-rotate, 0deg));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -2px 0 rgba(0, 0, 0, 0.35),
    0 1px 0 rgba(255, 255, 255, 0.06),
    0 8px 0 #121212,
    0 9px 0 #0a0a0a,
    0 14px 22px rgba(0, 0, 0, 0.18),
    0 6px 10px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.1s cubic-bezier(0.33, 1, 0.68, 1),
    box-shadow 0.1s cubic-bezier(0.33, 1, 0.68, 1),
    opacity 0.12s ease,
    filter 0.12s ease;
  position: relative;
  isolation: isolate;
}

.keycap::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.16) 0%,
    rgba(255, 255, 255, 0.05) 28%,
    transparent 52%,
    rgba(0, 0, 0, 0.12) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.keycap::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: -8px;
  height: 8px;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.22);
  pointer-events: none;
  z-index: -1;
  transition:
    opacity 0.16s ease,
    transform 0.16s cubic-bezier(0.33, 1, 0.68, 1);
}

.keycap__face {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 18px 20px;
  pointer-events: none;
  position: relative;
  z-index: 2;
}

.keycap__art {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.35));
}

.keycap-grid--hovering .keycap:not(.keycap--active) {
  opacity: 0.22;
  filter: saturate(0.35);
}

.keycap--active {
  transform: translate(var(--keycap-x, 0px), calc(var(--keycap-y, 0px) + 8px))
    rotate(var(--keycap-rotate, 0deg));
  background: linear-gradient(180deg, #2f2f2f 0%, #242424 55%, #1e1e1e 100%);
  box-shadow:
    inset 0 3px 8px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 1px 0 #0a0a0a,
    0 2px 4px rgba(0, 0, 0, 0.12);
}

.keycap--active::before {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.06) 0%,
    transparent 40%,
    rgba(0, 0, 0, 0.2) 100%
  );
}

.keycap--active::after {
  opacity: 0;
  transform: scaleY(0.35);
}

.keycap-gallery .keycap-preview {
  position: absolute;
  z-index: 20;
  width: 223px;
  height: 301px;
  margin: 0;
  border-radius: 24.5px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.1s ease;
}

.keycap-gallery .keycap-preview.keycap-preview--visible {
  opacity: 1;
  pointer-events: auto;
}

.keycap-preview__media {
  position: relative;
  width: 100%;
  height: 100%;
}

.keycap-preview__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

.keycap-preview__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.keycap-preview__info {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 24px;
  z-index: 2;
  color: #ffffff;
  text-shadow: 0 3px 3px rgba(0, 0, 0, 0.25);
}

.keycap-preview__name {
  display: inline-block;
  font-size: 19.6px;
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 4px;
  color: #ffffff;
  text-decoration: none;
  pointer-events: auto;
  cursor: pointer;
}

.keycap-preview__bio {
  margin: 0;
  font-size: 9.8px;
  font-weight: 400;
  line-height: 1.35;
  max-width: 141px;
  color: #ffffff;
}

.keycap-preview__name:hover,
.keycap-preview__name:focus-visible {
  text-decoration: underline;
  outline: none;
}

@media (max-width: 1100px) {
  .keycap-row--offset {
    padding-left: clamp(18px, 3.2vw, 34px);
  }

  .keycap-grid--keyboard .keycap {
    width: clamp(42px, 5.4vw, 68px);
  }

  .keycap-row {
    gap: clamp(6px, 0.9vw, 11px);
  }
}

.keycap-grid--mobile {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 2vw, 12px);
  padding: 8px 0 20px;
}

.keycap-grid--mobile .keycap-row {
  display: grid;
  grid-template-columns: repeat(var(--keycap-cols, 6), minmax(0, 1fr));
  gap: clamp(6px, 1.8vw, 10px);
  max-width: none;
  width: 100%;
  padding-left: 0;
}

.keycap-grid--mobile .keycap-row--offset {
  padding-left: 0;
}

.keycap-grid--mobile .keycap {
  width: 100%;
}

.keycap-grid--mobile .keycap__face {
  padding: clamp(10px, 2.5vw, 14px);
}

/* Sponsors */

.sponsors {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.sponsors__intro {
  text-align: center;
  max-width: 850px;
}

.sponsors__intro h2 {
  font-size: clamp(1.5rem, 3vw, 30px);
  font-weight: 700;
  color: var(--darkest-grey);
  margin-bottom: 22.5px;
}

.sponsors__intro p {
  font-size: 18px;
  font-weight: 500;
  color: var(--darker-grey);
  line-height: 1.4;
}

.sponsors__marquee {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
}

.sponsors__track {
  display: flex;
  width: max-content;
  animation: sponsors-marquee var(--sponsors-scroll-duration) linear infinite;
  will-change: transform;
  backface-visibility: hidden;
}

.sponsors__group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: clamp(48px, 8vw, 120px);
  padding-right: clamp(48px, 8vw, 120px);
}

.sponsors__logo {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 160px;
  background: var(--white);
  transform: translateZ(0);
}

.sponsors__logo img {
  display: block;
  width: 160px;
  height: 160px;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@keyframes sponsors-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sponsors__marquee {
    overflow-x: auto;
    mask-image: none;
  }

  .sponsors__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: var(--max-width);
    gap: clamp(24px, 5vw, 48px);
  }

  .sponsors__group {
    flex-wrap: wrap;
    justify-content: center;
    padding-right: 0;
  }

  .sponsors__group[aria-hidden="true"] {
    display: none;
  }
}

/* Instagram */

.instagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.instagram__intro {
  text-align: center;
}

.instagram__intro h2 {
  font-size: clamp(1.5rem, 3vw, 30px);
  font-weight: 700;
  margin-bottom: 10px;
}

.instagram__intro p {
  font-size: 18px;
  font-weight: 500;
}

.instagram__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 960px;
}

.instagram__post {
  aspect-ratio: 1;
  overflow: hidden;
  display: block;
  position: relative;
  z-index: 1;
  pointer-events: auto;
  cursor: pointer;
  border-radius: 2px;
  background: linear-gradient(
    180deg,
    var(--instagram-from) 0%,
    var(--instagram-to) 100%
  );
}

.instagram__post img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: transform 0.25s ease;
}

.instagram__post:hover img {
  transform: scale(1.04);
}

.instagram__post--reel::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background-color: rgb(0 0 0 / 55%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
  pointer-events: none;
}

/* Footer */

.site-footer {
  padding: 50px clamp(1.5rem, 5vw, 80px);
  background: linear-gradient(
    -1.5deg,
    var(--black) 4.86%,
    var(--white) 551%
  );
}

.site-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 63px;
}

.site-footer__columns {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(2rem, 6vw, 120px);
  width: 100%;
  align-items: start;
}

.site-footer__pages {
  justify-self: start;
  width: max-content;
}

.site-footer__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted-footer);
  margin-bottom: 10px;
}

.site-footer__pages nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.site-footer__pages a {
  font-size: 14px;
  font-weight: 500;
  padding: 2px 0;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.site-footer__pages a:hover {
  opacity: 0.8;
}

.site-footer__center {
  grid-column: 2;
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
}

.site-footer__institution {
  font-size: 16px;
  font-weight: 700;
  max-width: 850px;
  line-height: 1.35;
}

.site-footer__degree {
  font-size: 14px;
  font-weight: 400;
}

.site-footer__logos {
  width: min(410px, 100%);
  height: auto;
}

.site-footer__top {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.site-footer__top:hover {
  opacity: 0.8;
}

.site-footer__top svg {
  flex-shrink: 0;
}

.site-footer__copy {
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
  width: 100%;
}

/* Inner pages (placeholders) */

.page-placeholder {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  text-align: center;
  gap: 1rem;
}

.page-placeholder h1 {
  font-size: clamp(2rem, 5vw, 40px);
  font-weight: 700;
  text-transform: lowercase;
}

.page-placeholder p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.65);
  max-width: 480px;
  line-height: 1.5;
}

.page-placeholder a {
  margin-top: 1rem;
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Responsive */

@media (max-width: 900px) {
  .site-footer__columns {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .site-footer__pages {
    justify-self: center;
  }

  .site-footer__center {
    grid-column: auto;
    justify-self: center;
  }

  .site-footer__pages nav {
    align-items: center;
  }

  .site-footer__top {
    grid-column: auto;
    justify-self: center;
  }

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

  .works-toolbar,
  .works-toolbar--bottom {
    align-items: stretch;
  }

  .works-toolbar__filters {
    width: 100%;
  }

  .works-project {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }

  .works-project__body {
    max-width: none;
  }

  .works-project__body p {
    font-size: clamp(1rem, 2.5vw, 20px);
  }

  .journey-timeline__entries {
    gap: 60px;
  }

  .journey-entry__media {
    margin-top: 60px;
  }

  .journey-entry__body {
    font-size: clamp(1rem, 2.5vw, 24px);
  }

  .journey-carousel__wrap {
    gap: 24px;
  }

  .contact-section__grid {
    grid-template-columns: 1fr;
  }

  .student-profile__gallery-row {
    grid-template-columns: 1fr;
  }

  .student-profile__about {
    flex-direction: column;
    align-items: center;
  }

  .student-profile__bio {
    max-width: none;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 52px;
    --mobile-header-offset: calc(52px + env(safe-area-inset-top, 0px));
    --text-xs: 11px;
    --text-sm: 12px;
    --text-base: 14px;
    --text-md: 15px;
    --text-lg: 16px;
    --text-xl: clamp(1rem, 4.5vw, 1.125rem);
    --text-2xl: clamp(1.125rem, 5vw, 1.375rem);
    --text-3xl: clamp(1.25rem, 5.5vw, 1.5rem);
    --text-display: clamp(1.75rem, 8vw, 2.25rem);
    --text-hero: clamp(2rem, 9vw, 2.75rem);
  }

  body {
    font-size: var(--text-base);
  }

  body.site-nav-open {
    overflow: hidden;
    touch-action: none;
  }

  .key-reveal {
    height: 66.67vh;
    height: 66.67dvh;
    bottom: auto;
  }

  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    min-height: var(--header-height);
    box-sizing: border-box;
    padding: calc(max(0.5rem, env(safe-area-inset-top, 0px)) + 4px) 1rem 0.5rem;
    background: var(--black);
    transition: transform 0.28s ease;
    will-change: transform;
  }

  .site-header.site-header--hidden:not(.site-header--menu-open) {
    transform: translateY(-100%);
  }

  /* Keep main offset stable when header hides — prevents scroll/layout feedback loop */
  body.site-header-collapsed .site-shell > .site-header + main {
    padding-top: var(--mobile-header-offset);
  }

  .hero-header .site-header {
    position: fixed;
  }

  .site-header--overlay,
  .site-header--overlay.site-header--menu-open {
    background: var(--black);
  }

  .site-shell > .site-header + main {
    padding-top: var(--mobile-header-offset);
    transition: padding-top 0.28s ease;
  }

  .hero-header .hero,
  .hero-header .hero__video {
    min-height: 66.67vh;
    min-height: 66.67dvh;
    height: 66.67vh;
    height: 66.67dvh;
  }

  .site-header__logo {
    position: relative;
    z-index: 102;
    flex: 0 0 auto;
    line-height: 0;
  }

  .site-header__logo img {
    display: block;
    width: 96px;
    height: auto;
  }

  .site-header__menu-toggle {
    display: inline-flex;
    flex: 0 0 auto;
    margin-left: auto;
    z-index: 102;
  }

  .site-header .site-header__nav {
    position: fixed;
    inset: 0;
    z-index: 101;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    margin: 0;
    width: 100%;
    max-width: none;
    height: 100vh;
    height: 100dvh;
    padding: calc(var(--mobile-header-offset) + 2rem) 1.5rem max(2rem, env(safe-area-inset-bottom));
    background: rgba(0, 0, 0, 0.98);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition:
      opacity 0.32s ease,
      visibility 0.32s ease,
      transform 0.32s ease;
  }

  .site-header--menu-open .site-header__nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-header--menu-open.site-header--hidden {
    transform: translateY(0);
  }

  .site-header.site-header--menu-open {
    z-index: 9999;
  }

  .site-header--menu-open .site-header__nav {
    z-index: 1;
  }

  .site-header--menu-open .site-header__logo {
    position: relative;
    z-index: 2;
  }

  .site-header--menu-open .site-header__menu-toggle {
    position: fixed;
    top: calc(max(0.5rem, env(safe-area-inset-top, 0px)) + 4px);
    right: 1rem;
    z-index: 10000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .site-header--menu-open .site-header__menu-icon::before,
  .site-header--menu-open .site-header__menu-icon::after {
    width: 24px;
    left: -1px;
    background: #fff;
  }

  .site-header__nav a {
    display: block;
    width: 100%;
    padding: 1.125rem 0;
    font-size: var(--text-lg);
    letter-spacing: 0.04em;
    text-align: center;
    white-space: normal;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .site-header__nav a:last-child {
    border-bottom: none;
  }

  .hero__scroll-cue {
    bottom: clamp(1.25rem, 5vw, 2.5rem);
  }

  .section {
    padding: clamp(40px, 10vw, 60px) clamp(1rem, 4vw, 1.5rem);
  }

  .section__title {
    font-size: var(--text-2xl);
    margin-bottom: clamp(1.25rem, 4vw, 2rem);
  }

  .gallery.section {
    gap: 28px;
    padding: clamp(40px, 10vw, 60px) clamp(1rem, 4vw, 1.5rem);
  }

  .gallery__title {
    font-size: var(--text-2xl);
  }

  .keycap-gallery .keycap-preview {
    position: fixed;
    left: 50% !important;
    top: auto !important;
    bottom: max(1rem, env(safe-area-inset-bottom));
    transform: translateX(-50%);
    width: min(223px, 78vw);
    height: min(301px, 105vw);
    z-index: 200;
  }

  .sponsors__intro h2,
  .instagram__intro h2 {
    font-size: var(--text-xl);
  }

  .sponsors__intro p,
  .instagram__intro p,
  .journey-miro p {
    font-size: var(--text-base);
    line-height: 1.45;
  }

  .works-project__body h2 {
    font-size: var(--text-xl);
  }

  .works-project__category {
    font-size: var(--text-sm);
  }

  .works-project__body p {
    font-size: var(--text-base);
    line-height: 1.5;
  }

  .works-pagination {
    font-size: var(--text-base);
  }

  .journey-entry__body {
    font-size: var(--text-base);
    line-height: 1.55;
  }

  .journey-entry__heading {
    font-size: var(--text-lg);
  }

  .student-profile__back {
    font-size: var(--text-base);
  }

  .student-profile__project {
    font-size: var(--text-display);
  }

  .student-profile__category,
  .student-profile__name {
    font-size: var(--text-base);
  }

  .student-profile__summary p {
    font-size: var(--text-base);
    line-height: 1.55;
  }

  .contact-section__title {
    font-size: var(--text-hero);
  }

  .contact-section__address-event p {
    font-size: var(--text-md);
  }

  .contact-section {
    gap: 32px;
    padding: clamp(40px, 10vw, 60px) clamp(1rem, 4vw, 1.5rem);
  }

  .works-list {
    gap: 0;
    padding: clamp(32px, 8vw, 48px) clamp(1rem, 4vw, 1.25rem);
  }

  .works-list > #works-projects {
    margin-top: 32px;
  }

  .works-list > .works-toolbar--bottom {
    justify-content: center;
    margin-top: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .works-toolbar {
    align-items: stretch;
    gap: 0;
  }

  .works-toolbar__filters {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .works-filter-dropdown,
  .works-search-dropdown {
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
  }

  .works-filter,
  .works-search {
    min-width: 0;
    height: 44px;
    padding: 0 16px;
    font-size: var(--text-base);
  }

  .works-filter__chevron,
  .works-search__icon {
    width: 18px;
    height: 18px;
  }

  .works-search__input {
    font-size: var(--text-base);
  }

  .works-pagination {
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 100%;
  }

  .works-pagination button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0.5rem;
  }

  .works-project {
    gap: 16px;
    justify-content: flex-start;
  }

  .works-project__body {
    gap: 16px;
  }

  .works-project__body h2 {
    font-size: var(--text-xl);
  }

  .command {
    gap: 24px;
  }

  .sponsors,
  .instagram {
    gap: 28px;
  }

  .site-footer__columns {
    gap: 32px;
  }

  .student-profile__pager {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    text-align: center;
  }

  .student-profile__pager-link {
    min-height: 44px;
    align-items: center;
  }

  .contact-section {
    gap: 32px;
  }

  .contact-section__grid {
    gap: 32px;
  }

  .contact-form-figma label {
    font-size: var(--text-sm);
  }

  .contact-form-figma input,
  .contact-form-figma textarea {
    font-size: var(--text-base);
  }

  .contact-section__address-org,
  .contact-section__address-details p,
  .contact-section__address-street {
    font-size: var(--text-base);
  }

  .contact-social__card h3 {
    font-size: var(--text-base);
  }

  .contact-social__card a,
  .contact-social__card span {
    font-size: var(--text-xs);
  }

  .works-empty {
    font-size: var(--text-base);
  }

  .journey-miro h2 {
    font-size: var(--text-2xl);
  }

  .page-placeholder h1 {
    font-size: var(--text-3xl);
  }

  .page-placeholder p {
    font-size: var(--text-md);
  }

  .page-placeholder a {
    font-size: var(--text-sm);
  }

  .contact-form-figma {
    gap: 24px;
  }

  .contact-social {
    gap: 16px;
  }

  .works-empty {
    font-size: 15px;
  }

  .journey-hero {
    padding: 0 clamp(1rem, 4vw, 1.5rem);
  }

  .journey-timeline {
    padding: clamp(40px, 10vw, 60px) clamp(1rem, 4vw, 1.5rem);
  }

  .journey-entry__media {
    margin-top: 40px;
  }

  .journey-carousel__wrap {
    position: relative;
    gap: 0;
  }

  .journey-carousel__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    padding: 0.5rem;
  }

  .journey-carousel__nav--prev {
    left: 8px;
  }

  .journey-carousel__nav--next {
    right: 8px;
  }

  .journey-carousel__viewport {
    flex: none;
    width: 100%;
  }

  .journey-carousel--peek .journey-carousel__slide {
    left: 5%;
    width: 90%;
  }

  .journey-carousel--peek .journey-carousel__slide.is-prev {
    transform: translateX(calc(-100% - 8px)) scale(0.95);
  }

  .journey-carousel--peek .journey-carousel__slide.is-next {
    transform: translateX(calc(100% + 8px)) scale(0.95);
  }

  .journey-miro {
    padding: clamp(40px, 10vw, 60px) clamp(1rem, 4vw, 1.5rem);
  }

  .site-footer {
    padding: clamp(40px, 8vw, 60px) clamp(1rem, 4vw, 1.5rem);
  }

  .site-footer__label {
    font-size: var(--text-sm);
  }

  .site-footer__pages a,
  .site-footer__degree {
    font-size: var(--text-sm);
  }

  .site-footer__institution {
    font-size: var(--text-sm);
    line-height: 1.4;
  }

  .site-footer__top {
    font-size: var(--text-xs);
  }

  .site-footer__copy {
    font-size: var(--text-xs);
    line-height: 1.4;
  }

  .instagram__grid {
    gap: 12px;
  }

  .student-profile__intro {
    padding: 30px clamp(1rem, 4vw, 1.5rem) 0;
  }

  .student-profile__hero--inset {
    --student-profile-hero-inset: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .student-profile__bio-name {
    font-size: var(--text-2xl);
  }

  .student-profile__bio-text p {
    font-size: var(--text-base);
    line-height: 1.55;
  }

  .student-profile__pager {
    padding: 24px clamp(1rem, 4vw, 1.5rem) 40px;
  }

  .student-profile__pager-link {
    font-size: var(--text-base);
  }

  .student-profile__gallery {
    padding: 0 clamp(1rem, 4vw, 1.5rem) 60px;
  }

  .student-profile__gallery-carousel-wrap {
    position: relative;
    gap: 0;
  }

  .student-profile__gallery-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    padding: 0.5rem;
  }

  .student-profile__gallery-carousel-nav--prev {
    left: 8px;
  }

  .student-profile__gallery-carousel-nav--next {
    right: 8px;
  }

  .student-profile__gallery-carousel-viewport {
    flex: none;
    width: 100%;
  }

  .student-profile__summary {
    padding: clamp(32px, 8vw, 60px) clamp(1rem, 4vw, 1.5rem);
  }
}

@media (max-width: 640px) {
  .keycap-preview {
    width: min(223px, 70vw);
    height: min(301px, 95vw);
  }

  .works-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .works-toolbar__filters {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .works-filter,
  .works-filter-dropdown,
  .works-search-dropdown {
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
  }

  .works-filter {
    min-width: 0;
  }

  .works-pagination {
    width: 100%;
    justify-content: center;
  }

  .works-pagination button {
    min-width: 44px;
    min-height: 44px;
  }

  .instagram__grid {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 360px;
  }

  .works-hero__row {
    justify-content: flex-start;
    gap: 20px;
  }

  .works-hero__card {
    width: min(223px, 42vw);
    height: auto;
    aspect-ratio: 223 / 301;
  }

  .works-hero__card--narrow {
    width: min(112px, 22vw);
  }

  .journey-timeline__entries {
    gap: 60px;
  }

  .journey-entry__heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .journey-entry__media {
    margin-top: 40px;
  }

  .journey-carousel__wrap {
    position: relative;
    gap: 0;
  }

  .journey-carousel__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    padding: 0.5rem;
  }

  .journey-carousel__nav--prev {
    left: 8px;
  }

  .journey-carousel__nav--next {
    right: 8px;
  }

  .journey-carousel__viewport {
    flex: none;
    width: 100%;
  }

  .journey-carousel--peek .journey-carousel__slide {
    left: 5%;
    width: 90%;
  }

  .journey-carousel--peek .journey-carousel__slide.is-prev {
    transform: translateX(calc(-100% - 8px)) scale(0.95);
  }

  .journey-carousel--peek .journey-carousel__slide.is-next {
    transform: translateX(calc(100% + 8px)) scale(0.95);
  }

  .contact-section__title {
    font-size: var(--text-display);
  }

  .contact-social {
    gap: 32px;
  }

  .contact-social__card {
    width: min(130px, 45%);
  }

  .sponsors__intro p,
  .instagram__intro p,
  .journey-miro p {
    font-size: var(--text-base);
  }

  .sponsors__logo {
    width: 120px;
    height: 120px;
  }

  .sponsors__logo img {
    width: 120px;
    height: 120px;
  }

  .site-footer__inner {
    gap: 40px;
  }

  .site-footer__institution {
    font-size: var(--text-sm);
  }

  .site-footer__copy {
    font-size: var(--text-xs);
  }

  .instagram__grid {
    gap: 12px;
  }

  .student-profile__intro {
    padding-top: 30px;
  }

  .student-profile__gallery {
    padding-bottom: 60px;
  }

  .student-profile__gallery-carousel-wrap {
    position: relative;
    gap: 0;
  }

  .student-profile__gallery-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    padding: 0.5rem;
  }

  .student-profile__gallery-carousel-nav--prev {
    left: 8px;
  }

  .student-profile__gallery-carousel-nav--next {
    right: 8px;
  }

  .student-profile__gallery-carousel-viewport {
    flex: none;
    width: 100%;
  }

  .student-profile__pager {
    padding-bottom: 40px;
  }

  .student-profile__pager-link {
    font-size: 16px;
  }
}

/* Our Works */

.works-hero {
  padding: 0 clamp(1.5rem, 5vw, 80px) clamp(60px, 8vw, 100px);
}

.works-hero__grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  max-width: 1164px;
  margin: 0 auto;
}

.works-hero__row {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.works-hero__card {
  flex: 0 0 auto;
  width: 223px;
  height: 301px;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--white);
  position: relative;
}

.works-hero__card--narrow {
  width: 112px;
}

.works-hero__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.works-hero__card--featured::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(0, 0, 0, 0.5) 100%
  );
  pointer-events: none;
}

.works-hero__card-overlay {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 24px;
  z-index: 2;
  color: var(--white);
  text-shadow: 0 3px 3px rgba(0, 0, 0, 0.25);
}

.works-hero__card-overlay h3 {
  font-size: 19.6px;
  font-weight: 700;
  margin-bottom: 4px;
}

.works-hero__card-overlay p {
  font-size: 10px;
  font-weight: 400;
  line-height: 1.35;
  max-width: 141px;
}

.works-list {
  padding: clamp(60px, 8vw, 100px) clamp(1.5rem, 5vw, 80px);
  display: flex;
  flex-direction: column;
}

.works-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.works-toolbar--bottom {
  justify-content: flex-end;
}

.works-toolbar__filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
}

.works-filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-width: 180px;
  height: 50px;
  padding: 0 30px;
  background: var(--white);
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 2px rgba(0, 0, 0, 0.25);
  font-family: inherit;
  font-size: 16px;
  color: #535353;
  cursor: pointer;
}

.works-filter-dropdown {
  position: relative;
}

.works-filter-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 20;
  min-width: 220px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.works-filter-menu[hidden] {
  display: none;
}

.works-filter-menu button {
  display: block;
  width: 100%;
  padding: 10px 24px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 15px;
  color: #535353;
  text-align: left;
  cursor: pointer;
}

.works-filter-menu button:hover,
.works-filter-menu button:focus-visible {
  background: rgba(0, 0, 0, 0.05);
}

.works-filter-menu button.is-active {
  background: rgba(0, 0, 0, 0.1);
  font-weight: 700;
}

.works-filter__chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.works-search-dropdown {
  max-width: 360px;
}

@media (min-width: 769px) {
  .works-search-dropdown {
    flex: 1 1 220px;
  }
}

.works-search-dropdown .works-search {
  width: 100%;
}

.works-search-menu {
  left: 0;
  right: 0;
  width: 100%;
  max-height: 280px;
  overflow-y: auto;
}

.works-search-menu__empty {
  color: #888;
  cursor: default;
}

.works-search-menu__empty:hover,
.works-search-menu__empty:focus-visible {
  background: none;
}

.works-search {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-width: 180px;
  height: 50px;
  padding: 0 30px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 4px 2px rgba(0, 0, 0, 0.25);
  cursor: text;
}

.works-search__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.works-search__input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 16px;
  color: #535353;
  outline: none;
}

.works-search__input::placeholder {
  color: #535353;
}

.works-search__input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 6l12 12M18 6L6 18' stroke='%23535353' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E")
    center / 24px 24px no-repeat;
}

.works-search__input::-moz-search-clear-button {
  width: 24px;
  height: 24px;
  cursor: pointer;
}

.works-search__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: #535353;
  pointer-events: none;
}

.works-empty {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 0;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  color: var(--white);
}

.works-pagination {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 18px;
  font-weight: 500;
}

.works-pagination button {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
}

.works-pagination button:disabled {
  opacity: 0.35;
  cursor: default;
}

#works-projects {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

@media (min-width: 769px) {
  .works-list {
    gap: 50px;
  }

  #works-projects {
    gap: 50px;
  }
}

.works-project {
  display: flex;
  flex-wrap: wrap;
  gap: 35px;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.works-project__image {
  position: relative;
  flex: 0 0 500px;
  max-width: 100%;
  width: 100%;
  height: 310px;
  border-radius: 20px;
  overflow: hidden;
  display: block;
  transition: opacity 0.2s;
}

a.works-project__image:hover {
  opacity: 0.7;
}

.works-project__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.works-project__body {
  flex: 1 1 320px;
  max-width: 745px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.works-project__body h2 {
  font-size: clamp(1.75rem, 4vw, 36px);
  font-weight: 700;
  text-transform: lowercase;
}

.works-project__category {
  margin: -12px 0 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  color: var(--white);
}

.works-project__category-link {
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-align: left;
  transition: opacity 0.2s;
}

.works-project__category-link:hover,
.works-project__category-link:focus-visible {
  opacity: 0.75;
}

.works-project__body p {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--white);
}

/* Our Journey */

.page-journey .journey-miro__embed {
  background: var(--black);
}

.page-journey .journey-miro__embed--preview {
  background: var(--black);
}

.journey-hero {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 90px;
}

.journey-hero .journey-carousel {
  width: 100%;
}

.journey-carousel--peek .journey-carousel__wrap {
  position: relative;
  gap: 0;
}

.journey-carousel--peek .journey-carousel__viewport {
  flex: none;
  width: 100%;
  border-radius: 0;
  max-height: calc(100svh - var(--header-height) - 200px);
}

.journey-carousel--peek .journey-carousel__track--peek {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.journey-carousel--peek .journey-carousel__slide {
  position: absolute;
  top: 0;
  left: 12%;
  width: 76%;
  height: 100%;
  opacity: 0;
  transform: translateX(0) scale(0.92);
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  box-shadow: none;
}

.journey-carousel--peek .journey-carousel__slide.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
  z-index: 3;
  pointer-events: auto;
  box-shadow: 0 12px 48px rgb(0 0 0 / 45%);
}

.journey-carousel--peek .journey-carousel__slide.is-prev {
  opacity: 0.38;
  transform: translateX(calc(-100% - 12px)) scale(0.94);
  z-index: 2;
}

.journey-carousel--peek .journey-carousel__slide.is-next {
  opacity: 0.38;
  transform: translateX(calc(100% + 12px)) scale(0.94);
  z-index: 2;
}

.journey-carousel--peek .journey-carousel__slide.is-hidden {
  opacity: 0;
  z-index: 0;
}

.journey-carousel--peek .journey-carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  padding: 0.5rem;
}

.journey-carousel--peek .journey-carousel__nav--prev {
  left: clamp(0.75rem, 2.5vw, 32px);
}

.journey-carousel--peek .journey-carousel__nav--next {
  right: clamp(0.75rem, 2.5vw, 32px);
}

.journey-carousel--peek .journey-carousel__dots {
  padding: 0 clamp(1.5rem, 5vw, 80px);
}

.journey-timeline {
  padding: 100px clamp(1.5rem, 5vw, 80px) clamp(60px, 8vw, 100px);
}

.journey-timeline__entries {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.journey-entry {
  display: flex;
  flex-direction: column;
}

.journey-entry__content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.journey-entry__heading {
  display: flex;
  flex-wrap: wrap;
  gap: 29px;
  align-items: center;
  font-size: clamp(1rem, 2vw, 23px);
  font-weight: 700;
  line-height: 1.2;
  text-transform: lowercase;
}

.journey-entry__body {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--white);
}

.journey-entry__brand {
  text-transform: lowercase;
  font-variant: normal;
  letter-spacing: 0.02em;
}

.journey-entry__media {
  margin-top: 100px;
}

.journey-carousel {
  width: 100%;
}

.journey-carousel--single .journey-carousel__wrap {
  gap: 0;
}

.journey-carousel--single .journey-carousel__nav,
.journey-carousel--single .journey-carousel__dots {
  display: none;
}

.journey-carousel__wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 50px;
}

.journey-carousel__viewport {
  flex: 1;
  min-width: 0;
  width: 100%;
  aspect-ratio: 1440 / 893;
  overflow: hidden;
  border-radius: 4px;
}

.journey-carousel__track {
  display: flex;
  height: 100%;
  transition: transform 0.35s ease;
}

.journey-carousel__slide {
  flex-shrink: 0;
  height: 100%;
  margin: 0;
  opacity: 0.35;
  overflow: hidden;
  border-radius: 4px;
  transition: opacity 0.35s ease;
}

.journey-carousel__slide.is-active {
  opacity: 1;
}

.journey-carousel__slide.is-next {
  opacity: 0.45;
}

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

.journey-carousel__nav {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  padding: 0;
  border: none;
  background: none;
  color: var(--white);
  cursor: pointer;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.journey-carousel__nav:hover:not(:disabled) {
  opacity: 1;
}

.journey-carousel__nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.journey-carousel:not(.journey-carousel--peek) .journey-carousel__nav svg {
  width: 40px;
  height: 40px;
}

.journey-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.journey-carousel__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgb(255 255 255 / 35%);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.journey-carousel__dot.is-active {
  background: var(--white);
  transform: scale(1.15);
}

.journey-carousel__dot:hover {
  background: rgb(255 255 255 / 65%);
}

.page-contact .hero {
  position: relative;
  min-height: 0;
  background: var(--black);
}

.page-contact .hero__gradient {
  background: var(--black);
}

.page-contact .hero__bg img {
  opacity: 0;
}

.page-contact .site-shell,
.page-contact main,
.page-contact .contact-section {
  background: var(--black);
}

.page-contact .contact-section {
  padding-top: clamp(24px, 4vw, 40px);
}

.journey-miro {
  padding: clamp(60px, 8vw, 100px) clamp(1.5rem, 5vw, 84px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
}

.journey-miro > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.journey-miro h2 {
  font-size: clamp(1.5rem, 3vw, 30px);
  font-weight: 700;
}

.journey-miro p {
  font-size: 18px;
  font-weight: 500;
}

.journey-miro__embed {
  position: relative;
  width: min(1060px, 100%);
  height: clamp(320px, 50vw, 600px);
  background: linear-gradient(
    180deg,
    var(--instagram-from) 0%,
    var(--instagram-to) 100%
  );
  border-radius: 4px;
  overflow: hidden;
}

.journey-miro__preview {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0.85;
}

.site-shell .journey-miro__embed > .journey-miro__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: auto;
  cursor: pointer;
}

.journey-miro__cta {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  transition: opacity 0.2s ease;
}

.journey-miro__cta:hover,
.journey-miro__cta:focus-visible {
  opacity: 0.75;
}

.journey-miro__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0);
  color: var(--white);
  text-decoration: none;
  transition: background 0.2s ease;
}

.journey-miro__overlay:hover,
.journey-miro__overlay:focus-visible {
  background: rgba(0, 0, 0, 0.13);
}

.journey-miro__overlay-label {
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.57);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: lowercase;
}

/* Contact */

.contact-section {
  padding: clamp(60px, 8vw, 100px) clamp(1.5rem, 5vw, 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}

.contact-section__title {
  font-size: clamp(3rem, 12vw, 120px);
  font-weight: 700;
  text-align: center;
  line-height: 1;
  letter-spacing: -0.02em;
}

.contact-section__form-wrap {
  width: min(811px, 100%);
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.contact-section__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(2rem, 8vw, 160px);
  align-items: start;
}

.contact-section__address {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--font);
  font-style: normal;
  line-height: 1.5;
  color: var(--white);
}

.contact-section__address-org {
  font-size: 16px;
  font-weight: 400;
}

.contact-section__address-details {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-section__address-details p {
  font-size: 16px;
  font-weight: 400;
}

.contact-section__address-event p {
  font-size: 20px;
  font-weight: 400;
}

.contact-section__address-street {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 400;
}

.contact-form-figma {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-form-figma label {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.contact-form-figma input,
.contact-form-figma textarea {
  font-family: inherit;
  font-size: 16px;
  color: var(--white);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--white);
  padding: 0 0 10px;
  outline: none;
}

.contact-form-figma textarea {
  min-height: 80px;
  resize: none;
  overflow-y: hidden;
  line-height: 1.45;
}

.contact-form-figma__submit {
  align-self: flex-end;
  width: 120px;
  height: 50px;
  padding: 0;
  background: var(--black);
  color: var(--white);
  border: 2px solid var(--white);
  border-radius: 30px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
}

.contact-form-figma__submit:hover {
  opacity: 0.85;
}

.contact-form-figma__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.contact-form-figma__botcheck {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-form-figma__status {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

.contact-form-figma__status--success {
  color: var(--accent-solid);
}

.contact-form-figma__status--error {
  color: #ff8a8a;
}

.contact-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.contact-social__card {
  width: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.contact-social__card h3 {
  font-size: 16px;
  font-weight: 500;
  margin: 0;
}

.contact-social__icon {
  width: 36px;
  height: 36px;
  margin: 0;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--white);
  transition: opacity 0.2s;
}

.contact-social__icon:hover {
  opacity: 0.8;
}

.contact-social__icon svg {
  width: 36px;
  height: 36px;
  display: block;
  color: var(--white);
}

.contact-social__card a,
.contact-social__card span {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  word-break: break-all;
}

.site-header__nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* Student profile */

.student-profile {
  width: 100%;
}

.student-profile__intro {
  padding: 50px clamp(1.5rem, 5vw, 80px) 0;
  display: flex;
  flex-direction: column;
}

.student-profile__titles {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 30px;
}

.student-profile__back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 500;
  color: var(--white);
  transition: opacity 0.2s;
}

.student-profile__back:hover {
  opacity: 0.75;
}

.student-profile__project {
  font-family: var(--font);
  font-size: clamp(2rem, 10vw, 64px);
  font-weight: 700;
  line-height: 1;
}

.student-profile__category {
  font-family: var(--font);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  color: var(--white);
}

.student-profile__name {
  font-family: var(--font);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

.student-profile__hero {
  position: relative;
  width: 100%;
  margin-top: 30px;
  aspect-ratio: 1440 / 893;
  max-height: 893px;
  overflow: hidden;
}

.student-profile__hero--inset {
  padding-left: var(--student-profile-hero-inset, 80px);
  padding-right: var(--student-profile-hero-inset, 80px);
  box-sizing: border-box;
}

.student-profile__hero--natural {
  aspect-ratio: auto;
  max-height: none;
  height: auto;
}

.student-profile__hero--natural > img {
  width: 100%;
  height: auto;
  object-fit: initial;
}

.student-profile__hero--contain {
  background: #0d0d0d;
}

.student-profile__hero--contain > img {
  object-fit: contain;
  object-position: center;
}

.student-profile__hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: auto;
}

.student-profile__summary {
  padding: clamp(40px, 10vw, 100px) clamp(1.5rem, 5vw, 80px);
  display: flex;
  justify-content: center;
}

.student-profile__summary p {
  max-width: 829px;
  font-size: clamp(1rem, 2.5vw, 24px);
  font-weight: 400;
  line-height: 1.45;
  color: var(--white);
}

.student-profile__gallery {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 80px) 100px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.student-profile__gallery-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.student-profile__gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
}

.student-profile__gallery-item img,
.student-profile__gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.student-profile__gallery-item--wide {
  aspect-ratio: 1440 / 893;
}

.student-profile__gallery-row .student-profile__gallery-item {
  aspect-ratio: 1;
}

.student-profile__gallery-carousel {
  width: 100%;
}

.student-profile__gallery-carousel--single .student-profile__gallery-carousel-wrap {
  gap: 0;
}

.student-profile__gallery-carousel--single .student-profile__gallery-carousel-nav,
.student-profile__gallery-carousel--single .student-profile__gallery-carousel-dots {
  display: none;
}

.student-profile__gallery-carousel-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 50px;
}

.student-profile__gallery-carousel-viewport {
  flex: 1;
  min-width: 0;
  width: 100%;
  aspect-ratio: 1440 / 893;
  overflow: hidden;
  border-radius: 4px;
}

.student-profile__gallery-carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.35s ease;
}

.student-profile__gallery-carousel-slide {
  flex-shrink: 0;
  aspect-ratio: auto;
  height: 100%;
  margin: 0;
  opacity: 0.35;
  transition: opacity 0.35s ease;
}

.student-profile__gallery-carousel-slide.is-active {
  opacity: 1;
}

.student-profile__gallery-carousel-slide.is-next {
  opacity: 0.45;
}

.student-profile__gallery-carousel-nav {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  padding: 0;
  border: none;
  background: none;
  color: var(--white);
  cursor: pointer;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.student-profile__gallery-carousel-nav:hover:not(:disabled) {
  opacity: 1;
}

.student-profile__gallery-carousel-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.student-profile__gallery-carousel-nav svg {
  width: 40px;
  height: 40px;
}

.student-profile__gallery-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.student-profile__gallery-carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgb(255 255 255 / 35%);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.student-profile__gallery-carousel-dot.is-active {
  background: var(--white);
  transform: scale(1.15);
}

.student-profile__gallery-carousel-dot:hover {
  background: rgb(255 255 255 / 65%);
}

.student-profile__about {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(2.5rem, 8vw, 100px);
  padding: clamp(60px, 8vw, 100px) clamp(1.5rem, 5vw, 80px);
}

.student-profile__about--bio-tall {
  align-items: center;
}

.student-profile__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: min(223px, 100%);
}

.student-profile__portrait {
  width: 100%;
  aspect-ratio: 223 / 301;
  border-radius: 25px;
  overflow: hidden;
  isolation: isolate;
  contain: paint;
  transform: translateZ(0);
  background: var(--white);
}

.student-profile__portrait img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: inherit;
  object-fit: cover;
  object-position: center top;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.student-profile__social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.student-profile__social a {
  display: block;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: var(--white);
  transition: opacity 0.2s;
}

.student-profile__social-icon {
  display: block;
  width: 36px;
  height: 36px;
}

.student-profile__social-icon svg {
  width: 36px;
  height: 36px;
  display: block;
}

.student-profile__social a:hover {
  opacity: 0.8;
}

.student-profile__bio {
  flex: 1 1 320px;
  max-width: 829px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.student-profile__bio-name {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
}

.student-profile__bio-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.student-profile__bio-text p {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--white);
}

.student-profile__pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 30px clamp(1.5rem, 5vw, 80px) 60px;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.student-profile__pager-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  transition: opacity 0.2s;
}

.student-profile__pager-link:hover {
  opacity: 0.75;
}

.student-profile__pager-link--disabled {
  opacity: 0.35;
  pointer-events: none;
  cursor: default;
}

/* Bold text displays lowercase sitewide */
b,
strong,
.section__title,
.gallery__title,
.keycap-preview__name,
.sponsors__intro h2,
.instagram__intro h2,
.site-footer__institution,
.site-footer__copy,
.page-placeholder h1,
.works-hero__card-overlay h3,
.works-filter-menu button.is-active,
.works-project__body h2,
.journey-entry__heading,
.journey-miro h2,
.journey-miro__overlay-label,
.contact-section__title,
.contact-form-figma__submit,
.student-profile__project,
.student-profile__bio-name,
.student-profile__pager-link {
  text-transform: lowercase;
}
