/*
Theme Name: Resn Clone
Theme URI: https://www.resn.co.nz
Author: Resn Clone
Author URI: https://www.resn.co.nz
Description: Pixel-perfect clone of resn.co.nz
Version: 3.0.2
License: GPL v2 or later
Text Domain: resn-clone
*/

/* ========================================
   Reset & Base
   ======================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 10px;
  overflow-y: scroll;
}

html, body {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
}

body {
  background: #1C1A18;
  margin: 0;
}

* {
  user-select: none;
  -webkit-user-drag: none;
}

img {
  max-width: 100%;
  border: 0;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s ease, box-shadow 0.4s ease;
}

img:hover {
  transform: scale(1.03);
  filter: brightness(1.1);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

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

ul, ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ========================================
   Fonts
   ======================================== */
@font-face {
  font-family: "Fort-Extralight";
  src: url("assets/fonts/Fort-ExtraLight.woff2") format("woff2"),
       url("assets/fonts/Fort-ExtraLight.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fort-Light";
  src: url("assets/fonts/Fort-Light.woff2") format("woff2"),
       url("assets/fonts/Fort-Light.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fort-Book";
  src: url("assets/fonts/Fort-Book.woff2") format("woff2"),
       url("assets/fonts/Fort-Book.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fort-Medium";
  src: url("assets/fonts/Fort-Medium.woff2") format("woff2"),
       url("assets/fonts/Fort-Medium.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fort-Bold";
  src: url("assets/fonts/Fort-Bold.woff2") format("woff2"),
       url("assets/fonts/Fort-Bold.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ========================================
   Root Container
   ======================================== */
.rootNode {
  overflow: hidden;
  position: fixed;
  display: block;
  width: 100%;
  height: 100%;
  z-index: 100;
  font-size: 1.6rem;
  font-family: Fort-Book, Arial, sans-serif;
  font-weight: normal;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  color: #fff;
}

/* ========================================
   Shell Buttons (4 Corner Fixed Buttons)
   ======================================== */
.shell {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  pointer-events: none;
}

.shell__button {
  position: fixed;
  z-index: 1010;
  cursor: pointer;
  display: block;
  pointer-events: auto;
}

.shell__button .button__hitarea {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
}

.shell__button .button__icon {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.shell__button .button__icon canvas,
.shell__button .button__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.shell__button .button__text {
  position: absolute;
  white-space: nowrap;
  color: #fff;
  font-family: Fort-Book, Arial, sans-serif;
  font-weight: normal;
  -webkit-font-smoothing: antialiased;
}

/* Top-left: Back button (window restore icon) */
.shell__button--back {
  left: 23px;
  top: 15px;
  width: 18px;
  height: 18px;
}
.shell__button--back .button__hitarea {
  left: -80px;
  top: -120px;
}
.shell__button--back .button__text {
  left: 30px;
  top: 1px;
}

/* Top-left: Drop button (legacy) */
.shell__button--drop {
  left: 23px;
  top: 15px;
  width: 18px;
  height: 24px;
}
.shell__button--drop .button__hitarea {
  left: -80px;
  top: -120px;
}
.shell__button--drop .button__text {
  left: 30px;
  top: 6px;
}

/* Shell button text hover reveal */
.shell__button .button__text {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.shell__button:hover .button__text {
  opacity: 1;
}

/* Top-right: Menu/Discover button */
.shell__button--menu {
  right: 23px;
  top: 20px;
  width: 18px;
  height: 18px;
}
.shell__button--menu .button__hitarea {
  right: -80px;
  top: -120px;
}
.shell__button--menu .button__text {
  right: 30px;
  top: 1px;
}

/* Bottom-left: Showreel button */
.shell__button--reel {
  left: 23px;
  bottom: 21px;
  width: 15px;
  height: 17px;
}
.shell__button--reel .button__hitarea {
  left: -80px;
  bottom: -120px;
}
.shell__button--reel .button__text {
  left: 27px;
  top: 0;
}

/* Bottom-right: Audio button */
.shell__button--sound {
  right: 23px;
  bottom: 21px;
  width: 24px;
  height: 16px;
}
.shell__button--sound .button__hitarea {
  right: -80px;
  bottom: -120px;
}
.shell__button--sound .button__text {
  right: 32px;
  top: -2px;
}

/* ========================================
   Work Page
   ======================================== */
.work-page {
  height: 100%;
}

/* ========================================
   Work Menu (Main Interaction Area)
   ======================================== */
.work__menu {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  perspective: 500px;
  cursor: grab;
  cursor: -webkit-grab;
}

.work__menu.is-dragging {
  cursor: grabbing;
  cursor: -webkit-grabbing;
}

/* ========================================
   Poster Display
   ======================================== */
.work__menu-poster {
  position: absolute;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  transform-style: preserve-3d;
  outline: 1px solid transparent;
  pointer-events: auto;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.5s ease;
}

.work__menu-poster:hover {
  transform: scale(1.02);
  filter: brightness(1.08);
}

.work__menu-poster img {
  position: absolute;
  width: 100%;
  height: auto;
  transition: opacity 0.5s ease, transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s ease;
}

.work__menu-poster img:hover {
  transform: scale(1.03);
  filter: brightness(1.1);
}

/* ========================================
   Project Items Container
   ======================================== */
.work__menu-items {
  position: absolute;
  width: 100%;
  top: 58%;
}

/* ========================================
   Individual Project Item
   ======================================== */
.work__menu-item {
  position: absolute;
  text-align: center;
  font-size: 4rem;
  line-height: 5.6rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
  cursor: pointer;
  padding: 5rem;
  transition: opacity 0.3s ease, transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.work__menu-item:hover {
  opacity: 0.7;
}

.work__menu-item.active {
  pointer-events: none;
  opacity: 1;
}

.work__menu-item.active:hover {
  opacity: 1;
}

/* Disable transitions during drag */
.work__menu-items.no-transition .work__menu-item {
  transition: none !important;
}

.work__menu-item .title span {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: normal;
  -webkit-font-smoothing: antialiased;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.work__menu-item .client {
  position: absolute;
  left: 0;
  width: 100%;
  font-size: 1.2rem;
  margin-top: -2.5rem;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.work__menu-item.active .title span {
  opacity: 1;
}

.work__menu-item.active .client {
  opacity: 1;
}

/* ========================================
   Archive Button (Top Center)
   ======================================== */
/* Bottom arrow hint */
.work__arrow-bottom {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1001;
  pointer-events: none;
  opacity: 0.4;
}
.work__arrow-bottom svg {
  display: block;
}

.work__menu-archive-btn {
  left: 0;
  top: 20px;
  position: fixed;
  width: 100vw;
  height: 0;
  text-align: center;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.work__menu-list-btn {
  cursor: pointer;
  color: #fff;
  font-size: 1.1rem;
  line-height: 2.2rem;
  font-family: Fort-Medium, Arial, sans-serif;
  font-weight: normal;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  top: 8rem;
  pointer-events: auto;
}

.work__menu-list-btn .underline {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #fff;
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1), opacity 0.5s ease;
  transform-origin: left center;
  transform: scaleX(0);
}
.work__menu-list-btn .underline.fade {
  opacity: 0.24;
  transform: scaleX(1);
}
.work__menu-list-btn:hover .underline.animate {
  opacity: 1;
  transform: scaleX(1);
}
.work__menu-list-btn:hover .underline.fade {
  opacity: 0;
}

/* ========================================
   Quicknav Arrows (Left/Right, matching Resn)
   ======================================== */
.work__quicknav {
  position: fixed;
  left: 0;
  top: 58%;
  width: 100%;
  height: 0;
  z-index: 2000;
  pointer-events: none;
}

.quicknav__arrow {
  position: absolute;
  top: -50px;
  width: 100px;
  height: 100px;
  cursor: pointer;
  pointer-events: auto;
  opacity: 0;
  display: none;
}

.quicknav__arrow svg {
  width: 100%;
  height: 100%;
  display: block;
}

.quicknav__arrow--up {
  left: 80px;
}

.quicknav__arrow--down {
  right: 80px;
}

/* ========================================
   Menu Overlay (Resn-style fullscreen menu)
   ======================================== */
.shell__overlay {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #1C1A18;
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.shell__overlay.is-open {
  display: block;
  opacity: 1;
}

.shell__close {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 1;
}

.menu-page {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  perspective: 500px;
  z-index: 2;
  pointer-events: none;
}

.shell__overlay.is-open .menu-page {
  pointer-events: auto;
}

.menu-page .menu {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  font-family: Fort-Light, Arial, sans-serif;
  font-weight: normal;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
}

.menu-page .menu .hover-blocker {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.menu-page .menu .menu-item {
  display: inline-block;
  width: 20%;
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: normal;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  text-align: center;
  font-size: 3.5rem;
  line-height: 3.5rem;
  letter-spacing: -1px;
  cursor: pointer;
  position: relative;
  z-index: 2;
  color: #fff;
  margin-top: 50vh;
  transition: color 0.4s ease;
}

.menu .menu-item:hover {
  color: #d4a853;
}

.menu .menu-item a {
  color: inherit;
  text-decoration: none;
  transition: color 0.4s ease;
}

.menu .menu-item a:hover {
  color: #d4a853;
}

.menu-page .menu .menu-item:last-of-type {
  width: 22%;
}

.menu-page .menu .menu-item a {
  display: block;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.menu-page .menu .menu-item a:hover {
  background: linear-gradient(135deg, #f5c96a, #e8a850, #d4943a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 1;
}

.menu-page .menu .menu-item a:hover {
  opacity: 0.5;
}

.menu-page .menu .menu-item a span {
  display: block;
  padding: 2.5rem 0;
}

/* ========================================
   Resn Inner Pages (About, Contact, etc.)
   ======================================== */
.resn-page {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
}

.resn-page__content {
  text-align: center;
  max-width: 800px;
  padding: 4rem;
}

.resn-page__title {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: normal;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  font-size: 8rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 4rem;
}

.resn-page__body {
  font-family: Fort-Book, Arial, sans-serif;
  font-weight: normal;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  font-size: 1.8rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.6);
}

.resn-page__body p {
  margin-bottom: 2rem;
}

.resn-page__body a {
  color: #fff;
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.resn-page__body a:hover {
  opacity: 0.5;
}

@media (max-width: 768px) {
  .resn-page__title {
    font-size: 4.5rem;
  }
  .resn-page__body {
    font-size: 1.5rem;
  }
}

/* ========================================
   About Page (Resn-style)
   ======================================== */
.about-page {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  color: #fff;
  font-family: Fort-Light, Arial, sans-serif;
  font-weight: normal;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  font-size: 2.2rem;
  line-height: 1.4;
  letter-spacing: 0.025em;
  z-index: 10;
}

.about__inner {
  max-width: 1184px;
  margin: 16rem auto 20rem;
  padding: 0 8rem 5rem;
}

/* Big "About" heading */
.about-page .about__title {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: normal;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  font-size: 10rem;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 6rem;
}

.about-page .about__resnTitle {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: normal;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  font-size: 6rem;
  line-height: 1;
  margin-bottom: 2rem;
  color: #fff;
}

.about-page .about__resnSubtitle {
  font-size: 3.2rem;
  line-height: 1.3;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1rem;
}

.about-page .about__storySkills {
  font-size: 2.2rem;
  line-height: 1.4;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0;
}

/* Dividers */
.about-page .about__divider {
  border: 0;
  height: 1px;
  margin: 9.6rem 0;
  background-color: #333;
}

/* Section Titles */
.about-page .about__sectionTitle {
  font-family: Fort-Light, Arial, sans-serif;
  font-weight: normal;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  font-size: 4rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 5rem;
}

/* Client Rows */
.about-page .about__clientRow {
  display: flex;
  align-items: baseline;
  margin-bottom: 2.4rem;
  font-size: 2.2rem;
  line-height: 1.5;
}

.about-page .about__clientCat {
  width: 33.3%;
  flex-shrink: 0;
  font-family: Fort-Book, Arial, sans-serif;
  font-weight: normal;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.065em;
  color: rgba(255,255,255,0.4);
  padding-top: 0.4em;
}

.about-page .about__clientNames {
  color: rgba(255,255,255,0.6);
}

/* Awards */
.about-page .about__awardsList {
  font-size: 2.2rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .about__inner {
    padding: 0 3rem 5rem;
    margin-top: 10rem;
  }
  .about-page .about__title {
    font-size: 5rem;
    margin-bottom: 3rem;
  }
  .about-page .about__resnTitle {
    font-size: 3.5rem;
  }
  .about-page .about__resnSubtitle {
    font-size: 2rem;
  }
  .about-page .about__sectionTitle {
    font-size: 2.8rem;
  }
  .about-page .about__clientRow {
    flex-direction: column;
    margin-bottom: 2rem;
  }
  .about-page .about__clientCat {
    width: 100%;
    margin-bottom: 0.2rem;
  }
}

/* ========================================
   Contact Page (Resn-style)
   ======================================== */
.contact-page {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  font-family: Fort-Light, Arial, sans-serif;
  font-weight: normal;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}


.contact-page /* ========================================
   Contact Page
   ======================================== */
.contact__inner {
  width: 80%;
  max-width: 1160px;
  padding: 12rem 8rem 2rem;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.contact-page .contact__header {
  margin-bottom: 6rem;
}

.contact-page .contact__title {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: normal;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  font-size: 10rem;
  line-height: 1;
  letter-spacing: -0.03em;
  color: rgba(255,255,255,0.5);
}

.contact-page .contact__divider {
  border: 0;
  height: 1px;
  margin: 0 0 8rem;
  background-color: rgba(255,255,255,0.08);
}

/* Grid Layout */
.contact-page .contact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem 3rem;
  margin-bottom: 8rem;
}

.contact-page .contact__item {
  display: flex;
  align-items: flex-start;
  gap: 1.6rem;
}

.contact-page .contact__icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.3rem;
}

.contact-page .contact__info {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.contact-page .contact__label {
  font-family: Fort-Book, Arial, sans-serif;
  font-weight: normal;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin: 0;
}

.contact-page .contact__text {
  font-family: Fort-Light, Arial, sans-serif;
  font-weight: normal;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  font-size: 1.6rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.45);
  margin: 0;
}

.contact__footer {
  text-align: left;
  padding: 2rem 0;
  margin-top: auto;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.contact__footer p {
  font-family: Fort-Book, Arial, sans-serif;
  font-weight: normal;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  font-size: 1.1rem;
  line-height: 2;
  color: rgba(255,255,255,0.2);
  margin: 0;
}

.contact__footer-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.contact__social {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
}

.contact__social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.contact__social-icon:hover {
  transform: scale(1.15);
  opacity: 0.85;
}



@media (max-width: 768px) {
  .contact-page .contact__inner {
    width: 100%;
    padding: 10rem 3rem 4rem;
  }
  .contact-page .contact__header {
    flex-direction: column;
  }
  .contact-page .contact__title {
    font-size: 5rem;
    margin-right: 0;
    margin-bottom: 2rem;
  }
  .contact-page .contact__emails a {
    font-size: 2.4rem;
  }
  .contact-page .contact__office {
    flex-direction: column;
  }
  .contact-page .contact__office-label {
    width: 100%;
    margin-right: 0;
    margin-bottom: 1rem;
  }
}

/* ========================================
   Project Detail Page (Resn-style)
   ======================================== */
.project-page {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
}

/* Fullscreen hero image */
.project__hero {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
}

.project__hero img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.project__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.5) 60%, rgba(0,0,0,0.85) 100%);
}

/* ========================================
   Project Header (title + desc + meta + launch)
   ======================================== */
.project__header {
  position: absolute;
  top: 58%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 900px;
  text-align: center;
  padding: 0 4rem;
  z-index: 10;
}

.project__header .project__title {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: normal;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  font-size: 6rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 2rem;
  max-width: 100%;
  text-align: center;
  text-shadow: 0 0 40px rgba(0,0,0,0.7), 0 0 80px rgba(0,0,0,0.4);
}

.project__header .project__desc {
  font-family: Fort-Book, Arial, sans-serif;
  font-weight: normal;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  font-size: 1.8rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
  max-width: 100%;
  margin-bottom: 4rem;
  text-align: center;
  text-shadow: 0 0 20px rgba(0,0,0,0.7);
}

/* Meta info: 3 columns */
.project__header .project__meta {
  display: flex;
  justify-content: center;
  gap: 8rem;
  margin-bottom: 4rem;
}

.project__header .project__meta-col h4 {
  font-family: Fort-Book, Arial, sans-serif;
  font-weight: normal;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 0.8rem;
}

.project__header .project__meta-col p {
  font-family: Fort-Book, Arial, sans-serif;
  font-weight: normal;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  font-size: 1.5rem;
  line-height: 1.4;
  color: rgba(255,255,255,0.7);
}

/* LAUNCH SITE button with arrow animation */
.project__launch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  font-family: Fort-Book, Arial, sans-serif;
  font-weight: normal;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  font-size: 1.3rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
  margin: 0 auto;
}

.project__launch:hover {
  opacity: 0.6;
}

.project__launch-arrow {
  transition: transform 0.3s ease;
}

.project__launch:hover .project__launch-arrow {
  transform: translate(4px, -4px);
}

/* ========================================
   Project Body (scrollable content)
   ======================================== */
.project__body {
  position: absolute;
  top: 100vh;
  left: 0;
  width: 100%;
  min-height: calc(100vh - 100vh);
  overflow-y: auto;
  overflow-x: hidden;
  background: #1C1A18;
  z-index: 5;
  padding-bottom: 12rem;
}

/* Headline blocks */
.project__headline {
  max-width: 800px;
  margin: 0 auto;
  padding: 12rem 8rem 6rem;
}

.project__headline-title {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: normal;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  font-size: 4.5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 3rem;
}

.project__headline p {
  font-family: Fort-Book, Arial, sans-serif;
  font-weight: normal;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  font-size: 1.8rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
}

/* Full-width content images */
.project__image-el {
  width: 100%;
  margin: 4rem 0;
}

.project__image-el img {
  width: 100%;
  height: auto;
  display: block;
}

/* Video placeholder */
.project__video-placeholder {
  width: 100%;
  height: 60vh;
  min-height: 400px;
  background: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4rem 0;
  cursor: pointer;
  transition: background 0.3s ease;
}

.project__video-placeholder:hover {
  background: #2a2a2a;
}

.project__video-placeholder-inner {
  text-align: center;
}

.project__video-placeholder-inner svg {
  display: block;
  margin: 0 auto 2rem;
}

.project__video-placeholder-inner p {
  font-family: Fort-Book, Arial, sans-serif;
  font-weight: normal;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* ========================================
   Project Navigation (Prev/Next)
   ======================================== */
.project__nav {
  position: fixed;
  bottom: 6rem;
  right: 8rem;
  display: flex;
  gap: 3rem;
  z-index: 20;
}

.project__nav-prev,
.project__nav-next {
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  font-family: Fort-Book, Arial, sans-serif;
  font-weight: normal;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  transition: color 0.3s ease;
}

.project__nav-prev:hover,
.project__nav-next:hover {
  color: #fff;
}

.project__nav-prev svg,
.project__nav-next svg {
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.project__nav-prev:hover svg,
.project__nav-next:hover svg {
  opacity: 1;
}

@media (max-width: 768px) {
  .project__header {
    padding: 0 3rem 4rem;
  }
  .project__header .project__title {
    font-size: 3.5rem;
  }
  .project__header .project__meta {
    flex-direction: column;
    gap: 2rem;
  }
  .project__headline {
    padding: 8rem 3rem 4rem;
  }
  .project__headline-title {
    font-size: 2.8rem;
  }
  .project__nav {
    right: 3rem;
    bottom: 4rem;
    gap: 2rem;
  }
}

/* ========================================
   Homepage h1
   ======================================== */
.home h1,
.homepage h1 {
  opacity: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: normal;
  -webkit-font-smoothing: antialiased;
  text-align: center;
  text-transform: initial;
}

/* ========================================
   WordPress Core
   ======================================== */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  width: 1px;
}

.wp-caption {
  max-width: 100%;
}

.alignleft {
  float: left;
  margin-right: 1.5rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
  .work__menu-item {
    font-size: 4rem;
    line-height: 6rem;
    padding: 3rem;
  }


}

@media (max-width: 768px) {
  .work__menu-item {
    font-size: 2.8rem;
    line-height: 4.2rem;
    padding: 2rem;
  }

  .work__menu-item .client {
    font-size: 1rem;
    margin-top: -2rem;
  }

  .work__menu-list-btn {
    font-size: 1rem;
    top: 4rem;
  }

  .shell__button--drop {
    left: 12px;
    top: 10px;
  }

  .shell__button--menu {
    right: 12px;
    top: 12px;
  }

  .shell__button--sound {
    right: 12px;
    bottom: 12px;
  }


}

/* ========================================
   Loading Screen
   ======================================== */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #1C1A18;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.loader__diamond {
  animation: loaderSpin 2.5s linear infinite;
}

.loader__diamond svg {
  display: block;
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.3));
}

@keyframes loaderSpin {
  0%   { transform: rotateY(0deg) rotateX(0deg); }
  25%  { transform: rotateY(90deg) rotateX(15deg); }
  50%  { transform: rotateY(180deg) rotateX(0deg); }
  75%  { transform: rotateY(270deg) rotateX(-15deg); }
  100% { transform: rotateY(360deg) rotateX(0deg); }
}

.loader__progress {
  width: 120px;
  height: 1px;
  background: rgba(255,255,255,0.15);
  overflow: hidden;
}

.loader__bar {
  width: 0%;
  height: 100%;
  background: #fff;
  transition: width 0.15s ease;
}

.loader__percent {
  font-family: 'Fort-Extralight', 'Fort Light', Arial, sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.5);
}

/* Audio button - static grey when stopped */
.shell__button--sound .button__icon svg rect {
  fill: rgba(255,255,255,0.25);
  transition: fill 0.3s ease;
}
.shell__button--sound .button__text {
  color: rgba(255,255,255,0.25);
  transition: color 0.3s ease;
}

/* Audio button - colorful bouncing when playing */
.shell__button--sound.is-playing .button__icon svg {
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.3));
}
.shell__button--sound.is-playing .button__icon svg rect {
  animation: audioBounce 0.5s ease-in-out infinite alternate;
}
.shell__button--sound.is-playing .button__icon svg rect:nth-child(1) {
  animation-delay: 0s;
  fill: #ff4757;
}
.shell__button--sound.is-playing .button__icon svg rect:nth-child(2) {
  animation-delay: 0.08s;
  fill: #ffa502;
}
.shell__button--sound.is-playing .button__icon svg rect:nth-child(3) {
  animation-delay: 0.16s;
  fill: #ffd700;
}
.shell__button--sound.is-playing .button__icon svg rect:nth-child(4) {
  animation-delay: 0.24s;
  fill: #2ed573;
}
.shell__button--sound.is-playing .button__icon svg rect:nth-child(5) {
  animation-delay: 0.32s;
  fill: #1e90ff;
}
.shell__button--sound.is-playing .button__text {
  color: rgba(255,255,255,0.8);
}

@keyframes audioBounce {
  0%, 100% { transform: scaleY(0.2); }
  50% { transform: scaleY(1.1); }
}


