/* =============================
   RESET
============================= */

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  position: relative;

  background: #0c0c0c;
  color: #fff;

  font-family: "objektiv-mk1", sans-serif;
  font-weight: 400;
  font-style: normal;

  font-size: 14px;
  line-height: 1.2;

  overflow-x: clip;
}

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


/* =============================
   TEXT SELECTION
============================= */

::selection {
  background: rgba(255, 255, 255, 0.86);
  color: #000;
}

::-moz-selection {
  background: rgba(255, 255, 255, 0.86);
  color: #000;
}


/* =============================
   BACKGROUND VIDEO
============================= */

.background-video-layer {
  position: fixed;
  inset: 0;

  z-index: 0;

  pointer-events: none;
  overflow: hidden;

  opacity: 0;

  transition:
    opacity 0.5s
    cubic-bezier(0.22, 1, 0.36, 1);
}

.background-video-layer.active {
  opacity: 1;
}

.background-video-layer video {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transform: scale(1.1);

  filter:
    blur(50px)
    brightness(0.42)
    saturate(0.9);

  opacity: 0.85;
}


/* =============================
   MEDIA RATIOS
============================= */

.landscape {
  aspect-ratio: 16 / 9;
}

.vertical {
  aspect-ratio: 9 / 16;
}

.portrait {
  aspect-ratio: 3 / 4;
}

.social-horiz {
  aspect-ratio: 4 / 3;
}

.square {
  aspect-ratio: 1 / 1;
}


/* =============================
   SITE LAYOUT
============================= */

.site-layout {
  position: relative;
  z-index: 1;

  width:
    min(
      calc(
        100% - clamp(20px, 3vw, 32px)
      ),
      1024px
    );

  margin: 0 auto;

  display: grid;

  grid-template-columns:
    clamp(120px, 15vw, 160px)
    minmax(0, 1fr);

  gap:
    clamp(14px, 2.5vw, 28px);

  overflow: visible;
}


/* =============================
   ENTRANCE ANIMATIONS
============================= */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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


@keyframes logoEnter {
  from {
    opacity: 0;

    transform:
      translateX(var(--logo-x))
      translateY(16px)
      scale(0.96);
  }

  to {
    opacity: 1;

    transform:
      translateX(var(--logo-x))
      translateY(0)
      scale(1);
  }
}


/* =============================
   SIDEBAR
============================= */

.sidebar {
  position: sticky;
  top: 0;

  height: 100dvh;

  padding-top:
    clamp(24px, 6vh, 56px);

  padding-bottom:
    clamp(18px, 4vh, 40px);

  display: flex;
  flex-direction: column;

  overflow: visible;
}

.sidebar-top {
  flex-shrink: 0;
}


/* =============================
   LOGO
============================= */

.logo-wrap {
  --logo-x:
    clamp(-40px, -3vw, -23px);

  width:
    clamp(88px, calc(7vw + 28px), 122px);

  aspect-ratio: 1 / 1;

  margin-bottom:
    clamp(22px, 4vw, 56px);

  position: relative;

  flex-shrink: 0;

  overflow: hidden;

  opacity: 0;

  animation:
    logoEnter
    0.8s
    cubic-bezier(0.22, 1, 0.36, 1)
    forwards;

  animation-delay: 0.04s;
}

.logo-image {
  position: absolute;

  top: 50%;
  left: 50%;

  display: block;

  width: 120%;
  height: 120%;

  object-fit: contain;

  transform:
    translate(-50%, -50%);
}


/* =============================
   BIO
============================= */

.bio {
  line-height: 1.7;

  margin-bottom:
    clamp(10px, 2vw, 24px);

  opacity: 0;

  animation:
    fadeUp
    0.7s
    cubic-bezier(0.22, 1, 0.36, 1)
    forwards;

  animation-delay: 0.12s;
}


/* =============================
   LOCATION
============================= */

.location {
  margin-bottom:
    clamp(24px, 5vw, 80px);

  opacity: 0;

  animation:
    fadeUp
    0.7s
    cubic-bezier(0.22, 1, 0.36, 1)
    forwards;

  animation-delay: 0.18s;
}


/* =============================
   SIDE NAV
============================= */

.side-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  gap:
    clamp(0px, 0.3vw, 2px);

  opacity: 0;

  animation:
    fadeUp
    0.7s
    cubic-bezier(0.22, 1, 0.36, 1)
    forwards;

  animation-delay: 0.24s;
}

.side-nav a {
  line-height: 1.6;

  transition:
    opacity 0.2s ease;
}

.side-nav a:hover {
  opacity: 0.55;
}


/* =============================
   SIDEBAR BOTTOM
============================= */

.sidebar-bottom {
  margin-top: auto;

  margin-bottom:
    clamp(12px, 2.5vh, 20px);

  padding-top:
    clamp(14px, 3vw, 40px);

  display: flex;
  align-items: center;

  gap:
    clamp(8px, 1.2vw, 12px);

  flex-shrink: 0;

  line-height: 1.4;

  opacity: 0;

  animation:
    fadeUp
    0.7s
    cubic-bezier(0.22, 1, 0.36, 1)
    forwards;

  animation-delay: 0.3s;
}

.sidebar-bottom a {
  display: flex;
  align-items: center;

  transition:
    opacity 0.2s ease;
}

.sidebar-bottom a:hover {
  opacity: 0.55;
}


/* =============================
   SOCIAL ICONS
============================= */

.sidebar-bottom .social-icon {
  display: block;

  width:
    clamp(14px, 1.5vw, 18px);

  height:
    clamp(14px, 1.5vw, 18px);

  object-fit: contain;
}


/* =============================
   MAIN CONTENT
============================= */

.main-content {
  min-width: 0;
  width: 100%;

  align-self: start;

  overflow: visible;
}


/* =============================
   MOBILE MENU
============================= */

.mobile-menu-toggle {
  display: none;
}


/* =============================
   TOP NAV
============================= */

.top-nav {
  position: sticky;
  position: -webkit-sticky;

  top: 0;

  z-index: 1000;

  height: 55px;

  display: flex;
  justify-content: flex-end;
  align-items: center;

  gap:
    clamp(18px, 2.5vw, 28px);

  padding-right:
    clamp(12px, 2vw, 24px);

  background:
    rgba(0, 0, 0, 0.22);

  backdrop-filter:
    blur(12px);

  -webkit-backdrop-filter:
    blur(12px);

  transform: translateY(0);

  transition:
    transform
    0.4s
    cubic-bezier(0.22, 1, 0.36, 1);
}


/* =============================
   TOP NAV ENTRANCE
============================= */

.top-nav .filter {
  flex-shrink: 0;

  opacity: 0;

  animation:
    fadeUp
    0.7s
    cubic-bezier(0.22, 1, 0.36, 1)
    forwards;
}

.top-nav .filter:nth-of-type(1) {
  animation-delay: 0.08s;
}

.top-nav .filter:nth-of-type(2) {
  animation-delay: 0.12s;
}

.top-nav .filter:nth-of-type(3) {
  animation-delay: 0.16s;
}

.top-nav .filter:nth-of-type(4) {
  animation-delay: 0.20s;
}

.top-nav .filter:nth-of-type(5) {
  animation-delay: 0.24s;
}


/* =============================
   FILTER BUTTONS
============================= */

.filter {
  border: 0;

  padding: 5px 0;

  background: transparent;

  color: #aaa;

  font: inherit;

  cursor: pointer;

  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

.filter:hover {
  color: #fff;
}

.filter.active {
  color: #fff;
}


/* =============================
   PROJECT GRID
============================= */

.project-grid {
  columns: 3;

  column-gap:
    clamp(10px, 1.4vw, 14px);

  padding-bottom: 60px;
}


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

.project {
  width: 100%;

  break-inside: avoid;
  -webkit-column-break-inside: avoid;

  margin-bottom:
    clamp(18px, 2.5vw, 28px);

  opacity: 0;

  animation:
    fadeUp
    0.8s
    cubic-bezier(0.22, 1, 0.36, 1)
    forwards;
}


/* =============================
   PROJECT STAGGER
============================= */

.project:nth-child(1) {
  animation-delay: 0.12s;
}

.project:nth-child(2) {
  animation-delay: 0.18s;
}

.project:nth-child(3) {
  animation-delay: 0.24s;
}

.project:nth-child(4) {
  animation-delay: 0.30s;
}

.project:nth-child(5) {
  animation-delay: 0.36s;
}

.project:nth-child(6) {
  animation-delay: 0.42s;
}

.project:nth-child(7) {
  animation-delay: 0.48s;
}

.project:nth-child(8) {
  animation-delay: 0.54s;
}

.project:nth-child(9) {
  animation-delay: 0.60s;
}


/* =============================
   PROJECT MEDIA
============================= */

.media {
  width: 100%;

  overflow: hidden;

  background: #111;

  transform: scale(1);

  transition:
    transform
    0.35s
    cubic-bezier(0.22, 1, 0.36, 1);
}

.media img,
.media video {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}


.media img.kyoretsuna {
  object-position: 50% 0%;
}



/* =============================
   PROJECT HOVER
============================= */

.project:hover .media {
  transform:
    scale(1.035);
}


/* =============================
   PROJECT TITLES
============================= */

.project h2 {
  margin-top: 7px;

  font-size:
    clamp(15px, 1.6vw, 18px);

  line-height: 1.12;

  font-weight: 400;
}


/* =============================
   FILTER STATE
============================= */

.project.hidden {
  display: none;
}


/* =============================
   TABLET
============================= */

@media (max-width: 900px) {

  .project-grid {
    columns: 2;
  }

}



/* =============================
   MOBILE
============================= */

@media (max-width: 700px) {

  body {
    --mobile-padding:
      clamp(14px, 4vw, 18px);
  }


  /* =========================
     PAGE
  ========================= */

  .site-layout {
    display: block;

    width: auto;
    max-width: none;

    margin: 0;

    padding:
      0
      var(--mobile-padding);

    overflow: visible;
  }


  .main-content {
    overflow: visible;
  }


  /* =========================
     SIDEBAR AT TOP
  ========================= */

  .sidebar {
    position: relative;

    width: 100%;
    height: auto;

    padding:
      clamp(26px, 7vw, 38px)
      0
      clamp(28px, 8vw, 44px);

    overflow: visible;

    transform: none;
  }


  /* =========================
     DRAWER SIDEBAR
  ========================= */

  body.sidebar-open .sidebar {
    position: fixed;

    top: 0;
    left: 0;

    z-index: 3000;

    width:
      min(84vw, 350px);

    height: 100dvh;

    padding:
      clamp(30px, 8vw, 42px)
      clamp(22px, 6vw, 30px)
      clamp(28px, 7vw, 38px);

    overflow-y: auto;

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

    backdrop-filter:
      blur(18px);

    -webkit-backdrop-filter:
      blur(18px);

    animation:
      mobileSidebarIn
      0.5s
      cubic-bezier(0.22, 1, 0.36, 1)
      forwards;
  }


  @keyframes mobileSidebarIn {
    from {
      transform:
        translateX(-105%);
    }

    to {
      transform:
        translateX(0);
    }
  }


  /* =========================
     MOBILE LOGO
  ========================= */

  .logo-wrap {
    --logo-x:
      clamp(-47px, -9vw, -30px);

    width:
      clamp(118px, 30vw, 145px);

    margin-bottom:
      clamp(22px, 6vw, 34px);
  }


  /* =========================
     MOBILE BIO
  ========================= */

  .bio {
    max-width: 430px;

    margin-bottom:
      clamp(14px, 4vw, 20px);

    font-size:
      clamp(18px, 5vw, 24px);

    line-height: 1.18;
  }


  .location {
    margin-bottom:
      clamp(20px, 6vw, 30px);
  }


  /* =========================
     MOBILE SIDE NAV
  ========================= */

  .side-nav {
    width: 100%;

    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;

    gap:
      8px
      clamp(14px, 5vw, 22px);
  }


  .side-nav a {
    line-height: 1.2;
  }


  /* =========================
     SIDEBAR BOTTOM
  ========================= */

  .sidebar-bottom {
    margin-top:
      clamp(28px, 8vw, 40px);

    margin-bottom: 0;

    padding-top: 0;

    gap:
      clamp(10px, 3vw, 14px);
  }


  .sidebar-bottom .social-icon {
    width: 18px;
    height: 18px;
  }


  /* =========================
     MOBILE TOP NAV
  ========================= */

  .top-nav {
    position: sticky;
    position: -webkit-sticky;

    top: 0;

    z-index: 2000;

    width: calc(
      100% + (var(--mobile-padding) * 2)
    );

    height: 55px;

    margin-left:
      calc(-1 * var(--mobile-padding));

    margin-right:
      calc(-1 * var(--mobile-padding));

    padding-left:
      var(--mobile-padding);

    padding-right:
      var(--mobile-padding);

    display: flex;
    align-items: center;

    justify-content: flex-start;

    gap:
      clamp(14px, 4vw, 20px);

    white-space: nowrap;

    background:
      rgba(0, 0, 0, 0.48);

    backdrop-filter:
      blur(14px);

    -webkit-backdrop-filter:
      blur(14px);

    transform:
      translateY(0);

    transition:
      transform
      0.4s
      cubic-bezier(0.22, 1, 0.36, 1),
      background
      0.25s ease;
  }


  /*
    Hide sticky bar while
    scrolling downward.
  */

  body.nav-hidden .top-nav {
    transform:
      translateY(-105%);
  }


  /* =========================
     MOBILE MENU
  ========================= */

  .mobile-menu-toggle {
    display: none;

    flex-shrink: 0;

    margin-right: auto;

    border: 0;

    padding: 5px 0;

    background: transparent;

    color: #fff;

    font: inherit;

    cursor: pointer;

    opacity: 0;

    transition:
      opacity 0.25s ease;
  }


  /*
    Once we're inside the work
    section, show Menu.
  */

  body.work-mode
  .mobile-menu-toggle {
    display: block;

    opacity: 1;
  }


  /*
    Menu stays on the left;
    filters are pushed right.
  */

  body.work-mode
  .mobile-menu-toggle
  + .filter {
    margin-left: auto;
  }


  body.sidebar-open
  .mobile-menu-toggle {
    opacity: 0;

    pointer-events: none;
  }


  /* =========================
     FILTERS
  ========================= */

  .top-nav .filter {
    flex-shrink: 0;
  }


  /* =========================
     PROJECT GRID
  ========================= */

  .project-grid {
    columns: 1;
  }

}


/* =============================
   EXTRA SMALL MOBILE
============================= */

@media (max-width: 380px) {

  .logo-wrap {
    width:
      clamp(112px, 34vw, 132px);
  }


  .bio {
    font-size:
      clamp(17px, 5.5vw, 21px);
  }


  .side-nav {
    gap:
      8px 14px;
  }

}


/* =============================
   REDUCED MOTION
============================= */

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

  html {
    scroll-behavior: auto;
  }


  .logo-wrap,
  .bio,
  .location,
  .side-nav,
  .sidebar-bottom,
  .top-nav .filter,
  .project {
    opacity: 1;

    animation: none;
  }


  .logo-wrap {
    transform:
      translateX(
        var(--logo-x)
      );
  }


  .media {
    transition: none;
  }


  .project:hover .media {
    transform: none;
  }


  .background-video-layer,
  .top-nav {
    transition: none;
  }

}



/* =============================
   ABOUT CONTENT
============================= */

.about-content {
  width: 100%;

  padding-top:
    clamp(20px, 3vw, 34px);

  padding-bottom:
    clamp(80px, 12vw, 140px);
}


/* =============================
   ABOUT INTRO
============================= */

.about-intro {
  margin-bottom:
    clamp(52px, 8vw, 90px);
}


.about-intro h1 {
  max-width: 780px;

  font-size:
    clamp(42px, 5.4vw, 72px);

  line-height: 0.98;

  font-weight: 400;

  letter-spacing:
    -0.035em;

  opacity: 0;

  animation:
    fadeUp
    0.8s
    cubic-bezier(0.22, 1, 0.36, 1)
    forwards;

  animation-delay: 0.10s;
}


.about-description {
  max-width: 650px;

  margin-top:
    clamp(28px, 4vw, 42px);

  font-size:
    clamp(13px, 1.8vw, 15px);

  line-height: 1.45;

  color:
    rgba(255, 255, 255, 0.62);

  opacity: 0;

  animation:
    fadeUp
    0.8s
    cubic-bezier(0.22, 1, 0.36, 1)
    forwards;

  animation-delay: 0.18s;
}


/* =============================
   ABOUT SECTIONS
============================= */

.about-section {
  margin-bottom:
    clamp(54px, 8vw, 90px);

  opacity: 0;

  animation:
    fadeUp
    0.8s
    cubic-bezier(0.22, 1, 0.36, 1)
    forwards;
}


.about-section:nth-of-type(2) {
  animation-delay: 0.26s;
}


.about-section:nth-of-type(3) {
  animation-delay: 0.34s;
}


/* =============================
   SECTION LABEL
============================= */

.about-label {
  margin-bottom:
    clamp(22px, 3vw, 34px);

  font-size:
    clamp(16px, 1.8vw, 20px);

  line-height: 1;

  font-weight: 400;

  color: rgba(253, 253, 253, 0.774);

}


/* =============================
   ABOUT GRID
============================= */

.about-grid {
  display: grid;

  width: 100%;

  gap:
    clamp(28px, 5vw, 56px);
}


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


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


/* =============================
   ABOUT ITEMS
============================= */

.about-item h3 {
  margin-bottom:
    clamp(8px, 1vw, 12px);

  font-size:
    clamp(26px, 3vw, 38px);

  line-height: 1.02;

  font-weight: 400;

  letter-spacing:
    -0.025em;
}


.about-item p {
  margin-bottom: 4px;

  font-size:
    clamp(14px, 1.5vw, 18px);

  line-height: 1.35;

  color:
    rgba(255, 255, 255, 0.58);
}


/* =============================
   TABLET
============================= */

@media (max-width: 900px) {

  .about-intro h1 {
    font-size:
      clamp(40px, 6vw, 58px);
  }


  .about-item h3 {
    font-size:
      clamp(24px, 3.5vw, 32px);
  }

}


/* =============================
   MOBILE
============================= */

@media (max-width: 700px) {

  .about-content {
    padding-top:
      clamp(10px, 3vw, 18px);

    padding-bottom:
      clamp(70px, 16vw, 110px);
  }


  .about-intro {
    margin-bottom:
      clamp(48px, 12vw, 72px);
  }


  .about-intro h1 {
    font-size:
      clamp(38px, 11vw, 56px);

    line-height: 1;
  }


  .about-description {
    max-width: 100%;

    margin-top:
      clamp(24px, 7vw, 34px);

    font-size:
      clamp(15px, 4.2vw, 18px);

    line-height: 1.5;
  }


  .about-section {
    margin-bottom:
      clamp(48px, 12vw, 70px);
  }


  .about-grid-2,
  .about-grid-3 {
    grid-template-columns: 1fr;
  }


  .about-grid {
    gap:
      clamp(28px, 8vw, 42px);
  }


  .about-item h3 {
    font-size:
      clamp(26px, 8vw, 34px);
  }


  .about-item p {
    font-size:
      clamp(14px, 4vw, 17px);
  }

}


/* =============================
   REDUCED MOTION
============================= */

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

  .about-intro h1,
  .about-description,
  .about-section {
    opacity: 1;
    animation: none;
  }

}

/* =============================
   RESUME TOGGLE
============================= */

.resume-toggle {
  border: 0;
  padding: 5px 0;

  background: transparent;

  color: #aaa;

  font: inherit;
  cursor: pointer;

  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

.resume-toggle:hover {
  color: #fff;
}

.resume-toggle.is-open {
  color: #fff;
}


/* remove default h1 spacing */
.resume-toggle .about-label {
  margin: 0;
  color: inherit;
}


/* =============================
   RESUME CONTENT
============================= */

.resume-content {
  max-height: 0;

  margin-top: 0;

  overflow: hidden;

  opacity: 0;

  transform:
    translateY(12px);

  transition:
    max-height 0.7s
      cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.45s ease,
    transform 0.55s
      cubic-bezier(0.22, 1, 0.36, 1),
    margin-top 0.45s ease;
}


.resume-content.is-open {
  max-height: 1400px;

  margin-top: 20px;

  opacity: 1;

  transform:
    translateY(0);
}


.resume-content img {
  display: block;

  width: 100%;
  height: auto;
}


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

.project-detail {
  width: 100%;

  padding-top:
    clamp(24px, 4vw, 48px);

  padding-bottom:
    clamp(90px, 14vw, 160px);
}


/* =============================
   HERO
============================= */

.project-hero {
  width: 100%;

  overflow: hidden;

  opacity: 0;

  animation:
    fadeUp
    0.8s
    cubic-bezier(0.22, 1, 0.36, 1)
    forwards;

  animation-delay: 0.08s;
}

.project-hero img,
.project-hero video {
  display: block;

  width: 100%;
  height: auto;
}


/* =============================
   PROJECT HEADER
============================= */

.project-detail-header {
  padding-top:
    clamp(18px, 3vw, 28px);

  text-align: center;

  opacity: 0;

  animation:
    fadeUp
    0.8s
    cubic-bezier(0.22, 1, 0.36, 1)
    forwards;

  animation-delay: 0.16s;
}


.project-detail-header h1 {
  font-size:
    clamp(32px, 4vw, 48px);

  line-height: 1;

  font-weight: 400;

  letter-spacing:
    -0.03em;
}


/* =============================
   META
============================= */

.project-meta {
  margin-top: 8px;

  display: flex;
  justify-content: center;
  align-items: center;

  gap: 8px;

  color:
    rgba(255, 255, 255, 0.65);
}


.project-meta span + span::before {
  content: "·";

  margin-right: 8px;
}


/* =============================
   DIVIDER
============================= */

.project-divider {
  width: 100%;

  height: 1px;

  margin:
    clamp(20px, 3vw, 28px)
    0;

  background:
    rgba(255, 255, 255, 0.12);

  opacity: 0;

  animation:
    fadeUp
    0.8s
    cubic-bezier(0.22, 1, 0.36, 1)
    forwards;

  animation-delay: 0.22s;
}


/* =============================
   SUMMARY
============================= */

.project-summary {
  margin-bottom:
    clamp(22px, 4vw, 36px);

  text-align: center;

  font-size:
    clamp(16px, 1.8vw, 20px);

  line-height: 1.4;

  color:
    rgba(255, 255, 255, 0.78);

  opacity: 0;

  animation:
    fadeUp
    0.8s
    cubic-bezier(0.22, 1, 0.36, 1)
    forwards;

  animation-delay: 0.28s;
}


/* =============================
   PROJECT MEDIA BLOCK
============================= */

.project-media-block {
  width: 100%;

  margin-bottom:
    clamp(44px, 7vw, 80px);

  overflow: hidden;

  background: #111;

  opacity: 0;

  animation:
    fadeUp
    0.8s
    cubic-bezier(0.22, 1, 0.36, 1)
    forwards;

  animation-delay: 0.32s;
}


.project-media-block img,
.project-media-block video {
  display: block;

  width: 100%;
  height: auto;
}


/* =============================
   PROJECT INFO
============================= */

.project-info {
  display: grid;

  grid-template-columns:
    minmax(100px, 0.28fr)
    minmax(0, 1fr);

  gap:
    clamp(24px, 5vw, 60px);

  margin-bottom:
    clamp(50px, 8vw, 90px);

  padding-top:
    clamp(18px, 3vw, 28px);

  border-top:
    1px solid
    rgba(255, 255, 255, 0.12);

  opacity: 0;

  animation:
    fadeUp
    0.8s
    cubic-bezier(0.22, 1, 0.36, 1)
    forwards;
}


.project-info-label {
  color:
    rgba(255, 255, 255, 0.5);
}


.project-info-text {
  max-width: 640px;

  font-size:
    clamp(14px, 2.2vw, 18px);

  line-height: 1.35;
}


/* =============================
   TABLET
============================= */

@media (max-width: 900px) {

  .project-detail-header h1 {
    font-size:
      clamp(30px, 5vw, 42px);
  }

}


/* =============================
   MOBILE
============================= */

@media (max-width: 700px) {

  .project-detail {
    padding-top:
      clamp(18px, 5vw, 28px);

    padding-bottom:
      clamp(70px, 16vw, 110px);
  }


  .project-detail-header {
    text-align: left;
  }


  .project-meta {
    justify-content: flex-start;
  }


  .project-summary {
    text-align: left;
  }


  .project-info {
    grid-template-columns: 1fr;

    gap: 14px;
  }


  .project-info-text {
    font-size:
      clamp(14px, 5vw, 18px);
  }
  
  .keyshots-grid {
    grid-template-columns: 1fr;
  }

  .keyshot:first-child {
    grid-column: auto;
  }

}

/* =============================
   Hero-Specifics Image/Vids
============================= */
.project-hero .media video {
  display: block;
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.project-hero .project-hero-video-drop-it {
  object-position: 50% 50%;
}

/* =============================
   YT-Frames
============================= */
.youtube-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.youtube-frame iframe {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  border: 0;
}

/* =============================
   Keyshot
============================= */

.keyshots-section {
  align-items: start;
}

.keyshots-grid {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap:
    clamp(8px, 1.2vw, 14px);

  width: 100%;
}

.keyshots-section {
  grid-template-columns: 1fr;
  gap: 20px;
}

.keyshots-grid-magic {
  display: grid;
  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  gap:
    clamp(8px, 1.2vw, 14px);

  width: 100%;
}

.keyshots-grid-blended {
  display: grid;

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

  gap:
    clamp(8px, 1.2vw, 14px);

  width: 100%;
}

.keyshots-grid-hefficient {
  display: grid;

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

  column-gap:
    clamp(8px, 1.2vw, 14px);

  row-gap: 5px;

  width: 100%;
}

.keyshot-blended {
  width: 100%;
}

.keyshot-blended img,
.keyshot-blended video {
  display: block;

  width: 100%;
  height: auto;
}


.keyshot {
  width: 100%;
  overflow: hidden;
  background: #111;
  aspect-ratio: 16 / 9;
}

.keyshot img,
.keyshot video {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

/*
.keyshot:first-child {
  grid-column: 1 / -1;
}
*/

/* =============================
   REDUCED MOTION
============================= */

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

  .project-hero,
  .project-detail-header,
  .project-divider,
  .project-summary,
  .project-media-block,
  .project-info {
    opacity: 1;
    animation: none;
  }

}