@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

@font-face {
  font-family: "Format 1452";
  src: url("/assets/fonts/Format_1452.woff2") format("woff2-variations"),
    url("/assets/fonts/Format_1452.woff") format("woff-variations");
}

@font-face {
  font-family: "Format 1452";
  font-weight: normal;
  src: url("/assets/fonts/Format_1452.woff2") format("woff2"),
    url("/assets/fonts/Format_1452.woff") format("woff");
}

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

body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin-block-end: 0;
}

ul[role='list'],
ol[role='list'] {
  list-style: none;
}

body {
  min-height: 100vh;
  cursor: none;
}

img,
picture,
svg,
video {
  max-width: 100%;
  display: block;
}

audio {
  width: 100%;
  background-color: white;
  color: white;
}

audio::-webkit-media-controls-panel {
  background-color: white;
}

body {
  overflow-x: hidden;
  font-family: "Roboto", sans-serif;
  background-color: white;
}

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  font-size: 100%;
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
button,
input,
label {
  line-height: 1.1;
}

h1,
h2,
h3,
h4,
blockquote {
  text-wrap: balance;
}

h1,
h2,
h3 {
  color: black;
}

section,
figure {
  margin: 0 auto;
}

footer>* {
  margin: 0 1rem;
}

h1,
h2 {
  font-family: "Roboto", sans-serif;
}

p {
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-size: 1.09rem;
  font-style: normal;
  line-height: 1.5;
}

a {
  text-decoration: none;
  
  transition: all 0.3s ease;
}

a:hover,
button:hover {
  cursor: none;
}

#index-link:hover {
  cursor: none;
}

h2 {
  text-transform: uppercase;
  font-size: 2.35rem;
  font-weight: 600;
}

h3 {
  text-transform: uppercase;
  letter-spacing: 0.075em;
  font-weight: 600;
}

header,
nav,
section,
figure,
footer>* {
  font-family: "Roboto", sans-serif;
  font-variation-settings: 'ital' 0, 'opsz' 6, 'wght' 400;
}

section,
nav,
figure,
footer {
  font-size: 1rem;
  line-height: 1.5;
}

pre {
  outline: 2px solid black;
}

nav {
  width: 100%;
  padding: 1rem 2rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav .left {
  flex: 1;
}

nav .right {
  display: flex;
  gap: 20px;
}

nav .index-link {
  cursor: none;
}

nav p {
  display: inline;
  text-transform: uppercase;
}

header {
  display: flex;
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: white;
}

footer {
  display: flex;
  flex-direction: row;
  justify-content: center;
  position: fixed;
  bottom: 1em;
  left: 50%;
  z-index: 10;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  padding: 0.7rem 1.4rem;
  border: 1px solid gray;
  opacity: 1;
  transform: translateX(-50%);
  width: 23%;
  border-radius: 1em;
  min-width: 23em;
}

footer.active {
  opacity: 1;
  transform: translateY(0);
}

footer p {
  display: inline;
  text-transform: uppercase;
  font-size: 1em;
  font-weight: 300;
  color: black;
}

footer a {
  color: black;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

footer a:hover {
  opacity: 0.8;
}

.page-transition-overlay footer {
  display: flex;
}

body > footer {
  display: none;
}

img {
  object-fit: cover;
  object-position: center;
  overflow: auto;
}

section *,
figure>*,
footer,
footer>* {
  margin-top: 1rem;
}

footer {
  padding: 0 1rem 1rem 1rem;
}

figure,
.horizontal-scroll {
  padding: 1rem 0;
}

.horizontal-scroll {
  grid-column: 1/4;
  margin: 2rem;
  display: grid;
  gap: 1rem;
  grid-auto-flow: column;
  grid-auto-columns: clamp(27%, 40vh, 75%);
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  padding-bottom: 1rem;
}

.horizontal-scroll div {
  scroll-snap-align: start;
}

.horizontal-scroll img {
  object-fit: cover;
  justify-content: center;
}

.horizontal-scroll {
  margin-left: 1rem;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentColor;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.155em;
}

a:not([class]):hover {
  text-decoration: none;
}

.row {
  align-items: start;
}

.row,
.row>ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: auto;
  gap: 2rem;
}

.row__no-gap {
  gap: 0;
}

.column,
.row>ul>li {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.column,
.row>ul>li {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.column__half {
  display: flex;
  flex-direction: column;
  flex: 0 1 50%;
}

.column__double {
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
  flex: 2;
}

.type__content {
  margin-left: 2rem;
  margin-right: 2rem;
  margin-bottom: 4rem;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}

.overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.overlay-content {
  padding: 4em 2em;
  margin: 0 auto;
}

/* Add styles for the grid of thumbnails */
.overlay .row {
  display: flex;
  gap: 2em;
  margin-bottom: 2em;
}

.overlay .column {
  flex: 1;
}

.overlay .column.canvas,
.overlay .column.canvas_2,
.overlay .column.canvas_3 {
  transition: transform 0.7s ease;
}

.overlay .column.canvas:hover,
.overlay .column.canvas_2:hover,
.overlay .column.canvas_3:hover {
  transform: scale(1.05);
  
}

.overlay img {
  width: 100%;
  height: auto;
}

.sketch__full {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  overflow: auto;
  padding: 0 2rem 2rem 2rem;
}

.sketch__full iframe {
  display: flex;
  width: 100%;
  height: 100%;
}

.weekly ul {
  margin-bottom: var(--spacing-l);
  overflow-x: hidden;
}

.weekly p {
  line-height: 120%;
}

.weekly h2 {
  font-weight: 500;
}

.weekly ul li {
  border-bottom: 1px solid black;
  transition: padding-right 0.7s;
  display: flex;
  align-items: center;
  position: relative;
  transition: transform 0.4s;
  padding: 10px;
}

.weekly ul a {
  display: flex;
  align-items: center;
  color: black;
}

.weekly ul li:after {
  content: '';
  position: absolute;
  right: var(--spacing-s);
  width: 3rem;
  height: 3rem;
  background-image: url('/assets/images/arrow.png');
  background-size: cover;
  background-repeat: no-repeat;
  transition: transform 0.4s;
}

.weekly ul li:hover:after {
  transform: translateX(-630%);
}

.weekly ul li:hover {
  cursor: none;
}

.weekly ul li:first-child {
  border-top: 4px solid black;
}

.weekly ul li h1 {
  text-transform: uppercase;
  font-size: 3.7rem;
  font-weight: 700;
  display: block;
  transition: opacity 0.4s, transform 0.4s;
  opacity: 1;
}

.weekly ul li:hover h1 {
  opacity: 0;
  transform: translateX(-125%);
}

.weekly ul li .img-container_thumb {
  opacity: 1;
  position: absolute;
  right: 0.1rem;
  width: 18rem;
  transform: translateX(-21%);
  transition: opacity 0.4s, transform 0.4s;
}

.weekly ul li:hover .img-container_thumb {
  opacity: 1;
  transform: translateX(-126%);
}

.weekly ul li:hover .img-container_on {
  opacity: 1;
  transform: translateX(0%);
}

.text-container {
  margin-left: 20px;
  transition: opacity 0.4s, transform 0.4s;
}

.weekly ul li:hover .text-container {
  opacity: 0;
  transform: translateX(-180%);
}

.weekly ul li .text-container h2 {
  font-weight: 600;
}

.weekly ul li .text-container p {
  font-weight: 400;
  font-size: medium;
}

.weekly h1 {
  font-size: 4.7rem;
  font-weight: 900;
  text-transform: uppercase;
  margin: -3px;
  line-height: 0.84;
}

.weekly h2 {
  font-family: "Roboto", sans-serif;
  text-transform: uppercase;
  line-height: 1.2;
}

.weekly h3 {
  font-size: 1.2rem;
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  line-height: 1.2;
}

.weekly h4 {
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  margin: 16px -3px;
  line-height: 0.84;
}

.items_list {
  margin: 0 2rem;
}

.img_ {
  width: auto;
  margin: 4rem 2rem;
}

.text-container h2 {
  font-size: 1.9rem;
  line-height: 1;
}


.canvas {
  position: relative;
  filter: contrast(1000%) brightness(100%);
  overflow: hidden;
  border: 1px solid gray;
  border-radius: 1rem;
}

.canvas::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  bottom: -50%;
  right: -50%;
  background: radial-gradient(circle at center, #333, #fff);
  background-size: 0.01em 0.1em;
  transform: rotate(20deg);
  z-index: 1;
  pointer-events: none;
}

.canvas img {
  width: 100%;
  height: auto;
  mix-blend-mode: hard-light;
  filter: grayscale(1) brightness(70%) contrast(70%);
  position: relative;
  z-index: 2;
}

.canvas:hover, .canvas:hover img {
  filter: none; /* Remove filters to show the original image */
  mix-blend-mode: initial; /* Reset blend mode to default */
}

.canvas_3:hover, .canvas_3:hover img {
  filter: none; /* Remove filters to show the original image */
  mix-blend-mode: initial; /* Reset blend mode to default */
}

.canvas_3 {
  position: relative;
  filter: contrast(1000%) brightness(100%);
  overflow: hidden;
  border: 1px solid gray;
  border-radius: 1rem;
}

.canvas_3::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  bottom: -50%;
  right: -50%;
  background: radial-gradient(circle at center, #333, #fff);
  background-size: 0.01em 0.1em;
  transform: rotate(20deg);
  z-index: 1;
  pointer-events: none;
}

.canvas_3 img {
  width: 100%;
  height: auto;
  mix-blend-mode: hard-light;
  filter:
    grayscale(1) brightness(75%) contrast(54%);
  position: relative;
  z-index: 2;
}

.canvas_3:hover, .canvas_3:hover img {
  filter: none; /* Remove filters to show the original image */
  mix-blend-mode: initial; /* Reset blend mode to default */
}


.canvas_2 {
  position: relative;
  filter: contrast(1000%) brightness(100%);
  overflow: hidden;
  border: 1px solid gray;
  border-radius: 1rem;
}

.canvas_2::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  bottom: -50%;
  right: -50%;
  background: radial-gradient(circle at center, #333, #fff);
  background-size: 0.01em 0.1em;
  transform: rotate(20deg);
  z-index: 1;
  pointer-events: none;
}

.canvas_2 img {
  width: 100%;
  height: auto;
  mix-blend-mode: hard-light;
  filter:
    grayscale(1) brightness(90%) contrast(45%);
  position: relative;
  z-index: 2;
}

.canvas_2:hover, .canvas_2:hover img {
  filter: none; /* Remove filters to show the original image */
  mix-blend-mode: initial; /* Reset blend mode to default */
}

.border {
  border: 1px solid gray;
  border-radius: 1rem;
}

.img_ ul {
  list-style-type: none;
  padding-left: 0;
  font-weight: 300;
  font-size: 1.09rem;
}

.img_ li {
  background-color: #fff;
  padding: 1rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.5);
}

.heading {
  padding: 0 0 1rem 0;
  font-size: 1.2rem;
  font-weight: 300;
  text-transform: uppercase;
}

.sub-heading {
  font-weight: 500;
  font-size: 1.09rem;
  font-weight: 300;
  text-transform: uppercase;
}

.border_top {
  border-top: 1px solid rgba(0, 0, 0, 0.5);
}

.title h1 {
  font-size: 7em;
}

.title p {
  width: 40rem;
}

@media (orientation: portrait) {
  .title h1 {
    font-size: 4em;
  }

  .title p {
    width: 20em;
  }

  .sketch__full {
    padding: 2rem;
  }

  .column__double {
    display: flex;
    flex: auto;
    width: 100%;
    flex: 1;
  }

  .row {
    display: flex;
    flex: auto;
    flex-direction: column;
  }

  .items_list ul {
    width: 100%;
  }

  .column {
    display: flex;
    flex: auto;
    width: 100%;
    flex: 1;
  }
}

.text-right {
  text-align: right;
}

.img-right {
  margin-left: auto;
  width: 20%;
  height: auto;
}

.gallery-container {
  width: 100%;
  padding: 2rem;
  overflow-x: hidden;
  scroll-behavior: auto;
}

.gallery-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  width: max-content;
  transition: transform 0.3s ease;
}

.gallery-row img {
  width: 15.3vw;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
}

/* Optional: Hide scrollbar but keep functionality */
.gallery-container::-webkit-scrollbar {
  display: none;
}

.gallery-container {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.prototype-btn {
    font-family: "Roboto", sans-serif;
    margin-left: auto;
    border: 1px solid black;
    border-radius: 1em;
    padding: 0.5em 1em;
    background: none;
    padding: 0.7rem 1.4rem;
    border: 1px solid black;
    border-radius: 1em;
    transition: transform 0.5s ease;
    margin-bottom: 0.5rem;
}

.prototype-btn:hover {
  transform: scale(1.05);
  transition: transform 0.5s ease;
}

html {
    overscroll-behavior: none;
    -webkit-overscroll-behavior: none;
    -ms-overscroll-behavior: none;
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

body {
    overscroll-behavior-x: none;
    -webkit-overscroll-behavior-x: none;
    -ms-overscroll-behavior-x: none;
    position: relative;
    width: 100%;
}

@keyframes bounceLeft {
    0% {
        transform: translateX(0);
    }
    30% {
        transform: translateX(-10px);
    }
    100% {
        transform: translateX(0);
    }
}

.bounce {
    animation: bounceLeft 0.9s ease-in-out;
}

/* Add these new animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Add initial invisible state to main sections */
.items_list h1,
.items_list h3,
.gallery-container,
.weekly ul li {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.items_list h1.appear,
.items_list h3.appear,
.gallery-container.appear,
.weekly ul li.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Ensure list items don't show initially */
.weekly ul li {
    transition-delay: 0s;
}

/* Add to existing animation classes */
.prototype-btn,
.weekly .imgcont {
    transition: opacity 0.3s ease;
}

.prototype-btn.appear,
.weekly .imgcont.appear {
    opacity: 1;
}

/* Add new styles for page transition */
.page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    transform: translateY(100%);
    transition: transform 0.5s ease;
    z-index: 900;
}

.page-transition-overlay.active {
    transform: translateY(0);
}

.page-transition-content {
    opacity: 0;
    transition: opacity 0.3s ease;
    height: 100%;
    overflow-y: auto;
}

.page-transition-content.active {
    opacity: 1;
}

/* Prevent scrolling on main content when overlay is active */
body.overlay-active {
    overflow: hidden;
}

.position-indicators {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  z-index: 20;
}

.indicator {
  width: 0.4rem;
  height: 0.4rem;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  
}

.indicator.active {
  width: 0.8rem;
  height: 0.8rem;
  background-color: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
}

.fade-transition {
    animation: fadeOut 1s ease-out forwards;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0.5;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

body {
    animation: fadeIn 1s ease;
}

.index-bubble {
    position: fixed;
    top: 1em;
    right: 1em;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    padding: 0.7rem 1.4rem;
    border: 1px solid gray;
    border-radius: 1em;
    transition: transform 0.3s ease;
}

.index-bubble:hover {
    transform: scale(1.05);
}

.index-bubble a {
    color: black;
    text-decoration: none;
    text-transform: uppercase;
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    font-size: 1em;
}

/* Ensure index bubble stays above the page transition overlay */
.page-transition-overlay {
    z-index: 900;
}

.weekly .imgcont {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.weekly .imgcont.appear {
    opacity: 1;
}

/* Optional: Add for smoother scrolling on mobile */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 80px; /* Adjust based on your header height */
    }
}

/* Optional: Add for smoother header transitions */
header {
    transition: transform 0.3s ease;
    will-change: transform;
}

/* Optional: Add for smoother image loading */
img {
    transition: opacity 0.3s ease;
}

img.lazy {
    opacity: 0;
}

img.lazy.loaded {
    opacity: 1;
}

/* Add these styles if they don't exist */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.loading-content {
  text-align: center;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #000;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

.loading-text {
  font-family: "Roboto", sans-serif;
  font-size: 1.2rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loading-screen .loading-text {
    margin-top: 1rem;
    font-family: "Roboto", sans-serif;
    font-size: 1rem;
    color: black;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

body {
  cursor: none; /* Hide the default cursor */
}

.cursor {
  width: 20px;
  height: 20px;
  background: white;
  border: 1px solid black;
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  mix-blend-mode: difference;
}

/* Update the weekly section styles to be more specific */
.weekly .text-container h2 {
  font-weight: 600;
}


  

.home-button {
  position: absolute;
  left: 1em;
  margin: 10px;
  z-index: 10;
  display: block;
  font-weight: 300;
  font-size: 1.1rem;
  text-transform: uppercase;
  background: none;
  transition: all 0.3s ease;
  cursor: none;
}

.home-button a {
    text-decoration: none;
    color: inherit;
    cursor: none;
}

/* Update the hover effect */
.home-button:hover, 
.home-button a:hover {
    transform: scale(1.1);
    cursor: none;
}

.back-button {
  position: relative;
  top: 0;
  padding: 0;
  z-index: 10;
  font-weight: 300;
  font-size: 1.1rem;
  text-transform: uppercase;
  background: none;
  opacity: 0;
  transition: all 0.4s ease;
  display: none;
  margin-right: 2em;
}

.home-button:hover {
transform: scale(1.1);
}

.home-button a {
    text-decoration: none;
    color: inherit;
}
.index.collapsed .home-button {
    display: none;
}

/* Add hover effect */
.back-button:hover,
.home-button:hover {
    color: #000;
    
}

/* Add these new styles */
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 46px;
  background-color: white;
  display: flex;
  align-items: center;
  padding: 0 2em;
  z-index: 1000;
  border-bottom: 2px solid rgba(0, 0, 0, 0.5);
}

@media (orientation: portrait) {
  .nav-bar {
    padding: 0 1em;
  }
}

