body {
  background-color: #f34f22;
  display: flex;
  justify-content: center;  /* horizontal centering */
  align-items: flex-start;  /* optional: vertical alignment */
  height: 100vh;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.iphone {
  background-color: #f34f22;
  width: 80vw; /* same as main container */
  min-height: 0px;
  margin: 0 auto; /* centers horizontally */
  display: flex;
  flex-direction: column;
  gap: 1vh;
  justify-content: center;
  
}

.iphone .main-container {
  aspect-ratio: 5 / 6;
  width: 100%;
  position: relative;
  margin-top: 8vh;
  background-color: #ffffff;
  border-radius: 2.2vh;
}

.iphone .background-graphic {
  position: absolute;
  top: 1%;
  left: 50%;
  transform: translate(-50%, 0%);
  aspect-ratio: 1;
  width: 98%;
  display: flex;
  background-image: url(./img/background.svg);
  background-size: 100% 100%;
}

.iphone .logo {
  position: absolute;
  width: 8%;
  aspect-ratio: 2 / 1;
  top: 1%;
  left: 50%;
  transform: translateX(-50%);
}

.iphone .divider {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  align-items: flex-start;
  padding: 0px 0.5% 3% 5%;
  position: absolute;
  overflow: hidden;
}

.iphone .top {
  display: flex;
  justify-content: space-between; 
  align-items: flex-end; 
  padding: 2% 0px 0px 0px;  
  width: 100%;
  height: auto;                  
}

.iphone .skills {
  top: 10%;
  position: relative;
  width: 40%;
  height: auto;
  overflow: visible;
}

.iphone .background-graphic-s {
  min-width: 40vw;
  width: 100%;
  aspect-ratio: 5 / 6;
  background-image: url(./img/rectangle-6.svg);
  background-repeat: no-repeat;
  background-position: left top;  
  background-size: contain;
  
}
/*
.iphone .background-graphic-s rectangle {
  display: block;
  width: 100%;        
  height: auto;        
}*/

.iphone .div {
  display: flex;
  flex-direction: column;
  width: auto;
  height: auto;
  align-items: flex-start;
  padding: 8% 0px 0px 7%;
  position: absolute;
  top: 0;
  left: 0;
}

.iphone .frame {
  display: flex;
  align-items: center;;
  position: relative;
  align-self: stretch;
  margin-bottom: 2vh;
  padding: 0px 0px 0px 3%;
  width: 100%;
  flex: 0 0 auto;
}

.iphone .text-wrapper {
  position: relative;
  width: fit-content;
  opacity: 0.5;
  font-family: /*"Neulis_Sans_Semi_Bold",*/ Noto Sans JP;
  font-weight: 600;
  color: #000000;
  font-size: 1vh;
  letter-spacing: 0;
  line-height: 1vh;
  white-space: nowrap;
}

.iphone .skill-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5vh;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.iphone .frame-2 {
  display: inline-flex;
  align-items: center;
  gap: 0.5vh;
  position: relative;
  flex: 0 0 auto;
}

.iphone .img {
  position: relative;
  width: auto;
  height: 2.8vh;
  aspect-ratio: 1;
}

.text-wrapper-2 {
  position: relative;
  width: fit-content;
  font-family: /*"Neulis_Sans_Black",*/ Noto Sans JP;
  font-weight: 900;
  color: #1d1c22;
  font-size: 1.3vh;
  letter-spacing: 0;
  line-height: 1.3vh;
  white-space: nowrap;
  text-decoration: none;
}

.sidebar {
  display: flex;
  flex-direction: column;
  width: 7.5%;
  align-items: flex-start;
  position: relative;
  align-self: stretch;
}

.lang-switch-eng {
  display: flex;  
  flex-direction: column;  
  width: 87%;                 
  aspect-ratio: 1 / 2;                
  border-radius: 999px;
  overflow: hidden;
  background-color: #0b030b;
}

.lang-switch-eng .eng,
.lang-switch-eng .jp {
  flex: 1;                     
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lang-switch-eng .eng .rectangle-2,
.lang-switch-eng .jp .rectangle-2 {
  position: absolute;
  top: 5%;
  bottom: auto;
  aspect-ratio: 4 / 5;
  inset: 10%;
  background-color: #323144;
  border-radius: 999px;
  opacity: 0;                  
  transition: opacity 0.3s ease;
  pointer-events: none;        
}

.text-wrapper-3 {
  position: relative;
  z-index: 1;                  
  font-family: /*"Neulis_Sans_Black",*/ Noto Sans JP;
  font-weight: 900;
  font-size: 0.8vh;
  color: #ffffff;
  white-space: nowrap;
}

.lang-switch-eng .eng.active .rectangle-2{
  opacity: 1;
  top: 5%;
  bottom: auto;
  
}
.lang-switch-eng .jp.active .rectangle-2 {
  opacity: 1;
  top: auto;
  bottom: 5%;
  
}

.lang-txt {
  transition: opacity 0.15s ease;
}
.lang-txt.hidden {
  opacity: 0;
}

.iphone .mid {
  display: flex;
  height: 100%;
  align-items: center;
  padding: 0px 0px 0%;
  position: relative;
  align-self: stretch;
  width: 100%;
}


.iphone .element-generalist {
  position: relative;
  width: fit-content;
  font-family: "Dela Gothic One", Helvetica;
  font-weight: 900;
  white-space: pre-line;
  color: #ffffff;
  font-size: 3.7vh;
  letter-spacing: 0;
  line-height: 3.7vh;
  z-index: 9999;
}

.element-generalist.lang-jp {
  font-family: 'Dela Gothic One', sans-serif;
  font-size: 4vh;
  line-height: 4vh;
}

.iphone .bottom {
  position: relative;
  align-self: stretch;
  width: 100%;
  height: auto;
  display: flex;          /* enables flex layout */
  align-items: center;    /* vertical centering */
  justify-content: flex-start;
}

.iphone .bottom .software_list {
  display: flex;
  height: auto;
  display: flex;
  position: relative;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  gap: 2%;
}

.iphone .bottom .software_list .sl_img_frame {
  aspect-ratio: 3 / 2;             
  height: 5.5vh;            
  border-radius: 1vh;     
  background-size: cover;  
  background-position: center;
  background-repeat: no-repeat;
  background-color: #f34f22;
  display: flex;           
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
}

.iphone .bottom .software_list .sl_img_frame .icon {
  aspect-ratio: 1;             
  height: 60%;     
  transition: opacity 0.3s ease;
  opacity: 1;  
}

.iphone .bottom .software_list .sl_img_frame .software-desc {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none; 
  padding: 5%; 
   
}

/* Desktop Hover Effects */
.iphone .bottom .software_list .sl_img_frame:hover .icon {
  opacity: 0;
}

.iphone .bottom .software_list .sl_img_frame:hover .software-desc {
  opacity: 1;
}

/* Mobile/Tablet Tap Effects */
.iphone .bottom .software_list .sl_img_frame.active .icon {
  opacity: 0;
}

.iphone .bottom .software_list .sl_img_frame.active .software-desc {
  opacity: 1;
}

.iphone .overlay-image { /*OVERLAY IMAGE OVERLAY IMAGE OVERLAY IMAGE OVERLAY IMAGE OVERLAY IMAGE OVERLAY IMAGE OVERLAY IMAGE OVERLAY IMAGE OVERLAY IMAGE*/
  pointer-events: none;
  position: absolute;
  top: -12%;
  left: 30%;
  height: 55vh;
  object-fit: cover;
  z-index: 9998;   
}

.iphone .menu-container {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  padding: 3%;
  width: 100%;
  align-items: center;
  background-color: #ffffff;
  border-radius: 2.2vh;
}

.menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.menuframe {
  position: relative;
  width: 11vh;
  aspect-ratio: 1 / 1;
  border-radius: 1vh;
  overflow: hidden;
  cursor: pointer;
}

.menu-link {
  text-decoration: none;
  color: inherit;
  display: block; 
}

.menuframe .bg-default,
.menuframe .bg-hover {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 0.3s ease;
}

.menuframe .bg-default { opacity: 1; }
.menuframe .bg-hover   { opacity: 0; }

/* Desktop hover */
.menuframe:hover .bg-default { opacity: 0; }
.menuframe:hover .bg-hover   { opacity: 1; }

/* Mobile tap */
.menu-item.active .bg-default { opacity: 0; }
.menu-item.active .bg-hover   { opacity: 1; }


.iphone .menu-title {
  position: relative;
  width: 100%;
  opacity: 0.5;
  margin-top: 10%;
  font-family: /* "Neulis_Sans_Black",*/ Noto Sans JP;
  font-weight: 900;
  color: #080206;
  font-size: 1vh;
  text-align: center;
  letter-spacing: 0;
  line-height: 1vh;
}

/* =========================
    SHORT SCREENS (iPhone SE, Small Androids)
========================= */
@media (max-height: 670px) and (max-width: 480px) {

.iphone .frame {
  margin-bottom: 3vh; 
}

.iphone .element-generalist {
  font-size: 4.5vh;
  line-height: 4.5vh;
}

.iphone .overlay-image {
  height: 48vh;
  top: -5%;
}
}

/* =========================
    TABLET (768px - 1439px)
========================= */
@media (min-width: 768px) and (max-width: 1023px) {

body {
  align-items: center; 
}

.iphone .main-container {
  margin-top: 5%;
  }

.iphone .background-graphic-s {
  min-width: 0; 
  background-image: url(./img/rectangle-5.svg);
  background-size: contain;
  aspect-ratio: 4 / 3;
  width: 90%;
}

.iphone .divider {
  width: 100%;
  height: 100%; 
}

.iphone .skills {
  width: 100%;
  position: relative;
  display: flex;
}

.iphone .div {
  padding: 4% 0 0 5%;
}

.iphone .frame {
  margin-bottom: 10%;
}

.iphone .text-wrapper {
  font-size: 1.5vh;
  line-height: 1.5vh;
}

.iphone .skill-list {
  gap: 1.3vh;
}

.iphone .frame-2 {
  gap: 1vh;
}

.iphone .img {
  height: 4vh; 
}

.text-wrapper-2 {
  font-size: 2.5vh;
  line-height: 2.5vh;
}

.iphone .text-wrapper-3 {
  font-size: 1.2vh;
}

.menuframe {
  width: 17vh;
}

.iphone .menu-title {
  font-size: 1.5vh;
  line-height: 1.5vh;
}

.iphone .bottom .software_list .sl_img_frame {           
  height: 9vh; 
}

.iphone .element-generalist {
  font-size: 6vh;
  line-height: 6vh;
}

.element-generalist.lang-jp {
  font-size: 6vh;
  line-height: 6vh;
}


.iphone .overlay-image { 
  top: -3%;
  left: 47%;
  height: 76vh;  
}
}

/* =========================
   TABLET LANDSCAPE AND DESKTOP (1024+)
========================= */
@media (min-width: 1024px) { /*  TABLET LANDSCAPE TABLET LANDSCAPE TABLET LANDSCAPE TABLET LANDSCAPE TABLET LANDSCAPE*/

body {
  align-items: center; 
}

.iphone { 
  width: fit-content;
  height: 100dvh;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 1vw;
}

.iphone .main-container {
  height: 80vh;
  width: auto; 
  min-width: 15vh;
  order: 2;
  border-radius: 3.7vh;
  margin-top: 0;
  }
  
.iphone .divider {
  width: 100%;
  height: 100%; 
}

.iphone .skills {
  width: 100%;
  position: relative;
  display: flex;
}

.iphone .div {
  padding: 4% 0 0 5%;
}

.iphone .frame {
  margin-bottom: 10%;
}

.iphone .text-wrapper-3 {
  font-size: 1.3vh;
}


.iphone .text-wrapper {
  font-size: 2vh;
  line-height: 2vh;
}

.iphone .skill-list {
  gap: 0.8vh;
}

.iphone .background-graphic-s {
  min-width: 0; 
  background-image: url(./img/rectangle-5.svg);
  background-size: contain;
  aspect-ratio: 4 / 3;
  width: 90%;
}


.iphone .frame-2 {
  gap: 1vh;
}

.iphone .img {
  height: 4.5vh; 
}

.iphone .text-wrapper-2 {
  font-size: 3vh;
  line-height: 2.5vh;
}

.iphone .menu-container {
  order: 1;
  padding: 0.5vh 2vh;
  width: auto;
  min-width: 15vh;
  height: 80vh;
  flex-direction: column;
  border-radius: 2.5vh;
  }

.menuframe {
  width: 20vh;
}

.iphone .menu-title {
  font-size: 1.5vh;
  line-height: 1.5vh;
}

.iphone .bottom .software_list .sl_img_frame {
  aspect-ratio: 1 / 1;             
  height: 10vh;
    
}

.iphone .element-generalist {
  font-size: 6.3vh;
  line-height: 6.3vh;
}

.element-generalist.lang-jp {
  font-size: 6.3vh;
  line-height: 6.3vh;
}

.iphone .overlay-image { 
  top: -12%;
  left: 35%;
  height: 100vh;  
}
}

/* -- WORK PAGE BASE --------------------------------------------------------- */

.work-page {
    background-color: #D4D3D9;
    overflow-y: auto;
    height: auto;
    font-family: 'Noto Sans JP', sans-serif;
    scroll-behavior: smooth;
}

/* --- contact --- */

.contact-container {
	display: flex; 
	justify-content: center;
	position: fixed;
    bottom: 3%;
    left: 1%;
    z-index: 1000;
}
.contact-icon {
    aspect-ratio: 1; 
    width: 5vh;
    display: flex;
	opacity: 1;
	justify-content: center;
	align-items: center;
}

.contact-icon.active {
    opacity: 0.5;
}



/* --- popup --- */

.pop-icon {
    width: 32px; 
    height: 32px;
    display: block;
}

.popup-wrapper {
    position: fixed;
	left: 1%;
	bottom: 7%;
    display: inline-flex; 
    flex-direction: column;
    align-items: flex-start;
}

.trigger-reset {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    outline: none;
}

.popup-container {
  position: absolute;
    bottom: 100%;
    left: 0;
    margin-bottom: 15px; 
    
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50px; 
    padding: 10px 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px); 
    transition: all 0.3s ease-out;
    z-index: 1000;
}

.popup-container.show {
	opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-content {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 2px;
}

.menu-content a {
  align-items: center;
  justify-content: center;
  display: flex;
  text-decoration: none;
  color: #ffffff;
  cursor: pointer;
}



/* --- popup end --- */
.logo-back {
    position: fixed;
    top: 3%;
    left: 1.5%;
	transform-origin: left center;
    z-index: 1000;
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.logo-back:hover {
    transform: scale(1.05);
    opacity: 0.8;
}

.logo-back .logo {
	display: block;
    position: relative;
    width: 5vh;
    height: 5vh;
	
}

.portfolio-container {
    width: 93%;
    margin: 0 auto;
    padding: 10vh 6vw;
}

.portfolio-grid {
    width: 93%;
	max-width: 1400px;
    margin: 0 auto;
    
    display: flex;
	flex-wrap: wrap;
    gap: 20px; 
    justify-content: center;
}

.work-content-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
	gap: 20px;
	padding: 10vh 6vw; 
}

.vertical-section .main-display.vertical {
    width: 370px;
    height: auto; 
    aspect-ratio: 9 / 16;
    border-radius: 1.5vh;
    overflow: hidden;
    background: #000;
}

/* --- GROUPING --- */
.project-group {
    display: flex;
    flex-direction: row;
    margin-bottom: 20vh;
    gap: 1vw;
	content-visibility: auto;
	contain-intrinsic-size: 100vh;
}

.project-group.is-offscreen {
    visibility: hidden;
}

.group-label {
    position: fixed;
	left: 1%;
	top: 50%;
	transform: translateY(-50%); /* Perfectly centers vertically */
	display: flex;
	flex-direction: column; /* Stacks items vertically */
	justify-content: space-between; /* Ensures spacing logic */
}

.nav-link {
    writing-mode: vertical-rl; /* Rotates text 90 degrees clockwise */
	transform: rotate(180deg);
	text-decoration: none;
	padding: 10px; /* Internal spacing */
	margin: 15px 0; /* Creates the "gaps" you requested */
	color: #000;
	font-family: /*"Neulis_Sans_Black",*/ "Noto Sans JP";
	font-weight: 900;
	font-size: 1.5vh;
    white-space: nowrap;
    letter-spacing: 0.1em;
	opacity: 0.1;
}

.nav-link.lang-jp {
    transform: rotate(0deg);
}

.nav-link:hover {
    opacity: 0.3;
}

body#archviz-page .archviz-link,
body#animation-page .animation-link,
body#creative-page .creative-link {
    opacity: 0.5;
}

.group-content {
    flex: 1;
}

.page-transition {
	display: flex;
	align-items: flex-start;
	text-decoration: none;
    padding: 1vh 0;
    text-align: center;
	opacity: 0.5
}

.page-transition a {
    transition: 0.3s;
	text-decoration: none;
}

.page-transition a:hover {
    
}

/* --- PROJECT ROW LOGIC --- */
.project-entry {
    margin-bottom: 20vh;
}

.media-row {
    display: flex;
    gap: 5vh;
    width: 100%;
    align-items: flex-start;
    flex-wrap: wrap;
    /* Ensure the row doesn't force children to stretch */
    justify-content: flex-start; 
}

/* --- MEDIA UNITS --- */
.slideshow-unit {
	display: table; 
    /* This forces the table to be as small as possible, 
       expanding only for the 'Main-Display' image */
    width: 1px; 
    min-width: 0;
    flex: 0 0 auto;
}

.video-unit {
    width: fit-content;
    flex: 0 0 auto;
    max-width: 100%;
}

.media-unit { 
    flex: 0 0 auto;
	height: auto;
}


.project-title {
    display: table-caption;
    caption-side: top;
    white-space: normal; /* Allows title to wrap if it's longer than image */
    margin-bottom: 1.5vh;
    font-family: 'Dela Gothic One', sans-serif;
    font-size: 1.8vh;
	line-height: 1.8vh;
	text-transform: uppercase;
}

.main-display {
    height: 370px; 
    width: auto;
    aspect-ratio: 16 / 9; 
    border-radius: 1.5vh;
    overflow: hidden;
    position: relative;
    background: transparent;
}

.main-display img {
	width: 100%;
	aspect-ratio: 1;
    border: none;
    display: block;
    object-fit: contain;
    object-position: center; 
}

.main-display.vertical {
    aspect-ratio: 9 / 16;
}

.main-display.square {
    aspect-ratio: 1 / 1;
}

.active-main {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    opacity: 0;
    filter: blur(10px);
    transition: opacity 0.6s ease-in-out, filter 0.6s ease-in-out;
}

.active-main.vertical {
    object-fit: cover;
}


.active-main.loaded {
    opacity: 1;
    filter: blur(0);
}

.main-display iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
    display: block;
}

.main-display.vertical iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.main-display iframe[src*="instagram.com"] {
    width: 100% !important;
    height: 110% !important; /* Slightly taller to hide the Instagram footer */
    border: none;
}

.custom-video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;  
    display: block;
}

/* --- SLIDESHOW ELEMENTS --- */
.arrows {
    position: absolute;
    top: 50%;
    left: 0;  
    right: 0; 
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px; 
    box-sizing: border-box;
    transform: translateY(-50%);
    color: white;
    font-size: 2.5vh;
    cursor: pointer;
    text-shadow: 0 0 15px rgba(0,0,0,0.6);
    pointer-events: none;
    z-index: 10; 
}

.arrows span {
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.3); 
    width: 45px;  
    height: 45px; 
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    user-select: none;
    transition: background 0.2s, transform 0.2s;
}

.arrows span:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: scale(1.1);
}

.thumbnails {
    display: flex;
    gap: 1.2vh;
    margin-top: 1.5vh;
    width: 0;
    min-width: 100%; 
    
    overflow-x: auto;
    white-space: nowrap;
    scroll-behavior: smooth;
    padding-bottom: 5px;
    -ms-overflow-style: none;
    scrollbar-width: none;
	background: transparent;
}

.thumbnails::-webkit-scrollbar {
    display: none; 
}

.thumb {
    flex: 0 0 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 1vh;
    cursor: pointer;
    opacity: 0.4;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.thumb:hover {
    opacity: 1;
}

.thumb.active { 
    opacity: 1;
}


/* --- MOBILE ADAPTATION (old 768)--- */
@media (max-width: 1370px) and (pointer: coarse), 
       (max-width: 1024px) {
    .portfolio-container { 
		padding: 5vh 5vw; 
		margin-top: 4vh;
	}
	
	/*.portfolio-grid {
        grid-template-columns: 1fr; 
        justify-items: center;
    }*/
	
	.vertical-section .media-unit {
        /* On smaller screens, go back to 2 per row */
        flex: 1 1 250px; 
        max-width: 100%;
    }
	
	.vertical-section .main-display.vertical {
        width: 100%; /* Follows the media-unit width */
        height: auto;
    }
	
	.page-transition {
	display: none;
}
	
	.media-unit {
		flex: 1 1 250px; 
        max-width: 100%;
	}
	
    .project-group { flex-direction: column; margin-bottom: 10vh; }
	
	.project-entry { margin-bottom: 17vh; }
    
	.pop-icon path {
		fill: white;
	}
	
	.contact-icon path {
		fill: white;
	}
	
	.contact-container {
		display: flex;
		position: fixed;
		z-index: 1000;
		
		left: auto;
		right: 7%;
        bottom: 25px; 
		
        width: auto;
        max-width: 40px;
        
        background: rgba(255, 255, 255, 0.2); /* Semi-transparent */
        backdrop-filter: blur(2px); /* Frosted glass effect */
        -webkit-backdrop-filter: blur(10px);
        border-radius: 50px; 
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.3);
        justify-content: space-around;
        
	}
	
    .group-label { 
        left: 45%;
        bottom: 25px; 
        top: auto;
        display: flex;
		transform: translateX(-50%);
  
        flex-direction: row;
        width: auto;
        max-width: 450px;
        
        background: rgba(255, 255, 255, 0.2); /* Semi-transparent */
        backdrop-filter: blur(2px); /* Frosted glass effect */
        -webkit-backdrop-filter: blur(10px);
        border-radius: 50px; 
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.3);
        justify-content: center;
		gap: 15px;
        padding: 10px 15px;
        z-index: 9999;
    }
    
    .nav-link {
        writing-mode: horizontal-tb;
        transform: none !important;
        margin: 0;
		width: auto;
        padding: 0px;
        font-size: 1.4vh;
        flex: none; 
		display: block;
        text-align: center;
		color: #ffffff;
		opacity: 0.5;
	}
	


	body#archviz-page .archviz-link,
	body#animation-page .animation-link,
	body#creative-page .creative-link {
		opacity: 1;
	}
	
    .media-row { 
        flex-direction: column; 
        gap: 1vh; 
    }

    .project-title {
        display: block; 
        font-size: 2.2vh;
		line-height: 2.2vh;
    }
    
    .logo-back {
		position: fixed;
        top: 10px;
        left: auto;
		width: auto;
		padding: 0.5% 3%;
        
        background: rgba(255, 255, 255, 0.2); /* Semi-transparent */
        backdrop-filter: blur(2px); /* Frosted glass effect */
        -webkit-backdrop-filter: blur(10px);
        border-radius: 50px; 
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.3);
        justify-content: space-around;
        
        z-index: 9999;
		
    }
	
	.logo-back .logo {
		margin-left: 0%;
	}

    .slideshow-unit, .video-unit {
        width: 100%;
        display: block;
    }

    .main-display {
        height: auto;
        width: 100%;
    }

    .main-display.vertical {
		display: flex;
		align-items: flex-start;
        width: 70%;
        margin: 0;
    }
	

    .thumb {
        flex: 0 0 80px;
        height: 80px;
    }
}

